/* Sep 24 about / mission dialogs / team slider. Tokens from layout.css. */
.arse-js .arse-dialog-source {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.arse .arse-history-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(64 * var(--u));
  width: 100%;
  max-width: calc(1280 * var(--u));
  margin-top: calc(70 * var(--u));
}

.arse .arse-history-column {
  display: flex;
  flex-direction: column;
  gap: calc(28 * var(--u));
  min-width: 0;
  text-align: left;
}

.arse .arse-history-copy .arse-body {
  font-size: calc(20 * var(--u));
  line-height: calc(28 * var(--u));
  font-weight: 400;
}

.arse .arse-founder-kicker {
  text-align: center;
  align-self: center;
  color: var(--wood);
  font-size: calc(48 * var(--u));
  line-height: 1.2;
  margin-top: calc(96 * var(--u));
  max-width: calc(1169 * var(--u));
}

.arse .arse-founder {
  margin-top: calc(120 * var(--u));
}

.arse .arse-team {
  min-height: 0;
}

.arse .arse-team-slider {
  width: min(100%, calc(720 * var(--u)));
  align-self: center;
  margin-inline: auto;
  margin-top: calc(72 * var(--u));
  padding-top: 0;
  padding-bottom: 72px;
  background: transparent;
}

.arse .arse-team-slider.brxe-slider-nested,
.arse .arse-team-slider .splide,
.arse .arse-team-slider .splide__track,
.arse .arse-team-slider .splide__list {
  background: transparent !important;
}

.arse .arse-team-slider .splide__track {
  /* The portrait overhang belongs INSIDE the clipping viewport. */
  padding-top: calc(80 * var(--u));
  padding-bottom: 2px;
}

.arse .arse-team-slider .splide__slide.arse-person {
  background: var(--paper);
  align-items: center;
  justify-content: flex-start;
  margin-inline: auto;
  min-height: calc(420 * var(--u));
}

.arse .arse-team-slider .arse-more { align-self: center; }

.arse .arse-team-slider .splide__pagination {
  bottom: 18px;
  padding-inline: 60px;
  justify-content: center;
}

.arse .arse-team-slider .arse-person__img img {
  width: 100% !important;
  height: 100% !important;
  left: 0 !important;
  top: 0 !important;
  object-fit: cover;
  object-position: center 18%;
}

.arse .arse-dialog-open {
  cursor: pointer;
}

.arse .arse-dialog-open[aria-disabled] {
  pointer-events: auto;
}

.arse-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  margin: 0;
}

.arse-dialog[open] {
  display: grid;
  place-items: center;
}

.arse-dialog::backdrop {
  background: rgb(0 0 0 / .55);
}

.arse-dialog__panel {
  position: relative;
  width: min(calc(920 * var(--u, 1px)), calc(100vw - 48px));
  max-height: min(90vh, 880px);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--paper, #fbfbfb);
  color: #000;
  border-radius: var(--radius, 20px);
  padding: calc(56 * var(--u, 1px)) calc(48 * var(--u, 1px)) calc(48 * var(--u, 1px));
  box-shadow: 0 24px 80px rgb(0 0 0 / .22);
}

.arse-dialog__panel .arse-dialog-source {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.arse-dialog-copy {
  font-family: "Google Sans Flex", Arial, sans-serif;
  font-size: calc(18 * var(--u, 1px));
  line-height: calc(26 * var(--u, 1px));
}

.arse-dialog-copy .arse-title,
.arse-dialog__panel .arse-title {
  font-size: calc(32 * var(--u, 1px));
  line-height: 1.25;
  margin-bottom: 1em;
}

.arse-dialog-copy p + p,
.arse-dialog-copy p + ul,
.arse-dialog-copy ul + p {
  margin-top: 1em;
}

.arse-dialog-copy ul {
  margin: 1em 0 0;
  padding-left: 1.2em;
}

.arse-dialog-copy li + li {
  margin-top: .4em;
}

.arse-dialog-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 0 0 16px 16px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: calc(16 * var(--u, 1px));
  font-weight: 500;
  cursor: pointer;
  width: max-content;
}

.arse-dialog-close:focus-visible,
.arse-dialog-open:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
  .arse-dialog,
  .arse-dialog::backdrop {
    transition: none;
  }
}

@media (max-width: 1279px) {
  .arse .arse-history-copy {
    gap: 40px;
    margin-top: 48px;
  }

  .arse .arse-history-column { gap: 24px; }

  .arse .arse-history-copy .arse-body {
    font-size: 18px;
    line-height: 26px;
  }

  .arse .arse-founder-kicker {
    font-size: 32px;
    margin-top: 64px;
  }

  .arse .arse-team-slider {
    margin-top: 48px;
    padding-top: 0;
  }

  .arse .arse-team-slider .splide__track {
    padding-top: 80px;
  }

  .arse-dialog__panel {
    width: calc(100vw - 32px);
    padding: 36px 24px 28px;
    max-height: 88vh;
  }
}

@media (max-width: 767px) {
  .arse .arse-history-copy { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .arse .arse-founder > .arse-title { white-space: normal; }
}
