.partners-card {
    margin-top: 26px;
    background: #fff;
    border: 1px solid rgba(11, 18, 32, .10);
    border-radius: 24px;
    box-shadow: 0 10px 26px rgba(11, 18, 32, .08);
    padding: 18px 18px 20px;


    contain: layout style paint;
    isolation: isolate;
}

.partners-card__head {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.partners-card__title {
    margin: 0;
    font-weight: 900;
    font-size: 16px;
    color: #0b2a4a;
}

.partners-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    align-items: center;
}

.partner-item {
    width: 100%;
    height: 92px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(11, 18, 32, .10);
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .15s ease;
    box-sizing: border-box;
}

.partner-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(11, 18, 32, .10);
    border-color: rgba(21, 94, 154, .35);
}

.partner-item img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}


@media (max-width: 768px) {
    .partners-row {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .partner-item {
        height: 80px;
    }

    .partner-item img {
        max-height: 48px;
    }
}


@media (max-width: 576px) {
    .partners-card {

        margin-left: 0;
        margin-right: 0;
        padding: 14px 10px 16px 10px;


        overflow: hidden;
        max-width: 100%;
        width: 100%;
    }

    .partners-card__head {
        padding: 0 6px;
    }

    .partners-row {

        display: block;
        overflow-x: auto;
        overflow-y: hidden;


        margin: 0 -10px;

        padding: 8px 10px 12px 10px;


        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .partners-row::-webkit-scrollbar {
        height: 5px;
    }

    .partners-row::-webkit-scrollbar-thumb {
        background: rgba(11, 18, 32, .20);
        border-radius: 999px;
    }

    .partner-item {

        display: inline-flex;
        vertical-align: top;

        width: 130px;
        height: 76px;

        margin-right: 12px;

        white-space: normal;
        scroll-snap-align: start;
    }

    .partner-item:last-child {
        margin-right: 0;
    }

    .partner-item img {
        max-height: 46px;
        max-width: 110px;
    }

    .partner-item:hover {
        transform: none;
        box-shadow: none;
    }
}


@media (max-width: 576px) {
    .partners-wrapper {
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
}