/* ============================================================
   IXFY - Modern Compact Intelligence & News Portal Theme
   Emerald / Pine Green Palette, Compact Layout, High Contrast
   ============================================================ */

:root {
  /* Brand Theme Colors - Exact IXFY Pine & Emerald Green from Logo */
  --brand-green: #013429;           /* Exact Deep Pine Green from IXFY Logo Letters */
  --brand-green-accent: #008d64;    /* Exact Vibrant Emerald Accent from IXFY Logo */
  --brand-green-hover: #007352;
  --brand-green-light: #e6f6f1;
  --brand-green-subtle: rgba(0, 141, 100, 0.08);

  /* Core Brand Primary Accents (Emerald Green) */
  --brand-red: #008d64;
  --brand-red-hover: #007352;
  --brand-red-light: #e6f6f1;
  --brand-red-subtle: rgba(0, 141, 100, 0.08);

  /* Light Theme (Day) - Clean Paper & High-Tech Editorial Ink */
  --bg-page: #f7faf8;
  --bg-card: #ffffff;
  --bg-surface: #edf4f1;
  --bg-elevated: #ffffff;
  --bg-dark: #020e0a;
  --bg-dark-card: #061913;

  --ink-primary: #041a14;
  --ink-secondary: #223d34;
  --ink-muted: #567268;
  --ink-faint: #89a399;

  --border-light: #dfeae4;
  --border-subtle: #edf4f0;
  --border-dark: #0f2e24;
  --border-accent: #008d64;

  /* Intelligence & Analytics Accents */
  --blue-primary: #008d64;
  --blue-hover: #007352;
  --blue-light: #e6f6f1;
  --gold-accent: #d97706;
  --gain-green: #008d64;
  --gain-green-bg: #e6f6f1;
  --loss-red: #dc2626;
  --loss-red-bg: #fef2f2;

  /* Layout & Sizing (Compact & Dense) */
  --max-w: 1220px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-serif: "Public Sans", -apple-system, BlinkMacSystemFont, Georgia, serif;
}

/* Dark Theme (Night) - Rich Dark Forest Obsidian & Glowing Emerald */
[data-theme="dark"] {
  --bg-page: #040907;             /* Ultra-rich dark forest obsidian */
  --bg-card: #0a1512;             /* Sleek dark pine card */
  --bg-surface: #10211c;          /* Input and button surfaces */
  --bg-elevated: #162c26;
  --bg-dark: #020605;
  --bg-dark-card: #0a1512;

  --ink-primary: #f0fdf8;         /* Crisp luminescent white */
  --ink-secondary: #c2ddd4;       /* Soft mint-tinted secondary text */
  --ink-muted: #82a398;           /* Muted pine-slate */
  --ink-faint: #516b62;

  --border-light: #152b23;        /* Elegant dark forest borders */
  --border-subtle: #0d1e18;
  --border-dark: #1f3d32;
  --border-accent: #00d696;

  /* Intelligence Accents */
  --brand-green: #00d696;         /* Vivid luminous emerald */
  --brand-green-hover: #34d399;
  --brand-green-light: rgba(0, 214, 150, 0.15);
  --brand-green-subtle: rgba(0, 214, 150, 0.08);

  --brand-red: #00d696;
  --brand-red-hover: #34d399;
  --brand-red-light: rgba(0, 214, 150, 0.15);
  --brand-red-subtle: rgba(0, 214, 150, 0.08);

  --blue-primary: #00d696;
  --blue-hover: #34d399;
  --blue-light: rgba(0, 214, 150, 0.15);
  --gold-accent: #f59e0b;
  --gain-green: #00d696;
  --gain-green-bg: rgba(0, 214, 150, 0.12);
  --loss-red: #ef4444;
  --loss-red-bg: rgba(239, 68, 68, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
}

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

a:hover {
  color: var(--blue-primary);
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ============================================================
   1. TICKER TAPE (IXFY High-Contrast Intel Wire)
   ============================================================ */
.intel-wire-bar {
  background-color: #020d09;
  color: #c2ddd4;
  font-size: 11.5px;
  font-weight: 500;
  height: 34px;
  border-bottom: 1px solid #0d261d;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  z-index: 50;
}

.wire-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #01241b;
  color: #00d696;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-right: 1px solid #0d261d;
  z-index: 2;
  box-shadow: 4px 0 14px rgba(0,0,0,0.4);
}

.wire-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #00d696;
  box-shadow: 0 0 8px #00d696;
  animation: wirePulse 2s ease-in-out infinite;
}

