/*
Theme Name: SpiceBite
Theme URI: https://spicebite.in
Author: SpiceBite
Author URI: https://spicebite.in
Description: SpiceBite v2.9.3 "Floodlight" - a modern sports-entertainment theme for movies, OTT releases, sports, travel and anime. Logo orange on stadium-night navy, with floodlight amber, electric cyan and live red accents.
Version: 2.9.3
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spicebite
Tags: entertainment, movies, ott, sports, travel, anime, dark, modern
*/

/* ============================================================
   1. DESIGN TOKENS — "FLOODLIGHT"
   Stadium-night base. Orange (logo) = brand. Amber = floodlight
   glow that orange fades into. Electric cyan = streaming, live
   scores, countdowns. Live red = LIVE / trending / urgency.
   Legacy token names (--red, --green, --chili) are kept as
   aliases so older templates and inline styles keep working.
   ============================================================ */
:root {
  /* Stadium night (dark base) */
  --ink:        #07090E;   /* page */
  --ink-2:      #10141C;   /* cards */
  --ink-3:      #181D29;   /* elevated / hover */
  --ink-line:   #242B3A;
  --ink-line-2: #313A4D;

  /* Daylight band */
  --paper:      #FFFFFF;
  --cloud:      #F5F3EF;
  --paper-line: #E7E3DC;

  /* Brand — matched to the logo (#E54E1B) */
  --orange:       #E8551E;
  --orange-soft:  #FF7A45;
  --orange-deep:  #C2410C;
  --orange-glow:  rgba(232, 85, 30, .38);
  --amber:        #FFB21E;

  /* Accents */
  --electric:      #2EC5FF;
  --electric-soft: #7DDCFF;
  --live:          #FF2E4D;

  /* Gradients */
  --blaze:   linear-gradient(100deg, #E8551E 0%, #FF7A1F 55%, #FFB21E 100%);
  --btn:     linear-gradient(100deg, #D9481A 0%, #F2662A 100%);
  --volt:    linear-gradient(100deg, #2EC5FF 0%, #7DDCFF 100%);

  /* Legacy aliases (do not remove — used in PHP templates) */
  --red:          var(--live);
  --red-deep:     #C81E3A;
  --green:        var(--electric);
  --green-bright: var(--electric-soft);
  --chili:        var(--blaze);

  /* Text */
  --t-strong:    #F5F7FA;
  --t-body:      #C3CAD6;
  --t-muted:     #838CA0;
  --t-ink:       #12151C;
  --t-ink-muted: #5A6170;

  /* Type */
  --f-display: 'Barlow Condensed', 'Arial Narrow', 'Arial Black', sans-serif;
  --f-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-label:   'Barlow Semi Condensed', 'Arial Narrow', sans-serif;

  /* Rhythm */
  --sp-1: .25rem;  --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 2.5rem; --sp-8: 3rem;  --sp-10: 4.5rem;

  --container: 1320px;
  --sidebar-w: 320px;
  --header-h: 68px;
  --container-sm: 800px;

  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-full: 999px;

  --sh-card: 0 10px 30px rgba(0,0,0,.45);
  --sh-pop:  0 24px 60px rgba(0,0,0,.6);
  --sh-glow: 0 18px 44px -14px var(--orange-glow);
  --sh-lite: 0 10px 30px rgba(18,21,28,.08);

  /* Angled "broadcast graphic" cut used by badges & buttons */
  --cut: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ============================================================
   2. RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--t-body);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
/* Floodlight glow + faint pitch lines behind everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(232,85,30,.16), transparent 62%),
    radial-gradient(900px 460px at -12% 8%, rgba(46,197,255,.07), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.012) 0 2px, transparent 2px 90px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-soft); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--amber); }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--f-display);
  color: var(--t-strong);
  line-height: 1.08;
  margin: 0 0 var(--sp-3);
  font-weight: 700;
  letter-spacing: .005em;
}
p { margin: 0 0 var(--sp-4); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: #fff; }

.container    { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 var(--sp-5); }
.container-sm.container-wide { max-width: 1120px; }
@media (max-width: 560px) {
  .container, .container-sm { padding: 0 var(--sp-4); }
}
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   3. HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(7,9,14,.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--blaze);
}
.site-header.is-scrolled { background: rgba(7,9,14,.94); box-shadow: 0 12px 34px rgba(0,0,0,.5); }

.header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-6);
  height: 68px;
}
.header-logo { display: flex; align-items: center; gap: var(--sp-3); }
.header-logo img {
  height: 40px; width: 40px; object-fit: contain;
  background: #fff; border-radius: 12px; padding: 4px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 6px 18px -6px var(--orange-glow);
  transition: transform .3s var(--ease);
}
.header-logo:hover img { transform: rotate(-6deg) scale(1.04); }
.logo-word {
  font-family: var(--f-display);
  font-weight: 800; font-style: italic; font-size: 1.6rem;
  text-transform: uppercase; letter-spacing: .01em; line-height: 1;
  color: var(--t-strong);
}
.logo-word em { font-style: italic; color: var(--orange); }
.header-logo .logo-word { font-size: 1.6rem; }

.header-nav { justify-self: center; min-width: 0; max-width: 100%; }
.header-nav ul {
  list-style: none; margin: 0; padding: 4px; display: flex; gap: 2px;
  overflow-x: auto; scrollbar-width: none;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-full);
}
.header-nav ul::-webkit-scrollbar { display: none; }
.header-nav li { flex: none; }
.header-nav li::before, .header-nav li::after { content: none !important; }
.header-nav a {
  display: block;
  font-family: var(--f-label);
  font-size: .9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
  color: var(--t-body);
  padding: .45em 1em;
  border-radius: var(--r-full);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.header-nav a:hover { color: var(--t-strong); background: rgba(255,255,255,.06); }
.header-nav .current-menu-item > a,
.header-nav .current-menu-parent > a,
.header-nav .current_page_item > a,
.header-nav a.current-menu-item {
  color: #fff; background: var(--btn);
  box-shadow: 0 6px 16px -6px var(--orange-glow);
}

.header-actions { display: flex; align-items: center; gap: var(--sp-2); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--ink-line); background: rgba(255,255,255,.03);
  color: var(--t-body); cursor: pointer; font-size: 1rem;
  transition: all .2s var(--ease);
}
.icon-btn:hover { color: #fff; border-color: var(--orange); background: rgba(232,85,30,.14); }
.icon-btn svg { width: 18px; height: 18px; }

/* Mobile */
.header-menu-toggle { display: none; }
@media (max-width: 1080px) {
  .header-nav a { padding: .45em .7em; font-size: .82rem; }
}
@media (max-width: 980px) {
  .header-nav { display: none; }
  .header-menu-toggle { display: inline-flex; }
  .header-bar { grid-template-columns: 1fr auto; height: 62px; }
  .header-logo .logo-word { font-size: 1.4rem; }
}

/* Trending ticker (under header) */
.ticker {
  display: flex; align-items: stretch;
  background: linear-gradient(90deg, rgba(232,85,30,.10), rgba(16,20,28,.6) 30%);
  border-bottom: 1px solid var(--ink-line);
  font-family: var(--f-label); font-size: .86rem;
  overflow: hidden;
}
.ticker__label {
  flex: none; display: inline-flex; align-items: center; gap: .55em;
  padding: 0 1.4em 0 1.1em;
  background: var(--btn); color: #fff;
  font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.ticker__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: sb-pulse 1.6s infinite;
}
.ticker__viewport {
  flex: 1; overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.ticker__track {
  display: flex; width: max-content;
  animation: sb-marquee var(--ticker-dur, 70s) linear infinite;
}
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker__list li { display: flex; align-items: center; white-space: nowrap; }
.ticker__list li::after { content: "◆"; color: var(--orange); font-size: .55rem; padding: 0 1.2em; opacity: .8; }
.ticker__list a { display: block; padding: .62em 0; color: var(--t-body); font-weight: 500; }
.ticker__list a:hover { color: var(--t-strong); }
.ticker__cat { color: var(--amber); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; margin-right: .6em; }
@keyframes sb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sb-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker__viewport { overflow-x: auto; scrollbar-width: none; }
  .ticker__list[aria-hidden="true"] { display: none; }
}
@media (max-width: 560px) {
  .ticker__label span:not(.ticker__dot) { display: none; }
  .ticker__label { padding: 0 1.2em 0 .9em; }
}

/* Live cricket scorebar (homepage top bar — needs Cricket Master Suite) */
.scorebar {
  position: relative; z-index: 210;
  background:
    linear-gradient(90deg, rgba(232,85,30,.10), transparent 35%),
    #05070B;
  border-bottom: 1px solid var(--ink-line);
}
.scorebar__inner {
  max-width: var(--container); margin: 0 auto; padding: 9px var(--sp-5);
  display: flex; align-items: center; gap: 10px;
}
.scorebar__label {
  flex: none; display: flex; align-items: center; gap: 9px; padding-right: 6px;
}
.scorebar__label-icon {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--btn); color: #fff; box-shadow: 0 6px 16px -6px var(--orange-glow);
}
.scorebar__label-icon svg { width: 19px; height: 19px; }
.scorebar[data-live="1"] .scorebar__label-icon { background: var(--live); box-shadow: 0 0 0 0 rgba(255,46,77,.6); animation: sb-pulse-red 1.8s infinite; }
.scorebar__label-text { display: flex; flex-direction: column; line-height: .95; }
.scorebar__label-text strong {
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 1.2rem;
  text-transform: uppercase; color: var(--t-strong); letter-spacing: .01em;
}
.scorebar[data-live="1"] .scorebar__label-text strong { color: #FF6B7F; }
.scorebar__label-text span {
  font-family: var(--f-label); font-weight: 700; font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--t-muted);
}

.scorebar__track {
  flex: 1; min-width: 0;
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}
.scorebar__track::-webkit-scrollbar { display: none; }

.scorebar__nav {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--ink-3); border: 1px solid var(--ink-line-2); color: var(--t-body);
  transition: all .2s var(--ease);
}
.scorebar__nav svg { width: 14px; height: 14px; }
.scorebar__nav:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.scorebar__nav[hidden] { display: none; }

.scorebar__all {
  flex: none; white-space: nowrap;
  font-family: var(--f-label); font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--t-strong); padding: .55em 1em; border-radius: var(--r-full); border: 1px solid var(--ink-line-2);
  transition: all .2s var(--ease);
}
.scorebar__all:hover { color: #fff; border-color: var(--orange); background: rgba(232,85,30,.14); }

/* Match card */
.sb-match {
  flex: 0 0 252px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 3px;
  padding: 8px 12px 7px;
  background: linear-gradient(160deg, #141925, #0E1219);
  border: 1px solid var(--ink-line); border-radius: 12px;
  color: var(--t-body);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.sb-match:hover { color: var(--t-body); border-color: rgba(232,85,30,.6); transform: translateY(-2px); box-shadow: 0 12px 26px -14px var(--orange-glow); }
.sb-match--live { border-color: rgba(255,46,77,.45); background: linear-gradient(160deg, rgba(255,46,77,.10), #0E1219 60%); }
.sb-match__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 1px; }
.sb-match__tour {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--f-label); font-weight: 600; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--t-muted);
}
.sb-match__status {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-label); font-weight: 700; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .18em .7em; clip-path: var(--cut);
  background: rgba(232,85,30,.16); color: var(--orange-soft);
}
.sb-match--live .sb-match__status { background: var(--live); color: #fff; }
.sb-match--live .sb-match__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: sb-pulse 1.6s infinite; }
.sb-match--result .sb-match__status { background: rgba(46,197,255,.14); color: var(--electric-soft); }

.sb-match__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; line-height: 1.2; }
.sb-match__team { display: flex; align-items: center; gap: 7px; min-width: 0; }
.sb-match__team img, .sb-match__team .csc-listing-fixture-team-logo, .sb-match__logo-ph {
  width: 20px !important; height: 20px !important; flex: none; border-radius: 50%;
  object-fit: contain; background: #fff; font-size: 9px; display: inline-grid; place-items: center; color: var(--t-ink); overflow: hidden;
}
.sb-match__name {
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; letter-spacing: .02em; text-transform: uppercase;
  color: var(--t-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb-match__score {
  flex: none; font-family: var(--f-display); font-weight: 800; font-size: 1.08rem;
  color: var(--t-strong); font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.sb-match__score small { font-family: var(--f-label); font-weight: 600; font-size: .72rem; color: var(--t-muted); }
.sb-match__amp { color: var(--t-muted); font-weight: 600; }
.sb-match__yet { font-family: var(--f-label); font-weight: 600; font-size: .72rem; letter-spacing: .04em; color: var(--t-muted); }
.sb-match__row.is-batting .sb-match__name { color: #fff; }
.sb-match__row.is-batting .sb-match__name::after {
  content: ""; display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: middle;
  border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-right: 6px solid var(--orange);
}
.sb-match__foot {
  margin-top: 2px; padding-top: 4px; border-top: 1px solid rgba(255,255,255,.06);
  font-size: .72rem; color: var(--t-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb-match__result { color: var(--electric-soft); font-weight: 600; }

@media (max-width: 720px) {
  .scorebar__inner { padding: 8px 0 8px var(--sp-4); gap: 8px; }
  .scorebar__all, .scorebar__nav { display: none !important; }
  .scorebar__label-text span { display: none; }
  .scorebar__label-icon { width: 30px; height: 30px; }
  .scorebar__track { padding-right: var(--sp-4); scroll-padding-left: 0; }
  .sb-match { flex-basis: 228px; }
}
@media (prefers-reduced-motion: reduce) {
  .scorebar[data-live="1"] .scorebar__label-icon { animation: none; }
}

/* Mobile drawer */
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(3,4,8,.7);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 300;
}
.mobile-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  background: linear-gradient(180deg, #121722 0%, var(--ink) 100%);
  z-index: 310;
  transform: translateX(100%); visibility: hidden;
  transition: transform .32s var(--ease), visibility 0s linear .32s;
  padding: var(--sp-5); overflow-y: auto;
  border-left: 1px solid var(--ink-line);
}
.mobile-menu::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blaze); }
.mobile-menu.is-open { transform: translateX(0); visibility: visible; transition: transform .32s var(--ease), visibility 0s; }
.mobile-menu__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-5); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--ink-line); }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) 0;
  font-family: var(--f-display); font-size: 1.45rem; font-weight: 700; font-style: italic;
  text-transform: uppercase; letter-spacing: .01em;
  color: var(--t-strong);
}
.mobile-menu a::after { content: "→"; font-style: normal; font-size: 1rem; color: var(--t-muted); transition: transform .2s var(--ease), color .2s; }
.mobile-menu a:hover { color: var(--orange-soft); }
.mobile-menu a:hover::after { color: var(--orange); transform: translateX(4px); }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 320;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(232,85,30,.18), transparent 70%),
    rgba(7,9,14,.97);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 18vh;
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay__inner { width: min(720px, 90vw); }
.search-overlay input[type="search"] {
  width: 100%;
  font-family: var(--f-display); font-weight: 700; font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 5vw, 3rem);
  background: transparent; border: 0; border-bottom: 3px solid var(--orange);
  color: var(--t-strong); padding: var(--sp-3) 0; outline: none;
}
.search-overlay input[type="search"]::placeholder { color: var(--ink-line-2); }
.search-overlay .search-close {
  position: absolute; top: var(--sp-6); right: var(--sp-6);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid var(--ink-line);
  color: var(--t-body); font-size: 1.2rem; cursor: pointer;
  transition: all .2s var(--ease);
}
.search-overlay .search-close:hover { color: #fff; border-color: var(--orange); background: rgba(232,85,30,.15); }

/* ============================================================
   4. SECTION SHELL + STRIPE RULE (signature)
   ============================================================ */
.section { padding: var(--sp-10) 0; }
.section--tight { padding: var(--sp-8) 0; }
.section--paper {
  background: var(--cloud); color: var(--t-ink-muted);
  position: relative;
}
.section--paper::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--blaze);
}
.section--paper h1, .section--paper h2, .section--paper h3, .section--paper h4 { color: var(--t-ink); }

