/* Final event page composition: readable information beside an uncropped poster. */
.theme-fstcho-next .fst-event-page {
  display: block;
  max-width: 1180px;
  margin-inline: auto;
}

.theme-fstcho-next .fst-event-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(36px, 6vw, 72px);
  padding: clamp(18px, 3vw, 38px) 0 clamp(32px, 5vw, 58px);
  border-bottom: 1px solid var(--fst-line);
}

.theme-fstcho-next .fst-event-masthead .fst-event-hero {
  position: relative;
  z-index: auto;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--fst-line);
  border-radius: 12px;
  background: var(--fst-paper-deep);
  box-shadow: 0 18px 50px rgba(23, 32, 42, .1);
}

.theme-fstcho-next .fst-event-masthead .fst-event-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.theme-fstcho-next .fst-event-masthead .fst-event-hero::after {
  display: none;
}

.theme-fstcho-next .fst-event-masthead__content,
.theme-fstcho-next .fst-event-masthead:not(:has(.fst-event-hero)) .fst-event-masthead__content {
  z-index: auto;
  grid-column: 1;
  grid-row: 1;
  width: auto !important;
  max-width: 680px !important;
  padding: 0;
}

.theme-fstcho-next .fst-event-masthead:not(:has(.fst-event-hero)) .fst-event-masthead__content {
  grid-column: 1 / -1;
}

.theme-fstcho-next .fst-event-masthead__topline {
  width: auto;
  max-width: 100%;
  margin-bottom: 18px;
}

.theme-fstcho-next .fst-event-masthead__title {
  width: auto !important;
  max-width: 24ch !important;
  margin: 0;
  color: var(--fst-ink);
  font-family: var(--fst-font-text);
  font-size: clamp(2.15rem, 3.25vw, 3.35rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.04em;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: anywhere;
  transform: none;
}

.theme-fstcho-next .fst-event-masthead .fst-event-lead {
  display: block;
  max-width: 58ch;
  margin: 24px 0 0;
  color: var(--fst-ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.6;
}

.theme-fstcho-next .fst-event-masthead__facts.fst-meta-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
}

.theme-fstcho-next .fst-event-masthead .fst-event-actions {
  margin-top: 26px;
}

.theme-fstcho-next .fst-event-masthead__competitions {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 6px;
}

.theme-fstcho-next .fst-event-page > .fst-event-lifecycle__title {
  margin: 0 0 14px;
  color: var(--fst-ink);
  font-family: var(--fst-font-sans);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: none;
}

.theme-fstcho-next .fst-event-page > .fst-event-lifecycle {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  margin: 0 0 34px;
  padding: 0;
  border-top: 1px solid var(--fst-line);
}

.theme-fstcho-next .fst-event-page > .fst-event-lifecycle li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  min-height: 68px;
  padding: 14px 14px 12px 0;
}

.theme-fstcho-next .fst-event-page > .fst-event-lifecycle li > time {
  grid-column: 2;
}

.theme-fstcho-next .fst-event-page > .fst-event-lifecycle li::before {
  display: none;
}

.theme-fstcho-next .fst-event-page > .fst-event-stage-stack,
.theme-fstcho-next .fst-event-page > :not(.fst-event-masthead):not(.fst-event-lifecycle):not(.fst-event-lifecycle__title) {
  width: 100%;
}

.theme-fstcho-next .fst-event-stage__action--results {
  margin-bottom: 0;
  border-color: color-mix(in srgb, var(--fst-accent) 35%, var(--fst-line));
  background: color-mix(in srgb, var(--fst-accent) 4%, var(--fst-surface));
}

.theme-fstcho-next .fst-event-people {
  margin-bottom: 1rem;
  border: 1px solid var(--fst-line);
  background: var(--fst-surface);
}

.theme-fstcho-next .fst-event-people > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
}

.theme-fstcho-next .fst-event-people > summary span {
  color: var(--fst-muted);
  font-size: .78rem;
}

.theme-fstcho-next .fst-event-people__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--fst-line);
}

.theme-fstcho-next .fst-event-people__list a {
  padding: .75rem .9rem;
  background: var(--fst-surface);
  color: var(--fst-ink);
  font-size: .84rem;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

@media (max-width: 900px) {
  .theme-fstcho-next .fst-event-masthead {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
    gap: 30px;
  }

  .theme-fstcho-next .fst-event-masthead__title {
    font-size: clamp(2rem, 4.8vw, 3rem);
  }

  .theme-fstcho-next .fst-event-page > .fst-event-lifecycle {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .theme-fstcho-next .fst-event-page {
    width: 100%;
  }

  .theme-fstcho-next .fst-event-masthead {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-left: 0;
    padding-top: 8px;
  }

  .theme-fstcho-next .fst-event-masthead .fst-event-hero {
    grid-column: 1;
    grid-row: 1;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
    border-radius: 9px;
  }

  .theme-fstcho-next .fst-event-masthead__content,
  .theme-fstcho-next .fst-event-masthead:not(:has(.fst-event-hero)) .fst-event-masthead__content {
    grid-column: 1;
    grid-row: 2;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
  }

  .theme-fstcho-next .fst-event-masthead__title {
    width: auto !important;
    max-width: 18ch !important;
    font-size: clamp(1.9rem, 8.5vw, 2.7rem);
    line-height: 1.08;
    transform: none;
  }

  .theme-fstcho-next .fst-event-masthead__facts.fst-meta-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .theme-fstcho-next .fst-event-page > .fst-event-lifecycle {
    grid-template-columns: minmax(0, 1fr);
  }

  .theme-fstcho-next .fst-event-page > .fst-event-lifecycle li {
    min-height: 46px;
    border-bottom: 1px solid var(--fst-line);
  }

  .theme-fstcho-next .fst-event-stage__action--results {
    align-items: stretch;
  }
}
