/* Politician, race, state and money pages. Same rules as the news pages:
   5px rules between sections, 1px between rows, blue only for sources. */
.kick { margin: 0 0 18px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--quiet); }
.rec-head .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.rec-head h1 { max-width: 18ch; }
.rec-head .pic { width: 180px; height: 220px; object-fit: cover; background: var(--rail); flex: none; }

.rec { padding: 0 0 56px; }
.rec h2 { margin: 0 0 8px; padding-top: 18px; border-top: 5px solid var(--ink); font-size: 32px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.rec h2 small { font-size: 18px; font-weight: 600; color: var(--quiet); letter-spacing: 0; }
.rec h3 { margin: 40px 0 12px; font-size: 22px; letter-spacing: -.02em; font-weight: 800; }
.rec h4 { margin: 24px 0 10px; font-size: 17px; font-weight: 800; }
.rec h4 b { font-weight: 800; }
.rec .sub, .rec .note { margin: 4px 0 20px; color: var(--quiet); font-size: 16px; max-width: 70ch; }
.rec .none { margin: 12px 0 0; font-size: 18px; max-width: 60ch; }

.facts { display: grid; grid-template-columns: 220px minmax(0, 1fr); margin: 20px 0 0; border-top: 1px solid var(--ink); }
.facts dt, .facts dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--ink); }
.facts dt { font-weight: 600; color: var(--quiet); }
.facts dd { font-size: 18px; }

.big { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 8px 0 28px; }
.big div { border-top: 1px solid var(--ink); padding-top: 10px; }
.big span { display: block; font-size: 15px; color: var(--quiet); }
.big b { display: block; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; font-variant-numeric: tabular-nums; }

.bar { display: flex; height: 18px; background: var(--rail); }
.bar i { display: block; height: 100%; }
.b0 { background: var(--ink); }
.b1 { background: #5A5A5A; }
.b2 { background: #9A9A96; }
.b3 { background: repeating-linear-gradient(135deg, var(--ink) 0 2px, var(--paper) 2px 6px); }
.b4 { background: var(--faint); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 12px 0 0; padding: 0; font-size: 15px; }
.legend .sw { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.legend b { font-weight: 800; }

.tbl { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 16px; }
.tbl th, .tbl td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--ink); text-align: left; vertical-align: top; }
.tbl thead th { font-size: 14px; color: var(--quiet); font-weight: 600; }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-right: 0; padding-left: 16px; }
.tbl td:last-child.num { font-weight: 800; }
.org { display: block; margin-top: 2px; font-size: 14px; color: var(--quiet); font-weight: 400; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.dfacts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.dfacts li { padding: 12px 0; border-bottom: 1px solid var(--ink); font-size: 18px; }
.dfacts b { font-weight: 800; }
.scroll { overflow-x: auto; }
.race td:first-child a { font-weight: 800; }

.roster { list-style: none; margin: 16px 0 40px; padding: 0; border-top: 1px solid var(--ink); }
.roster li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--ink); }
.roster a { font-weight: 800; text-decoration: none; }
.roster a:hover { text-decoration: underline; }
.roster span { color: var(--quiet); font-size: 15px; text-align: right; }
.roster.cols { columns: 3; column-gap: 32px; border-top: 0; }
.roster.cols li { break-inside: avoid; }

.find { display: grid; grid-template-columns: minmax(0, 3fr) repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 12px; }
.find label span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.find input, .find select { width: 100%; padding: 12px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); font: 400 17px var(--sans); color: var(--ink); }

.stances { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.stances li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--ink); }
.stances .stance { margin: 0; font-size: 18px; font-weight: 600; }
.stances blockquote { grid-column: 2; margin: 0; color: var(--quiet); font-size: 16px; }
.board { font-size: 14px; min-width: 1800px; }
.board th:first-child { position: sticky; left: 0; background: var(--paper); min-width: 220px; }
.board td { min-width: 140px; }
.na { color: var(--faint); }

