/* ==========================================================================
   Fliksho Design Tokens: Hybrid Light & Anti-Halation Dark Mode
   ========================================================================== */
:root {
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --border-subtle: #e2e8f0;
  --border-active: #cbd5e1;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --brand-accent: #d97706; /* Cinema Trade Amber */
  --brand-blue: #2563eb;
  --badge-bg: #f1f5f9;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 9999px;
  --bezier-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --content-max-w: 1140px;
}

[data-theme="dark"] {
  --bg-canvas: #0c1017;       /* Softened deep midnight prevents ocular halation */
  --bg-surface: #141b27;      /* Subtle layered surface */
  --bg-elevated: #1a2333;     /* Raised elements / cards */
  --border-subtle: #242e42;   /* Balanced, readable borders */
  --border-active: #374763;
  --text-main: #f1f5f9;       /* Off-white text to stop optical glare */
  --text-muted: #94a3b8;
  --brand-accent: #f59e0b;    /* Warm cinema accent */
  --brand-blue: #3b82f6;
  --badge-bg: #1e293b;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.22s var(--bezier-spring), color 0.22s var(--bezier-spring);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Desktop & Tablet Header Shell & Reading Progress Line
   ========================================================================== */
.fliksho-header-root {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Unobtrusive Scroll Progress Line */
.reading-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background-color: var(--brand-accent);
  transition: width 0.08s ease-out;
  z-index: 1001;
}

.header-container {
  max-width: var(--content-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.dt-top-inner {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  white-space: nowrap;
}

.brand-name-accent {
  color: var(--brand-accent);
}

.dt-actions-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Command Palette Inactive Trigger Pill */
.cmd-search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  width: 100%;
  max-width: 360px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s var(--bezier-spring);
}

.cmd-search-trigger:hover {
  border-color: var(--border-active);
  background: var(--bg-elevated);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-lens-icon {
  flex-shrink: 0;
  color: var(--text-muted);
}

.cmd-trigger-placeholder {
  font-size: 13.5px;
  font-weight: 500;
  flex-grow: 1;
  text-align: left;
}

.cmd-kbd-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.cmd-kbd-shortcut kbd {
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Theme Switcher Button */
.theme-toggle-btn {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--text-main);
}

.theme-toggle-btn .sun-icon { display: none; }
.theme-toggle-btn .moon-icon { display: block; }
[data-theme="dark"] .theme-toggle-btn .sun-icon { display: block; }
[data-theme="dark"] .theme-toggle-btn .moon-icon { display: none; }

/* Sub Navigation Bar */
.dt-bottom-tier {
  height: 44px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
}

.centered-nav {
  width: 100%;
}

.nav-tier-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-tier-list li a {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  padding: 6px 4px;
  transition: color 0.18s ease;
}

.nav-tier-list li a:hover {
  color: var(--brand-accent);
}

.nav-tier-list li.current-menu-item > a,
.nav-tier-list li.current_page_item > a {
  color: var(--text-main);
  font-weight: 700;
}

.mob-header-shell {
  display: none;
}

/* ==========================================================================
   Mobile Header & Slide-over Drawer (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .dt-header-shell {
    display: none;
  }
  .mob-header-shell {
    display: block;
    position: relative;
  }
  .mob-header-inner {
    height: 58px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface);
  }
  .mob-controls-area {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .mob-icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: var(--radius-pill);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-color 0.18s ease, transform 0.15s var(--bezier-spring);
    padding: 0;
  }
  .mob-icon-btn:active {
    transform: scale(0.92);
    background-color: var(--bg-canvas);
  }
  .mob-theme-btn .sun-icon { display: none; }
  .mob-theme-btn .moon-icon { display: block; }
  [data-theme="dark"] .mob-theme-btn .sun-icon { display: block; }
  [data-theme="dark"] .mob-theme-btn .moon-icon { display: none; }

  .mob-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }
  .mob-hamburger .ham-line {
    width: 19px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: transform 0.24s var(--bezier-spring), opacity 0.2s ease;
    transform-origin: center;
  }
  .mob-hamburger[aria-expanded="true"] .line-1 {
    transform: translateY(3.5px) rotate(45deg);
  }
  .mob-hamburger[aria-expanded="true"] .line-2 {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .mob-drawer-backdrop {
    position: fixed;
    top: 58px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 58px);
    height: calc(100dvh - 58px);
    background: rgba(12, 16, 23, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
  }
  .mob-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .mob-drawer-panel {
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px 22px 30px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    transform: translateY(-10px);
    transition: transform 0.24s var(--bezier-spring);
  }
  .mob-drawer-backdrop.is-open .mob-drawer-panel {
    transform: translateY(0);
  }
  .mob-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .mob-nav-list li a {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-main);
    display: block;
    transition: color 0.15s ease;
  }
  .mob-nav-list li a:active {
    color: var(--brand-accent);
  }
}

/* ==========================================================================
   Command Palette Modal UI
   ========================================================================== */
.cmd-palette-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(12, 16, 23, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  contain: layout;
}

.cmd-palette-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cmd-palette-box {
  width: 100%;
  max-width: 620px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: transform 0.22s var(--bezier-spring);
}

.cmd-palette-backdrop.is-open .cmd-palette-box {
  transform: translateY(0) scale(1);
}

.cmd-palette-input-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.cmd-input-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.cmd-palette-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  outline: none;
}

.cmd-clear-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.cmd-esc-hint {
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--text-muted);
  cursor: pointer;
}

.cmd-palette-results-slot {
  max-height: 420px;
  overflow-y: auto;
  padding: 12px 14px;
}

.search-start-hint {
  padding: 32px 16px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.live-search-results-list {
  display: flex;
  flex-direction: column;
}

.live-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
  text-decoration: none;
}

.live-search-row:hover {
  background-color: var(--bg-canvas);
}

.row-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.row-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
}

