#comments,
.comments-area,
.comment-respond,
#respond {
  display: none !important;
}

/* =========================================================
   VOLUNTEER PAGE STYLING
   Wrapper class: .volunteer-page
   ========================================================= */

/* Center content and control width */
.volunteer-page .entry-content,
.volunteer-page .wp-site-blocks {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

/* Headline spacing */
.volunteer-page h1,
.volunteer-page .wp-block-post-title {
  margin-bottom: 12px;
}

.volunteer-page .entry-content > p:first-of-type {
  margin-bottom: 26px;
  max-width: 70ch;
}

/* “Message to volunteers” heading */
.volunteer-page h2 {
  margin-top: 26px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  max-width: 70ch;
}

/* =========================
   VIDEO FIXES
   ========================= */

.volunteer-page .wp-block-videopress,
.volunteer-page figure.wp-block-video,
.volunteer-page .wp-block-video {
  margin: 0 auto 28px auto;
  max-width: 980px;
}

/* Prevent face crop */
.volunteer-page .wp-block-videopress video,
.volunteer-page figure.wp-block-video video,
.volunteer-page .wp-block-video video {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 16px;
  overflow: hidden;
  display: block;
}

/* If VideoPress uses iframe */
.volunteer-page .wp-block-videopress iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  border-radius: 16px;
  overflow: hidden;
}

/* Space between video and form */
.volunteer-page .wp-block-videopress + .wp-block-group,
.volunteer-page figure.wp-block-video + .wp-block-group {
  margin-top: 22px;
}

/* =========================
   FORM CARD POLISH
   ========================= */

.volunteer-page .wp-block-group.has-background {
  padding: 24px 24px;
  border-radius: 20px;
}

/* Button polish */
.volunteer-page .wp-block-button__link {
  border-radius: 999px;
  padding: 12px 22px;
}

/* Optional: reduce visual dominance of Donate/Issues inside this page */
.volunteer-page .wp-block-button.is-style-outline .wp-block-button__link {
  opacity: 0.9;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .volunteer-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .volunteer-page .wp-block-group.has-background {
    padding: 18px 16px;
  }

  .volunteer-page .wp-block-videopress,
  .volunteer-page .wp-block-video {
    margin-bottom: 20px;
  }
}
/* Force the embedded video to display as 9:16 on the volunteer page */
.volunteer-page .wp-block-videopress,
.volunteer-page figure.wp-block-videopress {
  max-width: 520px;         /* keeps it from looking huge */
  margin: 0 auto 24px auto; /* center it */
  aspect-ratio: 9 / 16 !important;
}

.volunteer-page .wp-block-videopress iframe,
.volunteer-page .wp-block-videopress video,
.volunteer-page .wp-block-videopress img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* shows full frame */
  background: #000;               /* avoids odd edges */
  border-radius: 16px;
}
/* Volunteer page HTML video embed */
.volunteer-page .volunteer-video{
  width: 100%;
  max-width: 420px;       /* vertical video size on mobile */
  margin: 0 auto 18px auto;
}

/* Force correct 9:16 display without cropping */
.volunteer-page .volunteer-video video{
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  display: block;
  border-radius: 16px;
  background: #000;       /* letterbox background */
  object-fit: contain;    /* show full frame */
}

/* Larger screens */
@media (min-width: 900px){
  .volunteer-page .volunteer-video{
    max-width: 520px;
  }
}
/* Desktop split layout: video left, form right */
.volunteer-page .volunteer-split{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 18px;
}

/* Let the video fill its column */
.volunteer-page .volunteer-split .volunteer-video{
  max-width: 100%;
  margin: 0;
}

/* Make the form card fill the right side cleanly */
.volunteer-page .volunteer-split .wp-block-group.has-background{
  margin: 0;
}

/* Responsive: stack on mobile */
@media (max-width: 900px){
  .volunteer-page .volunteer-split{
    display: block;
  }

  .volunteer-page .volunteer-video{
    max-width: 420px;
    margin: 0 auto 18px auto;
  }
}