.landing-page-heading {
  box-sizing: border-box;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: #e8edf2;
  font-family: "Teva Sans", Arial, sans-serif;
}

/**
 * Homepage hero.
 */
.homepage {
  box-sizing: border-box;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  color: var(--color-brand-navy);
  font-family: "Teva Sans", Arial, sans-serif;
  background: #e8edf2;
}

.homepage *,
.homepage *::before,
.homepage *::after {
  box-sizing: inherit;
}

.homepage__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.homepage__copy {
  width: 100%;
  padding: 32px 20px 40px;
}

.homepage__heading-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.homepage__eyebrow {
  margin: 0;
  color: var(--color-brand-teal);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
}

.homepage__eyebrow span {
  color: #ae1e9b;
}

.homepage-heading,
.homepage__title,
.homepage__title .field,
.homepage__title p {
  width: 100%;
  margin: 0;
}

.homepage__title,
.homepage__title p {
  color: var(--color-brand-navy);
  font-family: "Teva Sans", Arial, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.08;
}

.homepage__content {
  width: 100%;
  margin-block-start: 32px;
}

.homepage__content .field--name-field-page-components {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 680px;
  padding: 0;
  margin: 0;
}

.homepage__content .field--name-field-page-components > .page-component {
  width: 100%;
  margin: 0;
}

.homepage__content .body-section {
  gap: 0;
  color: var(--color-brand-navy);
}

.body-section__body {
  font-size: 17px;
  line-height: 23px;
  color: var(--brand-text-body);

  & p {
    color: inherit;
  }
}

.homepage__content .body-section__body p {
  margin: 0 0 8px;
}

.homepage__content .body-section__body p:nth-child(1),
.homepage__content .body-section__body p:nth-child(2) {
  opacity: 0.8;
}

.homepage__content .body-section__body p:nth-child(2) {
  margin-block-end: 0;
}

.homepage__content .body-section__body p:nth-child(3) {
  margin: 20px 0 0;
  color: #374151;
  font-size: 18px;
  line-height: 24px;
}

.homepage__content .page-component:last-child {
  margin-block-start: 20px;
}

.homepage__content .page-component:last-child .body-section__body,
.homepage__content .page-component:last-child .body-section__body p {
  margin: 0;
  color: #374151;
  font-size: 17px;
  line-height: 24px;
  opacity: 1;
}

.homepage__visual {
  position: relative;
  order: -1;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.homepage__visual-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
  border-radius: 96px 0 0;
}

.homepage__visual-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homepage__visual-layer--wide {
  left: 0;
  width: 100%;
}

.homepage__visual-layer--medium {
  left: 18%;
  width: 82%;
  box-shadow: 4px 4px 20px rgb(0 0 0 / 40%);
}

.homepage__visual-layer--narrow {
  left: 36%;
  width: 64%;
  box-shadow: 4px 4px 20px rgb(0 0 0 / 40%);
}

.cta {
  display: flex;
  align-items: flex-start;
}

.cta__link::after {
  width: 12px;
  height: 12px;
  content: "";
  background: url("../assets/arrow-right-white.svg") center / 12px 12px no-repeat;
}

.homepage .cta__link {
  font-size: 14px;
  letter-spacing: -0.3px;
}

.cta--secondary .cta__link::after {
  filter: brightness(0) saturate(100%) invert(48%) sepia(17%) saturate(1665%) hue-rotate(75deg) brightness(91%);
}

.context-box--has-components .page-component section.two-column-box {
  padding: 28px 36px;
}

@media (min-width: 768px) {
  .body-section__body {
    font-size: 18px;
    line-height: 24px;
  }

  .homepage__visual {
    height: 340px;
  }
}

@media (min-width: 900px) {
  .homepage__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(360px, 36.1111vw, 520px);
    gap: clamp(32px, 5.5556vw, 80px);
    min-height: 775px;
    padding-inline-start: clamp(40px, 8.3333vw, 120px);
  }

  .homepage__copy {
    max-width: 720px;
    padding: 48px 0 60px;
  }

  .homepage__eyebrow {
    font-size: 18px;
  }

  .homepage__title p {
    font-size: 48px;
  }

  .homepage__content {
    margin-block-start: 40px;
  }

  .homepage__visual {
    order: initial;
    align-self: stretch;
    width: 100%;
    height: auto;
  }

  .homepage__visual-layer {
    border-radius: 160px 0 0;
  }

  .homepage__visual-layer--wide {
    left: 0;
    width: 100%;
  }

  .homepage__visual-layer--medium {
    left: 100px;
    width: calc(100% - 100px);
  }

  .homepage__visual-layer--narrow {
    left: 200px;
    width: calc(100% - 200px);
  }
}

@media (min-width: 900px) and (max-width: 1240px) {
  .homepage__inner {
    gap: 36px;
    padding-inline-start: 48px;
  }

  .homepage__title p {
    font-size: clamp(38px, 3.75vw, 46px);
  }

  .homepage__visual-layer--medium {
    left: 19%;
    width: 81%;
  }

  .homepage__visual-layer--narrow {
    left: 38%;
    width: 62%;
  }
}

@media (min-width: 1241px) {
  .homepage__inner {
    grid-template-columns: 720px minmax(520px, 1fr);
    gap: 80px;
    max-width: none;
    padding-inline-start: max(120px, calc((100vw - 1440px) / 2 + 120px));
  }
}

.landing-page-heading *,
.landing-page-heading *::before,
.landing-page-heading *::after {
  box-sizing: inherit;
}

.landing-page-heading__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.landing-page-heading__media {
  order: 1;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(90deg, #f5faff, #ebf7fc);
  border-radius: 140px 0 0;
}

.landing-page-heading__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 140px 0 0;
}

.landing-page-heading__copy {
  display: flex;
  order: 2;
  align-items: center;
  min-height: 92px;
  padding: 28px 20px;
}

.landing-page-heading__title {
  width: 100%;
  margin: 0;
  color: var(--color-brand-navy);
  font-size: 32px;
  font-weight: 700;
  line-height: 36px;
}

.landing-page-heading__accent {
  color: var(--color-brand-green);
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .landing-page-heading__inner {
    position: relative;
    display: block;
    max-width: none;
    height: 200px;
    overflow: hidden;
  }

  .landing-page-heading__media {
    position: absolute;
    top: 0;
    right: 0;
    left: min(63.8889%, calc(50% + 200px));
    width: auto;
    height: 200px;
  }

  .landing-page-heading__copy {
    position: absolute;
    top: 0;
    left: max(8.3333%, calc(50% - 600px));
    width: min(50%, 720px);
    height: 200px;
    min-height: 0;
    padding: 0;
  }

  .landing-page-heading__title {
    font-size: 48px;
    line-height: 1.08;
  }
}
