/* Informed Choice Maryland: brand colors c72d3f (red), 253562 (navy), 4054B2 (blue) */
:root {
  --red: #c72d3f;
  --red-dk: #a82334;
  --navy: #253562;
  --navy-dk: #1a2647;
  --blue: #4054b2;
  --blue-dk: #33449a;
  --ink: #1d2233;
  --muted: #5a6075;
  --line: #dde1ec;
  --tint: #f2f4fa;
  --bg: #ffffff;
  --head-h: 76px;
  --radius: 10px;
  --font: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Merriweather", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--font); overflow-x: hidden; }
img, iframe, video { max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-dk); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.muted, .meta { color: var(--muted); }
.meta { font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--red); margin-bottom: .6em; }
.kicker a { color: inherit; }
.kicker.light { color: #ffb3bc; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; line-height: 1.2; cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dk); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dk); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint); color: var(--navy); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* Header: fixed height, sticky, never changes size while scrolling. */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--head-h); background: #fff; border-bottom: 3px solid var(--red); }
.bar { height: 100%; display: flex; align-items: center; gap: 18px; position: relative; }
.brand img { display: block; height: 56px; width: auto; }
.menu-btn { margin-left: auto; background: var(--navy); color: #fff; border: 0; border-radius: 8px; padding: 9px 14px; font: 700 .95rem var(--font); cursor: pointer; }
#nav ul { list-style: none; margin: 0; padding: 0; }
#nav a { display: block; text-decoration: none; color: var(--navy); font-weight: 600; padding: 10px 12px; border-radius: 6px; }
#nav a:hover, #nav a[aria-current] { color: var(--red); }
#nav .nav-ctas a { padding: 10px 18px; }
#nav .nav-ctas .btn-red { color: #fff; }
#nav .nav-ctas .btn-ghost:hover { color: #fff; }
#nav { position: absolute; top: calc(var(--head-h) - 3px); left: 0; right: 0; background: #fff; border-bottom: 3px solid var(--red); box-shadow: 0 10px 20px rgba(0,0,0,.08); padding: 8px 16px 14px; display: none; }
#nav.open { display: block; max-height: calc(100vh - var(--head-h)); overflow-y: auto; overscroll-behavior: contain; }
.head-ctas { display: none; gap: 8px; }
.nav-ctas { display: flex; gap: 10px; margin: 10px 12px 0; }
@media (min-width: 1080px) {
  .menu-btn { display: none; }
  #nav { position: static; display: block; background: none; border: 0; box-shadow: none; padding: 0; margin-left: auto; }
  #nav ul { display: flex; gap: 2px; }
  #nav a { padding: 8px 10px; font-size: .95rem; }
  .head-ctas { display: flex; }
  .nav-ctas { display: none; }
  .head-ctas .btn { padding: 9px 16px; font-size: .92rem; }
}

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dk) 55%, var(--blue) 140%); color: #fff; padding: 56px 0 64px; }
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.15rem; color: #e3e7f5; max-width: 34em; }
.hero-in { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.1fr 1fr; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-media .vgrid { grid-template-columns: 1fr; }
.hero-media .vtitle { color: #e3e7f5; }

/* Page head */
.page-head { background: var(--navy); color: #fff; padding: 44px 0 40px; border-bottom: 4px solid var(--red); }
.page-head h1 { color: #fff; max-width: 22em; }
.page-head .lede { color: #dfe3f2; font-size: 1.1rem; max-width: 40em; margin: 0; }
.page-head .kicker { color: #ffb3bc; }

/* Bands */
.band { padding: 56px 0; }
.band-tint { background: var(--tint); }
.band-navy { background: var(--navy); color: #fff; }
.band-navy h2 { color: #fff; }
.band-navy .vtitle { color: #dfe3f2; }
.notice { background: var(--tint); border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.codr { margin: 24px 0; min-height: 120px; }

/* Year strip */
.years { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.years a { display: block; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; height: 100%; }
.years a:hover { border-color: var(--blue); border-top-color: var(--red); box-shadow: 0 4px 14px rgba(37,53,98,.1); }
.yr { display: block; font: 900 1.6rem/1 var(--serif); color: var(--navy); }
.yr-note { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted); }

/* Services */
.services { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.services li { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.services h3 { color: var(--red); font-family: var(--font); font-weight: 800; }
.services p { margin: 0; color: var(--muted); }

/* Cards */
.cards { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.card a { overflow-wrap: anywhere; min-width: 0; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; }
.card a:hover { border-color: var(--blue); box-shadow: 0 4px 14px rgba(37,53,98,.1); }
.card-title { font-weight: 800; color: var(--navy); line-height: 1.3; }
.card-text { font-size: .93rem; color: var(--muted); }

/* Videos */
.vgrid { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.vcard iframe, .vplay { display: block; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }
.vplay { position: relative; padding: 0; overflow: hidden; background: #000; cursor: pointer; }
.vplay img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--red); box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.play::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.vplay:hover .play { background: var(--red-dk); }
.vtitle { display: block; margin-top: 8px; font-weight: 600; font-size: .95rem; }
figure.video { margin: 24px 0; }
figure.video iframe { display: block; width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius); }

.pdf a { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); text-decoration: none; color: var(--navy); font-weight: 700; }
.pdf a:hover { border-color: var(--blue); border-left-color: var(--red); }
.pdf .open { margin-left: auto; color: var(--blue); text-decoration: underline; font-weight: 600; }
.prose video { display: block; width: 100%; height: auto; border-radius: var(--radius); background: #000; }

.doclist { list-style: none; padding: 0; margin: 16px 0 28px; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.doclist a { display: flex; gap: 10px; align-items: baseline; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.doclist a:hover { border-color: var(--blue); }
.tag { flex: none; font-size: .72rem; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--red); border-radius: 4px; padding: 2px 6px; }
.imggrid { list-style: none; padding: 0; margin: 16px 0 36px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.imggrid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--tint); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 40px 0; }
.tl { display: grid; grid-template-columns: 1fr; gap: 6px 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .tl { grid-template-columns: 120px 1fr; } }
.tl-year a { font: 900 2.2rem/1 var(--serif); color: var(--red); text-decoration: none; }
.tl-body ul { margin: 0 0 1em; padding-left: 1.2em; }
.yearnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.yearnav a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--navy); }
.yearnav a[aria-current] { background: var(--red); border-color: var(--red); color: #fff; }

/* Article content carried over from WordPress */
.prose { padding-top: 32px; padding-bottom: 40px; max-width: 860px; overflow-wrap: anywhere; }
section.wrap:not(.prose) { padding-top: 8px; padding-bottom: 48px; }
.prose img { border-radius: 6px; margin: 8px 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 20px; border-left: 4px solid var(--red); color: var(--muted); }
.prose li { margin-bottom: .3em; }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .92rem; }
.table-wrap td, .table-wrap th { border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; overflow-wrap: normal; }
.table-wrap tr:first-child td, .table-wrap th { background: var(--navy); color: #fff; font-weight: 700; }
.table-wrap tr:first-child a { color: #fff; }
.table-wrap tr:nth-child(even) td { background: var(--tint); }
@media (max-width: 719px) {
  .table-wrap:has(table.stack) { border: 0; overflow: visible; }
  table.stack { min-width: 0; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr:first-child { display: none; }
  table.stack tr { border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); margin-bottom: 14px; padding: 6px 0; background: #fff; }
  table.stack tr:nth-child(even) td { background: none; }
  table.stack td { border: 0; padding: 6px 14px; }
  table.stack td:empty { display: none; }
  table.stack td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
}
.topics { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.topics a { display: block; padding: 10px 18px; background: var(--tint); border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--navy); }

/* Forms */
.form { display: grid; gap: 14px; max-width: 560px; margin: 8px 0 24px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form textarea { font: inherit; padding: 11px 12px; border: 1px solid #b9bfd2; border-radius: 8px; width: 100%; }
.form input:focus, .form textarea:focus { outline: 3px solid rgba(64,84,178,.3); border-color: var(--blue); }
.form .btn { justify-self: start; }

/* CTA + footer */
.cta-band { background: var(--red); color: #fff; padding: 48px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.site-footer { background: var(--navy-dk); color: #c9cfe3; padding: 48px 0 20px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font: 800 1rem var(--font); text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.foot { display: grid; gap: 32px; }
@media (min-width: 820px) { .foot { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-logo { background: #fff; border-radius: 8px; padding: 6px; width: 160px; }
.foot-years { display: flex; flex-wrap: wrap; gap: 6px 14px; font-weight: 700; }
.fine { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* CODR embed: give the bills block and the sign-up block room to breathe (CSS only; embed code untouched) */
.codr { margin: 32px 0 24px; }
.codr > [data-codr] + [data-codr] { margin-top: 56px; }
.email-note { background: var(--tint); border-radius: var(--radius); padding: 14px 18px; font-size: .95rem; color: var(--muted); margin: 0 0 32px; }
.email-note strong { color: var(--navy); }

/* Carried-over content: one line per old block */
.prose div.gap { height: 14px; }
.prose li > p { margin: 0; }
.post-hero { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin: 0 0 28px; }

/* Bill tracker cards */
.tracker-bar { display: grid; gap: 14px; margin: 8px 0 24px; }
.tracker-sum { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 700 .9rem var(--font); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tgroup { margin-top: 36px; }
.bills { list-style: none; padding: 0; margin: 16px 0 32px; display: grid; gap: 14px; }
@media (min-width: 900px) { .bills:not(.compact) { grid-template-columns: 1fr 1fr; } }
.bill { border: 1px solid var(--line); border-left: 5px solid var(--muted); border-radius: var(--radius); padding: 16px 18px; background: #fff; overflow-wrap: anywhere; scroll-margin-top: calc(var(--head-h) + 16px); }
.bill.support { border-left-color: var(--blue); }
.bill.oppose { border-left-color: var(--red); }
.bill.decide { border-left-color: var(--navy); }
.bill-top { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 6px; }
.pos { font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--tint); color: var(--navy); }
.support .pos { background: var(--blue); color: #fff; }
.oppose .pos { background: var(--red); color: #fff; }
.decide .pos { background: var(--navy); color: #fff; }
.bnum { font-weight: 800; color: var(--navy); }
.week { margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--muted); }
.bill h3 { font-family: var(--font); font-weight: 800; font-size: 1.05rem; margin: 4px 0 10px; }
.bill .row { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.bill .k { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.bill .row.next .k { color: var(--red); }
.bill .row.next { font-weight: 600; }
.bill details { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; font-size: .95rem; }
.bill summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.bill details p { margin: 10px 0 0; }
.bills.compact { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.bills.compact .bill { padding: 0; }
.bill-link { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; align-content: flex-start; padding: 14px 16px; text-decoration: none; color: var(--ink); height: 100%; }
.bill-link:hover { background: var(--tint); }
.bill-link .btitle { flex-basis: 100%; font-weight: 700; color: var(--navy); line-height: 1.35; }

/* About */
.about { padding-top: 32px; }
.about-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.6fr 1fr; } }
.about-text { padding: 0; }
.supporter { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--tint); }
.supporter img { display: block; margin: 8px auto 12px; width: 200px; height: 200px; object-fit: contain; }
.supporter-name { font-weight: 800; color: var(--navy); margin: 0; }
.photos { list-style: none; padding: 0; margin: 16px 0 40px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.photos figure { margin: 0; }
.photos img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); background: var(--tint); }
.photos figcaption { font-size: .9rem; font-weight: 600; color: var(--navy); margin-top: 6px; }

/* Home photo mosaic: fixed aspect ratios so nothing shifts while images load */
.mosaic { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.mosaic li:first-child { grid-column: span 2; }
.mosaic img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); background: var(--tint); }
.mosaic li:first-child img { aspect-ratio: 16/9; }
@media (min-width: 820px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 200px); }
  .mosaic li:first-child { grid-column: span 2; grid-row: span 2; }
  .mosaic img, .mosaic li:first-child img { height: 100%; aspect-ratio: auto; }
}
.mosaic figure { margin: 0; height: 100%; position: relative; }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-size: .88rem; font-weight: 600; line-height: 1.35; border-radius: 0 0 var(--radius) var(--radius); background: linear-gradient(transparent, rgba(26,38,71,.92)); }
@media (max-width: 819px) {
  .mosaic figcaption { position: static; padding: 8px 2px 0; color: var(--navy); background: none; }
}
.mosaic img, .photos img { object-position: center 25%; }
@media (min-width: 820px) { .mosaic li:not(:first-child) figcaption { padding: 14px 10px 7px; font-size: .78rem; } }
/* Wakefield photo: faces sit low in the frame */
.mosaic img[src*="IMG_6017"], .photos img[src*="IMG_6017"] { object-position: center 68%; }

/* Learn: CODR lessons */
.lessons { margin-bottom: 40px; }
.lessons .cards { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.credit { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

/* Learn hub feature + guide pages */
.feature { display: grid; gap: 8px; margin: 32px 0 16px; padding: 28px; border-radius: var(--radius); background: var(--navy); color: #dfe3f2; text-decoration: none; border-left: 6px solid var(--red); }
.feature:hover { background: var(--navy-dk); color: #dfe3f2; }
.feature .kicker { color: #ffb3bc; margin: 0; }
.feature-title { font: 900 clamp(1.5rem, 3vw, 2rem)/1.2 var(--serif); color: #fff; }
.feature-text { font-size: 1.05rem; max-width: 46em; }
.feature-note { font-weight: 700; color: #fff; }
.feature .btn { justify-self: start; margin-top: 6px; }
.topic-cards .card-title { font-size: 1.1rem; }
.guide { display: grid; gap: 32px; padding-top: 32px; padding-bottom: 48px; }
@media (min-width: 1000px) { .guide { grid-template-columns: 220px 1fr; align-items: start; } .toc { position: sticky; top: calc(var(--head-h) + 20px); } }
.toc { background: var(--tint); border-radius: var(--radius); padding: 16px 18px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }
.toc a { font-weight: 600; text-decoration: none; }
.guide-body { padding: 0; max-width: 820px; }
.guide-body h2 { margin-top: 1.6em; scroll-margin-top: calc(var(--head-h) + 16px); }
.two-up { display: grid; gap: 14px; margin: 16px 0; }
@media (min-width: 720px) { .two-up { grid-template-columns: 1fr 1fr; } }
.ex-card { border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 16px 18px; }
.ex-card h3 { font-family: var(--font); font-weight: 800; }
.ex-card p:last-child { margin: 0; }
.steps li { margin-bottom: .6em; }
.sources { font-size: .93rem; }
.help-box { margin-top: 36px; background: var(--red); color: #fff; border-radius: var(--radius); padding: 24px; }
.help-box h2 { color: #fff; margin-top: 0; }
.help-box .btn-red { background: #fff; color: var(--red); }
.guide-wide { padding-top: 24px; }
.chart { margin: 8px 0 32px; max-width: 520px; }
.chart img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.chart figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* Package inserts page */
.insert-sections { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.insert-sections li { border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 4px; }
.insert-sections strong { color: var(--navy); }
.insert-sections span { font-size: .95rem; color: var(--muted); }
.vfilter { display: grid; gap: 6px; font-weight: 700; max-width: 460px; margin: 12px 0 20px; }
.vfilter input { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #b9bfd2; border-radius: 8px; }
.vgroup h3 { font-family: var(--font); font-weight: 800; color: var(--red); margin: 20px 0 8px; }
.vlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.vlist li { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.vlist a { font-weight: 800; }
.vlist span { font-size: .9rem; color: var(--muted); }
.chart img { aspect-ratio: 791 / 1024; }

/* Learn dropdown: on desktop it opens on hover/focus over the menu (no layout change); in the phone menu it's an indented list */
#nav .sub { list-style: none; margin: 0 0 4px 14px; padding: 0 0 0 10px; border-left: 2px solid var(--line); }
#nav .sub a { padding: 6px 12px; font-weight: 500; font-size: .95rem; }
.caret { display: none; }
@media (min-width: 1080px) {
  #nav .has-sub { position: relative; }
  .caret { display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: middle; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
  #nav .sub { display: block; position: absolute; top: 100%; left: 0; min-width: 250px; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 12px 24px rgba(26,38,71,.14); visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 60; }
  #nav .has-sub:hover .sub, #nav .has-sub:focus-within .sub { visibility: visible; opacity: 1; transform: none; }
  #nav .sub a { display: block; padding: 8px 12px; white-space: nowrap; }
  #nav .sub a:hover { background: var(--tint); color: var(--red); }
}

/* Research library */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.cat-nav a { padding: 7px 14px; border-radius: 999px; background: var(--tint); font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--navy); }
.rcat { margin-top: 36px; scroll-margin-top: calc(var(--head-h) + 16px); }
.rtopic { border: 1px solid var(--line); border-radius: var(--radius); margin: 8px 0; background: #fff; }
.rtopic summary { cursor: pointer; padding: 12px 16px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.rtopic .count { font-size: .78rem; font-weight: 800; color: #fff; background: var(--blue); border-radius: 999px; padding: 1px 8px; }
.studies { list-style: none; margin: 0; padding: 0 16px 12px; }
.studies li { padding: 10px 0; border-top: 1px solid var(--line); display: grid; gap: 3px; overflow-wrap: anywhere; }
.studies a { font-weight: 600; }
.cite { font-size: .88rem; color: var(--muted); }
.webinar { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: var(--radius); background: var(--tint); }
.webinar h3 { margin-top: 0; }
.ex-card ul { margin: 0 0 10px; padding-left: 1.1em; }

/* Government timeline */
.mf-timeline { list-style: none; margin: 20px 0 40px; padding: 0 0 0 22px; border-left: 3px solid var(--line); }
.tl-item { position: relative; padding: 0 0 26px 16px; }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.tl-item[data-level="maryland"]::before { border-color: var(--red); }
.tl-when { font-weight: 800; color: var(--navy); margin-right: 8px; }
.tl-tag { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; color: #fff; background: var(--blue); }
.tl-tag.maryland { background: var(--red); }
.tl-item h3 { font-family: var(--font); font-weight: 800; font-size: 1.05rem; margin: 8px 0 4px; }
.tl-item p { margin: 0 0 4px; max-width: 46em; }
.tl-item a { font-size: .92rem; font-weight: 600; }

/* Learn: "What do you need?" task tiles */
.needs { list-style: none; padding: 0; margin: 28px 0 20px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.need a { position: relative; display: grid; gap: 6px; height: 100%; padding: 20px 46px 20px 20px; border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); }
.need a:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(37,53,98,.12); }
.need-title { font: 800 1.12rem/1.3 var(--font); color: var(--navy); }
.need-text { color: var(--muted); font-size: .95rem; }
.need-go { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--blue); }
.need-main a { background: var(--navy); border-color: var(--navy); border-left-color: var(--red); }
.need-main .need-title { color: #fff; }
.need-main .need-text { color: #dfe3f2; }
.need-main .need-go { color: #fff; }
.need-main a:hover { background: var(--navy-dk); }
.needs-note { color: var(--muted); }
@media (max-width: 719px) { .page-head { padding: 26px 0 22px; } .needs { margin-top: 18px; gap: 10px; } .need a { padding: 16px 44px 16px 16px; } }

/* VICP climbing total: fixed-width digits so the count-up never shifts layout */
.vicp { text-align: center; color: #fff; max-width: 760px; margin: 0 auto; }
.vicp .kicker { margin-bottom: 4px; }
.vicp-num { margin: 0; font: 900 clamp(2rem, 9vw, 4rem)/1.1 var(--serif); color: #fff; }
.vicp-count { display: inline-block; min-width: 13ch; font-variant-numeric: tabular-nums; font-family: var(--font); font-weight: 800; }
.vicp-label { font-size: 1.1rem; color: #dfe3f2; margin: 6px 0 14px; }
.vicp-facts { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; color: #dfe3f2; }
.vicp-facts strong { color: #fff; font-size: 1.2rem; }
.vicp-src { font-size: .85rem; color: #c9cfe3; margin: 0; }
.vicp-src a { color: #fff; }
.vicp-box { background: var(--navy); border-radius: var(--radius); padding: 32px 20px; margin: 8px 0 32px; }
