/**
 * Filmy4Web Org - Sunset Noir Design System
 * Master Stylesheet & Component Architecture
 * Namespace: f4b-
 * Version: 2.0.0
 */

/* ── 1. CSS VARIABLES & DESIGN TOKENS ── */
:root {
  /* Canvas & Surface Base */
  --f4b-bg-canvas: #0b0d13;
  --f4b-bg-surface: #131722;
  --f4b-bg-elevated: #1a2030;
  --f4b-bg-glass: rgba(19, 23, 34, 0.88);

  /* The Signature Sunset Flare Accents */
  --f4b-sunset-coral: #ff5e62;
  --f4b-sunset-amber: #ff9966;
  --f4b-sunset-gradient: linear-gradient(135deg, #ff5e62 0%, #ff9966 100%);
  --f4b-sunset-glow: rgba(255, 94, 98, 0.28);

  /* Semantic Editorial Tokens */
  --f4b-critic-green: #00f2a1;
  --f4b-critic-gold: #fbb03b;
  --f4b-critic-red: #ff4757;
  --f4b-spoiler-purple: #8b5cf6;

  /* Streaming Platform Identifiers */
  --f4b-platform-netflix: #e50914;
  --f4b-platform-prime: #00a8e1;
  --f4b-platform-hotstar: #1280d8;
  --f4b-platform-cinema: #f59e0b;

  /* Typography Families */
  --f4b-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f4b-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f4b-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Typography Colors (WCAG AAA Contrast Baseline) */
  --f4b-text-headline: #f8fafc;
  --f4b-text-body: #cbd5e1;
  --f4b-text-muted: #94a3b8;
  --f4b-text-dim: #64748b;

  /* Hairline Borders */
  --f4b-border-subtle: rgba(255, 255, 255, 0.08);
  --f4b-border-medium: rgba(255, 255, 255, 0.16);
  --f4b-border-accent: rgba(255, 94, 98, 0.45);

  /* Geometry & Radius */
  --f4b-radius-sm: 4px;
  --f4b-radius-md: 8px;
  --f4b-radius-lg: 12px;
  --f4b-radius-chamfer: 14px 2px 14px 2px;
  --f4b-radius-full: 9999px;

  /* Container width */
  --f4b-container-max: 1240px;
}

/* ── 2. GLOBAL RESET & BASE RULES ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--f4b-font-display);
  background-color: var(--f4b-bg-canvas);
  color: var(--f4b-text-body);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--f4b-font-display);
  background-color: var(--f4b-bg-canvas);
  color: var(--f4b-text-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── 3. DEFENSIVE CLAMPING UTILITIES ── */
.f4b-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.f4b-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.f4b-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 4. LAYOUT CONTAINERS ── */
.f4b-container {
  width: 100%;
  max-width: var(--f4b-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.f4b-main-wrapper {
  flex: 1 0 auto;
  padding-top: 24px;
  padding-bottom: 60px;
}

/* ── 5. TOP PROGRESS BAR ── */
#f4b-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--f4b-sunset-gradient);
  box-shadow: 0 0 8px var(--f4b-sunset-coral);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* ── 6. HEADER & RADAR TICKER ── */
.f4b-site-header {
  background: var(--f4b-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--f4b-border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.f4b-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}

.f4b-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.f4b-brand-logo:hover {
  opacity: 0.9;
}

.f4b-logo-mark {
  font-family: var(--f4b-font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #cbd5e1;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: initial;
  transition: color 0.2s ease;
}

.f4b-brand-logo:hover .f4b-logo-mark {
  color: #ffffff;
}

.f4b-logo-pill {
  font-family: var(--f4b-font-mono, monospace);
  font-size: 9.5px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  transition: all 0.2s ease;
}

.f4b-brand-logo:hover .f4b-logo-pill {
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
}

.f4b-header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.f4b-nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--f4b-text-muted);
  transition: color 0.2s ease;
}

.f4b-nav-link:hover, .f4b-nav-link.active {
  color: var(--f4b-text-headline);
}

.f4b-nav-link.f4b-highlight {
  color: var(--f4b-sunset-coral);
}

.f4b-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.f4b-header-search-form {
  display: flex;
  align-items: center;
  background: var(--f4b-bg-elevated);
  border: 1px solid var(--f4b-border-subtle);
  border-radius: var(--f4b-radius-full);
  padding: 4px 6px 4px 14px;
  transition: all 0.25s ease;
}

.f4b-header-search-form:focus-within {
  border-color: var(--f4b-sunset-coral);
  box-shadow: 0 0 10px var(--f4b-sunset-glow);
}

.f4b-header-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--f4b-text-headline);
  font-size: 13px;
  width: 170px;
  transition: width 0.25s ease;
}

.f4b-header-search-input::placeholder {
  color: var(--f4b-text-dim);
}

.f4b-header-search-form:focus-within .f4b-header-search-input {
  width: 220px;
}

.f4b-search-submit-btn {
  background: transparent;
  border: none;
  color: var(--f4b-text-muted);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 14px;
  border-radius: var(--f4b-radius-full);
  transition: color 0.2s ease;
}

.f4b-search-submit-btn:hover {
  color: var(--f4b-sunset-coral);
}

.f4b-mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--f4b-text-headline);
  font-size: 24px;
  cursor: pointer;
  padding: 6px;
}

