.customer-reviews {
    background: #F7F7F7;
    padding-bottom: 3rem;
    position: relative;
    z-index: 0;
}

.customer-reviews .header {
    max-width: 1005px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    margin: auto;
    padding: 2rem 0;
}

.customer-reviews .header .info-section {
    width: 70%;
    flex: 1;
    justify-content: space-around;
    margin: 2rem 0;
}

.customer-reviews .header .info-section .review-stars {
    color: #AFAFAF;
    width: 1.7rem;
    height: 1.7rem;
    background-color: #AFAFAF;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 799.89 761" xmlns="http://www.w3.org/2000/svg" width="2500" height="2378" color="currentColor"><path d="M799.89 290.83H494.44L400.09 0l-94.64 290.83L0 290.54l247.37 179.92L152.72 761l247.37-179.63L647.16 761l-94.35-290.54z" fill="white"/><path d="M574.04 536.24l-21.23-65.78-152.72 110.91z" fill="%23AFAFAF"/></svg>');
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: 50% 20%;
}

.customer-reviews .header .info-section .review-stars:not(:first-child) {
    margin-left: 0.2rem;
}

.customer-reviews .header .info-section .review-stars.active {
    background-color: #00B67A;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 799.89 761" xmlns="http://www.w3.org/2000/svg" width="2500" height="2378" color="currentColor"><path d="M799.89 290.83H494.44L400.09 0l-94.64 290.83L0 290.54l247.37 179.92L152.72 761l247.37-179.63L647.16 761l-94.35-290.54z" fill="white"/><path d="M574.04 536.24l-21.23-65.78-152.72 110.91z" fill="%2300B67A"/></svg>');
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: 50% 20%;
}

.customer-reviews .customer-reviews-carousel {
    display: flex;
    flex: 1;
}

.customer-reviews .customer-reviews-carousel .customer-reviews-item {
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(51, 51, 51, 0.2);
    position: relative;
    margin-top: 2rem;
    padding: 3rem 2rem 0 2rem;
    height: 23rem;
    max-width: 33%;
}

.customer-reviews .customer-reviews-carousel .customer-reviews-item .double-quotes {
    position: absolute;
    transform: translate(-50%, -56%);
    left: 50%;
    top: 0;
}

.customer-reviews .customer-reviews-carousel .customer-reviews-item .review-description {
    margin: 1rem 0;
    display: -webkit-box;
    line-clamp: 6;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customer-reviews .customer-reviews-carousel .customer-reviews-item .review-name {
    position: absolute;
    bottom: 3rem;
}

.customer-reviews .customer-reviews-carousel .customer-reviews-item .review-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-top: 1px solid #e7e7e7;
    padding: 0.7rem 0;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 2rem;
    left: 2rem;
}

.customer-reviews .customer-reviews-carousel .slick-dots {
    bottom: -2rem;
}

.customer-reviews .trust-pilot-logo {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.customer-reviews .trust-pilot-logo img {
    width: 2rem;
}

.customer-reviews .trust-pilot-logo:after {
    content: 'Trustpilot';
    font-weight: 800;
    font-size: 1.4rem;
    margin-left: 0.4rem;
    line-height: 1.4rem;
}

.customer-reviews .trust-pilot-logo-small {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.customer-reviews .trust-pilot-logo-small img {
    width: 1.1rem;
}

.customer-reviews .trust-pilot-logo-small:after {
    content: 'Trustpilot';
    font-weight: 800;
    font-size: 0.90rem;
    margin-left: 0.4rem;
    line-height: 0.90rem;
}

.customer-reviews .slick-slide {
    margin: 2rem 1rem;
}

/* Media Queries */
@media screen and (max-width: 820px) {
    .customer-reviews {
        padding: 1rem;
    }

    .customer-reviews .header {
        text-align: center;
        width: 80%;
    }

    .customer-reviews .header .info-section {
        margin: 1rem 0;
    }

    .customer-reviews .header .info-section p,
    .customer-reviews .header .info-section div {
        margin-top: 1rem;
    }

    .customer-reviews .customer-reviews-carousel .customer-reviews-item {
        max-width: 100% !important;
    }
}

@media screen and (max-width: 321px) {
    .review-title {
        font-size: 18px !important;
    }

    .customer-reviews .customer-reviews-carousel .review-name {
        bottom: 4rem !important;
    }

    .customer-reviews .customer-reviews-carousel .customer-reviews-item {
        height: 26rem !important;
    }
}
