/* =============================================================================
   TOKENS / BASE
============================================================================= */
:root{
  --navy:#0b2a4a; --navy-700:#113a68; --navy-50:#f3f6fb;
  --red:#e31b23; --red-700:#b31218; --gold:#d4af37;
  --ink:#1b1f23; --muted:#6b7785; --bg:#ffffff;
  --radius:18px; --shadow:0 10px 30px rgba(11,42,74,.18);
  --container:1120px;
  --sticky:72px; /* desktop header height */
}

*{ box-sizing:border-box }
html,body{
  margin:0; padding:0; background:var(--bg); color:var(--ink);
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
}
a{ color:var(--navy-700); text-decoration:none; }
a:hover{ color:var(--red); }
.container{ max-width:var(--container); margin:0 auto; padding:0 18px; }

/* =============================================================================
   BUTTONS
============================================================================= */
.btn{
  display:inline-flex; align-items:center; gap:10px; background:#fff;
  border:0; border-radius:14px; padding:12px 16px; font-weight:700;
  color:var(--navy); box-shadow:var(--shadow); cursor:pointer;
}
.btn.primary{ background:var(--red); color:#fff; }
.btn.primary:hover{ background:var(--red-700); }
.btn.ghost{ background:transparent; color:#fff; border:1px solid rgba(255,255,255,.3); }
.btn.navy{ background:var(--navy); color:#fff; }
.btn.navy:hover{ background:var(--navy-700); }

/* =============================================================================
   GRID / CARDS (SHARED)
============================================================================= */
.grid-3{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px; align-items:stretch; }
.grid-4{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.card{
  background:#fff; border:1px solid #e7eef7; border-radius:var(--radius);
  padding:18px; box-shadow:var(--shadow); display:flex; flex-direction:column;
}
.card h3{ margin:.2rem 0 .4rem; }
.card .cta-actions{ margin-top:14px; margin-bottom:14px; display:flex; justify-content:center; }
.card .cta-actions .btn{ border-radius:14px; padding:12px 18px; }
@media (max-width:520px){ .card .cta-actions .btn{ width:100%; } }
/* ===== Practice tiles: force overlay to catch clicks on desktop ===== */
#practice article.card { position: relative; }

#practice article.card > a.card-link{
  position: absolute; inset: 0;
  display: block;
  border-radius: inherit;
  z-index: 10 !important;        /* ensure it's on top */
  pointer-events: auto !important;
  text-indent: -9999px;          /* a11y-only text */
}

/* Non-interactive content shouldn't steal clicks */
#practice article.card > :not(.card-link):not(.cta-actions){
  pointer-events: none !important;
}

/* Keep the chat button usable above the overlay */
#practice article.card .cta-actions .btn{
  position: relative; z-index: 11;
  pointer-events: auto;
}

/* Optional a11y focus ring */
#practice article.card > a.card-link:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Disable pointer events for non-interactive content */
#practice .card > *{ pointer-events: none; }

/* Re-enable ONLY the chat button so it stays clickable */
#practice .card .cta-actions .btn{
  position: relative; z-index: 4;
  pointer-events: auto;
}