/* Radar Platform Bar */
.f4b-ticker-bar {
  background: var(--f4b-bg-surface);
  border-bottom: 1px solid var(--f4b-border-subtle);
  padding: 8px 0;
  font-size: 13px;
}

.f4b-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.f4b-ticker-inner::-webkit-scrollbar {
  display: none;
}

.f4b-radar-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--f4b-sunset-coral);
  letter-spacing: 0.05em;
}

.f4b-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--f4b-sunset-coral);
  box-shadow: 0 0 6px var(--f4b-sunset-coral);
  animation: f4bPulse 1.8s infinite ease-in-out;
}

@keyframes f4bPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.f4b-platform-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.f4b-filter-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--f4b-radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--f4b-border-subtle);
  color: var(--f4b-text-muted);
  transition: all 0.2s ease;
}

.f4b-filter-pill:hover, .f4b-filter-pill.active {
  background: var(--f4b-sunset-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px var(--f4b-sunset-glow);
}

/* ── Precision SVG Micro-Icons ── */
.f4b-icon {
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

/* ── OTT Platform Indicator Dots ── */
.f4b-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 3px;
  vertical-align: 1px;
}
.f4b-dot-netflix { background: #E50914; box-shadow: 0 0 5px rgba(229, 9, 20, 0.6); }
.f4b-dot-prime { background: #00A8E1; box-shadow: 0 0 5px rgba(0, 168, 225, 0.6); }
.f4b-dot-hotstar { background: #2684FF; box-shadow: 0 0 5px rgba(38, 132, 255, 0.6); }
.f4b-dot-jiocinema { background: #E11D48; box-shadow: 0 0 5px rgba(225, 29, 72, 0.6); }

/* ── 7. ZONE 1: COMMAND CENTER (66/34 ASYMMETRIC) ── */
.f4b-zone-command {
  margin-bottom: 40px;
}

.f4b-command-grid {
  display: grid;
  grid-template-columns: 66fr 34fr;
  gap: 24px;
  align-items: stretch;
}

/* Lead Anchor */
.f4b-lead-anchor {
  position: relative;
  border-radius: var(--f4b-radius-lg);
  overflow: hidden;
  background: var(--f4b-bg-surface);
  border: 1px solid var(--f4b-border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 480px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.f4b-lead-anchor .f4b-media-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.f4b-lead-anchor .f4b-media-frame img,
.f4b-lead-anchor .f4b-fallback-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.f4b-lead-anchor:hover .f4b-media-frame img {
  transform: scale(1.03);
}

.f4b-lead-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 13, 19, 0.1) 20%, rgba(11, 13, 19, 0.85) 65%, #0b0d13 100%);
  z-index: 2;
  pointer-events: none;
}

.f4b-lead-content {
  position: relative;
  z-index: 3;
  padding: 32px;
}

.f4b-pill-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.f4b-badge-verdict {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--f4b-radius-sm);
  background: rgba(0, 242, 161, 0.16);
  border: 1px solid var(--f4b-critic-green);
  color: var(--f4b-critic-green);
  letter-spacing: 0.04em;
}

.f4b-badge-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--f4b-radius-sm);
  background: rgba(255, 94, 98, 0.16);
  border: 1px solid var(--f4b-sunset-coral);
  color: var(--f4b-sunset-coral);
  letter-spacing: 0.04em;
}

.f4b-lead-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--f4b-text-headline);
  margin-bottom: 14px;
  transition: color 0.2s ease;
}

