/* Container & Header */
.gwdrs-container {
    margin: 0 auto;
    padding: 20px;
}

.gwdrs-header {
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.5px;
    padding: 10px 0;
}

/* Slider Container - ensures arrows are positioned relative to the slider */
.gwdrs-slider {
    position: relative;
}

/* Slider review boxes */
.gwdrs-slider .gwdrs-review {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    height: 250px;
    /* Uniform height for all reviews */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gwdrs-slider .gwdrs-review:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Review Text Styling */
.gwdrs-review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 15px;
    /* Multi-line truncation with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 7;
    /* Show maximum 5 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer styling: Stars and Reviewer in one line */
.gwdrs-review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

/* Star Styling */
.gwdrs-review-stars span {
    color: #f1c40f;
    /* Gold color for stars */
    font-size: 1.2em;
    line-height: 1;
}

/* Reviewer Name Styling */
.gwdrs-reviewer {
    font-size: 0.85em;
    font-weight: 500;
    color: #333;
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gwdrs-container {
        padding: 15px;
    }

    .gwdrs-header {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .gwdrs-slider .gwdrs-review {
        height: 220px;
        padding: 15px;
        margin: 5px;
    }

    .gwdrs-review-text {
        font-size: 0.85em;
        -webkit-line-clamp: 4;
    }

    .gwdrs-reviewer {
        font-size: 0.8em;
    }
}

/* Custom Arrow Styling */
.gwdrs-slider .slick-prev.custom-arrow,
.gwdrs-slider .slick-next.custom-arrow {
    position: absolute;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 60px !important;
    height: 60px !important;
    border: none !important;
    background: linear-gradient(135deg, #62b143, #91d776) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 10 !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    opacity: 0.6;
}

/* Hide inner span if present */
.gwdrs-slider .slick-prev.custom-arrow span,
.gwdrs-slider .slick-next.custom-arrow span {
    display: none !important;
}

/* Create chevron arrows using a pseudo-element */
.gwdrs-slider .slick-prev.custom-arrow::before,
.gwdrs-slider .slick-next.custom-arrow::before {
    content: '' !important;
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    border: solid #fff !important;
    border-width: 0 4px 4px 0 !important;
    margin: auto !important;
}

/* Left arrow: rotate to form a left-pointing chevron */
.gwdrs-slider .slick-prev.custom-arrow::before {
    transform: rotate(135deg) !important;
}

/* Right arrow: rotate to form a right-pointing chevron */
.gwdrs-slider .slick-next.custom-arrow::before {
    transform: rotate(-45deg) !important;
}

/* Enhanced hover state */
.gwdrs-slider .custom-arrow:hover {
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4) !important;
    opacity: 1;
}

/* Positioning for the left arrow */
.gwdrs-slider .slick-prev.custom-arrow {
    left: -30px !important;
}

/* Positioning for the right arrow */
.gwdrs-slider .slick-next.custom-arrow {
    right: -30px !important;
}

/* Remove default focus outlines */
.gwdrs-slider .slick-prev:focus,
.gwdrs-slider .slick-next:focus {
    outline: none !important;
}

/* Image container */
.gwdrs-review .image {
    margin-right: 8px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

.gwdrs-review .description figure {
    margin: 0px;
}

/* Background image for the profile picture */
.gwdrs-review .bg-transfer {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

span.commentTimeDisplay {
    display: block;
    font-size: 12px;
    color: gray;
    margin-top: 10px;
}

.ratingStars {
    text-align: center;
    color: #f1c40f;
}

i.fa.fa-star-half-o {
    content: "\f089";
    font-weight: var(--fa-style, 900);
}

.ratingStars .fa {
    line-height: 0.1em;
}

h2.rating {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #ddd;
    line-height: 0.1em;
    margin: 10px 0 15px;
    font-size: 16px;
}
.ratingNumbers {
    color: #000;
}
h2.rating span {
    background: #fff;
    padding: 0 5px;
}
.fa.fa-star-half-o::before {
    content: "\f089";
  }