.rule {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-4); margin-bottom: var(--sp-6);
  position: relative; padding-top: var(--sp-5);
}
/* Double "kit stripe" marker */
.rule::before {
  content: ""; position: absolute; top: 0; left: 2px;
  width: 78px; height: 6px;
  background:
    linear-gradient(90deg, var(--orange) 0 46px, transparent 46px 54px, var(--amber) 54px 78px);
  transform: skewX(-24deg);
}
.rule--green::before {
  background:
    linear-gradient(90deg, var(--electric) 0 46px, transparent 46px 54px, var(--orange) 54px 78px);
}
.rule__title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0;
  font-weight: 800; font-style: italic; text-transform: uppercase;
  letter-spacing: .005em; line-height: .95;
}
.rule__link {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--f-label); font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--t-strong); white-space: nowrap;
  padding: .5em 1.1em; border-radius: var(--r-full);
  border: 1px solid var(--ink-line-2);
  transition: all .2s var(--ease);
}
.rule__link:hover { color: #fff; border-color: var(--orange); background: rgba(232,85,30,.14); }
span.rule__link { border: 0; padding: 0; color: var(--t-muted); text-transform: none; letter-spacing: 0; font-weight: 500; white-space: normal; }
span.rule__link:hover { background: none; color: var(--t-muted); }
.section--paper .rule__link { color: var(--t-ink); border-color: var(--paper-line); background: #fff; }
.section--paper .rule__link:hover { color: #fff; background: var(--orange); border-color: var(--orange); }
.rule__kicker {
  display: block; font-family: var(--f-label); font-size: .8rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange-soft);
  margin-bottom: var(--sp-2);
}
.rule--green .rule__kicker { color: var(--electric); }
.section--paper .rule__kicker { color: var(--orange-deep); }
@media (max-width: 560px) {
  .rule { flex-wrap: wrap; align-items: flex-start; }
  .rule__link { padding: .4em .9em; font-size: .74rem; }
}

/* ============================================================
   5. BADGES & CHIPS (angled broadcast tags)
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--f-label); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; line-height: 1.3;
  padding: .32em 1em;
  clip-path: var(--cut);
}
.badge--cat    { background: var(--orange); color: #fff; }
a.badge--cat:hover { background: var(--amber); color: #1A0C03; }
.badge--hot    { background: var(--live); color: #fff; }
.badge--live   { background: rgba(255,46,77,.16); color: #FF7088; }
.badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: sb-pulse-red 1.6s infinite; }
.badge--date   { background: var(--blaze); color: #1A0C03; }
.badge--ott    { background: rgba(255,255,255,.06); color: var(--t-body); clip-path: none; border-radius: 6px; border: 1px solid var(--ink-line-2); }
.badge--paper  { background: #fff; color: var(--t-ink); border: 1px solid var(--paper-line); clip-path: none; border-radius: 6px; }
@keyframes sb-pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(255,46,77,.7); }
  70% { box-shadow: 0 0 0 7px rgba(255,46,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,46,77,0); }
}

/* OTT platform tints (text chips, no logos) */
.ott-netflix   { color: #FF5A52 !important; border-color: rgba(255,90,82,.45) !important; }
.ott-prime     { color: #5CB6FF !important; border-color: rgba(92,182,255,.45) !important; }
.ott-jiohotstar{ color: #FFC64B !important; border-color: rgba(255,198,75,.45) !important; }
.ott-zee5      { color: #C98FFF !important; border-color: rgba(201,143,255,.45) !important; }
.ott-sonyliv   { color: #6FD3FF !important; border-color: rgba(111,211,255,.45) !important; }
.ott-aha       { color: #FF8A55 !important; border-color: rgba(255,138,85,.45) !important; }
.ott-sunnxt    { color: #FFB35C !important; border-color: rgba(255,179,92,.45) !important; }
.ott-theatre   { color: var(--electric-soft) !important; border-color: rgba(46,197,255,.45) !important; }

/* ============================================================
   6. HERO / MASTHEAD
   ============================================================ */
.masthead { padding: var(--sp-6) 0 var(--sp-6); }
.masthead__grid {
  display: grid; grid-template-columns: 1.75fr 1fr; gap: var(--sp-5);
}
/* Hero: the full 16:9 image on top, headline on a solid panel below.
   Feature images often carry their own text ("INDIA vs JAMAICA"), so the
   headline never sits on top of the picture. */
.hero-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--ink-2) 0%, #0C1017 100%);
  border: 1px solid var(--ink-line);
  box-shadow: var(--sh-card);
  isolation: isolate;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.hero-card:hover { border-color: rgba(232,85,30,.55); box-shadow: var(--sh-card), var(--sh-glow); }
.hero-card__img {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3);
}
.hero-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.hero-card:hover .hero-card__img img { transform: scale(1.03); }
.hero-card__img::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--blaze);
}
/* angled orange slash, bottom-right corner of the text panel */
.hero-card::before {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; z-index: -1;
  background: var(--blaze);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none; transform: skewX(-18deg); opacity: .10;
}
.hero-card__body {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
}
.hero-card__body > .badge { align-self: flex-start; }
.hero-card__title {
  font-size: clamp(1.8rem, 2.7vw, 2.55rem); font-weight: 800;
  line-height: 1.02; letter-spacing: 0;
  margin: var(--sp-3) 0 var(--sp-2);
  text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-card__title a { color: var(--t-strong); }
.hero-card__title a:hover { color: var(--amber); }
.hero-card__excerpt {
  color: var(--t-body); max-width: 70ch; margin-bottom: var(--sp-3); font-size: 1rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-card__meta { font-family: var(--f-label); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--t-muted); }

.side-stack { display: flex; flex-direction: column; gap: var(--sp-3); counter-reset: side; min-width: 0; }
.side-story {
  counter-increment: side;
  display: grid; grid-template-columns: 42% 1fr; gap: var(--sp-4);
  background: var(--ink-2); border: 1px solid var(--ink-line);
  border-radius: var(--r-md); overflow: hidden; flex: 1;
  position: relative; min-height: 112px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.side-story::after {
  content: counter(side, decimal-leading-zero);
  position: absolute; right: 12px; bottom: 6px;
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 1.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--ink-line-2);
  pointer-events: none;
}
.side-story:hover { border-color: rgba(232,85,30,.6); transform: translateX(4px); box-shadow: var(--sh-glow); }
.side-story__img { display: block; position: relative; overflow: hidden; background: var(--ink-3); }
.side-story__img > img, .side-story__img > .thumb-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.side-story:hover .side-story__img img { transform: scale(1.08); }
.side-story__body { padding: var(--sp-3) 3rem var(--sp-3) 0; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.side-story__title {
  font-size: 1.16rem; font-weight: 700; margin: var(--sp-1) 0; line-height: 1.12;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.side-story__title a { color: var(--t-strong); }
.side-story__title a:hover { color: var(--orange-soft); }
.side-story__meta { font-family: var(--f-label); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--orange-soft); }

@media (max-width: 1180px) {
  .masthead__grid { grid-template-columns: 1.5fr 1fr; }
  .side-story { grid-template-columns: 36% 1fr; }
}
@media (max-width: 980px) {
  .masthead__grid { grid-template-columns: 1fr; }
  .hero-card__body { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
  .side-story { grid-template-columns: 150px 1fr; min-height: 100px; }
}
@media (max-width: 560px) {
  .hero-card { border-radius: var(--r-md); }
  .hero-card__title { font-size: 1.65rem; }
  .side-story { grid-template-columns: 112px 1fr; }
  .side-story__body { padding-right: 2.9rem; }
  .side-story__title { font-size: 1.05rem; }
}

/* Branded placeholder when a post has no image at all */
.thumb-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 100%; height: 100%; min-height: 100%;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(232,85,30,.35), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px),
    linear-gradient(160deg, #1A2030, #0C1017);
}
.thumb-fallback__mark {
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 2.2rem; line-height: 1;
  color: var(--t-strong); letter-spacing: -.02em;
}
.thumb-fallback__mark em { color: var(--orange); font-style: italic; }
.thumb-fallback__cat {
  font-family: var(--f-label); font-weight: 700; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--t-muted); max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.story__img .thumb-fallback, .hero-card__img .thumb-fallback, .travel-feature__img .thumb-fallback { position: absolute; inset: 0; }
.story__img, .travel-feature__img { position: relative; }
.hero-card__img .thumb-fallback__mark { font-size: 5rem; }

/* ============================================================
   7. RELEASE RAIL (Coming Soon — signature element)
   ============================================================ */
.release-rail-wrap { position: relative; }
.release-rail {
  display: flex; gap: var(--sp-4);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px var(--sp-4);
  scrollbar-width: thin; scrollbar-color: var(--orange) var(--ink-2);
}
.release-rail::-webkit-scrollbar { height: 6px; }
.release-rail::-webkit-scrollbar-track { background: var(--ink-2); border-radius: 3px; }
.release-rail::-webkit-scrollbar-thumb { background: var(--blaze); border-radius: 3px; }

.release-card {
  flex: 0 0 210px; scroll-snap-align: start;
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--ink-line);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.release-card:hover { transform: translateY(-6px); border-color: rgba(232,85,30,.7); box-shadow: var(--sh-glow), var(--sh-pop); }
.release-card__poster { display: block; aspect-ratio: 2 / 3; background: var(--ink-3); position: relative; overflow: hidden; }
.release-card__poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,9,14,.55) 0%, transparent 28%, transparent 70%, rgba(16,20,28,.9) 100%);
  pointer-events: none;
}
.release-card__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.release-card:hover .release-card__poster img { transform: scale(1.06); }
.release-card__poster .poster-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-style: italic; font-size: 4rem; font-weight: 800;
  color: transparent; -webkit-text-stroke: 2px var(--ink-line-2);
  background: radial-gradient(circle at 50% 40%, rgba(232,85,30,.15), transparent 70%);
}
.release-card__date {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  z-index: 2;
}
.release-card__countdown {
  position: absolute; top: var(--sp-3); right: var(--sp-3); z-index: 2;
  font-family: var(--f-label); font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  background: rgba(7,9,14,.78); color: var(--electric-soft);
  padding: .3em .75em; border-radius: var(--r-full);
  border: 1px solid rgba(46,197,255,.35);
  backdrop-filter: blur(6px);
}
.release-card__body { padding: var(--sp-3) var(--sp-4) var(--sp-4); }
.release-card__title { font-size: 1.15rem; font-weight: 700; margin: 0 0 var(--sp-1); line-height: 1.1; }
.release-card__title a { color: var(--t-strong); }
.release-card__title a:hover { color: var(--orange-soft); }
.release-card__sub {
  font-family: var(--f-label); font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--t-muted); margin-bottom: var(--sp-2);
}
.release-card__platform { display: flex; flex-wrap: wrap; gap: var(--sp-1); }

.rail-nav {
  position: absolute; top: -74px; right: 0; display: flex; gap: var(--sp-2);
}
.section--tight .rule:has(+ .release-rail-wrap) { padding-right: 110px; }
@media (max-width: 640px) {
  .rail-nav { display: none; }
  .section--tight .rule:has(+ .release-rail-wrap) { padding-right: 0; }
}

/* ============================================================
   8. STORY GRID (news cards)
   ============================================================ */
.grid { display: grid; gap: var(--sp-5); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.story {
  position: relative;
  background: var(--ink-2); border: 1px solid var(--ink-line);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.story::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2;
  background: var(--blaze);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.story:hover { transform: translateY(-5px); border-color: rgba(232,85,30,.55); box-shadow: var(--sh-glow); }
.story:hover::before { transform: scaleX(1); }
.story__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story:hover .story__img img { transform: scale(1.06); }
.story__body { padding: var(--sp-4) var(--sp-4) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.story__body .badge { margin-top: -1.9rem; position: relative; z-index: 2; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.story__title { font-size: 1.32rem; font-weight: 700; margin: 0; line-height: 1.1; text-wrap: pretty; }
.story__title a { color: var(--t-strong); }
.story__title a:hover { color: var(--orange-soft); }
.story__meta {
  font-family: var(--f-label); font-size: .76rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--t-muted); margin-top: auto; padding-top: var(--sp-2);
}

/* Paper variant (travel band) */
.section--paper .story { background: var(--paper); border-color: var(--paper-line); box-shadow: var(--sh-lite); }
.section--paper .story:hover { border-color: var(--orange); box-shadow: 0 18px 40px -16px rgba(232,85,30,.45); }
.section--paper .story__title a { color: var(--t-ink); }
.section--paper .story__title a:hover { color: var(--orange-deep); }
.section--paper .story__meta { color: var(--t-ink-muted); }
.section--paper .story__img { background: var(--paper-line); }

/* Travel wide card */
.travel-feature {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 0;
  background: var(--paper); border: 1px solid var(--paper-line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lite);
  margin-bottom: var(--sp-5);
  transition: box-shadow .3s var(--ease);
}
.travel-feature:hover { box-shadow: 0 24px 50px -20px rgba(232,85,30,.4); }
.travel-feature__img { min-height: 340px; overflow: hidden; }
.travel-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.travel-feature:hover .travel-feature__img img { transform: scale(1.04); }
.travel-feature__body { padding: var(--sp-7); display: flex; flex-direction: column; justify-content: center; }
.travel-feature__title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; line-height: 1; }
.travel-feature__title a { color: var(--t-ink); }
.travel-feature__title a:hover { color: var(--orange-deep); }
.travel-pin {
  display: inline-flex; align-items: center; gap: .4em; align-self: flex-start;
  font-family: var(--f-label); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--orange-deep);
  background: rgba(232,85,30,.1); padding: .3em .9em; border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
}
@media (max-width: 860px) {
  .travel-feature { grid-template-columns: 1fr; }
  .travel-feature__img { min-height: 240px; }
  .travel-feature__body { padding: var(--sp-5); }
}

/* ============================================================
   9B. TRENDING SERIES LIBRARY (Top-10 board)
   ============================================================ */
.lib-nav {
  position: sticky; top: 68px; z-index: 40;
  background: rgba(7,9,14,.9); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--ink-line);
  padding: var(--sp-3) 0;
}
@media (max-width: 980px) { .lib-nav { top: 62px; } }
.lib-nav__track {
  display: flex; gap: var(--sp-2); overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.lib-nav__track::-webkit-scrollbar { display: none; }
.lib-nav .filter-chip { white-space: nowrap; text-decoration: none; }

.lib-genre { scroll-margin-top: 140px; }

.lib-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 860px) { .lib-grid { grid-template-columns: 1fr; } }

.lib-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 160px 1fr; gap: var(--sp-4);
  background: linear-gradient(120deg, var(--ink-2) 0%, var(--ink-2) 60%, rgba(232,85,30,.06) 100%);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg); padding: var(--sp-4);
  padding-left: calc(var(--sp-4) + 58px);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.lib-card:hover { border-color: rgba(232,85,30,.6); transform: translateY(-3px); box-shadow: var(--sh-glow); }

/* Big outlined rank numeral */
.lib-card__rank {
  position: absolute; top: 50%; left: 10px; transform: translateY(-50%);
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: 4.4rem; line-height: 1; letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 2px var(--orange);
  text-shadow: 0 0 24px rgba(232,85,30,.25);
  min-width: 52px; text-align: center;
}
.lib-card:nth-child(1) .lib-card__rank {
  color: var(--orange);
  background: var(--blaze); -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 0;
}

.lib-card__media { display: block; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16/9; align-self: start; }
.lib-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.lib-card:hover .lib-card__media img { transform: scale(1.06); }
.lib-card__ph { width: 100%; height: 100%; background: var(--ink-3); }

.lib-card__body { min-width: 0; }
.lib-card__title { font-size: 1.35rem; font-weight: 700; margin-bottom: var(--sp-1); line-height: 1.05; }
.lib-card__title a { color: var(--t-strong); }
.lib-card__title a:hover { color: var(--orange-soft); }
.lib-card__meta { font-family: var(--f-label); font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--t-muted); margin-bottom: var(--sp-2); }
.lib-card__snippet { font-size: .88rem; color: var(--t-body); line-height: 1.55; margin-bottom: var(--sp-3); }

