﻿.mhg-team-list {
    padding: 2.5rem 0;
}

.mhg-team-list__heading {
    margin-bottom: 1.75rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    color: #111111;
}

.mhg-team-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .mhg-team-card:hover {
        transform: translateY(-4px);
        border-color: #c91f26;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
    }

.mhg-team-card__image-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.mhg-team-card__image,
.mhg-team-card__image-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.mhg-team-card:hover .mhg-team-card__image {
    transform: scale(1.04);
}

.mhg-team-card__body {
    padding: 1rem 1rem 1.1rem;
    text-align: center;
}

.mhg-team-card__name {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

    .mhg-team-card__name a {
        color: #111111;
        text-decoration: none;
    }

        .mhg-team-card__name a:hover {
            color: #c91f26;
        }

.mhg-team-card__title {
    min-height: 2.8em;
    margin-bottom: 0.9rem;
    font-size: 0.85rem;
    line-height: 1.35;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mhg-team-card__divider {
    width: 70%;
    height: 1px;
    margin: 1.5rem auto 1rem;
    background: #e5e7eb;
}

.mhg-team-card__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mhg-team-card__action {
    width: 2rem;
    height: 2rem;
    border: 1px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

    .mhg-team-card__action:hover {
        color: #ffffff;
        background: #c8102e;
        border-color: #c8102e;
        transform: translateY(-2px);
    }

    .mhg-team-card__action svg {
        display: block;
        width: 16px;
        height: 16px;
    }

@media (max-width: 767.98px) {
    .mhg-team-list {
        padding: 2rem 0;
    }

    .mhg-team-list__heading {
        font-size: 1.75rem;
    }
}
