/* =========================================================
   VOLUNTEER PAGE
   Matches your theme (Inter, OFCS blue, clean cards)
========================================================= */
.vol-form input,
.vol-form textarea,
.vol-form select {
  box-sizing: border-box;
}


.page-content {
  padding-bottom: 2.25rem;
}

.vol-hero {
  padding: 2rem 0 1.25rem;
  background: #f3f5f9;
  border-bottom: 1px solid #e7e7e7;
}

.vol-eyebrow {
  margin: 0 0 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #23407c;
}

.vol-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 3.1vw, 2.5rem);
  line-height: 1.1;
  color: #091024;
}

.vol-lead {
  margin: 0;
  color: #4c556a;
  line-height: 1.7;
  max-width: 85ch;
}

/* Card */
.vol-section {
  padding: 1.5rem 0;
}

.vol-card {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  box-shadow: 0 10px 30px rgba(10, 20, 40, 0.06);
  border-radius: 16px;
  overflow: hidden;
}

.vol-card-head {
  padding: 1.15rem 1.15rem 1rem;
  border-bottom: 1px solid #e7e7e7;
  background: linear-gradient(to bottom, #ffffff, #fbfcff);
}

.vol-card-head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  color: #091024;
}

.vol-card-head p {
  margin: 0;
  color: #6b7488;
  line-height: 1.6;
  max-width: 95ch;
}

/* Form */
.vol-form {
  padding: 1.15rem;
  display: grid;
  gap: 1.15rem;
}

.vol-fieldset {
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 1rem;
  background: #ffffff;
}

.vol-fieldset legend {
  padding: 0 0.35rem;
  font-weight: 800;
  color: #091024;
  letter-spacing: -0.01em;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-weight: 700;
  color: #12213f;
  font-size: 0.95rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #dfe3ee;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: #091024;
  background: #ffffff;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(35, 64, 124, 0.45);
  box-shadow: 0 0 0 4px rgba(35, 64, 124, 0.10);
}

.field-hint {
  margin: 0 0 0.5rem;
  color: #6b7488;
  line-height: 1.55;
  font-size: 0.95rem;
}

/* Grid */
.vol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field--wide {
  grid-column: 1 / -1;
}

/* Checks & radios */
.checks,
.radios {
  display: grid;
  gap: 0.55rem;
}

.checks--two {
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
}

.check,
.radio {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: #39455f;
  line-height: 1.35;
}

.check input,
.radio input {
  margin-top: 0.2rem;
}

/* Consent */
.check--consent {
  font-weight: 600;
  color: #12213f;
}

/* Actions */
.vol-actions {
  display: grid;
  gap: 0.85rem;
  align-items: start;
}

.vol-next {
  margin: 0;
  color: #4c556a;
  line-height: 1.65;
  max-width: 100ch;
}

/* Button styles (scoped) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: #23407c;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(35, 64, 124, 0.22);
}

.btn.primary:hover {
  filter: brightness(0.95);
}

/* accessibility helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Checkbox groups --- */
.vol-form fieldset {
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  padding: 1rem;
  margin: 1rem 0 0;
  background: #ffffff;
}

.vol-form .legend {
  font-weight: 800;
  color: #091024;
  padding: 0 0.35rem;
}

.vol-form .check-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.vol-form .check-label {
  margin: 0.25rem 0 0;
  color: #6b7488;
  font-size: 0.95rem;
}

.vol-form .check-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.9rem;
}

/* Each option row: checkbox + label */
.vol-form .check {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid #e7e7e7;
  background: #f7f8fb;
  color: #12213f;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}

/* Make checkbox not drift */
.vol-form .check input {
  margin: 0;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.vol-form .check:hover {
  background: #f3f5f9;
}

/* Mobile: stack options */
@media (max-width: 760px) {
  .vol-form .check-options {
    grid-template-columns: 1fr;
  }
}




/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 880px) {
  .vol-grid {
    grid-template-columns: 1fr;
  }

  .checks--two {
    grid-template-columns: 1fr;
  }

  .vol-form {
    padding: 1rem;
  }

  .vol-card-head {
    padding: 1rem;
  }
}