/* ==========================================================================
   CineDogs theme
   1. Tokens (light / dark)   2. Base   3. Layout   4. Header & nav
   5. Hero   6. Cards & sections   7. Podcast   8. Single   9. Widgets
   10. Comments & forms   11. Footer   12. Plot Twist plugin   13. Utilities
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
	--font-sans: Commissioner, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-serif: Literata, Georgia, "Times New Roman", serif;

	--bg: #faf8f5;
	--surface: #ffffff;
	--surface-2: #f1eee9;
	--text: #121417;
	--muted: #5b6270;
	--line: #e3dfd8;
	--accent: #cd0033;
	--accent-ink: #ffffff;
	--nav-bg: #121417;
	--nav-text: #f4f2ee;
	--shadow: 0 1px 2px rgb(18 20 23 / .06), 0 8px 24px rgb(18 20 23 / .06);
	--cat: var(--accent);

	--radius: 10px;
	--radius-sm: 6px;
	--gap: clamp(1rem, 2.5vw, 2rem);
	--container: 1240px;
	--measure: 70ch;

	color-scheme: light;
}

:root[data-scheme="dark"] {
	--bg: #0e0f12;
	--surface: #17191e;
	--surface-2: #1f2228;
	--text: #ebe8e3;
	--muted: #a3a9b4;
	--line: #2a2e36;
	--accent: #ff3b63;
	--accent-ink: #0e0f12;
	--nav-bg: #050608;
	--shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .35);
	color-scheme: dark;
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	transition: background-color .2s, color .2s;
}

img, video, iframe, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-sans);
	font-weight: 750;
	line-height: 1.15;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	text-wrap: balance;
}

p { margin: 0 0 1em; }

.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;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: .5rem; left: .5rem; padding: .75rem 1rem;
	background: var(--surface); color: var(--text); border-radius: var(--radius-sm);
}

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

.button, button.button, .wp-block-button__link, input[type="submit"] {
	display: inline-flex; align-items: center; gap: .4em;
	font: 700 .95rem/1 var(--font-sans);
	padding: .8em 1.25em;
	background: var(--accent); color: var(--accent-ink);
	border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
}
.button:hover, input[type="submit"]:hover { filter: brightness(1.1); color: var(--accent-ink); }

/* 3. Layout ------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gap), var(--container)); margin-inline: auto; }

.site-main { display: block; padding-bottom: clamp(2rem, 5vw, 4rem); }
.site-main:focus { outline: none; }

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin-top: clamp(1.5rem, 4vw, 2.75rem);
	align-items: start;
}
.no-sidebar .layout { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr); } }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span-2 { grid-column: 1 / -1; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* 4. Header & nav ------------------------------------------------------- */
.site-header { background: var(--surface); }
.header-top {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	padding-block: clamp(.9rem, 2.5vw, 1.5rem);
	flex-wrap: wrap;
}
.site-branding { display: flex; flex-direction: column; gap: .2rem; }
.custom-logo { max-height: 72px; width: auto; }
:root[data-scheme="dark"] .custom-logo { filter: drop-shadow(0 0 1px rgb(255 255 255 / .35)); }
.wordmark {
	font: 850 clamp(1.8rem, 4vw, 2.6rem)/1 var(--font-sans);
	letter-spacing: -.04em; text-decoration: none; color: var(--text);
}
.wordmark-dogs { color: var(--accent); }
.site-description { margin: 0; color: var(--muted); font-size: .85rem; }
.header-banner { max-width: 728px; flex: 0 1 auto; }
.header-banner img { border-radius: var(--radius-sm); }
@media (max-width: 720px) { .header-banner { width: 100%; } .header-banner img { margin-inline: auto; } }

.nav-bar {
	position: sticky; top: 0; z-index: 50;
	background: var(--nav-bg); color: var(--nav-text);
	transition: box-shadow .2s;
}
.admin-bar .nav-bar { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav-bar { top: 0; } }
.nav-bar.is-stuck { box-shadow: 0 6px 20px rgb(0 0 0 / .25); }