.lib-card__watch {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--f-label); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  border: 1px solid var(--ink-line-2); border-radius: var(--r-full);
  padding: .45em 1.1em; color: var(--t-body);
  background: rgba(255,255,255,.03);
  transition: all .2s var(--ease);
}
.lib-card__watch:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }

@media (max-width: 560px) {
  .lib-card { grid-template-columns: 1fr; padding-left: var(--sp-4); padding-top: calc(var(--sp-4) + 40px); }
  .lib-card__rank { top: 4px; left: 14px; transform: none; font-size: 2.8rem; text-align: left; }
}

/* ============================================================
   10. RELEASE CALENDAR PAGE
   ============================================================ */
.calendar-hero { padding: var(--sp-8) 0 var(--sp-5); }
.calendar-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; font-style: italic;
  text-transform: uppercase; line-height: .92;
}
.calendar-hero p { color: var(--t-muted); max-width: 62ch; }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  padding: var(--sp-4) 0 var(--sp-6);
  position: sticky; top: 68px; z-index: 50;
  background: linear-gradient(180deg, var(--ink) 78%, rgba(7,9,14,0));
}
@media (max-width: 980px) { .filter-bar { top: 62px; } }
.filter-chip {
  font-family: var(--f-label); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .5em 1.15em; border-radius: var(--r-full);
  background: var(--ink-2); border: 1px solid var(--ink-line);
  color: var(--t-body); cursor: pointer;
  transition: all .2s var(--ease);
}
.filter-chip:hover { border-color: var(--orange); color: var(--t-strong); }
.filter-chip.is-active { background: var(--btn); border-color: transparent; color: #fff; box-shadow: 0 6px 16px -6px var(--orange-glow); }
.filter-group { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.filter-group + .filter-group { margin-left: var(--sp-4); padding-left: var(--sp-4); border-left: 1px solid var(--ink-line); }
@media (max-width: 720px) {
  .filter-group + .filter-group { margin-left: 0; padding-left: 0; border-left: 0; }
}

.month-block { margin-bottom: var(--sp-8); }
.month-block__title {
  font-family: var(--f-display); font-size: 1.6rem; font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .02em; color: var(--t-strong);
  display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-5);
}
.month-block__title::before {
  content: ""; width: 14px; height: 22px; background: var(--orange); transform: skewX(-20deg); flex: none;
}
.month-block__title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--ink-line-2), transparent); }