/* =============================================================================
   TOP BAR (WHITE)
============================================================================= */
.topbar{ background:#fff; border-bottom:1px solid rgba(0,0,0,.08); }
.topbar .container.row{
  display:flex; justify-content:flex-end; align-items:center; gap:12px; padding:6px 0; flex-wrap:wrap;
}
.badge{
  display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border-radius:999px;
  font-size:.85rem; font-weight:500; color:#0b2a4a; background:rgba(11,42,74,.06);
}
.badge .dot{ width:7px; height:7px; border-radius:50%; background:#e31b23; display:inline-block; }
@media (max-width:480px){
  .topbar .container.row{ justify-content:center; }
  .badge{ font-size:.8rem; padding:5px 10px; }
}


/* =============================================================================
   BREADCRUMBS
============================================================================= */
.breadcrumbs{ border-top:1px solid #eef2f7; border-bottom:1px solid #eef2f7; background:#fafcff; margin-top:0; }
.crumbs{
  list-style:none; margin:0; padding:8px 0; display:flex; flex-wrap:wrap; gap:.25rem .6rem;
  font-size:.95rem; color:#475569;
}
.crumbs a{ color:#64748b; }
.crumbs .sep{ opacity:.6; }

/* =============================================================================
   HERO
============================================================================= */
.hero{
  background:
    radial-gradient(1200px 400px at 70% -20%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><linearGradient id="g" x1="0" x2="1"><stop stop-color="%230b2a4a"/><stop offset="1" stop-color="%23113360"/></linearGradient></defs><rect width="1200" height="400" fill="url(%23g)"/></svg>')
    center/cover no-repeat;
  color:#fff; padding:56px 0 36px; border-bottom:1px solid rgba(255,255,255,.08);
}
.hero-inner{ display:grid; grid-template-columns:1fr; gap:28px; align-items:center; }
.kicker{
  display:inline-flex; gap:10px; align-items:center; text-transform:uppercase; letter-spacing:.12em;
  font-weight:700; color:#c0d6ef; font-size:.8rem;
}
.kicker .bar{ width:34px; height:3px; background:var(--red); border-radius:999px; box-shadow:0 6px 16px rgba(227,27,35,.4); }
h1{ margin:10px 0 12px; font-size:clamp(1.8rem,2.2vw + 1rem,3rem); line-height:1.15; color:#fff; }
.lead{ color:#e6eef7; font-size:1.05rem; }
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }

/* Trust tiles */
.trust{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-top:26px;
}
.trust .trust-card{
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.15);
  border-radius:16px; box-shadow:var(--shadow); padding:16px; text-align:center;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.35rem; min-height:96px;
}
.trust .trust-card strong{ display:block; margin:0; line-height:1.15; font-weight:800; color:#fff; }
.trust .trust-card small{ display:block; margin:0; line-height:1.35; color:#cfe0f3; font-size:.95rem; font-weight:500; }
.trust .trust-card strong,.trust .trust-card small{ text-wrap:balance; }

@media (max-width:900px){
  .trust{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .trust .trust-card{ padding:12px 10px; min-height:auto; }
  .trust .trust-card strong{ font-size:clamp(.98rem,1.2vw + .84rem,1.08rem); line-height:1.15; }
  .trust .trust-card small{ font-size:.9rem; line-height:1.25; }
}
@media (max-width:420px){ .trust{ grid-template-columns:1fr; } }

/* =============================================================================
   SECTIONS / UTIL
============================================================================= */
section{ padding:44px 0; }
.section-head{ display:flex; align-items:end; justify-content:space-between; margin-bottom:18px; }
.section-head h2{ margin:0; font-size:clamp(1.4rem,1.2vw + 1rem,2rem); color:var(--navy); }
.muted{ color:#6b7785; }
.pill{
  display:inline-flex; gap:8px; align-items:center; background:#fff; border:1px solid #e7eef7;
  color:#0f2540; border-radius:999px; padding:8px 12px;
}
.list-dot{ padding-left:18px; }
.list-dot li{ margin:8px 0; }
/* ===== Practice cards – layout/padding polish ===== */
/* Equal-height columns in the row */
#practice .grid-3 { align-items: stretch; }

/* ===== Practice cards: alignment + consistent CTAs ===== */
#practice .card{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 22px 30px;
  min-height: clamp(340px, 48vh, 400px); /* responsive floor with a cap */
  box-shadow: 0 10px 24px rgba(11,42,74,.10);
  transition: transform .15s ease, box-shadow .15s ease;
}
#practice .card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11,42,74,.14);
}

/* ===== Title + copy rhythm ===== */
#practice .card--feature h3 { margin-bottom: .35rem; }
#practice .card p { margin: 8px 0 10px; }

/* ===== Paragraph height balancing ===== */
/* Keeps intro text equal height across cards so headers & CTAs align */
#practice .card p.muted{
  min-height: 56px;                 /* tweak 54–60px to taste */
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--muted, #6b7785);
}

/* ===== List spacing ===== */
#practice .card ul { margin: 0 0 16px; padding-left: 18px; }
#practice .card li { margin: 8px 0; }

/* ===== CTA area: equal baseline + centered buttons ===== */
#practice .card .cta-actions{
  margin-top: auto;                 /* pins CTA block to the bottom */
  padding-top: 18px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: clamp(56px, 9vh, 72px);  /* equal visual block across cards */
}

#practice .card .btn.navy{
  background: #0b2a4a;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 18px;
  border-radius: 12px;
  width: 88%;                       /* uniform visual width */
  max-width: 300px;                 /* same cap for all three */
  text-align: center;
  margin-inline: auto;
  box-shadow: 0 3px 8px rgba(11,42,74,.12);
  transition: background .25s ease, transform .1s ease, box-shadow .2s ease;
}
#practice .card .btn.navy:hover{
  background: #113a68;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(11,42,74,.18);
}

/* ===== Mobile adjustments ===== */
@media (max-width: 900px){
  #practice .card { min-height: auto; }
  #practice .card .cta-actions { min-height: 0; }
  #practice .card .btn.navy { width: 100%; max-width: none; }
}



/* Anchor offsets so sticky header doesn't cover targets */
#practice .card[id], #counties .card[id]{ scroll-margin-top: calc(var(--sticky) + 12px); }
/* =============================================================================
   COUNTIES (scoped)
============================================================================= */
.counties { background: var(--navy-50); }

/* --- HERO: clamp width + prevent 100vw bleed on mobile --- */
#counties .hero{
  position: relative;
  max-width: 100%;
  overflow: clip;                 /* prevents horizontal scroll locally */
}
@supports not (overflow: clip){
  #counties .hero{ overflow-x: hidden; }
}
#counties .hero .container{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;           /* avoid 100vw+padding overflow */
  box-sizing: border-box;
}
/* Let hero children shrink; prevents long lines/images from blowing out */
#counties .hero,
#counties .hero > *,
#counties .hero .row{ min-width: 0; }

/* Background/decor layers: neutralize 100vw patterns on small screens */
#counties .hero .bg,
#counties .hero .decor,
#counties .hero svg,
#counties .hero img{
  max-width: 100%;
  height: auto;
}
@media (max-width: 900px){
  #counties .hero .bg,
  #counties .hero .decor,
  #counties .hero svg,
  #counties .hero img{
    width: 100% !important;       /* replace any 100vw rules */
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
  }
}

