/* Grays Harbor Democrats website. Colours and type come from the brand kit
   (content/ghdems-brand/tokens.json, ZV PR #30). Change them there first. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --harbor: #094886;
  --harbor-deep: #06325e;
  --ink: #0d1b2a;
  --paper: #f7f3ea;
  --white: #ffffff;
  --marker: #ffd23f;
  --sky: #d9e8f7;
  --spruce: #24503f;
  --tide: #4f5d6c;
  --rule: #c9c2b2;
  --radius: 16px;
  --wrap: 68rem;
  --measure: 46rem; /* one reading width for text, about 75 characters a line */
  --text: "Archivo", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 1.125rem/1.55 var(--text);
}
img, svg, iframe { max-width: 100%; }
a { color: var(--harbor); text-underline-offset: 0.15em; }
a:hover { color: var(--harbor-deep); }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; box-shadow: 0 0 0 6px var(--ink); }
iframe:focus, video:focus, video:focus-within, .embed:focus-within, .ratio:focus-within, .zeffy:focus-within, #ghd-pco-map:focus, #ghd-pco-map:focus-within { outline: 3px solid var(--marker); outline-offset: 2px; }
select, input:not([type=radio]):not([type=checkbox]) { min-height: 44px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--marker); color: var(--ink); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.top { background: var(--harbor); color: var(--white); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--white); text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand span { font-weight: 800; font-stretch: 80%; font-size: 1.35rem; line-height: 1.05; letter-spacing: .01em; }
.brand:hover { color: var(--white); }
nav ul { list-style: none; margin: 0; padding: 0; }
.nav-top { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; }
nav a, .nav-toggle { color: var(--white); text-decoration: none; font: 700 1rem var(--text); padding: .35rem 0; display: inline-block; border: 0; border-bottom: 3px solid transparent; background: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--marker); }
/* Groups: without JavaScript every link shows under its group's name. */
.nav-toggle { display: none; cursor: pointer; min-height: 44px; }
.nav-label { display: block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; opacity: .85; margin-top: .5rem; }
.sub { display: flex; flex-wrap: wrap; gap: 0 .9rem; }
.nav-cta a { border: 2px solid var(--white); border-radius: 999px; padding: .4rem 1rem; }
.nav-cta a.nav-donate { background: var(--marker); border-color: var(--marker); color: var(--ink); }
.nav-cta a:hover, .nav-cta a[aria-current="page"] { border-color: var(--marker); }
.nav-cta a.nav-donate:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
@media (min-width: 52.01rem) {
  .js .nav-label { display: none; }
  .js .nav-toggle { display: inline-flex; align-items: center; gap: .35rem; }
  .js .nav-toggle::after { content: ""; width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.15rem) rotate(45deg); transition: transform .15s; }
  .js .nav-toggle[aria-expanded="true"]::after { transform: translateY(.1rem) rotate(-135deg); }
  .js .nav-toggle:hover, .js .nav-group.here .nav-toggle, .js .nav-toggle[aria-expanded="true"] { border-bottom-color: var(--marker); }
  .js .nav-group { position: relative; }
  .js .sub { display: none; position: absolute; top: 100%; left: -1rem; z-index: 20; min-width: 15rem; padding: .4rem 0; background: var(--white); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
  .js .nav-group.open .sub { display: block; }
  .js .sub a { display: block; color: var(--harbor); padding: .6rem 1rem; border: 0; }
  .js .sub a:hover { background: var(--sky); color: var(--harbor); }
  .js .sub a[aria-current="page"] { background: var(--sky); box-shadow: inset 4px 0 0 var(--harbor); }
}

/* Type */
h1, h2, h3 { font-family: var(--text); font-weight: 900; line-height: 1.02; color: var(--harbor); margin: 0 0 .6rem; }
h1 { font-size: clamp(2.3rem, 7vw, 4rem); font-stretch: 72%; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-stretch: 75%; margin-top: 2.2rem; }
h3, h2.h3 { font-size: 1.35rem; font-stretch: 85%; font-weight: 800; margin-top: 1.4rem; }
p { margin: 0 0 1rem; max-width: var(--measure); }
.lede { font-size: 1.3rem; font-weight: 600; max-width: var(--measure); }
.small, .source { font-size: .95rem; color: var(--tide); }
mark { background: var(--marker); color: var(--ink); padding: 0 .15em; }

