@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ========================================
   DESIGN TOKENS
======================================== */
:root {
  --bg-primary:    #080d1a;
  --bg-secondary:  #0e1526;
  --bg-card:       #111827;
  --bg-card-hover: #162035;
  --bg-tag:        rgba(37, 99, 235, 0.12);
  --border:        #1a2540;
  --border-light:  #243050;

  --blue:          #2563eb;
  --blue-light:    #3b82f6;
  --blue-pale:     #60a5fa;
  --cyan:          #0891b2;
  --cyan-light:    #22d3ee;
  --green:         #10b981;
  --red:           #ef4444;
  --amber:         #f59e0b;

  --text-white:    #f8fafc;
  --text-primary:  #e2e8f0;
  --text-secondary:#94a3b8;
  --text-muted:    #64748b;

  --font-sans:     'Inter', sans-serif;
  --font-display:  'Space Grotesk', sans-serif;

  --radius-xs:  4px;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 8px rgba(0,0,0,.35);
  --shadow-md:  0 4px 24px rgba(0,0,0,.5);
  --shadow-lg:  0 8px 48px rgba(0,0,0,.65);
  --shadow-glow:0 0 32px rgba(37,99,235,.18);

  --transition: all .22s ease;
  --max-w:      1280px;
  --gutter:     24px;
}

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border: none;
  background: none;
}

/* ========================================
   LAYOUT
======================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 112px 0; }

/* ========================================
   TYPOGRAPHY
======================================== */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--text-white);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-white); font-weight: 600; }

/* ========================================
   SECTION HEADER
======================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
.section-header h2 { margin: 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-pale);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,99,235,.4);
}
.btn-outline {
  background: transparent;
  color: var(--blue-pale);
  border-color: var(--border-light);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-pale);
  background: var(--bg-tag);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
  padding: 8px 14px;
}
.btn-ghost:hover { color: var(--text-white); background: var(--bg-card); }
.btn-sm { padding: 7px 16px; font-size: .8125rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-icon { width: 36px; height: 36px; padding: 0; justify-content: center; }

/* ========================================
   TAGS / BADGES
======================================== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--bg-tag);
  color: var(--blue-pale);
  border: 1px solid rgba(96,165,250,.15);
}
.tag-blockchain { background: rgba(37,99,235,.12); color: #60a5fa; border-color: rgba(96,165,250,.15); }
.tag-defi       { background: rgba(16,185,129,.1);  color: #34d399; border-color: rgba(52,211,153,.15); }
.tag-nft        { background: rgba(139,92,246,.1);  color: #a78bfa; border-color: rgba(167,139,250,.15); }
.tag-web3       { background: rgba(8,145,178,.1);   color: #22d3ee; border-color: rgba(34,211,238,.15); }
.tag-analysis   { background: rgba(245,158,11,.1);  color: #fbbf24; border-color: rgba(251,191,36,.15); }
.tag-regulation { background: rgba(239,68,68,.1);   color: #f87171; border-color: rgba(248,113,113,.15); }

/* ========================================
   HEADER / NAVIGATION
======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,13,26,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -.02em;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -.02em;
}
.logo-name span { color: var(--blue-pale); }

.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-main a {
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-main a:hover,
.nav-main a.active { color: var(--text-white); background: var(--bg-card); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.search-btn {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.search-btn:hover { color: var(--text-white); border-color: var(--border-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--bg-secondary);
  z-index: 999;
  padding: 24px var(--gutter);
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--text-white); padding-left: 8px; }

/* ========================================
   HERO SECTION
======================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,37,64,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,37,64,.4) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(37,99,235,.1);
  border: 1px solid rgba(37,99,235,.25);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-pale);
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--blue-pale);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { margin-bottom: 20px; }
.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-item { }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}
.stat-label { font-size: .75rem; color: var(--text-muted); margin-top: 4px; }

.hero-visual { position: relative; }
.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  aspect-ratio: 16/10;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: -16px;
  left: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.hero-badge-icon {
  width: 36px; height: 36px;
  background: rgba(37,99,235,.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.hero-badge-text strong { display: block; font-size: .875rem; color: var(--text-white); }
.hero-badge-text span { font-size: .75rem; color: var(--text-muted); }

/* ========================================
   CARD COMPONENTS (Modular Card Architecture)
======================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-footer { padding: 0 20px 20px; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.card-date, .card-read {
  font-size: .75rem;
  color: var(--text-muted);
}
.card-date::before { content: ''; display: inline-block; width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.card-date:first-child::before { display: none; }
.card-separator { width: 3px; height: 3px; background: var(--border-light); border-radius: 50%; }

.card h3 { font-size: 1.0625rem; margin-bottom: 10px; transition: color .2s; }
.card:hover h3 { color: var(--blue-pale); }
.card p { font-size: .875rem; color: var(--text-secondary); flex: 1; }
.card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.card-author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .6875rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.card-author-name { font-size: .75rem; font-weight: 600; color: var(--text-secondary); }

/* Featured card */
.card-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.card-featured .card-img {
  aspect-ratio: auto;
  min-height: 280px;
}
.card-featured .card-body { padding: 32px; justify-content: center; }
.card-featured h3 { font-size: 1.375rem; }

