/* Authored \n breaks are desktop-only; below the site's mobile breakpoint
   (navbar switch, 1280px) the text reflows naturally. */
@media (max-width: 1280px) {
  br.multiline-br {
    display: none;
  }
}

@keyframes board-section-horizontal-reveal-up {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.board-section-horizontal {
  opacity: 0;
}

.board-section-horizontal.is-revealed, .board-section-horizontal.is-revealed .board-member-horizontal {
  animation: board-section-horizontal-reveal-up 850ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.board-section-horizontal.is-revealed .board-member-horizontal:nth-child(n+1) {
  animation-delay: calc(var(--board-member-order, 1) * 100ms);
}

.board-section-horizontal,
.board-section-horizontal *,
.board-section-horizontal *::before,
.board-section-horizontal *::after,
.board-member-horizontal,
.board-member-horizontal *,
.board-member-horizontal *::before,
.board-member-horizontal *::after {
  box-sizing: border-box;
}

.board-section-horizontal {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #fcfcfc;
  color: #18141e;
  font-family: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
}

.board-section-horizontal__inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 80px 30px 80px;
}

.board-section-horizontal__header {
  margin: 0 0 48px;
}

.board-section-horizontal__badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 4px 15px;
  border-radius: 999px;
  background: #e6ece9;
  color: #18141e;
  font-size: 13px;
  font-weight: 500;
  line-height: 16.25px;
  letter-spacing: 0.1em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.board-section-horizontal__title {
  width: min(720px, 100%);
  margin: 24px 0 0;
  color: #18141e;
  font-family: inherit;
  font-size: 60px;
  font-weight: 500;
  line-height: 70px;
  letter-spacing: 0;
}

.board-section-horizontal__description {
  width: min(640px, 100%);
  margin: 20px 0 0;
  color: #18141e;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
}

.board-section-horizontal__members,
.board-section-horizontal__members > slot[name="children"] {
  display: grid !important;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* Webflow assigns ONE wrapper div to the slot with every member island
   inside it. display: contents collapses the wrapper (and the islands, which
   are contents by default) so the slot's own grid and gap reach the
   member cards directly. */
.board-section-horizontal__members > slot[name="children"]::slotted(*) {
  display: contents !important;
}

:host {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto !important;
  order: var(--board-member-order, 1);
}

.board-member-horizontal {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(155.46deg, #FCFCFC -50.09%, #E6ECE9 106.94%);
  order: var(--board-member-order, 1);
}

.board-member-horizontal__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ded8ca;
  border-radius: 20px;
}

.board-member-horizontal__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--board-member-photo-position, center 18%);
}

.board-member-horizontal__photo-placeholder {
  width: 100%;
  height: 100%;
  background: #ded8ca;
}

.board-member-horizontal__body {
  display: flex;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 24px;
}

.board-member-horizontal__name,
.board-member-horizontal__position,
.board-member-horizontal__biography {
  font-family: inherit;
  overflow-wrap: anywhere;
}

.board-member-horizontal__name {
  margin: 0;
  color: #18141e;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.board-member-horizontal__position {
  margin: 8px 0 0;
  color: #6f6f6f;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-member-horizontal__biography {
  margin: 14px 0 0;
  color: #18141e;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .board-section-horizontal__inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .board-section-horizontal__title {
    font-size: 48px;
    line-height: 56px;
  }

  .board-section-horizontal__members,
  .board-section-horizontal__members > slot[name="children"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-section-horizontal__inner {
    padding: 48px 16px 56px;
  }

  .board-section-horizontal__header {
    margin-bottom: 32px;
    line-height: 1.1;
  }

  .board-section-horizontal__badge {
    min-height: 24px;
    padding-inline: 12px;
    font-size: 11px;
    line-height: 14px;
  }

  .board-section-horizontal__title {
    margin-top: 20px;
    font-size: 36px;
    line-height: 42px;
  }

  .board-section-horizontal__description {
    margin-top: 16px;
    font-size: 14px;
    line-height: 18px;
  }

  .board-section-horizontal__members,
  .board-section-horizontal__members > slot[name="children"] {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .board-member-horizontal {
    border-radius: 20px;
  }

  .board-member-horizontal__media {
    aspect-ratio: 3 / 2;
  }

  .board-member-horizontal__body {
    padding: 20px 20px 24px;
  }

  .board-member-horizontal__name {
    font-size: 28px;
    line-height: 1.15;
  }

  .board-member-horizontal__position {
    margin-top: 8px;
    font-size: 12px;
  }

  .board-member-horizontal__biography {
    margin-top: 14px;
    font-size: 15px;
    line-height: 20px;
  }
}


@keyframes board-member-horizontal-reveal {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.board-member-horizontal--reveal {
  opacity: 0;
}

.board-member-horizontal--reveal.is-revealed {
  animation: board-member-horizontal-reveal 850ms cubic-bezier(0.4, 0, 0.2, 1) 60ms both;
}

@media (prefers-reduced-motion: reduce) {
  .board-member-horizontal--reveal {
    opacity: 1;
    animation: none;
  }
}

/* Waterfall: siblings entering together stagger left-to-right */

/* waterfall-board-member-horizontal */
:host(:nth-child(2)) .board-member-horizontal--reveal.is-revealed,
.board-member-horizontal--reveal.is-revealed:nth-child(2) {
  animation-delay: 160ms;
}
:host(:nth-child(3)) .board-member-horizontal--reveal.is-revealed,
.board-member-horizontal--reveal.is-revealed:nth-child(3) {
  animation-delay: 260ms;
}
:host(:nth-child(4)) .board-member-horizontal--reveal.is-revealed,
.board-member-horizontal--reveal.is-revealed:nth-child(4) {
  animation-delay: 360ms;
}
:host(:nth-child(5)) .board-member-horizontal--reveal.is-revealed,
.board-member-horizontal--reveal.is-revealed:nth-child(5) {
  animation-delay: 460ms;
}
:host(:nth-child(6)) .board-member-horizontal--reveal.is-revealed,
.board-member-horizontal--reveal.is-revealed:nth-child(6) {
  animation-delay: 560ms;
}
:host(:nth-child(7)) .board-member-horizontal--reveal.is-revealed,
.board-member-horizontal--reveal.is-revealed:nth-child(7) {
  animation-delay: 660ms;
}

/* waterfall-ext-board-member-horizontal: items 8+ keep cascading instead of snapping to the base delay */
:host(:nth-child(8)) .board-member-horizontal--reveal.is-revealed,
.board-member-horizontal--reveal.is-revealed:nth-child(8) {
  animation-delay: 760ms;
}
:host(:nth-child(9)) .board-member-horizontal--reveal.is-revealed,
.board-member-horizontal--reveal.is-revealed:nth-child(9) {
  animation-delay: 860ms;
}
:host(:nth-child(n + 10)) .board-member-horizontal--reveal.is-revealed,
.board-member-horizontal--reveal.is-revealed:nth-child(n + 10) {
  animation-delay: 960ms;
}