@keyframes wirePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.wire-track-wrap {
  display: flex;
  width: 100%;
  overflow: hidden;
  margin-left: 125px;
  mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent);
}

.wire-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerSlide 45s linear infinite;
  gap: 32px;
  padding-left: 20px;
}

.wire-track:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.wire-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
}

.wire-tag {
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #00d696;
  background: rgba(0, 214, 150, 0.12);
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid rgba(0, 214, 150, 0.25);
  text-transform: uppercase;
}

.wire-link,
.wire-text {
  color: #e2f0ea;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.wire-link:hover {
  color: #00d696;
  text-decoration: underline;
}

/* ============================================================
   2. TOP UTILITY HEADER
   ============================================================ */
.site-top-bar {
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-card);
  padding: 5px 0;
  font-size: 11.5px;
  color: var(--ink-muted);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.meta-edition {
  font-weight: 700;
  color: var(--ink-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gain-green);
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gain-green);
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button (Gündüz / Gece Modu Butonu) */
.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--ink-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 20px;
  transition: all 0.2s ease;
  user-select: none;
}

.theme-toggle-btn:hover {
  background: var(--border-light);
  color: var(--ink-primary);
  border-color: var(--ink-muted);
}

.theme-icon-sun {
  display: flex;
  align-items: center;
  color: #f59e0b;
}

.theme-icon-moon {
  display: none;
  align-items: center;
  color: #d1d5db;
}

[data-theme="dark"] .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-icon-moon {
  display: flex;
}

.search-toggle-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--ink-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-family: inherit;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.search-toggle-btn:hover {
  background: var(--bg-surface);
  color: var(--ink-primary);
}

/* ============================================================
   3. CORPORATE MASTHEAD & LOGO
   ============================================================ */
.site-masthead {
  padding: 8px 0 8px 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.masthead-brand-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-logo-link:hover {
  opacity: 0.9;
}

.site-logo-img {
  width: auto;
  height: 48px;
  max-width: 145px;
  aspect-ratio: 343 / 182;
  object-fit: contain;
  display: block;
}

/* Logo Dark/Light Mode Switcher */
.site-logo-img.logo-dark {
  display: none;
}
[data-theme="dark"] .site-logo-img.logo-light {
  display: none;
}
[data-theme="dark"] .site-logo-img.logo-dark {
  display: block;
}

.masthead-tagline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--border-light);
  padding-left: 14px;
}

.tagline-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-green-accent);
  text-transform: uppercase;
}

.tagline-text {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
}

.masthead-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.masthead-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  transition: all 0.15s ease;
}

.masthead-btn:hover {
  background: var(--border-light);
  color: var(--ink-primary);
}

.masthead-btn-accent {
  background: var(--brand-green);
  color: #ffffff;
  border-color: var(--brand-green);
}

.masthead-btn-accent:hover {
  background: var(--brand-green-hover);
  color: #ffffff;
}

.footer-logo-img {
  width: auto;
  height: 42px;
  max-width: 140px;
  aspect-ratio: 343 / 182;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}

/* ============================================================
   4. NAVIGATION BAR (Sticky, Corporate Compact)
   ============================================================ */
.site-nav-bar {
  background: var(--bg-card);
  border-bottom: 2px solid var(--border-accent);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 9px 13px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-primary);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-primary);
  border-bottom-color: var(--blue-primary);
}

.nav-link.home-icon {
  padding-left: 0;
}

/* Quick Search Drawer */
.header-search-drawer {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
}

.header-search-drawer.open {
  display: block;
}

.search-drawer-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-input {
  flex: 1;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  padding: 10px 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-primary);
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(198, 0, 0, 0.12);
}

