﻿/* Dream Girl Foundation - Main Theme CSS */

/* ── Accessibility: visually hidden but screen-reader accessible ─────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
/* Base styles (fonts, resets, WP FSE fixes) live in:
   • Frontend: functions.php → dgf_add_tailwind_config() @layer base
   • Editor:   assets/css/input.css @layer base
   This file contains only component/block-level styles that cannot
   be expressed as Tailwind utility classes. */

/* Swiper custom styles */
.swiper-pagination-bullet-active {
  background: var(--color-dgf-teal) !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--color-dgf-teal) !important;
}

/* Progress bar animations */
.progress-bar-fill {
  transition: width 1.5s ease-in-out;
}

/* Marquee animation */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  gap: 50px;
  align-items: center;
  animation: marquee 18s linear infinite;
  width: max-content;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 999;
  display: none;
}

.scroll-to-top.visible {
  display: flex;
}

/* FAQ Accordion */
.faq-answer {
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question {
  background: var(--color-dgf-teal);
  color: #fff;
  border-radius: 8px 8px 0 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: #fff;
}

/* Floating label inputs */
.float-label {
  position: relative;
}

.float-label input,
.float-label textarea {
  width: 100%;
  padding: 20px 12px 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.float-label input:focus,
.float-label textarea:focus {
  border-color: var(--color-dgf-teal);
}

.float-label label {
  position: absolute;
  left: 12px;
  top: 14px;
  font-size: 13px;
  color: #9ca3af;
  transition: all 0.15s;
  pointer-events: none;
}

.float-label input:focus ~ label,
.float-label input:not(:placeholder-shown) ~ label,
.float-label textarea:focus ~ label,
.float-label textarea:not(:placeholder-shown) ~ label {
  top: 6px;
  font-size: 11px;
  color: var(--color-dgf-teal);
}

/* Step cards: bg-cover bg-center applied via Tailwind in HTML */
/* Why-card shapes: no background-image on these elements — classes removed from HTML */

/* ── Sticky Navbar ───────────────────────────────────────────────────────── */
#navbar.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.admin-bar #navbar.nav-fixed {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar #navbar.nav-fixed {
    top: 46px;
  }
}

/* WordPress admin bar adjustment (legacy) */
.admin-bar .dgf-fixed-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .dgf-fixed-header {
    top: 46px;
  }
}

/* ── Contact Form 7 – Get In Touch ─────────────────────────────────────── */
.dgf-cf7-form .dgf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 639px) {
  .dgf-cf7-form .dgf-row {
    grid-template-columns: 1fr;
  }
}

.dgf-cf7-form .dgf-full {
  margin-bottom: 12px;
}

.dgf-cf7-form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 4px;
}

.dgf-cf7-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0;
  padding-top: 0;
}

/* Remove the <br> CF7 inserts between label and input */
.dgf-cf7-form br {
  display: none;
}

/* All text/email/tel/textarea inputs inside the form */
.dgf-cf7-form input[type="text"],
.dgf-cf7-form input[type="email"],
.dgf-cf7-form input[type="tel"],
.dgf-cf7-form textarea {
  border: 1px solid #E9EAF0;
  background: #ffffff;
  border-radius: 6px;
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--color-dgf-dark);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.dgf-cf7-form input[type="text"]:focus,
.dgf-cf7-form input[type="email"]:focus,
.dgf-cf7-form input[type="tel"]:focus,
.dgf-cf7-form textarea:focus {
  border-color: var(--color-dgf-teal);
}

.dgf-cf7-form textarea {
  resize: none;
  min-height: 0;
  height: calc(4 * 1.5em + 20px);
}

/* Submit button */
.dgf-cf7-form input[type="submit"],
.dgf-cf7-form .wpcf7-submit {
  background-color: var(--color-dgf-teal);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 24px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
}

.dgf-cf7-form input[type="submit"]:hover,
.dgf-cf7-form .wpcf7-submit:hover {
  background-color: var(--color-dgf-teal-dark);
  transform: scale(1.02);
}

.dgf-cf7-form input[type="submit"]:active,
.dgf-cf7-form .wpcf7-submit:active {
  transform: scale(0.97);
}

/* Validation */
.dgf-cf7-form .wpcf7-not-valid {
  border-color: var(--color-dgf-red) !important;
}

.dgf-cf7-form .wpcf7-not-valid-tip {
  color: var(--color-dgf-red);
  font-size: 11px;
  margin-top: 2px;
  display: block;
}

.dgf-cf7-form .wpcf7-response-output {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
}