.f4b-lead-anchor:hover .f4b-lead-title {
  color: var(--f4b-sunset-coral);
}

.f4b-byline-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--f4b-text-muted);
}

.f4b-author-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--f4b-border-medium);
}

.f4b-author-monogram-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--f4b-bg-elevated);
  border: 1px solid var(--f4b-border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--f4b-sunset-coral);
}

/* Radar Wire */
.f4b-radar-wire {
  background: var(--f4b-bg-surface);
  border-radius: var(--f4b-radius-lg);
  border: 1px solid var(--f4b-border-subtle);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.f4b-wire-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--f4b-border-subtle);
  margin-bottom: 16px;
}

.f4b-wire-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--f4b-text-headline);
  display: flex;
  align-items: center;
  gap: 8px;
}

.f4b-wire-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 0 auto;
}

.f4b-wire-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.f4b-wire-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.f4b-wire-details {
  flex: 1 1 auto;
}

.f4b-wire-meta {
  font-size: 11px;
  font-family: var(--f4b-font-mono);
  font-weight: 500;
  color: var(--f4b-sunset-amber);
  margin-bottom: 4px;
}

.f4b-wire-headline {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--f4b-text-headline);
  transition: color 0.2s ease;
}

.f4b-wire-item:hover .f4b-wire-headline {
  color: var(--f4b-sunset-coral);
}

.f4b-wire-thumb {
  width: 100px;
  height: 60px;
  border-radius: var(--f4b-radius-md);
  overflow: hidden;
  background: var(--f4b-bg-elevated);
  flex-shrink: 0;
}

.f4b-wire-thumb img, .f4b-wire-thumb .f4b-fallback-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f4b-wire-footer-link {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--f4b-border-subtle);
  font-size: 13px;
  font-weight: 800;
  color: var(--f4b-sunset-coral);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── 8. ZONE 2: ANGLED CINE-TRIO ── */
.f4b-zone-trio {
  margin-bottom: 48px;
}

.f4b-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.f4b-chamfer-card {
  background: var(--f4b-bg-surface);
  border-radius: var(--f4b-radius-chamfer);
  border: 1px solid var(--f4b-border-subtle);
  border-top: 2px solid var(--f4b-sunset-coral);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.f4b-chamfer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 94, 98, 0.15);
  border-color: var(--f4b-border-accent);
}

.f4b-card-media-16-9 {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: var(--f4b-bg-elevated);
}

.f4b-card-media-16-9 img, .f4b-card-media-16-9 .f4b-fallback-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.f4b-chamfer-card:hover .f4b-card-media-16-9 img {
  transform: scale(1.04);
}

.f4b-chamfer-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.f4b-card-cat-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--f4b-sunset-amber);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.f4b-chamfer-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--f4b-text-headline);
  margin-bottom: 10px;
}

