/* ==========================================================
   vorstand.css — TTC Rheindahlen 1950
   Styles for the Vorstand (board) page.
   Depends on: variables.css, main.css
   ========================================================== */

/* ── Group photo ─────────────────────────────────────────── */
.vorstand-photo-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.vorstand-photo {
  max-width: 560px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: inline-block;
}

.vorstand-photo-caption {
  font-size: 0.9rem;
  color: var(--red);
  margin-top: 10px;
}

.vorstand-photo-names {
  font-size: 0.9rem;
  color: rgb(var(--text-rgb) / 0.5);
  line-height: 1.6;
  max-width: 680px;
  margin: 8px auto 0;
}

.vorstand-photo-missing {
  font-size: 0.85rem;
  color: rgb(var(--text-rgb) / 0.35);
  margin-top: 6px;
}

/* ── Board grid ──────────────────────────────────────────── */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.board-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s;
}

.board-card:hover {
  border-color: rgba(192, 57, 43, 0.35);
}

.board-card__role {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.board-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 10px;
}

.board-card__address {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgb(var(--text-rgb) / 0.4);
  margin-bottom: 10px;
}

.board-card__email {
  font-size: 0.88rem;
  color: rgb(var(--text-rgb) / 0.45);
  transition: color 0.2s;
  word-break: break-all;
}

.board-card__email:hover {
  color: var(--red);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .board-grid {
    grid-template-columns: 1fr;
  }
}
