/* =============================================
   바로콕 — DESIGN TOKENS (Navy + Teal Theme)
   ============================================= */
:root {
  --primary: #0B3D91;
  --primary-dark: #071F4A;
  --primary-mid: #1565C0;
  --primary-light: #E8F0FE;
  --accent: #00BFA6;
  --accent-dark: #008C7A;
  --accent-light: #E0F7F4;
  --highlight: #FF6B35;
  --highlight-light: #FFF0EB;
  --success: #00C853;
  --warning: #FFB300;

  --white: #FFFFFF;
  --bg: #F5F7FA;
  --gray-50: #F8FAFC;
  --gray-100: #EEF2F7;
  --gray-200: #DDE3ED;
  --gray-300: #BCC5D6;
  --gray-400: #8896AD;
  --gray-500: #5E6E87;
  --gray-600: #3D4F68;
  --gray-700: #273548;
  --gray-800: #1A2535;
  --gray-900: #0F1720;

  --grad-brand: linear-gradient(135deg, #0B3D91 0%, #00BFA6 100%);
  --grad-brand-r: linear-gradient(135deg, #00BFA6 0%, #0B3D91 100%);
  --grad-hero: linear-gradient(135deg, #071F4A 0%, #0B3D91 55%, #0A4A6B 100%);
  --grad-navy: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
  --grad-teal: linear-gradient(135deg, #00897B 0%, #00BFA6 100%);
  --grad-coral: linear-gradient(135deg, #FF6B35 0%, #FF9800 100%);
  --grad-purple: linear-gradient(135deg, #5C35C8 0%, #8A5CF7 100%);
  --grad-card1: linear-gradient(135deg, #0B3D91 0%, #1976D2 100%);
  --grad-card2: linear-gradient(135deg, #00695C 0%, #00BFA6 100%);
  --grad-card3: linear-gradient(135deg, #E64A19 0%, #FF6B35 100%);
  --grad-card4: linear-gradient(135deg, #6A1B9A 0%, #AB47BC 100%);

  --shadow-xs: 0 1px 3px rgba(11,61,145,.06);
  --shadow-sm: 0 2px 10px rgba(11,61,145,.09);
  --shadow-md: 0 8px 28px rgba(11,61,145,.12);
  --shadow-lg: 0 16px 48px rgba(11,61,145,.16);
  --shadow-xl: 0 28px 72px rgba(11,61,145,.20);
  --glow: 0 0 28px rgba(0,191,166,.35);
  --glow-navy: 0 0 28px rgba(11,61,145,.4);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 68px;
  --container: 1160px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--gray-800);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,h2,h3,h4,h5 { font-weight: 800; line-height: 1.25; letter-spacing: -1px; color: var(--gray-900); }
h1 { font-size: clamp(28px, 4.5vw, 50px); letter-spacing: -1.5px; }
h2 { font-size: clamp(20px, 3vw, 32px); }
h3 { font-size: clamp(17px, 2.5vw, 22px); }
h4 { font-size: 18px; }
p { margin-bottom: 1rem; color: var(--gray-600); }
p:last-child { margin-bottom: 0; }

/* =============================================
   LAYOUT
   ============================================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }

/* =============================================
   TICKER
   ============================================= */
.ticker {
  background: var(--grad-brand);
  color: white;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 36px;
}
.ticker-tag {
  padding: 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(0,0,0,.2);
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ticker-body { overflow: hidden; flex: 1; }
.ticker-track {
  display: flex;
  gap: 60px;
  animation: ticker-scroll 32s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { font-size: 12px; opacity: .95; display: flex; align-items: center; gap: 8px; }
.ticker-item::before { content: '◆'; font-size: 7px; opacity: .7; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--gray-200);
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--transition);
}
.site-header.scrolled::after { opacity: 1; }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--grad-brand);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(11,61,145,.3);
}
.logo-mark svg { width: 22px; height: 22px; fill: white; }
.logo-name {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -1px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(11,61,145,.15);
}
.site-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.site-nav a {
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
  transition: all var(--transition);
  position: relative;
}
.site-nav a:hover { color: var(--primary); background: var(--primary-light); }
.site-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 700;
}
.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-winpin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--grad-coral);
  color: white;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(255,107,53,.3);
  white-space: nowrap;
  letter-spacing: -.3px;
}
.btn-winpin:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,.5); }
.btn-winpin::after { content: '→'; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span { display: block; width: 22px; height: 2.5px; background: var(--gray-700); border-radius: 3px; transition: all .3s; }
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-100);
  padding: 14px 16px 18px;
  z-index: 99;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 3px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
  display: block;
  transition: all var(--transition);
}
.mobile-nav a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-nav .btn-winpin { margin-top: 10px; justify-content: center; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--grad-hero);
  color: white;
  padding: 56px 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .logo-name { -webkit-text-fill-color: white; background: none; color: white; }
.footer-brand .logo-mark { box-shadow: none; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.8; margin-top: 14px; max-width: 240px; }
.footer-col h4 { font-size: 11px; font-weight: 800; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.25); line-height: 1.8; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.8); }

