/* ==========================================================================
   ULTRAFACTX STUDIO — MODERN EDITORIAL DESIGN SYSTEM
   Mobile-First, SEO-First, High-Performance CSS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Core Color System (UltraFactX Editorial Palette) */
  --bg-dark: #060911;
  --bg-main: #090d16;
  --bg-card: #101624;
  --bg-card-hover: #151d30;
  --bg-surface: #182238;
  --bg-glass: rgba(9, 13, 22, 0.92);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8896ab;
  --text-dark: #0f172a;

  /* Scientific Accents */
  --primary: #0ea5e9;
  --primary-hover: #38bdf8;
  --primary-glow: rgba(14, 165, 233, 0.2);
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-focus: #0ea5e9;

  /* Typography */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Dimensions & Spacing */
  --max-width: 1240px;
  --article-width: 780px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows & Transitions */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(14, 165, 233, 0.18);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Accessibility Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

/* Accessibility Focus & Skip Link */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.25rem, 4.5vw + 0.5rem, 3.5rem); }
h2 { font-size: clamp(1.65rem, 2.75vw + 0.25rem, 2.25rem); }
h3 { font-size: clamp(1.25rem, 1.75vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #4f46e5 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: var(--bg-card);
  border-color: var(--border-light);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--bg-surface);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-youtube {
  background: rgba(255, 0, 0, 0.12);
  border-color: rgba(255, 0, 0, 0.35);
  color: #ffffff;
}

.btn-youtube:hover {
  background: rgba(255, 0, 0, 0.22);
  border-color: #ff0000;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
  min-height: 40px;
}

.btn-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-card-hover);
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(6, 9, 17, 0.96);
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Prominent Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.02);
}

/* Desktop Navigation */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--primary-hover);
  background: rgba(14, 165, 233, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-search-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.header-search-btn:hover {
  border-color: var(--primary);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.header-search-btn kbd {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}

.mobile-toggle {
  display: flex;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Off-Canvas Menu */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1010;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100%;
  background: var(--bg-card);
  z-index: 1020;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  transform: translateX(-340px);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-logo {
  height: 38px;
  width: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-nav-heading {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 0.5rem 0.25rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--bg-surface);
  color: var(--primary-hover);
}

/* Search Modal */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.88);
  backdrop-filter: blur(10px);
  z-index: 1050;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 1.25rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-box-wrap {
  width: 100%;
  max-width: 680px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.search-form {
  display: flex;
  gap: 0.75rem;
}

.search-input {
  flex: 1;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  color: #fff;
  font-size: 1.05rem;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  border-color: var(--primary);
  outline: none;
}

/* --------------------------------------------------------------------------
   HERO SECTION — EDITORIAL SHOWCASE
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1.15fr;
    gap: 3.5rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 9999px;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}

.hero-title {
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--primary) 70%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  line-height: 1.75;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Hero Banner Container — Full Original Image Visibility */
.hero-banner-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: var(--bg-card);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-banner-container:hover .hero-banner-img {
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   CORE KNOWLEDGE DISCIPLINES / CATEGORIES
   -------------------------------------------------------------------------- */
.section {
  padding: 4.5rem 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-tag {
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.35rem;
}

.section-header p {
  max-width: 480px;
  font-size: 1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 600px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-indigo));
  opacity: 0;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.category-card:hover::after {
  opacity: 1;
}

.cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}

.category-card:hover .cat-icon-box {
  background: var(--primary);
  color: #fff;
}

.cat-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
}

.cat-title {
  font-size: 1.35rem;
}

.cat-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cat-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.category-card:hover .cat-link {
  gap: 0.75rem;
  color: var(--primary-hover);
}

/* --------------------------------------------------------------------------
   ARTICLE CARDS & GRIDS
   -------------------------------------------------------------------------- */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.article-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-surface);
}

.article-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card-img {
  transform: scale(1.04);
}

.article-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.article-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-card-title {
  font-size: 1.2rem;
  line-height: 1.35;
}

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

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.article-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   FEATURED STORY COMPONENT
   -------------------------------------------------------------------------- */
.featured-story-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}

@media (min-width: 992px) {
  .featured-story-box {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.featured-story-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-surface);
}

.featured-story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-story-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   EMPTY STATE COMPONENT
   -------------------------------------------------------------------------- */
.editorial-empty-state {
  background: var(--bg-card);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 640px;
  margin: 0 auto;
}

.empty-state-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.editorial-empty-state h3 {
  font-size: 1.35rem;
}

.editorial-empty-state p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   YOUTUBE & SOCIAL CHANNELS
   -------------------------------------------------------------------------- */
.social-showcase-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, #060a12 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 5rem 0;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.social-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