.nav-inner { display: flex; align-items: center; gap: .5rem; min-height: 56px; }
.primary-nav { flex: 1; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; flex-wrap: wrap; gap: .25rem; }
.primary-nav li { position: relative; }
.primary-nav a {
	display: block; padding: 1.05rem .9rem;
	color: var(--nav-text); text-decoration: none;
	font-weight: 650; font-size: .95rem; letter-spacing: .01em;
	position: relative;
}
.primary-nav > ul > li > a::after {
	content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .6rem; height: 3px;
	background: var(--cat, var(--accent)); border-radius: 2px;
	transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.primary-nav > ul > li > a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current-menu-ancestor > a::after,
.primary-nav .current-cat > a::after { transform: scaleX(1); }
.primary-nav a:hover { color: #fff; }

.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px;
	background: var(--nav-bg); padding: .4rem 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { padding: .6rem 1rem; font-weight: 550; }

.nav-tools { display: flex; gap: .25rem; margin-left: auto; }
.icon-btn {
	display: inline-grid; place-items: center;
	width: 44px; height: 44px; padding: 0;
	background: transparent; color: var(--nav-text);
	border: 0; border-radius: 50%; cursor: pointer;
}
.icon-btn:hover { background: rgb(255 255 255 / .1); }
.scheme-toggle .icon-sun { display: none; }
:root[data-scheme="dark"] .scheme-toggle .icon-sun { display: block; }
:root[data-scheme="dark"] .scheme-toggle .icon-moon { display: none; }

.menu-toggle { display: none; }
@media (max-width: 860px) {
	.menu-toggle { display: inline-grid; }
	.primary-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: var(--nav-bg); border-top: 1px solid rgb(255 255 255 / .08);
		max-height: calc(100vh - 56px); overflow: auto;
	}
	.primary-nav.is-open { display: block; }
	.primary-nav > ul { flex-direction: column; padding: .5rem var(--gap) 1rem; }
	.primary-nav a { padding: .85rem 0; border-bottom: 1px solid rgb(255 255 255 / .07); }
	.primary-nav > ul > li > a::after { left: 0; right: auto; width: 2.5rem; bottom: .3rem; transform: scaleX(1); }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 1rem; }
}

.header-search { background: var(--nav-bg); padding: 0 0 1rem; }
.header-search .search-form { max-width: 640px; }

/* 5. Hero --------------------------------------------------------------- */
.hero { background: var(--nav-bg); color: #fff; padding: clamp(1rem, 3vw, 2rem) 0 clamp(1.5rem, 4vw, 2.75rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: var(--gap); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.hero-main {
	position: relative; border-radius: var(--radius); overflow: hidden;
	min-height: clamp(340px, 52vw, 560px); isolation: isolate;
	display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .hero-media .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-main:hover .hero-media img { transform: scale(1.03); }
.hero-media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgb(0 0 0 / 0) 25%, rgb(0 0 0 / .55) 55%, rgb(0 0 0 / .92) 100%);
}
.hero-overlay { padding: clamp(1.25rem, 3.5vw, 2.5rem); max-width: 760px; }
.hero-title { font-size: clamp(1.75rem, 4.2vw, 3.1rem); font-weight: 820; margin: .5rem 0 .6rem; }
.hero-title a { color: #fff; text-decoration: none; }
.hero-title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--cat, var(--accent)); }
.hero-excerpt { color: rgb(255 255 255 / .85); font-family: var(--font-serif); font-size: 1.05rem; }
.hero-excerpt p { margin: 0 0 .75rem; }
.hero .entry-meta { color: rgb(255 255 255 / .75); }

.hero-side { display: grid; gap: 1rem; align-content: start; }
.hero-side .card { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .08); color: #fff; }
.hero-side .card-title a { color: #fff; }
.hero-side .entry-meta { color: rgb(255 255 255 / .65); }

/* 6. Cards & sections --------------------------------------------------- */
.cat-pill {
	display: inline-block;
	background: var(--cat); color: #fff;
	font: 750 .7rem/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase;
	padding: .45em .7em; border-radius: 4px; text-decoration: none;
}
.cat-pill:hover { color: #fff; filter: brightness(1.12); }

.card {
	display: flex; flex-direction: column;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); overflow: hidden;
	transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 820 / 530; overflow: hidden; background: var(--surface-2); }
.card-media img, .card-media .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-body .cat-pill { align-self: flex-start; }
.card-title { font-size: 1.15rem; margin: 0; }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--cat, var(--accent)); }
.card-excerpt { color: var(--muted); font-family: var(--font-serif); font-size: .95rem; line-height: 1.55; }
.card-excerpt p { margin: 0; }
.card .entry-meta { margin-top: auto; }

