/* ==========================================================================
   The Intersection
   volunteer.css
   Styles for volunteer.html only. Everything else comes from style.css and
   its tokens, so this file only adds what the volunteer page needs.
   ========================================================================== */

/* Unpaid note in the hero panel */
.vol-note {
  background: var(--pink-pale);
  border: 3px solid var(--black);
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  margin-top: 1.25rem;
  max-width: 60ch;
}

.vol-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.vol-section h2 { margin-bottom: 0.75rem; }
.vol-intro { max-width: 60ch; margin-bottom: 2rem; }

/* What it looks like: three facts */
.vol-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
  margin-top: 1.5rem;
}
.vol-fact {
  border: var(--rule);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.vol-fact-label {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vol-fact-big {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  line-height: 1.05;
}
.vol-fact p + p { margin-top: 0; }
.vol-fact--purple { background: var(--purple); }
.vol-fact--blue   { background: var(--blue); color: var(--white); }
.vol-fact--pink   { background: var(--pink-logo); }

/* Where you could help: one box per area */
.vol-areas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap);
}
.vol-area {
  background: var(--white);
  border: var(--rule);
  box-shadow: var(--shadow);
}
.vol-area h3 {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.6rem 1.1rem 0.45rem;
  border-bottom: var(--rule);
}
.vol-area ul { padding: 1rem 1.1rem 1.25rem 2.2rem; display: grid; gap: 0.2rem; }
.vol-area:nth-child(8n+1) h3 { background: var(--pink); }
.vol-area:nth-child(8n+2) h3 { background: var(--purple); }
.vol-area:nth-child(8n+3) h3 { background: var(--blue); color: var(--white); }
.vol-area:nth-child(8n+4) h3 { background: var(--pink-logo); }
.vol-area:nth-child(8n+5) h3 { background: #819BFF; }
.vol-area:nth-child(8n+6) h3 { background: var(--pink-pale); }
.vol-area:nth-child(8n+7) h3 { background: var(--tint-blue); }
.vol-area:nth-child(8n+8) h3 { background: var(--purple); }

/* Application form */
.vol-apply {
  background: var(--tint-blue);
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.vol-form {
  max-width: 820px;
  margin-inline: auto;
  background: var(--white);
  border: var(--rule);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  gap: 1.5rem;
}
.vol-form[hidden] { display: none; }
.vol-form h2 { margin: 0; }
.vol-form .form-group { margin: 0; }
.vol-access {
  background: var(--pink-pale);
  border: 3px solid var(--black);
  padding: 0.8rem 1rem;
}
.vol-hint {
  display: block;
  font-size: 0.95rem;
  margin: -0.15rem 0 0.5rem;
}
.vol-form input[type="file"] { border-style: dashed; padding: 0.7rem; }
.vol-short { max-width: 320px; }

/* Area grid: experience or keen to learn */
.vol-fieldset {
  border: 3px solid var(--black);
  padding: 1rem 1.1rem 1.25rem;
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}
.vol-fieldset legend {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 0.5rem;
}
.vol-table-wrap { overflow-x: auto; }
.vol-table { width: 100%; min-width: 460px; border-collapse: collapse; }
.vol-table th, .vol-table td { padding: 0.35rem 0.5rem; text-align: center; }
.vol-table thead th {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: var(--rule);
  line-height: 1.2;
}
.vol-table tbody tr { border-bottom: 2px solid var(--black); }
.vol-table tbody th { text-align: left; font-weight: 400; padding-left: 0; }
.vol-table thead th:first-child { text-align: left; padding-left: 0; }
.vol-col-exp { background: var(--pink-pale); width: 9.5rem; }
.vol-col-learn { background: var(--tint-blue); width: 9.5rem; }
.vol-table input[type="checkbox"] { width: 26px; height: 26px; min-height: 0; margin: 0.4rem; }

/* Checkbox rows outside the table */
.vol-check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}
.vol-check input { width: 24px; height: 24px; min-height: 0; flex: none; }
.vol-check--bold { font-weight: 700; }

/* What happens next */
.vol-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}
.vol-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.vol-num {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.2rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.4rem;
}
.vol-steps li:nth-child(1) .vol-num { background: var(--pink); }
.vol-steps li:nth-child(2) .vol-num { background: var(--purple); }
.vol-steps li:nth-child(3) .vol-num { background: #819BFF; }
.vol-steps h3 { margin-bottom: 0.35rem; }

@media (prefers-contrast: more) {
  .vol-note, .vol-access, .vol-col-exp, .vol-col-learn { background: var(--white); }
}

/* Long email addresses wrap instead of pushing the form wider than a phone. */
.vol-form { grid-template-columns: minmax(0, 1fr); }
.vol-access strong, .vol-note { overflow-wrap: anywhere; }