main { padding: 2rem 0 3rem; }
.hero { background: var(--harbor); color: var(--white); padding: 2.5rem 0 3rem; }
/* A banner sits flush under the menu bar, with room before the first heading. */
main > .hero:first-child { margin-top: -2rem; margin-bottom: 2rem; }
.hero h1 { color: var(--white); }
.hero p { color: var(--white); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.btn { display: inline-block; font-weight: 800; font-size: 1.05rem; text-decoration: none; padding: .8rem 1.2rem; border-radius: 999px; background: var(--white); color: var(--harbor); border: 2px solid var(--white); min-height: 48px; }
.btn:hover { background: var(--sky); color: var(--harbor-deep); }
.btn.ghost { background: transparent; color: var(--white); }
.btn.ghost:hover { background: var(--harbor-deep); color: var(--white); }
.btn.solid { background: var(--harbor); color: var(--white); border-color: var(--harbor); }
.btn.solid:hover { background: var(--harbor-deep); color: var(--white); }

/* Cards and panels */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 1rem 0; }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.card h3, .card h2.h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.panel { background: var(--sky); border-radius: var(--radius); padding: 1.25rem 1.35rem; margin: 1.25rem 0; }
.panel p:last-child { margin-bottom: 0; }
.meeting { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin-top: 1.75rem; max-width: var(--measure); }
.meeting .when { font-size: 1.5rem; font-weight: 900; font-stretch: 80%; color: var(--harbor); line-height: 1.1; margin-bottom: .35rem; }
.meeting p { color: var(--ink); margin: 0 0 .35rem; }