.card-lead .card-title { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.card-lead .card-excerpt { font-size: 1.02rem; }

.card-horizontal { flex-direction: row; }
.card-horizontal .card-media { flex: 0 0 42%; aspect-ratio: auto; min-height: 110px; }
.card-horizontal .card-body { padding: .8rem .9rem; gap: .4rem; }
.card-horizontal .card-title { font-size: 1rem; }

.thumb-placeholder {
	display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%;
	background:
		repeating-linear-gradient(90deg, rgb(255 255 255 / .06) 0 14px, transparent 14px 28px) top / 100% 14px no-repeat,
		repeating-linear-gradient(90deg, rgb(255 255 255 / .06) 0 14px, transparent 14px 28px) bottom / 100% 14px no-repeat,
		linear-gradient(135deg, #1d2027, #121417);
	color: rgb(255 255 255 / .35); font: 800 1.1rem/1 var(--font-sans); letter-spacing: -.02em;
}

.entry-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem;
	color: var(--muted); font-size: .82rem;
}
.entry-meta a { text-decoration: none; font-weight: 650; }
.entry-meta .sep { opacity: .6; }
.entry-meta .reading-time, .entry-meta .comments-link { display: inline-flex; align-items: center; gap: .3em; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.section-title {
	font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 820; margin: 0;
	display: flex; align-items: center; gap: .7rem; flex: 1;
}
.section-title::before {
	content: ""; width: .65rem; height: 1.4em; border-radius: 3px; background: var(--cat, var(--accent)); flex: none;
}
.section-title::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.section-more {
	display: inline-flex; align-items: center; gap: .3rem;
	font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--cat, var(--accent)); white-space: nowrap;
}
:root[data-scheme="dark"] .section-more { color: color-mix(in srgb, var(--cat, var(--accent)) 60%, white); }

.cat-section, .latest, .related { margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.cat-section-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--gap); }
@media (max-width: 720px) { .cat-section-grid { grid-template-columns: minmax(0, 1fr); } }
.cat-section-list { display: grid; gap: 1rem; align-content: start; }

.list-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: .9rem; align-items: center; }
.list-item-media { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.list-item-media img, .list-item-media .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; font-size: .6rem; }
.list-item-title { font-size: 1rem; margin: 0 0 .3rem; line-height: 1.3; }
.list-item-title a { text-decoration: none; }
.list-item-title a:hover { color: var(--cat, var(--accent)); }
.list-item-date { color: var(--muted); font-size: .8rem; }

.archive-header {
	padding: clamp(1.25rem, 3vw, 2rem) 0 1.25rem; margin-bottom: 1.5rem;
	border-bottom: 4px solid var(--cat, var(--accent));
}
.archive-kicker { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 750; color: var(--muted); margin: 0 0 .25rem; }
.archive-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 850; margin: 0; }
.archive-description { color: var(--muted); font-family: var(--font-serif); margin-top: .5rem; }
.archive-avatar { border-radius: 50%; margin-bottom: .75rem; }
.archive-header .search-form { margin-top: 1rem; max-width: 560px; }

.pagination { margin-top: 2.25rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .8rem;
	border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
	font-weight: 700; text-decoration: none;
}
.pagination .page-numbers.current { background: var(--text); color: var(--bg); border-color: var(--text); }
.pagination .page-numbers.dots { border: 0; background: none; }

.no-results, .error-404 { padding: 3rem 0; }
.error-404 { text-align: center; max-width: 640px; }
.error-404 .search-form { margin: 1.5rem auto; max-width: 480px; }
.error-code { font: 900 clamp(5rem, 18vw, 10rem)/1 var(--font-sans); letter-spacing: -.06em; margin: 0; color: var(--accent); }

