.reviews-gallery {
    height: 320px;
    width: 100%;
}

    .reviews-gallery .gallery-inner {
        gap: 16px;
    }

    .reviews-gallery .gallery-item.review {
        display: flex;
        flex: 0 0 780px;
        height: 320px;
        padding: 40px 60px 50px 50px;
        gap: 20px;
        flex-wrap: wrap;
        border-radius: 40px;
        border: 1px solid #D2D2D2;
        row-gap: 30px;
    }

    .reviews-gallery .gallery-item.review .author-photo {
        flex: 0 0 94px;
        width: 94px;
        height: 94px;
        border-radius: 47px;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .reviews-gallery .gallery-item.review .review-title {
        flex: 0 0 calc(100% - 114px);
        height: 94px;
        color: #282828;
    }

        .reviews-gallery .gallery-item.review .review-title .author {
            font-size: 16px;
            font-style: normal;
            font-weight: 700;
            line-height: 20px;
            margin-bottom: 6px;
        }

        .reviews-gallery .gallery-item.review .review-title .course-title {
            font-size: 16px;
            font-style: normal;
            font-weight: 600;
            line-height: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 6px;
        }

        .reviews-gallery .gallery-item.review .review-title .course-title a,
        .reviews-gallery .gallery-item.review .review-title .course-title a:visited {
            color: #1db4b5;
        }

        .reviews-gallery .gallery-item.review .review-title .rating {
            display: flex;
            gap: 3px;
        }

            .reviews-gallery .gallery-item.review .review-title .rating .rating-star {
                background-image: url('/local/templates/inno-2022/images/icons/gold-star.svg');
                flex: 0 0 20px;
                height: 20px;
                width: 20px;
                background-size: contain;
                background-position: center;
            }

    .reviews-gallery .gallery-item.review .review-body {
        flex-grow: 1;
        color: #2A2A30;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
        height: 120px;
    } 

        .reviews-gallery .gallery-item.review .review-body p {
            margin-bottom: 0.5rem;
        } 

@media (max-width: 1200px) {     
    .reviews-gallery {
        height: 390px;
    }

        .reviews-gallery .gallery-item.review {
            flex: 0 0 645px;
            height: 390px;
        }

            .reviews-gallery .gallery-item.review .review-body {
                height: 180px;
            }  
}

@media (max-width: 818px) {
    .reviews-gallery {
        height: 395px;
    }

        .reviews-gallery .gallery-item.review {
            flex: 0 0 550px;
            height: 395px;
            padding: 30px 40px 40px 30px;
        }

            .reviews-gallery .gallery-item.review .review-body {
                height: 200px;
            } 
}

@media (max-width: 622px) {
    .reviews-gallery {
        height: 440px;
        gap: 10px;
    }

        .reviews-gallery .gallery-item.review {
            flex: 0 0 296px;
            height: 440px;
            padding: 20px 10px 10px 20px;
        }

            .reviews-gallery .gallery-item.review .review-title .author {
                font-size: 12px;
            }

            .reviews-gallery .gallery-item.review .review-title .course-title {
                font-size: 12px;
                font-weight: 500;
            }

        .reviews-gallery .gallery-item.review .review-body {
            font-size: 14px;
            height: 280px;
        }

    .reviews-gallery-header {
        padding: 20px 0;
    }
}