.release-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); }
@media (max-width: 1100px) { .release-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .release-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .release-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); } }
.release-grid .release-card { flex: none; }
.release-card.is-hidden { display: none; }

/* Single release page */
.release-hero {
  display: grid; grid-template-columns: 300px 1fr; gap: var(--sp-7);
  padding: var(--sp-8) 0;
}
.release-hero__poster {
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--sh-pop), 0 0 0 1px rgba(255,255,255,.06), 0 30px 80px -30px var(--orange-glow);
  aspect-ratio: 2/3; background: var(--ink-2);
}
.release-hero__poster img { width: 100%; height: 100%; object-fit: cover; }
.release-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; font-style: italic;
  text-transform: uppercase; line-height: .95; margin: var(--sp-3) 0;
}
.release-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-3); margin: var(--sp-5) 0;
}
.fact {
  background: var(--ink-2); border: 1px solid var(--ink-line);
  border-left: 3px solid var(--orange);
  border-radius: var(--r-sm); padding: var(--sp-3) var(--sp-4);
}
.fact__label {
  font-family: var(--f-label); font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--t-muted); margin-bottom: 2px;
}
.fact__value { color: var(--t-strong); font-weight: 600; font-size: .95rem; }
.countdown-hero {
  display: inline-flex; align-items: baseline; gap: var(--sp-2);
  font-family: var(--f-label); font-weight: 600; color: var(--electric-soft);
  background: rgba(46,197,255,.08); border: 1px solid rgba(46,197,255,.35);
  border-radius: var(--r-sm); padding: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-3);
}
.countdown-hero strong {
  font-family: var(--f-display); font-size: 2rem; font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--electric);
}
.trailer-btn {
  display: inline-flex; align-items: center; gap: .55em;
  background: var(--btn); color: #fff !important;
  font-family: var(--f-label); font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .1em;
  padding: .85em 1.8em;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  margin-top: var(--sp-4);
  transition: transform .2s var(--ease), filter .2s var(--ease);
}
.trailer-btn:hover { transform: translateY(-2px); filter: brightness(1.12); }
@media (max-width: 780px) {
  .release-hero { grid-template-columns: 1fr; gap: var(--sp-5); }
  .release-hero__poster { max-width: 260px; }
}