.search-submit-btn {
  background: var(--brand-red);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}

.search-submit-btn:hover {
  background: var(--blue-primary);
}

/* ============================================================
   5. STRICT 16:9 MEDIA CONTAINER (Universal Aspect Ratio)
   ============================================================ */
.media-16-9,
a.media-16-9 {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  contain: paint layout; /* Safari & WebKit infinite resize protection */
}

/* Picture element inside media-16-9 fills the container without recalculating aspect-ratio */
.media-16-9 picture,
a.media-16-9 picture,
.media-16-9 > picture,
picture.media-16-9 {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Standalone picture element fallback */
picture.media-picture:not(.media-16-9) {
  display: block;
  width: 100%;
  height: auto;
  position: static;
}

.media-16-9 img,
.media-16-9 picture img,
picture.media-16-9 img,
.media-picture img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .media-16-9 img,
.hero-card:hover .media-16-9 img,
.news-card:hover picture img,
.news-card:hover .media-picture img {
  transform: scale(1.03);
}

/* Fallback Financial Placeholder */
.media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #101114 0%, #1c1d22 100%);
  color: #94a3b8;
  font-family: var(--font-sans);
  text-align: center;
  padding: 20px;
}

.media-placeholder svg {
  margin-bottom: 8px;
  opacity: 0.7;
}

.media-placeholder span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

/* ============================================================
   6. HOMEPAGE LEAD SECTION (Bloomberg Split Layout)
   ============================================================ */
.hero-stage {
  padding: 16px 0 24px 0;
  border-bottom: 2px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 290px;
  gap: 20px;
  align-items: stretch;
}

/* Col 1: Left Focus & In-Depth Analysis */
.hero-col-left {
  display: flex;
  flex-direction: column;
  padding-right: 22px;
  border-right: 1px solid var(--border-light);
  height: 100%;
}

.hero-sub-cards-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 16px;
}

.hero-col-heading {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-primary);
  padding-bottom: 8px;
  margin: 0 0 16px 0;
  border-bottom: 2px solid var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-sub-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border-light);
}

.hero-sub-card:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.hero-sub-title {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.hero-sub-title a {
  color: var(--ink-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.hero-sub-title a:hover {
  color: var(--blue-primary);
}

.hero-sub-excerpt {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-secondary);
  margin: 4px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Col 2: Center Flagship Lead */
.hero-col-center {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-lead-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: -2px;
}

.kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red);
}

.hero-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 rgba(239, 68, 68, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hero-headline {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink-primary);
}

.hero-headline a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hero-headline a:hover {
  color: var(--blue-primary);
}

.hero-takeaway-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--blue-primary);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.4;
}

[data-theme="light"] .hero-takeaway-bar {
  background: #f8fafc;
  border-color: #e2e8f0;
  border-left-color: var(--blue-primary);
}

.hero-takeaway-bar svg {
  flex-shrink: 0;
  color: var(--blue-primary);
}

