/* ═══════════════════════════════════════════════════════════════
   ERstat SEO Pages
   ═══════════════════════════════════════════════════════════════ */

@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;
}

/* ── Variables ── */
:root {
  --bg: #f9fafb;
  --bg-subtle: #f3f4f6;
  --card: #ffffff;
  --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-bg: #ecfdf5;
  --green-border: #6ee7b7;
  --yellow: #f59e0b;
  --yellow-bg: #fffbeb;
  --yellow-border: #fcd34d;
  --red: #ef4444;
  --red-bg: #fef2f2;
  --red-border: #fca5a5;
  --brand-red: #dc2626;
  --blue: #3b82f6;
  --blue-bg: #eff6ff;
  --blue-border: #93c5fd;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --transition-fast: 0.12s ease-out;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1419;
    --bg-subtle: #1a1f26;
    --card: #1e252d;
    --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-bg: #022c22;
    --green-border: #065f46;
    --yellow-bg: #451a03;
    --yellow-border: #92400e;
    --red-bg: #450a0a;
    --red-border: #991b1b;
    --blue-bg: #172554;
    --blue-border: #1e40af;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.3);
  }
}

[data-theme="dark"] {
  --bg: #0f1419;
  --bg-subtle: #1a1f26;
  --card: #1e252d;
  --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-bg: #022c22;
  --green-border: #065f46;
  --yellow-bg: #451a03;
  --yellow-border: #92400e;
  --red-bg: #450a0a;
  --red-border: #991b1b;
  --blue-bg: #172554;
  --blue-border: #1e40af;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.3);
}

[data-theme="light"] {
  --bg: #f9fafb;
  --bg-subtle: #f3f4f6;
  --card: #ffffff;
  --border: #e5e7eb;
  --text: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --accent: #4f6479;
  --green-bg: #ecfdf5;
  --green-border: #6ee7b7;
  --yellow-bg: #fffbeb;
  --yellow-border: #fcd34d;
  --red-bg: #fef2f2;
  --red-border: #fca5a5;
  --blue-bg: #eff6ff;
  --blue-border: #93c5fd;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
}

/* ── Reset ── */
*, *::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.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.seo-container {
  max-width: 740px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}

/* ── Header ── */
.seo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.seo-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seo-logo-icon {
  width: 26px;
  height: 26px;
  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: 14px; height: 14px; 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: 34px;
  height: 34px;
  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: 16px; height: 16px; 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: 20px;
  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: 28px; }

.seo-page-title h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  line-height: 1.2;
}

.seo-page-title .subtitle {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ── Status notice (closed / advisory / limited only) ── */
.status-notice {
  font-size: 14px;
  padding: 12px 0;
  margin-bottom: 20px;
  border-left: 3px solid var(--border);
  padding-left: 14px;
  color: var(--text-secondary);
}

.status-notice.closed {
  border-color: var(--red);
  color: var(--red);
}

.status-notice.advisory {
  border-color: var(--yellow);
  color: var(--text-secondary);
}

.status-notice.limited {
  border-color: var(--accent);
  color: var(--text-secondary);
}

/* ── Wait block ── */
.wait-block {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.wait-source-line {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.wait-source-line span {
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.wait-number {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.wait-number.quick  { color: var(--green); }
.wait-number.moderate { color: var(--yellow); }
.wait-number.packed { color: var(--red); }
.wait-number.unknown { color: var(--text-muted); }
.wait-number.closed { color: var(--red); }

.wait-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.wait-range {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.wait-nb-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.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; }

/* ── Forecast ── */
.forecast-section { margin-top: 20px; }

.forecast-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.forecast-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
}

.forecast-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  height: 100%;
}

.bar-fill {
  width: 100%;
  border-radius: 3px 3px 0 0;
  min-height: 4px;
}

.bar-fill.quick    { background: var(--green); opacity: 0.7; }
.bar-fill.moderate { background: var(--yellow); opacity: 0.7; }
.bar-fill.packed   { background: var(--red); opacity: 0.7; }

.bar-label {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Nearby section ── */
.nearby-section {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.nearby-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.hospital-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-fast);
}

.hospital-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: background var(--transition-fast);
  border-radius: var(--radius-sm);
  margin: 0 -8px;
}

.hospital-row:hover {
  background: var(--bg-subtle);
}

.hospital-row:last-child { border-bottom: none; }

.hospital-row-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);  /* ← makes it look like a link */
  margin-bottom: 2px;
}
.hospital-row:last-child { border-bottom: none; }

.hospital-row-info h3 {
  font-size: 14px;
  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: 16px;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 16px;
}

.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); }

/* ── Content sections ── */
.content-section {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.content-section:last-of-type { border-bottom: none; }

.content-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.content-section h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.content-section p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.65;
}

.content-section p:last-child { margin-bottom: 0; }

.content-section ul {
  padding-left: 18px;
  margin-bottom: 10px;
}

.content-section li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.5;
}

