/*
 * YMCA of Greater Tulsa — board.css
 * Board Leadership: photo cards with role bands + manual order
 * Metropolitan Board: text-only name grid, alphabetical
 */

/* ── Leadership grid ── */
.leadership-section {
  margin-bottom: 64px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}
.leadership-card {
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid #e8e8e8;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.leadership-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}
.leadership-photo {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f0f0ee;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.leadership-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ccc;
}
.photo-placeholder span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.leadership-role-band {
  padding: 10px 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  flex-shrink: 0;
}
.leadership-body {
  padding: 18px 20px 24px;
}
.leadership-name {
  font-weight: 600;
  font-size: 17px;
  color: #1a1a1a;
  margin-bottom: 5px;
  line-height: 1.3;
}
.leadership-org {
  font-size: 13px;
  color: #888;
  line-height: 1.45;
}

/* ── Metropolitan Board — text only, no photos ── */
.board-section {
  margin-bottom: 70px;
}

.board-name-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.board-name-card {
  padding: 14px 0;
  border-bottom: 0.5px solid #f2f2f0;
}
.board-name-card:nth-child(4n + 1),
.board-name-card:nth-child(4n + 2),
.board-name-card:nth-child(4n + 3),
.board-name-card:nth-child(4n) {
  padding-right: 24px;
}
.board-name {
  font-weight: 600;
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 3px;
}
.board-org {
  font-size: 12.5px;
  color: #888;
  line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .board-name-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .board-name-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .board-name-grid {
    grid-template-columns: 1fr;
  }
}

/* Bottom breathing room above footer */
.page-template-template-board .page-body {
  padding-bottom: 70px;
}