/* Lists of people and things */
.people { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.people li { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: .8rem 1rem; }
.people b { display: block; font-size: 1.1rem; }
.people span { color: var(--tide); font-size: .95rem; }
.links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .4rem; }
.tag { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: var(--harbor); color: var(--white); border-radius: 999px; padding: .1rem .55rem; margin-left: .35rem; vertical-align: middle; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table { border-collapse: collapse; width: 100%; background: var(--white); font-size: 1rem; }
caption { text-align: left; font-weight: 800; font-size: 1.2rem; color: var(--harbor); padding: .25rem 0 .5rem; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { background: var(--harbor); color: var(--white); font-weight: 700; }
td a { word-break: break-word; }

/* Embeds */
.embed { background: var(--white); border-radius: var(--radius); border: 1px solid var(--rule); overflow: hidden; margin: 1rem 0; }
.embed iframe { display: block; width: 100%; border: 0; }
.ratio { position: relative; width: 100%; height: 0; padding-top: 56.25%; }
.ratio iframe { position: absolute; inset: 0; height: 100%; }
.zeffy { position: relative; overflow: hidden; height: 1200px; width: 100%; }
.zeffy iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Footer */
footer { background: var(--ink); color: var(--white); padding: 2rem 0 2.5rem; font-size: 1rem; }
footer a { color: var(--white); }
footer a:hover { color: var(--marker); }
footer .cols { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
footer h2 { color: var(--white); font-size: 1.2rem; margin: 0 0 .4rem; font-stretch: 85%; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: .2rem 0; }
.sponsor { margin-top: 1.75rem; border: 2px solid var(--white); padding: .75rem 1rem; display: inline-block; font-weight: 700; }

.notice { border-left: 6px solid var(--marker); background: var(--white); padding: .8rem 1rem; margin: 1rem 0; border-radius: 0 12px 12px 0; }

.menu-btn { font: 800 1rem var(--text); color: var(--harbor); background: var(--white); border: 0; border-radius: 999px; padding: .6rem 1.1rem; min-height: 44px; cursor: pointer; }
.menu-btn[aria-expanded="true"] { background: var(--marker); color: var(--ink); }

@media (max-width: 52rem) {
  .js nav { display: none; width: 100%; }
  .js nav.open { display: block; }
  .js nav ul { flex-direction: column; gap: 0; padding: .25rem 0 .5rem; }
  .js nav a { display: block; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 1.15rem; }
  .js nav a[aria-current="page"] { border-bottom-color: var(--marker); }
  .js .nav-label { margin-top: .9rem; }
  .js .nav-top { align-items: stretch; }
  .js .nav-top > li:not(.nav-cta) { width: 100%; }
  .js .nav-top { flex-direction: row; flex-wrap: wrap; column-gap: .6rem; }
  .js .nav-cta { margin: 1rem 0 0; }
  .js nav .nav-cta a { display: inline-block; border: 2px solid var(--white); padding: .5rem 1.4rem; }
  .js nav .nav-cta a.nav-donate { border-color: var(--marker); }
}
@media (min-width: 52.01rem) { .menu-btn { display: none; } }

@media (max-width: 40rem) {
  .table-wrap { overflow: visible; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead { position: absolute; left: -9999px; }
  caption { display: block; }
  tr { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; margin: 0 0 .75rem; padding: .4rem .2rem; }
  td { border: 0; padding: .3rem .8rem; }
  td[data-label="Party"]::before, td[data-label="Website"]::before { content: attr(data-label) ": "; color: var(--tide); font-size: .9rem; }
  td a[href^="tel:"] { display: inline-block; padding: .35rem 0; font-weight: 700; }
  .actions li { flex: 1 1 100%; }
  .actions .btn { display: block; width: 100%; text-align: center; }
  body { font-size: 1.1rem; }
  .brand img { width: 44px; }
  nav ul { gap: .1rem .8rem; }
  .zeffy { height: 1400px; }
}

@media print {
  .top nav, .actions, .embed, .skip { display: none !important; }
  .hero, .top, footer { background: none; color: var(--ink); }
  .hero h1, .hero p, footer, footer a, footer h2 { color: var(--ink); }
  .sponsor { border-color: var(--ink); }
}

/* Huck */
.huck { display: block; height: auto; width: 140px; max-width: 40%; flex: none; }
.hero-row { display: flex; align-items: flex-end; gap: 1.5rem; }
.hero-huck { width: 170px; margin-bottom: -3rem; }
.intro-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.intro-row > div { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 40rem) {
  .hero-huck { display: none; }
  .intro-row .huck { width: 96px; }
}

/* Chips (pick one) */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 .75rem; }
.chip { font: 700 1rem var(--text); color: var(--harbor); background: var(--white); border: 2px solid var(--harbor); border-radius: 999px; padding: .55rem 1rem; min-height: 44px; cursor: pointer; }
.chip:hover { background: var(--sky); }
.chip[aria-pressed="true"] { background: var(--harbor); color: var(--white); }
.chooser { margin-bottom: .5rem; }
.chooser p { margin-bottom: .25rem; }

/* Officials filters */
.filters { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1rem 0; }
.filters p { margin: .5rem 0 0; }
.filters input[type="search"] { display: block; width: 100%; max-width: 28rem; font: 500 1.1rem var(--text); padding: .7rem .9rem; border: 2px solid var(--tide); border-radius: 12px; margin-top: .3rem; }
.filters input[type="search"]:focus { border-color: var(--harbor); }
[hidden] { display: none !important; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; margin: .6rem 0; padding: 0 1.1rem; }
.faq summary { font-weight: 800; font-size: 1.2rem; color: var(--harbor); padding: .9rem 0; cursor: pointer; min-height: 44px; }
.faq details[open] { padding-bottom: .6rem; }
.faq .meeting { border: 1px solid var(--rule); margin-top: .5rem; }

/* Video */
.video-row { display: flex; gap: 1.25rem; align-items: center; margin: 1.5rem 0; }
.video-row video { width: 220px; height: auto; border-radius: 12px; background: var(--harbor); flex: none; }
@media (max-width: 40rem) {
  .video-row { flex-direction: column; align-items: flex-start; }
  .video-row video { width: 100%; max-width: 320px; }
}

/* Quiz */
.quiz { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.25rem 1.25rem; }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.quiz legend { font-weight: 800; margin-bottom: .4rem; }
.quiz label { display: inline-flex; align-items: center; gap: .45rem; margin: 0 1rem .4rem 0; min-height: 44px; cursor: pointer; }
.quiz input[type="radio"] { width: 1.3rem; height: 1.3rem; accent-color: var(--harbor); }
.quiz .btn { cursor: pointer; font-family: var(--text); }
.quiz-result { margin-top: 1rem; padding: 1rem; border-radius: 12px; background: var(--sky); }
.quiz-result.yes { display: flex; gap: 1rem; align-items: center; }
.quiz-result p:last-child { margin-bottom: 0; }
.cal-links { margin-top: .35rem; font-weight: 700; }

/* PCO sign-up form */
.js-only { display: none; }
.js .js-only { display: inline-block; }
.pco-form .step + .step { border-top: 1px solid var(--rule); margin-top: 1.25rem; padding-top: 1.25rem; }
.pco-form.stepped .step + .step:not([hidden]) { animation: rise .25s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pco-form.stepped .step + .step:not([hidden]) { animation: none; } }
.pco-form h3, .pco-form h2.h3 { margin: 0 0 .25rem; }
.step-num { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--harbor); margin: 0 0 .5rem; }
.fields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .75rem 1rem; margin: .75rem 0 1rem; }
.fields .wide { grid-column: 1 / -1; }
.quiz .fields label { display: flex; flex-direction: column; align-items: stretch; gap: .3rem; margin: 0; min-height: 0; font-weight: 700; cursor: default; }
.fields input, .fields textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: .65rem .75rem; border: 1px solid var(--tide); border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
.fields input:focus-visible, .fields textarea:focus-visible { outline: 3px solid var(--harbor); outline-offset: 1px; }
.fields .opt { font-weight: 400; color: var(--tide); }
@media (max-width: 40rem) { .fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: var(--marker); color: var(--ink); font-weight: 700; padding: .75rem 1rem; border-radius: 10px; }
.precinct-result { margin-top: 1rem; padding: 1rem; border-radius: 12px; background: var(--sky); }
.precinct-result.open { background: color-mix(in srgb, var(--marker) 28%, var(--white)); border-left: 6px solid var(--marker); }
.precinct-result.filled { border-left: 6px solid var(--harbor); }
.precinct-result h3 { font-size: 1.6rem; margin: 0 0 .4rem; }
.precinct-result .num { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tide); margin: 0 0 .2rem; }
.precinct-result p:last-child { margin-bottom: 0; }
.precinct-result .chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }

/* Huck in a local place, at the top of a page */
.scene { max-width: var(--measure); margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; background: var(--harbor-deep); }
.scene img { display: block; width: 100%; height: auto; }
@media (max-width: 40rem) { .scene { margin: -2rem -1.25rem 1.25rem; border-radius: 0; max-width: none; } }

/* Home: the county behind the banner */
/* Home banner: the whole county beside the words */
.map-hero { padding: 1.75rem 0 2rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.hero-map { display: block; width: 100%; height: auto; max-height: 22rem; object-fit: contain; }
@media (max-width: 48rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-map { max-width: 16rem; margin: 0 auto; }
}
h2.first { margin-top: 0; }
.meet-row { display: flex; align-items: flex-end; gap: 1.5rem; margin-top: 1.5rem; }
.meet-row .meeting { margin-top: 0; border: 1px solid var(--rule); }
.meet-huck { width: 150px; }
@media (max-width: 40rem) { .meet-huck { display: none; } }
.zoom { font-size: 1rem; }
.steps { padding-left: 1.4rem; max-width: var(--measure); }
.steps li { margin-bottom: .5rem; }
details.past { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: .75rem 1rem; margin: .75rem 0; }
details.past summary { font-weight: 800; cursor: pointer; color: var(--harbor); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 700; margin: 1rem 0; max-width: var(--measure); }
.check input { width: 1.3rem; height: 1.3rem; margin-top: .2rem; flex: none; }

/* Home: Pick your town */
.towns { margin-bottom: 2rem; }
.town-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.25rem; align-items: start; }
@media (max-width: 46rem) { .town-row { grid-template-columns: minmax(0, 1fr); } }
.town-svg { display: block; width: 100%; height: auto; border-radius: var(--radius); --z: 1; }
.town-svg .water { fill: var(--sky); }
.town-svg .nb { fill: #e4dfd3; }
.town-svg [data-town] { fill: #b9c6d4; stroke: var(--white); stroke-width: .8; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .2s; }
.town-svg [data-town]:hover { fill: #9fb0c2; }
.town-svg.picked [data-town].on.f { fill: var(--harbor); }
.town-svg.picked [data-town].on.o { fill: var(--marker); }
.town-svg .shore { fill: none; stroke: #2f6aa8; stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
.town-svg text { font: 800 calc(13px * var(--z)) var(--text); fill: var(--ink); paint-order: stroke; stroke: var(--white); stroke-width: calc(3.5px * var(--z)); stroke-linejoin: round; text-anchor: middle; pointer-events: none; }
.town-svg text:not(.city) { display: none; }
.town-svg.picked text:not(.city), .town-svg text.on { display: inline; }
.town-svg text.city { font-size: calc(16px * var(--z)); }
.town-svg text.on { fill: var(--harbor-deep); }
.town-pick { display: flex; flex-direction: column; gap: .3rem; font-weight: 700; margin-bottom: 1rem; }
.js .town-pick { display: flex; }
.town-pick select { font: inherit; font-weight: 400; font-size: 1rem; padding: .65rem .75rem; border: 1px solid var(--tide); border-radius: 10px; background: var(--white); color: var(--ink); }
.town-info { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.25rem; }
.town-info h3 { margin: 0 0 .5rem; font-size: 1.6rem; }
.town-info p:last-child { margin-bottom: 0; }
.know { display: flex !important; flex-direction: column; gap: .3rem; margin-top: 1rem !important; font-weight: 700; }
.know select { font: inherit; font-weight: 400; font-size: 1rem; padding: .6rem .75rem; border: 1px solid var(--tide); border-radius: 10px; background: var(--white); color: var(--ink); max-width: 20rem; }
.fields .hint { font-weight: 400; font-size: .95rem; color: var(--tide); }

/* Run for office */
.run-result { margin-top: 1rem; padding: 1rem; border-radius: 12px; background: var(--sky); }
.run-result.filled { background: var(--white); border: 1px solid var(--rule); border-left: 6px solid var(--harbor); }
.run-result h3 { font-size: 1.6rem; margin: 0 0 .4rem; }
.run-result h4 { margin: 1rem 0 .3rem; font-size: 1.05rem; }
.run-result .num { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tide); margin: 0 0 .2rem; }
.seat-list { margin: 0 0 .5rem; padding-left: 1.1rem; }
.seat-list li { margin: .35rem 0; }
.dates ul { margin: .25rem 0 .5rem; padding-left: 1.1rem; }
.steps li, .links-list li { margin: .5rem 0; }
table.races td, table.races th { vertical-align: top; }
@media (max-width: 40rem) {
  table.races thead { display: none; }
  table.races tr { display: block; border-bottom: 1px solid var(--rule); padding: .5rem 0; }
  table.races td { display: block; border: 0; padding: .1rem .5rem; }
  table.races td:nth-child(2)::before { content: "Term: "; font-weight: 700; }
  table.races td:nth-child(3)::before { content: "Holds it now: "; font-weight: 700; }
  table.races td:nth-child(4)::before { content: "Filing fee: "; font-weight: 700; }
}

/* Tables in a series share column widths, so the columns line up from one
   table to the next. Phones get stacked cards instead (see 40rem above). */
@media (min-width: 40.01rem) {
  table.races, table.officials { table-layout: fixed; }
  table.races td, table.officials td { overflow-wrap: anywhere; }
  .c-seat { width: 42%; } .c-term { width: 20%; } .c-who { width: 24%; } .c-fee { width: 14%; }
  .c-name { width: 30%; } .c-party { width: 14%; } .c-contact { width: 30%; } .c-web { width: 26%; }
}

/* Text blocks share the paragraph width, so a page's text wraps at one edge.
   Tables, card grids, maps and embeds still use the full page width. */
main ul:not([class]), main ol:not([class]), ol.proposed, .notice, .panel, .faq, .quiz { max-width: var(--measure); }