/* =============================================
   HOME HERO
   ============================================= */
.home-hero {
  background: var(--grad-hero);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0,191,166,.18) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(11,61,145,.35) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,191,166,.18);
  border: 1px solid rgba(0,191,166,.3);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before { content: '◆'; font-size: 7px; }
.home-hero h1 {
  color: white;
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
}
.home-hero h1 em {
  font-style: normal;
  background: var(--grad-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-hero-desc {
  color: rgba(255,255,255,.65);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: var(--radius-full); font-size: 15px; font-weight: 700; transition: all var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--grad-coral); color: white; box-shadow: 0 6px 20px rgba(255,107,53,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,107,53,.5); }
.btn-secondary { background: var(--accent); color: white; box-shadow: 0 6px 20px rgba(0,191,166,.3); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,191,166,.45); }
.btn-ghost { background: rgba(255,255,255,.1); color: white; border: 1.5px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }

/* Hero right — stats card */
.hero-stats {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(10px);
}
.hero-stats-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hero-stat-row:last-child { border-bottom: none; }
.hero-stat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hero-stat-icon.navy { background: rgba(21,101,192,.3); }
.hero-stat-icon.teal { background: rgba(0,191,166,.2); }
.hero-stat-icon.coral { background: rgba(255,107,53,.2); }
.hero-stat-icon.purple { background: rgba(140,92,247,.2); }
.hero-stat-info { flex: 1; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 500; }
.hero-stat-value { font-size: 15px; font-weight: 700; color: white; }
.hero-stat-badge {
  background: rgba(0,200,83,.2);
  color: #00C853;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* =============================================
   CATEGORY CLUSTER SECTION (Home)
   ============================================= */
.cluster-section {
  padding: 72px 0 60px;
  background: white;
}
.cluster-section + .cluster-section { background: var(--bg); }
.section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-header { margin-bottom: 40px; }
.section-title { font-size: clamp(22px, 3vw, 34px); margin-bottom: 10px; }
.section-desc { color: var(--gray-500); font-size: 15px; }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.see-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 8px 16px;
  background: var(--primary-light);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.see-all:hover { background: var(--primary); color: white; }
.see-all::after { content: '→'; }

/* Category hero card */
.cat-hero-card {
  background: var(--grad-card1);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.cat-hero-card::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.cat-hero-card.teal { background: var(--grad-card2); }
.cat-hero-card.coral { background: var(--grad-card3); }
.cat-hero-card.purple { background: var(--grad-card4); }
.cat-hero-icon { font-size: 52px; flex-shrink: 0; position: relative; z-index: 1; }
.cat-hero-body { flex: 1; position: relative; z-index: 1; }
.cat-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.cat-hero-title { font-size: 22px; font-weight: 800; color: white; margin-bottom: 6px; }
.cat-hero-desc { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 0; }
.cat-hero-cta {
  background: rgba(255,255,255,.15);
  color: white;
  border: 1.5px solid rgba(255,255,255,.3);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.cat-hero-cta:hover { background: rgba(255,255,255,.25); border-color: white; }
.cat-hero-cta::after { content: ' →'; }

/* Article grid */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--gray-200);
}
.article-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  width: fit-content;
}
.article-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
  color: var(--gray-800);
  flex: 1;
}
.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-400);
  border-top: 1px solid var(--gray-100);
  padding-top: 12px;
  margin-top: 12px;
}
.article-card-read {
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.article-card-read::after { content: '→'; }

/* =============================================
   CATEGORY INDEX PAGE
   ============================================= */
.cat-index-hero {
  padding: 52px 0 44px;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}
.cat-index-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,191,166,.15) 0%, transparent 70%);
}
.cat-index-hero-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative; z-index: 1;
}
.cat-index-icon {
  font-size: 56px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.15);
  width: 88px; height: 88px;
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cat-index-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cat-index-hero h1 { color: white; font-size: clamp(24px, 3.5vw, 40px); margin-bottom: 10px; }
.cat-index-hero p { color: rgba(255,255,255,.65); font-size: 15px; margin-bottom: 0; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  background: white;
  border-bottom: 1px solid var(--gray-100);
  padding: 12px 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-400);
}
.breadcrumb-list a { color: var(--gray-500); transition: color var(--transition); }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--gray-300); font-size: 11px; }
.breadcrumb-list .active { color: var(--gray-700); font-weight: 600; }

