/* =========================================================================
   Leadership page — scoped stylesheet
   ========================================================================= */

.leadership-page {
  padding: 56px 0 24px;
}

/* --- Hero --- */
.leadership-hero {
  max-width: 780px;
  margin: 0 0 56px;
}
.leadership-hero h1 {
  margin: 8px 0 16px;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  color: #172333;
}
.leadership-hero p {
  color: #4a5567;
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 12px;
}

/* --- Group headings --- */
.leadership-group { margin-bottom: 64px; }
.leadership-group-heading { margin-bottom: 28px; }
.leadership-group-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #172333;
}

/* --- Card grid --- */
.leadership-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.leadership-committee-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
}

/* --- Card --- */
.leadership-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6e9ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 35, 51, .06);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.leadership-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 16, 46, .22);
  box-shadow: 0 16px 36px rgba(23, 35, 51, .12);
}

/* --- Photo --- */
.leadership-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #eef1f5;
}
.leadership-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;   /* never crop faces */
}
.leadership-photo-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #b01e31;
  background: #f3f5f8;
  font-size: 64px;
  font-weight: 800;
}
.leadership-number {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(19, 31, 45, .74);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  backdrop-filter: blur(6px);
}

/* --- Body --- */
.leadership-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}
.leadership-name {
  margin: 0 0 4px;
  color: #172333;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.leadership-role {
  margin: 0 0 12px;
  color: #b01e31;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
body.lang-bn .leadership-role {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13.5px;
}
.leadership-bio {
  margin: 0 0 8px;
  color: #5a6678;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.leadership-bio--empty { min-height: 1.6em; }

.leadership-bio.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.leadership-toggle {
  margin-top: auto;
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: #b01e31;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color .18s ease;
}
.leadership-toggle:hover { color: #c8102e; }

/* --- CTA block --- */
.leadership-cta { margin: 24px 0 72px; }
.leadership-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px clamp(24px, 4vw, 48px);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 120, 138, .22), transparent 42%),
    linear-gradient(140deg, #a91025 0%, #c8102e 58%, #8f0d20 100%);
  box-shadow: 0 16px 40px rgba(114, 13, 30, .22);
}
.leadership-cta-inner h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.leadership-cta-inner p {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  line-height: 1.6;
}
.leadership-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}
.leadership-cta-actions .pill {
  min-height: 48px;
  padding: 6px 6px 6px 20px;
  font-size: 13px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
}
.leadership-cta-actions .pill-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .8);
  color: #fff;
}
.leadership-cta-actions .pill-outline:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
}

/* --- Partners wrapper (existing .footer-partners markup untouched) --- */
.leadership-partners { padding: 8px 0 8px; }

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1024px) {
  .leadership-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .leadership-page { padding: 40px 0 16px; }
  .leadership-hero { margin-bottom: 40px; }
  .leadership-hero p { font-size: 16px; }
  .leadership-group { margin-bottom: 48px; }

  .leadership-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 22px;
    border-radius: 18px;
  }
  .leadership-cta-actions { width: 100%; }
  .leadership-cta-actions .pill { flex: 1 1 auto; justify-content: space-between; }
}

@media (max-width: 640px) {
  .leadership-card-grid { gap: 14px; }
  .leadership-card { border-radius: 14px; }
  .leadership-body { padding: 14px; }
  .leadership-name { font-size: 15px; }
  .leadership-role { font-size: 11.5px; margin-bottom: 8px; }
  .leadership-bio { font-size: 13px; -webkit-line-clamp: 3; }
  .leadership-number { min-width: 28px; height: 22px; font-size: 10px; }
}

@media (max-width: 380px) {
  .leadership-card-grid { grid-template-columns: minmax(0, 1fr); }
  .leadership-committee-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .leadership-card,
  .leadership-toggle { transition: none; }
  .leadership-card:hover { transform: none; }
}