/* Parker County GOP — Redesign Preview Styles
   Colors from current brand. Layout inspired by Dallas/Tarrant rhythm (layout only). */

:root {
  --red: #c30e00;
  --red-dark: #9a0b00;
  --navy: #0028aa;
  --navy-dark: #001f85;
  --near-black: #181818;
  --body: #666666;
  --off-white: #f8f8f8;
  --white: #ffffff;
  --border: #e5e5e5;
  --shadow: 0 4px 20px rgba(24, 24, 24, 0.08);
  --radius: 8px;
  --max: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--near-black);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
ul { list-style: none; }

/* Preview banner */
.preview-banner {
  background: var(--near-black);
  color: var(--white);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.preview-banner strong { color: var(--red); }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 2.1rem;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.logo-link { flex-shrink: 0; }
.logo-link img {
  height: 64px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  flex: 1;
  align-items: center;
}
.main-nav a {
  color: var(--red);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--red-dark);
  border-bottom-color: var(--red);
}
.header-ctas {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-align: center;
  line-height: 1.2;
}
.btn-red {
  background: #c30e00;
  color: var(--white);
  border-color: #c30e00;
}
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
/* Secondary actions: white / red text / 3px red border (remaps legacy btn-navy; no blue buttons) */
.btn-navy,
.btn-outline,
.btn-outline-dark {
  background: var(--white);
  color: #c30e00;
  border: 3px solid #c30e00;
}
.btn-navy:hover,
.btn-outline:hover,
.btn-outline-dark:hover,
.btn-navy:focus-visible,
.btn-outline:focus-visible,
.btn-outline-dark:focus-visible {
  background: #fff5f4;
  color: var(--red-dark);
  border: 3px solid var(--red-dark);
  outline: 2px solid #c30e00;
  outline-offset: 2px;
}
.btn-red:focus-visible {
  outline: 2px solid var(--near-black);
  outline-offset: 2px;
}
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-lg { padding: 0.9rem 1.75rem; font-size: 1.05rem; }

/* Layout helpers */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section {
  padding: 3.5rem 0;
}
.section-tight { padding: 2.5rem 0; }
.section-alt { background: var(--off-white); }
.section-navy {
  background: var(--navy);
  color: var(--white);
}
/* section-navy text links use white-backed red treatment above */
.section-red {
  background: var(--red);
  color: var(--white);
}