/* =============================================
   MAIN CONTENT & SIDEBAR
   ============================================= */
.main-content { padding: 44px 0 72px; }

/* Article */
.content-area {}
.article-header { margin-bottom: 32px; }
.article-header-meta { margin-bottom: 14px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-teal { background: var(--accent-light); color: var(--accent-dark); }
.badge-coral { background: var(--highlight-light); color: var(--highlight); }
.content-area h1 { font-size: clamp(22px, 3vw, 34px); color: var(--gray-900); margin-bottom: 16px; }
.article-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.article-info-item { font-size: 13px; color: var(--gray-400); display: flex; align-items: center; gap: 5px; }

/* TOC */
.toc {
  background: var(--primary-light);
  border: 1px solid rgba(11,61,145,.12);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin: 28px 0;
}
.toc-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
#toc-list { display: flex; flex-direction: column; gap: 6px; counter-reset: toc; }
#toc-list li { counter-increment: toc; }
#toc-list li a {
  font-size: 14px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  transition: color var(--transition);
  font-weight: 500;
}
#toc-list li a::before {
  content: counter(toc) ".";
  font-weight: 700;
  color: var(--accent);
  min-width: 20px;
}
#toc-list li a:hover { color: var(--accent-dark); }

/* Article body */
.article-body { line-height: 1.85; }
.article-body h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--gray-900);
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-100);
  position: relative;
}
.article-body h2::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--accent);
}
.article-body h3 { font-size: clamp(16px, 2vw, 20px); color: var(--gray-800); margin: 24px 0 10px; }
.article-body p { color: var(--gray-600); line-height: 1.85; }
.article-body ul, .article-body ol {
  margin: 14px 0 18px 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-body ul li, .article-body ol li {
  color: var(--gray-600);
  padding-left: 22px;
  position: relative;
  line-height: 1.7;
  font-size: 15px;
}
.article-body ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
  top: 3px;
}
.article-body ol { counter-reset: ol; }
.article-body ol li { counter-increment: ol; }
.article-body ol li::before {
  content: counter(ol) ".";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  top: 1px;
}
.article-body strong { color: var(--gray-800); font-weight: 700; }

/* Article summary box */
.article-summary {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  border: 1px solid rgba(11,61,145,.12);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 32px 0;
}
.article-summary-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-summary ul { gap: 8px; }
.article-summary ul li {
  font-size: 14px;
  color: var(--gray-700);
  font-weight: 500;
}
.article-summary ul li::before { color: var(--primary); }

