/* /private/socialnye-tarify/ only (cards come from tariff-cards.css, the FAQ fix from private.css) */

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
    gap: 24px;
    margin-top: 10px;
}

@media screen and (max-width: 991px) {
    .social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* two narrow columns: compact card head and facts, like the 4-column Вэллкомбо grid */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .social-grid .vk-card__icon {
        width: 40px;
        height: 40px;
    }

    .social-grid .vk-card__head {
        gap: 12px;
    }

    .social-grid .vk-card__plan {
        font-size: 28px;
    }

    .social-grid .vk-card__facts {
        gap: 10px;
    }

    .social-grid .vk-card__fact {
        gap: 6px;
        font-size: 12px;
    }

    .social-grid .vk-card__fact svg {
        width: 22px;
        height: 22px;
    }

    .social-grid .vk-card__speed b {
        font-size: 20px;
    }
}

@media screen and (max-width: 767px) {
    .social-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 374px) {
    .social-grid .vk-card__plan {
        font-size: 22px;
    }
}

/* the options panel shows a note instead of add-ons */
.vk-card__note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.35;
    color: #3b4a5e;
}

.vk-card__note svg {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

/* "Как подключить": the site's .connect steps component, laid out for 3 steps */
.connect--steps3 .connect__item {
    width: calc((100% - 48px) / 3);
    max-width: none;
    padding: 60px 40px 50px;
}

.connect--steps3 .connect__subtitle {
    font-size: 60px;
}

.connect--steps3 .connect__desc {
    margin-top: 40px;
}

@media screen and (max-width: 1400px) {
    .connect--steps3 .connect__item {
        padding: 40px 24px 36px;
    }

    .connect--steps3 .connect__subtitle {
        font-size: 48px;
    }

    .connect--steps3 .connect__desc {
        margin-top: 28px;
        font-size: 17px;
    }
}

@media screen and (max-width: 992px) {
    .connect--steps3 .connect__item {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .connect--steps3 .connect__subtitle {
        font-size: 40px;
    }

    .connect--steps3 .connect__desc {
        font-size: 15px;
    }
}

.social-steps__contact {
    margin-top: 28px;
}

.social-steps__contact a {
    color: #00a2de;
    white-space: nowrap;
}