/* --- GRID & CARDS --- */
#counties .counties-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  align-items: stretch;
}
/* Let card contents shrink instead of pushing the grid wider */
#counties .card { min-width: 0; }

/* Tiny screens: hard single column */
@media (max-width: 520px){
  #counties .counties-grid{ grid-template-columns: 1fr; gap: 18px; }
}

@media (min-width:901px){
  #counties .counties-grid{ grid-template-columns:repeat(3,1fr); gap:28px; }
}

#counties .card{
  background:#fff;
  border:1px solid #e7eef7;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:20px;
  display:flex;
  flex-direction:column;
  min-height:240px;
  transition:transform .15s ease, box-shadow .15s ease;
  position:relative;      /* needed for stretched link */
  cursor:pointer;         /* communicates clickability */
}

@media (hover:hover) and (pointer:fine){
  #counties .card:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 34px rgba(11,42,74,.14);
  }
}

/* Stretched link (whole tile clickable) — sits ABOVE normal content */
.county-card .card-link{
  position:absolute;
  inset:0;
  z-index:2;              /* above content wrappers */
  border-radius:inherit;
  display:block;
}
.county-card .card-link:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:3px;
}

/* Content wrappers BELOW stretched link so they don't steal clicks */
#counties .county-head,
#counties .county-group,
#counties .cta-actions{
  position:relative;
  z-index:1;              /* under stretched link */
  pointer-events:none;    /* disable at wrapper level */
}