.f4b-chamfer-meta {
  margin-top: auto;
  font-size: 12px;
  color: var(--f4b-text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── 9. ZONE 3: THEMATIC TENTPOLE (THE WEEKEND DROP) ── */
.f4b-zone-tentpole {
  margin-bottom: 48px;
}

.f4b-tentpole-box {
  background: linear-gradient(135deg, #131722 0%, #1a1e2d 100%);
  border-radius: var(--f4b-radius-lg);
  border: 1px solid rgba(255, 94, 98, 0.25);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.f4b-tentpole-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.f4b-tentpole-pill {
  background: var(--f4b-sunset-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--f4b-radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px var(--f4b-sunset-glow);
}

.f4b-tentpole-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 32px;
  align-items: center;
}

.f4b-tentpole-feature {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--f4b-radius-md);
  overflow: hidden;
  border: 1px solid var(--f4b-border-subtle);
}

.f4b-tentpole-feature img, .f4b-tentpole-feature .f4b-fallback-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f4b-tentpole-badge-score {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 13, 19, 0.9);
  border: 1px solid var(--f4b-critic-green);
  color: var(--f4b-critic-green);
  font-weight: 900;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: var(--f4b-radius-sm);
}

.f4b-tentpole-headline {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--f4b-text-headline);
  margin-bottom: 12px;
}

.f4b-tentpole-micro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.f4b-micro-pick {
  background: rgba(11, 13, 19, 0.6);
  border: 1px solid var(--f4b-border-subtle);
  border-radius: var(--f4b-radius-md);
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  transition: border-color 0.2s ease;
}

.f4b-micro-pick:hover {
  border-color: var(--f4b-sunset-coral);
}

.f4b-micro-thumb {
  width: 50px;
  height: 50px;
  border-radius: var(--f4b-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.f4b-micro-thumb img, .f4b-micro-thumb .f4b-fallback-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f4b-micro-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--f4b-text-headline);
  line-height: 1.3;
}

/* ── 10. ZONE 4: DUAL EDITORIAL DESKS ── */
.f4b-zone-desks {
  margin-bottom: 48px;
}

.f4b-desks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.f4b-desk-column {
  background: var(--f4b-bg-surface);
  border-radius: var(--f4b-radius-lg);
  border: 1px solid var(--f4b-border-subtle);
  padding: 24px;
}

.f4b-desk-title {
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--f4b-text-headline);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--f4b-border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.f4b-desk-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.f4b-stacked-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.f4b-stacked-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.f4b-stacked-thumb {
  width: 110px;
  height: 70px;
  border-radius: var(--f4b-radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.f4b-stacked-thumb img, .f4b-stacked-thumb .f4b-fallback-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f4b-stacked-title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--f4b-text-headline);
  margin-bottom: 6px;
}

.f4b-stacked-card:hover .f4b-stacked-title {
  color: var(--f4b-sunset-coral);
}

/* ── 11. ZONE 5: DISCOVERY ARCHIVE & SIDEBAR ── */
.f4b-zone-discovery {
  margin-bottom: 48px;
}

.f4b-discovery-grid {
  display: grid;
  grid-template-columns: 68fr 32fr;
  gap: 28px;
}

.f4b-feed-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.f4b-feed-card {
  background: var(--f4b-bg-surface);
  border-radius: var(--f4b-radius-md);
  border: 1px solid var(--f4b-border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.f4b-feed-card:hover {
  border-color: var(--f4b-border-medium);
}

.f4b-feed-body {
  padding: 16px;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.f4b-feed-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--f4b-text-headline);
  margin-bottom: 8px;
}

.f4b-feed-card:hover .f4b-feed-title {
  color: var(--f4b-sunset-coral);
}

/* Sidebar */
.f4b-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.f4b-sidebar-widget {
  background: var(--f4b-bg-surface);
  border-radius: var(--f4b-radius-lg);
  border: 1px solid var(--f4b-border-subtle);
  padding: 20px;
}

.f4b-widget-title {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--f4b-text-headline);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--f4b-border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sidebar Top Categories 2-Column Grid */
.f4b-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.f4b-cat-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  background: var(--f4b-bg-page);
  border: 1px solid var(--f4b-border-subtle);
  border-radius: var(--f4b-radius-md);
  color: var(--f4b-text-headline);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.f4b-cat-tile:hover {
  background: rgba(255, 107, 43, 0.08);
  border-color: var(--f4b-sunset-coral);
  color: var(--f4b-sunset-amber);
  transform: translateY(-1px);
}

.f4b-cat-tile-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.f4b-cat-tile-count {
  font-family: var(--f4b-font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  color: var(--f4b-text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 6px;
  flex-shrink: 0;
}

.f4b-cat-tile:hover .f4b-cat-tile-count {
  color: var(--f4b-sunset-coral);
  background: rgba(255, 107, 43, 0.15);
}

/* Trending List */
.f4b-trending-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.f4b-trending-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.f4b-trending-number {
  font-size: 18px;
  font-weight: 900;
  color: var(--f4b-sunset-coral);
  line-height: 1;
}

.f4b-trending-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--f4b-text-headline);
  line-height: 1.35;
}

.f4b-trending-title:hover {
  color: var(--f4b-sunset-amber);
}

/* Telegram VIP Alert Box */
.f4b-telegram-box {
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.15) 0%, rgba(19, 23, 34, 0.9) 100%);
  border: 1px solid rgba(34, 158, 217, 0.35);
  border-radius: var(--f4b-radius-md);
  padding: 18px;
  text-align: center;
}

