/* Reviews slider styling to match the provided image */
.reviews-slider {
    width: 100%;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

@media screen and (min-width: 768px) {
    .reviews-slider {
        padding: 0 30px; /* Add padding for the arrows */
    }
}

/* Navigation arrows - styling similar to the image */
.splide__arrow {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    opacity: 1;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.splide__arrow:hover {
    background: #e9e9e9;
}

.splide__arrow svg {
    fill: #007cc4;
    width: 1em;
    height: 1em;
}

/* Position the arrows closer to the slider */
.splide__arrow--prev {
    left: -23px;
}

.splide__arrow--next {
    right: -23px;
}

@media screen and (min-width: 768px) {
    .splide__arrow--prev {
        left: 0px;
    }

    .splide__arrow--next {
        right: 0px;
    }
}

/* Pagination dots */
.splide__pagination {
    bottom: -20px;
}

.splide__pagination__page {
    background: #ddd;
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 5px;
}

.splide__pagination__page.is-active {
    background: #ffb730;
    transform: scale(1);
}

.reviews {
    list-style: none;
    margin: 0;
    padding: 0;
}

.review {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    padding: 1.2rem;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    margin: 0.5rem;
    text-align: left;
    /* max-width: 350px; */
    margin-left: auto;
    margin-right: auto;
}

.review__rating {
    margin-bottom: 0.5rem;
}

.review__rating svg {
    width: 16px;
    height: 16px;
    margin-right: 2px;
}

.review__title {
    color: #e1013e;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

.review__content {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    width: 100%;
    font-style: italic;
    display: -webkit-box;
    /* overflow: hidden;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: 3.8em; */
}

.review__content-wrapper {
    width: 100%;
}

.review__author {
    color: #333;
    font-weight: 600;
    font-size: 0.8rem;
}

.review__source {
    color: #999;
    font-size: 0.7rem;
}

.review__button {
    display: none; /* Hide button as it's not in the reference image */
    color: white;
    align-items: center;
    background-color: transparent;
    border: 1px solid #ffb730;
    border-radius: 30px;
    box-sizing: border-box;
    column-gap: 10px;
    cursor: pointer;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    height: 40px;
    justify-content: center;
    line-height: 32px;
    text-decoration: none;
    margin-top: 10px;
    padding: 0 15px;
    transition: all 0.3s ease;
}

.review__button:hover,
.review__button:focus {
    color: #000000;
    background-color: #ffb730;
}

.review__button svg {
    box-sizing: border-box;
    color: white;
    cursor: pointer;
    display: block;
    fill: none;
    font-size: 16px;
    height: 16px;
    width: 16px;
    stroke: rgb(255, 255, 255);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
}

.review__button:hover svg,
.review__button:focus svg {
    stroke: #000000;
}

/* Additional styling for the review elements to match image */
.review__author {
    display: inline-block;
    padding: 5px 0 2px 0;
    font-weight: 600;
}

/* Container styling */
.splide__list {
    padding: 10px 0 !important;
}

/* Better spacing for the review content */
.review__content-wrapper {
    margin-bottom: 5px;
}

.review__source {
    font-size: 12px;
}

.splide__slide {
    padding: 8px 16px !important;
}

.splide__slide:before {
    content: "" !important;
    display: none;
}

#page-container button.splide__arrow {
    border: none !important;
    background-color: transparent !important;
    padding: 12px 22px 12px 12px !important;
}

#page-container button.splide__arrow--next {
    padding: 12px 26px 12px 12px !important;
}

#page-container button.splide__arrow:hover {
    background-color: transparent !important;
    border: none !important;
}

@media screen and (min-width: 768px) {
    #page-container button.splide__arrow {
        padding: 13px 40px 13px 15px !important;
    }
}