/* ── Services list ── */
.services-list {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── FAQ ── */
.faq-list { margin-top: 4px; }

.faq-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Map link ── */
.map-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 32px;
  padding: 10px 0;
  border-bottom: 1px solid var(--accent-light);
  transition: color var(--transition-fast);
}

.map-link:hover { color: var(--accent-dark); }

/* ── Feedback form ── */
.feedback-section {
  margin-bottom: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.feedback-section h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.feedback-section p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.feedback-section textarea,
.feedback-section input[type=email] {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  font-family: var(--font-family);
  resize: vertical;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.feedback-section textarea:focus,
.feedback-section input:focus {
  outline: none;
  border-color: var(--accent);
}

.feedback-section textarea { min-height: 72px; }

.feedback-btn {
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-family);
  transition: opacity var(--transition-fast);
}

.feedback-btn:hover { opacity: 0.85; }

/* ── Footer ── */
.seo-footer {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--text); }

.seo-footer p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .seo-container { padding: 16px 16px 48px; }
  .seo-page-title h1 { font-size: 22px; }
  .wait-number { font-size: 48px; }
  .seo-nav { display: none; }
}

.content-section {
  margin-bottom: 40px;  /* was 32px */
  padding-bottom: 32px; /* was 28px */
}

.wait-source-line {
  font-size: 12px;
  font-weight: 500;       /* was 600 */
  text-transform: none;   /* remove all-caps */
  letter-spacing: 0;      /* remove tracking */
  color: var(--text-muted);
  margin-bottom: 10px;
}

.feedback-section h3 {
  color: var(--text-muted); /* was default text color */
}

/* ── More ERs siblings grid ── */
.more-ers-section { }

.siblings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 500px) {
  .siblings-grid {
    grid-template-columns: 1fr;
  }
}

.sibling-link {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition-fast);
}

.sibling-link:hover {
  color: var(--text);
}

.sibling-city {
  font-weight: 400;
  color: var(--text-muted);
}
 .city-fastest {
   padding: 12px 16px;
   background: var(--bg-subtle);
   border-radius: 8px;
   margin-bottom: 20px;
   font-size: 14px;
   color: var(--text-secondary);
 }
 .city-fastest strong.quick { color: var(--green); }
 .city-fastest strong.moderate { color: var(--yellow); }
 .city-fastest strong.packed { color: var(--red); }
 
 .seo-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.seo-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.seo-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.seo-share-btn:hover {
  color: var(--text);
  border-color: var(--text-muted);
}
.quick-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 16px 0 20px;
}

.qc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition-fast);
}

.qc-item:last-child {
  border-bottom: none;
}

.qc-item:hover {
  color: var(--accent);
}

.qc-icon {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  flex-shrink: 0;
}

.qc-item:hover .qc-icon {
  fill: var(--accent);
}
.qc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--text-secondary, #9ca3af);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light, #252d37);
  -webkit-text-fill-color: var(--text-secondary, #9ca3af);
}

