@font-face {
  font-family: "Race Sans Numerals";
  src: local("Inter"), local("Arial"), local("Helvetica");
  font-style: normal;
  font-weight: 400 900;
  unicode-range: U+0024-0025, U+002C-002E, U+0030-0039;
}

/*
 * Location-framework alignment preview.
 *
 * This layer intentionally leaves the race page's information architecture and
 * interactions alone. It only brings the shared brand, paper, type, spacing,
 * and surface language across from area-profile.css for design review.
 */

:root {
  --navy: #0d475d;
  --navy-deep: #082f49;
  --teal: #16766f;
  --teal-soft: #e7f3ef;
  --gold: #ad7d25;
  --gold-soft: #f1eadb;
  --coral: #a65f4c;
  --coral-soft: #f7e9e5;
  --ink: #122f3f;
  --muted: #5e717a;
  --line: #d5dedd;
  --paper: #fbf8ef;
  --surface: #ffffff;
  --location-gold-light: #e0bd68;
  --location-teal-light: #7fd4bc;
  --location-shadow: 0 18px 48px rgba(8, 47, 73, 0.12);
  --location-icon-control-shadow:
    0 1px 1px rgba(255, 255, 255, 0.2),
    0 3px 3px rgba(0, 12, 22, 0.38),
    0 8px 16px rgba(0, 12, 22, 0.46);
}

body {
  background:
    linear-gradient(180deg, rgba(8, 47, 73, 0.045), transparent 520px),
    var(--paper);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-variant-numeric: lining-nums tabular-nums;
}

#news {
  scroll-margin-top: 66px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  border: 2px solid var(--location-gold-light);
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-deep);
}

.skip-link:focus {
  transform: translateY(0);
}

.race-header {
  z-index: 30;
  min-height: 66px;
  gap: 18px;
  border-bottom-color: rgba(8, 47, 73, 0.14);
  padding-top: 4px;
  padding-bottom: 4px;
  background: rgba(251, 248, 239, 0.96);
}

.race-brand {
  width: 188px;
  height: auto;
}

.race-brand img {
  width: 100%;
  height: auto;
  max-height: none;
}

.race-region {
  margin-left: 0;
  border-left: 1px solid rgba(8, 47, 73, 0.18);
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.race-nav {
  gap: 2px;
  color: #405560;
  font-size: 0.78rem;
}

.race-nav a {
  border-radius: 0;
  padding: 10px 9px;
}

.race-nav a:hover,
.race-nav a:focus-visible {
  color: var(--navy-deep);
  background: var(--gold-soft);
}

.race-hero {
  min-height: 440px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(5, 37, 59, 0.97), rgba(8, 47, 73, 0.9)),
    url("/assets/civic-building-masthead.jpg") center / cover;
}

.race-hero::before {
  background: transparent;
}

.race-hero::after {
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(224, 189, 104, 0.22);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 54px rgba(224, 189, 104, 0.035),
    0 0 0 108px rgba(224, 189, 104, 0.025);
}

.race-hero-inner {
  min-height: 440px;
  grid-template-columns: minmax(0, 1.2fr) minmax(350px, 0.8fr);
  gap: clamp(34px, 6vw, 78px);
  padding: 44px 0 48px;
}

.race-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 28px;
  color: #a9c0c9;
  font-size: 0.72rem;
}

.race-breadcrumbs > * {
  flex: 0 0 auto;
  white-space: nowrap;
}