.f4b-tg-heading {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.f4b-tg-sub {
  font-size: 12.5px;
  color: var(--f4b-text-muted);
  margin-bottom: 14px;
}

.f4b-tg-btn {
  display: inline-block;
  background: #229ed9;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--f4b-radius-full);
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35);
}

/* ── 12. ZERO-CLS AD ENVELOPES ── */
.f4b-ad-envelope {
  background: rgba(11, 13, 19, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--f4b-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0;
  overflow: hidden;
  text-align: center;
  position: relative;
}

.f4b-ad-envelope::before {
  content: "ADVERTISEMENT";
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--f4b-text-dim);
}

.f4b-ad-leaderboard {
  min-height: 90px;
}

.f4b-ad-mpu {
  min-height: 250px;
}

.f4b-ad-sticky-sidebar {
  min-height: 250px;
  position: sticky;
  top: 80px;
}

/* ── 13. SINGLE ARTICLE READING EXPERIENCE ── */
.f4b-article-canvas {
  display: grid;
  grid-template-columns: 68fr 32fr;
  gap: 36px;
}

.f4b-article-main {
  min-width: 0;
}

/* Breadcrumbs */
.f4b-breadcrumbs {
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--f4b-text-dim);
}

.f4b-breadcrumbs a {
  color: var(--f4b-text-muted);
}

.f4b-breadcrumbs a:hover {
  color: var(--f4b-sunset-coral);
}

.f4b-article-header {
  margin-bottom: 24px;
}

.f4b-article-headline {
  font-family: var(--f4b-font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--f4b-text-headline);
  margin: 14px 0;
}

.f4b-standfirst {
  font-family: var(--f4b-font-body);
  font-size: 17.5px;
  line-height: 1.60;
  letter-spacing: -0.01em;
  color: var(--f4b-text-muted);
  font-weight: 500;
  margin-bottom: 18px;
  border-left: 3px solid var(--f4b-sunset-coral);
  padding-left: 14px;
}

/* Article Hero Media */
.f4b-article-hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--f4b-radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid var(--f4b-border-subtle);
}

.f4b-article-hero-media img, .f4b-article-hero-media .f4b-fallback-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reading Prose Container */
.f4b-prose {
  font-family: var(--f4b-font-body);
  font-size: 17px;
  line-height: 1.76;
  letter-spacing: -0.005em;
  color: var(--f4b-text-body);
  max-width: 680px;
}

.f4b-prose p {
  margin-bottom: 22px;
}

