/* ==========================================================================
   Leadership page (leadership.html)
   Photographic hero with an executive team list. Palette matches the About
   page; card background echoes the supplied comp (#f2f1ef).
   Artwork:
     ../image/about/leadership-banner.jpg  hero (derived from supplied photo)
     ../image/about/Tom_Luo.jpg            CEO portrait
   ========================================================================== */

body.leadership-page {
  background: #fff;
  color: #1a1a1a;
}

.leadership-wrap {
  width: min(920px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- hero ---------- */
.leadership-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 470px;
  overflow: hidden;
  background: #10233f;
}

.leadership-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.leadership-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      112deg,
      rgba(206, 38, 50, 0.62) 0%,
      rgba(150, 60, 80, 0.42) 38%,
      rgba(18, 48, 96, 0.68) 100%
    ),
    linear-gradient(180deg, rgba(8, 20, 38, 0.16) 0%, rgba(8, 20, 38, 0.4) 100%);
}

.leadership-hero .leadership-wrap {
  position: relative;
  z-index: 2;
}

.leadership-hero__title {
  max-width: 640px;
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

/* ---------- executive team ---------- */
.leadership-team {
  padding: 80px 0 100px;
  background: #fff;
}

.leadership-title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #111;
}

.leadership-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.leadership-card {
  background: #f2f1ef;
}

.leadership-card--lead {
  display: grid;
  grid-template-columns: 322px minmax(0, 1fr);
}

.leadership-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.leadership-card__body {
  padding: 32px 52px 36px 38px;
}

.leadership-card:not(.leadership-card--lead) .leadership-card__body {
  padding: 40px 52px 44px;
}

.leadership-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 20px;
}

.leadership-card__name {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.leadership-card__role {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: #6f7379;
}

.leadership-card__role::before {
  content: "|";
  margin-right: 14px;
  color: #a0a4aa;
}

.leadership-card__body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #4b4f56;
}

.leadership-card__body p + p,
.leadership-card__body ul + p {
  margin-top: 10px;
}

.leadership-card__list {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.leadership-card__list li {
  font-size: 14.5px;
  line-height: 1.65;
  color: #4b4f56;
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .leadership-hero {
    min-height: 370px;
  }

  .leadership-hero__title {
    font-size: 31px;
  }

  .leadership-team {
    padding: 56px 0 64px;
  }

  .leadership-title {
    font-size: 26px;
  }

  .leadership-list {
    margin-top: 32px;
    gap: 16px;
  }

  .leadership-card--lead {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .leadership-card__body,
  .leadership-card:not(.leadership-card--lead) .leadership-card__body {
    padding: 26px 26px 30px;
  }

  .leadership-card__name {
    font-size: 21px;
  }

  .leadership-card__body p,
  .leadership-card__list li {
    font-size: 14px;
    line-height: 1.6;
  }
}

@media (max-width: 767.98px) {
  .leadership-card--lead {
    grid-template-columns: minmax(0, 1fr);
  }

  .leadership-card__photo {
    aspect-ratio: 4 / 3;
    object-position: center 22%;
  }
}

@media (max-width: 575.98px) {
  .leadership-hero {
    min-height: 300px;
  }

  .leadership-hero__title {
    font-size: 25px;
  }

  .leadership-card__head {
    gap: 4px 10px;
    margin-bottom: 16px;
  }

  .leadership-card__role::before {
    margin-right: 10px;
  }
}