@media (max-width: 960px) {
  .big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: 1fr; }
  .find { grid-template-columns: 1fr 1fr; }
  .roster.cols { columns: 2; }
}
@media (max-width: 640px) {
  .rec-head .wrap { flex-direction: column-reverse; align-items: flex-start; }
  .rec-head .pic { width: 120px; height: 146px; }
  .facts, .stances li { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .stances blockquote { grid-column: 1; }
  .roster li { flex-direction: column; gap: 2px; }
  .roster span { text-align: left; }
  .roster.cols { columns: 1; }
  .find { grid-template-columns: 1fr; }
}
.sources .t, .facts dd, .rec .none, .roster a { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .tbl { font-size: 15px; }
  .tbl td:first-child { overflow-wrap: anywhere; }
  .tbl .num { white-space: normal; padding-left: 10px; }
}
.race td:last-child.num { font-weight: 400; }
.board .more { display: block; margin-top: 4px; color: var(--quiet); font-size: 13px; }
.issue { border-top: 1px solid var(--ink); padding: 8px 0 24px; }
.issue h3 { margin-top: 12px; }
.issue h4 { margin: 8px 0; color: var(--quiet); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.said, .did { list-style: none; margin: 0; padding: 0; }
.said li, .did li { padding: 8px 0; border-bottom: 1px solid var(--rail); font-size: 16px; }
.said .stance { margin: 0 0 4px; font-weight: 600; }
.said blockquote { margin: 0; color: var(--quiet); font-size: 15px; }
.did b { font-weight: 800; }
.na-li { color: var(--quiet); }
.said .stance { color: var(--ink); }

/* A quote this politician said, on a shirt from our shop */
.wear-note { padding: 0 0 48px; }
.wear-note .card { display: block; max-width: 760px; padding: 18px 22px; background: var(--wash); border-left: 4px solid var(--ink); text-decoration: none; }
.wear-note .k { display: inline-block; margin-bottom: 8px; border: 1px solid currentColor; border-radius: 3px; padding: 1px 7px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.wear-note q { display: block; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.wear-note .by { display: block; margin-top: 8px; color: var(--quiet); font-size: 15px; }
.wear-note .card:hover .by { text-decoration: underline; }
.wear-note .more { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 600; }
.subnav { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.subnav .wrap { display: flex; gap: 24px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.subnav a { text-decoration: none; color: var(--quiet); }
.subnav a:hover, .subnav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.countdown { margin: 8px 0 24px; font-size: 22px; }
.countdown b { font-weight: 800; }
.find.one { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-bottom: 32px; }
.pol-home { padding: 0 0 96px; }
.pol-home .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; border-top: 5px solid var(--ink); padding-top: 24px; }
.pol-home h2 { margin: 0; font-size: 32px; letter-spacing: -.03em; font-weight: 800; }
.pol-home h2 a { text-decoration: none; }
.pol-home h3 { margin: 6px 0 12px; font-size: 20px; font-weight: 800; }
.pol-home .sub { color: var(--quiet); max-width: 52ch; }
.pol-home .find label span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.pol-home .find input { width: 100%; padding: 12px; border: 2px solid var(--ink); border-radius: 0; font: 400 17px var(--sans); }
.pol-home .more { font-weight: 600; }
@media (max-width: 960px) { .pol-home .wrap { grid-template-columns: 1fr; gap: 24px; } }
.people-in { padding: 8px 0 48px; }
.people-in h2 { margin: 0 0 6px; padding-top: 18px; border-top: 5px solid var(--ink); font-size: 28px; letter-spacing: -.03em; font-weight: 800; }
.people-in .sub { margin: 0 0 12px; color: var(--quiet); }
.party { display: inline-block; margin-left: 6px; padding: 1px 7px; border: 1.5px solid var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .02em; vertical-align: 2px; text-transform: uppercase; }
.party.pd { background: var(--ink); color: var(--paper); }
.party.pr { background: var(--paper); color: var(--ink); }
.party.po { border-style: dashed; color: var(--quiet); }
.lede .party { margin: 0 8px 0 0; font-size: 14px; vertical-align: 3px; }
.side { margin-top: 20px; max-width: 640px; }
.side p { margin: 0 0 8px; font-size: 17px; }
.side .note { margin-top: 6px; font-size: 14px; color: var(--quiet); }
.rail.chamber { height: 30px; }
.rail.chamber i { height: 40%; }
.rail.chamber b { position: absolute; bottom: 0; width: 4px; margin-left: -2px; height: 100%; background: var(--ink); }
.ends { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--quiet); margin-top: 4px; }
.siderail { position: relative; height: 22px; margin-top: 12px; }
.siderail .ln { position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--ink); }
.siderail i { position: absolute; top: 2px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--ink); }
.pac-h { max-width: 22ch !important; font-size: clamp(36px, 5.4vw, 80px) !important; }
/* Politics hub */
.hub-hero { padding: 48px 0 40px; }
.hub-hero h1 { margin: 0; font-size: clamp(48px, 8vw, 128px); line-height: .92; letter-spacing: -.05em; font-weight: 800; }
.hub-hero h1 #cd-n { display: inline-block; min-width: 1ch; }
.hub-hero .lede { margin: 24px 0 28px; font-size: 22px; line-height: 1.4; max-width: 46ch; }
.hub-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin: 8px 0 0; padding: 0; border-top: 5px solid var(--ink); }
.hub-stats li { flex: 1 1 140px; padding: 14px 16px 0 0; font-size: 15px; color: var(--quiet); }
.hub-stats b { display: block; color: var(--ink); font-size: 34px; letter-spacing: -.03em; font-weight: 800; font-variant-numeric: tabular-nums; }
.seats { display: grid; gap: 3px; margin: 8px 0 6px; }
.seats.senator { grid-template-columns: repeat(25, 1fr); }
.seats.representative { grid-template-columns: repeat(45, 1fr); }
.seat { display: block; aspect-ratio: 1; border: 1.5px solid var(--ink); }
.seat.pd { background: var(--ink); }
.seat.po { border-style: dashed; border-color: var(--quiet); }
.seat:hover { outline: 2px solid var(--cite); outline-offset: 1px; }
.rcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 16px 0 24px; }
.rcard { border-top: 5px solid var(--ink); padding-top: 12px; }
.rcard h3 { margin: 0 0 12px; font-size: 20px; }
.rcard h3 a { text-decoration: none; }
.rcard h3 a:hover { text-decoration: underline; }
.rcard ul { list-style: none; margin: 0; padding: 0; }
.rcard li { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--rail); align-items: center; }
.rcard .who { grid-column: 1 / -1; font-weight: 800; }
.rcard .who a { text-decoration: none; }
.rcard .mbar { height: 10px; background: var(--rail); }
.rcard .mbar i { display: block; height: 100%; background: var(--ink); }
.rcard li > span { text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
.rcard .out { margin: 10px 0 0; font-size: 14px; color: var(--quiet); }
.rcard .out b { color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; max-width: 760px; margin: 16px 0 40px; }
.tile { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; }
.tile.on { background: var(--ink); color: var(--paper); }
.tile:hover { outline: 3px solid var(--cite); outline-offset: 1px; }
.hub-pair { gap: 48px; margin-top: 16px; }
.spenders { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--ink); }
.spenders li { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--ink); }
.spenders a { font-weight: 800; text-decoration: none; }
.siderail.mini { height: 14px; margin: 0; }
.siderail.mini .ln { top: 6px; }
.siderail.mini i { top: 1px; width: 12px; height: 12px; margin-left: -6px; }
.roster .party { flex: none; }
@media (max-width: 960px) {
  .rcards { grid-template-columns: 1fr; }
  .seats.representative { grid-template-columns: repeat(29, 1fr); }
}
@media (max-width: 640px) {
  .seats.senator { grid-template-columns: repeat(20, 1fr); }
  .seats.representative { grid-template-columns: repeat(22, 1fr); }
  .tiles { gap: 2px; }
  .tile { font-size: 9px; border-width: 1px; }
  .hub-stats b { font-size: 26px; }
}
.roster .nm { color: var(--ink); text-align: left; font-size: inherit; }
