/*
 * ERstat SEO Pages - Shared Stylesheet
 * Place this file at: frontend/public/seo.css
 * Vite copies public/ → dist/ as-is (no hash), so it's always at /seo.css
 *
 * Referenced by backend/src/routes/seo.js via:
 *   <link rel="stylesheet" href="/seo.css">
 */

/* ═══════════════════════════════════════════════════════════════
   SELF-HOSTED FONTS
   ═══════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══════════════════════════════════════════════════════════════
   CSS VARIABLES — Light mode
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #f9fafb;
  --bg-subtle: #f3f4f6;
  --card: #ffffff;
  --card-hover: #fefefe;
  --border: #e5e7eb;
  --border-light: #f3f4f6;

  --text: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --text-faint: #d1d5db;

  --accent: #4f6479;
  --accent-dark: #374151;
  --accent-light: #e8eef3;

  --green: #10b981;
  --green-light: #d1fae5;
  --green-bg: #ecfdf5;
  --green-border: #6ee7b7;

  --yellow: #f59e0b;
  --yellow-light: #fef3c7;
  --yellow-bg: #fffbeb;
  --yellow-border: #fcd34d;

  --red: #ef4444;
  --red-light: #fee2e2;
  --red-bg: #fef2f2;
  --red-border: #fca5a5;

  --brand-red: #dc2626;

  --blue: #3b82f6;
  --blue-light: #dbeafe;
  --blue-bg: #eff6ff;
  --blue-border: #93c5fd;

  --radius: 14px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);

  --transition-fast: 0.12s ease-out;
  --transition-base: 0.2s ease-out;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE — system preference
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1419;
    --bg-subtle: #1a1f26;
    --card: #1e252d;
    --card-hover: #252d37;
    --border: #2d3640;
    --border-light: #252d37;

    --text: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --text-faint: #4b5563;

    --accent: #7d8fa3;
    --accent-dark: #9ca3af;
    --accent-light: #2d3640;

    --green-light: #064e3b;
    --green-bg: #022c22;
    --green-border: #065f46;
    --yellow-light: #78350f;
    --yellow-bg: #451a03;
    --yellow-border: #92400e;
    --red-light: #7f1d1d;
    --red-bg: #450a0a;
    --red-border: #991b1b;
    --blue-light: #1e3a5f;
    --blue-bg: #172554;
    --blue-border: #1e40af;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE — manual toggle via [data-theme="dark"]
   ═══════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --bg: #0f1419;
  --bg-subtle: #1a1f26;
  --card: #1e252d;
  --card-hover: #252d37;
  --border: #2d3640;
  --border-light: #252d37;

  --text: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-faint: #4b5563;

  --accent: #7d8fa3;
  --accent-dark: #9ca3af;
  --accent-light: #2d3640;

  --green-light: #064e3b;
  --green-bg: #022c22;
  --green-border: #065f46;
  --yellow-light: #78350f;
  --yellow-bg: #451a03;
  --yellow-border: #92400e;
  --red-light: #7f1d1d;
  --red-bg: #450a0a;
  --red-border: #991b1b;
  --blue-light: #1e3a5f;
  --blue-bg: #172554;
  --blue-border: #1e40af;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] {
  --bg: #f9fafb;
  --bg-subtle: #f3f4f6;
  --card: #ffffff;
  --border: #e5e7eb;
  --text: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --accent: #4f6479;
  --green-light: #d1fae5;
  --green-bg: #ecfdf5;
  --green-border: #6ee7b7;
  --yellow-light: #fef3c7;
  --yellow-bg: #fffbeb;
  --yellow-border: #fcd34d;
  --red-light: #fee2e2;
  --red-bg: #fef2f2;
  --red-border: #fca5a5;
  --blue-light: #dbeafe;
  --blue-bg: #eff6ff;
  --blue-border: #93c5fd;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.seo-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 16px;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.seo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.seo-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seo-logo-icon {
  width: 28px;
  height: 28px;
  background: var(--brand-red);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seo-logo-icon svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.seo-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.seo-nav {
  display: flex;
  gap: 20px;
}

.seo-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.seo-nav a:hover {
  color: var(--text);
}

.seo-theme-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.seo-theme-btn:hover {
  background: var(--bg-subtle);
  color: var(--text);
}

.seo-theme-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.seo-theme-btn .icon-sun { display: none; }
.seo-theme-btn .icon-moon { display: block; }

[data-theme="dark"] .seo-theme-btn .icon-sun { display: block; }
[data-theme="dark"] .seo-theme-btn .icon-moon { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .seo-theme-btn .icon-sun { display: block; }
  :root:not([data-theme="light"]) .seo-theme-btn .icon-moon { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════════════ */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs-sep {
  color: var(--text-faint);
}

/* ═══════════════════════════════════════════════════════════════
   PAGE TITLE
   ═══════════════════════════════════════════════════════════════ */
.seo-page-title {
  margin-bottom: 24px;
}

.seo-page-title h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.seo-page-title .subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   WAIT CARD
   ═══════════════════════════════════════════════════════════════ */
.wait-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.wait-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.wait-card-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.source-badge {
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  font-weight: 600;
}

.source-badge.official {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
}

.source-badge.community {
  background: var(--blue-bg);
  color: var(--blue);
  border: 1px solid var(--blue-border);
}

