.text-and-headline-section {
  width: 100%;
  min-width: 0;
  background: #f6efdf;
  padding: 48px 24px;
  box-sizing: border-box;
}

.text-and-headline-section__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  box-sizing: border-box;
}

/* ── Headline (left side) ── */
.text-and-headline-section__headline-wrap {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 48px;
  box-sizing: border-box;
}

.text-and-headline-section__headline {
  margin: 0;
  max-width: 545px;
  width: 100%;
  overflow-wrap: break-word;
  color: #17407d;
  font-family: "Outfit", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.48px;
  text-transform: uppercase;
}

/* ── Content card (right side) ── */
.text-and-headline-section__content-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  flex: 1;
  max-width: 751px;
  min-width: 0;
  box-sizing: border-box;
  padding: 32px;
  background: #eee6d4;
}

.text-and-headline-section__copy {
  max-width: 623px;
  width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  color: #001d44;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.text-and-headline-section__copy p {
  margin: 0 0 24px;
}

.text-and-headline-section__copy p:last-child {
  margin-bottom: 0;
}

.text-and-headline-section__copy img,
.text-and-headline-section__copy video,
.text-and-headline-section__copy table {
  max-width: 100%;
  height: auto;
}

.text-and-headline-section__copy strong,
.text-and-headline-section__copy b {
  font-weight: 700;
}

.text-and-headline-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 15px 30px;
  border: 0;
  background: #377ee4;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 15.6px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.188px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.text-and-headline-section__cta:focus-visible {
  outline: 2px solid #17407d;
  outline-offset: 2px;
}

@media (max-width: 992px) {
  .text-and-headline-section__inner {
    flex-direction: column;
    gap: 48px;
  }

  .text-and-headline-section__headline-wrap {
    min-height: auto;
    padding: 0;
  }
}
/* ══════════════════════════════════════════
   Mobile (≤ 768px)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .text-and-headline-section {
    padding: 48px 12px;
  }

  .text-and-headline-section__headline {
    max-width: 337px;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .text-and-headline-section__content-card {
    width: 100%;
    min-height: auto;
    padding: 32px 16px;
    gap: 24px;
  }

  .text-and-headline-section__copy {
    max-width: 337px;
    font-size: 16px;
    line-height: 1.2;
  }

  .text-and-headline-section__cta {
    display: inline-flex;
  }
}
