/* =========================================================
 * GeekPress Movie Theme — main.css
 * ========================================================= */

:root {
  --bg: #0e0c09;
  --surface: #181410;
  --elev: #221c16;
  --gold: #d4a24a;
  --gold-soft: #b9893a;
  --cream: #f0e6d2;
  --muted: #8a8175;
  --border: rgba(212, 162, 74, 0.14);
  --border-soft: rgba(240, 230, 210, 0.08);
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

[data-theme="light"] {
  --bg: #f5efe2;
  --surface: #ffffff;
  --elev: #faf4e7;
  --gold: #9a6f1f;
  --gold-soft: #b9893a;
  --cream: #1a1611;
  --muted: #6e655a;
  --border: rgba(154, 111, 31, 0.22);
  --border-soft: rgba(26, 22, 17, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--cream); }
button { font-family: inherit; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* ---------- Top bar ---------- */
.topbar {
  border-bottom: 1px solid var(--border-soft);
  background: rgba(14, 12, 9, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 60;
}
[data-theme="light"] .topbar { background: rgba(245, 239, 226, 0.92); }
/* WP admin bar offset — without this the sticky topbar slides under
   the 32px admin bar on scroll (visible only as the bottom half). */
.admin-bar .topbar { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .topbar { top: 46px; }
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; gap: 40px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-decoration: none;
}
.brand-mark {
  width: 30px; height: 30px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}
.brand em { color: var(--gold); font-weight: 500; font-style: normal; }
.nav { display: flex; gap: 28px; flex: 1; flex-wrap: wrap; }
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.15s, color 0.15s;
}
.nav a:hover, .nav a.active, .nav .current-menu-item > a {
  opacity: 1; color: var(--gold);
}
.topbar-right { display: flex; align-items: center; gap: 14px; position: relative; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 8px 14px;
  width: 240px;
  position: relative;
}
.search-box input {
  background: none; border: none; outline: none;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 13px;
  width: 100%;
}
.search-box svg { color: var(--muted); flex-shrink: 0; }
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--cream);
  cursor: pointer;
  display: grid; place-items: center;
  transition: border-color 0.15s, color 0.15s;
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); }

/* Live search dropdown */
.live-search-results {
  position: absolute; top: 100%; left: 0; right: 0;
  margin-top: 8px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
  z-index: 100;
}
.live-search-results .ls-item {
  display: flex; gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--cream);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.12s;
}
.live-search-results .ls-item:last-child { border-bottom: none; }
.live-search-results .ls-item:hover { background: var(--elev); }
.ls-item .ls-thumb {
  width: 38px; height: 56px;
  background-size: cover; background-position: center;
  border-radius: 2px; background-color: var(--elev);
  flex-shrink: 0;
}
.ls-item .ls-title { font-weight: 600; font-size: 14px; }
.ls-item .ls-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.ls-empty { padding: 14px; color: var(--muted); font-size: 12px; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,12,9,0.55) 0%, rgba(14,12,9,0.85) 60%, var(--bg) 100%),
    linear-gradient(110deg, #2a1f10 0%, #1a140e 40%, #0e0c09 100%);
  background-size: cover; background-position: center top;
}
[data-theme="light"] .hero-bg {
  background:
    linear-gradient(180deg, rgba(245,239,226,0.6) 0%, rgba(245,239,226,0.9) 60%, var(--bg) 100%),
    linear-gradient(110deg, #d8c194 0%, #c9b07e 40%, #f5efe2 100%);
}
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(212,162,74,0.18), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(140,90,40,0.18), transparent 55%);
  mix-blend-mode: screen;
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.08; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}
.hero-inner {
  position: relative;
  max-width: 1280px; margin: 0 auto;
  padding: 56px 32px 44px;
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  gap: 40px;
}

