.sunday-go-ahead {
  position: relative;
  min-height: clamp(420px, 56vw, 720px);
  overflow: hidden;
  color: var(--ss-white);
  font-family: var(--ss-font-body);
}

.sunday-go-ahead__media {
  position: absolute;
  inset: 0;
}

.sunday-go-ahead img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sunday-go-ahead--image-original img {
  object-fit: contain;
}

.sunday-go-ahead--image-full-width {
  min-height: 0;
}

.sunday-go-ahead--image-full-width .sunday-go-ahead__media {
  position: relative;
}

.sunday-go-ahead--image-full-width img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sunday-go-ahead .ss-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  height: auto;
}

.sunday-go-ahead__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--ss-space-7);
  min-height: clamp(420px, 56vw, 720px);
  padding-block: var(--ss-space-9);
}

.sunday-go-ahead--image-full-width .sunday-go-ahead__inner {
  min-height: 100%;
}

/*
 * Title placement is driven by the section's percentage sliders.
 * left/top set the anchor point within the full-bleed section; the negative
 * self-relative translate makes 0% flush left/top and 100% flush right/bottom.
 * Positioned against the section (not .ss-container), so the title is free
 * to sit outside the page-width container.
 */
.sunday-go-ahead__title {
  position: absolute;
  z-index: 2;
  left: var(--sunday-go-ahead-title-x, 50%);
  top: var(--sunday-go-ahead-title-y, 50%);
  transform: translate(
    calc(-1 * var(--sunday-go-ahead-title-x, 50%)),
    calc(-1 * var(--sunday-go-ahead-title-y, 50%))
  );
  margin: 0;
  max-width: 100%;
  font-size: var(--ss-display-lg);
  line-height: 0.85;
}

.sunday-go-ahead__stamp {
  font-family: var(--ss-font-display);
  font-weight: var(--ss-font-weight-black);
  text-transform: uppercase;
  text-align: right;
  font-size: var(--ss-font-size-2xl);
  line-height: 0.9;
  margin: 0;
}

.sunday-go-ahead__stamp--image img {
  position: relative;
  inset: auto;
  display: block;
  width: auto;
  height: auto;
  max-width: min(280px, 28vw);
  max-height: clamp(72px, 10vw, 140px);
  object-fit: contain;
  object-position: right top;
}

@media (max-width: 820px) {
  .sunday-go-ahead__title {
    left: var(--sunday-go-ahead-title-x-mobile, 50%);
    top: var(--sunday-go-ahead-title-y-mobile, 50%);
    transform: translate(
      calc(-1 * var(--sunday-go-ahead-title-x-mobile, 50%)),
      calc(-1 * var(--sunday-go-ahead-title-y-mobile, 50%))
    );
  }
}
