/* ══════════════════════════════════════════════════════════
   OFFIZIELLE — Club officials & board members
══════════════════════════════════════════════════════════ */

/* ── Page header ── */
.off-header {
  padding-top: var(--nav-h);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.off-header::before { content: 'SVL'; }

.off-header .sec-eyebrow { color: var(--white); }
.off-header .sec-eyebrow::before { background: var(--white); }

.off-header-inner {
  max-width: 90rem;
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 5vw, 3rem) 2.75rem;
  position: relative;
  z-index: 1;
}

.off-header-title {
  font-family: 'Teko', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--white);
  margin: .5rem 0 .875rem;
}


/* ── Main layout ── */
.off-main {
  padding: 3.5rem 0 5rem;
}

.off-wrap {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ── Group sections ── */
.off-group {
  margin-bottom: 4rem;
}
.off-group:last-child { margin-bottom: 0; }

.off-group-hdr {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.75rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--border);
}

.off-group-title {
  font-family: 'Teko', sans-serif;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.off-group-count {
  font-family: 'Teko', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Card grid ── */
.off-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

/* ── Member card ── */
.off-card {
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background .2s, box-shadow .2s;
}
.off-card:hover {
  background: var(--surface2);
  box-shadow: inset 3px 0 0 var(--red);
}

/* Photo area */
.off-card-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: var(--surface2);
}
.off-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
}
.off-card:hover .off-card-photo img { transform: scale(1.05); }

/* Placeholder — filled silhouette, no text clutter */
.off-card-ph {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(var(--rgb-pure-black), .25) 0%, transparent 55%),
    var(--surface2);
}

/* Person silhouette — head + shoulders, bottom-anchored, filled */
.off-card-ph-icon {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  fill: rgba(var(--rgb-white), .055);
  stroke: none;
  display: block;
}

/* Card info */
.off-card-info {
  padding: .875rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex: 1;
}

.off-card-role {
  font-family: 'Teko', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--red);
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
}

.off-card-name {
  font-family: 'Teko', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--white);
  line-height: 1.2;
  margin-top: .1.2rem;
}

.off-card-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: .15rem;
}

.off-card-email {
  display: inline-flex;
  align-items: flex-start;
  gap: .35rem;
  font-size: 1.2rem;
  color: var(--muted);
  text-decoration: none;
  margin-top: auto;
  transition: color .15s;
  word-break: break-all;
  min-width: 0;
}
.off-card-email:hover { color: var(--white); }
.off-card-email svg {
  width: .75rem; height: .75rem;
  stroke: currentColor;
  flex-shrink: 0;
}

.off-card-phone {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: 1.2rem;
  color: var(--muted);
  text-decoration: none;
  margin-top: auto;
  padding-top: .625rem;
  transition: color .15s;
  white-space: nowrap;
}
.off-card-phone:hover { color: var(--white); }
.off-card-phone svg {
  width: .75rem; height: .75rem;
  stroke: currentColor;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 48rem) {
  .off-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1.2rem;
  }
}
@media (max-width: 30rem) {
  .off-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
