/* Keep the hero copy in normal flow above the decorative portrait layers. */
#hero {
  display: grid;
  align-items: end;
  min-height: 100svh !important;
}

#hero .hl-ui {
  position: relative;
  inset: auto;
  width: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px !important;
  padding-block: clamp(150px, 34svh, 330px) 68px !important;
}

#hero .hl-ui > .hl-name {
  position: static;
  width: auto !important;
  max-width: 100%;
  padding: 0 !important;
  margin: 0 0 8px;
  text-align: left !important;
  transform: none !important;
}

#hero .hl-name-in {
  display: block;
  animation: none;
}

#hero .hl-name .hl-line > span {
  font-size: clamp(48px, 13.5vw, 96px) !important;
  line-height: 1.02 !important;
}

#hero .hl-ui > :is(.eyebrow, .hero-tagline, .lede, .cta) {
  margin: 0;
  max-width: 100%;
  white-space: normal;
}

#hero .hl-ui > .eyebrow::before {
  flex-shrink: 0;
}

#hero .hl-ui > .rpt-feature {
  width: min(100%, 440px) !important;
  margin: 4px 0 0 !important;
}

@media (min-width: 1024px) {
  #hero .hl-ui {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px) !important;
    grid-template-rows: repeat(5, auto);
    column-gap: clamp(32px, 5vw, 80px) !important;
    align-items: end;
    padding-block: clamp(112px, 19svh, 210px) 86px !important;
  }

  #hero .hl-name { grid-area: 1 / 1; }
  #hero .hl-ui > .eyebrow { grid-area: 2 / 1; }
  #hero .hl-ui > .hero-tagline { grid-area: 3 / 1; }
  #hero .hl-ui > .lede { grid-area: 4 / 1; }
  #hero .hl-ui > .cta { grid-area: 5 / 1; }
  #hero .hl-ui > .rpt-feature { grid-area: 2 / 2 / 6; }

  #hero .hl-name .hl-line > span {
    font-size: clamp(86px, 9vw, 148px) !important;
  }
}

/* Give section titles the available space beside the section index. */
.sec-top > div:first-child {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
}

.sec-top h2 {
  line-height: 1.12 !important;
}

#disciplines .sec-top h2,
#track .sec-top h2,
#network .sec-top h2 {
  max-width: none;
  white-space: normal;
  text-wrap: balance;
}

.rail .shot {
  max-width: 100%;
}

.rail .shot img {
  max-width: 100%;
  object-fit: cover;
}

.rail .shot figcaption {
  display: block;
  padding-left: 37px;
  overflow-wrap: anywhere;
}

.rail .shot figcaption::before {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 13px;
}
