

.installment__card {
    display: flex;
    flex-direction: column;
    background: #F0F7F8;
    border: 1px solid #DFF0F1;
    border-radius: 20px;
    padding: 10px 10px 30px;
    gap: 20px;
}

.installment__image-wrapper {
    width: 100%;
    flex-shrink: 0;
}

.installment__image {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
}

.installment__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 10px;
}

.installment__main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.installment__title {
    font-size: 20px;
    font-weight: 500;
    color: #003163;
    line-height: 1.17;
    margin: 0;
}

.installment__highlight-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.installment__percent {
    font-size: 22px;
    font-weight: 500;
    color: #5FB4BB;
    text-transform: uppercase;
    line-height: 1.17;
    margin: 0;
}

.installment__subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #003163;
    line-height: 1.17;
    margin: 0;
}

.installment__partners {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.installment__partners-text {
    font-size: 14px;
    font-weight: 400;
    color: #003163;
    line-height: 1.17;
    margin: 0;
}

.installment__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.installment__logo {
    height: 43px;

    object-fit: contain;
    object-position: left center;
    border-radius: 10px;
    width: auto;
}

@media (min-width: 768px) {
    .installment__title {
        font-size: 16px;
    }

    .installment__percent {
        font-size: 26px;
    }

    .installment__subtitle {
        font-size: 16px;
    }

    .installment__logos {
        flex-wrap: nowrap;
    }

    .installment__logo {
        height: 45px;
        flex: 0 0 86px;
        max-width: 86px;
        object-position: center;
    }
}

@media (min-width: 1024px) {
    .installment__card {
        flex-direction: row;
        align-items: center;
        padding: 10px 0 10px 10px;
        gap: 20px;
    }

    .installment__image-wrapper {
        width: 400px;
    }

    .installment__image {
        width: 400px;
        height: 320px;
    }

    .installment__content {
        padding: 20px 30px 20px 10px;
    }
}

@media (min-width: 1200px) {
    .installment__image-wrapper {
        width: 450px;
    }

    .installment__image {
        width: 450px;
        height: 350px;
    }

    .installment__title {
        font-size: 18px;
    }

    .installment__percent {
        font-size: 36px;
    }

    .installment__subtitle {
        font-size: 16px;
    }

}

@media (min-width: 1440px) {
    .installment__card {
        gap: 20px;
    }

    .installment__image-wrapper {
        width: 550px;
    }

    .installment__image {
        width: 550px;
        height: 400px;
    }

    .installment__main {
        gap: 30px;
    }

    .installment__percent {
        font-size: 38px;
    }

    .installment__subtitle {
        font-size: 18px;
    }

    .installment__partners-text {
        font-size: 16px;
    }

    .installment__logo {
        flex: 0 0 95px;
        max-width: 95px;
        height: 50px;
    }
}

@media (min-width: 1920px) {
    .installment__card {
        gap: 40px;
    }

    .installment__content {
        gap: 50px;
    }

    .installment__image-wrapper {
        width: 700px;
    }

    .installment__image {
        width: 700px;
        height: 450px;
    }

    .installment__main {
        gap: 30px;
    }

    .installment__title {
        font-size: 20px;
    }

    .installment__percent {
        font-size: 42px;
    }

    .installment__subtitle {
        font-size: 20px;
    }

    .installment__partners-text {
        font-size: 18px;
    }

    .installment__logo {
        flex: 0 0 120px;
        max-width: 120px;
        height: 63px;
    }
}

.installment__card .installment__image { height: 250px; }
.installment__card .installment__logo  { height: 43px; }

@media (max-width: 479px) {
    .installment__main .btn {
        width: auto;
        max-width: 100%;
        height: auto;
        min-height: 60px;
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: 1.2;
        white-space: normal;
    }
}

@media (min-width: 768px) {
    .installment__card .installment__logo { height: 45px; }
}
@media (min-width: 1024px) {
    .installment__card .installment__image { height: 320px; }
}
@media (min-width: 1200px) {
    .installment__card .installment__image { height: 350px; }
}
@media (min-width: 1440px) {
    .installment__card .installment__image { height: 400px; }
    .installment__card .installment__logo  { height: 50px; }
}
@media (min-width: 1920px) {
    .installment__card .installment__image { height: 450px; }
    .installment__card .installment__logo  { height: 63px; }
}
