/* ==========================================================
   VOLUNTEER WITH US page template
   Loaded only on pages using page-templates/volunteer.php
   ========================================================== */
.volunteer-page { padding-top: 0; }

/* shared section head */
.vol-section-head { max-width: 44rem; margin: 0 auto 3rem; }
.vol-section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin: 0.5rem 0 0.75rem; }
.vol-section-head p { color: var(--muted-foreground); margin: 0; }

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.vol-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 9rem 1.5rem 7rem;
}
.vol-hero-bg { position: absolute; inset: 0; z-index: 0; }
.vol-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.vol-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 25%, rgba(217,154,43,0.45) 0%, transparent 55%),
    linear-gradient(135deg, rgba(43,31,18,0.82) 0%, rgba(77,107,58,0.55) 100%);
}
.vol-hero-content {
  position: relative; z-index: 1;
  max-width: 60rem;
  text-align: center;
  color: #fff;
}
.vol-hero-content .eyebrow {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.vol-hero-content .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }
.vol-hero-content h1 {
  color: #fff;
  margin: 1.25rem 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
}
.vol-accent { color: var(--accent); font-style: italic; }
.vol-hero-lead {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 42rem;
  margin: 0 auto 2rem;
}
.vol-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.vol-hero-link {
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.vol-hero-link:hover { color: #fff; border-color: #fff; }

/* ----------------------------------------------------------
   WHAT YOU'LL DO
   ---------------------------------------------------------- */
.vol-do { background: var(--background); }
.vol-do-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .vol-do-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .vol-do-grid { grid-template-columns: repeat(3, 1fr); } }

.vol-do-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vol-do-item:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(0,0,0,0.18); }
.vol-do-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(194, 65, 12, 0.12);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.25rem;
}
.vol-do-item h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--foreground);
}
.vol-do-item p { color: var(--muted-foreground); margin: 0; line-height: 1.65; font-size: 0.95rem; }

/* ----------------------------------------------------------
   WHO SHOULD APPLY
   ---------------------------------------------------------- */
.vol-who { background: var(--muted); }
.vol-who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .vol-who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .vol-who-grid { grid-template-columns: repeat(4, 1fr); } }

.vol-persona {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.vol-persona-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(77, 107, 58, 0.12);
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.vol-persona h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--foreground);
}
.vol-persona p { color: var(--muted-foreground); margin: 0; font-size: 0.95rem; line-height: 1.65; }

/* ----------------------------------------------------------
   PROGRAM OPTIONS (pricing)
   ---------------------------------------------------------- */
.vol-programs { background: var(--background); }
.vol-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: stretch;
}
@media (min-width: 900px) { .vol-pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.vol-tier {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.vol-tier.is-highlight {
  border-color: var(--primary);
  box-shadow: 0 24px 60px -28px rgba(194, 65, 12, 0.45);
  transform: translateY(-4px);
}
.vol-tier-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.vol-tier-name { font-family: var(--font-serif); font-size: 1.5rem; margin: 0; color: var(--foreground); }
.vol-tier-best { color: var(--muted-foreground); margin: -0.5rem 0 0; font-size: 0.95rem; }
.vol-tier-price { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--border); }
.vol-tier-amount { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--primary); line-height: 1; }
.vol-tier-note { color: var(--muted-foreground); font-size: 0.85rem; }
.vol-tier-duration {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
}
.vol-tier-list h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin: 0 0 0.6rem;
}
.vol-tier-cta { margin-top: auto; align-self: stretch; justify-content: center; }
.vol-tier.is-highlight .vol-tier-cta { background: var(--primary); }

/* ----------------------------------------------------------
   Generic check / cross lists (used in tiers + included card)
   ---------------------------------------------------------- */
.vol-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.vol-list li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--foreground); font-size: 0.95rem; line-height: 1.5; }
.vol-list-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 2px;
}
.vol-list-icon--check { background: rgba(77,107,58,0.18); color: var(--secondary); }
.vol-list-icon--cross { background: rgba(194,65,12,0.12); color: var(--primary); line-height: 1; }
.vol-list--cross li { color: var(--muted-foreground); }

/* ----------------------------------------------------------
   INCLUDED / NOT INCLUDED
   ---------------------------------------------------------- */
.vol-incl { background: var(--muted); }
.vol-incl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 800px) { .vol-incl-grid { grid-template-columns: 1fr 1fr; } }

.vol-incl-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 2rem;
}
.vol-incl-card h3 {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--foreground);
}
.vol-incl-tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  font-size: 1rem; font-weight: 700;
}
.vol-incl-tag--in  { background: rgba(77,107,58,0.18); color: var(--secondary); }
.vol-incl-tag--out { background: rgba(194,65,12,0.12); color: var(--primary); line-height: 1; }
.vol-incl-card--in  { border-top: 4px solid var(--secondary); }
.vol-incl-card--out { border-top: 4px solid var(--primary); }

/* ----------------------------------------------------------
   APPLICATION PROCESS (timeline)
   ---------------------------------------------------------- */
