/* ===================================================================
 * Governance page
 * - Designed to match the existing AIE look & feel
 * - Uses Bootstrap grid for responsive layout
 * =================================================================== */

.governance-page {
  padding-bottom: 6rem;
}

/* Make intro text more readable than default dim body copy */
.governance-page .governance-intro,
.governance-page .governance-bio,
.governance-page .governance-role {
  color: rgba(255, 255, 255, 0.75);
}

.governance-page .governance-intro {
  margin-top: 2.4rem;
  margin-right: 0; /* override home-content__text p right margin */
  max-width: 95rem;
}

/* Card styling */
.governance-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  transition: transform 160ms ease, border-color 160ms ease;
}

.governance-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.governance-card__body {
  padding: 2.2rem 2.2rem 2rem 2.2rem;
}

/* Featured chair card */
.governance-card--featured {
  border-radius: 22px;
}

.governance-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.04);
}

.governance-photo--featured {
  aspect-ratio: 1 / 1;
}

.governance-name {
  margin: 0 0 0.8rem 0;
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1.15;
}

.governance-role {
  margin: 0 0 1.4rem 0;
  font-size: 1.55rem;
  line-height: 1.4;
}

.governance-bio {
  margin: 0 0 1.4rem 0;
  font-size: 1.55rem;
  line-height: 1.8;
}

.governance-links {
  margin-top: 0.6rem;
}

.governance-link {
  color: #d3007d; /* matches .pink-text */
  text-decoration: none;
  font-weight: 600;
}

.governance-link:hover,
.governance-link:focus {
  color: #ffffff;
  text-decoration: underline;
}

/* Tidy typography spacing on this page */
.governance-page .home-content__text p {
  margin-right: 0;
}

@media (max-width: 575.98px) {
  .governance-card__body {
    padding: 1.8rem;
  }

  .governance-name {
    font-size: 2.05rem;
  }
}

/* -------------------------------------------------------------------
 * FIX: Allow scrolling on long pages
 * The base template is built like a full-screen landing page and can
 * lock scrolling. This mirrors the same fix used on about.html.
 * ------------------------------------------------------------------- */

html, body {
  height: auto !important;
  min-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* Keep particles fixed behind the content */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}
