/* =====================================================================
   MovieMania Magazine — single stylesheet (no web fonts, no frameworks)
   ===================================================================== */

:root {
	--mm-ink: #14161c;          /* cinematic charcoal: header, footer, hero panels */
	--mm-ink-2: #20232c;
	--mm-bg: #f6f5f2;           /* warm paper background */
	--mm-paper: #ffffff;
	--mm-text: #1c1e24;
	--mm-muted: #5f6470;        /* 5.9:1 on white */
	--mm-line: #e3e1db;
	--mm-accent: #c8102e;       /* restrained marquee red */
	--mm-accent-dark: #9e0c24;
	--mm-gold: #d79b1c;
	--mm-ok: #17663a;
	--mm-warn: #8a5a00;

	--mm-serif: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; /* headings */
	--mm-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* body */

	--mm-wrap: 1180px;
	--mm-radius: 10px;
	--mm-gap: clamp(16px, 2.4vw, 28px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.mm {
	margin: 0;
	background: var(--mm-bg);
	color: var(--mm-text);
	font: 400 16px/1.6 var(--mm-sans);
	text-rendering: optimizeLegibility;
}
.mm img { max-width: 100%; height: auto; }
.mm-main a, .mm-header a, .mm-footer a, .mm-catstrip a { color: inherit; }
.mm :focus-visible { outline: 3px solid var(--mm-accent); outline-offset: 2px; border-radius: 3px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mm-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--mm-ink); padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.mm-skip:focus { top: 12px; }

.mm-wrap { width: 100%; max-width: var(--mm-wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .mm-wrap { padding-inline: 24px; } }

.mm-eyebrow { margin: 0 0 6px; font: 700 12px/1.2 var(--mm-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mm-muted); }
.mm-admin-note { background: #fff6d8; border: 1px dashed #c99a00; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: #5a4300; }

/* ---------- Header ---------- */
.mm-header { position: sticky; top: 0; z-index: 50; background: var(--mm-ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.admin-bar .mm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mm-header { top: 0; position: relative; } }
.mm-header-row { display: flex; align-items: center; gap: 20px; height: 64px; }
.mm-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex-shrink: 0; }
.mm .mm-logo-img { width: auto; height: 52px; max-width: 160px; object-fit: contain; display: block; }
.mm-logo-text { font: 700 20px/1 var(--mm-serif); letter-spacing: .01em; }
.mm-logo-img + .mm-logo-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.mm-nav { margin-left: auto; }
.mm-nav-list, .mm-nav-list ul { list-style: none; margin: 0; padding: 0; }
.mm-nav-list { display: flex; align-items: center; gap: 2px; }
.mm-nav-list > li { position: relative; }
.mm-nav-list a { display: block; padding: 10px 12px; text-decoration: none; color: #e9eaee; font: 600 14px/1.2 var(--mm-sans); letter-spacing: .02em; border-radius: 6px; }
.mm-nav-list a:hover { color: #fff; background: rgba(255,255,255,.08); }
.mm-nav-list .current-menu-item > a, .mm-nav-list .current-menu-ancestor > a, .mm-nav-list .current-category-ancestor > a { color: #fff; box-shadow: inset 0 -2px 0 var(--mm-accent); border-radius: 0; }
.mm-nav-list .sub-menu { position: absolute; left: 0; top: 100%; min-width: 210px; background: var(--mm-ink-2); border-radius: 8px; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s ease; }
.mm-nav-list li:hover > .sub-menu, .mm-nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mm-nav-list .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.mm-nav-list a[href=""], .mm-nav-list a:not([href]) { cursor: default; }

.mm-header-actions { display: flex; gap: 4px; }
.mm-icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.mm-icon-btn:hover { background: rgba(255,255,255,.1); }
.mm-menu-toggle { display: none; }

.mm-search-panel { background: var(--mm-ink-2); padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); }
.mm-search-form { display: flex; gap: 8px; }
.mm-search-form input[type="search"] { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #c9c7c0; border-radius: 8px; font: 16px var(--mm-sans); background: #fff; color: var(--mm-text); }
.mm-search-form button, .mm .search-form button, .mm .search-form .search-submit { height: 46px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--mm-accent); color: #fff; font: 700 15px var(--mm-sans); cursor: pointer; }
.mm-search-form button:hover { background: var(--mm-accent-dark); }

@media (max-width: 960px) {
	.mm-menu-toggle { display: inline-grid; }
	.mm-header-actions { margin-left: auto; }
	.mm-nav { position: absolute; left: 0; right: 0; top: 64px; background: var(--mm-ink); border-top: 1px solid rgba(255,255,255,.08); max-height: calc(100vh - 64px); overflow-y: auto; display: none; }
	.mm-nav.is-open { display: block; }
	.mm-nav-list { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
	.mm-nav-list a { padding: 13px 8px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
	.mm-nav-list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 0 14px; }
	.mm-nav-list .menu-item-has-children > a::after { display: none; }
}

/* ---------- Category strip ---------- */
.mm-catstrip { background: var(--mm-paper); border-bottom: 1px solid var(--mm-line); }
.mm-catstrip-inner { display: flex; align-items: center; gap: 14px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.mm-catstrip-inner::-webkit-scrollbar { display: none; }
.mm-catstrip-label { font: 700 12px var(--mm-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mm-muted); flex-shrink: 0; }
.mm-catstrip ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.mm-catstrip a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 7px 12px; border: 1px solid var(--mm-line); border-radius: 999px; text-decoration: none; font: 600 14px/1 var(--mm-sans); color: var(--mm-text); background: var(--mm-bg); }
.mm-catstrip a span { font-weight: 500; color: var(--mm-muted); font-size: 12px; }
.mm-catstrip a:hover, .mm-catstrip a[aria-current] { border-color: var(--mm-ink); background: var(--mm-ink); color: #fff; }
.mm-catstrip a:hover span, .mm-catstrip a[aria-current] span { color: #c9cbd2; }

/* ---------- Shared bits ---------- */
.mm-badge { display: inline-block; margin-bottom: 8px; padding: 4px 8px; border-radius: 4px; background: var(--mm-accent); color: #fff !important; font: 700 11px/1.1 var(--mm-sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.mm-badge:hover { background: var(--mm-accent-dark); }
.mm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--mm-muted); font-size: 13px; line-height: 1.4; }
.mm-meta-author { font-weight: 600; color: var(--mm-text); }
.mm-dot { opacity: .6; }
.mm-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; font: 700 11px/1.4 var(--mm-sans); vertical-align: 1px; }
.mm-tag-ok { background: #e3f3e9; color: var(--mm-ok); }
.mm-tag-warn { background: #fff1d6; color: var(--mm-warn); }

.mm-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 8px; background: var(--mm-accent); color: #fff !important; text-decoration: none; font: 700 15px var(--mm-sans); }
.mm-btn:hover { background: var(--mm-accent-dark); }
.mm-btn-ghost { background: transparent; color: var(--mm-text) !important; border: 1.5px solid var(--mm-text); }
.mm-btn-ghost:hover { background: var(--mm-ink); color: #fff !important; }

.mm-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #2a2d36, #14161c); border-radius: var(--mm-radius); }
.mm-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mm-thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; font: 700 48px var(--mm-serif); color: rgba(255,255,255,.25); }
@media (hover: hover) { .mm-card:hover .mm-thumb img, .mm-lead:hover .mm-thumb img, .mm-row:hover .mm-thumb img { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .mm-thumb img { transition: none; } }

/* ---------- Intro + hero ---------- */
.mm-main { display: block; padding-bottom: 48px; }
.mm-intro { padding-top: 22px; }
.mm-intro-title { margin: 0; font: 700 clamp(15px, 1.6vw, 17px)/1.3 var(--mm-sans); letter-spacing: .02em; color: var(--mm-text); }
.mm-intro-title span { font-weight: 400; color: var(--mm-muted); }

.mm-hero { display: grid; gap: var(--mm-gap); padding-top: 16px; padding-bottom: 8px; }
@media (min-width: 1000px) { .mm-hero { grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr); align-items: start; } }

.mm-lead { background: var(--mm-ink); color: #fff; border-radius: 14px; overflow: hidden; }
.mm-lead .mm-thumb { border-radius: 0; }
.mm-lead-body { padding: 20px 20px 24px; }
@media (min-width: 768px) { .mm-lead-body { padding: 26px 30px 30px; } }
.mm-lead-title { margin: 2px 0 10px; font: 700 clamp(22px, 2.8vw, 32px)/1.25 var(--mm-serif); letter-spacing: -.01em; }
.mm-lead-title a { text-decoration: none; }
.mm-lead-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mm-lead-excerpt { margin: 0 0 14px; color: #d2d4da; font-size: 16px; max-width: 62ch; }
.mm-lead .mm-meta { color: #b7bac3; margin-bottom: 18px; }
.mm-lead .mm-meta-author { color: #fff; }

.mm-lead-compact { margin-bottom: var(--mm-gap); }
@media (min-width: 860px) {
	.mm-lead-compact { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; }
	.mm-lead-compact .mm-thumb { height: 100%; aspect-ratio: auto; min-height: 320px; }
	.mm-lead-compact .mm-lead-media { height: 100%; }
}

.mm-hero-side { background: var(--mm-paper); border: 1px solid var(--mm-line); border-radius: 14px; padding: 18px; }
.mm-section-kicker { margin: 0 0 6px; font: 700 12px var(--mm-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mm-accent); }

/* Row card */
.mm-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--mm-line); }
.mm-row:last-child { border-bottom: 0; padding-bottom: 0; }
.mm-row .mm-thumb { border-radius: 8px; }
.mm-row .mm-badge { margin-bottom: 6px; font-size: 10px; padding: 3px 6px; }
.mm-row-title { margin: 0 0 6px; font: 600 15px/1.4 var(--mm-serif); }
.mm-row-title a { text-decoration: none; }
.mm-row-title a:hover { color: var(--mm-accent); }
@media (min-width: 1000px) and (max-width: 1140px) { .mm-row { grid-template-columns: 96px minmax(0, 1fr); } }

/* ---------- Sections & grids ---------- */
.mm-section { padding-top: clamp(28px, 4vw, 44px); }
.mm-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--mm-ink); }
.mm-section-title { margin: 0; font: 700 clamp(20px, 2.2vw, 26px)/1.25 var(--mm-serif); position: relative; padding-left: 14px; }
.mm-section-title::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 2px; background: var(--mm-accent); }
.mm-section-link { font: 700 14px var(--mm-sans); color: var(--mm-accent) !important; text-decoration: none; padding: 8px 0; }
.mm-section-link:hover { text-decoration: underline; }

.mm-grid { display: grid; gap: var(--mm-gap); grid-template-columns: 1fr; }
@media (min-width: 640px) { .mm-grid-3, .mm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .mm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.mm-card { display: flex; flex-direction: column; background: var(--mm-paper); border: 1px solid var(--mm-line); border-radius: 12px; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
@media (hover: hover) { .mm-card:hover { box-shadow: 0 10px 28px rgba(20,22,28,.10); } }
.mm-card .mm-thumb { border-radius: 0; }
.mm-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.mm-card-body .mm-badge { align-self: flex-start; }
.mm-card-title { margin: 0 0 8px; font: 600 18px/1.4 var(--mm-serif); letter-spacing: -.005em; }
.mm-grid-4 .mm-card-title { font-size: 16px; }
.mm-card-title a { text-decoration: none; }
.mm-card-title a::after { content: ""; } /* title link is the single accessible link */
.mm-card-title a:hover { color: var(--mm-accent); }
.mm-card-excerpt { margin: 0 0 14px; color: #474b55; font-size: 15px; line-height: 1.55; }
.mm-card .mm-meta { margin-top: auto; }

.mm-more-wrap { margin: 26px 0 0; text-align: center; }

/* ---------- Pagination ---------- */
.mm-pagination { margin-top: 36px; }
.mm-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.mm-pagination li > .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--mm-line); border-radius: 8px; background: var(--mm-paper); text-decoration: none; font: 600 15px var(--mm-sans); }
.mm-pagination a.page-numbers:hover { border-color: var(--mm-ink); }
.mm-pagination li > .page-numbers { white-space: nowrap; }
.mm-pagination li > .current { background: var(--mm-ink); border-color: var(--mm-ink); color: #fff; }
.mm-pagination li > .dots { border: 0; background: none; }
.mm-grid-4 .mm-meta-author, .mm-grid-4 .mm-meta-author + .mm-dot { display: none; }

/* ---------- Archive header ---------- */
.mm-archive-head { background: var(--mm-ink); color: #fff; padding: 26px 0 30px; }
.mm-archive-head .mm-eyebrow { color: #f0a3ae; }
.mm-archive-title { margin: 0 0 10px; font: 700 clamp(28px, 4vw, 42px)/1.15 var(--mm-serif); letter-spacing: -.015em; }
.mm-archive-desc { max-width: 70ch; color: #d4d6dc; font-size: 17px; }
.mm-archive-desc p { margin: 0 0 8px; }
.mm-archive-desc.mm-admin-note { color: #5a4300; }
.mm-archive-count { margin: 12px 0 0; color: #a9adb7; font-size: 14px; }
.mm-archive-head-plain { background: none; color: var(--mm-text); padding-top: 28px; }
.mm-archive-author { display: flex; gap: 18px; align-items: center; }
.mm-archive-author img { border-radius: 50%; }
.mm-archive-head .mm-breadcrumbs, .mm-archive-head .mm-breadcrumbs a { color: #a9adb7; }
.mm-search-inline { max-width: 620px; margin-top: 8px; }

/* ---------- Breadcrumbs ---------- */
.mm-breadcrumbs { font-size: 13px; color: var(--mm-muted); margin-bottom: 14px; }
.mm-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mm-breadcrumbs li + li::before { content: "/"; margin-right: 4px; opacity: .55; }
.mm-breadcrumbs a { text-decoration: none; color: inherit; }
.mm-breadcrumbs a:hover { text-decoration: underline; }
.mm-breadcrumbs .separator { margin: 0 4px; opacity: .55; }

/* ---------- Single article ---------- */
.mm-single { padding-top: 26px; }
.mm-article-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1080px) { .mm-article-layout { grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; } }

.mm-article { min-width: 0; }
.mm-article-title { margin: 4px 0 12px; font: 700 clamp(28px, 3.8vw, 40px)/1.22 var(--mm-serif); letter-spacing: -.015em; color: var(--mm-ink); }
.mm-dek { margin: 0 0 18px; font-size: clamp(18px, 2vw, 20px); line-height: 1.5; color: #3f434c; }
.mm-byline { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); margin-bottom: 22px; }
.mm-byline-avatar img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.mm-byline-name { display: block; font-weight: 700; font-size: 15px; }
.mm-byline-name a { text-decoration: none; color: var(--mm-text); }
.mm-byline-name a:hover { color: var(--mm-accent); }

.mm-featured { margin: 0 0 26px; }
.mm-featured img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #2a2d36; }
.mm-featured figcaption { margin-top: 8px; font-size: 13px; color: var(--mm-muted); }

/* Movie info box */
.mm-movie { margin: 0 0 26px; border-radius: 12px; overflow: hidden; border: 1px solid var(--mm-line); background: var(--mm-paper); }
.mm-movie-head { background: var(--mm-ink); color: #fff; padding: 14px 18px; }
.mm-movie-head .mm-eyebrow { color: #f0a3ae; margin-bottom: 2px; }
.mm-movie-title { margin: 0; font: 700 19px/1.3 var(--mm-serif); }
.mm-rating { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: #fff8e8; border-bottom: 1px solid var(--mm-line); }
.mm-rating-num { font: 700 28px/1 var(--mm-serif); color: var(--mm-ink); }
.mm-rating-num small { font-size: 15px; color: var(--mm-muted); }
.mm-rating-label { font-size: 13px; color: #5d4a17; font-weight: 600; }
.mm-movie dl { margin: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mm-movie dl { grid-template-columns: 1fr 1fr; } }
.mm-movie dl > div { padding: 11px 18px; border-bottom: 1px solid var(--mm-line); }
.mm-movie dt { font: 700 11px var(--mm-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mm-muted); margin-bottom: 2px; }
.mm-movie dd { margin: 0; font-size: 15px; font-weight: 500; }

/* TOC */
.mm-toc { margin: 0 0 30px; background: var(--mm-paper); border: 1px solid var(--mm-line); border-left: 4px solid var(--mm-accent); border-radius: 10px; }
.mm-toc summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; font: 700 16px var(--mm-sans); list-style: none; }
.mm-toc summary::-webkit-details-marker { display: none; }
.mm-toc summary::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-left: 4px; transition: transform .2s; }
.mm-toc[open] summary::after { transform: rotate(-135deg); }
.mm-toc-count { margin-left: auto; font-weight: 500; font-size: 13px; color: var(--mm-muted); }
.mm-toc ol { margin: 0; padding: 0 18px 16px 40px; columns: 1; }
@media (min-width: 720px) { .mm-toc ol { columns: 2; column-gap: 32px; } }
.mm-toc li { break-inside: avoid; padding: 5px 0; font-size: 15px; line-height: 1.4; }
.mm-toc li::marker { color: var(--mm-muted); font-size: 13px; }
.mm-toc a { text-decoration: none; color: var(--mm-text); }
.mm-toc a:hover { color: var(--mm-accent); text-decoration: underline; }

/* Easy TOC plugin (if kept active) — make it match */
.mm #ez-toc-container { background: var(--mm-paper); border: 1px solid var(--mm-line); border-left: 4px solid var(--mm-accent); border-radius: 10px; padding: 14px 18px; box-shadow: none; width: 100%; margin: 4px 0 28px; }
.mm #ez-toc-container a { color: var(--mm-text); }

/* Article typography — higher specificity than Elementor kit rules */
/* Elementor text widgets use the kit font; force the reading font inside articles. */
body.mm .mm-content { --e-global-typography-text-font-family: "Inter"; --e-global-typography-text-font-weight: 400; }
body.mm .mm-content .elementor-widget-text-editor,
body.mm .mm-content .elementor-widget-text-editor :is(p, li, td, th, dd, dt) { font-family: var(--mm-sans); }
body.mm .mm-content .elementor-widget-text-editor { font-size: 18px; line-height: 1.75; color: #24272e; }
body.mm .mm-content { font-family: var(--mm-sans); font-size: 18px; line-height: 1.75; color: #24272e; overflow-wrap: break-word; }
body.mm .mm-content p { margin: 0 0 1.15em; }
body.mm .mm-content h2,
body.mm .mm-content h2.elementor-heading-title { font: 700 clamp(22px, 2.6vw, 28px)/1.3 var(--mm-serif); letter-spacing: -.01em; color: var(--mm-ink); margin: 1.9em 0 .6em; scroll-margin-top: 90px; }
body.mm .mm-content h3,
body.mm .mm-content h3.elementor-heading-title { font: 600 clamp(19px, 2vw, 22px)/1.35 var(--mm-serif); color: var(--mm-ink); margin: 1.5em 0 .5em; scroll-margin-top: 90px; }
body.mm .mm-content h4 { font: 700 19px/1.35 var(--mm-sans); margin: 1.4em 0 .4em; }
body.mm .mm-content a { color: var(--mm-accent-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.mm .mm-content a:hover { text-decoration-thickness: 2px; }
body.mm .mm-content ul, body.mm .mm-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
body.mm .mm-content li { margin-bottom: .45em; }
body.mm .mm-content li::marker { color: var(--mm-accent); }
body.mm .mm-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--mm-accent); font: italic 500 19px/1.6 var(--mm-sans); color: #33363e; }
body.mm .mm-content img { border-radius: 10px; }
body.mm .mm-content figure { margin: 1.6em 0; }
body.mm .mm-content figcaption, body.mm .mm-content .wp-caption-text { font-size: 14px; color: var(--mm-muted); margin-top: 6px; }
body.mm .mm-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0 1.8em; font-size: 16px; line-height: 1.5; background: var(--mm-paper); display: block; overflow-x: auto; }
@media (min-width: 640px) { body.mm .mm-content table { display: table; } }
body.mm .mm-content th, body.mm .mm-content td { padding: 11px 14px; border: 1px solid var(--mm-line); text-align: left; vertical-align: top; }
body.mm .mm-content thead th, body.mm .mm-content tr:first-child th { background: var(--mm-ink); color: #fff; border-color: var(--mm-ink); font-weight: 700; }
body.mm .mm-content tbody tr:nth-child(even) { background: #faf9f6; }
body.mm .mm-content .elementor-section.elementor-section-boxed > .elementor-container { max-width: 100%; }
body.mm .mm-content .elementor-widget-wrap { padding: 0 !important; }
body.mm .mm-content .elementor-widget:not(:last-child) { margin-bottom: 0; }

/* Article footer */
.mm-article-foot { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--mm-line); display: grid; gap: 16px; }
.mm-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mm-tags-label, .mm-share-label { font: 700 12px var(--mm-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mm-muted); margin-right: 4px; }
.mm-tags a { padding: 6px 11px; border-radius: 999px; background: #ecebe6; text-decoration: none; font-size: 14px; font-weight: 500; }
.mm-tags a:hover { background: var(--mm-ink); color: #fff; }
.mm-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mm-share a, .mm-share button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--mm-line); border-radius: 8px; background: var(--mm-paper); font: 600 14px var(--mm-sans); color: var(--mm-text); text-decoration: none; cursor: pointer; }
.mm-share a:hover, .mm-share button:hover { border-color: var(--mm-ink); }

/* Author box */
.mm-author { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; margin-top: 30px; padding: 22px; background: var(--mm-paper); border: 1px solid var(--mm-line); border-radius: 12px; }
@media (min-width: 640px) { .mm-author { grid-template-columns: 88px minmax(0, 1fr); padding: 26px; } }
.mm-author-avatar img { width: 100%; height: auto; border-radius: 50%; display: block; }
.mm-author-name { margin: 0 0 8px; font: 700 20px/1.25 var(--mm-serif); }
.mm-author-name a { text-decoration: none; }
.mm-author-bio { margin: 0 0 12px; color: #3f434c; font-size: 15.5px; }
.mm-author-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 14px; }
.mm-author-links a { color: var(--mm-accent-dark); font-weight: 600; }

/* Prev / next */
.mm-postnav { display: grid; gap: 14px; margin-top: 26px; }
@media (min-width: 640px) { .mm-postnav { grid-template-columns: 1fr 1fr; } }
.mm-postnav a { display: block; padding: 16px 18px; border: 1px solid var(--mm-line); border-radius: 10px; background: var(--mm-paper); text-decoration: none; font: 600 15px/1.4 var(--mm-serif); }
.mm-postnav a span { display: block; margin-bottom: 4px; font: 700 11px var(--mm-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mm-muted); }
.mm-postnav a:hover { border-color: var(--mm-ink); }
.mm-postnav-next { text-align: right; }
@media (min-width: 640px) { .mm-postnav-next:only-child { grid-column: 2; } }

/* Sidebar */
.mm-sidebar { display: none; }
@media (min-width: 1080px) { .mm-sidebar { display: block; } .mm-sidebar > :last-child { position: sticky; top: 84px; } .admin-bar .mm-sidebar > :last-child { top: 116px; } }
.mm-side-block { background: var(--mm-paper); border: 1px solid var(--mm-line); border-radius: 12px; padding: 18px; margin-bottom: 20px; }
.mm-side-title { margin: 0 0 12px; font: 700 13px var(--mm-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mm-ink); padding-bottom: 10px; border-bottom: 2px solid var(--mm-ink); }
.mm-side-list { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.mm-side-list li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; column-gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--mm-line); }
.mm-side-list li:last-child { border-bottom: 0; }
.mm-side-list li::before { content: counter(s); grid-row: span 2; font: 700 22px/1 var(--mm-serif); color: var(--mm-accent); }
.mm-side-list a { font: 600 14px/1.4 var(--mm-serif); text-decoration: none; }
.mm-side-list a:hover { color: var(--mm-accent); }
.mm-side-list time { font-size: 12px; color: var(--mm-muted); margin-top: 3px; }
.mm-side-cats { list-style: none; margin: 0; padding: 0; }
.mm-side-cats a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--mm-line); text-decoration: none; font-weight: 600; font-size: 15px; }
.mm-side-cats li:last-child a { border-bottom: 0; }
.mm-side-cats a span { color: var(--mm-muted); font-weight: 500; }
.mm-side-cats a:hover { color: var(--mm-accent); }

/* Related */
.mm-related { margin-top: 48px; padding: 40px 0 8px; background: #eeede8; border-top: 1px solid var(--mm-line); }

/* Ads (only render when enabled in Settings → Reading) */
.mm-ad { margin: 32px 0; padding: 10px 0 0; border-top: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); min-height: 300px; text-align: center; }
.mm-ad-label { display: block; margin-bottom: 8px; font: 600 11px var(--mm-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mm-muted); }

/* Comments */
.mm-comments { margin-top: 34px; }
.mm-comments .comment-list { list-style: none; padding: 0; }
.mm-comments textarea, .mm-comments input[type="text"], .mm-comments input[type="email"], .mm-comments input[type="url"] { width: 100%; padding: 10px 12px; border: 1px solid #c9c7c0; border-radius: 8px; font: 16px var(--mm-sans); }
.mm-comments input[type="submit"] { min-height: 44px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--mm-ink); color: #fff; font-weight: 700; cursor: pointer; }

/* Pages + empty states */
.mm-page { max-width: 820px; padding-top: 30px; }
.mm-empty { padding-block: 48px; max-width: 720px; }
.mm-empty-cats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.mm-empty-cats a { display: inline-block; padding: 8px 14px; border: 1px solid var(--mm-line); border-radius: 999px; background: var(--mm-paper); text-decoration: none; font-weight: 600; }
.mm .search-form { display: flex; gap: 8px; }
.mm .search-form label { flex: 1; }
.mm .search-form .search-field { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #c9c7c0; border-radius: 8px; font: 16px var(--mm-sans); }

/* ---------- Footer ---------- */
.mm-footer { background: var(--mm-ink); color: #c9cbd2; padding-top: 44px; font-size: 15px; }
.mm-footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .mm-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.mm-footer-about p { max-width: 46ch; margin: 14px 0 0; }
.mm-footer-note { font-size: 13px; color: #9a9ea8; }
.mm-footer-title { margin: 0 0 12px; font: 700 12px var(--mm-sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.mm-footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.mm-footer-links li { break-inside: avoid; }
.mm-footer-links a { display: inline-block; padding: 6px 0; color: #c9cbd2; text-decoration: none; }
.mm-footer-links a:hover { color: #fff; text-decoration: underline; }
.mm-footer-bottom { margin-top: 34px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #9a9ea8; }
.mm-footer-bottom p { margin: 0; }

/* =====================================================================
   Article engagement layer
   ===================================================================== */

/* Reading progress */
.mm-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.admin-bar .mm-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .mm-progress { top: 46px; } }
.mm-progress span { display: block; height: 100%; background: var(--mm-accent); transform: scaleX(0); transform-origin: 0 50%; }

/* Lede */
body.mm .mm-content p.mm-lede { font-size: clamp(19px, 2vw, 21px); line-height: 1.65; color: var(--mm-text); }
body.mm .mm-content p.mm-lede::first-letter { float: left; font: 700 3.3em/.86 var(--mm-serif); color: var(--mm-accent); margin: .06em .12em 0 0; }

/* Quick take (author-written) */
.mm-quick { margin: 0 0 24px; padding: 18px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--mm-line); box-shadow: inset 4px 0 0 var(--mm-gold); }
.mm-quick-title { margin: 0 0 8px; font: 700 13px var(--mm-sans); letter-spacing: .12em; text-transform: uppercase; color: #8a6200; }
.mm-quick ul { margin: 0; padding-left: 1.2em; }
.mm-quick li { margin: 4px 0; font-size: 16px; }

/* Numbered editorial sections */
body.mm .mm-content .mm-sec { margin-top: 2.6em; }
body.mm .mm-content .mm-sec > h2:first-child { margin-top: 0; }
body.mm .mm-content .mm-sec--default[data-num]::before { content: attr(data-num); display: block; margin-bottom: 6px; font: 700 13px var(--mm-sans); letter-spacing: .14em; color: var(--mm-accent); }
body.mm .mm-content .mm-sec h3 { padding-left: 12px; border-left: 3px solid var(--mm-line); }

/* Fact sheet (At a glance) */
body.mm .mm-content .mm-sec--glance { padding: 22px 22px 6px; background: #fff; border: 1px solid var(--mm-line); border-radius: 14px; }
body.mm .mm-content .mm-sec--glance > h2 { font-size: 20px; }
body.mm .mm-content .mm-sec--glance table { margin-top: .8em; border: 0; }
body.mm .mm-content .mm-sec--glance th, body.mm .mm-content .mm-sec--glance td { border: 0; border-bottom: 1px solid var(--mm-line); padding: 10px 6px; }
body.mm .mm-content .mm-sec--glance tr:first-child th { background: transparent; color: var(--mm-muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border-color: var(--mm-line); }
body.mm .mm-content .mm-sec--glance td:first-child { width: 36%; color: var(--mm-muted); font-weight: 600; font-size: 14px; }
body.mm .mm-content .mm-sec--glance tbody tr:nth-child(even) { background: transparent; }

/* Data card (ratings / box office) */
body.mm .mm-content .mm-sec--data { padding: 22px; background: var(--mm-ink); color: #e6e7eb; border-radius: 14px; }
body.mm .mm-content .mm-sec--data > h2 { color: #fff; }
body.mm .mm-content .mm-sec--data a { color: #ffb3bd; }
body.mm .mm-content .mm-sec--data table { background: transparent; }
body.mm .mm-content .mm-sec--data th, body.mm .mm-content .mm-sec--data td { border-color: rgba(255,255,255,.12); }
body.mm .mm-content .mm-sec--data tr:first-child th, body.mm .mm-content .mm-sec--data thead th { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
body.mm .mm-content .mm-sec--data tbody tr:nth-child(even) { background: rgba(255,255,255,.03); }
body.mm .mm-content .mm-sec--data td:nth-child(2) { font-weight: 700; color: #fff; white-space: nowrap; }
body.mm .mm-content .mm-sec--data p:last-child { margin-bottom: 0; }

/* Checklist (worth watching?) */
body.mm .mm-content .mm-sec--checklist ul { list-style: none; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { body.mm .mm-content .mm-sec--checklist ul { grid-template-columns: 1fr 1fr; } }
body.mm .mm-content .mm-sec--checklist li { position: relative; margin: 0; padding: 12px 14px 12px 44px; background: #fff; border: 1px solid var(--mm-line); border-radius: 10px; font-size: 16px; line-height: 1.5; }
body.mm .mm-content .mm-sec--checklist li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: #e3f3e9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2317663a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* OTT callout */
body.mm .mm-content .mm-sec--ott { padding: 20px 22px 4px 22px; background: #eef4ff; border: 1px solid #cfdcf5; border-radius: 14px; }
body.mm .mm-content .mm-sec--ott > h2 { font-size: 21px; display: flex; gap: 10px; align-items: center; }
body.mm .mm-content .mm-sec--ott > h2::before { content: ""; flex: 0 0 26px; height: 26px; border-radius: 6px; background: #2457c5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='12' rx='2' fill='none' stroke='white' stroke-width='2'/%3E%3Cpath d='M8 20h8' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* FAQ accordion */
body.mm .mm-content .mm-sec--faq details { border: 1px solid var(--mm-line); border-radius: 10px; background: #fff; margin: 0 0 10px; }
body.mm .mm-content .mm-sec--faq summary { list-style: none; cursor: pointer; padding: 14px 48px 14px 16px; position: relative; }
body.mm .mm-content .mm-sec--faq summary::-webkit-details-marker { display: none; }
body.mm .mm-content .mm-sec--faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 600 22px/1 var(--mm-sans); color: var(--mm-accent); }
body.mm .mm-content .mm-sec--faq details[open] summary::after { content: "−"; }
body.mm .mm-content .mm-sec--faq summary h3 { display: inline; margin: 0; padding: 0; border: 0; font-size: 17px; line-height: 1.45; }
body.mm .mm-content .mm-sec--faq .mm-faq-a { padding: 0 16px 4px; }
body.mm .mm-content .mm-sec--faq .mm-faq-a p { font-size: 16.5px; }

/* Verdict card */
body.mm .mm-content .mm-sec--verdict { position: relative; padding: 26px 24px 8px; border-radius: 14px; background: linear-gradient(180deg, #fff 0%, #fff6f7 100%); border: 1px solid #f0c9cf; border-top: 5px solid var(--mm-accent); }
body.mm .mm-content .mm-sec--verdict::before { content: "Our verdict"; display: block; margin-bottom: 6px; font: 700 12px var(--mm-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mm-accent); }
body.mm .mm-content .mm-sec--verdict p { font-size: 18px; }

/* Sticky sidebar outline */
.mm-side-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; max-height: calc(100vh - 200px); overflow-y: auto; }
.mm-side-toc li { counter-increment: t; }
.mm-side-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 6px; text-decoration: none; font-size: 14px; line-height: 1.4; color: var(--mm-muted); }
.mm-side-toc a::before { content: counter(t, decimal-leading-zero); font-weight: 700; font-size: 12px; color: #b3b6bd; padding-top: 1px; }
.mm-side-toc a:hover { color: var(--mm-text); background: var(--mm-bg); }
.mm-side-toc a[aria-current] { color: var(--mm-ink); background: #fdecee; font-weight: 600; }
.mm-side-toc a[aria-current]::before { color: var(--mm-accent); }

@media print {
	.mm-header, .mm-footer, .mm-sidebar, .mm-related, .mm-share, .mm-ad, .mm-catstrip { display: none !important; }
	body.mm { background: #fff; }
}

/* ElementsKit footer template (if enabled) — readable links on the dark band */
.ekit-template-content-footer a { color: #c9cbd2; text-decoration: none; margin: 0 8px; font-family: var(--mm-sans); font-size: 15px; }
.ekit-template-content-footer a:hover { color: #fff; text-decoration: underline; }