/* Keep ONLY true interactive elements clickable above the link */
#counties .btn.navy{
  pointer-events:auto;
  position:relative;
  z-index:3;              /* top-most: above stretched link */
}

/* Make the H3 title link explicitly clickable above the link/wrappers */
#counties .county-title-link{
  color:inherit;
  text-decoration:none;
  position:relative;
  z-index:3;
  pointer-events:auto;
}
#counties .county-title-link:hover{
  text-decoration:underline;
  color:var(--navy-700);
}

/* Header row */
#counties .county-head{
  display:flex; align-items:center; gap:10px; margin-bottom:.4rem;
}
#counties .county-head .icon{
  width:36px; height:36px; display:inline-grid; place-items:center;
  border-radius:12px; background:rgba(11,42,74,.06);
  color:var(--navy); font-size:18px; flex:0 0 auto;
}
#counties .county-head h3{
  margin:0; font-weight:800; color:var(--navy);
  font-size:clamp(1.05rem,.6vw + .9rem,1.25rem);
}

/* Courthouse list */
#counties .county-group{
  list-style:none; padding-left:0; margin:10px 0 0;
  display:flex; flex-wrap:wrap; gap:12px 14px;
}
#counties .county-group li{ margin:0; padding:0; }
#counties .county-group li::marker{ content:""; }

/* Pills: static labels (not interactive) */
#counties .county-pill{
  -webkit-appearance:none;
  appearance:none;
  background:#fff;
  border:1px solid #e3eaf5;
  border-radius:999px;
  padding:10px 14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  box-shadow:0 4px 14px rgba(11,42,74,.06);
  color:#0f2540;
  font-weight:600;

  /* clearly non-clickable */
  cursor:default;        /* no hand cursor */
  pointer-events:none;   /* let card-link get the click */
  transition:none;       /* no hover motion */
}

/* No hover lift or border change */
#counties .county-pill:hover{
  transform:none;
  border-color:#e3eaf5;
  box-shadow:0 4px 14px rgba(11,42,74,.06);
}

/* CTA area / suggest card */
#counties .cta-actions{
  margin-top:auto; display:flex; justify-content:center; margin-bottom:6px;
}
#counties .suggest-card{
  display:flex; flex-direction:column; justify-content:center; text-align:left;
}
#counties .suggest-card .cta-actions{ gap:.5rem; }

/* Button inside counties */
#counties .btn.navy{
  background:#0b2a4a; color:#fff; font-weight:700; font-size:1.1rem;
  padding:14px 22px; border-radius:12px; text-align:center; width:100%;
  max-width:280px; margin-inline:auto;
  box-shadow:0 3px 8px rgba(11,42,74,.12);
  transition:background .25s ease, transform .1s ease, box-shadow .2s ease;
}
#counties .btn.navy:hover{
  background:#113a68; transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(11,42,74,.18);
}

/* Mobile tweaks */
@media (max-width:520px){
  #counties .counties-grid{ gap:18px; }
  #counties .card{ min-height:auto; padding:18px; }
  #counties .btn.navy{ font-size:.95rem; }
}

/* Hide header chat button on mobile */
@media (max-width: 900px) {
  .desktop-chat-btn { display: none; }
}

/* ====== DESKTOP SPACING ====== */
@media (min-width:901px){
  #practice { padding-bottom: 28px; }
  #counties { padding-top: 24px; }
  #counties .section-head { margin-bottom: 18px; }
}


/* =============================================================================
   CONTACT
============================================================================= */
#contact .btn[data-open-chat]{ display:inline-flex; width:auto; max-width:max-content; padding:10px 14px; border-radius:12px; font-size:1rem; }
#contact .card{ padding:26px 24px 22px; }
#contact .card h3{ margin:0 0 10px; }
#contact p{ margin:6px 0 14px; color:#475569; }
#contact .card .card{ margin-top:14px; padding:18px 20px; }
#contact .card .card ul{ margin:8px 0 0 18px; }