/* 7. Podcast band (homepage) -------------------------------------------- */
.podcast-band {
	--pod: #7c3aed;
	background:
		radial-gradient(1200px 400px at 85% -20%, rgb(124 58 237 / .35), transparent 60%),
		radial-gradient(800px 300px at 0% 120%, rgb(205 0 51 / .3), transparent 60%),
		#16121f;
	color: #f3efff;
	padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}
.podcast-band-inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
@media (max-width: 640px) { .podcast-band-inner { grid-template-columns: minmax(0, 1fr); } .podcast-band-cover { max-width: 180px; } }
.podcast-band-cover img { border-radius: var(--radius); box-shadow: 0 20px 40px rgb(0 0 0 / .45); aspect-ratio: 1; object-fit: cover; width: 100%; }
.podcast-band-kicker {
	display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .5rem;
	text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 750; color: #c4b5fd;
}
.podcast-band-title { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 .35rem; }
.podcast-band-title a { color: #fff; text-decoration: none; }
.podcast-band-title a:hover { text-decoration: underline; }
.podcast-band-meta { color: rgb(243 239 255 / .7); font-size: .85rem; margin: 0 0 .6rem; }
.podcast-band-summary { font-family: var(--font-serif); color: rgb(243 239 255 / .88); max-width: 70ch; }
.podcast-band-audio { width: 100%; max-width: 640px; margin: .25rem 0 1rem; color-scheme: dark; }
.podcast-band-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-link {
	display: inline-block; padding: .55em 1em; border-radius: 999px;
	font-weight: 700; font-size: .85rem; text-decoration: none; color: #fff;
	background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18);
}
.pill-link:hover { color: #fff; background: rgb(255 255 255 / .2); }
.pill-spotify { background: #1db954; border-color: #1db954; color: #08130c; }
.pill-spotify:hover { color: #08130c; background: #1ed760; }
.pill-apple { background: #872ec4; border-color: #872ec4; }
.pill-youtube { background: #e00; border-color: #e00; }

/* 8. Single ------------------------------------------------------------- */
.single-article .entry-header { padding-top: clamp(1.5rem, 4vw, 3rem); }
.single-article .entry-header .entry-title { max-width: 22ch; }
.entry-title { font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 850; letter-spacing: -.03em; margin: .75rem 0 .75rem; }
.page-article .entry-title, .full-width-article .entry-title { margin-top: 0; }
.entry-lede { font-family: var(--font-serif); font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.single-article .entry-meta { font-size: .9rem; margin-bottom: .5rem; }

.entry-hero { margin: clamp(1.25rem, 3vw, 2rem) auto 0; }
.entry-hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.entry-hero figcaption { color: var(--muted); font-size: .82rem; margin-top: .5rem; }
.single-article .layout { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

.entry-content {
	font-family: var(--font-serif);
	font-size: clamp(1.05rem, 1.2vw + .7rem, 1.18rem);
	line-height: 1.75;
	max-width: var(--measure);
	overflow-wrap: break-word;
}
.full-width-article .entry-content, .page-article .entry-content:has(.ptp-page) { max-width: none; }
.entry-content > * { margin-block: 0 1.25em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.8em; }
.entry-content h2 { font-size: 1.6em; }
.entry-content h3 { font-size: 1.3em; }
.entry-content a { color: var(--cat, var(--accent)); text-decoration: underline; }
:root[data-scheme="dark"] .entry-content a { color: color-mix(in srgb, var(--cat, var(--accent)) 55%, white); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin-inline: 0; padding: .25em 0 .25em 1.25em;
	border-left: 4px solid var(--cat, var(--accent));
	font-style: italic; font-size: 1.08em;
}
.entry-content .wp-block-pullquote { font-family: var(--font-sans); font-weight: 750; }
.entry-content figcaption, .entry-content .wp-caption-text { font-family: var(--font-sans); color: var(--muted); font-size: .82rem; text-align: center; }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: .92em; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: .5em; text-align: left; }
.entry-content::after { content: ""; display: table; clear: both; }

/* Film credits (pattern + auto-detected legacy credits) */
.film-credits, .is-style-film-credits {
	font-family: var(--font-sans); font-size: .95rem; line-height: 1.5;
	background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--cat, var(--accent));
	border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: 1.75em;
}
.film-credits p, .is-style-film-credits p { margin: 0 0 .35em; }
.film-credits p:last-child, .is-style-film-credits p:last-child { margin-bottom: 0; }
.film-credits strong, .is-style-film-credits strong {
	color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .78em; margin-right: .25em;
}

.cd-verdict {
	font-family: var(--font-sans); background: var(--text); color: var(--bg);
	border-radius: var(--radius); padding: 1.25rem 1.5rem;
}
.cd-verdict .cd-verdict-label { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 750; opacity: .75; margin: 0; }
.cd-verdict .cd-verdict-score { font-size: 2.4rem; margin: .1em 0 .2em; color: var(--accent); }

.is-style-film-still img { border-radius: 0; box-shadow: 0 0 0 10px #000, 0 12px 30px rgb(0 0 0 / .35); }

.entry-footer { max-width: var(--measure); margin-top: 2rem; display: grid; gap: 1.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags a { font-size: .8rem; font-weight: 650; padding: .35em .75em; border-radius: 999px; background: var(--surface-2); text-decoration: none; }

.share { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: 1rem 0; border-block: 1px solid var(--line); }
.share-label { font-weight: 750; font-size: .85rem; margin-right: .25rem; }
.share-btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px;
	border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text);
	cursor: pointer; padding: 0; text-decoration: none;
}
.share-btn:hover { background: var(--text); color: var(--bg); }
.share-btn.is-done { background: #1a7f37; color: #fff; border-color: #1a7f37; }
.share-note { font-size: .8rem; color: var(--muted); }

.author-box {
	display: flex; gap: 1rem; align-items: flex-start;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem;
}
.author-box img { border-radius: 50%; flex: none; }
.author-box-name { font-weight: 800; margin: 0 0 .25rem; }
.author-box-name a { text-decoration: none; }
.author-box-bio { color: var(--muted); font-family: var(--font-serif); font-size: .95rem; margin-bottom: .5rem; }
.author-box-more { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; font-weight: 700; color: var(--accent); text-decoration: none; }

.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-navigation a { display: block; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface); height: 100%; }
.post-navigation a:hover { border-color: var(--accent); color: inherit; }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-navigation .nav-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.post-navigation .nav-title { font-weight: 750; }
@media (max-width: 600px) { .post-navigation .nav-links { grid-template-columns: 1fr; } .post-navigation .nav-next { grid-column: 1; } }

.related { margin-top: 2.5rem; }
.related .card-body { padding: .8rem .9rem; }
.related .card-title { font-size: 1rem; }

/* 9. Widgets ------------------------------------------------------------ */
.sidebar { display: grid; gap: 1.5rem; position: sticky; top: 80px; }
.admin-bar .sidebar { top: 112px; }
@media (max-width: 960px) { .sidebar { position: static; } }
.widget {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1.15rem; font-size: .93rem;
}
.widget-title, .widget .wp-block-heading {
	font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
	margin: 0 0 .9rem; padding-bottom: .6rem; border-bottom: 2px solid var(--accent);
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }
.widget a { text-decoration: none; font-weight: 600; }
.widget a:hover { color: var(--accent); }
.widget img { border-radius: var(--radius-sm); }
.widget iframe { width: 100%; border: 0; }
.widget_search, .widget_block:has(.wp-block-search) { padding: 1rem; }
.widget select { width: 100%; }

/* Core latest posts block + classic "Recent posts with thumbnails" style widgets. */
.wp-block-latest-posts.has-dates .wp-block-latest-posts__post-date,
.widget .post-date { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }
.wp-block-latest-posts__featured-image.alignleft { margin: 0 .8rem 0 0; }
.wp-block-latest-posts__featured-image img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); }
.wp-block-latest-posts li { display: flow-root; }

/* Banner widget in the header */
.banner-widget { margin: 0; }
.banner-widget p { margin: 0; }

/* 10. Forms & comments -------------------------------------------------- */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
	width: 100%; font: inherit; font-family: var(--font-sans);
	color: var(--text); background: var(--surface);
	border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .85rem;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 0; }

.search-form { display: flex; gap: .4rem; }
.search-form .search-field { border-radius: 999px; padding-inline: 1.1rem; }
.search-submit {
	flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px;
	border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer;
}
.wp-block-search__inside-wrapper { gap: .4rem; }
.wp-block-search__input { border-radius: 999px !important; }
.wp-block-search__button { border-radius: 999px; background: var(--accent); color: var(--accent-ink); border: 0; font-weight: 700; }

.comments-area { margin-top: 2.5rem; max-width: var(--measure); }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: clamp(1rem, 4vw, 2.5rem); }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: .6rem; font-weight: 750; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .8rem; color: var(--muted); margin: .2rem 0 .5rem; }
.comment-metadata a { text-decoration: none; }
.comment-content { font-family: var(--font-serif); }
.reply a { font-size: .82rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.comment-respond { margin-top: 2rem; }
.comment-form { display: grid; gap: .9rem; }
.comment-form label { display: block; font-weight: 650; font-size: .88rem; margin-bottom: .3rem; }
.comment-form .comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 500; }
.comment-notes, .logged-in-as { color: var(--muted); font-size: .88rem; }