/* Col 3: Right Live Wire */
.hero-col-right {
  display: flex;
  flex-direction: column;
  padding-left: 22px;
  border-left: 1px solid var(--border-light);
  height: 100%;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse-green 2s infinite;
  display: inline-block;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.live-wire-badge {
  font-size: 10px;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 1px 7px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-excerpt {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin: 0;
}

.meta-byline {
  font-size: 12px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.byline-author {
  font-weight: 700;
  color: var(--ink-primary);
}

.byline-time {
  color: var(--ink-muted);
}

.byline-read {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Right Editorial Sidebar ("Markets & Analysis") */
.sidebar-feed {
  display: flex;
  flex-direction: column;
}

.feed-heading {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-primary);
  padding-bottom: 10px;
  margin: 0 0 16px 0;
  border-bottom: 2px solid var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feed-items {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 8px;
}

.feed-item {
  display: flex;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

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

.feed-num {
  font-size: 15px;
  font-weight: 900;
  color: var(--brand-red);
  line-height: 1;
  min-width: 20px;
}

.feed-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.feed-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--ink-primary);
}

.feed-title a {
  color: var(--ink-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.feed-title a:hover {
  color: var(--brand-red);
}

.feed-meta {
  font-size: 11px;
  color: var(--ink-muted);
}

/* ============================================================
   8. THREE-COLUMN EDITORIAL GRID
   ============================================================ */
.section-wrap {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink-primary);
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink-primary);
}

.section-view-all {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-primary);
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.card-title a:hover {
  color: var(--blue-primary);
}

.card-excerpt {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   9. CATEGORY FEATURE BLOCK (Lead + Side Stories)
   ============================================================ */
.category-block-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 30px;
}

.block-side-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.side-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.side-news-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px 0;
}

/* ============================================================
   10. OPINION & ANALYSIS (Dark Corporate Feature)
   ============================================================ */
.dark-feature-section {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 48px 0;
}

.dark-feature-section .section-header {
  border-bottom-color: #334155;
}

.dark-feature-section .section-title {
  color: #ffffff;
}

.dark-feature-section .section-view-all {
  color: var(--brand-red);
}

.opinion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.opinion-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.opinion-quote {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #f1f5f9;
  margin: 0 0 16px 0;
}

.opinion-quote a:hover {
  color: var(--brand-red);
}

.opinion-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-dark);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.author-info-name {
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
}

.author-info-role {
  font-size: 11px;
  color: #94a3b8;
}

/* ============================================================
   11. CATEGORY PAGE SPECIFICS
   ============================================================ */
.category-header-banner {
  padding: 32px 0 24px 0;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-surface);
}

.category-page-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 8px 0;
  color: var(--ink-primary);
  text-transform: uppercase;
}

.category-page-desc {
  font-size: 15px;
  color: var(--ink-secondary);
  max-width: 720px;
  margin: 0;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.breadcrumbs a:hover {
  color: var(--brand-red);
}

.breadcrumb-separator {
  color: var(--ink-faint);
}

/* Pagination */
.pagination-wrap {
  padding: 36px 0 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--ink-primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.page-btn:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.page-btn.active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
}

.page-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================
   12. ARTICLE DETAIL PAGE (High-Legibility Financial Typography)
   ============================================================ */
.article-container {
  padding-top: 32px;
  padding-bottom: 60px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

.article-main {
  min-width: 0;
  max-width: 100%;
}

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

.article-headline {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 12px 0 16px 0;
  color: var(--ink-primary);
}

.article-spot {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin: 0 0 24px 0;
  font-family: var(--font-serif);
}

.article-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.author-byline-link {
  color: var(--ink-primary);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s ease;
}

.author-byline-link:hover {
  color: var(--brand-red);
  text-decoration: underline;
}

.article-meta-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 9px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1px;
}

[data-theme="light"] .article-meta-views {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.07);
  color: #334155;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--ink-secondary);
  background: var(--bg-card);
  transition: all 0.15s ease;
}

.share-btn:hover {
  background: var(--blue-light);
  color: var(--blue-primary);
  border-color: var(--blue-primary);
}

/* Hero Article Media */
.article-hero-wrap {
  margin: 0 0 32px 0;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.article-caption {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 8px;
  font-style: italic;
  display: flex;
  justify-content: space-between;
}

/* Article Body Content Typography */
.article-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-primary);
  font-family: var(--font-serif);
  word-break: break-word;
  overflow-wrap: break-word;
}

.article-body p {
  margin: 0 0 22px 0;
  color: var(--ink-primary);
}

.article-body p:first-of-type::first-letter {
  font-size: 52px;
  line-height: 44px;
  float: left;
  margin: 4px 10px 0 0;
  font-weight: 900;
  color: var(--ink-primary);
  font-family: var(--font-sans);
}

.article-body h2 {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 36px 0 16px 0;
  color: var(--ink-primary);
}

.article-body h3 {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  margin: 28px 0 12px 0;
  color: var(--ink-primary);
}