/* =============================================================================
   CHAT BUBBLE / A11Y
============================================================================= */
.chat-bubble{
  position:fixed; right:18px; bottom:18px; background:var(--red); color:#fff; border:0; border-radius:999px;
  padding:14px 18px; box-shadow:0 14px 30px rgba(227,27,35,.35); font-weight:800; z-index:60;
}
a:focus-visible,button:focus-visible,.dropdown-toggle:focus-visible{
  outline:3px solid rgba(227,27,35,.55); outline-offset:2px;
}

/* =============================================================================
   RESPONSIVE MISC
============================================================================= */
@media (max-width:900px){
  .grid-3{ grid-template-columns:1fr; }
  .grid-4{ grid-template-columns:1fr 1fr; }
  :root{ --sticky: 70px; }
}
/* ===============================
/* ===============================
   DUI page spacing polish (scoped)
   Place at END of /assets/style.css
   Requires: <body class="dui">
================================= */
/* ===============================
   DUI page spacing polish (scoped)
   Place at END of /assets/style.css
   Requires: <body class="dui">
================================= */
/* ===============================
   DUI page spacing polish (scoped)
   Place at END of /assets/style.css
   Requires: <body class="dui">
================================= */

/* HERO */
body.dui .hero { padding: 48px 0 24px; }
body.dui .hero .lead { margin: 8px 0 0; font-size: 1.02rem; }
body.dui .hero .cta-row { margin-top: 14px; gap: 10px; }

/* CONTENT SECTIONS */
body.dui section.content { padding: 32px 0 32px; }
body.dui section.content .container > h2 { margin: 0 0 10px; }
body.dui section.content h3 { margin: 16px 0 6px; }
body.dui section.content p { margin: 8px 0 12px; }

/* Tighten the gap between consecutive content sections */
body.dui section.content + section.content {
  margin-top: -14px;
  padding-top: 24px;
}

/* Lists */
body.dui .list-dot { padding-left: 18px; margin: 6px 0 2px; }
body.dui .list-dot li { margin: 6px 0; }

/* ===============================
   COUNTIES section: tile spacing
   (Use #counties to beat base ID specificity)
================================= */
body.dui #counties { padding: 26px 0 34px; }
body.dui #counties .section-head { margin-bottom: 14px; }
body.dui #counties .counties-grid { gap: 14px; }

body.dui #counties .card {
  padding: 18px 20px;
  margin: 0;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(11,42,74,.08);
  min-height: auto;
}

body.dui #counties .county-head { margin-bottom: .35rem; }
body.dui #counties .county-group { margin-top: 4px; gap: 8px 10px; }
body.dui #counties .county-group li { margin: 2px 0; }

/* CTA banner (this is NOT inside #counties in your HTML) */
body.dui .cta-banner { padding: 36px 0; }
body.dui .cta-banner h2 { margin: 0 0 8px; }
body.dui .cta-banner p { margin: 6px 0 14px; }

/* Mobile */
@media (max-width: 900px){
  body.dui #counties { padding: 24px 0 30px; }
  body.dui #counties .counties-grid { gap: 12px; }
  body.dui #counties .card { padding: 16px 18px; min-height: auto; }
  body.dui .cta-banner { padding: 30px 0; }
}

@media (max-width: 520px){
  body.dui .hero { padding: 34px 0 14px; }
  body.dui .hero .lead { font-size: 1rem; }
  body.dui .list-dot li { margin: 5px 0; }
  body.dui section.content + section.content { margin-top: -8px; padding-top: 18px; }
}
/* ===============================
/* ===============================
   TRAFFIC page spacing polish (scoped)
   Place at END of /assets/style.css
   Requires: <body class="traffic">
================================= */
/* ===============================
   TRAFFIC page spacing & layout (matches DUI)
   Requires: <body class="traffic">
================================= */

/* HERO */
body.traffic .hero { padding: 48px 0 24px; }
body.traffic .hero .lead { margin: 8px 0 0; font-size: 1.02rem; }
body.traffic .hero .cta-row { margin-top: 14px; gap: 10px; } /* two CTAs, same as DUI */