.wait-time-display {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.wait-time-number {
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
}

.wait-time-number.quick    { color: var(--green); }
.wait-time-number.moderate { color: var(--yellow); }
.wait-time-number.packed   { color: var(--red); }
.wait-time-number.unknown  { color: var(--text-muted); }

.status-badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.status-badge.quick    { background: var(--green-bg);  color: var(--green);  border: 1px solid var(--green-border); }
.status-badge.moderate { background: var(--yellow-bg); color: var(--yellow); border: 1px solid var(--yellow-border); }
.status-badge.packed   { background: var(--red-bg);    color: var(--red);    border: 1px solid var(--red-border); }
.status-badge.unknown  { background: var(--bg-subtle); color: var(--text-muted); border: 1px solid var(--border); }
.status-badge.closed   { background: var(--red-bg);    color: var(--red);    border: 1px solid var(--red-border); }

.wait-range {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.card-stats {
  display: flex;
  gap: 16px;
  padding: 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.card-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.card-stat-icon {
  font-size: 15px;
  line-height: 1;
}

.card-stat strong {
  color: var(--text);
  font-weight: 600;
}

.wait-updated {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

.wait-updated a {
  color: var(--accent);
  text-decoration: none;
}

.wait-updated a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   STATUS BANNERS
   ═══════════════════════════════════════════════════════════════ */
.status-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.status-banner-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.status-banner strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.status-banner p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.status-banner.closed {
  background: var(--red-bg);
  border: 1px solid var(--red-border);
}

.status-banner.limited {
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-border);
}

.status-banner.open {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
}

/* ═══════════════════════════════════════════════════════════════
   SECTION CARDS — base
   ═══════════════════════════════════════════════════════════════ */
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
}

/* Section label header: small uppercase with red left bar */
.info-card h2,
.info-card h3 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card h2::before,
.info-card h3::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 13px;
  background: var(--brand-red);
  border-radius: 2px;
  flex-shrink: 0;
}

.info-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.info-card p + p {
  margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES TAGS — improved pill style
   ═══════════════════════════════════════════════════════════════ */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  padding: 5px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.feature-tag:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════
   AMENITIES — green checkmarks
   ═══════════════════════════════════════════════════════════════ */
.amenities-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.amenities-list li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.5;
}

.amenities-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   TIPS — numbered blue circles
   ═══════════════════════════════════════════════════════════════ */
.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  counter-reset: tip-counter;
}

.tips-list li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 11px;
  line-height: 1.55;
  counter-increment: tip-counter;
}

.tips-list li::before {
  content: counter(tip-counter);
  min-width: 22px;
  height: 22px;
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  color: var(--blue);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   WHAT TO BRING — 2-col checkbox grid
   ═══════════════════════════════════════════════════════════════ */
.bring-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.bring-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.45;
}

.bring-list li::before {
  content: '☐';
  color: var(--text-muted);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: -1px;
}

@media (max-width: 480px) {
  .bring-list { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   BEST TIMES — green / red side-by-side callout blocks
   ═══════════════════════════════════════════════════════════════ */
.best-times-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.best-times-block {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid;
}

.best-times-block.quieter {
  background: var(--green-bg);
  border-color: var(--green-border);
}

.best-times-block.busier {
  background: var(--red-bg);
  border-color: var(--red-border);
}

.best-times-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.best-times-block.quieter .best-times-label { color: var(--green); }
.best-times-block.busier  .best-times-label { color: var(--red); }

.best-times-block p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 !important;
}

@media (max-width: 480px) {
  .best-times-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   FAQ — visible stacked list (better for SEO keyword density)
   FAQPage schema handles rich results; no need to hide content
   ═══════════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:nth-child(even) {
  background: var(--bg-subtle);
}

.faq-question {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 12px;
  border-left: 2px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════════
   FORECAST CHART
   ═══════════════════════════════════════════════════════════════ */
.forecast-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
}

.forecast-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.forecast-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 13px;
  background: var(--brand-red);
  border-radius: 2px;
  flex-shrink: 0;
}

.forecast-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 100px;
  padding-bottom: 20px;
  position: relative;
}

.forecast-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 4px;
}

.bar-fill {
  width: 100%;
  border-radius: 3px 3px 0 0;
  min-height: 4px;
  transition: height 0.3s ease;
}

.bar-fill.quick    { background: var(--green); }
.bar-fill.moderate { background: var(--yellow); }
.bar-fill.packed   { background: var(--red); }
.bar-fill.unknown  { background: var(--border); }

.bar-label {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   NEARBY HOSPITALS
   ═══════════════════════════════════════════════════════════════ */
.nearby-section {
  margin-bottom: 12px;
}

.nearby-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nearby-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 13px;
  background: var(--brand-red);
  border-radius: 2px;
  flex-shrink: 0;
}

.hospital-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  margin-bottom: 8px;
}

.hospital-row:hover {
  border-color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.hospital-row:active {
  transform: translateY(0);
}

.hospital-row-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.hospital-row-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.hospital-row-wait {
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 12px;
}

.hospital-row-wait.quick    { color: var(--green); }
.hospital-row-wait.moderate { color: var(--yellow); }
.hospital-row-wait.packed   { color: var(--red); }
.hospital-row-wait.unknown  { color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════
   CTA BUTTON
   ═══════════════════════════════════════════════════════════════ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--brand-red);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   PROVINCE / HOSPITAL INDEX PAGES
   ═══════════════════════════════════════════════════════════════ */
.province-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.province-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.province-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.province-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.province-count {
  font-size: 13px;
  color: var(--text-muted);
}

.hospital-index-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.seo-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 48px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.seo-footer p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .seo-page-title h1 { font-size: 22px; }
  .wait-time-number  { font-size: 44px; }
  .seo-nav           { display: none; }
  .card-stats        { gap: 10px; }
  .info-card         { padding: 16px; }
}