.article-body blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--brand-red);
  background: var(--bg-surface);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-body a {
  color: var(--brand-red);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.article-body a:hover {
  color: var(--brand-red-hover);
}

.article-body ul, .article-body ol {
  margin: 0 0 22px 0;
  padding-left: 24px;
  color: var(--ink-primary);
}

.article-body li {
  margin-bottom: 8px;
  color: var(--ink-primary);
}

/* Article Body Inline Media, Images & Tables Constraint (Fix Layout Shift & Blowout) */
.article-body img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: var(--radius-sm, 6px);
  margin: 24px auto;
}

.article-body figure,
.article-body .article-media {
  margin: 32px 0;
  clear: both;
  max-width: 100%;
}

.article-body figure.dlz-full,
.article-body .article-media.dlz-full {
  width: 100%;
}

.article-body figure.dlz-half,
.article-body .article-media.dlz-half {
  max-width: 540px;
  margin: 28px auto;
}

.article-body figure img,
.article-body .article-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm, 6px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.article-body figcaption {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 10px;
  text-align: center;
  font-style: italic;
  line-height: 1.5;
}

.article-body iframe,
.article-body video,
.article-body embed,
.article-body object {
  max-width: 100% !important;
}

.article-body table {
  width: 100%;
  max-width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 24px 0;
}

.article-body th,
.article-body td {
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  color: var(--ink-primary);
}

.article-body pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--bg-surface);
  color: var(--ink-primary);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.article-body code {
  background: var(--bg-surface);
  color: var(--ink-primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Key Takeaways Callout */
.takeaways-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--brand-red);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 28px 0;
  color: var(--ink-primary);
}

.takeaways-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-red);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.takeaways-box ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-primary);
}

.takeaways-box ul li {
  color: var(--ink-primary);
}

/* Article Tags */
.article-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  margin-top: 36px;
  border-top: 1px solid var(--border-light);
}

.tag-pill {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--ink-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.tag-pill:hover {
  background: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
}

/* Sidebar Widgets */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
  width: 100%;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.widget-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink-primary);
  color: var(--ink-primary);
}

/* Newsletter Box */
.newsletter-box {
  background: var(--bg-surface);
  color: var(--ink-primary);
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--brand-red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.newsletter-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: var(--ink-primary);
}

.newsletter-desc {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 0 16px 0;
  line-height: 1.45;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--ink-primary);
  border-radius: var(--radius-sm);
  font-size: 13px;
  transition: border-color 0.15s ease;
}

.newsletter-input::placeholder {
  color: var(--ink-muted);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--brand-red);
}

.newsletter-btn {
  background: var(--brand-red);
  color: #ffffff;
  border: none;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.newsletter-btn:hover {
  background: var(--brand-red-hover);
}

/* ============================================================
   13. CORPORATE FOOTER (IXFY High-Tech Dark Forest)
   ============================================================ */
.site-footer {
  background: #020a07;
  color: #8da49c;
  padding: 56px 0 28px 0;
  border-top: 3px solid #008d64;
  font-size: 13px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 214, 150, 0.4), transparent);
}

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

.footer-brand {
  margin-bottom: 14px;
}

.footer-desc {
  line-height: 1.65;
  color: #8da49c;
  margin-bottom: 16px;
  max-width: 360px;
  font-size: 13px;
}

.footer-bureaus {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #516b62;
  font-weight: 700;
}

.footer-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0fdf8;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-heading::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background: #008d64;
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #b5cdc4;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #00d696;
  transform: translateX(2px);
}

.footer-disclaimer {
  padding-top: 24px;
  border-top: 1px solid #0d261d;
  font-size: 11.5px;
  color: #688278;
  line-height: 1.65;
}

.footer-disclaimer strong {
  color: #a4beb4;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #0d261d;
  margin-top: 24px;
  font-size: 12px;
  color: #688278;
}

.footer-agency-link {
  color: #8da49c;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-agency-link:hover {
  color: #00d696;
}