/* CONTENT SECTIONS */
body.traffic section.content { padding: 32px 0 32px; }
body.traffic section.content .container > h2 { margin: 0 0 10px; }
body.traffic section.content h3 { margin: 16px 0 6px; }
body.traffic section.content p { margin: 8px 0 12px; }

/* Tighten the gap between consecutive content sections */
body.traffic section.content + section.content {
  margin-top: -14px;
  padding-top: 24px;
}

/* Lists */
body.traffic .list-dot { padding-left: 18px; margin: 6px 0 2px; }
body.traffic .list-dot li { margin: 6px 0; }

/* ===============================
   COUNTIES section: tile spacing (mirror DUI)
   (Use #counties to beat base ID specificity)
================================= */
body.traffic #counties { padding: 26px 0 34px; }
body.traffic #counties .section-head { margin-bottom: 14px; }
body.traffic #counties .counties-grid { gap: 14px; }

body.traffic #counties .card {
  padding: 18px 20px;
  margin: 0;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(11,42,74,.08);
  min-height: auto;
}

body.traffic #counties .county-head { margin-bottom: .35rem; }
body.traffic #counties .county-group { margin-top: 4px; gap: 8px 10px; }
body.traffic #counties .county-group li { margin: 2px 0; }

/* ===============================
   CTA banner (same selector name as DUI)
   Use .cta-banner on Traffic too
================================= */
body.traffic .cta-banner { padding: 36px 0; }
body.traffic .cta-banner h2 { margin: 0 0 8px; }
body.traffic .cta-banner p { margin: 6px 0 14px; }

/* Mobile */
@media (max-width: 900px){
  body.traffic #counties { padding: 24px 0 30px; }
  body.traffic #counties .counties-grid { gap: 12px; }
  body.traffic #counties .card { padding: 16px 18px; min-height: auto; }
  body.traffic .cta-banner { padding: 30px 0; }
}

@media (max-width: 520px){
  body.traffic .hero { padding: 34px 0 14px; }
  body.traffic .hero .lead { font-size: 1rem; }
  body.traffic .list-dot li { margin: 5px 0; }
  body.traffic section.content + section.content { margin-top: -8px; padding-top: 18px; }
}
/* ========= Traffic: Ticket groups (cards-lite) ========= */
body.traffic .tickets {
  padding: 26px 0 10px;
}

body.traffic .tickets .intro {
  color: var(--muted);
  margin: 6px 0 16px;
  max-width: 70ch;
}

body.traffic .ticket-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

/* Group "card" */
body.traffic .ticket-group{
  background: var(--navy-50);
  border: 1px solid rgba(11,42,74,.08);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 8px 18px rgba(11,42,74,.06);
}

/* Group heading */
body.traffic .ticket-group h3{
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: .2px;
  color: var(--navy);
}

/* Item list */
body.traffic .ticket-group ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

body.traffic .ticket-group li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  text-decoration: underline;                  /* underline always visible */
  text-underline-offset: 3px;
  text-decoration-color: rgba(11,42,74,.25);   /* faint underline color */
  color: var(--navy-700);
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: color .15s ease, background .15s ease, text-decoration-color .15s ease;
}

body.traffic .ticket-group li a:hover {
  background: rgba(11,42,74,.06);
  color: var(--red-700);
  text-decoration-color: var(--red-700);       /* underline turns red on hover */
}

/* custom bullet */
body.traffic .ticket-group li a::before{
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--navy-700);
  flex: 0 0 8px;
  transform: translateY(1px);
}