.race-breadcrumbs a:hover,
.race-breadcrumbs a:focus-visible {
  color: #fff;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.race-kicker,
.section-kicker {
  color: var(--location-gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.race-hero h1 {
  max-width: 830px;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.2vw, 4.9rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.race-subtitle {
  color: #c8d7dc;
  line-height: 1.55;
}

.race-meta span,
.election-step {
  border-radius: 2px;
  background: rgba(4, 35, 55, 0.48);
}

.election-step.is-current {
  color: var(--navy-deep);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 16, 29, 0.2);
}

.election-step-phase,
.election-connector {
  color: var(--location-gold-light);
}

.race-map-preview {
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: 0;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.election-profile-template-page .race-map-preview {
  box-shadow: var(--location-icon-control-shadow);
}

.race-map-preview figcaption {
  min-height: 47px;
  padding: 12px 15px;
}

.race-map-preview figcaption strong {
  font-family: "Race Sans Numerals", Georgia, "Times New Roman", serif;
  font-size: 0.94rem;
  font-weight: 500;
}

.election-profile-template-page .race-map-preview figcaption strong {
  font-family: "Times New Roman", Times, serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 600;
}

.race-map-preview figcaption span {
  letter-spacing: 0.04em;
}

.summary-grid,
.election-results-inner,
.content-section,
.detail-inner {
  width: min(1180px, calc(100% - 40px));
}

.summary-band {
  background: var(--surface);
}

.summary-item {
  padding: 25px 28px;
}

.summary-item span {
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.summary-item strong {
  color: var(--navy-deep);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
}

.content-section.race-stats-section {
  box-sizing: border-box;
  width: min(1220px, calc(100% - 32px));
  margin: 32px auto 18px;
  border: 1px solid rgba(8, 47, 73, 0.16);
  padding: 62px clamp(24px, 4vw, 52px) 66px;
  background:
    radial-gradient(circle at 96% 4%, rgba(224, 189, 104, 0.3), transparent 25%),
    radial-gradient(circle at 4% 94%, rgba(127, 212, 188, 0.22), transparent 25%),
    linear-gradient(145deg, #fffdf7 0%, #f4faf8 58%, #f8eee8 100%);
  box-shadow: var(--location-shadow);
}

.race-stats-section > .section-heading {
  border-bottom: 2px solid rgba(8, 47, 73, 0.18);
}

.race-stats-section > .section-heading .section-kicker {
  color: var(--gold);
}

.race-stats-money {
  overflow: hidden;
  margin-bottom: 26px;
  border: 1px solid rgba(8, 47, 73, 0.18);
  background: #fff;
  box-shadow: 0 16px 36px rgba(8, 47, 73, 0.11);
}

.race-stats-subheading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 30px;
  padding: 22px 26px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 15%, rgba(224, 189, 104, 0.22), transparent 28%),
    var(--navy-deep);
}

.race-stats-subheading p,
.race-stats-voting-card header p,
.race-stats-dates-card header p,
.race-stats-path-heading p {
  margin: 0 0 7px;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.race-stats-subheading p {
  color: var(--location-gold-light);
}

.race-stats-subheading h3,
.race-stats-voting-card h3,
.race-stats-dates-card h3,
.race-stats-path-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
}

.race-stats-subheading small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: right;
}

.race-stats-section .summary-band {
  border: 0;
  background: transparent;
}

.race-stats-section .summary-grid {
  width: 100%;
  margin: 0;
}

.race-stats-section .summary-item:first-child {
  border-left: 0;
}

.race-stats-section .summary-item:last-child {
  border-right: 0;
}

.race-stats-information-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
}

.race-stats-voting-card,
.race-stats-dates-card {
  min-width: 0;
  padding: 28px;
  box-shadow: 0 16px 34px rgba(8, 47, 73, 0.11);
}

.race-stats-voting-card {
  color: #fff;
  background:
    radial-gradient(circle at 95% 6%, rgba(255, 255, 255, 0.16), transparent 27%),
    var(--teal);
}

.race-stats-voting-card header p {
  color: var(--location-gold-light);
}

.race-stats-dates-card {
  border: 1px solid rgba(183, 127, 31, 0.25);
  background: rgba(255, 255, 255, 0.94);
}

.race-stats-dates-card header p,
.race-stats-path-heading p {
  color: #aa7416;
}

.race-stats-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
}

.race-stats-facts div {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.race-stats-facts dt {
  margin-bottom: 6px;
  color: var(--location-gold-light);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.race-stats-facts dd {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.45;
}

.race-stats-voting-note {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.74rem;
  line-height: 1.55;
}

.race-stats-voter-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.race-stats-voter-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 11px;
  color: #fff;
  background: rgba(3, 42, 56, 0.2);
  font-size: 0.65rem;
  font-weight: 850;
  line-height: 1.3;
  text-decoration: none;
}

.race-stats-voter-links a:hover,
.race-stats-voter-links a:focus-visible {
  color: var(--navy-deep);
  background: var(--location-gold-light);
}

.race-stats-date-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.race-stats-date-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  min-width: 0;
  padding: 12px;
  background: var(--gold-soft);
}

.race-stats-date-list time {
  padding: 6px 5px;
  color: var(--navy-deep);
  background: var(--location-gold-light);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.race-stats-date-list span,
.race-stats-date-list strong,
.race-stats-date-list small {
  display: block;
}

.race-stats-date-list strong {
  color: var(--navy-deep);
  font-size: 0.72rem;
  line-height: 1.35;
}

.race-stats-date-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.63rem;
  line-height: 1.4;
}

.race-stats-path {
  margin-top: 26px;
  border: 1px solid rgba(8, 47, 73, 0.17);
  padding: 28px;
  background:
    radial-gradient(circle at 50% 100%, rgba(230, 188, 92, 0.13), transparent 34%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(8, 47, 73, 0.08);
}

.race-stats-path-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 24px;
}

.race-stats-path-stage {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(9, 111, 105, 0.24);
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(225, 243, 240, 0.88)),
    var(--teal-soft);
  box-shadow: 0 10px 24px rgba(8, 47, 73, 0.09);
}

