/**
 * Moderatoren/Team Page Styles
 * Ella Radio Theme
 */

/* ==============================================
   PAGE HEADER
============================================== */
.moderatoren-header {
    padding: 2rem 0 3rem;
    text-align: left;
}

.moderatoren-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .moderatoren-header h1 {
        font-size: 3rem;
    }
}

.moderatoren-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
    max-width: 100%;
}

.moderatoren-description p {
    margin-bottom: 1rem;
}

.moderatoren-description p:last-child {
    margin-bottom: 0;
}

/* ==============================================
   TEAM GRID
============================================== */
.moderatoren-grid-section {
    padding: 2rem 0 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.no-team {
    text-align: center;
    padding: 3rem 0;
    color: #999;
    font-size: 1.125rem;
}

/* ==============================================
   TEAM CARDS
============================================== */
.team-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(60, 46, 37, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    box-shadow: 0 4px 16px rgba(60, 46, 37, 0.12);
    transform: translateY(-4px);
}

/* Team Image */
.team-image {
    width: 100%;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
}

.team-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f0f0f0;
}

/* Team Info */
.team-info {
    padding: 1.5rem;
}

.team-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.team-text {
    flex: 1;
    text-align: left;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.team-role {
    font-size: 0.9375rem;
    color: #666;
    margin: 0;
}

/* Email Button */
.team-email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #E30917, #C10713);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-email-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(225, 7, 23, 0.4);
}

.team-email-btn svg {
    flex-shrink: 0;
}

/* ==============================================
   RESPONSIVE
============================================== */
@media (max-width: 768px) {
    .moderatoren-header {
        padding: 1.5rem 0 2rem;
    }
    
    .moderatoren-description {
        font-size: 1rem;
    }
    
    .moderatoren-grid-section {
        padding: 1.5rem 0 3rem;
    }
    
    .team-grid {
        gap: 1.5rem;
    }
}