body.traffic .ticket-group li a:focus{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* small note under h2 */
body.traffic .tickets .note{
  font-size: .92rem; color: var(--muted);
}

/* Mobile */
@media (max-width: 900px){
  body.traffic .ticket-grid{ grid-template-columns: 1fr; gap: 14px; }
  body.traffic .ticket-group{ padding: 14px 14px; }
}
body.traffic .ticket-group a {
  color: var(--navy-700);
  font-weight: 500;
  text-decoration: none;
}
body.traffic .ticket-group a:hover {
  text-decoration: underline;
  color: var(--red-700);
  background: rgba(227,27,35,.05);
}

/* ===============================
   Clean up: ensure both CTAs show (remove any old overrides)
================================= */
/* If you previously hid the 2nd CTA on Traffic, make sure nothing like
   `body.traffic .cta-row a:last-child { display: none !important; }`
   remains in your CSS. This block intentionally does NOT include it. */


/* ===============================
   LICENSE REINSTATEMENT page spacing polish (scoped)
   Place at END of /assets/style.css
   Requires: <body class="license">
================================= */

/* HERO */
body.license .hero { padding: 48px 0 24px; }
body.license .hero .lead { margin: 8px 0 0; font-size: 1.02rem; }
body.license .hero .cta-row { margin-top: 14px; gap: 10px; }

/* CONTENT SECTIONS */
body.license section.content { padding: 32px 0 32px; }
body.license section.content .container > h2 { margin: 0 0 10px; }
body.license section.content h3 { margin: 16px 0 6px; }
body.license section.content p { margin: 8px 0 12px; }

/* Tighten the gap between consecutive content sections */
body.license section.content + section.content {
  margin-top: -14px;
  padding-top: 24px;
}

/* Lists */
body.license .list-dot { padding-left: 18px; margin: 6px 0 2px; }
body.license .list-dot li { margin: 6px 0; }

/* ===============================
   LICENSE LINKS section: tile spacing
   (Use #license-links to beat base ID specificity)
================================= */
body.license .cards { margin-top: 18px; }
body.license .grid-3.cards { gap: 18px; }

body.license .card.link-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 16px;
  padding: 22px 22px;
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(11,42,74,.08);
  transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease;
}

body.license .card.link-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 0.6vw + 1rem, 1.25rem);
}

body.license .card.link-card p {
  margin: 0;
  color: #4b5a6a;
}

body.license .card.link-card:hover {
  transform: translateY(-2px);
  border-color: #dfe8f3;
  box-shadow: 0 22px 40px rgba(11,42,74,.12);
}

/* CTA banner (optional, if reused like DUI) */
body.license .cta-banner { padding: 36px 0; }
body.license .cta-banner h2 { margin: 0 0 8px; }
body.license .cta-banner p { margin: 6px 0 14px; }

/* Mobile */
@media (max-width: 900px) {
  body.license .grid-3.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  body.license .card.link-card { padding: 18px 20px; min-height: auto; }
  body.license .cta-banner { padding: 30px 0; }
}

@media (max-width: 520px) {
  body.license .hero { padding: 34px 0 14px; }
  body.license .hero .lead { font-size: 1rem; }
  body.license .list-dot li { margin: 5px 0; }
  body.license section.content + section.content { margin-top: -8px; padding-top: 18px; }
  body.license .grid-3.cards { grid-template-columns: 1fr; }
}

/* ===== COUNTY PAGES (applies to ALL counties) ===== */
/* scope: <body class="county-page county-page-XYZ"> */

/* Safe gutters + sizing */
.county-page .hero .container{
  padding-inline:16px;
  box-sizing:border-box;
}

/* Prevent sideways scroll on the hero */
.county-page .hero{
  overflow-x: clip;
  max-width: 100%;
}
@supports not (overflow: clip){
  .county-page .hero{ overflow-x:hidden; }
}

/* Allow hero content to shrink/wrap on small screens */
.county-page .hero .container.hero-inner{
  display:grid;
  grid-template-columns:1fr;
  min-width:0;
}
.county-page .hero .container.hero-inner > *{
  min-width:0;
  overflow-wrap:anywhere;
}

/* Pills grid */
.county-page .hero ul.pills{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px 16px;
  margin:22px auto 6px;
  padding:0;                 /* remove default UL padding */
  list-style:none;           /* remove bullets */
  max-width:1100px;
}
@media (max-width:420px){
  .county-page .hero ul.pills{ grid-template-columns:1fr; }
}
.county-page .hero ul.pills > li{ min-width:0; }
.county-page .hero ul.pills .pill{
  display:inline-flex;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  align-items:center;
  justify-content:center;
  white-space:normal;
  word-break:break-word;
}