/* ============================================================
   14. RESPONSIVE DESIGN (Tablets & Mobile)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-col-left,
  .hero-col-right {
    padding-left: 0;
    padding-right: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
  }
  .hero-lead-card {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 28px;
  }
  .grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .market-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-container {
    padding-top: 24px;
    padding-bottom: 48px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .category-block-grid {
    grid-template-columns: 1fr;
  }
  .opinion-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-logo {
    font-size: 32px;
  }
  .site-logo-img {
    height: 42px;
    max-width: 175px;
  }
  .hero-headline {
    font-size: 26px;
  }
  .article-container {
    padding-top: 18px;
    padding-bottom: 40px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .article-main {
    width: 100%;
    min-width: 0;
  }
  .article-headline {
    font-size: 26px;
    line-height: 1.25;
    margin: 10px 0 14px 0;
  }
  .article-spot {
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .article-body {
    font-size: 16.5px;
    line-height: 1.72;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .article-body p {
    margin-bottom: 18px;
  }
  .article-body blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    font-size: 16px;
  }
  .article-body figure,
  .article-body .article-media {
    margin: 22px 0;
  }
  .article-hero-wrap {
    margin: 18px 0 22px 0;
  }
  .takeaways-box {
    padding: 16px 18px;
    margin: 22px 0;
  }
  .article-byline-bar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .grid-3-col {
    grid-template-columns: 1fr;
  }
  .grid-4-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .market-cards-grid {
    grid-template-columns: 1fr;
  }
  .side-news-item {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ============================================================
   14. ABOUT US CORPORATE PAGE
   ============================================================ */
.about-page-wrap {
  padding-top: 24px;
  padding-bottom: 70px;
}

.about-hero-header {
  margin-bottom: 48px;
}

.about-main-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  line-height: 1.18;
  margin: 0 0 16px 0;
  max-width: 980px;
}

.about-main-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0 0 28px 0;
  max-width: 860px;
}

.about-hero-media {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.about-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.about-hero-caption {
  padding: 10px 14px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--ink-muted);
}

/* Stats Section */
.about-stats-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  margin-bottom: 56px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-stat-card {
  border-left: 3px solid var(--brand-red);
  padding-left: 20px;
}

.about-stat-num {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--brand-red);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-num .stat-plus {
  font-size: 28px;
  font-weight: 700;
  margin-left: 2px;
}

.about-stat-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-primary);
  margin-bottom: 8px;
}

.about-stat-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0;
}

/* Split Narrative & Founder */
.about-split-section {
  margin-bottom: 64px;
}

.about-split-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 44px;
  align-items: start;
}

.about-founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.founder-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-surface);
}

.founder-decor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-quote-box {
  padding: 24px;
  background: var(--bg-card);
}

.quote-icon {
  color: var(--brand-red);
  margin-bottom: 12px;
}

.founder-quote-text {
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-primary);
  margin: 0 0 20px 0;
  font-family: var(--font-serif);
}

.founder-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.founder-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-red);
  flex-shrink: 0;
}

.founder-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-primary);
}

.founder-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-red);
}

.about-narrative-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-secondary);
}

.narrative-heading {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin: 0 0 18px 0;
  line-height: 1.25;
}

.narrative-lead {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-primary);
  margin-bottom: 18px;
}

.about-narrative-content p {
  margin-bottom: 18px;
  color: var(--ink-secondary);
}

.about-narrative-content strong {
  color: var(--ink-primary);
}

/* Authors Grid */
.about-authors-section {
  margin-bottom: 64px;
  padding-top: 40px;
  border-top: 2px solid var(--border-light);
}

.about-authors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.author-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.author-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-red);
}

.author-photo-wrap {
  width: 100%;
  aspect-ratio: 465 / 510;
  overflow: hidden;
  background: var(--bg-surface);
}

.author-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.author-card:hover .author-photo {
  transform: scale(1.04);
}

.author-info {
  padding: 14px 12px;
  text-align: center;
  background: var(--bg-card);
}

.author-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-primary);
  margin: 0 0 4px 0;
}

.author-beat {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Pillars Section */
.about-pillars-section {
  margin-bottom: 50px;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 36px;
  align-items: start;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pillar-card {
  display: flex;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--brand-red-light);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-primary);
  margin: 0 0 6px 0;
}

