.cta-band {
  font-family: 'Inter', sans-serif;
  padding: 56px 16px;
  container-type: inline-size;
}
.cta-band *, .cta-band *::before, .cta-band *::after { box-sizing: border-box; }

.cta-band__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px 40px;
  padding: clamp(34px, 4.5vw, 60px) clamp(24px, 4vw, 64px);
  border-radius: clamp(22px, 2.4vw, 32px);
  color: #FCFEFF;
  background:
    radial-gradient(circle at 10% 0%, rgba(88, 93, 230, 0.55), rgba(88, 93, 230, 0) 45%),
    radial-gradient(circle at 95% 100%, rgba(230, 69, 92, 0.40), rgba(230, 69, 92, 0) 45%),
    #0D2C73;
  box-shadow: 0 30px 60px -30px rgba(13, 44, 115, 0.6);
}
.cta-band__inner--center { flex-direction: column; justify-content: center; text-align: center; }

.cta-band__text { flex: 1 1 460px; min-width: 0; }
.cta-band__inner--center .cta-band__text { flex: none; max-width: 760px; }

.cta-band__title {
  margin: 0;
  font-family: var(--ff-accent, 'Poppins'), sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #FCFEFF;
}
.cta-band__sub {
  margin: 12px 0 0;
  max-width: none;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(252, 254, 255, 0.82);
}

/* Button: the label wraps inside the button instead of spilling out of it */
.cta-band__btn {
  display: inline-block;
  flex: 0 1 auto;
  max-width: 100%;
  padding: 20px 44px;
  border-radius: 14px;
  background: #fff;
  color: #0D2C73;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
  transition: background .2s ease, transform .2s ease;
}
.cta-band__btn:hover { background: #E9EAFF; color: #0D2C73; transform: translateY(-1px); }
.cta-band__btn:focus-visible { outline: 3px solid rgba(252, 254, 255, .6); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .cta-band__btn { transition: none; } }
@media (max-width: 700px) {
  .cta-band { padding: 40px 16px; }
}

/* Stack the band and make the button full width whenever the band itself is narrow,
   including when it sits in a narrow column on a wide screen (blog sidebar, article column) */
@container (max-width: 700px) {
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__text { flex: none; width: 100%; }
  .cta-band__btn { width: 100%; padding: 18px 24px; }
  .cta-band__inner--center { align-items: center; }
}
/* Same behaviour on phones for browsers without container query support */
@supports not (container-type: inline-size) {
  @media (max-width: 700px) {
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .cta-band__text { flex: none; width: 100%; }
    .cta-band__btn { width: 100%; padding: 18px 24px; }
    .cta-band__inner--center { align-items: center; }
  }
}