/*
 * Reviews archive style (card grid).
 */

#reviews {
    padding: 125px var(--gutter) 100px;
    background: var(--yellow);
    text-align: center;
}

#reviews h1 {
    margin-bottom: 70px;
    font-size: clamp(38px, 3.9vw, 54px);
    font-weight: 300;
    color: var(--white);
}

.reviewGrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px 2em;
}

.review {
    position: relative;
    width: calc((100% - 4em) / 3);
    min-width: 280px;
    padding: 2.6em 1.8em 2em;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .12);
    text-align: left;
}

.review .quoteMark {
    top: -32px;
    left: 1.4em;
    width: 70px;
    height: 40px;
}

.review .quoteMark::before, .review .quoteMark::after {
    background: var(--black);
}

.review .stars {
    margin-bottom: 1.2em;
    color: var(--yellow);
    font-size: 1.1em;
    letter-spacing: .15em;
}

.review .stars .off {
    color: #e2e2e2;
}

.review p {
    line-height: 1.5;
}

.review h2 {
    margin-top: 1.2em;
    color: var(--yellow);
    font-size: 1em;
    letter-spacing: .05em;
}

#reviews .empty {
    width: 100%;
    color: var(--white);
}

#reviews .leave {
    margin-top: 70px;
}

@media screen and (max-width: 900px) {

    #reviews {
        padding: 70px 24px;
    }

    #reviews h1 {
        margin-bottom: 50px;
    }

    .review {
        width: calc((100% - 2em) / 2);
    }
}

@media screen and (max-width: 640px) {

    .review {
        width: 100%;
        min-width: 0;
    }
}
