/* PassportCounty.com — Design System
   Aesthetic: Civic Authority · Clean · Trustworthy · Navigable
   Fonts: Playfair Display (headings) + Source Sans 3 (body)
   Palette: Deep Navy · Slate Blue · Gold Accent · Warm White
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;900&family=Source+Sans+3:wght@300;400;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

/* ─── CSS Variables ─── */
:root {
  --navy:       #0d2240;
  --navy-mid:   #163459;
  --slate:      #2a5298;
  --slate-light:#4472c4;
  --gold:       #c8922a;
  --gold-light: #e8b84b;
  --cream:      #faf8f3;
  --off-white:  #f2efe8;
  --border:     #d8d2c4;
  --text:       #1a1a2e;
  --text-mid:   #3d3d5c;
  --text-light: #6b6b8a;
  --success:    #2d7a4f;
  --warning:    #b8621a;
  --red:        #c0392b;
  --radius:     6px;
  --radius-lg:  12px;
  --shadow-sm:  0 1px 4px rgba(13,34,64,0.10);
  --shadow-md:  0 4px 16px rgba(13,34,64,0.14);
  --shadow-lg:  0 8px 32px rgba(13,34,64,0.18);
  --max-w:      1140px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--slate); text-decoration: none; }
a:hover { color: var(--gold); }

/* ─── Layout ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ─── Header / Nav ─── */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.logo-text span { color: var(--gold-light); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--gold-light); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── Hero ─── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--slate) 100%);
  padding: 72px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,146,42,0.18);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
  max-width: 680px;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-search {
  display: flex;
  gap: 0;
  max-width: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-search input {
  flex: 1;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: var(--font-body);
  border: none;
  outline: none;
  background: #fff;
  color: var(--text);
}
.hero-search input::placeholder { color: var(--text-light); }
.hero-search button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 16px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.2s;
}
.hero-search button:hover { background: var(--gold-light); }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat span { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 3px; }

/* ─── Alert Banner ─── */
.alert-banner {
  background: #fff3cd;
  border-left: 4px solid var(--gold);
  padding: 14px 20px;
  margin: 0;
  font-size: 0.92rem;
  color: #5c4200;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-banner.alert-info {
  background: #e8f0fe;
  border-left-color: var(--slate);
  color: #1a3a6b;
}
.alert-banner.alert-red {
  background: #fde8e8;
  border-left-color: var(--red);
  color: #6b1a1a;
}
.alert-banner a { font-weight: 700; color: inherit; text-decoration: underline; }

/* ─── Section Headers ─── */
.section { padding: 64px 24px; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--navy); color: #fff; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-label--light { color: var(--gold-light); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title--light { color: #fff; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.section-subtitle--light { color: rgba(255,255,255,0.75); }

/* ─── Cards ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--slate) 0%, var(--navy) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card p { font-size: 0.93rem; color: var(--text-mid); line-height: 1.65; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-link:hover { color: var(--gold); }

/* ─── State Grid ─── */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.state-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.state-tile:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.state-tile .count {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
}
.state-tile:hover .count { color: rgba(255,255,255,0.6); }