/* Horizontal card */
.card-h {
  flex-direction: row;
  align-items: center;
}
.card-h .card-img { width: 140px; min-width: 140px; aspect-ratio: 4/3; }
.card-h .card-body { padding: 16px 18px; }
.card-h h3 { font-size: .9375rem; }

/* Card grid layouts */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.grid-2-3 { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; }

/* ========================================
   TICKER / BREAKING BAR
======================================== */
.breaking-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  overflow: hidden;
}
.breaking-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.breaking-label {
  flex-shrink: 0;
  background: var(--blue);
  color: #fff;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
}
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker-list {
  display: flex;
  gap: 32px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-list:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: var(--text-secondary);
}
.ticker-item a { color: var(--text-secondary); }
.ticker-item a:hover { color: var(--text-white); }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   CATEGORY CHIPS NAV
======================================== */
.category-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.cat-chip:hover,
.cat-chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ========================================
   NEWSLETTER SECTION
======================================== */
.newsletter-section {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 64px 56px;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-row { display: flex; gap: 10px; }
.form-input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-white);
  font-size: .9375rem;
  transition: var(--transition);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-note { font-size: .75rem; color: var(--text-muted); }
.success-msg {
  display: none;
  padding: 12px 16px;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: var(--radius-sm);
  color: #34d399;
  font-size: .875rem;
  font-weight: 500;
}
.success-msg.show { display: block; }

/* ========================================
   STATS BAR
======================================== */
.stats-bar {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  overflow: hidden;
}
.stats-bar .stat-item {
  padding: 24px 28px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stats-bar .stat-item:last-child { border-right: none; }
.stats-bar .stat-value { font-size: 2rem; }

/* ========================================
   TOPIC GRID
======================================== */
.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
.topic-card:hover {
  border-color: var(--blue);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37,99,235,.12);
}
.topic-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.topic-card h4 { margin-bottom: 8px; font-size: 1.0625rem; }
.topic-card p { font-size: .8125rem; margin: 0; }
.topic-count {
  margin-top: 16px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue-pale);
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { font-size: .875rem; margin-top: 16px; max-width: 280px; }
.footer-brand .logo { margin-bottom: 0; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-btn {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: .875rem;
}
.social-btn:hover { color: var(--text-white); border-color: var(--border-light); background: var(--bg-card-hover); }

.footer-col h5 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: .875rem;
  color: var(--text-secondary);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--text-white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8125rem; color: var(--text-muted); margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .8125rem; color: var(--text-muted); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--text-secondary); }
.footer-contact { margin-top: 12px; }
.footer-contact p { font-size: .8125rem; color: var(--text-muted); margin-bottom: 4px; }

/* ========================================
   PAGE HERO
======================================== */
.page-hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: 1.125rem; max-width: 640px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text-secondary); }
.breadcrumb span { color: var(--border-light); }

/* ========================================
   ARTICLE DETAIL
======================================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.article-header { margin-bottom: 32px; }
.article-header .tag { margin-bottom: 16px; }
.article-header h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
}
.article-author-info strong { display: block; font-size: .875rem; color: var(--text-white); }
.article-author-info span { font-size: .75rem; color: var(--text-muted); }
.article-info { display: flex; gap: 16px; font-size: .8125rem; color: var(--text-muted); margin-left: auto; }

.article-hero-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}
.article-hero-img img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }

.article-body { font-size: 1rem; }
.article-body h2 { font-size: 1.5rem; margin: 40px 0 16px; color: var(--text-white); }
.article-body h3 { font-size: 1.25rem; margin: 32px 0 12px; color: var(--text-white); }
.article-body p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.article-body ul,
.article-body ol { color: var(--text-secondary); padding-left: 24px; margin-bottom: 20px; }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body blockquote {
  border-left: 3px solid var(--blue);
  padding: 16px 20px;
  margin: 28px 0;
  background: var(--bg-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-body blockquote p { color: var(--text-primary); font-style: italic; font-size: 1.0625rem; margin: 0; }
.article-body .inset-img {
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-body .inset-img img { width: 100%; object-fit: cover; }
.article-body .inset-img figcaption {
  padding: 10px 14px;
  font-size: .75rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
}
.article-body strong { color: var(--text-white); }
.article-body a { color: var(--blue-pale); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--blue-light); }

.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.article-share span { font-size: .875rem; color: var(--text-muted); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.sidebar-card h4 {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.sidebar-article { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.sidebar-article:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-article-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--border-light);
  font-family: var(--font-display);
  flex-shrink: 0;
  width: 24px;
}
.sidebar-article-info h5 { font-size: .875rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.sidebar-article-info h5 a { color: inherit; transition: color .2s; }
.sidebar-article-info h5 a:hover { color: var(--blue-pale); }
.sidebar-article-info span { font-size: .75rem; color: var(--text-muted); }

.toc { list-style: none; }
.toc li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.toc li:last-child { border-bottom: none; }
.toc a { font-size: .875rem; color: var(--text-secondary); transition: color .2s; }
.toc a:hover { color: var(--blue-pale); }

/* ========================================
   CONTACT PAGE
======================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form-card h3 { margin-bottom: 8px; }
.contact-form-card > p { margin-bottom: 32px; }
.field-group { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.field .form-input,
.field textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  color: var(--text-white);
  font-size: .9375rem;
  transition: var(--transition);
}
.field textarea { height: 120px; resize: vertical; }
.field .form-input:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:first-of-type { padding-top: 0; }
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon {
  width: 40px; height: 40px;
  background: rgba(37,99,235,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue-pale);
  font-size: 1.1rem;
}
.contact-info-text strong { display: block; font-size: .875rem; color: var(--text-primary); margin-bottom: 2px; }
.contact-info-text span { font-size: .8125rem; color: var(--text-secondary); }
.contact-info-text a { color: var(--blue-pale); }
.contact-info-text a:hover { color: var(--blue-light); }

/* ========================================
   ABOUT PAGE
======================================== */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-light); }
.team-card-img { aspect-ratio: 3/2; overflow: hidden; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-card-img img { transform: scale(1.04); }
.team-card-body { padding: 20px; }
.team-card-body h4 { margin-bottom: 4px; }
.team-role { font-size: .8125rem; font-weight: 600; color: var(--blue-pale); margin-bottom: 10px; }
.team-card-body p { font-size: .8125rem; }

.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}
.value-card:hover { border-color: var(--border-light); transform: translateY(-1px); }
.value-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.value-card h4 { margin-bottom: 8px; font-size: 1rem; }

