.site-title {
    background: #f7f7f7;
    border-top: 1px solid #efefef;
    margin: 0;
    padding: 20px 0 0;
}

.site-title .breadcrumbs {
    margin-bottom: 24px;
}

.site-title h1 {
    color: #151515;
    font-size: 32px;
    font-weight: 700;
    line-height: 36px;
    margin: 0;
}

.mcg-reviews,
.mcg-reviews-section,
.mcg-reviews-cta {
    --mcg-blue: #2f66b6;
    --mcg-button: #689ae3;
    --mcg-text: #151515;
    --mcg-muted: #5c5c5c;
    --mcg-light: #8a8a8a;
    --mcg-border: #efefef;
    --mcg-soft: #f7f7f7;
    --mcg-star: #ffb300;
    background: #fff;
    color: var(--mcg-text);
    font-family: "HelveticaNeueCyr-Roman", "Helvetica Neue", Arial, sans-serif;
}

.mcg-reviews *,
.mcg-reviews *::before,
.mcg-reviews *::after,
.mcg-reviews-section *,
.mcg-reviews-section *::before,
.mcg-reviews-section *::after,
.mcg-reviews-cta *,
.mcg-reviews-cta *::before,
.mcg-reviews-cta *::after {
    box-sizing: border-box;
}

.mcg-reviews .content,
.mcg-reviews-section > .content,
.mcg-reviews-cta > .content {
    margin: 0 auto;
    max-width: 1110px;
    width: calc(100% - 48px);
}

.mcg-reviews-section {
    padding: 80px 0;
}

.mcg-reviews-section--hero {
    background: var(--mcg-soft);
    border-top: 0.4px solid var(--mcg-border);
    border-bottom: 0.4px solid var(--mcg-border);
    padding-top: 20px;
}

.mcg-reviews-section--readers {
    background: #fff;
}

.mcg-reviews-lead {
    color: var(--mcg-muted);
    font-family: "HelveticaNeueCyr-Roman", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 24px;
    margin: 0 0 32px;
    max-width: 635px;
}

.mcg-reviews-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    margin-bottom: 48px;
}

.mcg-reviews-metric {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.07);
    display: flex;
    flex: 0 0 255px;
    flex-direction: column;
    gap: 12px;
    min-height: 100px;
    overflow: hidden;
    padding: 24px;
}

.mcg-reviews-metric strong {
    color: var(--mcg-blue);
    display: block;
    font-family: "HelveticaNeueCyr-Medium", "HelveticaNeueCyr-Roman", "Helvetica Neue", Arial, sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 28px;
    margin: 0;
    white-space: nowrap;
}

.mcg-reviews-metric span {
    color: var(--mcg-muted);
    display: block;
    font-family: "HelveticaNeueCyr-Roman", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    max-width: 180px;
}

.mcg-reviews-block {
    margin-top: 0;
}

.mcg-reviews-title {
    color: var(--mcg-text);
    font-family: "HelveticaNeueCyr-Bold", "HelveticaNeueCyr-Roman", "Helvetica Neue", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 32px;
    margin: 0 0 32px;
}

.mcg-reviews-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.mcg-review-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.07);
    display: flex;
    flex: 0 0 350px;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    padding: 24px;
}

.mcg-review-card--reader {
    background: var(--mcg-soft);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.07);
    min-height: 250px;
    padding-bottom: 28px;
}

.mcg-review-card__stars {
    color: var(--mcg-star);
    font-family: "HelveticaNeueCyr-Roman", "Helvetica Neue", Arial, sans-serif;
    font-size: 20px;
    line-height: normal;
    white-space: nowrap;
}

