.info-page {
    font-family: var(--font-family);
    color: var(--chernyy);
    padding-bottom: 70px;
}

.info-page__title {
    margin-bottom: 20px;
    text-transform: uppercase;
}

.info-page__card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--belyy);
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 40px;
}

.info-page__card-heading {
    font-weight: 500;
    font-size: clamp(20px, 16px + 1vw, 30px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.info-page__card-body {
    font-weight: 500;
    font-size: clamp(15px, 13.286px + 0.536vw, 18px);
    line-height: 1.4;
}

.info-page__card-body p {
    margin-bottom: 1em;
}

.info-page__card-body p:last-child {
    margin-bottom: 0;
}

.info-page__card-body strong {
    font-weight: 700;
}

.info-page__list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding-left: 1.2em;
    margin: 0;
}

.info-page__card-media {
    width: 100%;
    min-height: 220px;
}

.info-page__card-media img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.info-page__slogan {
    text-align: center;
    font-weight: 500;
    font-size: clamp(15px, 13.286px + 0.536vw, 18px);
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
}

.info-page__slogan p {
    margin-bottom: 13px;
}

.info-page__slogan p:last-child {
    margin-bottom: 0;
}

.info-page__note {
    font-weight: 500;
    font-size: clamp(15px, 13.286px + 0.536vw, 18px);
    line-height: 1.4;
    color: var(--seryy, #878787);
}

.info-page__note a {
    color: var(--chernyy);
    text-decoration: underline;
}

@media (min-width: 900px) {
    .info-page__card {
        flex-direction: row;
        align-items: stretch;
    }

    .info-page__card-text {
        flex: 1 1 0;
        min-width: 0;
    }

    /* the photo fills the card next to the text; the text sets the height (Figma: 355px min) */
    .info-page__card-media {
        position: relative;
        flex: 1 1 0;
        min-height: 355px;
    }

    .info-page__card-media img {
        position: absolute;
        inset: 0;
        min-height: 0;
    }
}

/* Mobile (Figma "М. Гарантия и сервис", 393px): no white card, image under the title, slogan in a card */
@media (max-width: 767px) {
    .info-page {
        padding-bottom: 0;
    }
    .info-page__title {
        margin-bottom: 15px;
    }
    .info-page__card {
        gap: 15px;
        padding: 0;
        background: none;
        box-shadow: none;
        margin-bottom: 30px;
    }
    .info-page__card-media {
        order: -1;
        min-height: 242px;
    }
    .info-page__card-media img {
        min-height: 242px;
    }
    .info-page__card-heading {
        font-weight: 600;
        font-size: 20px;
        line-height: 120%;
        margin-bottom: 15px;
    }
    .info-page__card-body {
        font-size: 15px;
        line-height: 140%;
    }
    .info-page__card-body p {
        margin-bottom: 15px;
    }
    .info-page__card-body strong,
    .info-page__slogan strong {
        display: block;
        font-size: 16px;
        line-height: 150%;
        margin-bottom: 5px;
    }
    .info-page__card-body strong + br,
    .info-page__slogan strong + br {
        display: none;
    }
    .info-page__slogan {
        max-width: none;
        margin: 0;
        padding: 15px;
        background: var(--belyy);
        box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.07);
        text-align: left;
        font-size: 15px;
        line-height: 140%;
    }
    .info-page__slogan p {
        margin-bottom: 0;
    }
}

/* Figma "Гарантия и сервис" (1920): 702px text column; tablets keep text and photo half and half */
@media (min-width: 1200px) {
    .info-page__card-text {
        flex: 0 1 702px;
    }
}