/* Optional: center hero text without inline HTML */
.county-page .hero .hero-inner{ text-align:center; }

/* Optional: alternate section bg */
.county-page .section--alt{ background:#f7f9fc; }

/* Widgets: never widen the viewport */
.chat-bubble{ max-width:100vw; }
div[id^="tawk"], [class*="tawk"] iframe{ max-width:100vw !important; }

}
/* ==========================================================
   COUNTY PAGES — universal fixes
   Scope: <body class="county-page county-page-XYZ">
   Paste at END of /assets/style.css
========================================================== */

/* 1) Hero: safe gutters + no sideways scroll + shrinkable content */
.county-page .hero{ overflow-x: clip; max-width: 100%; }
@supports not (overflow: clip){ .county-page .hero{ overflow-x: hidden; } }

.county-page .hero .container{ padding-inline:16px; box-sizing:border-box; }

.county-page .hero .hero-inner{
  display:grid; grid-template-columns:1fr; gap:24px;
  min-width:0; text-align:center;
}
.county-page .hero .hero-inner > *{
  min-width:0; overflow-wrap:anywhere;
}

/* 2) Pills row: grid layout + remove bullets/padding */
.county-page .hero ul.pills{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px 16px;
  margin:22px auto 6px;
  padding:0;                 /* kill default UL padding */
  list-style:none;           /* kill bullets */
  max-width:1100px;
}
@media (max-width:420px){
  .county-page .hero ul.pills{ grid-template-columns:1fr; }
}
.county-page .hero ul.pills > li{ min-width:0; list-style:none; }
.county-page .hero ul.pills .pill{
  display:inline-flex; width:100%; max-width:100%; box-sizing:border-box;
  align-items:center; justify-content:center;
  white-space:normal; word-break:break-word;
}

/* 3) Trust tiles INSIDE content (light theme) */
.county-page section.content .trust{
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px;
}
@media (max-width:700px){ .county-page section.content .trust{ grid-template-columns:1fr 1fr; } }
@media (max-width:420px){ .county-page section.content .trust{ grid-template-columns:1fr; } }

.county-page section.content .trust .trust-card{
  background:#fff; border:1px solid #e7eef7; border-radius:14px; padding:14px;
  text-align:center; box-shadow:0 8px 20px rgba(11,42,74,.08);
}
.county-page section.content .trust .trust-card strong{ color:#0b2a4a; }
.county-page section.content .trust .trust-card small{ color:#6b7785; }

/* 4) CTA band: readable subtext + red button on the right */
.county-page .cta-band{
  background:var(--navy); color:#fff; padding:28px 0;
  border-top:1px solid rgba(255,255,255,.08);
}
.county-page .cta-band .cta-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap;
}
.county-page .cta-band h2{ margin:0 0 6px; }
.county-page .cta-band p{ margin:0; color:#eaf2fb; }

.county-page .cta-band .btn{
  background:var(--red); color:#fff; font-weight:800;
  border-radius:12px; padding:12px 18px;
  box-shadow:0 8px 18px rgba(227,27,35,.35);
  margin-left:auto;                     /* right align on desktop */
}
.county-page .cta-band .btn:hover{ background:#cc1620; transform:translateY(-1px); }
@media (max-width:600px){
  .county-page .cta-band .btn{ width:100%; margin-left:0; }
}

/* 5) Optional helpers */
.county-page .section--alt{ background:#f7f9fc; }  /* use on light gray sections */

.chat-bubble{ max-width:100vw; }                     /* widgets never widen page */
div[id^="tawk"], [class*="tawk"] iframe{ max-width:100vw !important; }
/* Hide ONLY Tawk's launcher bubble; full chat still opens via JS */
#tawkchat-minified,
.tawk-button,
.tawk-min-container { display: none !important; }