.row-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.row-aura-pill {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 14px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  color: #fff;
  flex-shrink: 0;
}

.aura-alpha { background: #2563eb; }
.aura-beta  { background: #059669; }
.aura-gamma { background: #d97706; }
.aura-delta { background: #dc2626; }

@media (max-width: 768px) {
  .cmd-palette-backdrop {
    padding: 12px 10px !important;
    align-items: flex-start !important;
  }
  .cmd-palette-box {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 12px !important;
  }
  .cmd-palette-input-bar {
    padding: 12px 14px !important;
  }
  .cmd-palette-input {
    font-size: 15px !important;
  }
  .cmd-esc-hint {
    display: none !important;
  }
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

/* ==========================================================================
   Editorial Single Story Architecture
   ========================================================================== */
.editorial-container {
  max-width: var(--content-max-w);
  margin: 48px auto;
  padding: 0 24px;
}

.has-sidebar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}

.fullwidth-reading {
  max-width: 760px;
  margin: 48px auto;
}

.article-tags-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.badge-flag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #dc2626;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.2;
}

.text-category-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.article-headline {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin: 0 0 12px 0;
}

.article-deck {
  font-size: 19px;
  line-height: 1.46;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  margin: 0 0 26px 0;
}

/* 1. Byline & Action Strip */
.editorial-byline-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin-bottom: 24px;
}

.byline-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.author-link {
  color: var(--text-main);
  font-weight: 700;
  transition: color 0.15s ease;
}

.author-link:hover {
  color: var(--brand-blue);
}

.byline-sep {
  opacity: 0.4;
  font-size: 10px;
}

.byline-social-line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.share-btn-minimal {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  border-radius: var(--radius-sm);
}

.share-btn-minimal:hover {
  color: var(--text-main);
  transform: translateY(-1px);
}

/* 2. Micro-Spec Vertical Strip */
.cinema-specs-vertical {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 28px 0;
  padding: 2px 0 2px 14px;
  border-left: 1px solid var(--border-subtle);
}

.spec-col-row {
  display: flex;
  align-items: baseline;
  font-size: 13.5px;
}

.spec-label {
  width: 86px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spec-val {
  color: var(--text-main);
  font-weight: 600;
}

/* 3. Lead Media */
.article-lead-image {
  margin: 0 0 36px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.article-lead-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 4. Article Prose, Typography & Universal Responsive Embeds */
.article-body-prose {
  font-size: 18px;
  line-height: 1.78;
  color: var(--text-main);
  word-break: break-word;
}

.article-body-prose p {
  margin: 0 0 1.6em 0;
}

.article-body-prose p:last-child {
  margin-bottom: 0;
}

/* Editorial Blockquotes & Pullquotes */
.article-body-prose blockquote {
  border-left: 3.5px solid var(--brand-accent);
  padding: 8px 0 8px 24px;
  margin: 36px 0;
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-main);
}

.article-body-prose blockquote p {
  margin-bottom: 0;
}

.article-body-prose blockquote cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Gutenberg Large Pullquote Support */
.article-body-prose .wp-block-pullquote {
  border-top: 2px solid var(--border-subtle);
  border-bottom: 2px solid var(--border-subtle);
  padding: 32px 16px;
  margin: 44px 0;
  text-align: center;
}

.article-body-prose .wp-block-pullquote blockquote {
  border-left: none;
  padding: 0;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Universal Embeds Container Shield */
.article-body-prose iframe,
.article-body-prose embed,
.article-body-prose object,
.article-body-prose video {
  max-width: 100%;
}

/* YouTube & Video Aspect Ratio Lock */
.article-body-prose figure.wp-block-embed-youtube,
.article-body-prose .wp-block-embed__wrapper iframe[src*="youtube.com"],
.article-body-prose .wp-block-embed__wrapper iframe[src*="youtu.be"] {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 28px 0;
}

/* Instagram & Twitter / X Responsive Centering & Auto-fit */
.article-body-prose .instagram-media,
.article-body-prose blockquote.instagram-media,
.article-body-prose .twitter-tweet,
.article-body-prose blockquote.twitter-tweet {
  margin: 28px auto !important;
  max-width: 550px !important;
  width: 100% !important;
  min-width: 280px !important;
}

/* General WP Embed Figure Reset */
.article-body-prose figure.wp-block-embed {
  margin: 28px 0;
  width: 100%;
}

/* 5. Editorial Verdict Card */
.editorial-verdict-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 40px 0 32px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.editorial-verdict-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3.5px;
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
}

.editorial-verdict-card.aura-tier-alpha::before { background: #2563eb; }
.editorial-verdict-card.aura-tier-beta::before  { background: #059669; }
.editorial-verdict-card.aura-tier-gamma::before { background: #d97706; }
.editorial-verdict-card.aura-tier-delta::before { background: #dc2626; }

.verdict-content-side {
  flex: 1;
  min-width: 0;
}

.verdict-tag {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.verdict-text {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-main);
  margin: 0;
}

.verdict-aura-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.aura-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.aura-glyph-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.aura-glyph-badge.aura-tier-alpha { color: #2563eb; border-color: rgba(37, 99, 235, 0.3); }
.aura-glyph-badge.aura-tier-beta  { color: #059669; border-color: rgba(5, 150, 105, 0.3); }
.aura-glyph-badge.aura-tier-gamma { color: #d97706; border-color: rgba(217, 119, 6, 0.3); }
.aura-glyph-badge.aura-tier-delta { color: #dc2626; border-color: rgba(220, 38, 38, 0.3); }

.glyph-symbol {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

/* 6. Adjacent Story Navigation */
.story-adjacent-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 44px 0 24px 0;
  padding-top: 0;
}

.nav-direction.nav-next {
  text-align: right;
}

.dir-hint {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.dir-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  transition: color 0.15s ease;
}

.adjacent-link:hover .dir-title {
  color: var(--brand-accent);
}

@media (max-width: 1024px) {
  .has-sidebar-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .editorial-container {
    padding: 0 18px;
    margin: 32px auto;
  }
  .editorial-byline-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .editorial-verdict-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
  }
  .verdict-aura-side {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
}

/* ==========================================================================
   Clean Unified Archive Pages (Category, Author, Search)
   ========================================================================= */
.archive-container {
  max-width: 760px;
  margin: 48px auto;
  padding: 0 24px;
}

.archive-headline-bar {
  margin-bottom: 28px;
  border-bottom: none;
  padding-bottom: 0;
}

.archive-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 14px;
}

.time-range-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.time-range-pills-row::-webkit-scrollbar {
  display: none;
}

.range-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.15s ease;
}

.range-pill.is-active, .range-pill:hover {
  background: var(--text-main);
  color: var(--bg-canvas);
  border-color: var(--text-main);
}

.archive-stream-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.archive-row-item {
  border-bottom: none;
}

.row-permalink {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.row-permalink:hover {
  background-color: var(--bg-surface);
}

.row-permalink:hover .row-title {
  color: var(--brand-accent);
}

.row-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  transition: color 0.15s ease;
}

.row-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .archive-container {
    padding: 0 18px;
    margin: 32px auto;
  }
  .row-permalink {
    padding: 10px 0;
  }
}

/* Numeric Circle Capsule Pagination */
.circle-capsule-pagination {
  margin: 44px 0 20px 0;
  display: flex;
  justify-content: center;
}

.capsule-track {
  display: inline-flex;
  gap: 8px;
}

.capsule-slot .page-numbers {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.capsule-slot .page-numbers.current {
  background: var(--text-main);
  color: var(--bg-canvas);
  border-color: var(--text-main);
}

/* Upcoming Radar Strip */
.fliksho-countdown-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px 0;
}

.strip-container {
  max-width: var(--content-max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.strip-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
}

.strip-track {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.strip-track::-webkit-scrollbar {
  display: none;
}

.radar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  white-space: nowrap;
}

.pill-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #d97706;
}

.pill-text {
  font-size: 12.5px;
  font-weight: 600;
}

/* Footer Legal Only */
.fliksho-global-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
  background: var(--bg-canvas);
}

.footer-legal-bar {
  max-width: var(--content-max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright-notice {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-social-strip {
  display: flex;
  gap: 10px;
}

.social-chip {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.social-chip:hover {
  color: var(--text-main);
  border-color: var(--text-main);
}

@media (max-width: 640px) {
  .footer-legal-bar {
    flex-direction: column-reverse;
    gap: 18px;
    text-align: center;
    justify-content: center;
  }
  .copyright-notice {
    font-size: 12.5px;
    order: 2;
  }
  .footer-social-strip {
    justify-content: center;
    order: 1;
  }
}

/* Floating Back to Top Button */
.back-to-top-capsule {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--text-main);
  color: var(--bg-canvas);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s var(--bezier-spring);
  z-index: 990;
}

.back-to-top-capsule.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Adaptive Gutenberg Blocks (Grid, List, Hero)
   ========================================================================== */
.fliksho-block-container.block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 32px 0;
}

.fliksho-block-container.block-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.fliksho-block-container.block-hero .fliksho-card-item {
  display: grid;
  grid-template-columns: 1fr;
  margin: 32px 0;
}

.fliksho-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--bezier-spring), border-color 0.2s ease;
}

.fliksho-card-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
}

.fliksho-card-item .card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.fliksho-card-item .card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.card-badge {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.card-excerpt {
  font-size: 13.5px;
  color: var(--text-muted);
}

.card-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
}

/* Time Filter Single Dropdown Pill */
.time-filter-dropdown-wrap {
  display: inline-flex;
  margin-top: 12px;
}

.filter-dropdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  cursor: pointer;
  color: var(--text-main);
  transition: border-color 0.2s ease;
}

.filter-dropdown-pill:hover {
  border-color: var(--border-active);
}

.filter-dropdown-pill select {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
}

/* Minimal Editorial Breadcrumbs */
.editorial-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.editorial-breadcrumbs .crumb-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.editorial-breadcrumbs .crumb-link:hover {
  color: var(--text-main);
}

.editorial-breadcrumbs .crumb-sep {
  opacity: 0.35;
  font-size: 10px;
}

.editorial-breadcrumbs .crumb-current {
  color: var(--text-main);
  opacity: 0.75;
}

/* ==========================================================================
   Monetization & AdSlot CLS Shield
   ========================================================================== */
.header-ad-banner {
  min-height: 90px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot-incontent {
  min-height: 250px;
  width: 100%;
  margin: 28px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  clear: both;
}

/* Sticky Desktop Sidebar Ad Unit */
.ad-slot-sidebar-sticky {
  position: sticky;
  top: 80px;
  min-height: 250px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-top: 12px;
}

.ad-slot-sidebar-sticky .ad-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Mobile Sticky Bottom Anchor Ad Unit (320x50) */
.fliksho-mobile-anchor-wrapper {
  display: none;
}

@media (max-width: 768px) {
  .fliksho-mobile-anchor-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding: 6px 12px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    min-height: 60px;
  }

  .fliksho-mobile-anchor-wrapper .anchor-close-btn {
    position: absolute;
    top: -24px;
    right: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    width: 26px;
    height: 24px;
    font-size: 16px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}