.race-stats-path-stage.is-upcoming {
  border-color: rgba(190, 130, 24, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(250, 236, 197, 0.82)),
    var(--gold-soft);
}

.race-stats-path-stage header {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(9, 111, 105, 0.2);
}

.race-stats-path-stage.is-upcoming header {
  border-bottom-color: rgba(190, 130, 24, 0.24);
}

.race-stats-path-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  background: var(--teal);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.race-stats-path-stage.is-upcoming .race-stats-path-status {
  color: var(--navy-deep);
  background: var(--gold);
}

.race-stats-path-stage time {
  color: var(--teal);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}

.race-stats-path-stage.is-upcoming time {
  color: #9d6910;
}

.race-stats-path-kicker {
  margin: 18px 0 0;
  color: var(--teal);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.race-stats-path-stage.is-upcoming .race-stats-path-kicker {
  color: #9d6910;
}

.race-stats-path-stage h4 {
  margin: 6px 0 0;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.14;
}

.race-stats-path-summary {
  margin: 12px 0 0;
  color: #425963;
  font-size: 0.7rem;
  line-height: 1.52;
}

.race-stats-path-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
}

.race-stats-path-results div {
  min-width: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(8, 47, 73, 0.09);
}

.race-stats-path-results dt {
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}

.race-stats-path-results dd {
  margin: 5px 0 0;
  color: #425963;
  font-size: 0.6rem;
  font-weight: 750;
  line-height: 1.35;
}

.race-stats-path-results dd span {
  display: inline-block;
  margin-left: 3px;
  color: var(--teal);
  font-weight: 900;
}

.race-stats-path-outcome {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(8, 47, 73, 0.12);
  color: #425963;
  font-size: 0.66rem;
  line-height: 1.48;
}

.race-stats-path-outcome strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy-deep);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.race-stats-path-stage a {
  margin-top: auto;
  padding-top: 14px;
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 850;
  text-underline-offset: 4px;
}

