/* Volunteers — Figma node 1272:1595 */

.volunteers-statement {
  --statement-height: 1065px;
  --statement-width: 980px;
  --statement-fade-height: 603px;
  --statement-image-position: center 44%;
}

/* This frame's fade holds white slightly less long than the shared one. */
.volunteers-statement::before {
  background: linear-gradient(
    180deg,
    #fff 45.2%,
    rgba(255, 255, 255, 0.75) 75%,
    rgba(255, 255, 255, 0) 100%
  );
}

.volunteers-statement .statement__content {
  gap: 20px;
}

.volunteers-statement .t-body-l,
.volunteers-ways .section-header > .t-body-l,
.volunteers-apply .section-header > .t-body-l {
  max-width: 680px;
}

.volunteers-ways {
  --section-gap: 80px;
}

.volunteers-ways .content-row--padded {
  gap: 64px;
}

.volunteers-ways .content-row__text .actions {
  padding-top: 12px;
}

@media (max-width: 1100px) {
  .volunteers-statement {
    --statement-height: 900px;
  }

  .volunteers-ways .content-row--padded {
    gap: 48px;
  }
}

@media (max-width: 760px) {
  .volunteers-ways {
    --section-gap: 48px;
  }

  .volunteers-ways .content-row--padded {
    gap: 32px;
  }
}

/* Phones: stack the photo under the copy so the skaters' jackets stay visible,
   fading only the photo's top edge into the copy. */
@media (max-width: 720px) {
  .volunteers-statement {
    --statement-height: 0px;
    --volunteers-photo-height: calc(100vw * 4 / 3);
    padding-bottom: 0;
  }

  .volunteers-statement::before {
    height: calc(100% - var(--volunteers-photo-height) + 120px);
    background: linear-gradient(180deg, #fff calc(100% - 120px), rgba(255, 255, 255, 0) 100%);
  }

  .volunteers-statement .statement__image {
    order: 1;
    position: relative;
    inset: auto;
    width: calc(100% + 2 * var(--gutter));
    max-width: none;
    height: var(--volunteers-photo-height);
    margin: -24px calc(-1 * var(--gutter)) 0;
  }
}