/* 11. Footer ------------------------------------------------------------ */
.site-footer { background: var(--nav-bg); color: #c9ccd2; padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; font-size: .92rem; }
.site-footer a { color: #fff; }
.site-footer .wordmark { color: #fff; font-size: 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.footer-about-text { margin: .75rem 0 1rem; font-family: var(--font-serif); color: #a8adb7; }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.social-fb, .social-ig { display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; text-decoration: none; }
.social-fb:hover, .social-ig:hover { color: var(--accent); }
.site-footer .widget { background: transparent; border: 0; padding: 0; color: inherit; }
.site-footer .widget li { border-color: rgb(255 255 255 / .08); }
.site-footer .widget-title { color: #fff; }
.footer-bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
	margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .1);
	font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-menu, .social-nav ul { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.footer-menu a, .social-nav a { text-decoration: none; }
.back-to-top { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; font-weight: 700; }

/* 12. Plot Twist Podcast plugin (widget + /podcast/ page) --------------- */
.ptp-podcast .ptp-meta, .ptp-page .ptp-meta { color: var(--muted) !important; }
.ptp-podcast .ptp-cover img { border-radius: var(--radius-sm); }
.ptp-podcast .ptp-title a, .ptp-page .ptp-title a { text-decoration: none; }
.ptp-podcast .ptp-label, .ptp-page .ptp-label { border-radius: 3px; letter-spacing: .06em; }
.ptp-podcast .ptp-links a, .ptp-page .ptp-links a { border-radius: 999px !important; font-weight: 700; }
.ptp-podcast .ptp-links a:hover, .ptp-page .ptp-links a:hover { color: #fff; filter: brightness(1.1); }
.ptp-podcast .ptp-more a { color: var(--accent); text-decoration: none; }
.ptp-page { font-family: var(--font-sans); font-size: 1rem; }
.ptp-page .ptp-hero { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.ptp-page .ptp-hero-img { border-radius: var(--radius-sm); }
.ptp-page .ptp-hero-text h2 { margin-top: 0; }
.ptp-page .ptp-episode { border-top-color: var(--line) !important; }
.ptp-page .ptp-ep-img { border-radius: var(--radius-sm); }
.ptp-page .ptp-summary { font-family: var(--font-serif); }
.ptp-page .ptp-heading { margin-top: 2rem; }
.ptp-page .ptp-heading::before { content: none; }
.ptp-page .ptp-episode:has(.ptp-label) { padding-top: 2.4rem; }
:root[data-scheme="dark"] .ptp-audio, :root[data-scheme="dark"] .podcast-band-audio { color-scheme: dark; }

/* 13. Utilities & WP core classes --------------------------------------- */
.sticky .card-title::before { content: "★ "; color: var(--accent); }
.bypostauthor > .comment-body .comment-author b::after { content: " ✎"; color: var(--accent); }
.alignwide { max-width: 1100px; }
.alignfull { width: 100%; }
.wp-block-image figcaption { margin-top: .5em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.gallery-item { margin: 0; }
.page-links { font-family: var(--font-sans); font-weight: 700; display: flex; gap: .5rem; }

@media print {
	.site-header, .site-footer, .sidebar, .share, .related, .comments-area, .podcast-band, .post-navigation { display: none !important; }
	body { background: #fff; color: #000; }
}
