/* =========================================================
   Volunteer page (prefix vo-)
   ========================================================= */

/* Invitational intro (Divi: a row with 2 columns, 3/5 + 2/5.
   Left: eyebrow + H2 + Text + Text link. Right column gets the class vo-inv:
   Text (kicker + date) + Text (facts list) + Button) */
.vo-intro__more strong, .vo-o--duo .intro-center__more strong { color: var(--ink); font-weight: 600; }
.vo-intro__more { color: var(--muted); max-width: 640px; margin-bottom: 26px; }
.vo-inv {
  display: flex; flex-direction: column; padding: 36px 36px 32px;
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-card);
}
.vo-inv__date { font: 600 clamp(22px, 2.2vw, 27px)/1.3 var(--font-head); color: var(--ink); margin: 0 0 20px; }
.vo-inv__facts { margin: 0 0 28px; border-top: 1px solid var(--line); }
.vo-inv__facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.vo-inv__facts dt { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.vo-inv__facts dd { margin: 0; font-weight: 600; }
.vo-inv__facts .placeholder-note { margin: 4px 0 0; }
.vo-inv__action, .vo-signup-action { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.vo-inv__action .placeholder-note, .vo-signup-action .placeholder-note { margin-top: 0; }
.vo-signup-action { margin-top: 48px; justify-content: center; }

/* Opening section (page option "vo-intro": side or duo) */
.vo-o { display: none; }
html[data-vo-intro="side"] .vo-o--side { display: grid; }
html[data-vo-intro="duo"] .vo-o--duo { display: block; }
.vo-o--side { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.vo-o--side .lead { margin-bottom: 18px; }
.vo-o--side .vo-intro__more { margin-bottom: 30px; }
.vo-o--duo .intro-center h2 { margin-bottom: 18px; }
.vo-o--duo .lead { margin-bottom: 16px; }

/* When and Where as large facts with a red left line (like Payment Details' Entry fee and Deadline) */
.vo-facts { margin: 0; display: grid; gap: 32px; }
.vo-facts > div { padding-left: 22px; border-left: 3px solid var(--red); }
.vo-facts dt, .vo-duo dt { margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vo-facts dd, .vo-duo dd { margin: 0; font: 600 clamp(22px, 2.2vw, 27px)/1.3 var(--font-head); color: var(--ink); }

/* "duo": the facts side by side, centered, with a thin line between */
.vo-duo { display: flex; margin: 44px 0 0; justify-content: center; }
.vo-duo > div { padding: 4px 48px; text-align: center; }
.vo-duo > div + div { border-left: 1px solid var(--line); }

/* ---------- What to expect: image beside a vertical timeline ---------- */
.vo-expect__head { max-width: 760px; }
.vo-when { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.vo-day-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 72px; align-items: center; }
.vo-day-split .framed img { aspect-ratio: 4 / 5; object-fit: cover; }
.vo-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.vo-timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.vo-timeline li { position: relative; padding: 0 0 30px 44px; }
.vo-timeline li:last-child { padding-bottom: 0; }
.vo-timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; background: var(--surface); border: 3px solid var(--red); }
.vo-timeline strong { display: block; font: 600 21px/1.3 var(--font-head); color: var(--ink); }
.vo-timeline p { margin: 6px 0 0; color: var(--muted); }

/* ---------- The perks line and the shifts line: a label on the left, items split by red dots ---------- */
.vo-perk-line, .vo-shift-line { margin: 0; }
.vo-perk-line > div, .vo-shift-line > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: baseline; }
.vo-perk-line dt, .vo-shift-line dt, .vo-shift-head dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vo-perk-line dd, .vo-shift-line dd, .vo-shift-head dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 30px; }
.vo-perk-line dd > span, .vo-shift-line dd > span, .vo-shift-head dd > span { position: relative; font: 600 19px/1.4 var(--font-head); color: var(--ink); }
.vo-perk-line dd > span + span::before, .vo-shift-line dd > span + span::before, .vo-shift-head dd > span + span::before { content: ""; position: absolute; left: -17px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

/* Perks: centered, the label above and the perks larger below (the look chosen Nov 23) */
.vo-perk-line { text-align: center; }
.vo-perk-line > div { grid-template-columns: 1fr; gap: 12px; }
.vo-perk-line dd { justify-content: center; gap: 8px 40px; }
.vo-perk-line dd > span { font-size: 23px; }
.vo-perk-line dd > span + span::before { left: -22px; }

/* ---------- Divider above each line (page options "vo-perk-frame" and "vo-shift-frame": strong or thin).
   Divi: the Text module's own top border (Design > Border), plus padding above. ---------- */
.vo-frame--perks { margin-top: 64px; padding-top: 32px; border-top: 2px solid var(--ink); }
.vo-frame--shifts { padding: 22px 0; border-top: 2px solid var(--ink); }
html[data-vo-perk-frame="thin"] .vo-frame--perks,
html[data-vo-shift-frame="thin"] .vo-frame--shifts { border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
.vo-frame--shifts.vo-sh--above { margin: 0 0 32px; padding-bottom: 0; }
.vo-frame--shifts.vo-sh--below { margin-top: 48px; padding-bottom: 0; }

/* ---------- Shifts (page option "vo-shifts") ---------- */
.vo-sh { display: none; }
html[data-vo-shifts="above"] .vo-sh--above, html[data-vo-shifts="below"] .vo-sh--below { display: block; }
html[data-vo-shifts="head"] .vo-sh--head { display: block; }
html[data-vo-shifts="head"] .vo-roles-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 56px; flex-wrap: wrap; margin-bottom: 48px; }
html[data-vo-shifts="head"] .vo-roles-top .section-head { margin-bottom: 0; }
.vo-shift-head { margin: 0; padding-left: 22px; border-left: 3px solid var(--red); }
.vo-shift-head dt { margin-bottom: 8px; }

/* "Not sure which role?" and "Want a certain event?": two short questions under the roles */
.vo-asks { display: grid; grid-template-columns: 1fr 1fr; }
.vo-asks h3 { font-size: 19px; margin-bottom: 6px; }
.vo-asks p { margin: 0; color: var(--muted); }

/* Lines around the roles (chosen Nov 26): the shared dark line above the roles stays; add a dark line under
   the roles and under the two questions, and make the lines between the roles dark. */
.vo-roles { border-bottom: 2px solid var(--ink); }
.vo-roles .pc { padding-bottom: 36px; }
.vo-roles .pc + .pc { border-left-color: var(--ink); }
.vo-asks { border-bottom: 2px solid var(--ink); }
.vo-asks > div { padding: 32px 36px 36px 0; }
.vo-asks > div + div { padding-left: 36px; border-left: 1px solid var(--ink); }

/* Roles: open columns (shared .paths-cols). Page option vo-roles:
   "3" = Check-in and Set-up folded into Runner (default), "5" = all five roles,
   on two rows (3 + 2), each row under its own rule. */

.vo-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vo-tasks li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.vo-tasks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.vo-tasks strong { color: var(--ink); }



/* Other volunteer opportunities: smaller, quieter cards */
.vo-other { max-width: 980px; }
.vo-other .card { padding: 26px 28px 24px; border-top-color: var(--second); }
.vo-other .card__kicker { color: var(--second); }
.vo-other .card h3 { margin-bottom: 4px; }
.vo-other p.vo-other__date { font: 600 17px/1.4 var(--font-head); color: var(--ink); margin-bottom: 12px; }
.vo-other .card p:not(.vo-other__date) { flex: 1; }
.vo-other .placeholder-note { margin-top: 6px; }

@media (max-width: 980px) {
  .vo-day-split { grid-template-columns: 1fr; gap: 40px; }
  .vo-day-media { max-width: 520px; }
  .vo-day-split .framed img { aspect-ratio: 4 / 3; }
  .vo-asks { grid-template-columns: 1fr; }
  .vo-asks > div, .vo-asks > div + div { padding: 28px 0; border-left: 0; }
  .vo-asks > div + div { border-top: 1px solid var(--ink); }
  .vo-shift-line > div { grid-template-columns: 1fr; gap: 8px; }
  .vo-perk-line dd { gap: 6px 32px; }
  .vo-perk-line dd > span { font-size: 20px; }
  .vo-perk-line dd > span + span::before { left: -18px; }
  .vo-frame--perks { margin-top: 48px; }
  .vo-o--side { grid-template-columns: 1fr; gap: 44px; }
  .vo-roles .pc, .vo-roles .pc + .pc { padding: 28px 0; }
  .vo-roles .pc + .pc { border-top-color: var(--ink); }
  .vo-day-split { grid-template-columns: 1fr; gap: 40px; }
  .vo-day-split .framed { max-width: 520px; }
  .vo-day-split .framed img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .vo-duo { flex-direction: column; gap: 22px; }
  .vo-duo > div { padding: 0; }
  .vo-duo > div + div { border-left: 0; }
  .vo-inv { padding: 28px 22px 26px; }
  .vo-inv__facts > div { grid-template-columns: 1fr; gap: 2px; }
  .vo-inv__action, .vo-signup-action { width: 100%; }
  .vo-inv__action .btn, .vo-signup-action .btn { width: 100%; justify-content: center; }
  .vo-signup-action { margin-top: 36px; }
  .vo-o .btn-duo .btn { width: 100%; justify-content: center; }
}