.social-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.social-hub-yt { border-top: 3px solid #ff0000; }
.social-hub-yt:hover { border-color: #ff0000; }

.social-hub-ig { border-top: 3px solid #e1306c; }
.social-hub-ig:hover { border-color: #e1306c; }

.social-hub-fb { border-top: 3px solid #1877f2; }
.social-hub-fb:hover { border-color: #1877f2; }

/* --------------------------------------------------------------------------
   ARTICLE & EDITORIAL PAGES
   -------------------------------------------------------------------------- */
.page-wrap {
  padding: 3rem 0 5rem;
}

.article-reader-container {
  max-width: var(--article-width);
  margin-left: auto;
  margin-right: auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.crumb-sep {
  color: var(--border-light);
}

.crumb-active {
  color: var(--text-primary);
  font-weight: 600;
}

.article-main-header {
  margin-bottom: 2.5rem;
}

.article-main-header h1 {
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.article-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 400;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Quick Answer / Key Takeaways Box */
.at-a-glance-box {
  background: rgba(14, 165, 233, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
}

.at-a-glance-box h3 {
  font-size: 1.15rem;
  color: var(--primary-hover);
  margin-bottom: 0.5rem;
}

.at-a-glance-box p {
  font-size: 1rem;
  color: var(--text-primary);
  margin: 0;
}

/* Prose Typography */
.prose-editorial {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-top: 2rem;
}

.prose-editorial h2 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.prose-editorial h3 {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.prose-editorial ul, .prose-editorial ol {
  margin-left: 1.75rem;
  margin-bottom: 1.75rem;
}

.prose-editorial li {
  margin-bottom: 0.6rem;
}

.prose-editorial blockquote {
  border-left: 3px solid var(--accent-cyan);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-primary);
}

/* Sources & References Section */
.editorial-sources-box {
  margin-top: 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.editorial-sources-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.editorial-sources-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.editorial-sources-box li {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Accessible FAQ Accordion */
.faq-section-box {
  margin-top: 3.5rem;
}

.faq-section-box h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question-btn:hover {
  color: var(--primary-hover);
}

.faq-answer-panel {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #04070d;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  height: 44px;
  width: auto;
}

.footer-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  font-size: 0.9375rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-nav-link:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-attribution-link {
  color: var(--text-secondary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.footer-attribution-link:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE & MOTION MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --header-height: 74px;
  }

  .brand-logo {
    height: 40px;
  }

  .btn {
    padding: 0.75rem 1.4rem;
  }

  .hero-section {
    padding: 2.5rem 0 3rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .featured-story-body {
    padding: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   SHARED TRUST PAGES & EDITORIAL LEGAL DESIGN SYSTEM (STEP 1.6)
   -------------------------------------------------------------------------- */
.trust-page {
  padding: 3rem 0 6rem;
}

.trust-hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.09) 0%, transparent 70%);
  margin-bottom: 3.5rem;
}

.trust-hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 9999px;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.trust-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.page-intro {
  font-size: clamp(1.1rem, 1.35vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 auto;
}

.trust-container {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.trust-section {
  margin-bottom: 3.5rem;
}

.trust-section-title {
  font-size: clamp(1.4rem, 2.25vw, 1.85rem);
  color: #ffffff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 1.75rem 0;
}

@media (min-width: 640px) {
  .trust-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: var(--transition);
}

.trust-card:hover {
  border-color: rgba(14, 165, 233, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.trust-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.trust-card h3, .trust-card h4 {
  font-size: 1.15rem;
  color: #fff;
  margin: 0;
}

.trust-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Callouts for Notices & Highlights */
.trust-callout {
  background: rgba(14, 165, 233, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.trust-callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border-left-color: var(--accent-gold);
}

.trust-callout-success {
  background: rgba(16, 185, 129, 0.08);
  border-left-color: var(--accent-emerald);
}

.trust-callout h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.trust-callout p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Custom Bullet / Numbered Lists */
.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.trust-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.trust-list-bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Legal Quick Nav Bar */
.trust-nav-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 3.5rem;
}

.trust-nav-title {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.trust-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trust-nav-btn {
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.trust-nav-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-surface);
}

/* Two-Column Contact Layout */
.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-grid-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: flex-start;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-email-link {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  word-break: break-all;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-email-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: #ffffff;
}

.form-alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   BACK TO TOP BUTTON
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 28px rgba(14, 165, 233, 0.45);
}

.back-to-top:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   ADDITIONAL MOBILE RESPONSIVE POLISH
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .hero-grid {
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
    text-align: center;
  }

  .featured-story-body {
    padding: 1.25rem;
  }

  .article-card-body {
    padding: 1.15rem;
  }

  .article-card-title {
    font-size: 1.05rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .footer-brand-wrap {
    text-align: center;
    align-items: center;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom > div:last-child {
    justify-content: center;
  }

  .social-hub-card {
    padding: 1.5rem;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }

  .trust-hero {
    padding: 2.5rem 0 3rem;
  }

  .trust-hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-section {
    padding: 2rem 0 2.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .footer-grid {
    gap: 2rem;
  }

  .category-grid {
    gap: 1.25rem;
  }
}

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