/* Series single: widescreen 16:9 art instead of a 2:3 poster */
.release-hero--series { grid-template-columns: 440px 1fr; }
.release-hero__poster--wide { aspect-ratio: 16/9; }
@media (max-width: 900px) {
  .release-hero--series { grid-template-columns: 1fr; }
  .release-hero__poster--wide { max-width: 520px; }
}

/* Where to watch (Watchmode) */
.wtw {
  position: relative; overflow: hidden;
  margin: 0 0 var(--sp-8);
  padding: var(--sp-5) var(--sp-6);
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(46,197,255,.08), transparent 70%),
    linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--ink-line); border-radius: var(--r-lg);
}
.wtw::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--blaze); }
.wtw__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.wtw__title {
  margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; font-style: italic; text-transform: uppercase;
}
.wtw__updated { font-family: var(--f-label); font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--t-muted); }
.wtw__group { display: grid; grid-template-columns: 110px 1fr; gap: var(--sp-3); align-items: start; padding: var(--sp-3) 0; border-top: 1px solid var(--ink-line); }
.wtw__group:first-of-type { border-top: 0; padding-top: 0; }
.wtw__label {
  justify-self: start; margin-top: .45em;
  font-family: var(--f-label); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .3em .9em; clip-path: var(--cut);
  background: rgba(232,85,30,.16); color: var(--orange-soft);
}
.wtw__label--free { background: rgba(46,197,255,.14); color: var(--electric-soft); }
.wtw__label--rent, .wtw__label--buy { background: rgba(255,178,30,.14); color: var(--amber); }
.wtw__label--tve { background: rgba(255,255,255,.06); color: var(--t-body); }
.wtw__list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.wtw__item {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .55em 1em; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--ink-line-2);
  color: var(--t-strong); font-weight: 600; font-size: .95rem; line-height: 1.2;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