/* Dark-band text links: white-backed red chips on navy/hero (not on red) */
.hero a:not(.btn),
.page-hero a:not(.btn),
.section-navy a:not(.btn) {
  color: #c30e00;
  background: var(--white);
  padding: 0.05em 0.35em;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
}
.hero a:not(.btn):hover,
.page-hero a:not(.btn):hover,
.section-navy a:not(.btn):hover {
  color: var(--red-dark);
  background: #fff5f4;
}
/* Red sections: all copy white; plain white text links (no chip); no red-on-red */
.section-red,
.section-red .section-title,
.section-red .section-lead,
.section-red p,
.section-red li,
.section-red h2,
.section-red h3 {
  color: var(--white);
}
.section-red .section-lead {
  color: rgba(255, 255, 255, 0.95);
}
.section-red a:not(.btn) {
  color: var(--white);
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-decoration: underline;
  font-weight: 700;
}
.section-red a:not(.btn):hover {
  color: #fff;
  background: transparent;
  text-decoration: underline;
}
/* On red band, primary solid red would vanish — use secondary button standard */
.section-red .btn-red {
  background: var(--white);
  color: #c30e00;
  border: 3px solid #c30e00;
}
.section-red .btn-red:hover {
  background: #fff5f4;
  color: var(--red-dark);
  border: 3px solid var(--red-dark);
}
.section-red .btn-navy,
.section-red .btn-outline,
.section-red .btn-outline-dark,
.hero .btn-navy,
.hero .btn-outline,
.hero .btn-outline-dark,
.section-navy .btn-navy,
.section-navy .btn-outline,
.section-navy .btn-outline-dark {
  background: var(--white);
  color: #c30e00;
  border: 3px solid #c30e00;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--near-black);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.section-navy .section-title,
.section-red .section-title { color: var(--white); }
.section-lead {
  color: var(--body);
  max-width: 640px;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.section-navy .section-lead { color: rgba(255,255,255,0.85); }
.section-red .card,
.section-red .card h3,
.section-red .card p {
  color: var(--white);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-head .section-lead { margin-bottom: 0; }

/* Hero */
.hero {
  background-color: #4a1020;
  background-image:
    linear-gradient(105deg, rgba(115, 24, 32, 0.82) 0%, rgba(58, 30, 72, 0.68) 45%, rgba(8, 30, 98, 0.52) 100%),
    url("hero-vance-rally.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-grid-solo {
  grid-template-columns: 1fr;
  max-width: 720px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--white);
}
.hero h1 .accent { color: var(--white); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 520px;
  margin-bottom: 1.75rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Page hero (inner pages) — same gradual red→navy overlay as homepage */
.page-hero {
  background-color: #4a1020;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 2.75rem 0;
  border-bottom: 4px solid var(--red);
  position: relative;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.95);
  max-width: 620px;
  font-size: 1.05rem;
}

/* About — District Courts Building + homepage gradual overlay */
.page-hero--about {
  background-image:
    linear-gradient(105deg, rgba(115, 24, 32, 0.82) 0%, rgba(58, 30, 72, 0.68) 45%, rgba(8, 30, 98, 0.52) 100%),
    url("banners/about-district-courts.jpg");
  background-position: center 40%;
  background-size: cover;
}

/* Volunteer — flags + homepage gradual overlay */
.page-hero--volunteer {
  background-image:
    linear-gradient(105deg, rgba(115, 24, 32, 0.82) 0%, rgba(58, 30, 72, 0.68) 45%, rgba(8, 30, 98, 0.52) 100%),
    url("banners/volunteer-flags.jpg");
  background-position: center 45%;
  background-size: cover;
}

/* Events — Vance rally + homepage gradual overlay */
.page-hero--events {
  background-image:
    linear-gradient(105deg, rgba(115, 24, 32, 0.82) 0%, rgba(58, 30, 72, 0.68) 45%, rgba(8, 30, 98, 0.52) 100%),
    url("banners/events-rally.jpg");
  background-position: center 30%;
  background-size: cover;
}

/* Elections — Texas Capitol + homepage gradual overlay */
.page-hero--elections {
  background-image:
    linear-gradient(105deg, rgba(115, 24, 32, 0.82) 0%, rgba(58, 30, 72, 0.68) 45%, rgba(8, 30, 98, 0.52) 100%),
    url("banners/elections-capitol.jpg");
  background-position: center 40%;
  background-size: cover;
}
.elections-page .page-hero {
  padding: 2.25rem 0;
}

/* Near-footer CTA band — red overlay + transparent GOP logo (About + Events) */
.site-cta-logo,
.about-cta-logo {
  position: relative;
  overflow: hidden;
  background-color: #c30e00;
  background-image:
    linear-gradient(105deg, rgba(195, 14, 0, 0.80) 0%, rgba(160, 10, 0, 0.72) 50%, rgba(120, 8, 0, 0.68) 100%),
    url("banners/about-logo-mark.png");
  background-position: center center, right 6% center;
  background-size: cover, auto 105%;
  background-repeat: no-repeat, no-repeat;
  color: var(--white);
  border-bottom: none;
}
.site-cta-logo .container,
.about-cta-logo .container { position: relative; z-index: 1; }
.site-cta-logo .section-title,
.site-cta-logo .section-lead,
.site-cta-logo p,
.about-cta-logo .section-title,
.about-cta-logo .section-lead,
.about-cta-logo p {
  color: var(--white);
}
.site-cta-logo .section-lead,
.about-cta-logo .section-lead {
  color: rgba(255, 255, 255, 0.95);
}
.site-cta-logo .btn-red,
.about-cta-logo .btn-red {
  background: var(--white);
  color: #c30e00;
  border: 3px solid #c30e00;
}
.site-cta-logo .btn-red:hover,
.about-cta-logo .btn-red:hover {
  background: #fff5f4;
  color: var(--red-dark);
  border: 3px solid var(--red-dark);
}
@media (max-width: 640px) {
  .site-cta-logo,
  .about-cta-logo {
    background-position: center center, right 4% center;
    background-size: cover, auto 120%;
  }
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.value-pill {
  background: var(--off-white);
  border-left: 4px solid var(--red);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Quote block */
.quote-block {
  background: var(--off-white);
  border-left: 5px solid var(--red);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
}

/* Polling tables */
.poll-section h3 {
  margin: 1.5rem 0 0.75rem;
  color: var(--navy);
}
.poll-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
.poll-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}
.poll-item strong { display: block; color: var(--near-black); margin-bottom: 0.15rem; }
.poll-item span { color: var(--body); font-size: 0.85rem; }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.schedule-table th,
.schedule-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.schedule-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:nth-child(even) td { background: var(--off-white); }

/* Events list */
.event-list {
  display: grid;
  gap: 1rem;
}
.event-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  box-shadow: var(--shadow);
}
.event-date {
  text-align: center;
  background: #c30e00;
  color: var(--white);
  border-radius: 6px;
  padding: 0.65rem 0.4rem;
  line-height: 1.15;
}
.event-date .month {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.event-date .day {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--white);
}
.event-date .year {
  font-size: 0.7rem;
  color: var(--white);
  opacity: 0.95;
}
.event-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.event-meta {
  color: var(--body);
  font-size: 0.9rem;
}
.event-meta span { margin-right: 0.75rem; }
.empty-state {
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: var(--body);
}
.empty-state strong {
  display: block;
  color: var(--near-black);
  margin-bottom: 0.35rem;
}

.badge {
  display: inline-block;
  background: #c30e00;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.badge-red { background: var(--red); color: var(--white); }
.badge-navy { background: #c30e00; color: var(--white); }
.notice {
  background: #f5f7fb;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--near-black);
}

/* Involve options */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.involve-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.involve-card h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.involve-card p {
  color: var(--body);
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: #f8f8f8;
  color: var(--near-black);
  padding: 3rem 0 1.5rem;
  border-top: 3px solid #c30e00;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-brand img {
  height: auto;
  width: 132px;
  max-width: 100%;
  margin-bottom: 1rem;
  filter: none;
}
@media (max-width: 700px) {
  .footer-brand img { width: 110px; }
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333333;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--near-black);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  letter-spacing: 0.03em;
  text-shadow: none;
}
.footer-col a {
  display: block;
  color: #c30e00;
  font-size: 0.9rem;
  padding: 0.25rem 0;
  text-shadow: none;
}
.footer-col a:hover { color: var(--red-dark); }
.social-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #c30e00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0;
  line-height: 0;
  padding: 0;
  flex-shrink: 0;
}
.social-row a svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.social-row a[aria-label="X"] svg {
  width: 18px;
  height: 18px;
}
.social-row a:hover { background: var(--red-dark); color: var(--white); }
.footer-bottom {
  border-top: 1px solid #e0e0e0;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #333333;
  text-shadow: none;
}

/* Two-col content */
.content-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.prose p { margin-bottom: 1rem; color: var(--body); }
.prose h2 {
  font-size: 1.5rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--near-black);
}
.prose h3 {
  font-size: 1.15rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--navy);
}


/* Homepage signup band */

/* Leadership teaser */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.leader-card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--red);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.leader-card .avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--red));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  overflow: hidden;
}
.leader-card .avatar-photo {
  background: #222;
  padding: 0;
}
.leader-card .avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.leader-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.leader-card .role {
  color: var(--red);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.leader-card .contact {
  font-size: 0.85rem;
  color: var(--body);
}
.leader-card .photo-credit {
  margin-top: 0.55rem;
  font-size: 0.7rem;
  color: #999;
}

.signup-band {
  background: var(--off-white);
}
.signup-band .signup-box {
  max-width: none;
}
.events-teaser {
  text-align: center;
  padding: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--body);
}
.events-teaser a {
  font-weight: 700;
  color: #c30e00;
}
.events-teaser a:hover { color: var(--red-dark); }

