/* About values heading: remove eyebrow and center the headline/subtitle. */
.about-trinitree__heading {
  align-items: center !important;
  display: flex !important;
  flex-direction: column;
  gap: 24px !important;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-trinitree__eyebrow {
  display: none !important;
}

.about-trinitree__heading h2,
.about-trinitree__heading > p:last-child {
  grid-column: auto !important;
  margin-left: auto;
  margin-right: auto;
  max-width: none !important;
  text-align: center;
}

@media (min-width: 901px) {
  .about-trinitree__heading h2,
  .about-trinitree__heading > p:last-child {
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  .about-trinitree {
    min-height: 0;
    padding: 72px 0 48px;
  }

  .about-trinitree__heading {
    margin-bottom: 0;
  }

  .about-trinitree__hub {
    min-height: 620px;
  }

  .about-trinitree__scene {
    max-width: calc(100vw - (var(--okd-line-gutter, 16px) * 2) - 12px);
  }

  section.about-leadership-intro {
    min-height: auto;
  }

  section.about-leadership-intro .ctext__row {
    justify-content: flex-start;
  }

  section.about-leadership-intro .ctext__copy {
    margin: 0;
    max-width: 620px;
    padding: 64px 40px;
  }
}

/* Keep the full 3:2 core-team photograph visible in the desktop About hero. */
@media (min-width: 1025px) {
  section.hero-fs.about-coreteam-hero {
    min-height: max(100svh, 66.55vw);
  }

  section.hero-fs.about-coreteam-hero .hero-fs__media-img {
    object-position: center 30%;
  }

  section.hero-fs.about-coreteam-hero .hero-fs__shell {
    height: calc(max(100svh, 66.55vw) - var(--okd-header-inline-height));
  }

  section.hero-fs.about-coreteam-hero .hero-fs__main {
    display: contents;
  }

  section.hero-fs.about-coreteam-hero .hero-fs__cell--title {
    align-self: end;
    grid-column: 1 / 4;
    padding-bottom: var(--wp--preset--spacing--24);
  }

  section.hero-fs.about-coreteam-hero .hero-fs__cell--body {
    align-self: end;
    grid-column: 4 / 7;
    padding-bottom: var(--wp--preset--spacing--24);
  }
}

@media (min-width: 1281px) {
  section.hero-fs.about-coreteam-hero .hero-fs__cell--title {
    grid-column: 1 / 7;
  }

  section.hero-fs.about-coreteam-hero .hero-fs__cell--body {
    grid-column: 7 / 13;
  }
}

@media (max-width: 700px) {
  .about-trinitree {
    padding: 64px 0 32px;
  }

  .about-trinitree__heading {
    padding-inline: 40px;
  }

  .about-trinitree__hub {
    min-height: 540px;
  }

  .about-trinitree__scene {
    aspect-ratio: 0.68;
    width: calc(100vw - (var(--okd-line-gutter, 16px) * 2) - 12px);
  }

  .about-trinitree__center {
    width: 42%;
  }

  .about-trinitree__module {
    width: 132px;
  }

  .about-trinitree__module-icon {
    flex-basis: 36px;
  }

  .about-trinitree__module-label {
    font-size: 8px;
    padding: 7px 6px;
  }

  .about-trinitree__detail,
  .about-trinitree__detail.is-left {
    width: min(84vw, 340px);
  }

  section.about-leadership-intro .ctext__copy {
    padding: 56px 40px 64px;
  }
}