a.wtw__item:hover { transform: translateY(-2px); background: rgba(255,255,255,.07); color: #fff; }
.wtw__name { color: inherit; }
.wtw__meta { font-family: var(--f-label); font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--t-muted); }
.wtw__go { font-size: .85rem; opacity: .7; }
.wtw__empty { margin: 0; color: var(--t-muted); }
.wtw__credit { margin: var(--sp-4) 0 0; font-size: .74rem; color: var(--t-muted); }
.wtw__credit a { color: var(--t-body); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 600px) {
  .wtw { padding: var(--sp-4); border-radius: var(--r-md); }
  .wtw__group { grid-template-columns: 1fr; gap: var(--sp-2); }
  .wtw__label { margin-top: 0; }
}

/* ============================================================
   11. SINGLE POST
   ============================================================ */
/* Desktop: article column + sticky sidebar. Uses the full container
   instead of the old 800px strip in the middle of the screen. */
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-w);
  gap: var(--sp-8);
}
.single-layout__main { min-width: 0; }
.single-layout__side { min-width: 0; padding-top: var(--sp-7); }
.single-layout__side .widget:first-child { margin-top: 0; }
.sidebar-sticky { position: sticky; top: calc(var(--header-h) + var(--sp-4)); }
.admin-bar .sidebar-sticky { top: calc(var(--header-h) + 32px + var(--sp-4)); }
@media (min-width: 1440px) {
  :root { --sidebar-w: 336px; }
  .single-layout { gap: var(--sp-10); }
}
@media (max-width: 1100px) {
  .single-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .single-layout__main { max-width: 820px; margin-inline: auto; width: 100%; }
  .single-layout__side {
    padding-top: var(--sp-6); max-width: 820px; margin-inline: auto; width: 100%;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 var(--sp-5); align-items: start;
  }
  .sidebar-sticky { position: static; }
}

.post-hero { padding: var(--sp-7) 0 var(--sp-4); }
.post-hero__title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 800;
  line-height: 1.02; max-width: 26ch; margin-top: var(--sp-4);
  text-wrap: balance;
}
.post-meta__author { display: flex; align-items: center; gap: .6em; color: inherit; }
.post-meta__author:hover { color: var(--t-strong); }
.post-hero__subtitle { font-size: 1.18rem; color: var(--t-muted); max-width: 60ch; }
.post-meta {
  display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
  font-family: var(--f-label); font-size: .84rem; font-weight: 600; color: var(--t-muted);
  text-transform: uppercase; letter-spacing: .06em;
  padding: var(--sp-4) 0; border-bottom: 1px solid var(--ink-line);
}
.post-meta__avatar, .post-meta img { border-radius: 50%; box-shadow: 0 0 0 2px var(--orange); }
.post-featured { border-radius: var(--r-lg); overflow: hidden; margin: var(--sp-5) 0 var(--sp-6); box-shadow: var(--sh-card); aspect-ratio: 16 / 9; background: var(--ink-2); }
.post-featured img { width: 100%; height: 100%; object-fit: cover; }

.post-content { font-size: 1.08rem; line-height: 1.8; color: #CBD2DD; overflow-wrap: break-word; }
.post-content > * { max-width: 100%; }
.post-content iframe, .post-content video { max-width: 100%; }
.post-content h2 {
  margin-top: var(--sp-7); font-size: 2.1rem; font-weight: 800;
  padding-left: var(--sp-4); border-left: 5px solid var(--orange);
  line-height: 1.05;
}
.post-content h3 { margin-top: var(--sp-6); font-size: 1.6rem; }
.post-content :is(p, li, blockquote, figcaption) > a,
.post-content :is(p, li) > :is(strong, em) > a { color: var(--orange-soft); border-bottom: 1px solid rgba(255,122,69,.45); }
.post-content :is(p, li, blockquote, figcaption) > a:hover,
.post-content :is(p, li) > :is(strong, em) > a:hover { color: var(--amber); border-bottom-color: var(--amber); }
.post-content blockquote {
  margin: var(--sp-6) 0; padding: var(--sp-5) var(--sp-6);
  border-left: 0; position: relative;
  background: linear-gradient(120deg, rgba(232,85,30,.12), var(--ink-2) 60%);
  border-radius: var(--r-md);
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; font-style: italic;
  line-height: 1.25; color: var(--t-strong);
}
.post-content blockquote::before {
  content: "“"; position: absolute; top: -18px; left: 18px;
  font-family: var(--f-display); font-size: 5rem; line-height: 1; color: var(--orange);
}
.post-content blockquote p:last-child { margin-bottom: 0; }
.post-content img { border-radius: var(--r-md); }
.post-content ul li::marker { color: var(--orange); }
.post-content ol li::marker { color: var(--orange); font-weight: 700; }
/* Editor tables only — plugin tables (points table, stats) keep their own layout */
.post-content > table, .post-content .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: var(--sp-5) 0; }
.post-content > table th, .post-content .wp-block-table th { background: var(--ink-3); color: var(--t-strong); font-family: var(--f-label); text-transform: uppercase; letter-spacing: .06em; text-align: left; }
.post-content > table :is(th, td), .post-content .wp-block-table :is(th, td) { padding: .7em 1em; border-bottom: 1px solid var(--ink-line); }
.post-content > table tr:hover td, .post-content .wp-block-table tr:hover td { background: rgba(255,255,255,.02); }
.post-content .wp-block-table { overflow-x: auto; }

.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--blaze); z-index: 400;
  box-shadow: 0 0 12px var(--orange-glow);
}

