/* About Page Specific Styles */

/* Base style for the text */
.about-hero-layout h3, .about-text-layout h3 {
  font-size: calc(42 * var(--u));
  line-height: 1.2em;
  color: #111111;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 calc(20 * var(--u)) 0;
}

.about-text-layout p {
  font-size: calc(36 * var(--u));
  line-height: 1.4em;
  color: #1D1D1F;
  font-weight: 400;
  margin: 0;
}

/* Layout for Image + Text (Slide 1) */
.about-hero-layout {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: calc(84 * var(--u));
  width: calc(1180 * var(--u));
  max-width: 92%;
}

.about-hero-image {
  flex-shrink: 0;
  width: calc(338 * var(--u));
  height: calc(520 * var(--u));
  border-radius: calc(42 * var(--u));
  overflow: hidden;
  box-shadow: 0 calc(12 * var(--u)) calc(36 * var(--u)) rgba(0, 0, 0, 0.06);
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-hero-text {
  flex: 1;
  max-width: calc(750 * var(--u));
}

.about-hero-text h3 {
  font-size: calc(38 * var(--u));
  line-height: 1.2em;
  color: #111111;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 calc(20 * var(--u)) 0;
}

.about-hero-text p {
  font-size: calc(29 * var(--u));
  line-height: 1.45em;
  color: #1D1D1F;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Layout for Text Only (Slides 2, 3) */
.about-text-layout {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(880 * var(--u));
  max-width: 90%;
  display: flex;
  flex-direction: column;
}

/* Container override for about-quotes so text is centered and scatter slides can span the full card */
.wd-quotes-container.about-quotes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
  display: block;
}

/* Essential position overrides for GSAP crossfading in container */
.wd-quote {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

/* Align bottom bar with the card header which has an 8px margin */
.wd-bottom-bar {
  padding: 0 calc(calc(48 * var(--u)) + 8px);
}

