/* Shared Our Story placement for the regular R14 banners. */
:root {
  --joint-banner-inset: clamp(26px,6.4vw,108px);
  --joint-banner-gap: clamp(14px,2.5vh,28px);
}
@media (max-width: 700px) { :root { --joint-banner-inset: 24px; } }
#tld-v45-stage main section[data-joint-hero] {
  box-sizing: border-box;
  height: auto !important;
  max-height: none !important;
  padding-block: 0 !important;
}
#tld-v45-stage main section[data-joint-hero]:is(.tld-home-hero,.events-hero,.v4-hero,.hero) {
  grid-template-rows: minmax(min-content, 1fr) !important;
}
#tld-v45-stage main section[data-joint-hero] > :is(.hero-scroll,.v22-hero-scroll,.tld-scroll-cue) {
  position: absolute;
  inset-block-start: auto;
  inset-block-end: .55rem;
  margin-block: 0;
}
#tld-v45-stage main section[data-joint-hero]:is(.tld-home-hero,.events-hero,.v4-hero,.hero) > [data-joint-hero-content] { grid-area: 1 / 1; }
#tld-v45-stage main section[data-joint-hero-room] {
  min-height: max(560px, min(76svh, 660px)) !important;
}
#tld-v45-stage main section[data-joint-hero] [data-joint-hero-content] {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 1440px !important;
  min-width: 0;
  margin-inline: auto !important;
  min-height: 0 !important;
  height: auto !important;
  padding: calc(var(--joint-banner-overlap,var(--tld-header-height)) + var(--joint-banner-gap)) var(--joint-banner-inset) var(--joint-banner-gap) !important;
  align-content: center;
  justify-content: center !important;
}
#tld-v45-stage main section[data-joint-hero="regular"] [data-joint-hero-content]:not(.ms-hero-inner,.introgrid) {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left !important;
}
#tld-v45-stage main section[data-joint-hero="regular"] [data-joint-hero-content] > :is(h1,p,.hero-actions,.v4-hero-actions) {
  margin-inline: 0 !important;
}
@media (max-width: 700px), (max-height: 600px) {
  #tld-v45-stage main section[data-joint-hero] > :is(.hero-scroll,.v22-hero-scroll,.tld-scroll-cue) { display: none; }
}
#tld-v45-stage main section[data-joint-hero="regular"].events-hero .hero-side,
#tld-v45-stage main section[data-joint-hero="regular"].events-hero .events-hero-side-note { pointer-events: none; }
#tld-v45-stage main section[data-joint-hero]:is(.lg-top,.cb51-intro,.ms-hero) {
  display: grid;
  align-items: center;
}
#tld-v45-stage main section[data-joint-hero="center"] .v10-scene {
  display: grid;
  min-height: max(100svh, 100%) !important;
  height: auto !important;
  max-height: none !important;
  align-items: stretch;
}
#tld-v45-stage main section[data-joint-hero="center"] [data-joint-hero-content] { text-align: center; padding-inline: clamp(16px,4vw,64px) !important; }
#tld-v45-stage main #hero[data-joint-hero] .v10-scene-ribbon .v10-ribbon-choices .v10-choice {
  border-radius: 0 !important;
  height: auto !important;
  transform: none !important;
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease;
}
#tld-v45-stage main #hero .v10-ribbon-choices .v10-choice-matchmaking { background: #54263ee8; }
#tld-v45-stage main #hero .v10-ribbon-choices .v10-choice-coaching { background: #fff4faed; }
#tld-v45-stage main #hero[data-joint-hero] .v10-scene-ribbon .v10-ribbon-choices .v10-choice:hover { transform: translateY(-3px) !important; box-shadow: 0 12px 30px #290d2940; }
#tld-v45-stage main #hero .v10-ribbon-choices .v10-choice:focus-visible { outline: 2px solid white; outline-offset: 4px; }
#tld-v45-stage main #hero .v10-choice-orbit-icon svg { display: block; margin: auto; }
#contact-options .v4-container { container-type: inline-size; }
#tld-v45-stage #contact-options .v4-contact-route-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
#tld-v45-stage #contact-options .v4-contact-route {
  min-block-size: 0;
  padding: clamp(14px,2vw,24px);
  overflow-wrap: break-word;
  word-break: normal;
}
@container (max-width: 690px) {
  #tld-v45-stage #contact-options .v4-contact-route-grid { grid-template-columns: minmax(0,1fr); }
}
@container (min-width: 651px) and (max-width: 840px) {
  #tld-v45-stage main #tld-mm-content [data-r14-rail="middle"] {
    display: flex;
    gap: clamp(8px,2.1vw,15px);
    padding: 4px 11% 13px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  #tld-v45-stage main #tld-mm-content [data-r14-rail="middle"] > a { flex: 0 0 100%; scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  #tld-v45-stage main #hero .v10-ribbon-choices .v10-choice { transition: none; }
  #tld-v45-stage main #hero[data-joint-hero] .v10-scene-ribbon .v10-ribbon-choices .v10-choice:hover { transform: none !important; }
}

#tld-v45-stage #experience .hm-experience-layout { padding-block-end: clamp(22px,3vw,44px); }
#tld-v45-stage main.cb51,
#tld-v45-stage main.cb51 :is(input,select,textarea,button,fieldset,legend,label) {
  font-family: var(--tld-body-font);
}
#tld-v45-stage main.cb51 :is(h1,h2,h3,h4,h5,h6) { font-family: var(--tld-display-font); }
