/* Water Cleanup USA - Shared Stylesheet v1 (Phase 1) */
/* Premium editorial fonts: Fraunces (headings) + Inter (body), self-hosted woff2 */
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --primary: #0057B8;
  --primary-dark: #004494;
  --primary-light: #E8F1FC;
  --accent: #FF6B35;
  --accent-dark: #E55A28;
  --white: #ffffff;
  --light: #F4F8FD;
  --dark: #1A2B48;
  --gray: #5A6C7D;
  --border: #DCE6F2;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--dark); line-height: 1.65; font-size: 17px; background: var(--white); }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.01em; }
/* Premium SVG star ratings */
.stars { display: inline-flex; gap: 2px; vertical-align: -2px; }
.stars .star { flex: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; max-width: 1140px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--primary); text-decoration: none; }
.logo img { width: 42px; height: 42px; border-radius: 8px; }
.logo .accent-t { color: var(--accent); }
.main-nav a { margin-left: 20px; text-decoration: none; color: var(--dark); font-weight: 600; font-size: 15px; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }

/* Buttons */
.btn { display: inline-block; padding: 13px 30px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 16px; transition: background 0.2s; border: none; cursor: pointer; text-align: center; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); color: var(--white); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }
.btn-outline-w { border: 2px solid var(--white); color: var(--white); }
.btn-outline-w:hover { background: var(--white); color: var(--primary); }
.btn-lg { font-size: 18px; padding: 16px 42px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 64px 20px; text-align: center; }
.hero h1 { font-size: 40px; margin-bottom: 14px; line-height: 1.2; color: var(--white); }
.hero p.lead { font-size: 19px; opacity: 0.93; max-width: 660px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust-badges { margin-top: 30px; display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; font-size: 14px; opacity: 0.92; }
.trust-badges span::before { content: "\2713\00A0"; color: var(--accent); font-weight: bold; }

/* Sections */
.section { padding: 56px 20px; }
.section.alt { background: var(--light); }
.section h2 { font-size: 30px; color: var(--primary); margin-bottom: 10px; }
.section h2.center, .section .sub.center { text-align: center; }
.section .sub { color: var(--gray); margin-bottom: 32px; font-size: 17px; }
.section h3 { color: var(--primary); margin: 26px 0 10px; font-size: 21px; }
.section p { margin-bottom: 14px; }
.section ul, .section ol { margin: 0 0 16px 24px; }
.section li { margin-bottom: 8px; }

/* Cards / grids */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.card { background: var(--white); border-radius: 12px; padding: 26px; box-shadow: 0 2px 12px rgba(0,87,184,0.08); border-top: 4px solid var(--primary); }
.card h3 { color: var(--primary); margin: 0 0 8px; font-size: 18px; }
.card p { color: var(--gray); font-size: 15px; margin: 0; }
.card a.card-link { color: var(--primary); font-weight: 700; text-decoration: none; font-size: 15px; }
.card a.card-link:hover { text-decoration: underline; }

/* Steps */
.steps { display: flex; gap: 18px; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.step { flex: 1; min-width: 210px; text-align: center; padding: 18px 10px; }
.step-num { width: 52px; height: 52px; background: var(--accent); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin: 0 auto 14px; }
.step h3 { color: var(--primary); margin-bottom: 6px; font-size: 18px; }
.step p { color: var(--gray); font-size: 15px; }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; }
.data-table th { background: var(--primary); color: var(--white); text-align: left; padding: 12px 14px; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
.data-table tr:nth-child(even) td { background: var(--light); }
.table-wrap { overflow-x: auto; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 20px; font-size: 17px; font-weight: 700; color: var(--primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: "+"; font-size: 24px; color: var(--accent); flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-q::after { content: "\2212"; }
.faq-a { display: none; padding: 0 20px 18px; color: var(--dark); }
.faq-item.open .faq-a { display: block; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--white); text-align: center; padding: 52px 20px; }
.cta-band h2 { font-size: 30px; margin-bottom: 10px; color: var(--white); }
.cta-band p { margin-bottom: 24px; font-size: 17px; }
.cta-band .btn { background: var(--white); color: var(--accent-dark); }
.cta-band .btn:hover { background: var(--light); }

/* Emergency strip */
.emergency-strip { background: var(--dark); color: var(--white); text-align: center; padding: 14px 16px; font-size: 16px; font-weight: 600; }
.emergency-strip a { color: var(--accent); font-weight: 800; text-decoration: none; font-size: 18px; }

/* Breadcrumb */
.breadcrumb { font-size: 14px; color: var(--gray); padding: 16px 0 0; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Tags */
.tags { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; }
.tags strong { color: var(--primary); }
.tags a { display: inline-block; background: var(--light); color: var(--primary); padding: 5px 12px; border-radius: 20px; margin: 4px; text-decoration: none; font-size: 13px; }
.tags a:hover { background: var(--primary-light); }

/* Author box */
.author-box { display: flex; gap: 16px; background: var(--light); border-radius: 12px; padding: 20px; margin: 32px 0; align-items: flex-start; }
.author-box .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; flex-shrink: 0; }
.author-box p { font-size: 14px; color: var(--gray); margin: 4px 0 0; }
.author-box strong { color: var(--dark); }

/* Dates */
.page-dates { font-size: 13px; color: var(--gray); margin-bottom: 18px; }

/* Contact form */
.contact-form { max-width: 600px; margin: 0 auto; }
.contact-form label { display: block; font-weight: 600; margin: 14px 0 6px; color: var(--dark); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 16px; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
.contact-form button { margin-top: 18px; }

/* Sticky mobile CTA */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--accent); color: var(--white); text-align: center; padding: 14px; font-size: 18px; font-weight: 800; text-decoration: none; z-index: 200; }

/* Footer */
.site-footer { background: var(--dark); color: #B0BECF; padding: 44px 20px 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; max-width: 1100px; margin: 0 auto 26px; }
.footer-grid h4 { color: var(--white); margin-bottom: 12px; font-size: 16px; }
.footer-grid a { color: #B0BECF; text-decoration: none; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { text-align: center; border-top: 1px solid #2A3D5C; padding-top: 20px; max-width: 1100px; margin: 0 auto; }

/* Checklist */
.checklist { list-style: none; margin-left: 0 !important; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* Alert box */
.alert { background: #FFF4EE; border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 20px 0; }
.alert strong { color: var(--accent-dark); }
.info-box { background: var(--primary-light); border-left: 4px solid var(--primary); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 20px 0; }

@media (max-width: 760px) {
  .hero h1 { font-size: 30px; }
  .main-nav { display: none; }
  .sticky-cta { display: block; }
  body { padding-bottom: 60px; }
  .section h2 { font-size: 25px; }
}

/* Cost calculator */
.calc-box { background: var(--white); border: 2px solid var(--border); border-radius: 14px; padding: 30px; margin: 24px 0; box-shadow: 0 4px 18px rgba(0,87,184,0.10); }
.calc-row { margin-bottom: 22px; }
.calc-row > label:first-child { display: block; font-weight: 700; color: var(--primary); margin-bottom: 10px; font-size: 17px; }
.calc-box input[type="range"] { width: 100%; accent-color: var(--accent); height: 8px; }
.calc-sqft-val { display: inline-block; font-weight: 800; color: var(--primary); font-size: 20px; margin-top: 8px; }
.calc-radio, .calc-check { display: block; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; cursor: pointer; font-size: 16px; }
.calc-radio:hover, .calc-check:hover { border-color: var(--primary); background: var(--light); }
.calc-radio input, .calc-check input { margin-right: 10px; accent-color: var(--accent); width: 18px; height: 18px; vertical-align: middle; }
.calc-result { text-align: center; background: var(--primary-light); border-radius: 10px; padding: 26px 20px; margin-top: 10px; }
.calc-result p:first-child { color: var(--gray); margin-bottom: 6px; font-size: 15px; }
.calc-number { font-size: 38px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.calc-note { font-size: 13px; color: var(--gray); margin-bottom: 18px; }

/* Don't list (red X marks) */
.dont-list { list-style: none; margin-left: 0 !important; }
.dont-list li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.dont-list li::before { content: "\2717"; position: absolute; left: 0; color: #D32F2F; font-weight: 800; }

/* Before/After cards */
.ba-card { border-top-color: var(--accent); }
.ba-before, .ba-after { margin-bottom: 10px; font-size: 15px; color: var(--gray); }
.ba-before strong { color: #D32F2F; }
.ba-after strong { color: var(--primary); }

/* State list (contractors hub) */
.state-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 12px 0 28px; }
.state-list li { margin: 0; }
.state-list a { display: block; padding: 10px 14px; background: #f4f7fb; border-radius: 8px; color: var(--primary); font-weight: 600; text-decoration: none; border: 1px solid #e2e8f0; }
.state-list a:hover { background: var(--primary); color: #fff; }

/* Contractor company profiles */
.rating-line { color: #fff; font-size: 17px; margin-top: 10px; }
.stars { color: #FFB800; letter-spacing: 2px; font-size: 19px; }
.hero-img { margin: 0 0 24px; }
.hero-img img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); }
.hero-img figcaption { font-size: 13px; color: var(--gray); margin-top: 6px; }
.rbars { margin: 16px 0 20px; }
.rbar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rbar-label { width: 64px; font-size: 14px; color: var(--gray); flex-shrink: 0; }
.rbar-track { flex: 1; height: 12px; background: #e8edf3; border-radius: 6px; overflow: hidden; }
.rbar-fill { height: 100%; background: var(--accent); border-radius: 6px; }
.rbar-count { width: 44px; text-align: right; font-size: 14px; font-weight: 600; }
.topic-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 24px; }
.topic-chips li { background: #f4f7fb; border: 1px solid #e2e8f0; border-radius: 20px; padding: 8px 16px; font-size: 14px; }
.topic-chips li span { color: var(--gray); font-size: 12px; margin-left: 6px; }
.dir-index h3 { margin-top: 26px; }
.dir-index ul { list-style: none; padding: 0; columns: 2; column-gap: 28px; }
.dir-index li { break-inside: avoid; margin-bottom: 7px; font-size: 15px; }
.dir-index li a { color: var(--primary); font-weight: 600; }
.dir-index .dir-meta { color: var(--gray); font-size: 13px; }
@media (max-width: 640px) { .dir-index ul { columns: 1; } }

/* Back to top button */
#back-to-top { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,87,184,.35); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 999; }
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--accent); }
#back-to-top svg { width: 22px; height: 22px; }
@media (max-width: 640px) { #back-to-top { bottom: 16px; right: 16px; width: 44px; height: 44px; } }

.state-jump { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0 24px; padding: 14px 16px; background: #f0f6ff; border-radius: 10px; font-size: 14px; }
.state-jump span { font-weight: 700; color: var(--primary); }
.state-jump a { color: var(--primary); text-decoration: none; padding: 2px 6px; border-radius: 4px; }
.state-jump a:hover { background: var(--primary); color: #fff; }

/* State hub pages */
.steps-list { counter-reset: steps; list-style: none; padding: 0; }
.steps-list li { counter-increment: steps; position: relative; padding: 14px 14px 14px 58px; margin-bottom: 12px; background: var(--light); border-radius: 10px; }
.steps-list li::before { content: counter(steps); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.table-note { font-size: 13px; color: var(--gray); font-style: italic; margin-top: -12px; }

.city-link-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.city-link-grid a { font-size: 13px; padding: 4px 10px; background: #f0f6ff; border-radius: 20px; color: var(--primary); text-decoration: none; }
.city-link-grid a:hover { background: var(--primary); color: #fff; }

/* Dropdown navigation */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.nav-burger { display: none; }
.nav-drop-check { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.nav-item { position: relative; display: inline-block; }
.nav-drop-btn { margin-left: 20px; text-decoration: none; color: var(--dark); font-weight: 600; font-size: 15px; }
.nav-drop-btn:hover, .nav-drop-btn.active { color: var(--primary); }
.nav-drop-label { display: none; }
.caret { display: inline-block; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--primary); margin-left: 5px; vertical-align: middle; }
.nav-dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,0.14); padding: 10px; z-index: 200; min-width: 240px; }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { display: block; }
.nav-dropdown a { display: block; margin-left: 0 !important; padding: 7px 14px; font-size: 14px; white-space: nowrap; border-radius: 6px; }
.nav-dropdown a:hover { background: var(--primary-light); color: var(--primary); }
.nav-cols { column-count: 3; column-gap: 6px; }
.nav-cols a { break-inside: avoid; }
.nav-dropdown-states { min-width: 440px; max-height: 340px; overflow-y: auto; }
#service-areas { scroll-margin-top: 90px; }
@media (max-width: 760px) {
  .header-inner { position: relative; }
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; margin-left: auto; }
  .nav-burger span { display: block; width: 24px; height: 3px; background: var(--primary); border-radius: 2px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 12px 24px rgba(0,0,0,0.12); padding: 6px 20px 20px; z-index: 200; }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .main-nav > a, .nav-drop-label { display: block !important; margin: 0 !important; padding: 12px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--dark); font-weight: 600; font-size: 15px; }
  .main-nav > a.active, .nav-drop-label.active { color: var(--primary); }
  .nav-item { display: block; border-bottom: 1px solid var(--border); }
  .nav-drop-btn { display: none !important; }
  .nav-drop-label { display: block; cursor: pointer; }
  .nav-dropdown { position: static; display: none; box-shadow: none; border: none; border-left: 3px solid var(--primary-light); border-radius: 0; padding: 0 0 0 8px; min-width: 0; }
  .nav-drop-check:checked ~ .nav-dropdown { display: block; }
  .nav-cols { column-count: 2; }
  .nav-dropdown-states { max-height: none; overflow: visible; }
}

/* Blog hub */
.blog-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 52px 20px 46px; text-align: center; }
.blog-hero h1 { color: #fff; font-size: 38px; margin-bottom: 12px; line-height: 1.2; }
.blog-hero .lead { color: rgba(255,255,255,.93); max-width: 680px; margin: 0 auto 26px; font-size: 18px; }
.breadcrumb-light { margin-bottom: 18px; font-size: 14px; color: rgba(255,255,255,.75); }
.breadcrumb-light a { color: #fff; text-decoration: none; }
.breadcrumb-light a:hover { text-decoration: underline; }
.blog-stats { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; }
.blog-stats div { text-align: center; }
.blog-stats strong { display: block; font-size: 30px; font-family: 'Fraunces', Georgia, serif; line-height: 1.1; }
.blog-stats span { font-size: 14px; opacity: .85; }
.blog-cats { position: sticky; top: 67px; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 20px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.blog-cats-inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.blog-cats a { white-space: nowrap; padding: 8px 18px; border-radius: 999px; background: var(--light); color: var(--primary); font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid var(--border); transition: background .15s, color .15s; }
.blog-cats a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.blog-section { max-width: 1100px; margin: 0 auto; padding: 46px 20px 6px; scroll-margin-top: 130px; }
.blog-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.blog-section-head h2 { font-size: 27px; color: var(--dark); margin: 0; }
.blog-section-head h2::before { content: ""; display: inline-block; width: 6px; height: 24px; background: var(--accent); border-radius: 3px; margin-right: 10px; vertical-align: -3px; }
.blog-count { background: var(--primary-light); color: var(--primary); font-size: 13px; font-weight: 700; padding: 4px 13px; border-radius: 999px; }
.blog-sub { color: var(--gray); margin: 0 0 24px; max-width: 720px; font-size: 16px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--dark); border: 1px solid var(--border); transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,87,184,.15); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--light); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h3 { font-size: 18px; line-height: 1.38; margin: 0 0 10px; color: var(--dark); transition: color .15s; }
.blog-card:hover .blog-card-body h3 { color: var(--primary); }
.blog-card-body p { font-size: 15px; color: var(--gray); margin: 0 0 14px; flex: 1; line-height: 1.6; }
.blog-read { color: var(--primary); font-weight: 700; font-size: 15px; }
.blog-read::after { content: " \2192"; transition: margin .15s; }
.blog-card:hover .blog-read::after { margin-left: 4px; }
.blog-cta { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); border-radius: 18px; padding: 44px 32px; text-align: center; color: #fff; margin: 52px auto; max-width: 1100px; }
.blog-cta h2 { color: #fff; font-size: 28px; margin: 0 0 10px; }
.blog-cta p { opacity: .95; margin: 0 0 24px; font-size: 17px; }
.btn-white { background: #fff; color: var(--accent-dark); }
.btn-white:hover { background: var(--light); color: var(--accent-dark); }
@media (max-width: 640px) {
  .blog-hero h1 { font-size: 30px; }
  .blog-hero { padding: 40px 16px 36px; }
  .blog-cats { top: 63px; }
  .blog-section { padding: 36px 16px 4px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* Article pages (match homepage design language) */
.article-wrap { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.article-hero { background: var(--light); border-bottom: 1px solid var(--border); padding: 36px 0 30px; margin-bottom: 30px; }
.article-hero h1 { font-size: 36px; line-height: 1.22; color: var(--dark); margin: 14px 0 14px; letter-spacing: -0.01em; }
.article-hero .lead { font-size: 19px; color: var(--gray); line-height: 1.65; margin: 0 0 18px; }
.article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--gray); }
.article-meta .meta-author { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--dark); }
.article-meta .meta-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.article-meta .meta-dot { opacity: .5; }
.article-hero-img { margin: 0 0 30px; }
.article-hero-img img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,87,184,.1); display: block; }
.article-body { font-size: 18px; line-height: 1.75; color: var(--dark); }
.article-body > p { margin-bottom: 20px; }
.article-body h2 { font-size: 28px; color: var(--dark); margin: 44px 0 16px; padding-top: 8px; scroll-margin-top: 140px; }
.article-body h2::before { content: ""; display: inline-block; width: 6px; height: 24px; background: var(--accent); border-radius: 3px; margin-right: 10px; vertical-align: -3px; }
.article-body h3 { font-size: 21px; color: var(--primary); margin: 30px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 22px 24px; }
.article-body li { margin-bottom: 10px; }
.article-body a { color: var(--primary); font-weight: 600; }
.article-body blockquote { border-left: 4px solid var(--accent); background: var(--light); margin: 26px 0; padding: 18px 22px; border-radius: 0 12px 12px 0; font-size: 17px; color: var(--dark); }
.article-body blockquote p { margin: 0; }
.gov-note { background: var(--primary-light); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 26px 0; font-size: 16px; line-height: 1.65; }
.gov-note strong { color: var(--primary); }
.cta-box { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: 16px; padding: 38px 32px; text-align: center; color: #fff; margin: 44px 0; }
.cta-box h2 { color: #fff; font-size: 26px; margin: 0 0 12px; }
.cta-box h2::before { display: none; }
.cta-box p { color: rgba(255,255,255,.93); margin: 0 0 14px; font-size: 17px; }
.cta-box a { color: #fff; }
.cta-box .btn-accent { margin-top: 8px; }
.article-body .faq { margin: 10px 0 30px; max-width: none; }
.related-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0 34px; }
.related-links a { display: block; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; text-decoration: none; color: var(--dark); font-weight: 600; font-size: 16px; line-height: 1.45; transition: transform .15s, box-shadow .15s, border-color .15s; }
.related-links a:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,87,184,.12); border-color: var(--primary); color: var(--primary); }
.related-links a::after { content: " \2192"; color: var(--accent); }
.sources-list { list-style: none; margin: 0 0 26px; padding: 0; }
.sources-list li { background: var(--light); border-radius: 10px; padding: 12px 18px; margin-bottom: 10px; font-size: 15px; }
.sources-list a { color: var(--primary); text-decoration: none; font-weight: 600; }
.sources-list a:hover { text-decoration: underline; }
.article-body .author-box { margin: 40px 0 10px; }
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 6px; }
.article-tags a { font-size: 14px; font-weight: 600; color: var(--primary); background: var(--primary-light); border-radius: 999px; padding: 7px 16px; text-decoration: none; }
.article-tags a:hover { background: var(--primary); color: #fff; }
@media (max-width: 640px) {
  .article-hero h1 { font-size: 28px; }
  .article-hero { padding: 28px 0 24px; }
  .article-body { font-size: 17px; }
  .article-body h2 { font-size: 24px; }
  .cta-box { padding: 30px 22px; }
}