.vol-process { background: var(--background); }
.vol-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  counter-reset: vol-step;
}
@media (min-width: 900px) {
  .vol-timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
  }
  .vol-timeline::before {
    content: "";
    position: absolute;
    top: 28px; left: 8%; right: 8%;
    height: 2px;
    background: repeating-linear-gradient(to right,
      var(--border) 0 8px, transparent 8px 16px);
    z-index: 0;
  }
}
.vol-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: center;
  z-index: 1;
}
@media (min-width: 900px) {
  .vol-step { background: transparent; border: 0; padding: 0 0.75rem; }
}
.vol-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 0.85rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--background);
}
.vol-step-body h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--foreground);
}
.vol-step-body p { color: var(--muted-foreground); margin: 0; font-size: 0.9rem; line-height: 1.55; }

/* ----------------------------------------------------------
   FAQ
   ---------------------------------------------------------- */
.vol-faq { background: var(--muted); }
.vol-faq-list {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.vol-faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.vol-faq-item[open] { box-shadow: 0 12px 28px -18px rgba(0,0,0,0.18); }
.vol-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--foreground);
  cursor: pointer;
  list-style: none;
}
.vol-faq-item summary::-webkit-details-marker { display: none; }
.vol-faq-toggle {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(194,65,12,0.1);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}
.vol-faq-item[open] .vol-faq-toggle { transform: rotate(45deg); background: var(--primary); color: #fff; }
.vol-faq-answer {
  padding: 0 1.4rem 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}
.vol-faq-answer p { margin: 0; }

/* ----------------------------------------------------------
   APPLICATION FORM
   ---------------------------------------------------------- */
.vol-apply { background: var(--background); scroll-margin-top: 6rem; }
.vol-form-wrap {
  max-width: 60rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 2.25rem;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,0.25);
}
@media (max-width: 640px) { .vol-form-wrap { padding: 1.5rem; } }

.vol-form { display: flex; flex-direction: column; gap: 2rem; }
.vol-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.vol-fieldset legend {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  padding: 0;
  margin-bottom: 0.5rem;
}
.vol-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .vol-form-grid { grid-template-columns: 1fr 1fr; }
}

.vol-field { display: flex; flex-direction: column; gap: 0.4rem; }
.vol-field--full { grid-column: 1 / -1; }
.vol-field > span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--foreground);
  display: inline-flex; align-items: baseline; gap: 0.35rem;
}
.vol-field em { color: var(--primary); font-style: normal; font-weight: 700; }
.vol-field small { color: var(--muted-foreground); font-weight: 400; font-size: 0.8rem; }
.vol-field .input,
.vol-field select.input,
.vol-field textarea.input {
  width: 100%;
  background: var(--background);
}
.vol-field textarea.input { min-height: 120px; resize: vertical; line-height: 1.55; }
.vol-field select.input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236b5a45' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.vol-file {
  padding: 0.6rem 0.75rem;
  background: var(--background);
}
.vol-form-note {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.85rem;
  line-height: 1.6;
}
.vol-form-actions {
  display: flex;
  justify-content: center;
}
.vol-form-actions .btn { min-width: 14rem; }

/* ----------------------------------------------------------
   FORM ALERT + HONEYPOT
   ---------------------------------------------------------- */
.vol-form-alert {
  background: rgba(194,65,12,0.08);
  border: 1px solid rgba(194,65,12,0.3);
  color: var(--primary);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.vol-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* ==========================================================
   THANK YOU page (also uses .volunteer-page wrapper)
   ========================================================== */
.vol-thanks {
  position: relative;
  padding: 8rem 1.5rem 5rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217,154,43,0.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
  overflow: hidden;
}
.vol-thanks-inner { max-width: 50rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.vol-thanks-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 18px 36px -16px rgba(77,107,58,0.55);
}
.vol-thanks h1 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin: 0;
  color: var(--foreground);
}
.vol-thanks-lead {
  color: var(--muted-foreground);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 36rem;
  margin: 0;
  line-height: 1.7;
}

.vol-thanks-steps { background: var(--background); }
.vol-next-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.vol-next-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem 1.5rem;
}
.vol-next-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
}
.vol-next-item h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--foreground);
}
.vol-next-item p { color: var(--muted-foreground); margin: 0; line-height: 1.65; font-size: 0.95rem; }

.vol-thanks-extras { background: var(--muted); }
.vol-thanks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 60rem;
  margin: 0 auto 2.5rem;
}
@media (min-width: 720px) { .vol-thanks-grid { grid-template-columns: repeat(3, 1fr); } }
.vol-thanks-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: var(--foreground);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vol-thanks-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(0,0,0,0.18); }
.vol-thanks-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(217,154,43,0.18);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.vol-thanks-card h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--foreground); }
.vol-thanks-meta { color: var(--muted-foreground); margin: 0; font-size: 0.9rem; }
.vol-thanks-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-top: auto; }
.vol-thanks-back { margin-top: 1.5rem; }