/* Review scorecard — scoreboard styling */
.scorecard {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg); padding: var(--sp-6); margin: var(--sp-6) 0;
  position: relative; overflow: hidden;
}
.scorecard::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--blaze); }
.scorecard__verdict {
  font-family: var(--f-display); font-size: 1.7rem; font-weight: 800; font-style: italic;
  text-transform: uppercase;
  color: var(--t-strong); margin-bottom: var(--sp-4);
}
.score-row { display: grid; grid-template-columns: 140px 1fr 42px; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.score-row__label { font-family: var(--f-label); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--t-muted); }
.score-row__bar { height: 10px; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden; transform: skewX(-20deg); }
.score-row__fill { display: block; height: 100%; background: var(--blaze); border-radius: 2px; }
.score-row__num { font-family: var(--f-display); font-size: 1.25rem; font-weight: 800; color: var(--t-strong); text-align: right; font-variant-numeric: tabular-nums; }
.scorecard__total {
  display: flex; align-items: center; gap: var(--sp-3);
  padding-top: var(--sp-4); margin-top: var(--sp-2);
  border-top: 1px solid var(--ink-line);
}
.scorecard__big {
  font-family: var(--f-display); font-size: 3.6rem; font-weight: 800; font-style: italic; line-height: 1;
  background: var(--blaze); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
@media (max-width: 560px) { .score-row { grid-template-columns: 100px 1fr 36px; } }

/* Author box */
.author-bio {
  display: grid; grid-template-columns: 88px 1fr; gap: var(--sp-4);
  background: var(--ink-2); border: 1px solid var(--ink-line);
  border-radius: var(--r-lg); padding: var(--sp-5); margin: var(--sp-8) 0;
}
.author-bio__avatar, .author-bio img { border-radius: 50%; box-shadow: 0 0 0 3px var(--orange); }
.author-bio__name { font-size: 1.4rem; margin-bottom: var(--sp-1); }
@media (max-width: 560px) { .author-bio { grid-template-columns: 1fr; } }

/* Tags */
.post-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-5) 0; }
.post-tags a {
  font-family: var(--f-label); font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: .4em 1em; border-radius: var(--r-full);
  background: var(--ink-2); border: 1px solid var(--ink-line); color: var(--t-body);
  transition: all .2s var(--ease);
}
.post-tags a::before { content: "#"; color: var(--orange); margin-right: 2px; }
.post-tags a:hover { border-color: var(--orange); color: #fff; background: rgba(232,85,30,.14); }

/* ============================================================
   12. ARCHIVES
   ============================================================ */
.archive-hero { padding: var(--sp-8) 0 var(--sp-3); position: relative; }
.archive-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; font-style: italic;
  text-transform: uppercase; line-height: .92;
}
.archive-hero__desc { color: var(--t-muted); max-width: 64ch; }
.archive-hero__count {
  display: inline-block;
  font-family: var(--f-label); font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange-soft);
  margin-bottom: var(--sp-2);
}

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--sp-2); padding: var(--sp-8) 0 0; }
.pagination .page-numbers {
  font-family: var(--f-display); font-size: 1.1rem; font-weight: 700;
  min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--ink-line);
  color: var(--t-body); padding: 0 var(--sp-3); background: var(--ink-2);
}
.pagination .page-numbers.current { background: var(--btn); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -8px var(--orange-glow); }
.pagination a.page-numbers:hover { border-color: var(--orange); color: var(--t-strong); }

.load-more-btn {
  display: block; margin: var(--sp-8) auto 0;
  background: transparent; border: 2px solid var(--orange);
  color: var(--t-strong); font-family: var(--f-label); font-weight: 700;
  font-size: .88rem; text-transform: uppercase; letter-spacing: .12em;
  padding: .9em 2.6em; border-radius: var(--r-full); cursor: pointer;
  transition: all .2s var(--ease);
}
.load-more-btn:hover { background: var(--btn); border-color: transparent; color: #fff; box-shadow: var(--sh-glow); }

/* ============================================================
   13. SIDEBAR / WIDGETS
   ============================================================ */
.with-sidebar { display: grid; grid-template-columns: 1fr 340px; gap: var(--sp-8); }
@media (max-width: 1000px) { .with-sidebar { grid-template-columns: 1fr; } }
.widget {
  background: var(--ink-2); border: 1px solid var(--ink-line);
  border-radius: var(--r-md); padding: var(--sp-5); margin-bottom: var(--sp-5);
}
.widget__title, .widget .widget-title, .widget h2, .widget h3.wp-block-heading {
  display: flex; align-items: center; gap: .6em;
  font-family: var(--f-display); font-size: 1.35rem; font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .01em; color: var(--t-strong);
  margin-bottom: var(--sp-4);
}
.widget__title::before { content: ""; width: 10px; height: 18px; background: var(--orange); transform: skewX(-20deg); flex: none; }
.widget ul { list-style: none; margin: 0; padding: 0; counter-reset: wli; }
.widget li { padding: var(--sp-3) 0; border-bottom: 1px solid var(--ink-line); line-height: 1.35; }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--t-body); font-weight: 500; }
.widget a:hover { color: var(--orange-soft); }
.widget .rule__link { margin-top: var(--sp-3); }
.widget__date {
  display: block; margin-top: 2px;
  font-family: var(--f-label); font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--electric-soft);
}
.mini-list { list-style: none; margin: 0; padding: 0; counter-reset: mini; }
.widget .mini-story {
  counter-increment: mini;
  display: grid; grid-template-columns: 84px 1fr; gap: var(--sp-3); align-items: center;
  padding: var(--sp-3) 0;
}
.mini-story__img {
  position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--ink-3);
}
.mini-story__img img, .mini-story__img .thumb-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-story__img .thumb-fallback__mark { font-size: 1.1rem; }
.mini-story__img .thumb-fallback__cat { display: none; }
.mini-story__img::after {
  content: counter(mini); position: absolute; left: 0; top: 0;
  font-family: var(--f-display); font-weight: 800; font-style: italic; font-size: .85rem; line-height: 1;
  padding: 3px 7px 3px 5px; background: var(--orange); color: #fff;
  clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}
.widget a.mini-story__title {
  font-size: .93rem; font-weight: 600; line-height: 1.3; color: var(--t-strong);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.widget a.mini-story__title:hover { color: var(--orange-soft); }

/* ============================================================
   14. AD SLOTS
   ============================================================ */
.ad-slot {
  display: block; width: 100%; max-width: 100%;
  margin: var(--sp-6) auto; text-align: center;
  min-height: var(--ad-min, 0px);
  overflow: hidden; clear: both;
}
.ad-slot__label {
  display: block; margin-bottom: 6px;
  font-family: var(--f-label); font-size: .62rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--t-muted); opacity: .7;
}
.ad-slot ins.adsbygoogle { margin-inline: auto; }
/* Reserve space so content doesn't jump when the ad loads (CLS) */
.ad-slot--leaderboard { --ad-min: 112px; }
.ad-slot--row         { --ad-min: 112px; }
.ad-slot--in-article,
.ad-slot--end-article { --ad-min: 300px; }
.ad-slot--sticky      { --ad-min: 620px; width: 300px; margin: 0 auto var(--sp-5); }
.ad-slot--sticky ins.adsbygoogle { width: 300px; min-height: 250px; }
@media (max-width: 760px) {
  .ad-slot--leaderboard, .ad-slot--row { --ad-min: 280px; }
}
/* Collapse units AdSense left empty */
.ad-slot:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
/* In-article units sit in the text column with a hairline above and below */
.post-content .ad-slot--in-article {
  padding: var(--sp-3) 0; border-block: 1px solid var(--ink-line);
}
/* Full-row ad inside card grids */
.grid-ad { grid-column: 1 / -1; }
.grid-ad:empty { display: none; }
.grid-ad .ad-slot { margin: 0; }
.section--paper .ad-slot__label { color: var(--t-ink-muted); }

