/* swimART Team Grid */
.swimart-team-grid {
    display: grid;
    gap: 24px;
    margin: 2rem 0;
}
.swimart-cols-3 { grid-template-columns: repeat(3, 1fr); }
.swimart-cols-2 { grid-template-columns: repeat(2, 1fr); }
.swimart-cols-4 { grid-template-columns: repeat(4, 1fr); }
.swimart-cols-1 { grid-template-columns: 1fr; }

/* Card */
.swimart-team-card {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 28px 20px 24px;
    text-align: center;
    transition: box-shadow .25s ease, transform .25s ease;
}
.swimart-team-card:hover {
    box-shadow: 0 8px 24px rgba(5,122,212,.12);
    transform: translateY(-2px);
}

/* Photo */
.swimart-team-photo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.swimart-team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 12px;
    border: 2px solid #dbeafe;
}
/* Vorstand-Fotos: Hochformat-Porträts */
.swimart-dept-vorstand .swimart-team-photo {
    object-position: center 8% !important;
}

/* Text */
.swimart-team-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--swim-primary, #057ad4);
    margin: 0 0 4px;
    line-height: 1.3;
}
.swimart-team-designation {
    font-size: .88rem;
    color: #6b7280;
    margin: 0 0 12px;
    line-height: 1.4;
}
.swimart-team-contact {
    font-size: .82rem;
    color: #6b7280;
    line-height: 1.6;
    word-break: break-word;
}
.swimart-team-contact a {
    color: var(--swim-primary, #057ad4);
    text-decoration: none;
}
.swimart-team-contact a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 960px) {
    .swimart-cols-3,
    .swimart-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .swimart-cols-2,
    .swimart-cols-3,
    .swimart-cols-4 {
        grid-template-columns: 1fr;
    }
    .swimart-team-card {
        padding: 22px 16px 20px;
    }
    .swimart-team-photo {
        width: 110px;
        height: 110px;
    }
}