/* Recovered homepage component rules from pre-regression styles-contact-v2.css. */
/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(24,24,24,0.12);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
  border: 2px solid var(--red);
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--near-black);
}
.card p {
  color: var(--body);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1rem;
}
.card .card-link {
  font-weight: 700;
  color: var(--red);
  font-size: 0.9rem;
}
.card .card-link:hover { color: var(--red-dark); }

/* Elections strip */
.elections-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.elections-strip ul {
  margin: 1rem 0 1.5rem;
}
.elections-strip li {
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
  color: rgba(255,255,255,0.92);
}
.elections-strip li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--white);
}

/* Signup */
.signup-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 640px;
}
.signup-box h3 {
  margin-bottom: 0.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.form-row.full { grid-template-columns: 1fr; }
.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--near-black);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
  background: var(--off-white);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-note {
  font-size: 0.75rem;
  color: var(--body);
  margin: 0.75rem 0 1rem;
  line-height: 1.45;
}
.checkbox-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--body);
}
.checkbox-row input { margin-top: 0.25rem; }

/* Contact teaser */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.contact-block h3 {
  margin-bottom: 0.75rem;
  color: var(--near-black);
}
 .contact-block p { color: var(--body); margin-bottom: 0.35rem; }
.contact-block a:not(.btn) { color: var(--red); font-weight: 600; }

/* Mobile nav toggle (simple) */
.nav-toggle {
  display: none;
  background: #c30e00;
  color: var(--white);
  border: none;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--red-dark); color: var(--white); }

@media (max-width: 960px) {
  .hero-grid,
  .elections-strip,
  .contact-grid,
  .content-split,
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .leader-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .poll-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 80px 1fr; }
  .event-card .btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 700px) {
  .logo-link img { height: 48px; }
  .header-inner { gap: 0.75rem; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    order: 10;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }
  .header-ctas { width: 100%; }
  .header-ctas .btn { flex: 1; }
  .card-grid,
  .leader-grid,
  .values-grid,
  .involve-grid,
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 2.5rem 0; }
  .site-header { top: 2.4rem; }
}

/* Contact quick links as buttons */
.quick-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.quick-links .btn {
  width: auto;
  justify-content: center;
}
.quick-links-donate {
  display: block;
  margin-top: 0.85rem;
  text-align: left;
}
.quick-links-donate .btn {
  width: auto;
  display: inline-flex;
}
.contact-block .quick-links-donate .btn-red,
.contact-block .quick-links-donate .btn-red:hover {
  color: var(--white);
}

/* Elections page — calm layout */
.elections-page .elections-main {
  padding-top: 2.75rem;
  padding-bottom: 3.5rem;
}
.elections-page .elections-narrow {
  max-width: 720px;
}
.elections-page .elections-lead {
  margin-bottom: 2.5rem;
}
.elections-page .elections-status {
  font-size: 1.05rem;
  color: var(--near-black);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}
