:root {
  --brand: #b4232d;
  --brand-dark: #861922;
  --ink: #17202a;
  --muted: #667085;
  --line: #e4e7ec;
  --surface: #f7f8fa;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(16, 24, 40, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.65 Arial, Helvetica, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--brand); }
button, input { font: inherit; }
h1, h2, h3 { margin-top: 0; line-height: 1.22; }
h1 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); letter-spacing: -.02em; }
h3 { font-size: 1.05rem; }
p { margin-top: 0; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; color: #fff; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: #fff; }
.topbar { display: grid; grid-template-columns: auto minmax(280px, 560px) auto; align-items: center; gap: 32px; min-height: 104px; }
.brand { display: flex; flex-direction: column; color: var(--ink); font-size: 1.08rem; line-height: 1.08; text-decoration: none; }
.brand span { font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.brand strong { margin-top: 4px; color: var(--brand); font-size: 1.55rem; }
.search { display: flex; border: 1px solid #cfd4dc; border-radius: 999px; background: var(--white); overflow: hidden; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(180, 35, 45, .12); }
.search input { min-width: 0; flex: 1; padding: 12px 18px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search button { padding: 10px 20px; border: 0; color: #fff; background: var(--brand); cursor: pointer; }
.search button:hover { background: var(--brand-dark); }
.menu-toggle { display: none; padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.main-nav { color: #fff; background: var(--ink); }
.nav-inner { display: flex; min-height: 52px; align-items: stretch; gap: 8px; }
.nav-inner > a, .nav-inner summary { display: flex; min-height: 52px; align-items: center; padding: 0 16px; color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; list-style: none; }
.nav-inner summary::-webkit-details-marker { display: none; }
.nav-inner summary::after { content: "▾"; margin-left: 8px; font-size: .75em; }
.nav-inner > a:hover, .nav-inner summary:hover, .nav-inner details[open] summary { color: #fff; background: rgba(255,255,255,.1); }
.nav-inner details { position: relative; }
.nav-dropdown { position: absolute; z-index: 30; top: 100%; left: 0; display: grid; min-width: 270px; max-height: 420px; padding: 8px; overflow-y: auto; border: 1px solid var(--line); border-radius: 0 0 10px 10px; background: #fff; box-shadow: var(--shadow); }
.nav-dropdown a { padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.nav-dropdown a:hover { color: var(--brand-dark); background: var(--surface); }

.notification { position: fixed; z-index: 25; right: 18px; bottom: 18px; width: 50px; height: 50px; border: 0; border-radius: 50%; color: #fff; background: var(--brand); box-shadow: var(--shadow); cursor: pointer; }
.notification:hover { background: var(--brand-dark); }

.page-hero { padding: 64px 0 56px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fff 0%, #f7ecee 100%); }
.page-hero.compact { padding: 42px 0; }
.page-hero h1 { max-width: 900px; margin-bottom: 14px; }
.page-hero p:not(.eyebrow) { max-width: 760px; margin-bottom: 0; color: #475467; font-size: 1.08rem; }
.eyebrow { margin-bottom: 10px; color: var(--brand-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumbs { display: flex; gap: 8px; padding-top: 20px; color: var(--muted); font-size: .87rem; }
.breadcrumbs span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.content-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .82fr); gap: 44px; padding-top: 48px; padding-bottom: 64px; }
.content-column { min-width: 0; }
.section-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.section-heading::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.section-heading h2 { margin: 0; white-space: nowrap; }

.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.report-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 3px 14px rgba(16,24,40,.05); overflow: hidden; }
.report-image { display: block; aspect-ratio: 16 / 9; background: #eef0f3; overflow: hidden; }
.report-image img { width: 100%; height: 100%; padding: 12px; object-fit: contain; object-position: center; transition: transform .25s ease; }
.report-card:hover .report-image img { transform: scale(1.015); }
.report-card-body { display: flex; flex: 1; flex-direction: column; padding: 19px; }
.report-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 10px; color: var(--muted); font-size: .78rem; }
.report-meta span { color: var(--brand-dark); font-weight: 700; }
.report-card h2 { margin-bottom: 18px; font-size: 1.18rem; }
.report-card h2 a { color: var(--ink); text-decoration: none; }
.report-card h2 a:hover { color: var(--brand-dark); }
.read-more { margin-top: auto; font-size: .9rem; font-weight: 700; text-decoration: none; }
.empty-state { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 34px 0; color: var(--muted); text-align: center; }
.pagination a:last-child { justify-self: end; }
.button { display: inline-flex; width: fit-content; align-items: center; justify-content: center; padding: 10px 15px; border: 1px solid var(--brand); border-radius: 8px; color: #fff; background: var(--brand); font-weight: 700; text-decoration: none; }
.button:hover { color: #fff; background: var(--brand-dark); }
.button-secondary { color: var(--brand-dark); background: #fff; }
.button-secondary:hover { color: #fff; }
.button-light { border-color: #fff; color: var(--ink); background: #fff; }
.button-light:hover { color: var(--brand-dark); background: #f5f5f5; }

.ad-slot { min-height: 80px; margin: 28px 0; clear: both; overflow: hidden; text-align: center; }
.report-grid > .ad-slot { grid-column: 1 / -1; }
.editorial-content { margin-top: 42px; padding-top: 34px; border-top: 1px solid var(--line); }
.editorial-content h2 { margin-top: 32px; }
.editorial-content h2:first-child { margin-top: 0; }
.editorial-content li { margin-bottom: 7px; }
.link-columns { columns: 2; gap: 32px; }

.sidebar { min-width: 0; }
.sidebar-box { margin-bottom: 28px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sidebar-box h2 { margin-bottom: 18px; font-size: 1.1rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat-grid div { text-align: center; }
.stat-grid strong, .stat-grid span { display: block; }
.stat-grid strong { font-size: 1.15rem; }
.stat-grid span { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.district-list, .footer-links, .footer-reports, .tag-list { padding: 0; margin: 0; list-style: none; }
.district-list li + li { border-top: 1px solid var(--line); }
.district-list a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; color: var(--ink); font-size: .92rem; text-decoration: none; }
.district-list a:hover { color: var(--brand-dark); }

.article-layout { align-items: start; }
.main-article { font-size: 1.05rem; }
.article-header { padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.article-header h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); overflow-wrap: anywhere; }
.article-byline { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); font-size: .88rem; }
.article-image { position: relative; margin: 26px 0; }
.article-image img { display: block; width: 100%; max-height: 620px; border-radius: var(--radius); object-fit: contain; background: var(--surface); }
.article-image figcaption { position: absolute; right: 8px; bottom: 8px; padding: 4px 8px; border-radius: 5px; background: rgba(255,255,255,.9); font-size: .75rem; }
.article-content { overflow-wrap: anywhere; }
.article-content p { margin-bottom: 1.2em; }
.article-content img { height: auto !important; border-radius: 8px; }
.article-content iframe { width: 100%; max-width: 100%; border: 0; aspect-ratio: 16 / 9; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-content td, .article-content th { padding: 7px; border: 1px solid var(--line); }
.report-source { margin-top: 28px; padding: 12px 16px; border-left: 3px solid var(--brand); background: var(--surface); font-size: .9rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.tag-list a { display: block; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .82rem; text-decoration: none; }
.tag-list a:hover { border-color: var(--brand); color: var(--brand-dark); }
.share-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 30px 0; padding: 18px; border-radius: var(--radius); background: var(--surface); }
.share-box strong { margin-right: auto; }
.related { margin-top: 50px; }

.site-footer { padding-top: 52px; color: #d0d5dd; background: #101828; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.25fr .75fr; gap: 40px; }
.site-footer h2 { margin-bottom: 16px; color: #fff; font-size: 1rem; }
.site-footer a { color: #eaecf0; }
.footer-links li, .footer-reports li { margin-bottom: 7px; }
.footer-reports a { display: block; font-size: .88rem; line-height: 1.4; }
.footer-bottom { margin-top: 40px; padding: 18px 0; border-top: 1px solid #344054; color: #98a2b3; font-size: .8rem; }

/* Existing legal-page markup */
section.single > .container > .row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .82fr); gap: 44px; padding: 48px 0 64px; }
section.single .col-md-8 { min-width: 0; }
section.single .main-article > header { margin-bottom: 24px; }
section.single .main-article > .main h2 { margin-top: 32px; }
.line.thin { display: none; }

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; gap: 16px; padding: 18px 0; }
  .topbar .search { grid-column: 1 / -1; grid-row: 2; }
  .menu-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .nav-inner { display: grid; padding: 8px 0 14px; }
  .nav-inner > a, .nav-inner summary { min-height: 44px; }
  .nav-dropdown { position: static; max-height: none; margin: 0 10px 8px; box-shadow: none; }
  .content-layout, section.single > .container > .row { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .sidebar > * { margin-bottom: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .page-hero { padding: 40px 0; }
  .content-layout, section.single > .container > .row { gap: 30px; padding-top: 32px; }
  .report-grid { grid-template-columns: 1fr; }
  .pagination { grid-template-columns: 1fr 1fr; }
  .pagination > span { grid-column: 1 / -1; grid-row: 1; }
  .pagination a { width: 100%; }
  .link-columns { columns: 1; }
  .sidebar, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; }
  .article-byline { display: grid; }
  .share-box strong { width: 100%; }
}

@media print {
  .site-header, .site-footer, .sidebar, .notification, .ad-slot, .share-box, .related { display: none !important; }
  .content-layout { display: block; padding: 0; }
  body { color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: none; }
}