.race-stats-path-arrow {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.race-stats-path-arrow span {
  margin-bottom: 10px;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.race-stats-path-arrow i {
  display: block;
  width: 100%;
  height: 40px;
  background: linear-gradient(90deg, var(--teal), #22948b);
  clip-path: polygon(0 35%, 76% 35%, 76% 0, 100% 50%, 76% 100%, 76% 65%, 0 65%);
  filter: drop-shadow(0 6px 7px rgba(8, 47, 73, 0.16));
}

.election-results-band {
  background: var(--gold-soft);
}

.content-section {
  padding: 74px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.section-heading h2 {
  color: var(--navy-deep);
  font-family: "Race Sans Numerals", Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-note {
  max-width: none;
  font-size: 0.84rem;
  line-height: 1.6;
}

.candidate-card {
  border-radius: 0;
  box-shadow: 0 12px 32px rgba(8, 47, 73, 0.055);
}

body[data-candidate-photo-links="false"] .candidate-card-portrait-frame {
  box-shadow:
    0 0 0 1px rgba(8, 47, 73, 0.18),
    0 12px 22px rgba(8, 47, 73, 0.22);
}

body[data-candidate-photo-links="false"] .candidate-card-portrait-frame:hover,
body[data-candidate-photo-links="false"] .candidate-card-portrait-frame:focus-visible {
  outline: none;
}

.candidate-card h3,
.source-layout h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

body[data-candidate-name-links="false"] .candidate-card-name {
  margin-bottom: 8px;
  color: var(--navy-deep);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.018em;
}

body[data-candidate-name-links="false"] .candidate-card-name-text {
  display: inline;
}

.race-issues-section {
  position: relative;
  box-sizing: border-box;
  width: min(1220px, calc(100% - 32px));
  margin: 18px auto 36px;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 73, 0.16);
  padding: 62px clamp(24px, 4vw, 52px) 66px;
  background:
    radial-gradient(circle at 92% 5%, rgba(127, 212, 188, 0.28), transparent 24%),
    radial-gradient(circle at 6% 96%, rgba(224, 189, 104, 0.22), transparent 25%),
    linear-gradient(150deg, #f4faf8 0%, #fffdf7 52%, #f9f0ea 100%);
  box-shadow: var(--location-shadow);
}

.race-issues-section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 9px;
  background: linear-gradient(90deg, var(--teal) 0 38%, var(--gold) 38% 72%, var(--coral) 72% 100%);
  content: "";
}

.race-issues-section > .section-heading {
  border-bottom: 2px solid rgba(8, 47, 73, 0.18);
}

.race-issues-section > .section-heading .section-kicker {
  color: var(--teal);
}

.issues-heading-note {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.issues-heading-note small {
  border: 1px solid rgba(13, 71, 93, 0.14);
  padding: 6px 9px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.issue-comparison-intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin-bottom: 22px;
  border: 1px solid rgba(8, 47, 73, 0.12);
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 20px rgba(8, 47, 73, 0.045);
}

.issue-comparison-intro h3,
.issue-context-heading h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.18;
}

.issue-comparison-intro p,
.issue-context-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.58;
}

.issue-gallery {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 18px;
}

.issue-gallery-column {
  --issue-gallery-accent: var(--teal);
  --issue-gallery-tint: #dcefeb;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--issue-gallery-accent) 32%, rgba(8, 47, 73, 0.12));
  background: var(--issue-gallery-tint);
  box-shadow: 0 18px 40px rgba(8, 47, 73, 0.13);
}

.issue-gallery-theme-2 {
  --issue-gallery-accent: #d7a73b;
  --issue-gallery-tint: #f7ebc9;
}

.issue-gallery-theme-3 {
  --issue-gallery-accent: var(--coral);
  --issue-gallery-tint: #f8dfd8;
}

.issue-gallery-heading {
  min-height: 0;
  box-sizing: border-box;
  padding: 18px 22px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.23), transparent 28%),
    var(--issue-gallery-accent);
}

.issue-gallery-theme-2 .issue-gallery-heading {
  color: var(--navy-deep);
}

.issue-gallery-heading p {
  margin: 0 0 8px;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.issue-gallery-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.8vw, 1.38rem);
  font-weight: 700;
  line-height: 1.12;
}

.issue-gallery-positions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 1;
  gap: 12px;
  padding: 14px;
}

.issue-gallery-position {
  display: flex;
  min-width: 0;
  min-height: 238px;
  flex-direction: column;
  padding: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(8, 47, 73, 0.09);
}