.qc-item:visited {
  color: var(--text-secondary, #9ca3af);
  -webkit-text-fill-color: var(--text-secondary, #9ca3af);
}

.qc-item:hover {
  color: var(--accent, #7d8fa3);
}

.qc-icon {
  width: 18px;
  height: 18px;
  fill: var(--text-muted, #6b7280);
  flex-shrink: 0;
}

.bar-wait {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-secondary, #4b5563);
  margin-bottom: 4px;
  white-space: nowrap;
}

.bar-wait {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 2px;
  white-space: nowrap;
  height: 14px;  /* Fixed height so bars align even without label */
  display: flex;
  align-items: flex-end;
}

.bar-value {
  width: 100%;
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  max-height: 60px;  /* Cap the max height */
  transition: height 0.3s ease;
}

.bar-value.quick { background: var(--green, #10b981); }
.bar-value.moderate { background: var(--yellow, #f59e0b); }
.bar-value.packed { background: var(--red, #ef4444); }

/* ── CTA block — funnels SEO visitors to live map ── */
.cta-block {
  margin: 20px 0 16px;
  padding: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
}

.cta-block .cta-text {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.cta-block .cta-button {
  display: inline-block;
  padding: 10px 24px;
  background: var(--brand-red, #ef4444);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.cta-block .cta-button:hover {
  opacity: 0.85;
}
@media (max-width: 600px) {
  .cta-block .cta-button {
    display: block;
    width: 100%;
    text-align: center;
  }
}

.seo-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.seo-title-row h1 {
  flex: 1;
  min-width: 0;
}
/* ── Telehealth nudge ── */
.telehealth-nudge {
  margin: 20px 0 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--green, #10b981);
  background: var(--green-bg, #022c22);
  border-radius: 0 8px 8px 0;
}

.telehealth-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.telehealth-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

.telehealth-phone {
  color: var(--green, #10b981);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}

.telehealth-phone:hover {
  text-decoration: underline;
}

.telehealth-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--green, #10b981);
  text-decoration: none;
  font-weight: 500;
}

.telehealth-link:hover {
  text-decoration: underline;
}



.seo-report-link {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
}

.seo-report-link:hover {
  color: var(--text);
  text-decoration: underline;
}


  .pharmacy-redirect {
    margin: 20px 0;
    padding: 16px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-left: 4px solid #4caf50;
    border-radius: 8px;
  }
  .pharmacy-redirect h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #4caf50;
  }
  .pharmacy-redirect p {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
  }
  .pharmacy-redirect details {
    margin: 10px 0;
  }
  .pharmacy-redirect summary {
    cursor: pointer;
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
  }
  .pharmacy-conditions {
    columns: 2;
    column-gap: 16px;
    margin: 8px 0;
    padding-left: 20px;
    font-size: 13px;
    color: var(--text-secondary);
  }
  .pharmacy-conditions li {
    margin-bottom: 3px;
    break-inside: avoid;
  }
  .pharmacy-free {
    font-size: 13px !important;
    color: #4caf50 !important;
    font-weight: 500;
  }
  .pharmacy-source {
    font-size: 11px !important;
    color: var(--text-secondary) !important;
  }
  .pharmacy-source a {
    color: var(--accent);
  }
  .pharmacy-811 {
    margin-top: 10px !important;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-weight: 500;
  }
  .pharmacy-phone {
    color: #4caf50;
    text-decoration: none;
    font-size: 16px;
  }
  .pharmacy-phone:hover {
    text-decoration: underline;
  }
  .pharmacy-chat {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
  }
  .pharmacy-chat:hover {
    text-decoration: underline;
  }
  .pharmacy-more {
    font-size: 13px !important;
    margin-top: 8px !important;
  }
  .pharmacy-more a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
  }
  .pharmacy-more a:hover {
    text-decoration: underline;
  }



  .g-live-stat {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 14px 16px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 8px;
  }

  .g-section {
    margin-bottom: 20px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    border-left: 4px solid var(--border);
  }
  .g-border-red { border-left-color: #ef4444; }
  .g-border-green { border-left-color: #10b981; }
  .g-border-yellow { border-left-color: #f59e0b; }
  .g-border-blue { border-left-color: #3b82f6; }

  .g-section h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
  }
  .g-section p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 10px;
  }

  .g-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0;
  }
  .g-tags span {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 13px;
    color: var(--text);
    background: var(--red-bg);
    border: 1px solid var(--red-border);
  }
  .g-tags-green span {
    background: var(--green-bg);
    border-color: var(--green-border);
  }

  .g-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s ease;
  }
  .g-cta:hover { opacity: 0.85; }
  .g-cta-red {
    background: #ef4444;
    color: white;
  }

  .g-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
  }
  .g-pill {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.15s ease;
  }
  .g-pill:hover { border-color: var(--accent); }
  .g-pill span {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 12px;
  }

  .g-811 {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .g-811-number {
    font-size: 28px;
    font-weight: 800;
    color: #4caf50;
    text-decoration: none;
    letter-spacing: -1px;
  }
  .g-811-number:hover { text-decoration: underline; }
  .g-811 span {
    font-size: 13px;
    color: var(--text-muted);
  }

  .g-compare {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }
  .g-compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0;
  }
  .g-compare-row > div {
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
  }
  .g-compare-row:last-child > div {
    border-bottom: none;
  }
  .g-compare-header > div {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-subtle);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .g-compare-row > div strong {
    color: var(--text);
  }
  @media (max-width: 500px) {
    .g-compare-row {
      grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
    }
    .g-compare-row > div {
      padding: 8px 8px;
      font-size: 12px;
    }
  }

  .g-province-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .g-province-link {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.15s ease;
  }
  .g-province-link:hover { border-color: var(--accent); }

  .g-disclaimer {
    text-align: center;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    margin-top: 28px;
  }
  .g-disclaimer p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
  }

.patterns-seo-compact {
  display: flex;
  gap: 8px;
  margin: 8px 0 4px;
}

.patterns-seo-card {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--card);
  flex-wrap: wrap;
}

.patterns-seo-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-muted);
}

.patterns-seo-time {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

.patterns-seo-wait {
  font-size: 13px;
  font-weight: 700;
}

.patterns-seo-card.good .patterns-seo-wait { color: var(--green, #16a34a); }
.patterns-seo-card.bad .patterns-seo-wait { color: var(--red, #ef4444); }


/* ── Hamburger + slide menu ── */
.seo-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 4px;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 600px) {
  .seo-nav { display: none; }
  .seo-hamburger { display: flex; align-items: center; }
}

.seo-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 998;
  transition: background 0.3s ease;
}
.seo-menu-overlay.active {
  background: rgba(0, 0, 0, 0.5);
}

.seo-slide-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.seo-slide-menu.active {
  right: 0;
}

.seo-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.seo-menu-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.seo-menu-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.seo-menu-links {
  flex: 1;
  padding: 8px 0;
}
.seo-menu-links a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s;
}
.seo-menu-links a:last-child { border-bottom: none; }
.seo-menu-links a:hover { background: var(--bg-subtle); }

.seo-menu-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.seo-menu-footer a {
  color: var(--text-muted);
  text-decoration: none;
}
.seo-menu-footer a:hover { color: var(--text); }
