/* Mein Team Plugin - Team Cards Styling */

/* Sektionen für Vorstand und Erweiterter Vorstand */
.mtp-section {
    margin-bottom: 60px;
}

.mtp-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #148282;
    text-align: center;
}

.mtp-section-erweiterter-vorstand .mtp-section-title {
    border-bottom: 3px solid #f9b342;
}

.mtp-team-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, 240px);
    gap: 25px;
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
}

/* Erweiterter Vorstand: 3 Spalten */
.mtp-section-erweiterter-vorstand .mtp-team-container {
    grid-template-columns: repeat(3, 1fr);
    max-width: 820px;
}

.mtp-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 0;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.mtp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, #0d7373 0%, #148282 50%, #1a9d9d 100%);
    border-radius: 24px 24px 0 0;
}

/* Unterschiedliche Farbverläufe für Vorstand und Erweiterter Vorstand */
.mtp-section-vorstand .mtp-card::before {
    background: linear-gradient(135deg, #0d7373 0%, #148282 50%, #1a9d9d 100%);
}

.mtp-section-erweiterter-vorstand .mtp-card::before {
    background: linear-gradient(135deg, #d69329 0%, #f9b342 50%, #fac166 100%);
}

.mtp-section-vorstand .mtp-job {
    background: linear-gradient(135deg, #148282 0%, #1a9d9d 100%);
    box-shadow: 0 2px 8px rgba(20, 130, 130, 0.2);
}

.mtp-section-erweiterter-vorstand .mtp-job {
    background: linear-gradient(135deg, #f9b342 0%, #fac166 100%);
    box-shadow: 0 2px 8px rgba(249, 179, 66, 0.2);
}

.mtp-section-vorstand .mtp-social-icon.mtp-linkedin,
.mtp-section-vorstand .mtp-social-icon.mtp-twitter,
.mtp-section-vorstand .mtp-social-icon.mtp-instagram,
.mtp-section-vorstand .mtp-social-icon.mtp-whatsapp,
.mtp-section-vorstand .mtp-social-icon.mtp-phone,
.mtp-section-vorstand .mtp-social-icon.mtp-email {
    background: #148282;
}

.mtp-section-vorstand .mtp-social-icon:hover {
    background: #0d7373;
    box-shadow: 0 6px 16px rgba(20, 130, 130, 0.4);
}

.mtp-section-erweiterter-vorstand .mtp-social-icon.mtp-linkedin,
.mtp-section-erweiterter-vorstand .mtp-social-icon.mtp-twitter,
.mtp-section-erweiterter-vorstand .mtp-social-icon.mtp-instagram,
.mtp-section-erweiterter-vorstand .mtp-social-icon.mtp-whatsapp,
.mtp-section-erweiterter-vorstand .mtp-social-icon.mtp-phone,
.mtp-section-erweiterter-vorstand .mtp-social-icon.mtp-email {
    background: #f9b342;
}

.mtp-section-erweiterter-vorstand .mtp-social-icon:hover {
    background: #d69329;
    box-shadow: 0 6px 16px rgba(249, 179, 66, 0.4);
}

.mtp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.mtp-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #e5e5e5;
    margin: 50px auto 18px auto;
    border: 5px solid #ffffff;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.mtp-card:hover .mtp-image {
    transform: scale(1.05);
}

.mtp-card h3 {
    margin: 0 0 10px 0;
    padding: 0 18px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.mtp-job {
    display: inline-block;
    font-size: 0.75rem;
    color: #ffffff;
    background: linear-gradient(135deg, #148282 0%, #1a9d9d 100%);
    padding: 5px 16px;
    margin: 0 auto 16px auto;
    width: 60%;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(20, 130, 130, 0.2);
}

.mtp-bio {
    font-size: 0.88rem;
    color: #555555;
    line-height: 1.5;
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}
.mtp-social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 20px 20px 25px 20px;
    background: #f8f8f8;
    border-top: 1px solid #eeeeee;
    margin-top: auto;
}

.mtp-social-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mtp-social-icon svg {
    width: 19px;
    height: 19px;
}
/* Alle Social Icons im grünen Farbton */
.mtp-social-icon.mtp-linkedin,
.mtp-social-icon.mtp-twitter,
.mtp-social-icon.mtp-instagram,
.mtp-social-icon.mtp-whatsapp,
.mtp-social-icon.mtp-phone,
.mtp-social-icon.mtp-email {
    background: #148282;
    color: white;
}

.mtp-social-icon.mtp-linkedin:hover,
.mtp-social-icon.mtp-twitter:hover,
.mtp-social-icon.mtp-instagram:hover,
.mtp-social-icon.mtp-whatsapp:hover,
.mtp-social-icon.mtp-phone:hover,
.mtp-social-icon.mtp-email:hover {
    transform: scale(1.15) rotate(5deg);
}

.mtp-section-vorstand .mtp-social-icon:hover {
    box-shadow: 0 6px 16px rgba(20, 130, 130, 0.4);
    background: #0d7373;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .mtp-team-container,
    .mtp-section-erweiterter-vorstand .mtp-team-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
    
    .mtp-card h3 {
        font-size: 1.2rem;
    }
    
    .mtp-image {
        width: 120px;
        height: 120px;
    }
}
