/* ==========================================================================
   Flexable Home V3 — reviews   (Module 8)
   ========================================================================== */

.flxb-reviews-section {
    background: #fff;
    padding: 110px 0 120px;
}

.flxb-reviews-head {
    margin-bottom: 56px;
}

.flxb-reviews-kicker {
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 800;
    color: var(--flxb-green);
    margin-bottom: 26px;
}

.flxb-home .flxb-reviews-h2 {
    font-size: clamp(40px, 6vw, 74px);
    line-height: .98;
    letter-spacing: -.055em;
    max-width: 760px;
    margin: 0;
}

.flxb-review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.flxb-review-card {
    border: 1px solid #dedfdf;
    border-radius: 26px;
    background: #fff;
    padding: 30px 32px 28px;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 32px rgba(24, 24, 27, .055);
}

.flxb-home .flxb-review-title {
    font-size: 19px;
    line-height: 1.32;
    letter-spacing: -.025em;
    font-weight: 800;
    max-width: 340px;
    min-height: 74px;
    margin: 0;
    color: var(--flxb-ink);
}

.flxb-review-score {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 26px;
}

.flxb-stars {
    font-size: 15px;
    letter-spacing: 1px;
    color: #747474;
}

.flxb-score-text {
    font-size: 13px;
    color: #6f716f;
}

.flxb-review-question {
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--flxb-ink);
}

.flxb-review-body {
    font-size: 15px;
    line-height: 1.7;
    color: #595c5a;
    margin: 0;
}

.flxb-review-source {
    font-size: 10px;
    line-height: 1.5;
    color: #8c8e8c;
    margin-top: auto;
    padding-top: 28px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .flxb-reviews-section {
        padding: 85px 0 95px;
    }

    .flxb-reviews-head {
        margin-bottom: 40px;
    }

    .flxb-review-grid {
        grid-template-columns: 1fr;
    }

    /* stacked cards shouldn't hold a desktop height */
    .flxb-review-card {
        min-height: 0;
    }

    .flxb-home .flxb-review-title {
        min-height: 0;
        max-width: none;
    }

    .flxb-review-source {
        padding-top: 22px;
    }
}

@media (max-width: 560px) {
    .flxb-reviews-section {
        padding: 68px 0 76px;
    }

    .flxb-reviews-kicker {
        margin-bottom: 18px;
    }

    .flxb-review-card {
        padding: 24px 22px 22px;
        border-radius: 22px;
    }

    .flxb-home .flxb-review-title {
        font-size: 17px;
    }

    .flxb-review-score {
        margin: 14px 0 20px;
    }

    .flxb-review-body {
        font-size: 14px;
        line-height: 1.65;
    }
}