.elections-page .elections-verify {
  color: var(--body);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.elections-page .elections-verify a {
  font-weight: 700;
  color: #c30e00;
}
.elections-page .elections-cta-wrap {
  margin: 0;
}
.elections-page .elections-accordions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}
.elections-page .elections-acc {
  border-bottom: 1px solid var(--border);
  padding: 0;
  background: transparent;
}
.elections-page .elections-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 1.05rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--near-black);
  text-align: left;
}
.elections-page .elections-acc summary::-webkit-details-marker { display: none; }
.elections-page .elections-acc summary::before {
  content: "+";
  flex: 0 0 1.15rem;
  width: 1.15rem;
  color: var(--red);
  font-weight: 800;
  text-align: center;
  margin-right: 0.9rem; /* ~14px gap before heading */
  line-height: 1;
}
.elections-page .elections-acc[open] summary::before { content: "–"; }
.elections-page .elections-acc .acc-label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  font-weight: 700;
}
.elections-page .elections-acc .acc-meta {
  flex: 0 0 auto;
  margin-left: 1rem;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--body);
  letter-spacing: 0.02em;
  text-align: right;
  white-space: nowrap;
}
.elections-page .elections-acc .acc-body {
  padding: 0 0 1.35rem 1.45rem;
}
.elections-page .acc-note {
  color: var(--body);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.elections-page .elections-table {
  box-shadow: none;
  border: 1px solid var(--border);
  margin: 0 0 1rem;
}
.elections-page .elections-table th {
  background: var(--off-white);
  color: var(--navy);
}
.elections-page .elections-list {
  margin: 0;
  padding: 0;
}
.elections-page .elections-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.elections-page .elections-list li:last-child { border-bottom: none; }
.elections-page .elections-list strong {
  color: var(--near-black);
  font-size: 0.95rem;
}
.elections-page .elections-list span {
  color: var(--body);
  font-size: 0.88rem;
}
.elections-page .elections-involve p {
  color: var(--body);
  margin-bottom: 0.85rem;
  line-height: 1.55;
}
.elections-page .elections-involve a {
  font-weight: 700;
  color: #c30e00;
  white-space: nowrap;
}
.elections-page .elections-involve a:hover { color: var(--red-dark); }
.elections-page .page-hero p {
  max-width: 560px;
}



/* Homepage editorial photos inside existing sections */
.impact-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 1.75rem;
}
.impact-intro .section-lead { margin-bottom: 0; }
.editorial-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
}
.editorial-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.editorial-photo figcaption {
  padding: 0.45rem 0.75rem 0.6rem;
  font-size: 0.72rem;
  color: #888;
  line-height: 1.35;
}
.editorial-photo--wide {
  margin: 0 0 1.5rem;
}
.editorial-photo--wide img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: initial;
  object-position: center top;
  display: block;
}
@media (max-width: 900px) {
  .impact-intro { grid-template-columns: 1fr; }
  .editorial-photo img { height: 220px; }
  .editorial-photo--wide img { height: auto; }
}

/* Homepage t80/t81: hero-only white outline; unified signup and quick links. */
.hero .btn-hero-volunteer {
  background: transparent;
  color: var(--white);
  border: 3px solid var(--white);
}
.hero .btn-hero-volunteer:hover,
.hero .btn-hero-volunteer:focus-visible {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
  outline-color: var(--white);
}
.signup-panel {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.signup-panel .signup-box {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  min-width: 0;
}
.signup-quick-links { margin-top: 2rem; }
.signup-quick-links h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.signup-panel > div { min-width: 0; }
.contact-grid--details-only { grid-template-columns: 1fr; }
@media (max-width: 700px) {
  .signup-panel { padding: 1.25rem; }
}

/* Volunteer collage: preserve every panel and full heads; never cover-crop. */
.impact-intro .editorial-photo { width: 100%; max-width: 360px; justify-self: end; }
.impact-intro .editorial-photo img { height: auto; object-fit: contain; }
@media (max-width: 900px) {
  .impact-intro .editorial-photo { justify-self: start; }
}

.impact-followup { margin-top: 1.75rem; }
#signup { scroll-margin-top: 9rem; }
@media (max-width:700px) { #signup { scroll-margin-top: 12rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Contact: separate source-verified volunteer panel, not a CEC meeting photo. */
.contact-grid--with-photo { grid-template-columns: 1fr 1fr; align-items: center; }
.contact-volunteer-photo { width: 100%; max-width: 440px; justify-self: end; }
.contact-volunteer-photo img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center 18%;
}
@media (max-width: 960px) {
 .contact-grid--with-photo { grid-template-columns: 1fr; }
 .contact-volunteer-photo { justify-self: start; }
}


/* ========== Site-wide Dallas-feel (all pages with body.site-dallas) ========== */
body.site-dallas {
  font-family: "Barlow", var(--font);
}
body.site-dallas .section {
  padding: 40px 0;
}
body.site-dallas .section-title,
body.site-dallas .page-hero h1,
body.site-dallas h1,
body.site-dallas h2.section-title {
  font-family: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
body.site-dallas .page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 0.75rem;
  color: var(--white);
}
body.site-dallas p,
body.site-dallas .section-lead,
body.site-dallas li {
  font-size: 1rem;
  text-align: left;
}
body.site-dallas .card,
body.site-dallas .involve-card,
body.site-dallas .leader-card,
body.site-dallas .event-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}
body.site-dallas .section-alt {
  background: #f3f5fa;
}
body.site-dallas .card h3,
body.site-dallas .involve-card h3,
body.site-dallas .leader-card h3,
body.site-dallas .signup-box h3 {
  font-family: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 1.35rem;
}
/* Header Volunteer on page heroes stays white/red (btn-navy remap); hero outline volunteer on dark */
body.site-dallas .page-hero .btn-hero-volunteer,
body.site-dallas .site-cta-logo .btn-outline {
  background: transparent;
  color: var(--white);
  border: 3px solid var(--white);
}
body.site-dallas .page-hero .btn-hero-volunteer:hover,
body.site-dallas .site-cta-logo .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}

/* =========================================================
   Homepage Dallas-feel (scoped to body.home-dallas only)
   Inspired by dallasgop.org layout rhythm — original CSS.
   Does not alter About/Events/Elections/Volunteer pages.
   ========================================================= */