.poster {
  width: 240px; height: 356px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,162,74,0.18);
  background: var(--surface);
}
.poster img.gp-poster-img,
.poster .wp-post-image {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.poster-art, .poster-placeholder {
  width: 100%; height: 100%;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%),
    linear-gradient(160deg, #4a3520 0%, #2d2014 50%, #1a120a 100%);
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px;
  color: #f0e6d2;
}
.poster-art::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 30%, rgba(212,162,74,0.35), transparent 50%);
  pointer-events: none;
}
.poster-art .ptop {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.18em;
  opacity: 0.7;
  position: relative;
}
.poster-art .ptitle {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.poster-art .ptitle em { font-style: italic; color: #d4a24a; font-weight: 500; text-transform: none; display: block; font-size: 16px; margin-top: 6px; }
.poster-art .pbottom {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  opacity: 0.6;
  position: relative;
  display: flex; justify-content: space-between;
  border-top: 1px solid rgba(240,230,210,0.2);
  padding-top: 8px;
}
.imdb-btn {
  margin-top: 14px;
  display: block;
  text-align: center;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s;
}
.imdb-btn:hover { background: var(--elev); color: var(--gold); }

.hero-main { padding-top: 8px; }
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 56px;
  line-height: 0.98;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: var(--cream);
  text-wrap: balance;
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--gold); display: block; font-size: 0.72em; margin-top: 6px; }
.hero-year {
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.7em;
  font-weight: 400;
  margin-left: 14px;
}
.hero-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 18px 0 22px;
  font-size: 13px;
}
.rating-pill {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 3px 9px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.hero-meta .dot { color: var(--muted); }
.hero-meta .runtime { color: var(--cream); opacity: 0.85; font-variant-numeric: tabular-nums; }
.genre-list { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.genre-list a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.genre-list a:hover { border-color: var(--gold); }
.hero-syn {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--cream);
  opacity: 0.92;
  max-width: 600px;
  margin: 0 0 22px;
  font-weight: 400;
}
.hero-credits {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px 18px;
  font-size: 12.5px;
  max-width: 580px;
  margin: 0;
}
.hero-credits dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 11px;
}
.hero-credits dd { margin: 0; color: var(--cream); }

/* ---------- Score card ---------- */
.score-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 20px;
  align-self: start;
}
.add-list {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--cream);
  padding: 10px;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.add-list:hover { color: var(--gold); border-color: var(--gold); }
.score-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}
.score-cell .label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.dial {
  display: flex; align-items: baseline; gap: 2px;
  font-family: var(--serif);
}
.dial .num {
  font-size: 38px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1;
}
.dial .denom { font-size: 14px; color: var(--muted); }
.score-cell .sub { font-size: 11px; color: var(--muted); margin-top: 4px; }
.score-cell .more { font-size: 11px; color: var(--gold); margin-top: 2px; text-decoration: none; }
.score-cell .more:hover { text-decoration: underline; }

.rate-row { margin-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-soft); }
.rate-row .label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.stars { display: flex; gap: 2px; user-select: none; }
.stars .star {
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s;
  font-size: 16px;
}
.stars .star.filled { color: var(--gold); }
.stars:hover .star { color: var(--gold); }
.stars .star:hover ~ .star { color: var(--muted); }
.rate-feedback {
  margin-top: 8px;
  font-size: 11px;
  color: var(--gold);
  font-style: italic;
}

.review-btn {
  width: 100%;
  margin-top: 16px;
  background: var(--gold);
  color: #1a1208;
  border: none;
  padding: 12px;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.15s;
}
.review-btn:hover { background: #e6b25a; }

.pin-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-top: 12px;
}
.pin {
  background: var(--elev);
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s;
  color: var(--cream);
  font-family: var(--sans);
}
.pin:hover, .pin.active { border-color: var(--gold); }
.pin svg { color: var(--gold); margin-bottom: 6px; display: inline-block; }
.pin .pname { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--cream); }
.pin .pcount { font-size: 9px; color: var(--muted); margin-top: 2px; letter-spacing: 0.08em; }