.f4b-prose h2 {
  font-family: var(--f4b-font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--f4b-text-headline);
  margin-top: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.f4b-prose h3 {
  font-family: var(--f4b-font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--f4b-text-headline);
  margin-top: 28px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.f4b-prose a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.f4b-prose a:hover {
  color: var(--f4b-sunset-coral);
}

/* Scorecard Module */
.f4b-scorecard-card {
  background: var(--f4b-bg-surface);
  border-radius: var(--f4b-radius-lg);
  border: 1px solid var(--f4b-border-subtle);
  border-left: 4px solid var(--f4b-critic-green);
  padding: 24px;
  margin: 32px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.f4b-scorecard-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.f4b-score-dial {
  font-size: 28px;
  font-weight: 900;
  color: var(--f4b-critic-green);
  padding: 6px 14px;
  background: rgba(0, 242, 161, 0.12);
  border-radius: var(--f4b-radius-md);
  border: 1px solid var(--f4b-critic-green);
}

.f4b-score-verdict-text {
  font-size: 16px;
  font-weight: 800;
  color: var(--f4b-text-headline);
  line-height: 1.35;
}

.f4b-scorecard-splits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--f4b-border-subtle);
}

.f4b-score-column h4 {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.f4b-score-column.highs h4 { color: var(--f4b-critic-green); }
.f4b-score-column.lows h4 { color: var(--f4b-critic-red); }

.f4b-score-list {
  list-style: none;
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.f4b-score-column.highs li::before {
  content: "✓ ";
  color: var(--f4b-critic-green);
  font-weight: 900;
}

.f4b-score-column.lows li::before {
  content: "✕ ";
  color: var(--f4b-critic-red);
  font-weight: 900;
}

/* Spoiler-Shielded Climax Callout */
.f4b-spoiler-box {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid var(--f4b-spoiler-purple);
  border-radius: var(--f4b-radius-md);
  padding: 20px;
  margin: 32px 0;
}

.f4b-spoiler-btn {
  background: var(--f4b-spoiler-purple);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--f4b-radius-full);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 10px;
}

.f4b-spoiler-hidden-content {
  display: none;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--f4b-spoiler-purple);
}

/* ── 14. 12-CARD CATEGORY SILO GRID (36 Crawl Paths) ── */
.f4b-silo-container {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--f4b-border-subtle);
}

.f4b-silo-heading {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--f4b-sunset-coral);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.f4b-silo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.f4b-silo-card {
  background: var(--f4b-bg-surface);
  border-radius: var(--f4b-radius-md);
  border: 1px solid var(--f4b-border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.f4b-silo-card:hover {
  border-color: var(--f4b-border-accent);
}

.f4b-silo-body {
  padding: 12px;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.f4b-silo-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--f4b-text-headline);
  margin-top: 6px;
}

.f4b-silo-card:hover .f4b-silo-title {
  color: var(--f4b-sunset-coral);
}

/* Fail-Safe Post Navigation */
.f4b-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.f4b-nav-prev, .f4b-nav-next {
  background: var(--f4b-bg-surface);
  border: 1px solid var(--f4b-border-subtle);
  border-radius: var(--f4b-radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.f4b-nav-prev:hover, .f4b-nav-next:hover {
  border-color: var(--f4b-sunset-coral);
  transform: translateY(-2px);
}

.f4b-nav-direction {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--f4b-sunset-amber);
  margin-bottom: 4px;
}

.f4b-nav-target-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--f4b-text-headline);
}

/* ── 15. FOOTER: 4-COLUMN SILO MATRIX ── */
.f4b-site-footer {
  background: #07090e;
  border-top: 1px solid var(--f4b-border-subtle);
  padding: 48px 0 24px;
  margin-top: auto;
}

.f4b-footer-matrix {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.f4b-footer-col h4 {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--f4b-text-headline);
  margin-bottom: 16px;
}

.f4b-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--f4b-text-muted);
}

.f4b-footer-links a:hover {
  color: var(--f4b-sunset-coral);
}

.f4b-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--f4b-text-dim);
}