body.home-dallas {
  font-family: "Barlow", var(--font);
}
body.home-dallas .hero {
  padding: 5.5rem 0 5rem;
  min-height: 420px;
  display: flex;
  align-items: center;
}
body.home-dallas .hero h1 {
  font-family: "Bebas Neue", "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(3.25rem, 8vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
body.home-dallas .hero-tagline {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1rem;
}
body.home-dallas .hero-sub {
  font-size: 1.1rem;
  max-width: 540px;
}
body.home-dallas .dallas-soft {
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 40, 170, 0.06) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 40%, rgba(195, 14, 0, 0.05) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 40% 80%, rgba(0, 40, 170, 0.05) 0 2px, transparent 3px),
    #eef2f8;
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}
body.home-dallas .dallas-soft .section-title {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
}
body.home-dallas .signup-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  align-items: stretch;
}
body.home-dallas .dallas-soft .signup-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 28, 100, 0.12);
  padding: 1.75rem 1.5rem;
}
body.home-dallas .section-title {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
}
body.home-dallas .card h3,
body.home-dallas .leader-card h3,
body.home-dallas .signup-box h3 {
  font-family: "Barlow", var(--font);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: 1.05rem;
}
body.home-dallas .dallas-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}
body.home-dallas .dallas-split-red {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 20% 70%, rgba(255,255,255,0.08) 0 1.5px, transparent 2.5px),
    #c30e00;
  color: var(--white);
}
body.home-dallas .dallas-split-navy {
  background:
    linear-gradient(120deg, rgba(0, 20, 80, 0.92), rgba(0, 40, 170, 0.88)),
    #001f85;
  color: var(--white);
}
body.home-dallas .dallas-split-inner {
  padding: 3rem 2.5rem;
  max-width: 520px;
  margin: 0 auto;
}
body.home-dallas .dallas-split h2,
body.home-dallas .dallas-cta-pair h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.85rem;
  line-height: 1;
}
body.home-dallas .dallas-split p,
body.home-dallas .dallas-cta-pair p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
body.home-dallas .dallas-split-note {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8) !important;
}
body.home-dallas .dallas-split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
body.home-dallas .dallas-split .btn-hero-volunteer,
body.home-dallas .dallas-cta-red .btn-hero-volunteer {
  background: transparent;
  color: var(--white);
  border: 3px solid var(--white);
}
body.home-dallas .dallas-split .btn-hero-volunteer:hover,
body.home-dallas .dallas-cta-red .btn-hero-volunteer:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}
body.home-dallas .dallas-events-band {
  text-align: center;
  background: #f4f6fb;
}
body.home-dallas .dallas-center { text-align: center; color: var(--navy); }
body.home-dallas .dallas-center-lead {
  margin: 0.75rem auto 1.5rem;
  text-align: center;
}
body.home-dallas .dallas-divider {
  width: 120px;
  height: 2px;
  margin: 0.35rem auto 0;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  position: relative;
}
body.home-dallas .dallas-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--navy);
}
body.home-dallas .dallas-events-cta { margin-top: 0.5rem; }
body.home-dallas .dallas-cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
body.home-dallas .dallas-cta-navy {
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.1) 0 2px, transparent 3px),
    #0028aa;
  color: var(--white);
}
body.home-dallas .dallas-cta-red {
  background:
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0 2px, transparent 3px),
    #c30e00;
  color: var(--white);
}
body.home-dallas .dallas-cta-inner {
  padding: 3rem 2.5rem;
  max-width: 480px;
  margin: 0 auto;
}
body.home-dallas .card {
  border-top: 4px solid var(--red);
}
body.home-dallas .impact-followup { margin-top: 2rem; }
body.home-dallas #signup { scroll-margin-top: 9rem; }
@media (max-width: 960px) {
  body.home-dallas .dallas-split,
  body.home-dallas .dallas-cta-pair { grid-template-columns: 1fr; }
  body.home-dallas .dallas-split-inner,
  body.home-dallas .dallas-cta-inner { padding: 2.25rem 1.5rem; }
}
@media (max-width: 700px) {
  body.home-dallas .hero { padding: 3.5rem 0 3rem; min-height: 0; }
  body.home-dallas #signup { scroll-margin-top: 12rem; }
}


/* Dallas-feel v2 top half — color-blocked, aligned; bottom half unchanged */
body.home-dallas .dallas-soft { display: none; } /* legacy */
body.home-dallas .dallas-signup-band {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.14) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 60%, rgba(255,255,255,0.10) 0 1.5px, transparent 2.5px),
    #c30e00;
  color: var(--white);
  padding: 3rem 0;
}
body.home-dallas .dallas-signup-band .section-title {
  color: var(--white);
  margin-bottom: 0.65rem;
}
body.home-dallas .dallas-signup-band .section-lead,
body.home-dallas .dallas-signup-band .events-teaser,
body.home-dallas .dallas-signup-band .signup-quick-links h3 {
  color: rgba(255,255,255,0.92);
}
body.home-dallas .dallas-signup-band .events-teaser { text-align: left; padding: 0; margin: 0.75rem 0 1.25rem; }
body.home-dallas .dallas-signup-band .events-teaser a {
  color: var(--white);
  background: transparent;
  text-decoration: underline;
  font-weight: 700;
}
body.home-dallas .dallas-signup-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start; /* equal top alignment */
}
body.home-dallas .dallas-signup-copy { min-width: 0; }
body.home-dallas .dallas-signup-band .signup-box {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0,0,0,0.22);
  padding: 1.5rem 1.35rem;
  max-width: none;
  margin: 0;
}
body.home-dallas .dallas-signup-band .signup-box h3 { color: var(--near-black); margin-bottom: 0.75rem; }
body.home-dallas .dallas-signup-band .checkbox-row { color: var(--body); }
body.home-dallas .dallas-signup-band .signup-quick-links { margin-top: 1.5rem; }
body.home-dallas .dallas-signup-band .quick-links .btn-navy,
body.home-dallas .dallas-signup-band .quick-links .btn-navy:hover {
  background: var(--white);
  color: #c30e00;
  border: 3px solid #c30e00;
}
/* Donate on red: transparent white outline — distinct, no red-on-red, no blue */
body.home-dallas .dallas-signup-band .quick-links .btn-red {
  background: transparent;
  color: var(--white);
  border: 3px solid var(--white);
}
body.home-dallas .dallas-signup-band .quick-links .btn-red:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}
body.home-dallas #join-list { scroll-margin-top: 9rem; }
body.home-dallas .dallas-signup-band .quick-links { gap: 0.65rem; }
@media (max-width:700px) {
  body.home-dallas #join-list { scroll-margin-top: 12rem; }
}

