/* vote — owned by TASK 17 (/whistler-election-2026, templates/vote.html.twig). See TASKS.md.
   Loaded after css/style.css; extends the shipped .simple-hero/.content/.panel/.cards-3 look,
   never edits it. Breakpoints are the site's own: 1000 / 780 / 470. */

.vote-intro { max-width: 820px; margin: 0 auto 44px; text-align: center; font-size: 18px; line-height: 1.7; color: #2f2f2f; }

/* --- Key dates timeline --------------------------------------------------------------- */
.vote-timeline { list-style: none; margin: 0 auto 64px; padding: 0; max-width: 900px; display: flex; flex-direction: column; gap: 14px; }
.vote-event { display: flex; gap: 22px; align-items: stretch; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 20px 24px; }
.vote-date { flex: 0 0 82px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 14px; background: #f5f5f2; color: var(--black); padding: 10px 0; }
.vote-day { font-size: 34px; font-weight: 1000; line-height: 1; letter-spacing: -1px; }
.vote-month { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 1.6px; margin-top: 4px; color: var(--muted); }
.vote-body h3 { margin: 0 0 3px; font-size: 19px; text-transform: uppercase; letter-spacing: -.2px; }
.vote-where { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: var(--red); margin-bottom: 8px; }
.vote-body p { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: #2f2f2f; }
.vote-link { color: var(--red); font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; display: inline-block; min-height: 44px; line-height: 44px; }
.vote-link:hover { text-decoration: underline; }

/* General Voting Day gets the red date block — it is the one date everyone must remember. */
.vote-event.is-highlight { box-shadow: 0 14px 40px rgba(201, 8, 11, .16); }
.vote-event.is-highlight .vote-date { background: var(--red); color: #fff; }
.vote-event.is-highlight .vote-month { color: rgba(255, 255, 255, .85); }

/* --- Three ways ------------------------------------------------------------------------- */
.vote-ways { margin-bottom: 64px; }
.vote-ways .action-card { text-align: left; }
.vote-way-icon { width: 44px; height: 44px; color: var(--red); margin-bottom: 14px; }
.vote-way-icon svg { width: 100%; height: 100%; fill: currentColor; }
.vote-ways h3 { font-size: 18px; margin: 0 0 8px; }
.vote-ways p { margin: 0; font-size: 15px; line-height: 1.6; color: #2f2f2f; }

/* --- Eligibility ---------------------------------------------------------------------- */
.vote-eligible { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1000px; margin: 0 auto; }
.vote-eligible .panel h2 { font-size: 18px; }
.vote-eligible ul { margin: 0; padding-left: 20px; }
.vote-eligible li { margin: 8px 0; font-size: 15px; line-height: 1.5; }
.vote-eligible p { font-size: 15px; line-height: 1.6; margin: 0 0 6px; }
.vote-register { max-width: 1000px; margin: 22px auto 64px; font-size: 15px; }

/* --- Ballot CTA ------------------------------------------------------------------------- */
.vote-ballot { max-width: 900px; margin: 0 auto 44px; text-align: center; background: var(--black); color: #fff; border-radius: 24px; padding: 42px 34px; }
.vote-ballot h2 { font-size: 30px; text-transform: uppercase; margin: 0 0 12px; letter-spacing: -.6px; }
.vote-ballot p { font-size: 17px; line-height: 1.7; max-width: 680px; margin: 0 auto 22px; color: #ddd; }
.vote-ballot-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.vote-ballot .btn-outline { color: #fff; }

/* --- Sources ---------------------------------------------------------------------------- */
.vote-sources { max-width: 900px; margin: 0 auto; display: flex; gap: 22px; align-items: center; justify-content: space-between; border-top: 1px solid #e6e6e2; padding-top: 24px; }
.vote-sources p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.vote-checked { white-space: nowrap; font-weight: 800; }
.vote-official { color: var(--black); flex: 0 0 auto; }

@media (max-width: 780px) {
    .vote-intro { font-size: 16px; margin-bottom: 30px; }
    .vote-timeline { gap: 10px; margin-bottom: 44px; }
    .vote-event { gap: 14px; padding: 14px 16px; border-radius: 14px; }
    .vote-date { flex-basis: 64px; }
    .vote-day { font-size: 28px; }
    .vote-body h3 { font-size: 16px; }
    .vote-body p { font-size: 14px; }
    .vote-ways { margin-bottom: 44px; }
    .vote-eligible { grid-template-columns: 1fr; gap: 14px; }
    .vote-register { margin-bottom: 44px; }
    .vote-ballot { padding: 30px 20px; border-radius: 18px; }
    .vote-ballot h2 { font-size: 24px; }
    .vote-ballot p { font-size: 15px; }
    .vote-sources { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 470px) {
    .vote-event { flex-direction: row; }
    .vote-date { flex-basis: 56px; }
    .vote-day { font-size: 24px; }
    .vote-ballot-actions .btn { width: 100%; }
}