.issue-gallery-candidate {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.issue-gallery-candidate h4 {
  margin: 0;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.15;
}

.issue-candidate-photo {
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #e8eeec;
  box-shadow: 0 0 0 3px var(--location-gold-light), 0 8px 18px rgba(8, 47, 73, 0.18);
}

.issue-gallery-candidate-2 .issue-candidate-photo {
  box-shadow: 0 0 0 3px var(--location-teal-light), 0 8px 18px rgba(8, 47, 73, 0.18);
}

.issue-candidate-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--issue-portrait-position, center top);
}

.issue-gallery-quote {
  margin: 0 0 14px;
}

.issue-gallery-quote p {
  margin: 0;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.3vw, 1.24rem);
  font-weight: 700;
  line-height: 1.5;
}

.issue-gallery-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.issue-source-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.3;
  text-decoration-color: color-mix(in srgb, var(--issue-accent, var(--teal)) 40%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.issue-gallery-position .issue-source-link {
  border: 1px solid color-mix(in srgb, var(--issue-gallery-accent) 28%, transparent);
  padding: 8px 10px;
  color: color-mix(in srgb, var(--issue-gallery-accent) 78%, var(--navy-deep));
  background: color-mix(in srgb, var(--issue-gallery-accent) 9%, #fff);
}

.issue-context-card h4 {
  margin: 0;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.2;
}

.issue-context-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.62;
}

.issue-source-link:hover,
.issue-source-link:focus-visible {
  color: var(--navy-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.issue-context-block {
  margin-top: 44px;
  border-top: 2px solid rgba(8, 47, 73, 0.16);
  padding-top: 36px;
}

.issue-context-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 7px 28px;
  margin-bottom: 18px;
}

.issue-context-heading .section-kicker {
  grid-column: 1 / -1;
}

.issue-context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.issue-context-card {
  --context-accent: var(--gold);
  display: flex;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--context-accent) 28%, var(--line));
  border-top: 6px solid var(--context-accent);
  padding: 21px;
  background: linear-gradient(155deg, color-mix(in srgb, var(--context-accent) 11%, #fff), #fff 72%);
  box-shadow: 0 12px 28px rgba(8, 47, 73, 0.075);
}

.issue-context-card:nth-child(2) {
  --context-accent: var(--teal);
}

.issue-context-card:nth-child(3) {
  --context-accent: var(--coral);
}

.issue-context-card h4 {
  margin-bottom: 11px;
}

.issue-context-card .issue-source-link {
  color: var(--context-accent);
}

.cash-measure strong,
.candidate-totals dd,
.results-total strong,
.result-vote-total strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
}

.candidate-outcome-slot {
  border-radius: 0;
}

.detail-band {
  padding: 70px 0 74px;
  background: rgba(255, 255, 255, 0.72);
}

.race-topographic-section {
  background: #f7f3e9;
}

.election-profile-template-page #election-geography-title {
  font-family: Georgia, "Times New Roman", serif;
  font-feature-settings: "lnum" 1, "pnum" 1;
  font-variant-numeric: lining-nums proportional-nums;
}

.race-topographic-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 73, 0.18);
  background: var(--surface);
  box-shadow: 0 20px 44px rgba(8, 47, 73, 0.16);
}