/* Four ways: photo centered on top, then heading/intro, then cards */
body.home-dallas .dallas-impact {
  background: #f3f5fa;
  padding: 40px 0;
}
body.home-dallas .dallas-impact .section-title {
  color: var(--navy);
  margin-bottom: 20px;
}
body.home-dallas .dallas-impact-photo {
  display: block;
  margin: 0 auto 1.5rem;
  width: min(900px, 100%);
  max-width: 900px;
}
body.home-dallas .dallas-impact-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  max-height: none;
  object-fit: cover;
  object-position: center 42%;
}
body.home-dallas .dallas-impact-copy {
  margin: 0 0 1.5rem;
  text-align: left;
  max-width: none;
}
body.home-dallas .dallas-impact-copy .section-lead {
  margin-bottom: 0;
  max-width: 40rem;
}
body.home-dallas .dallas-impact .card-grid { margin-top: 0; }
body.home-dallas .impact-followup { display: none; }

@media (max-width: 960px) {
  body.home-dallas .dallas-signup-grid { grid-template-columns: 1fr; }
  body.home-dallas .dallas-impact-photo {
    width: 100%;
    max-width: none;
    margin-bottom: 1.25rem;
  }
  body.home-dallas .dallas-impact-photo img {
    aspect-ratio: 16 / 8;
  }
}


/* User-supplied party photo galleries */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.photo-strip .editorial-photo img {
  height: 200px;
  object-fit: cover;
  object-position: center 30%;
}
.dallas-events-with-photo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
  align-items: center;
  text-align: left;
}
.dallas-events-with-photo .dallas-divider { margin-left: 0; }
.dallas-events-with-photo .section-lead { margin-bottom: 1rem; }
.dallas-events-with-photo .editorial-photo img,
.dallas-events-photo img {
  height: 240px;
  object-fit: cover;
  object-position: center 40%;
}
@media (max-width: 900px) {
  .dallas-events-with-photo { grid-template-columns: 1fr; }
}


/* Carousel sits under Upcoming events (gray) — keep white to avoid double gray */
.party-carousel-section {
  background: var(--white);
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}
/* Homepage party photo carousel */
.party-carousel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.party-carousel__stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.party-carousel__viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 0;
  touch-action: pan-y;
}
.party-carousel__track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 460px;
}
.party-carousel__slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 60%;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
  transform: translateX(-50%) scale(0.85);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: transform 600ms ease, opacity 600ms ease, z-index 0s linear 150ms;
}
.party-carousel--no-anim .party-carousel__slide {
  transition: none;
}
.party-carousel__slide.is-active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
  transition: transform 600ms ease, opacity 600ms ease;
}
.party-carousel__slide.is-prev {
  transform: translateX(calc(-50% - 42%)) scale(0.85);
  opacity: 0.4;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 600ms ease, opacity 600ms ease;
}
.party-carousel__slide.is-next {
  transform: translateX(calc(-50% + 42%)) scale(0.85);
  opacity: 0.4;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 600ms ease, opacity 600ms ease;
}
.party-carousel__slide.is-hidden {
  transform: translateX(-50%) scale(0.7);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}
.party-carousel__slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center 30%;
}
.party-carousel__slide figcaption {
  padding: 0.5rem 0.85rem 0.65rem;
  font-size: 0.78rem;
  color: #666;
  line-height: 1.35;
  background: var(--white);
}
.party-carousel__nav {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #e5e7eb;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 0;
}
.party-carousel__nav:hover {
  background: #d1d5db;
  color: #4b5563;
}
.party-carousel__nav:focus-visible {
  background: #d1d5db;
  color: #4b5563;
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.party-carousel__nav svg { display: block; }
.party-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}
.party-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #9aa3b5;
  cursor: pointer;
}
.party-carousel__dot.is-active { background: var(--red); }
.party-carousel__dot:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (max-width: 900px) {
  .party-carousel__slide { width: 72%; }
  .party-carousel__slide.is-prev { transform: translateX(calc(-50% - 38%)) scale(0.85); }
  .party-carousel__slide.is-next { transform: translateX(calc(-50% + 38%)) scale(0.85); }
  .party-carousel__nav { width: 38px; height: 38px; }
}
@media (max-width: 560px) {
  .party-carousel__slide { width: 80%; }
  .party-carousel__slide.is-prev { transform: translateX(calc(-50% - 34%)) scale(0.85); }
  .party-carousel__slide.is-next { transform: translateX(calc(-50% + 34%)) scale(0.85); }
  .party-carousel__stage { gap: 0.15rem; }
  .party-carousel__nav { width: 36px; height: 36px; }
  .party-carousel__track { max-height: 280px; }
}