/* ============================================================
   15. YOUTUBE FEED
   ============================================================ */
.yt-feed { padding: var(--sp-8) 0; }
.yt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
@media (max-width: 1000px) { .yt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .yt-grid { grid-template-columns: 1fr; } }
.yt-card {
  border-radius: var(--r-md); overflow: hidden; background: var(--ink-2); border: 1px solid var(--ink-line);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.yt-card:hover { border-color: rgba(255,46,77,.6); transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(255,46,77,.45); }
.yt-card__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.yt-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.yt-card:hover .yt-card__thumb img { transform: scale(1.06); }
.yt-card__thumb::after {
  content: "▶"; position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding-left: 4px;
  font-size: 1.1rem; color: #fff;
  background: var(--live); box-shadow: 0 0 0 8px rgba(255,46,77,.25);
  opacity: 0; transform: scale(.8); transition: all .25s var(--ease);
}
.yt-card:hover .yt-card__thumb::after { opacity: 1; transform: scale(1); }
.yt-card__title { font-size: .95rem; padding: var(--sp-3) var(--sp-4) var(--sp-4); color: var(--t-strong); font-weight: 600; line-height: 1.35; font-family: var(--f-body); }

/* ============================================================
   16. FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background:
    radial-gradient(900px 300px at 50% 0%, rgba(232,85,30,.10), transparent 70%),
    #05070B;
  margin-top: var(--sp-10); padding: 0 0 var(--sp-5);
  overflow: hidden;
}
/* Giant watermark wordmark */
.site-footer::after {
  content: "SPICEBITE"; position: absolute; left: 50%; bottom: -0.18em; transform: translateX(-50%);
  font-family: var(--f-display); font-weight: 800; font-style: italic;
  font-size: clamp(5rem, 18vw, 16rem); line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.045);
  pointer-events: none; white-space: nowrap;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sp-6); padding-top: var(--sp-8); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo-word { font-size: 2rem; display: inline-block; margin-bottom: var(--sp-3); }
.footer-brand p { color: var(--t-muted); font-size: .94rem; max-width: 36ch; }
.footer-col h4 {
  font-family: var(--f-display); font-size: 1.15rem; font-weight: 800; font-style: italic;
  letter-spacing: .02em; text-transform: uppercase; color: var(--t-strong); margin-bottom: var(--sp-3);
  display: flex; align-items: center; gap: .5em;
}
.footer-col h4::before { content: ""; width: 8px; height: 14px; background: var(--orange); transform: skewX(-20deg); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: var(--sp-2); }
.footer-col a { color: var(--t-body); font-size: .94rem; display: inline-block; transition: color .2s, transform .2s var(--ease); }
.footer-col a:hover { color: var(--orange-soft); transform: translateX(3px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-3);
  margin-top: var(--sp-8); padding-top: var(--sp-4);
  border-top: 1px solid var(--ink-line);
  font-size: .86rem; font-weight: 600; color: var(--t-muted); font-family: var(--f-label);
  letter-spacing: .04em;
}
.back-to-top {
  position: fixed; bottom: var(--sp-5); right: var(--sp-5); z-index: 150;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--btn); color: #fff; border: 0; cursor: pointer;
  font-size: 1.15rem; font-weight: 700; box-shadow: var(--sh-glow), var(--sh-card);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s var(--ease);
}
.back-to-top:hover { filter: brightness(1.12); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.footer-rule { height: 4px; background: var(--blaze); margin-bottom: 0; }
.footer-social { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--ink-line); color: var(--t-body); background: rgba(255,255,255,.03);
  transition: all .2s var(--ease);
}
.footer-social a:hover { color: #fff; border-color: transparent; background: var(--btn); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

/* ============================================================
   16B. MOBILE BOTTOM NAV DOCK
   ============================================================ */
.bottom-dock {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 200;
  display: none;
  background: rgba(16,20,28,.9); backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
  padding: 4px 6px;
  margin-bottom: env(safe-area-inset-bottom, 0px);
}
.dock-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  flex: 1; padding: 8px 2px 6px;
  background: none; border: 0; cursor: pointer;
  color: var(--t-muted);
  font-family: var(--f-label); font-size: .66rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  border-radius: 14px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.dock-item svg { width: 21px; height: 21px; }
.dock-item:hover { color: var(--t-strong); }
.dock-item.is-active { color: #fff; background: rgba(232,85,30,.18); position: relative; }
.dock-item.is-active svg { color: var(--orange-soft); }
.dock-item.is-active::before {
  content: ""; position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--blaze);
}

@media (max-width: 980px) {
  .bottom-dock { display: flex; }
  body { padding-bottom: 86px; }
  .back-to-top { bottom: 100px; right: var(--sp-4); }
}

/* ============================================================
   17. 404 / SEARCH / MISC
   ============================================================ */
.page-404 { text-align: center; padding: var(--sp-10) 0; }
.page-404 h1 {
  font-size: clamp(5rem, 18vw, 12rem); font-weight: 800; font-style: italic; line-height: .9;
  background: var(--blaze); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.search-form-inline { display: flex; gap: var(--sp-2); max-width: 520px; margin: var(--sp-5) auto; }
.search-form-inline input[type="search"] {
  flex: 1; min-width: 0; background: var(--ink-2); border: 1px solid var(--ink-line);
  border-radius: 12px; color: var(--t-strong); padding: var(--sp-3) var(--sp-4);
  font-family: var(--f-body); font-size: 1rem;
  transition: border-color .2s;
}
.search-form-inline input[type="search"]:focus { border-color: var(--orange); outline: none; }
.search-form-inline button {
  background: var(--btn); border: 0; color: #fff; border-radius: 12px;
  padding: 0 var(--sp-5); font-family: var(--f-label); font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .08em; cursor: pointer;
}
.search-form-inline button:hover { filter: brightness(1.1); }

/* Comments */
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea {
  width: 100%; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 12px;
  color: var(--t-strong); padding: var(--sp-3) var(--sp-4); font-family: var(--f-body);
}
.comment-respond input:focus, .comment-respond textarea:focus { border-color: var(--orange); outline: none; }
.comment-respond .submit {
  background: var(--btn); color: #fff; border: 0; border-radius: var(--r-full);
  padding: .8em 2em; font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; cursor: pointer;
}

/* WP core compat */
.alignwide { max-width: var(--container); margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: .84rem; color: var(--t-muted); text-align: center; padding: var(--sp-2) 0; }
.wp-block-button__link { background: var(--btn); color: #fff; border-radius: var(--r-full); font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.sticky {}
.bypostauthor {}
.gallery-caption {}

/* v2.9 — archive sidebar shares the sticky sidebar behaviour */
.with-sidebar { grid-template-columns: minmax(0, 1fr) var(--sidebar-w); }
.with-sidebar > .single-layout__side { padding-top: 0; }
@media (max-width: 1000px) { .with-sidebar { grid-template-columns: minmax(0, 1fr); } }