.race-topographic-map {
  position: relative;
  aspect-ratio: 1.9 / 1;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.race-topographic-map img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.race-topographic-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  border-top: 1px solid var(--line);
  padding: 15px 18px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.race-topographic-caption-copy {
  display: grid;
  gap: 3px;
}

.race-topographic-caption-copy strong {
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-weight: 500;
}

.race-topographic-legend {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 13px;
  color: var(--navy-deep);
  font-size: 0.65rem;
  font-weight: 800;
}

.race-topographic-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.race-topographic-legend i {
  display: inline-block;
  width: 19px;
  height: 10px;
  border: 2px solid #086a64;
  background: rgba(19, 135, 125, 0.24);
  box-shadow: 0 3px 5px rgba(8, 47, 73, 0.2);
}

.candidate-filter select,
.detail-tabs,
.detail-tab,
.table-frame,
.transaction-list,
.show-more-button,
.transaction-committee-filter,
.empty-detail,
.loading-state {
  border-radius: 2px;
}

.detail-tab.is-active {
  background: var(--teal);
}

.show-more-button:hover,
.show-more-button:focus-visible,
.transaction-committee-filter:hover,
.transaction-committee-filter:focus-within,
.transaction-committee-filter:has(input:checked) {
  border-color: var(--teal);
  color: var(--teal);
  background: #edf7f3;
}

th,
.transaction-list-heading {
  color: #405560;
  background: #f1eadb;
}

tbody tr:hover,
.transaction-record > summary:hover,
.transaction-record > summary:focus-visible {
  background: #fbf8ef;
}

.coverage-note {
  border-left-color: var(--location-gold-light);
  box-shadow: 0 12px 32px rgba(8, 47, 73, 0.045);
}

.race-news-section {
  width: 100%;
  padding: 74px max(20px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--navy-deep);
  font-feature-settings: normal;
  font-variant-numeric: normal;
}

.race-news-inner {
  width: 100%;
  margin: 0 auto;
}

.race-news-heading {
  border-color: rgba(255, 255, 255, 0.17);
}

.race-news-heading h2 {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
}

.race-news-heading .section-note {
  color: #b5c7ce;
}

.race-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.race-news-card {
  display: flex;
  min-width: 0;
  min-height: 440px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid var(--location-teal-light);
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.race-news-media {
  position: relative;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  overflow: hidden;
  margin: 0;
  background: #d7e1e3;
}

.race-news-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.race-news-media.is-map img,
.race-news-media.is-fallback img {
  object-fit: contain;
}

.race-news-card:hover .race-news-media img,
.race-news-card:focus-visible .race-news-media img {
  transform: scale(1.025);
}

.race-news-media figcaption {
  position: absolute;
  right: 7px;
  bottom: 6px;
  max-width: calc(100% - 14px);
  padding: 3px 5px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(7, 47, 73, 0.78);
  font-size: 0.5rem;
  line-height: 1.25;
  text-align: right;
}

.race-news-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 19px 21px 21px;
}

.race-news-card.is-community-update {
  border-top-color: var(--location-gold-light);
}

.race-news-card:hover,
.race-news-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(112, 197, 175, 0.8);
  outline: none;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.race-news-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.race-news-meta span {
  color: var(--teal);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.race-news-meta time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.61rem;
}

.race-news-card h3 {
  margin: 0 0 14px;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.36rem;
  font-weight: 500;
  line-height: 1.2;
}

.race-news-card-body > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.62;
}

.race-news-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.race-news-footer > span {
  color: var(--muted);
  font-size: 0.61rem;
  line-height: 1.35;
}

.race-news-footer > strong {
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 0.64rem;
  font-weight: 850;
}

.methodology-section {
  width: 100%;
  max-width: none;
  padding: 82px max(20px, calc((100vw - 1180px) / 2));
  background: var(--gold-soft);
}

.methodology-section .section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.methodology-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
  gap: 18px;
  align-items: start;
}

.methodology-coverage-card {
  border: 1px solid rgba(8, 47, 73, 0.18);
  padding: 20px;
  color: #dce8eb;
  background: var(--navy-deep);
}

.methodology-coverage-card > span,
.methodology-coverage-card > strong,
.methodology-coverage-card > small {
  display: block;
}

.methodology-coverage-card > span {
  margin-bottom: 12px;
  color: #9fb9c4;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.methodology-coverage-card > strong {
  margin-bottom: 9px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.48rem;
  font-weight: 500;
}

.methodology-coverage-card p {
  margin: 0 0 16px;
  color: #afc5ce;
  font-size: 0.76rem;
  line-height: 1.55;
}

.methodology-coverage-card .methodology-counting-note {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 12px;
  color: #9fb9c4;
  font-size: 0.66rem;
  line-height: 1.5;
}

.methodology-coverage-card small {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 11px;
  color: #9fb9c4;
  font-size: 0.64rem;
}

.methodology-sources-panel {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.methodology-sources-heading {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 9px 14px;
  background: #f5f0e6;
}

.methodology-sources-heading strong {
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  font-weight: 500;
}

.methodology-sources-heading span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.methodology-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 0;
}