/* Homepage scroll fade-in (progressive enhancement; requires html.js) */
html.js .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
  transition-delay: var(--fade-delay, 0ms);
  will-change: opacity, transform;
}
html.js .fade-in.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ========== About page only (body.about-page) ========== */
body.about-page .page-hero--about {
  min-height: 360px;
  padding: 5.5rem 0;
  display: flex;
  align-items: center;
}
body.about-page .page-hero--about .container {
  width: 100%;
}
@media (max-width: 700px) {
  body.about-page .page-hero--about {
    min-height: 280px;
    padding: 4rem 0;
  }
}
/* Mission card: no red top border (override site-dallas card rule) */
body.about-page .about-mission-card {
  border-top: none;
  box-shadow: var(--shadow);
}
body.about-page .about-philosophy {
  background: var(--white);
}
body.about-page .about-values-section {
  background: #f3f5fa;
}
body.about-page .about-leadership {
  background: var(--white);
}
body.about-page .about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
body.about-page .about-value-card {
  background: transparent;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(24, 24, 24, 0.12);
  overflow: hidden;
  border: none;
}
body.about-page .about-value-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #cfd3da;
}
/* Neutral gray filler — replace with .about-value-photo when real images arrive */
body.about-page .about-value-filler {
  position: absolute;
  inset: 0;
  background: #cfd3da;
}
body.about-page .about-value-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body.about-page .about-value-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem 1.1rem;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
body.about-page .about-value-label {
  font-family: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
@media (max-width: 960px) {
  body.about-page .about-values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) {
  body.about-page .about-values-grid { grid-template-columns: 1fr; }
  body.about-page .about-value-label { font-size: 1.35rem; }
}
/* Reuse homepage split styles on About */
body.about-page .dallas-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
body.about-page .dallas-split-red {
  background: #c30e00;
  color: var(--white);
  padding: 2.75rem 1.5rem;
}
body.about-page .dallas-split-navy {
  background: #0028aa;
  color: var(--white);
  padding: 2.75rem 1.5rem;
}
/* No decorative heading marks/dots on About */
body.about-page .section-title::before,
body.about-page .section-title::after,
body.about-page .dallas-split h2::before,
body.about-page .dallas-split h2::after {
  content: none !important;
  display: none !important;
}
body.about-page .dallas-split-red,
body.about-page .dallas-split-navy {
  background-image: none;
}
body.about-page .dallas-split-inner {
  max-width: 520px;
  margin: 0 auto;
}
body.about-page .dallas-split h2 {
  font-family: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
body.about-page .dallas-split p {
  color: rgba(255,255,255,0.95);
  margin-bottom: 1.25rem;
}
body.about-page .dallas-split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
body.about-page .dallas-split .btn-hero-volunteer {
  background: transparent;
  color: var(--white);
  border: 3px solid var(--white);
}
body.about-page .dallas-split .btn-hero-volunteer:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}
@media (max-width: 800px) {
  body.about-page .dallas-split { grid-template-columns: 1fr; }
}
/* Ensure logo CTA doesn't awkwardly stack: keep after navy/red split */
body.about-page .site-cta-logo {
  margin-top: 0;
}



/* ========== Volunteer page only (body.volunteer-page) ========== */
body.volunteer-page .page-hero--volunteer {
  min-height: 360px;
  padding: 5.5rem 0;
  display: flex;
  align-items: center;
}
body.volunteer-page .page-hero--volunteer .container {
  width: 100%;
}
@media (max-width: 700px) {
  body.volunteer-page .page-hero--volunteer {
    min-height: 280px;
    padding: 4rem 0;
  }
}
body.volunteer-page .volunteer-roles-grid,
body.volunteer-page .involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
/* Match About value-card treatment; override site-dallas red top border */
body.volunteer-page .volunteer-role-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(24, 24, 24, 0.12);
  overflow: hidden;
  border: none;
  border-top: none;
  padding: 0;
}
body.volunteer-page .volunteer-role-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #cfd3da;
}
/* Neutral gray filler — replace with .volunteer-role-photo when real images arrive */
body.volunteer-page .volunteer-role-filler {
  position: absolute;
  inset: 0;
  background: #cfd3da;
}
body.volunteer-page .volunteer-role-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body.volunteer-page .volunteer-role-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem 1.1rem;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
body.volunteer-page .volunteer-role-label,
body.volunteer-page .volunteer-role-card h3.volunteer-role-label {
  font-family: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
body.volunteer-page .volunteer-roles-grid {
  align-items: stretch;
}
body.volunteer-page .volunteer-role-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-self: stretch;
}
body.volunteer-page .volunteer-role-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.25rem 1.35rem;
}
body.volunteer-page .volunteer-role-body p {
  color: var(--body);
  margin-bottom: 1rem;
  flex: 1;
}
body.volunteer-page .volunteer-role-body .btn {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
@media (max-width: 960px) {
  body.volunteer-page .volunteer-roles-grid,
  body.volunteer-page .involve-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  body.volunteer-page .volunteer-roles-grid,
  body.volunteer-page .involve-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 360px) {
  body.volunteer-page .volunteer-role-label,
  body.volunteer-page .volunteer-role-card h3.volunteer-role-label {
    font-size: 1.35rem;
  }
}


/* Role section: light red heading accent */
body.volunteer-page .volunteer-roles-section .section-title::after {
  content: "";
  display: block;
  width: 4rem;
  height: 4px;
  background: #c30e00;
  margin-top: 0.55rem;
}

/* Red CTA strip between roles and form */
body.volunteer-page .volunteer-cta-strip {
  background: #c30e00;
  color: var(--white);
  padding: 1.35rem 1.25rem;
  text-align: center;
}
body.volunteer-page .volunteer-cta-strip p,
body.volunteer-page .volunteer-cta-strip .container p {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--white);
  text-align: center;
  font-family: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.2;
}

