/* Shared pre-footer CTA alignment.
   Use the same page container as the content above it instead of a narrow,
   centered 880–900px block. The homepage's separate CTA is not targeted. */
body[data-theme] .cta-band > .container.cta-inner {
  box-sizing: border-box !important;
  width: min(var(--max, 1280px), calc(100% - 112px)) !important;
  max-width: var(--max, 1280px) !important;
  margin-inline: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr) !important;
  align-items: center !important;
  justify-items: stretch !important;
  gap: clamp(30px, 4vw, 64px) !important;
  padding: clamp(44px, 4.7vw, 62px) 0 !important;
  text-align: left !important;
}

body[data-theme] .cta-band > .container.cta-inner > div:first-child {
  width: 100%;
  min-width: 0;
  justify-self: start;
  text-align: left !important;
}

body[data-theme] .cta-band > .container.cta-inner > div:first-child .eyebrow {
  justify-content: flex-start !important;
  text-align: left !important;
}

body[data-theme] .cta-band .cta-action {
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 !important;
  display: grid !important;
  justify-items: start !important;
  text-align: left !important;
}

body[data-theme] .cta-band .cta-action p {
  max-width: 52ch !important;
  margin: 0 0 22px !important;
  text-align: left !important;
}

body[data-theme] .cta-band .cta-actions {
  justify-content: flex-start !important;
  align-items: center !important;
}

body[data-theme] .cta-band h2 {
  text-align: left !important;
}

@media (max-width: 950px) {
  body[data-theme] .cta-band > .container.cta-inner {
    width: calc(100% - 72px) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
    padding-block: 46px 50px !important;
  }

  body[data-theme] .cta-band .cta-action {
    max-width: 620px !important;
  }
}

@media (max-width: 700px) {
  body[data-theme] .cta-band > .container.cta-inner {
    width: calc(100% - 36px) !important;
    gap: 17px !important;
    padding-block: 40px 44px !important;
  }

  body[data-theme] .cta-band > .container.cta-inner > div:first-child .eyebrow {
    margin-bottom: 14px !important;
  }

  body[data-theme] .cta-band .cta-action p {
    margin-bottom: 17px !important;
    font-size: .86rem !important;
    line-height: 1.6 !important;
  }
}

/* v2 — align the right-side CTA message and action as one right-anchored group. */
body.premium-site[data-theme] .cta-band .cta-action {
  justify-self: end !important;
  justify-items: end !important;
  text-align: right !important;
  margin-left: auto !important;
}
body.premium-site[data-theme] .cta-band .cta-action > p {
  width: 100% !important;
  max-width: 52ch !important;
  margin-left: auto !important;
  text-align: right !important;
}
body.premium-site[data-theme] .cta-band .cta-action .cta-actions {
  width: 100% !important;
  justify-content: flex-end !important;
  align-items: center !important;
}
body.premium-site[data-theme] .cta-band .cta-action > .button {
  justify-self: end !important;
}
@media (max-width: 950px) {
  body.premium-site[data-theme] .cta-band .cta-action {
    justify-self: stretch !important;
    justify-items: start !important;
    margin-left: 0 !important;
    text-align: left !important;
  }
  body.premium-site[data-theme] .cta-band .cta-action > p {
    margin-left: 0 !important;
    text-align: left !important;
  }
  body.premium-site[data-theme] .cta-band .cta-action .cta-actions {
    justify-content: flex-start !important;
  }
}
@media (max-width: 700px) {
  body.premium-site[data-theme] .cta-band .cta-action {
    width: 100% !important;
    max-width: none !important;
    justify-items: stretch !important;
  }
  body.premium-site[data-theme] .cta-band .cta-action .cta-actions {
    width: 100% !important;
    display: flex !important;
  }
  body.premium-site[data-theme] .cta-band .cta-action .cta-actions > .button,
  body.premium-site[data-theme] .cta-band .cta-action > .button,
  body.premium-site[data-theme] .cta-band .coach-select-card > .button {
    box-sizing: border-box !important;
    display: inline-flex !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 48px !important;
    justify-content: center !important;
    text-align: center !important;
  }
  body.premium-site[data-theme] .cta-band .coach-select-grid {
    width: 100% !important;
  }
}