/* ── Milestone Slider Block — Editor card grid ───────────── */
.milestone-cards-editor {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.milestone-cards-editor > .milestone-card-item {
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 380px;
}

/* ═══════════════════════════════════════════════════════════════════════
   MILESTONE SLIDER — Figma slot-based layout
   ───────────────────────────────────────────────────────────────────────
   Each of the 4 visible positions (slots) has exact Figma dimensions.
   JS assigns ms-slot-1…ms-slot-4 to whichever slides are currently in
   those positions, so any image automatically inherits the slot's size.

   Slot 1 (Featured)  338 × 297 px
   Slot 2             292 × 257 px
   Slot 3             257 × 226 px
   Slot 4             238 × 209 px
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Swiper wrapper: top-align all cards ─────────────────────────── */
.milestone-slider-section .swiper-wrapper {
  align-items: flex-start !important;
  will-change: transform;
}

/* Height controlled entirely by JS (applySlots sets el.style.height).
   CSS provides a fallback per breakpoint to prevent layout flash. */
.milestone-swiper {
  overflow: hidden;
  contain: paint;
  height: 375px; /* desktop fallback — overridden by JS */
}
@media (max-width: 1023px) {
  .milestone-swiper { height: 320px; }
}
@media (max-width: 639px) {
  .milestone-swiper { height: 280px; }
}

/* ── Base card ───────────────────────────────────────────────────────── */
.milestone-swiper .swiper-slide.milestone-card-item {
  flex-shrink: 0;
  width: 238px;
  will-change: transform;
  transform: translateZ(0);
}

/* Inner white card */
.milestone-card-item > div {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  background: #fff;
  height: 100%;
}

/* Title text — base */
.milestone-card-item > div > p {
  margin: 0;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #1a1a1a;
  font-weight: 700;
}

/* Image container — height set by JS */
.milestone-card-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.milestone-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Remove any stored aspect-ratio — height driven by JS */
.milestone-card-item .milestone-card-img-wrap,
.milestone-card-item > div > div:first-child {
  aspect-ratio: unset !important;
}

/* ── Desktop (≥1024px): 4-slot layout with Figma sizes ─────────────── */
@media (min-width: 1024px) {
  /* Slot widths locked via min+max so Swiper inline width can't override */
  .milestone-swiper .swiper-slide.ms-slot-1 { min-width: 338px !important; max-width: 338px !important; height: 375px !important; }
  .milestone-swiper .ms-slot-1 .milestone-card-img-wrap { height: 297px !important; }
  .milestone-swiper .swiper-slide.ms-slot-2 { min-width: 292px !important; max-width: 292px !important; }
  .milestone-swiper .ms-slot-2 .milestone-card-img-wrap { height: 257px !important; }
  .milestone-swiper .swiper-slide.ms-slot-3 { min-width: 257px !important; max-width: 257px !important; }
  .milestone-swiper .ms-slot-3 .milestone-card-img-wrap { height: 226px !important; }
  .milestone-swiper .swiper-slide.ms-slot-4 { min-width: 238px !important; max-width: 238px !important; }
  .milestone-swiper .ms-slot-4 .milestone-card-img-wrap { height: 209px !important; }

  /* Slots 2–4: inner wrapper auto-height so cards show staircase heights on desktop.
     Slot 1 keeps height:100% (fills the 375px outer slide fully). */
  .ms-slot-2 > div,
  .ms-slot-3 > div,
  .ms-slot-4 > div { height: auto !important; }

  /* Desktop title sizes — !important beats inline styles from save.js and Tailwind reset */
  .ms-slot-1 > div > p { font-size: 18px !important; line-height: 1.4 !important; padding: 10px 14px !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
  .ms-slot-2 > div > p { font-size: 16px !important; line-height: 1.4 !important; padding: 10px 14px !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
  .ms-slot-3 > div > p { font-size: 13px !important; line-height: 1.4 !important; padding: 8px 12px !important; display: block !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
  .ms-slot-4 > div > p { font-size: 11px !important; line-height: 1.4 !important; padding: 8px 10px !important; display: block !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
}

/* ── Tablet (640–1023px): 2-slot layout — widths set by JS ─────────── */
@media (min-width: 640px) and (max-width: 1023px) {
  .ms-slot-1 > div > p { font-size: 16px !important; line-height: 1.4 !important; padding: 10px 14px !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
  .ms-slot-2 > div > p { font-size: 14px !important; line-height: 1.4 !important; padding: 10px 14px !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
}

/* ── Mobile (<640px): 1-slot layout — width set by JS ──────────────── */
@media (max-width: 639px) {
  .ms-slot-1 > div > p { font-size: 15px !important; line-height: 1.4 !important; padding: 10px 14px !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
}

/* ── Navigation — fixed at bottom-right, never shifts ───────────── */
.milestone-slider-section div:has(> .milestone-prev) {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  height: 48px !important;
  flex-shrink: 0;
}
@media (max-width: 639px) {
  .milestone-slider-section div:has(> .milestone-prev) {
    justify-content: center !important;
  }
}

/* Buttons — fixed 44×44, never reflow */
.milestone-prev,
.milestone-next {
  flex-shrink: 0;
  width: 44px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  line-height: 0 !important;
  background: none !important;
  border: none !important;
  cursor: pointer;
}

.milestone-prev svg, .milestone-prev img,
.milestone-next svg, .milestone-next img {
  display: block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  pointer-events: none;
}

/* ── END Milestone Slider ─────────────────────────────────────────────── */


/* ─────────────────────────────────────────────────────────────────────── */

/* Celebrate Contact Block CSS moved to src/celebrate-contact-block/style.css */
/* ── END Celebrate Contact Block placeholder ── */
.ccb-placeholder-removed {
  display: none;
}



/* (Celebrate Contact Block styles moved to src/celebrate-contact-block/style.css) */

/* ═══════════════════════════════════════════════════════════════════════════
   Contact Us Form Block — CF7 form styles only
   Layout handled by Tailwind classes in render.php / edit.js
   ═══════════════════════════════════════════════════════════════════════════ */

/* CF7 form layout */
.cuf-form-wrapper .wpcf7 {
  margin: 0;
}

.cuf-form-wrapper .wpcf7-form {
  display: flex;
  flex-direction: column;
  /* gap: 16px; */
}

.cuf-form-wrapper .wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
}

.cuf-form-wrapper br {
  display: none;
}

.cuf-form-wrapper label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin: 12px 0 8px 0 !important;
}

.cuf-form-wrapper .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.cuf-form-wrapper .dgf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Inputs */
.cuf-form-wrapper input[type="text"],
.cuf-form-wrapper input[type="email"],
.cuf-form-wrapper input[type="tel"],
.cuf-form-wrapper textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #E9EAF0;
  border-radius: 4px;
  font-size: 14px;
  color: #111827;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}

.cuf-form-wrapper input[type="text"]::placeholder,
.cuf-form-wrapper input[type="email"]::placeholder,
.cuf-form-wrapper input[type="tel"]::placeholder,
.cuf-form-wrapper textarea::placeholder {
  color: #9CA3AF;
  font-size: 13px;
}

.cuf-form-wrapper input[type="text"]:focus,
.cuf-form-wrapper input[type="email"]:focus,
.cuf-form-wrapper input[type="tel"]:focus,
.cuf-form-wrapper textarea:focus {
  border-color: #4b94a7;
  box-shadow: 0 0 0 3px rgba(75, 148, 167, 0.12);
  background: #fff;
}

.cuf-form-wrapper textarea {
  resize: none !important;
  height: 120px !important;
  min-height: unset !important;
}

/* Submit button */
.cuf-form-wrapper .wpcf7-submit,
.cuf-form-wrapper input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 28px;
  background: #4b94a7;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: none;
  font-family: inherit;
}

.cuf-form-wrapper .wpcf7-submit:hover,
.cuf-form-wrapper input[type="submit"]:hover {
  background: #3a7d91;
}

/* Validation */
.cuf-form-wrapper .wpcf7-not-valid-tip {
  font-size: 11px;
  color: #ef4444;
  margin-top: 4px;
  display: block;
}

.cuf-form-wrapper .wpcf7-not-valid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.cuf-form-wrapper .wpcf7-response-output {
  margin: 4px 0 0 !important;
  padding: 10px 14px !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  border: none !important;
}

/* ── Responsive (CF7 form only — layout responsive handled by Tailwind) ── */
@media (max-width: 540px) {
  .cuf-form-wrapper .dgf-row {
    grid-template-columns: 1fr;
  }
  .cuf-form-wrapper .wpcf7-submit,
  .cuf-form-wrapper input[type="submit"] {
    width: 100%;
    justify-content: center;
  }
}
/* ── END Contact Us Form Block ──────────────────────────────────────────── */

/* (Success Impact Slider Block styles moved to src/success-impact-slider-block/style.css) */


/* ═══════════════════════════════════════════════════════════════════════════
   Map Section Block (ms-*) — Clean map only
   ═══════════════════════════════════════════════════════════════════════════ */

.ms-section {
  width: 100%;
  padding: 0;
  margin: 0;
}

.ms-map-wrapper {
  width: 100%;
  overflow: hidden;
}

.ms-map-placeholder {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

/* ── END Map Section Block ──────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════════════════════
   Donate Form Block  (.df-*)
   ══════════════════════════════════════════════════════════════════════════════ */

.df-section {
  width: 100%;
  background: #f5f5f5;
  padding: 60px 20px;
}
.df-block {
  position: relative;
  display: flex;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  min-height: 560px;
}
.df-image-col {
  width: 42%;
  flex-shrink: 0;
  position: relative;
  background: #e0e0e0;
}
.df-image-wrap { width: 100%; height: 100%; }
.df-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.df-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0a76b 0%, #c87941 100%);
  min-height: 480px;
}
.df-form-col {
  flex: 1;
  padding: 36px 40px;
  overflow-y: auto;
}
.df-heading {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-dgf-dark);
  margin: 0 0 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.df-subheading {
  font-size: 14px;
  color: #666;
  margin: 0 0 20px;
  line-height: 1.5;
}

/* Step bar */
.df-steps-bar {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 24px;
}
.df-step-connector { flex: 1; height: 1px; background: #ddd; margin: 0 12px; }
.df-step-item { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.df-step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.df-step-item--active  .df-step-circle { background: transparent; border: 2px solid #e8722a; color: #e8722a; }
.df-step-item--inactive .df-step-circle { background: transparent; border: 2px solid #ccc; color: #999; }
.df-step-item--done    .df-step-circle { background: #e8722a; border: 2px solid #e8722a; color: #fff; }
.df-step-label { font-size: 13px; font-weight: 600; color: #333; }
.df-step-item--inactive .df-step-label { color: #999; }
.df-step-item--active   .df-step-label { color: #e8722a; }
.df-step-item--done     .df-step-label { color: #e8722a; }

/* Panels */
.df-panel { display: block; }
.df-panel--hidden { display: none !important; }
.df-panel-title { font-size: 17px; font-weight: 700; color: var(--color-dgf-dark); margin: 0 0 18px; }

/* Fields */
.df-field-wrap { margin-bottom: 14px; }
.df-label { display: block; font-size: 13px; font-weight: 700; color: #222; margin-bottom: 5px; }
.df-req { color: #e8722a; }
.df-input {
  display: block; width: 100%;
  padding: 11px 14px; font-size: 14px; font-weight: 500; color: #1a1a1a;
  background: #f6f6f6; border: 1.5px solid #c8c8c8;
  border-radius: 6px; outline: none; transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}
.df-input:focus { border-color: #e8722a; background: #fff; box-shadow: 0 0 0 3px rgba(232,114,42,0.1); }
.df-input--error { border-color: #e74c3c !important; background: #fff8f8 !important; }
.df-field-error { display: block; font-size: 12px; color: #e74c3c; margin-top: 3px; min-height: 16px; }
.df-phone-wrap { display: flex; gap: 8px; }
.df-country-code {
  flex-shrink: 0; width: 80px; padding: 11px 8px; font-size: 14px; font-weight: 500; color: #1a1a1a;
  background: #f6f6f6; border: 1.5px solid #c8c8c8; border-radius: 6px; cursor: pointer; outline: none;
}
.df-country-code:focus { border-color: #e8722a; }
.df-input--tel { flex: 1; }

/* Panel actions */
.df-panel-actions { display: flex; gap: 12px; margin-top: 22px; }
.df-btn {
  flex: 1; padding: 13px 20px; font-size: 14px; font-weight: 600;
  border-radius: 6px; cursor: pointer; border: 1.5px solid #ccc;
  background: #fff; color: #666;
  transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
  letter-spacing: 0.3px;
  /* Explicit reset — prevent external stylesheets from collapsing the button */
  display: block; visibility: visible; opacity: 1;
}
.df-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.df-btn--primary { background: #4bacc6; border-color: #4bacc6; color: #fff; }
.df-btn--primary:hover {
  background: #357fa0;
  border-color: #357fa0;
  color: #fff;
  opacity: 1;
  visibility: visible;
}

/* Frequency */
.df-freq-wrap { margin-bottom: 20px; }
.df-section-note { font-size: 13px; color: #555; margin: 0 0 10px; }
.df-freq-options { display: flex; gap: 8px; flex-wrap: wrap; }
.df-freq-btn {
  flex: 1; min-width: 90px; padding: 10px 14px; font-size: 13px; font-weight: 600;
  border: 1.5px solid #f0c9a0; border-radius: 6px; background: #fff8f2;
  color: #555; cursor: pointer; transition: all 0.2s; text-align: center;
}
.df-freq-btn--active { background: #e8722a; border-color: #e8722a; color: #fff; }
.df-freq-desc { font-size: 12px; color: #888; margin: 10px 0 0; line-height: 1.5; }

/* Initiative */
.df-initiative-wrap { margin-bottom: 20px; }
.df-section-title { font-size: 15px; font-weight: 700; color: var(--color-dgf-dark); margin: 0 0 12px; }
.df-initiative-options { display: flex; flex-direction: column; gap: 8px; }
.df-init-opt {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: #333; cursor: pointer; padding: 2px 0; user-select: none;
}
.df-init-radio {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid #ccc;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s; position: relative;
}
.df-init-radio--active { border-color: #e8722a; }
.df-init-radio--active::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: #e8722a;
}
.df-init-opt--active { color: #e8722a; font-weight: 600; }

/* Amounts */
.df-amount-wrap { margin-bottom: 16px; }
.df-amounts-grid--simple { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.df-amount-card--simple {
  padding: 10px 14px; border: 1.5px solid #f0c9a0; border-radius: 6px;
  font-size: 14px; font-weight: 600; color: #555; background: #fff8f2;
  cursor: pointer; text-align: center; transition: all 0.18s; user-select: none;
  display: flex; align-items: center; gap: 6px;
}
.df-amount-card--simple::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #ccc; flex-shrink: 0; transition: border-color 0.15s;
}
.df-amount-card--simple.df-amount-card--active { background: #e8722a; border-color: #e8722a; color: #fff; }
.df-amount-card--simple.df-amount-card--active::before {
  background: #fff; border-color: #fff; box-shadow: inset 0 0 0 3px #e8722a;
}
.df-amounts-grid--cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.df-amount-card--edu {
  padding: 12px 14px; border: 1.5px solid #f0c9a0; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: #444; background: #fff8f2;
  cursor: pointer; text-align: left; line-height: 1.4;
  transition: all 0.18s; user-select: none;
  display: flex; align-items: flex-start; gap: 8px;
}
.df-amount-card--edu::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #ccc; flex-shrink: 0; margin-top: 2px; transition: border-color 0.15s;
}
.df-amount-card--edu.df-amount-card--active { background: #e8722a; border-color: #e8722a; color: #fff; }
.df-amount-card--edu.df-amount-card--active::before {
  background: #fff; border-color: #fff; box-shadow: inset 0 0 0 3px #e8722a;
}
.df-custom-link { display: inline-block; margin-top: 12px; font-size: 13px; color: #e8722a; text-decoration: underline; cursor: pointer; }
.df-custom-wrap { margin-top: 10px; }
.df-custom-input { max-width: 260px; }

/* Success */
.df-success-box { text-align: center; padding: 40px 20px; }
.df-success-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #27ae60; color: #fff;
  font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.df-success-title { font-size: 22px; font-weight: 700; color: var(--color-dgf-dark); margin: 0 0 10px; }
.df-success-msg { font-size: 15px; color: #555; line-height: 1.6; max-width: 360px; margin: 0 auto; }

/* Editor preview */
.df-editor-preview { border: 2px dashed #ddd; border-radius: 8px; }
.df-editor-preview-inner { display: flex; min-height: 300px; }
.df-editor-preview-left { width: 38%; flex-shrink: 0; background: #e0e0e0; border-radius: 4px 0 0 4px; overflow: hidden; }
.df-editor-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.df-editor-img-placeholder {
  width: 100%; height: 100%; min-height: 280px;
  background: linear-gradient(135deg, #f0c9a0, #e8a070);
  display: flex; align-items: center; justify-content: center; font-size: 32px; color: #fff;
}
.df-editor-preview-right { flex: 1; padding: 24px; }
.df-editor-heading { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.df-editor-subheading { font-size: 13px; color: #888; margin: 0 0 14px; }
.df-editor-steps { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.df-editor-step { color: #999; }
.df-editor-step--active { color: #e8722a; }
.df-editor-step-arrow { color: #ccc; }
.df-editor-fields { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.df-editor-field-label { font-size: 12px; font-weight: 600; color: #555; display: block; margin-bottom: 3px; }
.df-editor-field-input { height: 32px; background: #f5f5f5; border: 1px solid #e0e0e0; border-radius: 4px; }
.df-editor-actions { display: flex; gap: 8px; }
.df-editor-btn-prev { padding: 8px 16px; font-size: 13px; border: 1px solid #ccc; background: #fff; border-radius: 4px; cursor: default; }
.df-editor-btn-next { padding: 8px 20px; font-size: 13px; background: #4bacc6; border: none; color: #fff; border-radius: 4px; cursor: default; }
.df-editor-note { margin-top: 12px; font-size: 12px; color: #888; background: #f9f9f9; padding: 6px 10px; border-radius: 4px; }

/* Responsive */
@media (max-width: 768px) {
  .df-block { flex-direction: column; border-radius: 8px; }
  .df-image-col { width: 100%; max-height: 240px; }
  .df-img-placeholder { min-height: 240px; }
  .df-form-col { padding: 24px 20px; }
  .df-heading { font-size: 22px; }
  .df-steps-bar { padding: 10px 14px; }
  .df-section { padding: 30px 12px; }
}
@media (max-width: 480px) {
  .df-amounts-grid--simple,
  .df-amounts-grid--cards { grid-template-columns: 1fr; }
  .df-freq-options { flex-direction: column; }
  .df-freq-btn { width: 100%; }
}

/* ── END Donate Form Block ───────────────────────────────────────────────── */


/* ══════════════════════════════════════════════════════════════════════════
   VOLUNTEER CARD ITEM (vrb-card-*) — Reference-accurate
   Width 410px, #FCF8F6 outer, box-shadow 2/4/8, 6px radius, pb 24px, gap 10px
   ══════════════════════════════════════════════════════════════════════════ */

.vrb-card {
  background: #fcf8f6;
  border-radius: 6px;
  box-shadow: 2px 4px 8px 0px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
  overflow: visible;
  transition: transform 0.22s ease;
}
.vrb-card:hover { transform: translateY(-2px); }

/* Top white body card */
.vrb-card-body {
  background: #fefefe;
  border-radius: 6px 6px 0 0;
  padding: 14px 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Icon — 72×72 */
.vrb-card-icon-wrap {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  margin: 0;
  background: transparent;
}
.vrb-card-icon-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vrb-card-icon-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; background: #f3f6f9;
}

/* Title — Poppins Bold 17px */
.vrb-card-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--color-dgf-dark);
  margin: 0;
  padding: 0;
  text-transform: capitalize;
  width: 100%;
}

/* Badge wrapper — single row, horizontal scroll when badges overflow */
.vrb-card-badge-wrap {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.vrb-card-badge-wrap::-webkit-scrollbar { display: none; } /* Chrome / Safari */

/* Badge pill */
.vrb-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fdeade !important;
  color: #ff6636 !important;
  padding: 5px 12px;
  border-radius: 29px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  width: fit-content;
  white-space: nowrap;  /* keep label text on one line */
  flex-shrink: 0;       /* prevent badge from squishing inside scroll row */
}

/* Short description — 13px, 2-line clamp */
.vrb-card-desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  color: #4d4d4d;
  margin: 0;
  padding: 0;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Collapse block children (WYSIWYG <p> tags) so clamp counts lines correctly */
.vrb-card-desc p,
.vrb-card-desc br { display: inline; margin: 0; padding: 0; }

/* Hide the hr separator */
.vrb-card-sep { display: none; }

/* Time-Details header row */
.vrb-card-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  margin: 0 10px;
  width: calc(100% - 20px);
  box-sizing: border-box;
  cursor: pointer;
  background: transparent;
}
.vrb-card-time-label {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-dgf-dark);
  text-transform: capitalize;
}
.vrb-card-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-dgf-dark);
  transition: transform 0.22s;
}
.vrb-card-time-row:hover .vrb-card-chevron { transform: translateY(2px); }

/* About + Apply: visually share the SAME white box */
.vrb-card-about {
  background: #fefefe;
  margin: 0 10px;
  padding: 10px 16px 0;
  border-radius: 6px 6px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: calc(100% - 20px);
  box-sizing: border-box;
}
.vrb-card-about-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-dgf-dark);
  margin: 0;
  padding: 0;
}
.vrb-card-about-list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
  width: 100%;
}
/* ── Card about list: show only first bullet, max 2 lines ────────────────
   Two formats exist in the DB:
     (A) <ul><li> markup  → target ul > li
     (B) plain text       → wpautop wraps in <p> with <br> per line
   Higher specificity beats all-volunteer-block/style.css !important rules.
   ────────────────────────────────────────────────────────────────────────── */

/* Format A — <ul><li> ───────────────────────────────────────────────────── */
.vrb-card .vrb-card-about-list ul,
.vrb-card .vrb-card-about-list ol {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}
.vrb-card .vrb-card-about-list ul > li,
.vrb-card .vrb-card-about-list ol > li {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: #4d4d4d;
  display: none !important;
}
.vrb-card .vrb-card-about-list ul > li:first-child,
.vrb-card .vrb-card-about-list ol > li:first-child {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-left: 14px;
  position: relative;
}
.vrb-card .vrb-card-about-list ul > li:first-child::before,
.vrb-card .vrb-card-about-list ol > li:first-child::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #4d4d4d;
  font-size: 12px;
  line-height: 1.5;
}

/* Format B — plain text wrapped in <p> by wpautop ───────────────────────── */
.vrb-card .vrb-card-about-list > p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: #4d4d4d;
  margin: 0 !important;
  padding: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Hide extra <p> elements when wpautop creates multiple paragraphs */
.vrb-card .vrb-card-about-list > p:not(:first-child) {
  display: none !important;
}

/* Apply button area — continues the white box from .vrb-card-about */
.vrb-card-footer {
  background: #fefefe;
  margin: 0 10px;
  padding: 10px 16px 14px;
  border-radius: 0 0 6px 6px;
  width: calc(100% - 20px);
  box-sizing: border-box;
}
.vrb-card-apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  background: #429CBB;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s ease;
  padding: 0 10px;
}
.vrb-card-apply-btn:hover  { background: #347d97; }
.vrb-card-apply-btn:active { background: #2d6880; }

/* Fallback: when about block missing, footer rounds all corners */
.vrb-card-body + .vrb-card-footer,
.vrb-card-time-row + .vrb-card-footer {
  border-radius: 6px;
}

/* Push footer to bottom when card is grid-stretched */
.vrb-card > .vrb-card-footer {
  margin-top: auto;
}
/* Seal the cream gap between About section and footer — higher specificity wins */
.vrb-card .vrb-card-about {
  padding-bottom: 8px; /* buffer so footer overlap doesn't expose content */
}
.vrb-card .vrb-card-about + .vrb-card-footer {
  margin-top: -8px; /* pull footer up exactly the flex gap distance */
}

/* Responsive — card */
@media (max-width: 600px) {
  .vrb-card { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════════════════════
   SELECTED VOLUNTEER BLOCK (svb-*) — Figma node 1457:26341
   Outer width 738px, body padding 30 24, title 36px
   ══════════════════════════════════════════════════════════════════════════ */

.svb-page {
  width: 100%;
  background: #fff5f0;
  min-height: 60vh;
  padding: clamp(40px, 5vw, 64px) clamp(16px, 4vw, 32px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Header — gap 16px between title and subtitle, both centered */
.svb-page-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1032px;
  text-align: center;
  margin: 0;
}
.svb-page-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.3;
  color: #1d2026;
  margin: 0;
  padding: 0;
  text-transform: capitalize;
  max-width: 819px;
}
.svb-page-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.5;
  color: #4d4d4d;
  margin: 0;
  padding: 0;
}

/* Filter Bar — same as avb */
.svb-filter-bar {
  width: 100%;
  max-width: 1320px;
  background: #fefefe;
  border-radius: 8px;
  padding: 16px 32px;
  display: flex;
  align-items: stretch;
  gap: 30px;
  flex-wrap: nowrap;
  box-sizing: border-box;
  margin: 0;
}
.svb-search-wrap {
  flex: 1 1 0;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f9f3ef;
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  padding: 16px;
}
.svb-search-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-dgf-dark); opacity: 0.55; }
.svb-search-input {
  flex: 1; border: none; background: transparent;
  font-family: "Roboto", "Inter", sans-serif; font-weight: 500;
  font-size: 14px; line-height: 20px; color: var(--color-dgf-dark);
  outline: none; min-width: 0;
}
.svb-search-input::placeholder { color: var(--color-dgf-dark); opacity: 0.7; }

.svb-filter-btns { display: flex; align-items: stretch; gap: 30px; flex-shrink: 0; }
.svb-filter-btn {
  background: #f7e9dd;
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  padding: 16px 32px;
  font-family: "Roboto", "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-dgf-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.svb-filter-btn:hover { background: #f2dcc8; }
.svb-filter-btn.svb-filter-active {
  background: #f2994a; color: #ffffff; border-color: #f2994a;
}

/* Detail Card — w 738px, bg #fcf8f6, drop-shadow, pb 24, gap 20 between body and details */
.svb-content {
  width: 100%;
  max-width: 738px;
  background: #fcf8f6;
  border-radius: 6px;
  filter: drop-shadow(2px 4px 4px rgba(0, 0, 0, 0.25));
  margin: 0 auto;
  padding: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Empty state */
.svb-empty {
  background: #fefefe;
  border-radius: 6px;
  margin: 0;
  padding: 48px 24px;
  text-align: center;
  color: #6b7280;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.svb-back-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-dgf-teal); color: #ffffff;
  padding: 12px 24px; border-radius: 6px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 14px;
  text-decoration: none; margin-top: 16px;
}

.svb-back-link {
  align-self: flex-start;
  margin: 16px 24px 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--color-dgf-teal); text-decoration: none;
}
.svb-back-link:hover { text-decoration: underline; color: var(--color-dgf-teal-dark); }
.svb-deco { display: none; }

/* Body card — top white box (icon-title row, badge, desc list) padding 30 24, gap 16 */
.svb-body {
  background: #fefefe;
  border-radius: 6px;
  margin: 0;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}
/* Icon + Title vertically stacked, gap 14px (Figma) */
.svb-icon-title-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}
.svb-icon-wrap {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; overflow: hidden;
  background: transparent;
  margin: 0;
  flex-shrink: 0;
}
.svb-icon-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svb-icon-ph {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; background: #f3f6f9; border-radius: 12px;
}

.svb-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.5;
  color: var(--color-dgf-dark);
  margin: 0;
  padding: 0;
  text-transform: capitalize;
}

.svb-badge-wrap {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.svb-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fdeade !important;       /* Figma — overrides any inline badgeBg from saved data */
  color: #ff6636 !important;
  padding: 8px 20px;
  border-radius: 29px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 1px;
  text-transform: capitalize;
  width: fit-content;
}

/* Body description rendered as bulleted UL (Figma) */
.svb-desc-list {
  margin: 0;
  padding: 0 0 0 27px;
  list-style: disc;
  width: 100%;
}
.svb-desc-list li {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #4d4748;
  margin: 0;
}

/* Details accordion — between body and details box, padding 0 24 */
.svb-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 24px;
  margin: 0;
}
.svb-details-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  cursor: pointer;
  background: transparent;
  user-select: none;
}
.svb-details-label {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-dgf-dark);
  text-transform: capitalize;
}
.svb-details-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-dgf-dark);
  transition: transform 0.22s;
}
.svb-details-arrow.svb-arrow-open { transform: rotate(180deg); }

/* Inner white details box — padding 24, gap 20, bg #fefefe */
.svb-details-body {
  background: #fefefe;
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Section: gap 6 between title and content */
.svb-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}
/* 1px divider between consecutive sections / quiz */
.svb-section + .svb-section::before,
.svb-section + .svb-quiz-wrap::before,
.svb-quiz-wrap + .svb-section::before {
  content: "";
  display: block;
  height: 1px;
  background: #e8eaed;
  margin: 0 0 14px;
}
.svb-section-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-dgf-dark);
  margin: 0;
  padding: 0;
}
.svb-section-list {
  margin: 0;
  padding-left: 27px;
  list-style: disc;
}
.svb-section-list li {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #4d4748;
  margin: 0;
}
/* (svb-section-val no longer used — value sections now render as <ul> with single bullet) */

/* Quiz link */
.svb-quiz-wrap {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #4d4d4d;
  margin: 0;
  padding: 0 0 0 27px;
}
.svb-quiz-label { font-weight: 400; color: #4d4d4d; }
.svb-quiz-link { color: #3846ff; text-decoration: none; word-break: break-all; }
.svb-quiz-link:hover { text-decoration: underline; }

/* Apply button — full width, h 54px, bg var(--color-dgf-teal) */
.svb-apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  background: var(--color-dgf-teal);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  margin: 0;
  padding: 0 10px;
  transition: background 0.2s ease;
}
.svb-apply-btn:hover { background: var(--color-dgf-teal-dark); color: #ffffff; }
.svb-apply-btn:active { background: #2d6880; }

/* Responsive — Selected Volunteer */
@media (max-width: 1024px) {
  .svb-filter-bar { flex-wrap: wrap; padding: 14px 18px; gap: 16px; }
  .svb-search-wrap { flex: 1 1 100%; padding: 14px; }
  .svb-filter-btns { gap: 12px; flex-wrap: wrap; flex: 1 1 100%; }
  .svb-filter-btn { padding: 12px 22px; }
}
@media (max-width: 600px) {
  .svb-page { padding: 32px 16px; gap: 20px; }
  .svb-body { padding: 24px 18px; }
  .svb-details { padding: 0 18px; }
  .svb-details-body { padding: 20px 18px; }
  .svb-details-label { font-size: 20px; }
}

/* ── END Volunteer Blocks ─────────────────────────────────────────────────── */

/* (Volunteer Form Block styles moved to src/volunteer-form-block/style.css) */


/* ══════════════════════════════════════════════════════════════════════════════
   vsb-* — Volunteer Selected By Form Block
   ══════════════════════════════════════════════════════════════════════════════ */

.vsb-section {
  width: 100%;
  padding: 64px 0;
}

.vsb-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

/* Header */
.vsb-header {
  text-align: center;
}
.vsb-section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 46px;
  line-height: 60px;
  color: #1d2026;
  margin: 0 0 12px;
  text-transform: capitalize;
}
.vsb-section-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #4d4d4d;
  max-width: 1032px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Filter bar */
.vsb-filter-bar {
  background: #fefefe;
  border-radius: 8px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.vsb-search-wrap {
  flex: 1 1 220px;
  position: relative;
  display: flex;
  align-items: center;
}
.vsb-search-icon {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: #9ca3af;
  pointer-events: none;
  flex-shrink: 0;
}
.vsb-search-input {
  width: 100%;
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  padding: 16px 16px 16px 46px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-dgf-dark);
  background: #f9f3ef;
  box-sizing: border-box;
  transition: border-color 0.18s ease;
}
.vsb-search-input:focus {
  border-color: #ff6636;
  outline: none;
}
.vsb-filter-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.vsb-filter-btn {
  background: #f7e9dd;
  color: var(--color-dgf-dark);
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  padding: 16px 32px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.vsb-filter-btn:hover {
  background: #fde8df;
  color: #ff6636;
  border-color: #ff6636;
}
.vsb-filter-btn.vsb-filter-active {
  background: #ff6636;
  color: #fff;
  border-color: #ff6636;
}

/* Cards grid */
.vsb-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

/* Card */
.vsb-card {
  background: #fcf8f6;
  border-radius: 6px;
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
  transition: box-shadow 0.2s ease;
}
.vsb-card.vsb-card-highlighted {
  box-shadow: 0 0 0 3px #ff6636, 2px 4px 4px rgba(0, 0, 0, 0.25);
}

/* Card header — flex column: icon on top, then text group below */
.vsb-card-header {
  background: #fefefe;
  border-radius: 6px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
}
.vsb-card-icon {
  width: 72px;
  height: 72px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  flex-shrink: 0;
  background: #f3f6f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vsb-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.vsb-card-icon-placeholder {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #9ca3af;
}
/* Text group: title → tags → description, stacked with 16px gap */
.vsb-card-header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}
.vsb-card-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  color: var(--color-dgf-dark);
  margin: 0;
  text-transform: capitalize;
}
.vsb-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vsb-card-tag {
  background: #fdeade;
  color: #ff6636;
  padding: 8px 20px;
  border-radius: 29px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 1px;
}

/* Short description — inside card header */
.vsb-card-desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #4d4d4d;
  margin: 0;
  width: 100%;
}

/* Details wrap — 15px margin each side inside card */
.vsb-card-details-wrap {
  margin: 0 15px;
  display: flex;
  flex-direction: column;
}

/* Accordion toggle */
.vsb-card-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--color-dgf-dark);
  transition: color 0.15s ease;
}
.vsb-card-details-header:hover {
  color: #ff6636;
}
.vsb-acc-arrow {
  width: 24px;
  height: 24px;
  color: #6b7280;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Accordion body */
.vsb-card-details-body {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  background: #fefefe;
  border-radius: 6px;
  padding: 24px;
  align-self: stretch;
}
.vsb-card-details-body.vsb-open {
  display: flex;
}

/* Detail sections */
.vsb-detail-section {
  width: 100%;
}
.vsb-detail-section h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-dgf-dark);
  margin: 0 0 6px;
}
.vsb-detail-section p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #4d4d4d;
  line-height: 1.5;
  margin: 0;
}
.vsb-detail-section ul {
  margin: 0;
  padding-left: 27px;
  list-style: disc;
}
.vsb-detail-section li {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #4d4d4d;
  line-height: 1.5;
}
.vsb-detail-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0;
}

/* CTA button */
.vsb-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dgf-teal);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 16px 10px;
  height: 54px;
  width: 100%;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease;
  box-sizing: border-box;
}
.vsb-cta-btn:hover {
  background: var(--color-dgf-teal-dark);
  color: #fff;
}
.vsb-cta-btn.vsb-cta-btn-nohref {
  cursor: default;
  opacity: 0.75;
}

/* No results */
.vsb-no-results {
  text-align: center;
  color: #6b7280;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  padding: 32px;
  grid-column: 1 / -1;
}

/* Responsive — Volunteer Selected By Form */
@media (max-width: 1100px) {
  .vsb-cards-grid { gap: 30px; }
  .vsb-filter-btn { padding: 12px 20px; }
}
@media (max-width: 1024px) {
  .vsb-filter-bar { padding: 14px 20px; gap: 16px; }
  .vsb-search-wrap { flex: 1 1 100%; }
  .vsb-filter-btns { flex: 1 1 100%; }
}
@media (max-width: 768px) {
  .vsb-section { padding: 40px 0; }
  .vsb-inner { padding: 0 20px; gap: 20px; }
  .vsb-section-title { font-size: 32px; line-height: 1.3; }
  .vsb-section-subtitle { font-size: 16px; }
  .vsb-cards-grid { grid-template-columns: 1fr; gap: 24px; }
  .vsb-filter-bar { padding: 14px 16px; }
  .vsb-card-title { font-size: 26px; }
  .vsb-card-details-header { font-size: 20px; }
  .vsb-card-details-wrap { margin: 0 10px; }
  .vsb-card-desc { font-size: 16px; }
  .vsb-detail-section h4 { font-size: 16px; }
  .vsb-detail-section p,
  .vsb-detail-section li { font-size: 16px; }
}
@media (max-width: 480px) {
  .vsb-inner { padding: 0 16px; }
  .vsb-card-header { padding: 20px 16px; }
  .vsb-card-title { font-size: 22px; }
  .vsb-card-details-header { font-size: 18px; }
  .vsb-card-details-body { padding: 16px; }
  .vsb-card-details-wrap { margin: 0 8px; }
  .vsb-card-desc,
  .vsb-detail-section h4,
  .vsb-detail-section p,
  .vsb-detail-section li { font-size: 15px; }
}

/* ── END Volunteer Form Blocks ────────────────────────────────────────────── */

/* ── Privacy Policy Page ──────────────────────────────────────────────────── */

/* Padding fix — Group block padding not applied by FSE, use CSS instead */
.page-id-11894 .wp-block-post-content,
.page-id-11894 .entry-content,
.page-id-11894 .wp-block-group,
.page-id-11911 .wp-block-post-content,
.page-id-11911 .entry-content ,
.page-id-12095 .wp-block-group,
.page-id-12167 .wp-block-group
 {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px !important;
  padding-right: 10px !important;
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  .page-id-11894 .wp-block-post-content,
  .page-id-11894 .entry-content,
  .page-id-11894 .wp-block-group,
  .page-id-12095 .wp-block-group,
  .page-id-12167 .wp-block-group
 {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ── Our Founder Members Page (ID: 12067) ─────────────────────────────────── */
.page-id-12067 .wp-block-post-content,
.page-id-12067 .entry-content,
.page-id-12067 .wp-block-group {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px !important;
  padding-right: 10px !important;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .page-id-12074 .wp-block-post-content,
  .page-id-12074 .entry-content,
  .page-id-12074 .wp-block-group {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
/* ── END Our Founder Members Page ────────────────────────────────────────── */
.wp-block-post-content ul,
.entry-content ul,
.wp-block-group ul {
  list-style-type: disc !important;
  padding-left: 1.5rem !important;
  margin-bottom: 1rem;
}

.wp-block-post-content ol,
.entry-content ol,
.wp-block-group ol {
  list-style-type: decimal !important;
  padding-left: 1.5rem !important;
  margin-bottom: 1rem;
}

.wp-block-post-content li,
.entry-content li,
.wp-block-group li {
  display: list-item !important;
  list-style: inherit !important;
  margin-bottom: 0.4rem;
  font-size: 15px;
  line-height: 1.7;
}

/* Privacy page headings */
.wp-block-post-content h3,
.wp-block-group h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
  color: #1a1a1a;
}

/* Privacy page paragraphs */
.wp-block-post-content p,
.wp-block-group p {
  line-height: 1.75;
  margin-bottom: 0.75rem;
  font-size: 15px;
  color: #374151;
}
/* ── END Privacy Policy Page ─────────────────────────────────────────────── */

/* ── Terms & Conditions Page ─────────────────────────────────────────────── */



@media (max-width: 768px) {
  .page-id-11911 .wp-block-post-content,
  .page-id-11911 .entry-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
/* ── END Terms & Conditions Page ─────────────────────────────────────────── */
