.h2-section {
  --h2-section-bg: #e7ebf3;
  --h2-section-navy: #1b3b4d;
  --h2-section-gold: #c8a46a;

  position: relative;
  overflow: hidden;
  /* background: var(--h2-section-bg); */
  color: var(--h2-section-navy);
  padding-top: 48px;
}

.h2-section__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 739px) minmax(0, 740px);
  gap: 30px;
  align-items: start;
  width: min(1290px, calc(100% - 48px));
  min-height: 899px;
  margin: 0 auto;
  padding: 0 0 96px;
}

.h2-section--media-end .h2-section__inner {
  grid-template-columns: minmax(0, 740px) minmax(0, 739px);
}

.h2-section__content {
  width: min(740px, 100%);
  padding: 196px 0 96px;
  height: fit-content;
}

.h2-section__eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.h2-section__eyebrow-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--h2-section-navy);
}

.h2-section__eyebrow {
  color: var(--h2-section-navy);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: 0;
}

.h2-section__title {
  width: min(740px, 100%);
  margin: 0 0 24px;
  color: var(--h2-section-navy);
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: var(--fw-regular);
  line-height: 1.1;
  letter-spacing: 0;
}

.h2-section__title-highlight {
  color: var(--h2-section-gold);
}

.h2-section__body {
  width: min(740px, 100%);
  max-height: none;
  overflow: hidden;
  color: var(--h2-section-navy);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--fw-regular);
  line-height: 1.7;
  letter-spacing: 0;
  transition: max-height 260ms ease;
}

.h2-section.is-collapsible:not(.is-expanded) .h2-section__body {
  max-height: 238px;
}

.h2-section__body p {
  margin: 0 0 27px;
}

.h2-section__body p:last-child {
  margin-bottom: 0;
}

.h2-section__body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.h2-section__toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--h2-section-navy);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.h2-section.is-collapsible .h2-section__toggle {
  display: inline-flex;
}

.h2-section__toggle-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.h2-section__toggle-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.h2-section.is-expanded .h2-section__toggle-icon {
  transform: rotate(180deg);
}

.h2-section__toggle:hover,
.h2-section__toggle:focus-visible {
  color: var(--h2-section-gold);
}

.h2-section__toggle:focus-visible {
  outline: 2px solid var(--h2-section-gold);
  outline-offset: 4px;
}

.h2-section__media {
  position: relative;
  width: 739px;
  height: 899px;
  margin: 0 0 0 -219px;
  overflow: visible;
  border-radius: 0 16px 16px 0;
  background: #d9d9d9;
}

.h2-section--media-end .h2-section__media {
  margin: 0 -219px 0 0;
  border-radius: 16px 0 0 16px;
}

.h2-section__media::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 10px;
  top: 10px;
  width: 100%;
  height: 100%;
  border-radius: 0 16px 16px 16px;
  background: var(--h2-section-gold);
}

.h2-section--media-end .h2-section__media::before {
  left: -10px;
  border-radius: 16px 0 16px 16px;
}

.h2-section__media picture,
.h2-section__image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.h2-section__media picture {
  overflow: hidden;
}

.h2-section__image {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1399px) {
  .h2-section__inner {
    width: calc(100% - 96px);
    grid-template-columns: minmax(0, 43vw) minmax(0, 52vw);
  }

  .h2-section--media-end .h2-section__inner {
    grid-template-columns: minmax(0, 52vw) minmax(0, 43vw);
  }

  .h2-section__media {
    width: 43vw;
    margin-left: -48px;
  }

  .h2-section--media-end .h2-section__media {
    margin-right: -48px;
  }
}

@media (max-width: 1139px) {
  .h2-section__inner,
  .h2-section--media-end .h2-section__inner {
    min-height: auto;
    width: calc(100% - 80px);
    padding: 120px 0 0;
    display: flex;
    flex-direction: column;
    gap: 56px;
  }

  .h2-section--media-start .h2-section__inner {
    flex-direction: column-reverse;
  }

  .h2-section__content {
    width: min(740px, 100%);
    padding: 0;
  }

  .h2-section__media,
  .h2-section--media-end .h2-section__media {
    width: calc(100% + 80px);
    height: 520px;
    margin: 0 -40px;
    border-radius: 16px 16px 0 0;
  }

  .h2-section__media::before,
  .h2-section--media-end .h2-section__media::before {
    left: -8px;
    top: 8px;
    border-radius: 16px;
  }
}

@media (max-width: 767px) {
  .h2-section__inner,
  .h2-section--media-end .h2-section__inner {
    width: calc(100% - 40px);
    padding: 88px 0 0;
    gap: 40px;
  }

  .h2-section__eyebrow {
    font-size: 16px;
  }

  .h2-section__title {
    font-size: 42px;
  }

  .h2-section__media,
  .h2-section--media-end .h2-section__media {
    width: calc(100% + 40px);
    height: 360px;
    margin: 0 -20px;
  }

  .h2-section.is-collapsible:not(.is-expanded) .h2-section__body {
    max-height: none;
  }

  .h2-section.is-collapsible .h2-section__toggle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .h2-section__body,
  .h2-section__toggle-icon {
    transition: none;
  }
}