.methodology-source-list.is-categorized {
  display: block;
}

.methodology-source-list .source-group {
  min-width: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.methodology-source-list .source-group:last-child {
  border-bottom: 0;
}

.methodology-source-list .source-group-heading {
  display: grid;
  min-height: 52px;
  grid-template-columns: minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: 13px;
  padding: 11px 14px;
  cursor: pointer;
  list-style: none;
}

.methodology-source-list .source-group-heading::-webkit-details-marker {
  display: none;
}

.methodology-source-list .source-group-heading:hover,
.methodology-source-list .source-group-heading:focus-visible,
.methodology-source-list .source-group[open] > .source-group-heading {
  background: rgba(22, 118, 111, 0.06);
  outline: none;
}

.methodology-source-list .source-group-heading > strong {
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.25;
}

.methodology-source-list .source-group-meta {
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.methodology-source-list .source-group-toggle {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(8, 47, 73, 0.25);
  border-radius: 50%;
  color: var(--teal);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1;
}

.methodology-source-list .source-group-toggle::before {
  content: "+";
  transform: translateY(-0.5px);
}

.methodology-source-list .source-group[open] > .source-group-heading .source-group-toggle::before {
  content: "\2212";
}

.methodology-source-list .source-group-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: #fff;
}

.methodology-source-list .source-item {
  min-width: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.methodology-source-list .source-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.methodology-source-list .source-item summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  cursor: pointer;
  list-style: none;
}

.methodology-source-list .source-item summary::-webkit-details-marker {
  display: none;
}

.methodology-source-list .source-item summary:hover,
.methodology-source-list .source-item summary:focus-visible {
  color: var(--teal);
  background: rgba(22, 118, 111, 0.06);
  outline: none;
}

.methodology-source-list .source-item summary strong {
  min-width: 0;
  color: var(--navy-deep);
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.3;
}

.methodology-source-list .source-toggle {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border: 1px solid rgba(8, 47, 73, 0.24);
  border-radius: 50%;
  color: var(--teal);
  font-size: 0.83rem;
  line-height: 1;
}

.methodology-source-list .source-toggle::before {
  content: "+";
  transform: translateY(-0.5px);
}

.methodology-source-list .source-item[open] .source-toggle::before {
  content: "\2212";
}

.methodology-source-list .source-item-body {
  padding: 0 40px 13px 13px;
}

.methodology-source-list .source-item-body p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.45;
}

.methodology-source-list .source-item-body > a {
  color: var(--teal);
  font-size: 0.62rem;
  font-weight: 800;
}

.methodology-source-list .source-item-documents {
  display: grid;
  gap: 0;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.methodology-source-list .source-item-documents a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.35;
}

.methodology-source-list .source-item-documents a > span:first-child {
  display: grid;
  gap: 3px;
}

.methodology-source-list .source-item-documents strong {
  color: var(--navy-deep);
  font-size: 0.64rem;
  line-height: 1.35;
}

.methodology-source-list .source-item-documents small {
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.35;
}

.methodology-source-list .source-item-body a:hover,
.methodology-source-list .source-item-body a:focus-visible {
  color: var(--navy-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.race-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px max(20px, calc((100vw - 1180px) / 2));
  color: #a9bec7;
  background: #06283f;
}

.race-footer a {
  color: inherit;
}

.race-footer-brand {
  display: inline-flex;
  width: 158px;
}

.race-footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.race-footer p {
  margin: 9px 0 0;
  font-size: 0.67rem;
}

.race-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.7rem;
  font-weight: 750;
}

.race-footer a:hover,
.race-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  .race-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1080px) {
  .race-header {
    gap: 12px;
  }

  .race-brand {
    width: 160px;
  }

  .race-region {
    padding-left: 12px;
  }

  .race-nav {
    font-size: 0.72rem;
  }

  .race-nav a {
    padding-right: 7px;
    padding-left: 7px;
  }
}