/* FAQ section in articles */
.article-faq { margin: 32px 0; }
.article-faq-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  background: white;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-q::before {
  content: 'Q';
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 900;
  width: 22px; height: 22px;
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.faq-a {
  padding: 14px 20px 16px 52px;
  font-size: 14px;
  color: var(--gray-600);
  background: var(--gray-50);
  line-height: 1.75;
  border-top: 1px solid var(--gray-100);
}

/* Related posts */
.related-posts { margin-top: 40px; padding-top: 32px; border-top: 2px solid var(--gray-100); }
.related-posts-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-posts-title::before { content: '◆'; font-size: 10px; color: var(--accent); }
.related-posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related-post-item {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  display: block;
  transition: all var(--transition);
  line-height: 1.5;
}
.related-post-item:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(11,61,145,.2);
  transform: translateY(-2px);
}
.related-post-item::before { content: '▸ '; color: var(--accent); }

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.cta-widget {
  background: var(--grad-brand);
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-widget::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
}
.cta-widget-icon { font-size: 36px; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-widget-title { font-size: 16px; font-weight: 800; color: white; margin-bottom: 8px; position: relative; z-index: 1; }
.cta-widget-desc { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 18px; line-height: 1.6; position: relative; z-index: 1; }
.cta-widget-btn {
  display: block;
  background: white;
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 800;
  transition: all var(--transition);
  position: relative; z-index: 1;
}
.cta-widget-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.sidebar-widget {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.widget-header {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 800;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.widget-body { padding: 16px 20px; }
.cat-list { display: flex; flex-direction: column; gap: 6px; }
.cat-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition);
  cursor: pointer;
}
.cat-list-item:hover { background: var(--primary-light); color: var(--primary); }
.cat-list-item.active { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.cat-list-item span { display: flex; align-items: center; gap: 8px; }
.cat-list-icon { font-size: 16px; }
.cat-list-count {
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.cat-list-item.active .cat-list-count { background: rgba(11,61,145,.15); color: var(--primary); }
.stats-list { display: flex; flex-direction: column; gap: 12px; }
.stat-row { display: flex; align-items: center; justify-content: space-between; }
.stat-label { font-size: 13px; color: var(--gray-500); }
.stat-value { font-size: 14px; font-weight: 700; color: var(--gray-800); }

/* =============================================
   PAGE HERO (Static pages)
   ============================================= */
.page-hero {
  background: var(--grad-hero);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(0,191,166,.15) 0%, transparent 70%);
}
.page-hero-body { position: relative; z-index: 1; }
.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.page-hero-title { color: white; }

/* Info section */
.info-section { padding: 52px 0 72px; }
.info-content { max-width: 780px; margin: 0 auto; }
.info-content h2 { font-size: clamp(18px, 2.5vw, 24px); margin: 32px 0 12px; }
.info-content p { color: var(--gray-600); line-height: 1.85; }
.info-content ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.info-content ul li { color: var(--gray-600); list-style: disc; }

/* =============================================
   TRUST BADGES (Home)
   ============================================= */
.trust-strip {
  background: white;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 24px 0;
}
.trust-items { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.trust-icon.navy { background: var(--primary-light); }
.trust-icon.teal { background: var(--accent-light); }
.trust-icon.coral { background: var(--highlight-light); }
.trust-label { font-size: 13px; font-weight: 700; color: var(--gray-700); }
.trust-sub { font-size: 11px; color: var(--gray-400); }

/* =============================================
   BUTTONS / BADGE VARIANTS
   ============================================= */
.tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .home-hero-inner { gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .article-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .home-hero-inner { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .cat-hero-card { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .cat-index-hero-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-items { gap: 24px; flex-direction: column; align-items: flex-start; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { justify-content: center; }
  .breadcrumb-list { flex-wrap: wrap; }
}
