/* =========================================================
   PMPE - Board of Directors (text cards, no images)
   ========================================================= */

.pmpe-board {
  --bd-navy: #0c2c6c;
  --bd-steel: #2f4e93;
  --bd-soft: #eaf1f9;
  --bd-line: #e4e8ec;
  --bd-text: #3f4c5a;
  --bd-muted: #8b96a5;

  width: 100%;
  padding: 20px;
  background: #f7f9fc;
  overflow: hidden;
}

.pmpe-board *,
.pmpe-board *::before,
.pmpe-board *::after {
  box-sizing: border-box;
}

.pmpe-board__container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

/* -------------------------
   Section Heading
------------------------- */

.pmpe-board__heading {
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
}

.pmpe-board__eyebrow {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--bd-steel);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.pmpe-board__title {
  margin: 0;
  color: var(--bd-navy);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.pmpe-board__line {
  display: block;
  width: 48px;
  height: 3px;
  margin: 10px auto 12px;
  border-radius: 10px;
  background: var(--bd-navy);
}

.pmpe-board__subtitle {
  max-width: 560px;
  margin: 0 auto;
  color: var(--bd-text);
  font-size: 14px;
  line-height: 1.6;
}

/* -------------------------
   Grid
------------------------- */

.pmpe-board__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* -------------------------
   Director Card
------------------------- */

.pmpe-director {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 14px 14px;
  overflow: hidden;
  border: 1px solid var(--bd-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(12, 44, 108, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* navy accent bar on top */
.pmpe-director::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bd-navy);
}

.pmpe-director:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 44, 108, 0.25);
  box-shadow: 0 12px 30px rgba(12, 44, 108, 0.12);
}

/* Name + initials */
.pmpe-director__head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 13px;
  margin-bottom: 11px;
  border-bottom: 1px dashed var(--bd-line);
}

/* card with name only: no divider, name centred in the card */
.pmpe-director--name-only {
  justify-content: center;
}
.pmpe-director--name-only .pmpe-director__head {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.pmpe-director__initials {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bd-navy);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pmpe-director__name {
  margin: 0;
  color: var(--bd-navy);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

.pmpe-director__role {
  display: block;
  margin-top: 3px;
  color: var(--bd-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Contact rows */
.pmpe-director__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pmpe-director__link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 6px;
  border-radius: 8px;
  color: var(--bd-text);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.pmpe-director__link:hover,
.pmpe-director__link:focus-visible {
  background: var(--bd-soft);
  color: var(--bd-navy);
  text-decoration: none;
}

.pmpe-director__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bd-soft);
  color: var(--bd-navy);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.pmpe-director__link:hover .pmpe-director__icon {
  background: var(--bd-navy);
  color: #ffffff;
}

.pmpe-director__icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pmpe-director__text {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* -------------------------
   Small laptop: 4 in a row, tighter
------------------------- */

@media (max-width: 1200px) {
  .pmpe-board__grid {
    gap: 12px;
  }

  .pmpe-director__name {
    font-size: 15px;
  }

  .pmpe-director__link {
    font-size: 12px;
  }
}

/* -------------------------
   Tablet: 2 x 2
------------------------- */

@media (max-width: 1024px) {
  .pmpe-board {
    padding: 34px 18px;
  }

  .pmpe-board__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
  }

  .pmpe-director__name {
    font-size: 16px;
  }

  .pmpe-director__link {
    font-size: 13px;
  }
}

/* -------------------------
   Mobile
------------------------- */

@media (max-width: 600px) {
  .pmpe-board {
    padding: 30px 14px;
  }

  .pmpe-board__heading {
    margin-bottom: 22px;
  }

  .pmpe-board__eyebrow {
    font-size: 10px;
    letter-spacing: 1.1px;
  }

  .pmpe-board__title {
    font-size: 24px;
  }

  .pmpe-board__line {
    width: 40px;
    height: 2px;
    margin: 8px auto 10px;
  }

  .pmpe-board__subtitle {
    font-size: 12px;
    line-height: 1.5;
    padding: 0 8px;
  }

  .pmpe-board__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .pmpe-director--name-only {
    padding-bottom: 18px;
  }
}

@media (max-width: 380px) {
  .pmpe-board__title {
    font-size: 21px;
  }

  .pmpe-director__link {
    font-size: 12.5px;
    gap: 9px;
  }

  .pmpe-director__icon {
    width: 26px;
    height: 26px;
  }
}

/* -------------------------
   Accessibility
------------------------- */

@media (prefers-reduced-motion: reduce) {
  .pmpe-director,
  .pmpe-director__link,
  .pmpe-director__icon {
    transition: none;
  }

  .pmpe-director:hover {
    transform: none;
  }
}