@media (max-width: 920px) {
  .race-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }

  .race-hero h1 {
    font-size: clamp(2.8rem, 6vw, 4rem);
  }

  .race-news-grid {
    grid-template-columns: 1fr;
  }

  .race-news-card {
    min-height: 250px;
  }

  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .issue-context-grid {
    grid-template-columns: 1fr;
  }

  .issue-context-card {
    min-height: 0;
  }

  .race-stats-information-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 780px) {
  .race-hero-inner,
  .race-hero-inner.has-no-map {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 28px;
  }

  .race-hero-copy {
    width: 100%;
    max-width: 700px;
  }

  .race-map-preview {
    justify-self: start;
    width: min(100%, 540px);
  }
}

@media (max-width: 680px) {
  .race-header {
    min-height: 64px;
  }

  .race-brand {
    width: 160px;
    height: auto;
  }

  .race-brand img {
    max-height: none;
  }

  .race-region {
    margin-left: 0;
    font-size: 0.62rem;
  }

  .race-hero {
    min-height: 390px;
  }

  .race-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 390px;
    gap: 24px;
    width: min(100% - 32px, 1180px);
    padding: 36px 0 42px;
  }

  .race-hero-inner.has-no-map {
    grid-template-columns: minmax(0, 1fr);
  }

  .race-breadcrumbs {
    margin-bottom: 22px;
    line-height: 1.5;
  }

  .race-hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.45rem);
    overflow-wrap: normal;
    word-break: normal;
  }

  .race-kicker {
    line-height: 1.45;
  }

  .election-step strong,
  .election-step small {
    overflow-wrap: normal;
    word-break: normal;
  }

  .summary-grid,
  .election-results-inner,
  .content-section,
  .detail-inner {
    width: min(100% - 32px, 1180px);
  }

  .content-section,
  .detail-band {
    padding-top: 54px;
    padding-bottom: 56px;
  }

  .race-issues-section {
    width: min(100% - 20px, 1180px);
    padding: 48px 18px 52px;
  }

  .content-section.race-stats-section {
    width: min(100% - 20px, 1180px);
    padding: 48px 18px 52px;
  }

  .race-stats-subheading {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .race-stats-subheading small {
    text-align: left;
  }

  .race-stats-section .summary-grid {
    width: 100%;
  }

  .race-stats-section .summary-item,
  .race-stats-section .summary-item:last-child {
    border-right: 0;
    border-left: 0;
  }

  .race-stats-voting-card,
  .race-stats-dates-card,
  .race-stats-path {
    padding: 20px;
  }

  .race-stats-facts,
  .race-stats-voter-links,
  .race-stats-date-list {
    grid-template-columns: 1fr;
  }

  .race-stats-path-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .race-stats-path-arrow {
    min-height: 92px;
  }

  .race-stats-path-arrow span {
    margin-bottom: 6px;
  }

  .race-stats-path-arrow i {
    width: 42px;
    height: 64px;
    background: linear-gradient(180deg, var(--teal), #22948b);
    clip-path: polygon(35% 0, 65% 0, 65% 70%, 100% 70%, 50% 100%, 0 70%, 35% 70%);
  }

  .race-stats-path-results {
    grid-template-columns: 1fr;
  }

  .race-news-section,
  .methodology-section {
    padding: 54px 16px 56px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .issues-heading-note {
    justify-items: start;
  }

  .issue-comparison-intro,
  .issue-context-heading {
    grid-template-columns: 1fr;
  }

  .issue-gallery-position {
    min-height: 0;
    padding: 14px;
  }

  .issue-candidate-photo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .issue-gallery-quote p {
    font-size: 1.02rem;
  }

  .candidate-card,
  .transaction-record,
  .transaction-record:first-of-type,
  tbody tr {
    border-radius: 0;
  }

  .methodology-source-list {
    grid-template-columns: 1fr;
  }

  .methodology-source-list .source-group-items {
    grid-template-columns: 1fr;
  }

  .methodology-source-list .source-item:nth-child(odd) {
    border-right: 0;
  }

  .race-topographic-figure figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .race-footer-brand {
    width: 138px;
  }
}