/* ---------- Tabs ---------- */
.tabs-wrap {
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg);
}
.tabs {
  max-width: 1280px; margin: 0 auto;
  padding: 0 32px;
  display: flex; gap: 36px; flex-wrap: wrap;
}
.tab {
  background: none; border: none;
  color: var(--cream);
  opacity: 0.55;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: opacity 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
.tab:hover { opacity: 0.9; }
.tab.active { opacity: 1; color: var(--gold); }
.tab.active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--gold);
}

/* ---------- Content layout ---------- */
.content {
  max-width: 1280px; margin: 0 auto;
  padding: 48px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}
.archive-content,
.default-content { grid-template-columns: 1fr; gap: 0; }

.section { margin-bottom: 56px; scroll-margin-top: 80px; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; gap: 16px;
}
.section-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0;
  display: flex; align-items: center; gap: 14px;
}
.section-title .count {
  color: var(--muted);
  font-size: 14px;
  font-family: var(--sans);
  font-style: normal;
  letter-spacing: 0;
  font-weight: 500;
  text-transform: none;
}
.section-link {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}
.section-link:hover { color: var(--cream); }

/* Film-strip divider */
.strip {
  height: 8px;
  margin: 4px 0 28px;
  background-image: linear-gradient(90deg, transparent 0, transparent 4px, var(--gold) 4px, var(--gold) 12px, transparent 12px, transparent 20px);
  background-size: 24px 8px;
  opacity: 0.35;
}

.film-content { font-family: var(--serif); font-size: 18px; line-height: 1.6; max-width: 640px; }
.film-content p { margin: 0 0 1em; }

/* Cast carousel */
.carousel-wrap { position: relative; }
.carousel {
  display: flex; gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  padding-bottom: 14px;
}
.carousel::-webkit-scrollbar { height: 4px; }
.carousel::-webkit-scrollbar-track { background: var(--border-soft); border-radius: 2px; }
.carousel::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.cast-card {
  flex: 0 0 152px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}
.cast-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.cast-photo {
  width: 100%; height: 168px;
  background-size: cover; background-position: center top;
  background-color: #2a1f10;
  position: relative;
  display: grid; place-items: center;
}
.cast-photo-ph {
  font-family: var(--serif);
  font-style: italic;
  font-size: 48px;
  color: rgba(240, 230, 210, 0.25);
  font-weight: 500;
}
.cast-info { padding: 12px 12px 14px; }
.cast-name { font-size: 13px; font-weight: 600; color: var(--cream); margin: 0 0 3px; }
.cast-role { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--muted); margin: 0; }
.carousel-nav {
  position: absolute; top: 84px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--gold);
  color: var(--gold);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.15s, color 0.15s;
  z-index: 2;
  font-size: 18px;
}
.carousel-nav:hover { background: var(--gold); color: var(--surface); }
.carousel-nav.prev { left: -18px; }
.carousel-nav.next { right: -18px; }

/* Details grid */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 32px;
  max-width: 720px;
}
.details-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  margin: 0;
  align-items: start;
}
.details-row dt {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.details-row dd { margin: 0; font-size: 13px; color: var(--cream); }
.details-row.gold dd { color: var(--gold); }
.details-row.gold dd a { color: var(--gold); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-template-rows: 160px 160px;
  gap: 8px;
}
.gtile {
  background-size: cover; background-position: center;
  background-color: var(--elev);
  border-radius: 3px;
  cursor: zoom-in;
  position: relative; overflow: hidden;
  transition: transform 0.2s;
}
.gtile:hover { transform: scale(1.02); }
.gtile:nth-child(1) { grid-row: 1 / 3; }
.gtile .gnum {
  position: absolute; bottom: 6px; left: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(240,230,210,0.7);
  letter-spacing: 0.1em;
}
.gtile.more {
  background: var(--elev);
  display: grid; place-items: center; text-align: center;
  cursor: default;
}
.gtile.more:hover { transform: none; }
.gtile.more .mnum { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--gold); line-height: 1; }
.gtile.more .mlbl { font-size: 10px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 6px; }