/* ─── County Page Layout ─── */
.county-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 48px 24px 56px;
  position: relative;
}
.county-breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.county-breadcrumb a { color: rgba(255,255,255,0.75); }
.county-breadcrumb a:hover { color: var(--gold-light); }
.county-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}
.county-header .subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
}
.county-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}
.county-meta-tag {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.county-meta-tag.green { background: rgba(45,122,79,0.3); border-color: #2d7a4f; color: #7adda0; }
.county-meta-tag.amber { background: rgba(184,98,26,0.3); border-color: var(--gold); color: var(--gold-light); }
.county-meta-tag.red { background: rgba(192,57,43,0.3); border-color: #c0392b; color: #ff9999; }

/* ─── Facility Card ─── */
.facility-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.facility-card-header {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.facility-type-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
}
.badge-clerk { background: #e8f0fe; color: var(--slate); }
.badge-post { background: #e8f5e9; color: #2d7a4f; }
.badge-city { background: #fff3e0; color: var(--warning); }
.badge-library { background: #fce4ec; color: #c62828; }
.facility-card-body { padding: 24px; }
.facility-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.facility-info-item label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 4px;
}
.facility-info-item p {
  font-size: 0.93rem;
  color: var(--text);
  font-weight: 600;
}
.yes-badge { color: var(--success); }
.no-badge { color: var(--red); }
.yes-badge::before { content: '✓ '; }
.no-badge::before { content: '✗ '; }

/* ─── Checklist ─── */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.checklist li::before {
  content: '□';
  font-size: 1.1rem;
  color: var(--slate);
  flex-shrink: 0;
  margin-top: 1px;
}
.checklist li.required::before { content: '☑'; color: var(--success); }
.checklist-note {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 4px;
  display: block;
}

/* ─── FAQ ─── */
.faq { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--slate); }
.faq-question .faq-icon {
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px 0;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.faq-answer.open { display: block; }
.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--slate); font-weight: 600; }

/* ─── Comparison Table ─── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.comparison-table thead { background: var(--navy); color: #fff; }
.comparison-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.comparison-table tbody tr { border-bottom: 1px solid var(--border); }
.comparison-table tbody tr:nth-child(even) { background: var(--off-white); }
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody td { padding: 13px 18px; color: var(--text); vertical-align: top; }
.comparison-table tbody td:first-child { font-weight: 700; color: var(--navy); }

/* ─── Step Process ─── */
.step-list { display: flex; flex-direction: column; gap: 0; }
.step-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step-item:last-child { border-bottom: none; }
.step-num {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.step-content p { font-size: 0.93rem; color: var(--text-mid); }

/* ─── Callout Box ─── */
.callout {
  border-left: 4px solid var(--slate);
  background: #e8f0fe;
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-size: 0.93rem;
  color: #1a3a6b;
}
.callout.callout-gold {
  border-left-color: var(--gold);
  background: #fff8e8;
  color: #5c4200;
}
.callout.callout-red {
  border-left-color: var(--red);
  background: #fde8e8;
  color: #6b1a1a;
}
.callout strong { font-weight: 700; }

/* ─── CTA Block ─── */
.cta-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
}
.cta-block h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-block p { color: rgba(255,255,255,0.78); margin-bottom: 28px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ─── Tool / Filter ─── */
.tool-wrapper {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.tool-header {
  background: var(--navy);
  padding: 20px 24px;
  color: #fff;
}
.tool-header h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.tool-header p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 4px; }
.tool-controls {
  padding: 20px 24px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.tool-controls select, .tool-controls input {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  min-width: 180px;
}
.tool-controls select:focus, .tool-controls input:focus {
  outline: 2px solid var(--slate);
  border-color: var(--slate);
}
.tool-results { padding: 20px 24px; }
.tool-results table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.tool-results th {
  background: var(--off-white);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 2px solid var(--border);
}
.tool-results td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-of: middle;
  color: var(--text);
}
.tool-results tr:last-child td { border-bottom: none; }
.tool-results tr:hover td { background: var(--off-white); }
.status-yes { color: var(--success); font-weight: 700; }
.status-no { color: var(--red); font-weight: 700; }
.status-limited { color: var(--warning); font-weight: 700; }

/* ─── Download Banner ─── */
.download-card {
  background: linear-gradient(135deg, #fff8e8 0%, #fff 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.download-card-text h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.download-card-text p { font-size: 0.9rem; color: var(--text-mid); }

/* ─── Breadcrumb ─── */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--border); }

/* ─── Article Layout ─── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--off-white);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 10px;
}
.article-body p { margin-bottom: 16px; font-size: 0.98rem; line-height: 1.78; }
.article-body ul, .article-body ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.article-body li { margin-bottom: 8px; font-size: 0.95rem; line-height: 1.65; }
.article-body strong { font-weight: 700; color: var(--navy); }
.article-body a { color: var(--slate); font-weight: 600; }
.article-body a:hover { color: var(--gold); }

/* Sidebar */
.sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--off-white);
}
.sidebar-widget ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-widget ul li a {
  font-size: 0.88rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-widget ul li a:hover { color: var(--gold); }

/* ─── Footer ─── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 56px 24px 32px;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto 40px;
}
.footer-brand .logo-text { font-size: 1.2rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 0.85rem; line-height: 1.65; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.footer-disclaimer {
  max-width: var(--max-w);
  margin: 0 auto 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr !important; }
  .hero-image-wrap { display: none; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 24px;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 99;
  }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .card-grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 48px 20px 56px; }
  .hero-search { flex-direction: column; border-radius: var(--radius); }
  .hero-search input, .hero-search button { border-radius: var(--radius); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { gap: 20px; }
  .section { padding: 48px 20px; }
  .download-card { flex-direction: column; }
  .comparison-table { font-size: 0.82rem; }
  .comparison-table thead th, .comparison-table tbody td { padding: 10px 12px; }
}

/* ─── Print styles ─── */
@media print {
  .site-header, .site-footer, .sidebar, .alert-banner { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  body { font-size: 12pt; }
}

/* ─── AdSense placeholder ─── */
.ad-unit {
  background: var(--off-white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 24px 0;
}
