/* vote.html — styles used only on this page (Officer Election).
   Shared styles: assets/site.css. Bump ?v= on the <link> after editing. */

/* ─── Page hero ──────────────────────────────────────────────── */
.page-hero { background: var(--navy); position: relative; overflow: hidden; padding: 56px 0 48px; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(191,30,46,.06) 0px, rgba(191,30,46,.06) 2px, transparent 2px, transparent 24px);
}
.page-hero .container { position: relative; }
.hero-badge {
  display: inline-flex; background: var(--red); color: white;
  font-family: 'Oswald', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 2px; margin-bottom: 16px;
}
.page-hero h1 {
  font-family: 'Oswald', sans-serif; font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.02; color: white;
  max-width: 900px;
}
.page-hero .lede {
  font-family: 'Nunito', sans-serif; font-size: 17px; color: rgba(255,255,255,.75);
  line-height: 1.6; max-width: 640px; margin-top: 16px;
}
.page-hero .lede a { color: white; text-decoration: underline; text-underline-offset: 3px; }

/* ─── Long-form text ─────────────────────────────────────────── */
.main-content { padding: 56px 0 80px; }
.prose { max-width: 720px; font-size: 18px; line-height: 1.78; color: var(--ink-mid); }
.prose p { margin: 0 0 1.15em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose h2 {
  font-family: 'Oswald', sans-serif; font-size: 30px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: var(--ink); line-height: 1.15;
  margin: 0 0 18px; scroll-margin-top: 90px;
}
.prose h2::before {
  content: ''; display: block; width: 48px; height: 4px; background: var(--red); margin-bottom: 14px;
}
.prose h3 {
  font-family: 'Oswald', sans-serif; font-size: 21px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; color: var(--navy); margin: 1.6em 0 .5em;
}
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 48px 0; }
.prose sup { font-size: .62em; line-height: 0; margin-left: 1px; }
.prose sup a {
  font-family: 'Nunito', sans-serif; font-weight: 700; color: var(--red);
  padding: 0 1px; border-radius: 2px;
}
.prose sup a:hover { background: rgba(191,30,46,.1); }
.prose code {
  font-family: 'Nunito', sans-serif; font-size: .9em; font-weight: 700;
  background: var(--cream-dark); padding: 1px 6px; border-radius: 3px; color: var(--navy);
}
.prose a:not(sup a) { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--rule); border-radius: var(--radius); background: white; }
.prose table { width: 100%; border-collapse: collapse; font-family: 'Nunito', sans-serif; font-size: 15px; line-height: 1.5; }
.prose th {
  background: var(--navy); color: white; text-align: left;
  font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13px;
  padding: 10px 14px;
}
.prose td { padding: 10px 14px; border-top: 1px solid var(--rule); vertical-align: top; }
.prose tr:nth-child(even) td { background: rgba(26,35,64,.025); }
.prose td a { color: var(--red); font-weight: 700; text-decoration: none; }

/* ─── Members-only lock (shared look with archive/board) ─────── */
.locked-panel {
  background: white; border: 2px solid rgba(26,35,64,.1); border-radius: var(--radius);
  text-align: center; padding: 40px 28px; box-shadow: 0 12px 32px rgba(26,35,64,.12);
}
.locked-icon { font-size: 40px; margin-bottom: 10px; }
.locked-panel h2 { font-family: 'Oswald', sans-serif; font-size: 26px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.locked-panel p { font-family: 'Nunito', sans-serif; font-size: 16px; color: var(--ink-mid); line-height: 1.6; margin-bottom: 22px; }
.locked-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ─── Ballot ─────────────────────────────────────────────────── */
.vote-wrap { max-width: 760px; margin: 0 auto; }
.vote-card {
  background: white; border: 2px solid rgba(26,35,64,.1); border-radius: var(--radius);
  padding: 28px; margin-bottom: 18px; font-family: 'Nunito', sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink-mid);
}
.vote-card.center { text-align: center; }
.vote-card h2 { font-family: 'Oswald', sans-serif; font-size: 26px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin-bottom: 8px; }
.vote-card .big-icon { font-size: 46px; margin-bottom: 6px; }
.vote-intro { margin-bottom: 18px; }
.vote-intro li { margin: 0 0 4px 20px; }
.office {
  background: white; border: 2px solid rgba(26,35,64,.1); border-radius: var(--radius);
  margin-bottom: 18px; overflow: hidden; padding: 0; min-width: 0;
}
.office-head {
  background: var(--navy); color: white; padding: 14px 20px;
  font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.office-head small { font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--tan); }
.choice {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; cursor: pointer;
  border-top: 1px solid var(--rule); font-family: 'Nunito', sans-serif; transition: background .15s;
}
.choice:first-of-type { border-top: 0; }
.choice:hover { background: rgba(26,35,64,.03); }
.choice input[type=radio] { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; cursor: pointer; }
.choice.selected { background: rgba(191,30,46,.06); }
.choice-name { font-size: 19px; font-weight: 700; color: var(--ink); }
.choice-bio { font-size: 15px; color: var(--ink-light); margin-top: 2px; line-height: 1.5; }
.write-in-input {
  margin-top: 8px; width: 100%; max-width: 420px; padding: 10px 12px; font-size: 17px; font-family: 'Nunito', sans-serif;
  border: 2px solid rgba(26,35,64,.2); border-radius: var(--radius); background: var(--cream);
}
.write-in-input:focus { outline: none; border-color: var(--navy); background: white; }
.clear-choice {
  background: none; border: 0; padding: 10px 20px 14px; font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--ink-light); cursor: pointer; text-decoration: underline;
}
.vote-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-ghost { background: white; color: var(--navy); border: 2px solid rgba(26,35,64,.25); }
.btn-ghost:hover { border-color: var(--navy); }
.review-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.review-row:first-of-type { border-top: 0; }
.review-office { font-family: 'Oswald', sans-serif; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.review-pick { font-weight: 700; color: var(--ink); text-align: right; }
.review-pick.blank { color: var(--ink-light); font-weight: 600; font-style: italic; }
.vote-error {
  background: rgba(191,30,46,.08); color: #8c1520; border: 1px solid rgba(191,30,46,.25);
  border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; font-family: 'Nunito', sans-serif; font-size: 16px;
}
.secret-note { font-size: 14px; color: var(--ink-light); margin-top: 14px; }
.preview-list { margin: 14px 0 0; text-align: left; }
.preview-list h3 { font-family: 'Oswald', sans-serif; font-size: 17px; text-transform: uppercase; color: var(--navy); margin: 14px 0 4px; }
@media (max-width: 600px) {
  .prose { font-size: 17px; }
  .main-content { padding: 40px 0 60px; }
}

/* ─── Candidate headshots ────────────────────────────────────── */
.choice-photo {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 25%;
  flex-shrink: 0; border: 2px solid var(--rule); background: var(--cream);
}
.choice.selected .choice-photo { border-color: var(--red); }
.preview-cands { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.preview-cand { display: inline-flex; align-items: center; gap: 8px; }
.preview-photo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 1px solid var(--rule); }
@media (max-width: 600px) {
  .choice { gap: 12px; padding: 14px 16px; }
  .choice-photo { width: 52px; height: 52px; }
}
