/* VIZ009: Page 60 only. Preserve saved order, content, typography and media. */
body.page-id-60:not(.home) .spk-page__content > .spk-section + .spk-section {
  margin-block-start: 0;
}

/* Existing adult/events/final curves remain unchanged. Add the missing mist
   transition after adults using the already accepted shallow curve. */
body.page-id-60:not(.home) .spk-page__content > .spk-adults + .spk-stories {
  position: relative;
}
body.page-id-60:not(.home) .spk-page__content > .spk-adults + .spk-stories::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: calc(var(--breganja-curve-band, 54px) / -2);
  height: var(--breganja-curve-band, 54px);
  background: var(--wp--preset--color--mist);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1265 100' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 50 C180 50 230 20 440 10 C710 -4 1040 46 1265 40 L1265 100 H0 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 1;
}

/* The gym photo starts at the section edge. Paint only the previous mist
   surface over that edge, instead of adding an opaque dark strip to the photo.
   This leaves the carousel frame, crop, focal point and controls unchanged. */
body.page-id-60:not(.home) .spk-page__content > .spk-stories:has(+ .spk-gym) {
  position: relative;
  z-index: 2;
}
body.page-id-60:not(.home) .spk-page__content > .spk-stories:has(+ .spk-gym)::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: calc(100% - 1px);
  height: calc(var(--breganja-curve-band, 54px) / 2 + 1px);
  background: var(--wp--preset--color--mist);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1265 100' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0 H1265 V40 C1040 46 710 -4 440 10 C230 20 180 50 0 50 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 1;
}