.mcg-review-card__text {
    color: var(--mcg-muted);
    font-family: "HelveticaNeueCyr-Roman", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    height: 100px;
    line-height: 20px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mcg-review-card__author {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mcg-review-card__author strong {
    color: var(--mcg-muted);
    font-family: "HelveticaNeueCyr-Bold", "HelveticaNeueCyr-Roman", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
}

.mcg-review-card__author span {
    color: var(--mcg-light);
    font-family: "HelveticaNeueCyr-Roman", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    line-height: 16px;
}

.mcg-review-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.mcg-review-card__tags span {
    background: rgba(47, 102, 182, 0.08);
    border-radius: 4px;
    color: var(--mcg-blue);
    display: inline-flex;
    font-family: "HelveticaNeueCyr-Medium", "HelveticaNeueCyr-Roman", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    padding: 7px 10px 9px;
}

.mcg-reviews-cta {
    background: var(--mcg-soft);
    border: 0.4px solid var(--mcg-border);
    padding: 80px 0;
}

.mcg-reviews-cta__content {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.mcg-reviews-cta__content h2 {
    color: var(--mcg-text);
    font-size: 28px;
    font-weight: 700;
    line-height: 32px;
    margin: 0;
}

.mcg-reviews-cta__content p {
    color: var(--mcg-muted);
    font-size: 14px;
    line-height: 24px;
    margin: 0 0 24px;
}

.mcg-reviews-cta__content a,
.mcg-reviews-cta__button {
    align-items: center;
    background: var(--mcg-button);
    border-radius: 5px;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    line-height: 14px;
    min-height: 44px;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
}

.mcg-reviews-cta__content a:hover,
.mcg-reviews-cta__content a:focus,
.mcg-reviews-cta__button:hover,
.mcg-reviews-cta__button:focus {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 980px) {
    .site-title {
        padding-top: 16px;
    }

    .site-title .breadcrumbs {
        margin-bottom: 18px;
    }

    .site-title h1 {
        font-size: 26px;
        line-height: 32px;
    }

    .mcg-reviews .content,
    .mcg-reviews-section > .content,
    .mcg-reviews-cta > .content {
        width: calc(100% - 32px);
    }

    .mcg-reviews-section,
    .mcg-reviews-cta {
        padding: 64px 0;
    }

    .mcg-reviews-section--hero {
        padding-top: 8px;
    }

    .mcg-reviews-metrics {
        justify-content: flex-start;
    }

    .mcg-reviews-metric {
        flex-basis: calc(50% - 15px);
    }

    .mcg-review-card {
        flex-basis: calc(50% - 15px);
    }
}

@media (max-width: 640px) {
    .site-title h1 {
        font-size: 24px;
        line-height: 30px;
    }

    .mcg-reviews .content,
    .mcg-reviews-section > .content,
    .mcg-reviews-cta > .content {
        width: calc(100% - 24px);
    }

    .mcg-reviews-section,
    .mcg-reviews-cta {
        padding: 48px 0;
    }

    .mcg-reviews-section--hero {
        padding-top: 8px;
    }

    .mcg-reviews-lead {
        font-size: 13px;
        line-height: 22px;
        margin-bottom: 28px;
    }

    .mcg-reviews-metrics,
    .mcg-reviews-grid {
        gap: 16px;
    }

    .mcg-reviews-metrics {
        margin-bottom: 40px;
    }

    .mcg-reviews-metric {
        flex-basis: 100%;
        min-height: 104px;
        padding: 20px;
    }

    .mcg-reviews-title,
    .mcg-reviews-cta__content h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .mcg-reviews-title {
        margin-bottom: 24px;
    }

    .mcg-review-card,
    .mcg-review-card--reader {
        flex-basis: 100%;
        min-height: auto;
        padding: 20px;
    }

    .mcg-reviews-section {
        overflow: hidden;
    }

    .mcg-reviews-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 30px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 1px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .mcg-reviews-grid::-webkit-scrollbar {
        display: none;
    }

    .mcg-reviews-grid .mcg-review-card,
    .mcg-reviews-grid .mcg-review-card--reader {
        flex: 0 0 272px;
        width: 272px;
        padding: 16px 16px 20px;
        scroll-snap-align: start;
    }

    .mcg-review-card__text {
        height: auto;
        min-height: auto;
    }

    .mcg-reviews-cta__content p {
        max-width: 320px;
    }

    .mcg-reviews-cta__content a,
.mcg-reviews-cta__button {
        width: 100%;
    }
}
