/*
  Desktop ABOUT page layout and ABOUT-only content styles.
*/

@font-face {
  font-family: "About Gotham Light";
  src:
    url("../fonts/Gotham-Light.woff2") format("woff2"),
    url("../fonts/Gotham-Light.woff") format("woff"),
    url("../fonts/Gotham-Light.ttf") format("truetype"),
    url("../fonts/Gotham-Light.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

:root {
  --page-min: 900px;
  --about-content-max: 1250px;
  --about-content-side-gap: 61px;
  --about-column-max: 390px;
  --about-column-gap: 46px;
  --about-body-top-gap: 89px;
  --about-slideshow-fade-duration: 0.6s;
}

html,
body {
  min-width: var(--page-min);
}

body {
  overflow-x: auto;
}

.about-content {
  width: min(var(--about-content-max), calc(max(100vw, var(--page-min)) - (var(--about-content-side-gap) * 2)));
  margin: 0 auto;
  padding-bottom: 160px;
}

.about-hero {
  padding-top: 173px;
}

.about-content-section {
  margin-top: var(--about-body-top-gap);
}

.about-content-section[hidden],
.about-content-column[hidden],
[data-about-text][hidden],
.about-slideshow__image[hidden] {
  display: none;
}

.about-content-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--about-column-gap);
  width: 100%;
}

.about-content-column {
  flex: 1 1 0;
  min-width: 0;
  max-width: var(--about-column-max);
}

.about-copy-desktop {
  color: #fff;
  font-family: "About Gotham Light", var(--site-font-body);
  font-size: 15px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.about-copy-desktop p {
  margin: 0 0 24px;
}

.about-copy-desktop p:last-child {
  margin-bottom: 0;
}

.about-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: var(--about-slideshow-ratio, 1170 / 1830);
  overflow: hidden;
  background: #151515;
  contain: layout paint;
}

.about-slideshow::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  content: "";
  pointer-events: none;
}

.about-slideshow__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity var(--about-slideshow-fade-duration) ease-out;
}

.about-slideshow__image.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .about-slideshow__image {
    transition: none;
  }
}