/* Sidebar (single film) */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
}
.info-card h3 {
  margin: 0;
  padding: 12px 16px;
  background: var(--elev);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border-soft);
}
.info-card dl { margin: 0; padding: 6px 16px 12px; }
.info-row {
  display: grid; grid-template-columns: 130px 1fr;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: start;
}
.info-row:last-child { border-bottom: none; }
.info-row dt { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-row dd { margin: 0; font-size: 13px; color: var(--cream); }
.info-row.gold dd { color: var(--gold); }
.info-row dd.tabular { font-variant-numeric: tabular-nums; font-weight: 500; }

/* ---------- Archive ---------- */
.archive-hero {
  border-bottom: 1px solid var(--border-soft);
}
.archive-hero-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 56px 32px 32px;
}
.archive-title {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 600;
  margin: 0;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.archive-title em { font-style: italic; color: var(--gold); font-weight: 500; }
.archive-sub { color: var(--muted); font-size: 13px; margin: 8px 0 0; }

.filter-demo {
  max-width: 1280px; margin: 0 auto;
  padding: 32px 32px 0;
}
.filter-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 16px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}
.filter-field { display: flex; flex-direction: column; gap: 6px; }
.filter-field label {
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.filter-field input, .filter-field select {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  color: var(--cream);
  border-radius: 3px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 13px;
  outline: none;
  width: 100%;
}
.filter-field input:focus, .filter-field select:focus { border-color: var(--gold); }
.filter-field select { appearance: none; cursor: pointer; }
.filter-btn {
  background: var(--gold);
  color: #1a1208;
  border: none;
  padding: 11px 18px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.filter-btn:hover { background: #e6b25a; color: #1a1208; }

.gp-films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.film-card {
  text-decoration: none;
  color: var(--cream);
  display: block;
  transition: transform 0.15s;
}
.film-card:hover { transform: translateY(-3px); }
.film-card-poster {
  width: 100%; aspect-ratio: 2/3;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
}
.film-card-poster img { width: 100%; height: 100%; object-fit: cover; }
.film-card-poster .poster-placeholder { padding: 16px; }
.film-card-poster .poster-placeholder .ptitle { font-size: 18px; }
.film-card-score {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(14,12,9,0.85);
  border: 1px solid var(--gold);
  border-radius: 3px;
  padding: 4px 8px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.film-card-score .denom { font-size: 10px; color: var(--muted); }
.film-card-info { padding: 12px 4px; }
.film-card-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--cream);
  line-height: 1.2;
}
.film-card-meta { font-size: 12px; color: var(--muted); }
.film-card-meta .dot { margin: 0 6px; }

.empty-state {
  text-align: center;
  padding: 80px 32px;
}
.empty-state h2 {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--cream);
  font-weight: 500;
  margin: 0 0 12px;
}
.empty-state p { color: var(--muted); margin: 0 0 24px; }

.gp-pagination {
  margin-top: 48px;
  display: flex; justify-content: center; gap: 4px;
}
.gp-pagination .page-numbers {
  min-width: 36px; height: 36px;
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  display: grid; place-items: center;
  text-decoration: none;
  color: var(--cream);
  font-size: 13px;
  padding: 0 10px;
}
.gp-pagination .page-numbers.current,
.gp-pagination .page-numbers:hover {
  background: var(--gold); color: #1a1208; border-color: var(--gold);
}

/* ---------- Default blog list ---------- */
.post-list { display: flex; flex-direction: column; gap: 24px; }
.post-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  overflow: hidden;
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 20px 24px; }
.post-card-title {
  font-family: var(--serif); font-size: 26px; margin: 8px 0; font-weight: 600;
}
.post-card-title a { color: var(--cream); text-decoration: none; }
.post-card-meta { font-size: 12px; color: var(--muted); }
.post-card-excerpt { color: var(--cream); opacity: 0.85; }
.post-card-more { color: var(--gold); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }

.single-post-head {
  border-bottom: 1px solid var(--border-soft);
  padding: 56px 0 0;
}
.single-post-head-inner { max-width: 800px; margin: 0 auto; padding: 0 32px; text-align: center; }
.post-meta-line { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.single-post-title { font-family: var(--serif); font-size: 56px; margin: 12px 0; }
.single-post-lede { font-family: var(--serif); font-size: 22px; color: var(--muted); }
.single-post-thumb { margin-top: 32px; max-width: 1100px; margin-left: auto; margin-right: auto; padding: 0 32px; }
.single-post-thumb img { border-radius: 4px; }
.single-post-body {
  max-width: 1280px; margin: 48px auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 280px; gap: 48px;
}
.post-content { font-family: var(--serif); font-size: 18px; line-height: 1.65; max-width: 680px; }
.post-content p { margin: 0 0 1em; }
.post-content h2, .post-content h3 { font-family: var(--serif); }

.page-head { padding: 56px 0; border-bottom: 1px solid var(--border-soft); }
.page-head-inner { max-width: 800px; margin: 0 auto; padding: 0 32px; }
.page-title { font-family: var(--serif); font-size: 48px; margin: 0; }
.page-body { max-width: 800px; margin: 48px auto; padding: 0 32px; }

/* ---------- 404 ---------- */
.not-found-inner { text-align: center; padding-bottom: 64px; }
.error-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 120px;
  color: var(--gold);
  line-height: 1;
}
.not-found-search {
  margin-top: 24px;
  display: flex; gap: 8px; justify-content: center;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}
.not-found-search input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--cream);
  border-radius: 3px;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 13px;
}

/* ---------- Comments / reviews ---------- */
.comments-area { max-width: 700px; }
.comments-title { font-family: var(--serif); font-size: 22px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-body {
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  margin-bottom: 12px;
  background: var(--surface);
}
.comment-author { font-weight: 600; color: var(--gold); }
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--cream);
  padding: 10px 12px;
  font-family: var(--sans);
  border-radius: 3px;
  outline: none;
}
.comment-form label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 48px 32px 32px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.footer-cols {
  max-width: 1280px; margin: 0 auto 32px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; text-align: left;
}
.footer-col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer-bottom .brand-mini { font-family: var(--serif); color: var(--gold); font-style: italic; font-size: 16px; margin-bottom: 4px; }
.footer-bottom .copy { margin-top: 12px; font-size: 11px; opacity: 0.7; }
.footer-nav { display: flex; gap: 18px; justify-content: center; margin: 12px 0; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8, 6, 4, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw; max-height: 80vh;
  border-radius: 4px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  object-fit: contain;
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--gold);
  cursor: pointer; font-size: 18px;
  display: grid; place-items: center;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--gold);
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 20px;
}
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-caption {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  max-width: 80vw; text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 200px 1fr; }
  .score-card { grid-column: 1 / -1; }
  .hero-title { font-size: 44px; }
  .content { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery .gtile:nth-child(1) { grid-row: auto; }
  .filter-card { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .topbar-inner { flex-wrap: wrap; gap: 16px; padding: 14px 18px; }
  .nav { order: 3; flex-basis: 100%; gap: 16px; }
  .search-box { width: 100%; max-width: 200px; }
  .hero-inner { grid-template-columns: 1fr; padding: 32px 18px; }
  .poster { width: 180px; height: 270px; margin: 0 auto; }
  .hero-title { font-size: 36px; text-align: center; }
  .hero-meta, .hero-credits { font-size: 12px; }
  .hero-credits { grid-template-columns: 90px 1fr; }
  .tabs { gap: 18px; padding: 0 18px; }
  .tab { font-size: 15px; padding: 14px 0; }
  .content { padding: 32px 18px 60px; }
  .archive-hero-inner { padding: 32px 18px 24px; }
  .archive-title { font-size: 36px; }
  .filter-demo { padding: 24px 18px 0; }
  .filter-card { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .single-post-title { font-size: 36px; }
}