/* ========================================
   PAGINATION
======================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 48px 0 0;
}
.page-btn {
  width: 38px; height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.page-btn:hover { color: var(--text-white); border-color: var(--border-light); }
.page-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ========================================
   COOKIE BANNER
======================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 720px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: var(--transition);
}
.cookie-banner.hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(16px); }
.cookie-text { flex: 1; font-size: .875rem; color: var(--text-secondary); }
.cookie-text a { color: var(--blue-pale); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ========================================
   POLICY PAGES
======================================== */
.policy-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.policy-toc {
  position: sticky;
  top: 88px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.policy-toc h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.policy-toc ul { display: flex; flex-direction: column; gap: 4px; }
.policy-toc a {
  display: block;
  padding: 6px 8px;
  font-size: .8125rem;
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  transition: var(--transition);
}
.policy-toc a:hover { color: var(--text-white); background: var(--bg-secondary); }
.policy-toc a.active { color: var(--blue-pale); background: rgba(37,99,235,.1); }

.policy-content h2 {
  font-size: 1.375rem;
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  color: var(--text-white);
}
.policy-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.policy-content h3 { font-size: 1.125rem; margin: 28px 0 12px; color: var(--text-white); }
.policy-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.policy-content ul,
.policy-content ol { color: var(--text-secondary); padding-left: 24px; margin-bottom: 16px; }
.policy-content ul { list-style: disc; }
.policy-content ol { list-style: decimal; }
.policy-content li { margin-bottom: 8px; line-height: 1.75; }
.policy-content a { color: var(--blue-pale); }
.policy-content strong { color: var(--text-white); }
.policy-meta {
  display: flex;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  margin-bottom: 40px;
  border: 1px solid var(--border);
  font-size: .8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.policy-meta span { color: var(--text-secondary); }

/* ========================================
   HIGHLIGHT BOX
======================================== */
.highlight-box {
  background: rgba(37,99,235,.06);
  border: 1px solid rgba(37,99,235,.2);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 32px 0;
}
.highlight-box p { color: var(--text-primary); margin: 0; }

/* ========================================
   INFO TABLE
======================================== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  margin: 20px 0;
}
.info-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-weight: 600;
  border: 1px solid var(--border);
  font-size: .8125rem;
}
.info-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}
.info-table tr:hover td { background: var(--bg-secondary); }

/* ========================================
   MISCELLANEOUS
======================================== */
.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-blue { color: var(--blue-pale); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

/* Related articles */
.related-section { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }
.related-section h3 { margin-bottom: 24px; }

/* Search bar */
.search-bar-wrap { position: relative; margin-bottom: 32px; }
.search-bar-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px 12px 44px;
  color: var(--text-white);
  font-size: .9375rem;
  transition: var(--transition);
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); outline: none; }

/* Category hero */
.category-hero { padding: 56px 0; border-bottom: 1px solid var(--border); }
.category-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* Progress/accent line */
.accent-line {
  width: 56px;
  height: 3px;
  background: var(--blue);
  border-radius: 3px;
  margin-bottom: 20px;
}

/* Empty placeholder alt colors */
.img-placeholder {
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .75rem;
}
