/*
Theme Name: Frame by Frame
Description: A film and TV review magazine with letterboxed stills, star ratings, festival coverage and watchlists.
Version: 1.0.0
Author: Pursae
*/

/* ── Fonts (SIL Open Font License, self-hosted) ── */
@font-face { font-family: "Big Shoulders Display"; src: url("fonts/big-shoulders.woff2") format("woff2"); font-weight: 500 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ── Tokens ── */
:root {
	--fx-gold: #c8932b;
	--fx-velvet: #7a1d2b;
	--fx-paper: #f3ede2;
	--fx-ink: #161311;
	--fx-bg: var(--fx-paper);
	--fx-fg: var(--fx-ink);
	--fx-muted: color-mix(in srgb, var(--fx-fg) 60%, var(--fx-bg));
	--fx-rule: color-mix(in srgb, var(--fx-fg) 18%, var(--fx-bg));
	--fx-raised: color-mix(in srgb, var(--fx-fg) 5%, var(--fx-bg));
	--fx-bar: #0c0b0a;
	--fx-display: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
	--fx-display-case: uppercase;
	--fx-display-weight: 800;
	--fx-display-track: 0.01em;
	--fx-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--fx-max: 1280px;
	--fx-narrow: 720px;
	--fx-pad: clamp(16px, 4vw, 48px);
}
body.fx-dark { --fx-bg: #12100f; --fx-fg: var(--fx-paper); --fx-bar: #000; }
body.fx-fonts-classic { --fx-display: "Newsreader", Georgia, serif; --fx-display-case: none; --fx-display-weight: 600; --fx-display-track: -0.01em; }
body.fx-fonts-system { --fx-display: "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; --fx-serif: Charter, "Iowan Old Style", Georgia, serif; --fx-display-weight: 700; }

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--fx-bg); }
body { margin: 0; font-family: var(--fx-serif); font-size: 19px; line-height: 1.65; color: var(--fx-fg); background: var(--fx-bg); overflow-x: hidden; font-optical-sizing: auto; }
body.fx-grain::before { content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
h1, h2, h3, h4, h5, h6 { margin: 1.5em 0 0.45em; font-family: var(--fx-display); font-weight: var(--fx-display-weight); text-transform: var(--fx-display-case); letter-spacing: var(--fx-display-track); line-height: 0.98; overflow-wrap: break-word; }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; line-height: 1.05; }
h4, h5, h6 { font-family: var(--fx-serif); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
p, ul, ol, blockquote, pre, figure, table, dl { margin: 0 0 1.2em; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--fx-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--fx-velvet); }
body.fx-dark a:hover { color: var(--fx-gold); }
:focus-visible { outline: 3px solid var(--fx-gold); outline-offset: 2px; }
img, video, iframe { max-width: 100%; height: auto; }
figcaption, .wp-element-caption { margin-top: 10px; font-size: 0.82rem; font-style: italic; color: var(--fx-muted); text-align: left; }
blockquote, .wp-block-quote { margin-inline: 0; padding: 0 0 0 1.2em; border-left: 3px solid var(--fx-gold); font-style: italic; font-size: 1.22rem; line-height: 1.5; }
blockquote cite { display: block; margin-top: 6px; font-style: normal; font-family: var(--fx-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fx-velvet); }
body.fx-dark blockquote cite { color: var(--fx-gold); }
hr, .wp-block-separator { height: 14px; margin: 3em 0; border: 0; background: radial-gradient(circle, var(--fx-fg) 0 2px, transparent 2.5px) 0 50% / 14px 14px repeat-x; opacity: 0.4; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 0.7em 0.6em 0.7em 0; border-bottom: 1px solid var(--fx-rule); text-align: left; vertical-align: top; }
th { font-family: var(--fx-display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; }
button, input, select, textarea { font: inherit; color: inherit; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select { width: 100%; padding: 0.7em 0.9em; border: 1px solid var(--fx-rule); border-radius: 0; background: var(--fx-raised); color: var(--fx-fg); }
input:focus, textarea:focus { outline: 2px solid var(--fx-gold); outline-offset: 0; }
.fx-btn, button, input[type="submit"], .search-submit, .wp-block-button__link, .wp-element-button { display: inline-block; padding: 0.75em 1.5em; border: 2px solid var(--fx-fg); border-radius: 0; background: var(--fx-fg); color: var(--fx-bg); font-family: var(--fx-display); font-size: 1rem; font-weight: 700; letter-spacing: 0.14em; line-height: 1.1; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.fx-btn:hover, button:hover, input[type="submit"]:hover, .wp-block-button__link:hover { background: var(--fx-gold); border-color: var(--fx-gold); color: #120f0c; }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--fx-fg); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); border: 0; word-wrap: normal !important; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; margin: 0; padding: 0.75em 1em; clip: auto; clip-path: none; background: var(--fx-gold); color: #000; }
::selection { background: var(--fx-gold); color: #000; }

/* ── Layout ── */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; padding-bottom: 72px; }
.fx-wrap { width: 100%; max-width: calc(var(--fx-max) + 2 * var(--fx-pad)); margin-inline: auto; padding-inline: var(--fx-pad); }
.fx-narrow { max-width: calc(var(--fx-narrow) + 2 * var(--fx-pad)); }
.fx-eyebrow { margin: 0 0 10px; font-family: var(--fx-display); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fx-velvet); }
body.fx-dark .fx-eyebrow { color: var(--fx-gold); }
.fx-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
body.fx-sidebar-none .fx-layout { grid-template-columns: minmax(0, 1fr); }
body.fx-sidebar-none .fx-layout > .widget-area { display: none; }
.fx-layout:not(:has(> .widget-area)) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) { .fx-layout { grid-template-columns: minmax(0, 1fr); } }

/* ── Header ── */
.site-header { position: relative; z-index: 40; background: var(--fx-bg); }
.fx-topbar { background: var(--fx-bar); color: #e9e2d4; font-family: var(--fx-display); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; }
.fx-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.fx-topbar__issue::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: #e0412f; box-shadow: 0 0 8px #e0412f; vertical-align: 0.05em; }
.fx-topbar__search input { width: 240px; padding: 4px 10px; border: 1px solid #3a342e; background: transparent; color: #e9e2d4; font-family: var(--fx-serif); font-size: 0.85rem; letter-spacing: 0; text-transform: none; }
.fx-topbar__search input::placeholder { color: #9a9083; }
.site-header__inner { padding-block: clamp(22px, 4vw, 44px) clamp(16px, 3vw, 28px); text-align: center; }
.site-title { margin: 0; font-family: var(--fx-display); font-size: clamp(3rem, 9vw, 6.4rem); font-weight: 900; letter-spacing: 0.04em; line-height: 0.9; text-transform: uppercase; }
body.fx-fonts-classic .site-title { font-weight: 700; font-style: italic; text-transform: none; letter-spacing: -0.02em; }
.site-title a { color: var(--fx-fg); text-decoration: none; }
.site-description { margin: 12px 0 0; font-style: italic; font-size: 1.05rem; color: var(--fx-muted); }
.site-logo img { display: block; max-height: 90px; width: auto; margin: 0 auto 10px; }
.fx-navbar { position: relative; background: var(--fx-bar); color: #f1ebdf; }
.fx-navbar::before, .fx-navbar::after { content: ""; display: block; height: 12px; background: repeating-linear-gradient(90deg, transparent 0 9px, #e9e2d4 9px 19px, transparent 19px 28px) 0 50% / 28px 6px repeat-x; opacity: 0.75; }
body.fx-sticky .site-header { display: contents; }
body.fx-sticky .fx-navbar { position: sticky; top: 0; z-index: 50; }
body.admin-bar.fx-sticky .fx-navbar { top: 32px; }
.main-navigation { display: flex; justify-content: center; }
.main-navigation ul { margin: 0; padding: 0; list-style: none; }
.main-navigation > div > ul, .main-navigation > ul { display: flex; flex-wrap: wrap; justify-content: center; }
.main-navigation li { position: relative; }
.main-navigation a { display: block; padding: 12px 18px; color: #f1ebdf; font-family: var(--fx-display); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a { color: var(--fx-gold); }
.main-navigation .menu-item-has-children > a::after { content: "\25BE"; margin-left: 6px; font-size: 0.8em; }
.main-navigation .sub-menu { position: absolute; top: 100%; left: 0; z-index: 60; min-width: 230px; padding: 8px 0; background: var(--fx-bar); border-top: 3px solid var(--fx-gold); visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s; }
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.main-navigation .sub-menu a { padding: 8px 18px; font-size: 0.95rem; letter-spacing: 0.1em; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
	.fx-topbar__search { display: none; }
	.main-navigation { display: block; padding-block: 8px; }
	.menu-toggle { display: inline-flex; align-items: center; gap: 10px; margin: 0 auto; background: transparent; border-color: #f1ebdf; color: #f1ebdf; }
	.main-navigation { text-align: center; }
	.fx-burger, .fx-burger::before, .fx-burger::after { display: block; width: 18px; height: 2px; background: currentColor; }
	.fx-burger { position: relative; } .fx-burger::before, .fx-burger::after { content: ""; position: absolute; left: 0; }
	.fx-burger::before { top: -6px; } .fx-burger::after { top: 6px; }
	.main-navigation > div, .main-navigation > ul { display: none; }
	.main-navigation.toggled > div, .main-navigation.toggled > ul { display: block; margin-top: 8px; text-align: left; }
	.main-navigation.toggled ul { display: block; }
	.main-navigation .sub-menu { position: static; visibility: visible; opacity: 1; border: 0; padding: 0 0 0 18px; }
}

/* ── Stubs & labels ── */
.fx-card__label { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.fx-stub { position: relative; display: inline-block; padding: 3px 14px; background: var(--fx-velvet); color: #fbf3e4; font-family: var(--fx-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; line-height: 1.5; text-transform: uppercase; text-decoration: none;
	-webkit-mask: radial-gradient(circle 5px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle 5px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 5px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
a.fx-stub:hover { background: var(--fx-gold); color: #120f0c; }

/* ── Cards ── */
.fx-reel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
.fx-card { display: flex; flex-direction: column; }
.fx-card__frame { display: block; position: relative; overflow: hidden; background: var(--fx-bar); }
.fx-card__frame img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease, filter .3s; }
body.fx-letterbox .fx-card__frame { padding-block: 5.5%; }
body.fx-letterbox .fx-card__frame img { aspect-ratio: 2.39 / 1; }
.fx-card__frame:hover img { transform: scale(1.03); filter: brightness(1.08); }
.fx-card__body { padding-top: 18px; }
.fx-card__title { margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.fx-card__title a { text-decoration: none; }
.fx-card__title a:hover { color: var(--fx-velvet); }
body.fx-dark .fx-card__title a:hover { color: var(--fx-gold); }
.fx-card__dek { font-style: italic; color: var(--fx-muted); font-size: 1.05rem; }
.fx-card__dek p { margin: 0 0 0.8em; }
.fx-card__meta { margin: 0; font-family: var(--fx-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fx-muted); }
body:not(.fx-show-author) .byline { display: none; }
body:not(.fx-show-thumbs) .fx-card__frame { display: none; }
body.fx-grid-poster .fx-reel { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px 28px; }
body.fx-grid-poster .fx-card__frame { padding-block: 0; }
body.fx-grid-poster .fx-card__frame img { aspect-ratio: 2 / 3; }
body.fx-grid-poster .fx-card__title { font-size: 1.6rem; }
body.fx-grid-poster .fx-card__dek { font-size: 0.95rem; }
body.fx-grid-list .fx-reel { grid-template-columns: minmax(0, 1fr); gap: 0; }
body.fx-grid-list .fx-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; padding-block: 32px; border-top: 1px solid var(--fx-rule); }
body.fx-grid-list .fx-card__body { padding-top: 0; }
@media (max-width: 720px) {
	.fx-reel { grid-template-columns: minmax(0, 1fr); }
	body.fx-grid-list .fx-card { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Page headers ── */
.page-header { padding-block: 48px 36px; margin-bottom: 40px; border-bottom: 1px solid var(--fx-rule); }
.page-header .page-title { margin: 0; }
.archive-description { max-width: 620px; margin-top: 12px; font-style: italic; color: var(--fx-muted); }
.page-header .search-form { max-width: 520px; margin-top: 20px; }

/* ── Single ── */
.fx-still { margin: 0; background: var(--fx-bar); padding-block: clamp(18px, 4vw, 56px); }
.fx-still img { display: block; width: 100%; max-width: 1600px; margin: 0 auto; aspect-ratio: 2.39 / 1; object-fit: cover; }
body:not(.fx-letterbox) .fx-still { padding-block: 0; }
body:not(.fx-letterbox) .fx-still img { aspect-ratio: 16 / 7; }
body:not(.fx-show-thumbs) .entry--single .fx-still { display: none; }
.entry-header { padding-block: 44px 8px; text-align: center; }
.entry-header .fx-card__label { justify-content: center; }
.entry-title { margin: 0; font-size: clamp(2.6rem, 6.5vw, 5rem); }
.fx-dek { max-width: 36em; margin: 18px auto 0; font-size: 1.3rem; font-style: italic; line-height: 1.45; color: var(--fx-muted); }
.entry-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 22px 0 0; padding-block: 12px; border-block: 1px solid var(--fx-rule); font-family: var(--fx-display); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fx-muted); }
.entry-meta a { text-decoration: none; }
.entry-content { padding-top: 28px; }
.entry--single .entry-content > .fx-rating + p::first-letter, .entry--single .entry-content > p:first-child:not(.fx-rating)::first-letter { float: left; margin: 0.08em 0.1em 0 0; font-family: var(--fx-display); font-size: 4.6em; font-weight: 900; line-height: 0.8; color: var(--fx-velvet); }
body.fx-dark .entry--single .entry-content > .fx-rating + p::first-letter, body.fx-dark .entry--single .entry-content > p:first-child:not(.fx-rating)::first-letter { color: var(--fx-gold); }
.entry-content .alignwide { margin-inline: calc(-1 * min(160px, (100vw - var(--fx-narrow)) / 2 - var(--fx-pad))); max-width: none; }
.entry-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.entry-content .wp-block-image.alignwide img, .entry-content .wp-block-image.alignfull img { width: 100%; }
body.fx-letterbox .entry-content .wp-block-image.alignwide, body.fx-letterbox .entry-content .wp-block-image.alignfull { padding-block: 4%; background: var(--fx-bar); }
body.fx-letterbox .entry-content .wp-block-image.alignwide img, body.fx-letterbox .entry-content .wp-block-image.alignfull img { aspect-ratio: 2.39 / 1; object-fit: cover; }
body.fx-letterbox .entry-content .wp-block-image.alignwide figcaption { padding-inline: 16px; color: #b9ae9c; }
.entry-footer { display: grid; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--fx-rule); }
.tags-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; }
.tags-links .fx-eyebrow { margin: 0 4px 0 0; }
.tags-links a { font-style: italic; }
.author-info { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--fx-rule); }
.author-info .avatar { width: 64px; height: 64px; border-radius: 50%; filter: grayscale(1); }
.author-title { margin: 0 0 4px; font-size: 1.3rem; }

/* ── Ratings, verdicts and credits used by the demo ── */
.fx-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 0 0 1.6em; padding: 14px 18px; background: var(--fx-raised); border-left: 4px solid var(--fx-gold); font-family: var(--fx-display); font-size: 1rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.fx-stars { color: var(--fx-gold); font-family: var(--fx-serif); font-size: 1.5rem; letter-spacing: 0.1em; text-transform: none; }
.fx-credits-block { margin: 2em 0; padding: 22px 24px; background: var(--fx-bar); color: #e9e2d4; text-align: center; }
.fx-credits-block h4 { margin: 0 0 12px; color: var(--fx-gold); }
.fx-credits-block p { margin: 0 0 4px; font-family: var(--fx-display); font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; }
.fx-credits-block strong { color: #fff; }
.fx-verdict { margin: 2.4em 0; padding: 26px 28px; border: 2px solid var(--fx-fg); }
.fx-verdict > :last-child { margin-bottom: 0; }
.fx-verdict h3 { margin-top: 0; }
.fx-watchlist { counter-reset: fx-w; padding: 0; list-style: none; }
.fx-watchlist > li { position: relative; padding: 14px 0 14px 70px; border-bottom: 1px solid var(--fx-rule); counter-increment: fx-w; }
.fx-watchlist > li::before { content: counter(fx-w, decimal-leading-zero); position: absolute; left: 0; top: 6px; font-family: var(--fx-display); font-size: 2.4rem; font-weight: 900; line-height: 1; color: var(--fx-gold); }

/* ── Front page ── */
.fx-hero { position: relative; display: flex; align-items: flex-end; min-height: min(78vh, 760px); overflow: hidden; background: var(--fx-bar); color: #f6efe2; }
.fx-hero::before, .fx-hero::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: clamp(26px, 6vw, 72px); background: var(--fx-bar); }
.fx-hero::before { top: 0; } .fx-hero::after { bottom: 0; }
body:not(.fx-letterbox) .fx-hero::before, body:not(.fx-letterbox) .fx-hero::after { display: none; }
.fx-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: fx-kenburns 24s ease-in-out infinite alternate; }
.fx-hero__img + .fx-hero__inner::before { content: ""; position: absolute; inset: -40vh -50vw 0; z-index: -1; background: linear-gradient(to top, rgba(8, 7, 6, 0.86), rgba(8, 7, 6, 0.1) 70%); }
@keyframes fx-kenburns { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
.fx-hero__inner { position: relative; z-index: 3; padding-block: 90px clamp(60px, 9vw, 120px); }
.fx-hero__kicker { color: var(--fx-gold) !important; }
.fx-hero__title { max-width: 14ch; margin: 0 0 16px; font-size: clamp(3.4rem, 10vw, 8.5rem); line-height: 0.88; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4); }
.fx-hero__dek { max-width: 34em; margin-bottom: 26px; font-size: 1.3rem; font-style: italic; line-height: 1.45; color: #e2d8c6; }
.fx-hero .fx-btn { background: var(--fx-gold); border-color: var(--fx-gold); color: #120f0c; }
.fx-hero .fx-btn:hover { background: #f6efe2; border-color: #f6efe2; }
.fx-hero--plain { min-height: 0; }
.fx-front-content { padding-top: 24px; }
.fx-front-content > * { width: min(var(--fx-max), 100% - 2 * var(--fx-pad)); margin-inline: auto; }
.fx-front-content > .alignfull { width: 100%; }
.fx-section { margin-block: 72px; }
.fx-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 28px; padding-bottom: 12px; border-bottom: 3px double var(--fx-fg); }
.fx-section-head > * { margin: 0 !important; }
.fx-section-head p a { font-family: var(--fx-display); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.fx-review-cols { gap: 36px; }
.fx-review-cols .wp-block-image { margin-bottom: 14px; background: var(--fx-bar); }
body.fx-letterbox .fx-review-cols .wp-block-image { padding-block: 6%; }
.fx-review-cols .wp-block-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
body.fx-letterbox .fx-review-cols .wp-block-image img { aspect-ratio: 2.39 / 1; }
.fx-review-cols h3 { margin: 6px 0 6px; font-size: 1.9rem; }
.fx-review-cols h3 a { text-decoration: none; }
.fx-review-cols .fx-stars { display: block; margin: 0; font-size: 1.3rem; }
.fx-review-cols p { font-size: 1rem; }
.fx-festival { padding: clamp(28px, 5vw, 56px); background: var(--fx-bar); color: #efe7d8; }
.fx-festival > * { max-width: var(--fx-max); margin-inline: auto; }
.fx-festival .wp-block-heading { color: #fff; margin-top: 0; }
.fx-festival .fx-eyebrow { color: var(--fx-gold); }
.fx-festival .wp-block-latest-posts a { color: #fff; }
.fx-festival .wp-block-latest-posts__post-date, .fx-festival .wp-block-latest-posts__post-excerpt { color: #b9ae9c; }
.fx-festival .wp-block-latest-posts li { border-color: #3a342e; }
.fx-quote-band { padding-block: 48px; text-align: center; border-block: 1px solid var(--fx-rule); }
.fx-quote-band blockquote { max-width: 30em; margin: 0 auto; padding: 0; border: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.fx-newsletter { padding: clamp(28px, 5vw, 56px); text-align: center; border: 2px solid var(--fx-fg); outline: 1px solid var(--fx-fg); outline-offset: 6px; }
.fx-newsletter .wp-block-heading { margin-top: 0; }
.fx-newsletter .wp-block-buttons { justify-content: center; }
.wp-block-latest-posts { margin: 0; padding: 0; list-style: none; }
.wp-block-latest-posts li { padding: 14px 0; border-bottom: 1px solid var(--fx-rule); }
.wp-block-latest-posts.is-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.wp-block-latest-posts.is-grid li { width: auto !important; margin: 0 !important; }
.wp-block-latest-posts__post-title { display: block; font-family: var(--fx-display); font-size: 1.4rem; font-weight: 700; line-height: 1.05; text-transform: var(--fx-display-case); text-decoration: none; }
.wp-block-latest-posts__post-date { display: block; margin-top: 6px; font-size: 0.85rem; font-style: italic; color: var(--fx-muted); }
.wp-block-latest-posts__post-excerpt { margin-top: 6px; font-size: 0.95rem; color: var(--fx-muted); }
@media (max-width: 860px) { .wp-block-latest-posts.is-grid { grid-template-columns: 1fr; } }
.fx-wide-header { padding-bottom: 20px; border-bottom: 3px double var(--fx-fg); }
.fx-wide-content { padding-top: 32px; }

/* ── Blocks ── */
.wp-block-pullquote { margin: 2em 0; padding: 28px 0; border-block: 3px double var(--fx-fg); text-align: center; }
.wp-block-pullquote blockquote { padding: 0; border: 0; }
.wp-block-pullquote p { font-family: var(--fx-display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-style: normal; font-weight: 800; line-height: 1.05; text-transform: var(--fx-display-case); }
.wp-block-columns { gap: 32px; }
.wp-block-gallery.has-nested-images { gap: 8px; padding: 8px; background: var(--fx-bar); }
.wp-block-table { overflow-x: auto; }

/* ── Pagination & nav ── */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border: 1px solid var(--fx-rule); font-family: var(--fx-display); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.page-numbers.current { background: var(--fx-fg); color: var(--fx-bg); }
a.page-numbers:hover { border-color: var(--fx-gold); color: inherit; }
.post-navigation { margin: 48px 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-block: 1px solid var(--fx-rule); }
.post-navigation a { display: block; padding: 20px 0; text-decoration: none; }
.post-navigation .nav-next { text-align: right; }
.post-navigation .meta-nav { display: block; font-family: var(--fx-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fx-velvet); }
body.fx-dark .post-navigation .meta-nav { color: var(--fx-gold); }
.post-navigation .post-title { font-family: var(--fx-display); font-size: 1.4rem; font-weight: 700; line-height: 1.05; text-transform: var(--fx-display-case); }
@media (max-width: 600px) { .post-navigation .nav-links { grid-template-columns: 1fr; } .post-navigation .nav-next { text-align: left; } }

/* ── Comments ── */
.comments-area { margin-top: 48px; }
.comments-title, .comment-reply-title { font-size: 2rem; }
.comment-list, .comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { margin-left: clamp(16px, 4vw, 48px); }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--fx-rule); }
.comment-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--fx-display); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.comment-author .avatar { width: 40px; height: 40px; border-radius: 50%; filter: grayscale(1); }
.comment-author .says { display: none; }
.comment-metadata a { font-size: 0.85rem; font-style: italic; color: var(--fx-muted); text-decoration: none; }
.reply a { font-family: var(--fx-display); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; }
.comment-respond { margin-top: 36px; padding: 28px; background: var(--fx-raised); }
.comment-form label { display: block; margin-bottom: 4px; font-family: var(--fx-display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.9rem; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { font-family: var(--fx-serif); text-transform: none; letter-spacing: 0; font-weight: 400; }
.comment-notes, .logged-in-as { font-size: 0.9rem; font-style: italic; color: var(--fx-muted); }

/* ── Widgets ── */
.widget-area { display: grid; gap: 36px; }
.widget > :last-child { margin-bottom: 0; }
.widget-title, .widget .wp-block-heading { margin: 0 0 14px; padding-bottom: 8px; border-bottom: 3px double var(--fx-fg); font-size: 1.5rem; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--fx-rule); }
.widget a { text-decoration: none; }
.widget a:hover { text-decoration: underline; text-decoration-color: var(--fx-gold); }
.widget .wp-block-latest-posts__post-title { font-size: 1.15rem; }
.wp-block-tag-cloud a { display: inline-block; margin: 0 6px 6px 0; font-size: 0.95rem !important; font-style: italic; }
.search-form { display: flex; gap: 8px; }
.search-form__label { flex: 1; }
.wp-block-search__inside-wrapper { display: flex; gap: 8px; }

/* ── 404 & empty ── */
.fx-404 { padding-block: 80px; text-align: center; }
.fx-404__leader { display: inline-flex; gap: 12px; margin-bottom: 18px; }
.fx-404__leader span { display: grid; place-items: center; width: clamp(80px, 16vw, 140px); aspect-ratio: 1; border: 4px solid var(--fx-fg); border-radius: 50%; font-family: var(--fx-display); font-size: clamp(3rem, 8vw, 5.4rem); font-weight: 900; background: radial-gradient(circle, transparent 54%, var(--fx-rule) 55% 56%, transparent 57%), conic-gradient(from 0deg, transparent 0 88deg, var(--fx-rule) 88deg 92deg, transparent 92deg 178deg, var(--fx-rule) 178deg 182deg, transparent 182deg 268deg, var(--fx-rule) 268deg 272deg, transparent 272deg 358deg, var(--fx-rule) 358deg); }
.fx-404 .page-title { margin: 12px 0; font-size: clamp(2.4rem, 6vw, 4rem); }
.fx-404 .search-form { max-width: 480px; margin: 28px auto 0; }
.no-results { padding: 28px 0; border-top: 1px solid var(--fx-rule); }
.no-results .page-title { margin-top: 0; }

/* ── Footer ── */
.site-footer { margin-top: 32px; background: var(--fx-bar); color: #d8cfbf; text-align: center; }
.fx-credits { padding-block: 64px 40px; }
.fx-credits__the-end { margin: 0 0 32px; font-family: var(--fx-serif); font-size: clamp(2.6rem, 6vw, 4rem); font-style: italic; color: #f6efe2; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-bottom: 40px; text-align: center; }
.footer-widgets .widget-title, .footer-widgets .wp-block-heading { border-color: #3a342e; color: #f6efe2; font-size: 1.15rem; letter-spacing: 0.2em; }
.footer-widgets li { border-color: #2a2521; }
.footer-widgets a { color: #f6efe2; }
.footer-navigation ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin: 0 0 28px; padding: 0; list-style: none; }
.footer-navigation a { color: #f6efe2; font-family: var(--fx-display); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; }
.footer-navigation a:hover { color: var(--fx-gold); }
.site-info p { margin: 0 0 6px; font-size: 0.9rem; }
.fx-credits__name { font-family: var(--fx-display); font-size: 1.1rem !important; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fx-gold); }
.site-info a { color: #f6efe2; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 480px) {
	body { font-size: 17px; }
	.fx-topbar { font-size: 0.72rem; }
	.entry-header { padding-top: 32px; }
}

/* ── Long words, e-mail addresses and links never widen the page ── */
p, li, dd, td, th, figcaption, blockquote, .widget { overflow-wrap: break-word; }
/* ── Galleries (a grid that does not depend on core layout classes) ── */
.wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.wp-block-gallery.has-nested-images.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wp-block-gallery.has-nested-images.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wp-block-gallery.has-nested-images figure.wp-block-image { position: relative; width: auto !important; max-width: none; margin: 0 !important; }
.wp-block-gallery.has-nested-images figure.wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px 10px 8px; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); color: #fff; font-size: 0.8rem; text-align: center; }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::before { content: none; }
@media (max-width: 600px) { .wp-block-gallery.has-nested-images, .wp-block-gallery.has-nested-images.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
