:root {
    --items-per-page: 3;
}

h2#carousel-title {
    font-size: 2em;
    color: #332f2e;
    margin-bottom: 1em;
    margin-top: 2em;
    position: relative;
    padding-bottom: 0.25em;
    font-weight: bold; 
    text-align: center;
}
h2#carousel-title:after {
    content: "";
    height: 1px;
    width: 48px;
    background: #332f2e;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 0; 
}

.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.carousel:hover {
    cursor: crosshair;
}

.carousel-container {
    display: flex;
    gap: 10px;
    white-space: normal;
}

.carousel-item {
    flex: 1 1 calc(100% / var(--items-per-page));
    max-width: calc(100% / var(--items-per-page));
    min-width: 350px;
    box-sizing: border-box;
    background-color: rgb(246, 246, 248);
    border-radius: 24px;
    padding: 2em;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.carousel-item .customer-data {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 10px;
}
.carousel-item .customer-data img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}
.carousel-item .customer-data div {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5em;
}
.carousel-item .customer-data p {
    margin: 0;
    text-align: left;
}
.carousel-item .customer-data p:nth-child(1) {
    font-size: 1.1em;
    font-weight: bold;
    font-family: EB Garamond, serif;    
}
.carousel-item .customer-data p:nth-child(2) {
    font-size: 0.85em;
    color: rgba(17, 17, 17, 0.5);
}

.carousel-item .rating {
    margin-bottom: 0.5em;
}
.carousel-item .rating::before {
    content: "⭐⭐⭐⭐⭐";
    color: #e0b22f;
}
.carousel-item .review {
    color: rgb(17, 17, 17);
    margin-bottom: 0px;
}

p.reviews-info {
    padding: 1em 1em 0px 1em;
    font-size: 0.9em;
}