/**
 * Nexa: “Let’s Taste It” — theme `.component--animation .title` is huge + split
 * left/right for “Join the ride”; center and scale down for Nexa copy.
 */
@media (min-width: 1101px) {
  .nexa-animation-cta.component--animation .sticky > .title.--jumbo {
    white-space: normal !important;
    text-align: center !important;
    font-size: clamp(2rem, 4.2vw, 3.25rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em;
    max-width: min(92vw, 42rem);
    padding-left: max(16px, min(4vw, 48px));
    padding-right: max(16px, min(4vw, 48px));
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .nexa-animation-cta.component--animation .sticky > .title.--jumbo.--1 {
    left: 50% !important;
    right: auto !important;
    top: 38% !important;
    transform: translate(-50%, -50%) !important;
    width: min(92vw, 42rem);
  }

  .nexa-animation-cta.component--animation .sticky > .title.--jumbo.--2 {
    left: 50% !important;
    right: auto !important;
    top: 48% !important;
    transform: translate(-50%, -50%) !important;
    width: min(92vw, 42rem);
  }

  .nexa-animation-cta.component--animation .sticky > .title.--jumbo p {
    margin: 0;
    text-align: center;
  }
}

@media (max-width: 1100px) {
  .nexa-animation-cta.component--animation .title.--xlarge {
    font-size: clamp(1.85rem, 7.5vw, 2.65rem) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    max-width: min(92vw, 22rem);
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }
}

/* Theme uses full-viewport height + absolute stacking — leaves a large empty band below the CTAs */
@media (min-width: 1101px) {
  .nexa-animation-cta.component--animation {
    height: min(72vh, 760px) !important;
  }

  .nexa-animation-cta.component--animation .sticky {
    height: 100% !important;
  }

  .nexa-animation-cta.component--animation .sticky .actions {
    top: auto !important;
    bottom: clamp(0.65rem, 2vh, 1.1rem) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    flex-direction: row !important;
    align-items: center !important;
  }
}

@media (max-width: 1100px) {
  .nexa-animation-cta.component--animation {
    height: min(78svh, 600px) !important;
  }

  .nexa-animation-cta.component--animation .sticky {
    height: 100% !important;
  }

  .nexa-animation-cta.component--animation .sticky .actions {
    top: auto !important;
    bottom: clamp(0.5rem, 2vmin, 0.85rem) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    flex-direction: column !important;
    align-items: center !important;
  }
}