.pillar-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

.pillars-engage-card {
  background: var(--bg-card);
  color: var(--ink-primary);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--brand-red);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.engage-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink-primary);
  margin: 12px 0 14px 0;
  line-height: 1.3;
}

.engage-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

.engage-contact-btn {
  display: inline-block;
  background: var(--brand-red);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.engage-contact-btn:hover {
  background: var(--brand-red-hover);
  color: #ffffff;
}

@media (max-width: 1024px) {
  .about-split-grid {
    grid-template-columns: 1fr;
  }
  .about-founder-column {
    max-width: 420px;
    margin: 0 auto;
  }
  .about-pillars-grid {
    grid-template-columns: 1fr;
  }
  .about-authors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .about-main-title {
    font-size: 28px;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-authors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* ============================================================
   15. AUTHOR PROFILE ARCHIVE PAGE
   ============================================================ */
.author-profile-hero {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 30px;
}

.author-hero-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.author-hero-avatar-wrap {
  flex-shrink: 0;
}

.author-hero-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-red);
  display: block;
}

.author-hero-initials {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 900;
  border: 3px solid var(--brand-red);
}

.author-hero-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  margin: 0 0 6px 0;
}

.author-hero-beat {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.author-hero-bio {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin: 0 0 16px 0;
  max-width: 720px;
}

.author-hero-stats {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.author-stat-item {
  display: flex;
  flex-direction: column;
}

.author-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-primary);
  line-height: 1.2;
}

.author-stat-lbl {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .author-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .author-hero-stats {
    justify-content: center;
  }
}

/* ============================================================
   16. COMPREHENSIVE DARK THEME REINFORCEMENTS
   Natural Matte Black & Off-White Contrast (No AI Blue/Purple)
   ============================================================ */
[data-theme="dark"] .article-body,
[data-theme="dark"] .article-body p,
[data-theme="dark"] .article-body span,
[data-theme="dark"] .article-body div,
[data-theme="dark"] .article-body li,
[data-theme="dark"] .article-body strong,
[data-theme="dark"] .article-body b,
[data-theme="dark"] .article-body em,
[data-theme="dark"] .article-body i,
[data-theme="dark"] .article-body font,
[data-theme="dark"] .article-body td,
[data-theme="dark"] .article-body th {
  color: var(--ink-primary) !important;
  background-color: transparent !important;
}

[data-theme="dark"] .article-body a {
  color: var(--brand-red) !important;
}

[data-theme="dark"] .article-body a:hover {
  color: var(--brand-red-hover) !important;
}

[data-theme="dark"] .article-body blockquote {
  background: var(--bg-surface) !important;
  color: var(--ink-primary) !important;
  border-left-color: var(--brand-red) !important;
}

[data-theme="dark"] .article-body pre,
[data-theme="dark"] .article-body code {
  background: var(--bg-surface) !important;
  color: var(--ink-primary) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .takeaways-box {
  background: var(--bg-surface) !important;
  border-color: var(--border-light) !important;
  border-left-color: var(--brand-red) !important;
}

[data-theme="dark"] .takeaways-title {
  color: var(--brand-red) !important;
}

[data-theme="dark"] .author-card,
[data-theme="dark"] .about-founder-card,
[data-theme="dark"] .founder-quote-box,
[data-theme="dark"] .pillar-card,
[data-theme="dark"] .pillars-engage-card,
[data-theme="dark"] .sidebar-widget,
[data-theme="dark"] .author-profile-hero {
  background: var(--bg-card) !important;
  border-color: var(--border-light) !important;
}

[data-theme="dark"] .founder-image-wrap,
[data-theme="dark"] .author-photo-wrap {
  background: var(--bg-surface) !important;
}

[data-theme="dark"] .newsletter-box {
  background: var(--bg-surface) !important;
  border-color: var(--border-light) !important;
  border-top-color: var(--brand-red) !important;
}

[data-theme="dark"] .newsletter-input {
  background: var(--bg-card) !important;
  color: var(--ink-primary) !important;
  border-color: var(--border-light) !important;
}

