/*-- -------------------------- -->
<---          Reviews           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #reviews-66 {
        padding: var(--sectionPadding);
        position: relative;
    }
    #reviews-66 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #reviews-66 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
    }

    #reviews-66 .cs-title {
        color: var(--bodyTextColorWhite);
    }
    #reviews-66 .cs-text {
        color: var(--bodyTextColorWhite);
        opacity: 0.8;
    }
    #reviews-66 .cs-card-group {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* changes to a clamp at tablet */
        gap: 2.875rem;
    }
    #reviews-66 .cs-item {
        list-style: none;
        text-align: center;
        width: 100%;
        max-width: 22.125rem;
        padding: 0 1.5rem 1.5rem;
        margin: 0;
        background: #fff;
        /* prevent padding from adding to the height and width */
        box-sizing: border-box;
    }
    #reviews-66 .cs-img {
        margin: 0 auto 1rem;
        width: 4.25rem;
        height: 4.25rem;
        /* border-radius: 50%; */
        display: block;
        transform: translateY(-1.75rem);
    }
    #reviews-66 .cs-name {
        font-size: 1.25rem;
        line-height: 1.2em;
        text-align: center;
        font-weight: 700;
        margin: 0;
        color: var(--headerColor);
        display: block;
    }
    #reviews-66 .cs-desc {
        font-size: 1rem;
        line-height: 1.2em;
        text-align: center;
        margin: 0 0 1rem;
        color: #7d799c;
        display: block;
    }
    #reviews-66 .cs-item-text {
        font-size: 1rem;
        line-height: 1.5em;
        max-width: 17.5rem;
        margin: auto;
        color: var(--bodyTextColor);
    }
    #reviews-66 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: var(--bodyTextColorWhite);
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: var(--primary);
        /* border-radius: 0.25rem; */
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
        transition: color 0.3s;
    }
    #reviews-66 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        /* border-radius: 0.25rem; */
        transition: width 0.3s;
    }
    #reviews-66 .cs-button-solid:hover {
        color: #fff;
    }
    #reviews-66 .cs-button-solid:hover:before {
        width: 100%;
    }
    #reviews-66 .cs-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #reviews-66 .cs-background:before {
        /* background color overlay */
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        background: #000;
        opacity: 0.7;
        top: 0;
        left: 0;
        z-index: 1;
    }
    #reviews-66 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        /* Makes img tag act as a background image */
        object-fit: cover;
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #reviews-66 .cs-card-group {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        flex-wrap: wrap;
        /* 16px - 20px */
        column-gap: clamp(1rem, 1.5vw, 1.25rem);
        row-gap: 2.875rem;
    }
    #reviews-66 .cs-item {
        width: clamp(31.5%, 30vw, 32.3%);
    }
}

                                