/* MFPV — Участники проекта */

.mfpv-members {
    position: relative;
    padding: 78px 0;
    overflow: hidden;
}

.mfpv-members-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.mfpv-members-head {
    max-width: 760px;
    margin-bottom: 30px;
}

.mfpv-members-kicker {
    margin-bottom: 10px;
    color: #ff963f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mfpv-members-title {
    margin: 0;
    color: #f6f8f9;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.mfpv-members-subtitle {
    margin: 14px 0 0;
    max-width: 760px;
    color: #8f9da5;
    font-size: 16px;
    line-height: 1.7;
}

.mfpv-members-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.mfpv-member-card {
    min-width: 0;
    min-height: 176px;
    padding: 22px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(255,150,63,.055),
            transparent 48%
        ),
        rgba(12,17,20,.72);

    text-decoration: none;
    color: inherit;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.mfpv-member-card.is-link {
    cursor: pointer;
}

@media (hover:hover) and (pointer:fine) {
    .mfpv-member-card.is-link:hover {
        transform: translateY(-3px);
        border-color: rgba(255,150,63,.32);
        background:
            radial-gradient(
                circle at 50% 15%,
                rgba(255,150,63,.10),
                transparent 52%
            ),
            rgba(14,20,24,.90);
    }
}

.mfpv-member-logo-wrap {
    width: 86px;
    height: 86px;
    margin-bottom: 14px;

    display: grid;
    place-items: center;

    border-radius: 18px;

    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);

    overflow: hidden;
}

.mfpv-member-logo {
    display: block;
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
}

.mfpv-member-placeholder {
    font-size: 28px;
    font-weight: 900;
    color: #ff963f;
}

.mfpv-member-name {
    color: #f4f6f7;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.mfpv-member-note {
    margin-top: 5px;
    color: #7f8d95;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .mfpv-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .mfpv-members {
        padding: 56px 0;
    }

    .mfpv-members-inner {
        width: min(100% - 28px, 1180px);
    }

    .mfpv-members-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 2px 1px 10px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .mfpv-members-grid::-webkit-scrollbar {
        display: none;
    }

    .mfpv-member-card {
        flex: 0 0 180px;
        min-height: 166px;
        scroll-snap-align: start;
    }

    .mfpv-member-logo-wrap {
        width: 78px;
        height: 78px;
    }
}


/* ===== MFPV PROJECT MEMBERS FINAL FIX START ===== */

/* ВЕСЬ БЛОК */
.mfpv-members {
    width: 100% !important;
    padding: 72px 0 !important;
    text-align: center !important;
    overflow: visible !important;
}

.mfpv-members-inner {
    width: min(1180px, calc(100% - 40px)) !important;
    margin: 0 auto !important;
    text-align: center !important;
}


/* ЗАГОЛОВОК + ТЕКСТ СТРОГО ПО ЦЕНТРУ */
.mfpv-members-head {
    width: 100% !important;
    max-width: 1000px !important;

    margin:
        0 auto 48px auto !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
}

.mfpv-members-kicker {
    width: 100% !important;

    margin:
        0 auto 12px auto !important;

    text-align: center !important;

    color: #ff963f !important;
}

.mfpv-members-title {
    width: 100% !important;

    margin:
        0 auto !important;

    padding: 0 !important;

    text-align: center !important;

    font-size:
        clamp(34px, 4vw, 54px) !important;

    line-height: 1.08 !important;
}

.mfpv-members-subtitle {
    width: 100% !important;
    max-width: 900px !important;

    margin:
        18px auto 0 auto !important;

    padding: 0 !important;

    text-align: center !important;

    font-size: 17px !important;
    line-height: 1.65 !important;
}


/* ЛОГОТИПЫ — ОДНА СТРОКА НА ПК */
.mfpv-members-grid {
    width: 100% !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 46px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    overflow-x: auto !important;
    overflow-y: visible !important;

    scrollbar-width: thin;
}


/* КАРТОЧКА БЕЗ РАМОК */
.mfpv-member-card {
    flex:
        0 0 220px !important;

    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;

    min-height: 0 !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;

    background:
        transparent !important;

    border:
        none !important;

    border-radius:
        0 !important;

    box-shadow:
        none !important;

    overflow:
        visible !important;

    transform:
        none !important;
}


/* УБИРАЕМ ВНУТРЕННЮЮ РАМКУ ВОКРУГ ЛОГОТИПА */
.mfpv-member-logo-wrap {
    width: 220px !important;
    height: 190px !important;

    margin:
        0 auto !important;

    padding:
        0 !important;

    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    background:
        transparent !important;

    border:
        none !important;

    border-radius:
        0 !important;

    box-shadow:
        none !important;

    overflow:
        visible !important;
}


/* САМ ЛОГОТИП — КРУПНЫЙ И НЕ ОБРЕЗАННЫЙ */
.mfpv-member-logo {
    display:
        block !important;

    width:
        auto !important;

    height:
        auto !important;

    max-width:
        210px !important;

    max-height:
        180px !important;

    padding:
        0 !important;

    margin:
        0 auto !important;

    object-fit:
        contain !important;

    object-position:
        center center !important;

    background:
        transparent !important;

    border:
        none !important;

    box-shadow:
        none !important;

    clip-path:
        none !important;

    overflow:
        visible !important;
}


/* НАЗВАНИЕ — ТОЛЬКО ЕСЛИ ОНО ЕСТЬ */
.mfpv-member-name {
    width: 100% !important;

    margin:
        14px auto 0 auto !important;

    text-align:
        center !important;

    font-size:
        17px !important;

    line-height:
        1.35 !important;
}

.mfpv-member-note {
    width: 100% !important;

    margin:
        6px auto 0 auto !important;

    text-align:
        center !important;
}


/* УБИРАЕМ ЭФФЕКТ ПРИ НАВЕДЕНИИ, КОТОРЫЙ МОГ СДВИГАТЬ ЛОГОТИП */
.mfpv-member-card.is-link:hover {
    transform:
        none !important;

    background:
        transparent !important;

    border:
        none !important;

    box-shadow:
        none !important;
}


/* ТЕЛЕФОН — ПО 2 ЛОГОТИПА В РЯД */
@media (max-width: 700px) {

    .mfpv-members {
        padding:
            52px 0 !important;
    }

    .mfpv-members-inner {
        width:
            calc(100% - 24px) !important;
    }

    .mfpv-members-head {
        margin-bottom:
            34px !important;
    }

    .mfpv-members-title {
        font-size:
            clamp(30px, 10vw, 42px) !important;
    }

    .mfpv-members-subtitle {
        max-width:
            100% !important;

        font-size:
            15px !important;

        line-height:
            1.55 !important;
    }

    .mfpv-members-grid {
        display:
            grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap:
            26px 16px !important;

        overflow:
            visible !important;
    }

    .mfpv-member-card {
        width:
            100% !important;

        min-width:
            0 !important;

        max-width:
            none !important;

        flex:
            none !important;
    }

    .mfpv-member-logo-wrap {
        width:
            100% !important;

        height:
            145px !important;
    }

    .mfpv-member-logo {
        max-width:
            150px !important;

        max-height:
            140px !important;
    }
}


/* ОЧЕНЬ УЗКИЕ ТЕЛЕФОНЫ */
@media (max-width: 380px) {

    .mfpv-members-grid {
        gap:
            22px 10px !important;
    }

    .mfpv-member-logo-wrap {
        height:
            125px !important;
    }

    .mfpv-member-logo {
        max-width:
            125px !important;

        max-height:
            120px !important;
    }
}

/* ===== MFPV PROJECT MEMBERS FINAL FIX END ===== */

