section.reviews {
    background-color: var(--light-grey);
    padding: 50px 0;
    box-shadow: inset  0  10px 8px -14px grey,
                inset  0 -10px 8px -14px grey;
}

.reviews h3 {
    margin-top: 0px;
}

.reviews-scroll-container, .gallery-scroll-container {
    overflow-x: scroll;
    /*--gallery-side-padding: calc(50vw - min(1680px, var(--global-viewport-content-responsive)) / 2);*/
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
    scroll-padding: var(--gallery-side-padding);
}
.reviews-scroll-container::-webkit-scrollbar, .gallery-scroll-container::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

.reviews-container, .gallery-container{
    position: relative;

    display: grid;
    grid-template-rows: repeat(1, auto);
    grid-template-columns: 1fr;
    grid-auto-flow: column;
    column-gap: 20px;
    row-gap: 0;

    width: fit-content;
    padding: 0 var(--gallery-side-padding);
}

.review-card, .gallery-item-card {
    scroll-snap-align: start;
    width: min(var(--main-content-max-width), var(--main-content-width));
}

.review, .gallery-item {
    position: relative;

    background-color: white;
    border-radius: var(--border-radius-16px);
    padding: 50px;
}
.review {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
}
@media (min-width: 700px) {
    .review {
        flex-flow: row nowrap;
        align-items: flex-start;
        justify-content: flex-start;
    }
}

.review-content {
    position: relative;
    height: 305px;
    overflow: hidden;
    padding-bottom: 0;
    transition: padding-bottom .2s ease-in-out, height .2s ease-in-out;
}
.review-content[aria-expanded="true"] {
    height: auto;
    padding-bottom: 60px;
}

.review .review-image {
    position: relative;
    min-width: 200px;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 100px;
}
.review .review-image img {
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-heading h4 {
    color: black;
    margin-top: 0px;
}

.review-text p:first-of-type::before {
    content: "„";
}
.review-text p:last-of-type::after {
    content: "“";
}

.review-name {
    margin-top: 10px;
    font-style: italic;
    font-weight: 400;
}

.review-properties {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-template-columns: repeat(4, 1fr);
    font-weight: 400;
    margin-top: 15px;
    row-gap: 10px;
    column-gap: 10px;
}
.review-method {
    text-align: center;
}

.review-properties>*:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}
.review-properties>*:nth-child(2) {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}
.review-properties>*:nth-child(3) {
    grid-column: 1 / 5;
    grid-row: 2 / 3;
}

.review-left-dpt, .review-right-dpt {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 5px;
}
.right-circle, .left-circle {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    border: 1px solid black;
}

.right-circle::before, .left-circle::before  {
    position: absolute;
    text-align: center;
    width: 28px;
    top: 3px;
    font-weight: 400;
}

.right-circle::before {
    content: "R";
}
.left-circle::before {
    content: "L";
}

.review-read-more {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0 0px 0;
    background-image: linear-gradient(to bottom, transparent, white);
}
.read-more-button {
    position: relative;
    display: block;
    background-color: var(--button-color);
    border-radius: 2rem;
    color: white;
    font-size: 1.5rem;
    padding: .5rem;
    left: 50%;
    margin-left: -25px;
    width: 50px;
    height: 50px;
    text-align: center;
    cursor: pointer;
    transition: rotate .2s ease-in-out;
}

.review-content[aria-expanded="true"] .read-more-button {
    rotate: 45deg;
}