/* ── 16. MOBILE ERGONOMICS & RESPONSIVE RULES ── */
@media (max-width: 1024px) {
  .f4b-command-grid,
  .f4b-article-canvas,
  .f4b-discovery-grid,
  .f4b-tentpole-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .f4b-silo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .f4b-trio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .f4b-header-nav {
    display: none;
  }

  .f4b-mobile-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--f4b-radius-md);
    background: var(--f4b-bg-elevated);
    border: 1px solid var(--f4b-border-subtle);
  }

  .f4b-header-search-input {
    width: 110px;
  }

  .f4b-header-search-form:focus-within .f4b-header-search-input {
    width: 140px;
  }

  .f4b-lead-anchor {
    min-height: 360px;
  }

  .f4b-lead-content {
    padding: 18px;
  }

  .f4b-trio-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 10px;
    scrollbar-width: none;
  }

  .f4b-trio-grid::-webkit-scrollbar {
    display: none;
  }

  .f4b-chamfer-card {
    min-width: 270px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .f4b-desks-grid,
  .f4b-feed-cards,
  .f4b-tentpole-micro-grid,
  .f4b-footer-matrix {
    grid-template-columns: 1fr;
  }

  /* Compact Wire Density on Mobile (Prevents 1000px Vertical Sprawl) */
  .f4b-radar-wire {
    padding: 16px;
  }

  .f4b-wire-item {
    gap: 10px;
    padding-bottom: 10px;
  }

  .f4b-wire-item:nth-child(n+4) {
    display: none; /* Show top 3 freshest updates on mobile to tighten vertical pacing */
  }

  .f4b-wire-headline {
    font-size: 13px;
    line-height: 1.3;
  }

  .f4b-wire-thumb {
    width: 76px;
    height: 48px;
    border-radius: var(--f4b-radius-sm);
  }

  /* High-Density 2-Column Silo Grid on Mobile (Fixes Scroll Fatigue) */
  .f4b-silo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .f4b-silo-body {
    padding: 10px;
  }

  .f4b-silo-title {
    font-size: 12.5px;
  }

  .f4b-post-nav {
    grid-template-columns: 1fr;
  }

  .f4b-footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Compact Mobile (< 520px) Ergonomics */
@media (max-width: 520px) {
  .f4b-scorecard-splits {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .f4b-article-headline {
    font-size: 24px;
    line-height: 1.25;
  }

  .f4b-standfirst {
    font-size: 15.5px;
    padding-left: 10px;
    line-height: 1.5;
  }

  .f4b-prose {
    font-size: 16px;
    line-height: 1.7;
  }
}

/* Fallback Monogram SVG */
.f4b-fallback-still {
  background: linear-gradient(135deg, #131722 0%, #1c2233 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--f4b-sunset-coral);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 10px;
}

/* ==========================================================================
   Screen Reader Accessibility Standard (WCAG 2.1)
   ========================================================================== */
.screen-reader-text {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  word-wrap: normal !important;
}

/* ==========================================================================
   Ultra-Premium Modern Pagination (Monochrome Linear / Vercel Standard)
   ========================================================================== */
.f4b-pagination-container,
.navigation.pagination {
  margin: 36px auto 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.f4b-pagination-pills,
.navigation.pagination .nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5px 6px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.f4b-pagination-pills .page-numbers,
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  font-family: var(--f4b-font-mono, ui-monospace, monospace);
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.f4b-pagination-pills .page-numbers:hover,
.navigation.pagination .page-numbers:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.f4b-pagination-pills .page-numbers.current,
.navigation.pagination .page-numbers.current {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  font-weight: 700 !important;
}

.f4b-pagination-pills .page-numbers.dots,
.navigation.pagination .page-numbers.dots {
  color: #475569;
  cursor: default;
  min-width: 20px;
  padding: 0 2px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.f4b-pagination-pills .page-numbers.dots:hover,
.navigation.pagination .page-numbers.dots:hover {
  background: transparent;
  border-color: transparent;
  transform: none;
  box-shadow: none;
  color: #475569;
}

.f4b-pagination-pills .page-numbers.prev,
.f4b-pagination-pills .page-numbers.next,
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  font-family: var(--f4b-font-sans, system-ui, -apple-system, sans-serif);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 12px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.f4b-pagination-pills .page-numbers.prev:hover,
.f4b-pagination-pills .page-numbers.next:hover,
.navigation.pagination .page-numbers.prev:hover,
.navigation.pagination .page-numbers.next:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .f4b-pagination-container,
  .navigation.pagination {
    margin: 28px auto 20px;
  }
  .f4b-pagination-pills,
  .navigation.pagination .nav-links {
    gap: 4px;
    padding: 4px;
    border-radius: 8px;
  }
  .f4b-pagination-pills .page-numbers,
  .navigation.pagination .page-numbers {
    min-width: 30px;
    height: 30px;
    font-size: 12px;
    padding: 0 6px;
    border-radius: 5px;
  }
  .f4b-pagination-pills .page-numbers.prev,
  .f4b-pagination-pills .page-numbers.next,
  .navigation.pagination .page-numbers.prev,
  .navigation.pagination .page-numbers.next {
    padding: 0 9px;
    font-size: 10.5px;
  }
}