/* White form section — card sits on white with a light border and subtle shadow */
body.volunteer-page .volunteer-form-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--near-black);
}
body.volunteer-page .volunteer-form-section .container {
  position: relative;
  z-index: 1;
}
body.volunteer-page .volunteer-form-wrap {
  display: block;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
body.volunteer-page .volunteer-form-wrap .section-title,
body.volunteer-page .volunteer-form-wrap .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
body.volunteer-page .volunteer-form-wrap .section-title {
  margin-bottom: 0.5rem;
  color: var(--navy);
}
body.volunteer-page .volunteer-form-wrap .section-lead {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  color: #4a4a4a;
  text-align: center;
}
body.volunteer-page .volunteer-form-box {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(24, 24, 24, 0.08);
}
body.volunteer-page .volunteer-form-box .form-field label,
body.volunteer-page .volunteer-form-box .form-field input,
body.volunteer-page .volunteer-form-box .form-field select,
body.volunteer-page .volunteer-form-box .form-field textarea,
body.volunteer-page .volunteer-form-box .checkbox-row {
  text-align: left;
  color: var(--near-black);
}
body.volunteer-page .volunteer-form-box .form-field input,
body.volunteer-page .volunteer-form-box .form-field select,
body.volunteer-page .volunteer-form-box .form-field textarea {
  border: 1px solid var(--border);
}
body.volunteer-page .volunteer-form-box .form-field input:focus,
body.volunteer-page .volunteer-form-box .form-field select:focus,
body.volunteer-page .volunteer-form-box .form-field textarea:focus {
  outline: none;
  border-color: #c30e00;
  box-shadow: 0 0 0 3px rgba(195, 14, 0, 0.22);
}
body.volunteer-page .volunteer-form-box input[type="checkbox"] {
  accent-color: #c30e00;
}
body.volunteer-page .volunteer-form-box .btn-red {
  background: #c30e00;
  color: var(--white);
  border: 3px solid #c30e00;
}
body.volunteer-page .volunteer-form-box .btn-red:hover,
body.volunteer-page .volunteer-form-box .btn-red:focus-visible {
  background: var(--red-dark);
  color: var(--white);
  border-color: var(--red-dark);
}
body.volunteer-page .volunteer-form-disclaimer {
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.45;
  color: #4a4a4a;
  margin: 1.1rem auto 0;
  max-width: 38rem;
  text-align: center;
}



/* ========== Elections page only (body.elections-page) ========== */
body.elections-page .page-hero--elections {
  min-height: 360px;
  padding: 5.5rem 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}
body.elections-page .page-hero--elections .container {
  width: 100%;
}
@media (max-width: 700px) {
  body.elections-page .page-hero--elections {
    min-height: 280px;
    padding: 4rem 0;
    background-position: center 35%;
  }
}


/* ========== Events page only (body.events-page) ========== */
body.events-page .page-hero--events {
  min-height: 360px;
  padding: 5.5rem 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
body.events-page .page-hero--events .container {
  width: 100%;
}
@media (max-width: 700px) {
  body.events-page .page-hero--events {
    min-height: 280px;
    padding: 4rem 0;
  }
}
body.events-page .events-upcoming {
  background: var(--white);
}
body.events-page .events-past {
  background: #f3f5fa;
}
body.events-page .event-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
/* Same card feel as About/Volunteer cards, but no image/overlay */
body.events-page .event-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(24, 24, 24, 0.12);
  overflow: hidden;
  border: none;
  border-top: none;
  padding: 1.25rem 1.35rem;
  align-items: start;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
body.events-page .event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(24, 24, 24, 0.16);
}
@media (prefers-reduced-motion: reduce) {
  body.events-page .event-card {
    transition: none;
  }
  body.events-page .event-card:hover {
    transform: none;
  }
}


/* About quote: decorative opening mark, no red bar / gray box */
body.about-page .quote-block {
  background: transparent;
  border: 0;
  border-left: 0;
  box-shadow: none;
  padding: 0.35rem 0 0.5rem;
  margin: 1.75rem 0;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.65rem;
  align-items: start;
  font-size: 1.25rem;
  line-height: 1.45;
  font-style: italic;
  color: var(--navy);
  text-align: left;
  max-width: 38rem;
}
body.about-page .quote-block .quote-text {
  min-width: 0;
  padding-top: 0.55rem;
}
body.about-page .quote-block::before {
  content: "“";
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: normal;
  font-weight: 700;
  font-size: 4.75rem;
  line-height: 0.65;
  color: #c30e00;
  margin-top: 0.2rem;
}
@media (max-width: 700px) {
  body.about-page .quote-block {
    column-gap: 0.5rem;
    font-size: 1.2rem;
  }
  body.about-page .quote-block::before {
    font-size: 4rem;
    margin-top: 0.15rem;
  }
}
