﻿.mhg-team-detail {
    width: 100%;
    color: #071126;
}

.mhg-team-detail__back-bar {
    background: #101827;
    padding: 18px 24px;
}

.mhg-team-detail__back-link {
    color: #b8c1d1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

    .mhg-team-detail__back-link:hover {
        color: #ffffff;
    }

.mhg-team-detail__hero {
    background: radial-gradient(circle at left, rgba(239, 25, 35, 0.18), transparent 34%), #000000;
    padding: 80px 24px 105px;
}

.mhg-team-detail__inner {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 30px;
    align-items: center;
}

.mhg-team-detail__photo-wrap {
    width: 192px;
    height: 192px;
    background: #ffffff;
    overflow: hidden;
}

.mhg-team-detail__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.mhg-team-detail__label {
    display: inline-block;
    background: rgba(239, 25, 35, 0.22);
    border: 1px solid rgba(239, 25, 35, 0.35);
    color: #ff1b2d;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 18px;
}

.mhg-team-detail__info h1 {
    color: #ffffff;
    font-size: 38px;
    line-height: 1.1;
    margin: 0 0 8px;
    font-weight: 800;
}

.mhg-team-detail__info h2 {
    color: #ffffff;
    font-size: 21px;
    line-height: 1.35;
    margin: 0 0 25px;
    font-weight: 700;
}

.mhg-team-detail__contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(185px, 1fr));
    gap: 12px;
    max-width: 840px;
}

.mhg-team-detail__contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 16px;
    background: #121212;
    border: 1px solid #2e2e2e;
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: all 0.2s ease;
}

    .mhg-team-detail__contact-card:hover {
        border-color: #ed1c24;
        background: #1b1b1b;
        transform: translateY(-2px);
        color: #ffffff;
    }

.mhg-team-detail__modal-trigger {
    border: 1px solid #2e2e2e;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.mhg-team-detail__icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ed1c24;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.mhg-team-detail__content {
    max-width: 1250px;
    margin: 0 auto;
    padding: 55px 24px 70px;
}

.mhg-team-detail__bio {
    font-size: 18px;
    line-height: 1.65;
    color: #06112b;
}

    .mhg-team-detail__bio p {
        margin: 0 0 25px;
    }

.mhg-team-detail__did-you-know {
    margin-top: 45px;
    border-left: 4px solid #ed1c24;
    padding: 24px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.mhg-team-detail__did-icon {
    width: 36px;
    height: 36px;
    background: #fde1e3;
    color: #ed1c24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.mhg-team-detail__did-you-know h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
}

.mhg-team-detail__did-you-know p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.mhg-team-detail-empty {
    padding: 60px 24px;
    max-width: 900px;
    margin: 0 auto;
}

/* Say Hi Modal */
.mhg-modal-open {
    overflow: hidden;
}

.mhg-say-hi-modal[hidden] {
    display: none !important;
}

.mhg-say-hi-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    padding: 24px;
}

    .mhg-say-hi-modal.is-open {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.mhg-say-hi-modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.mhg-say-hi-modal__dialog {
    position: relative;
    width: min(520px, calc(100% - 32px));
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #ffffff;
    padding: 28px 32px 32px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.mhg-say-hi-modal__close {
    position: absolute;
    top: 14px;
    right: 20px;
    border: 0;
    background: transparent;
    color: #98a1b2;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.mhg-say-hi-modal__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

    .mhg-say-hi-modal__logo img {
        max-width: 150px;
        height: auto;
    }

.mhg-say-hi-modal h2 {
    text-align: center;
    color: #071126;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 24px;
}

.mhg-say-hi-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mhg-say-hi-form__field {
    margin-bottom: 16px;
}

    .mhg-say-hi-form__field label {
        display: block;
        margin-bottom: 7px;
        color: #071126;
        font-size: 14px;
        font-weight: 700;
    }

    .mhg-say-hi-form__field input,
    .mhg-say-hi-form__field textarea {
        width: 100%;
        border: 1px solid #cfd6e2;
        border-radius: 7px;
        padding: 13px 15px;
        color: #071126;
        font-size: 15px;
        font-family: inherit;
        outline: none;
        box-sizing: border-box;
    }

        .mhg-say-hi-form__field input:focus,
        .mhg-say-hi-form__field textarea:focus {
            border-color: #ed1c24;
            box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.12);
        }

    .mhg-say-hi-form__field textarea {
        resize: vertical;
        min-height: 110px;
    }

.mhg-say-hi-form__captcha-placeholder {
    width: 300px;
    max-width: 100%;
    min-height: 86px;
    margin: 22px auto 24px;
    border: 1px solid #d5d5d5;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 14px;
    color: #071126;
    font-size: 15px;
    position: relative;
}

.mhg-say-hi-form__checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #bfc4cc;
    background: #ffffff;
}

.mhg-say-hi-form__captcha-placeholder small {
    position: absolute;
    right: 14px;
    bottom: 10px;
    font-size: 10px;
    color: #6b7280;
}

.mhg-say-hi-form__submit {
    width: 100%;
    border: 0;
    border-radius: 7px;
    background: #ed1c24;
    color: #ffffff;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .mhg-say-hi-form__submit:hover {
        background: #c91018;
        transform: translateY(-1px);
    }

@media (max-width: 991px) {
    .mhg-team-detail__inner {
        grid-template-columns: 1fr;
    }

    .mhg-team-detail__contact-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 575px) {
    .mhg-team-detail__hero {
        padding: 50px 20px 70px;
    }

    .mhg-team-detail__info h1 {
        font-size: 32px;
    }

    .mhg-team-detail__contact-grid {
        grid-template-columns: 1fr;
    }

    .mhg-team-detail__photo-wrap {
        width: 170px;
        height: 170px;
    }

    .mhg-say-hi-modal {
        padding: 16px;
    }

    .mhg-say-hi-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 32px);
        padding: 26px 20px;
    }

    .mhg-say-hi-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
