/* Google Reviews Slider Luxury Wedding Theme Stylesheet */
.ws-reviews-container {
    padding: 3rem 2rem;
    background-color: #F8F4ED;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    border: 1px solid #E8E1D7;
}

/* Header Summary Block */
.ws-reviews-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 2rem;
    border-bottom: 1px solid #E8E1D7;
    padding-bottom: 2rem;
}

.ws-header-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ws-header-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ws-google-svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.ws-header-meta {
    display: flex;
    flex-direction: column;
}

.ws-header-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
    letter-spacing: -0.02em;
}

.ws-header-subtitle {
    font-size: 0.9rem;
    color: #6B7280;
    margin: 4px 0 0 0;
}

.ws-header-rating-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ws-header-rating-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1F2937;
    line-height: 1;
}

.ws-header-stars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ws-star-rating {
    color: #A88B5A;
    font-size: 1.2rem;
    letter-spacing: 2px;
    line-height: 1;
}

.ws-header-total-reviews {
    font-size: 0.85rem;
    color: #6B7280;
}

/* Distribution chart */
.ws-rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 260px;
    flex-grow: 0;
}

.ws-dist-row {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #6B7280;
    gap: 8px;
}

.ws-dist-star-label {
    width: 32px;
    text-align: right;
    white-space: nowrap;
}

.ws-dist-bar-bg {
    flex-grow: 1;
    height: 8px;
    background-color: #E8E1D7;
    border-radius: 4px;
    overflow: hidden;
    min-width: 140px;
}

.ws-dist-fill {
    height: 100%;
    background-color: #A88B5A;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.ws-dist-pct-label {
    width: 32px;
    text-align: left;
}

/* Carousel / Swiper card */
.ws-reviews-swiper {
    width: 100%;
    padding: 10px 0 40px 0 !important;
}

.ws-review-card {
    background-color: #FFFFFF;
    border: 1px solid #E8E1D7;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(168, 139, 90, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
}

.ws-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(168, 139, 90, 0.08);
}

.ws-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}

.ws-reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #F8F4ED;
    flex-shrink: 0;
    border: 1px solid #E8E1D7;
}

.ws-reviewer-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: #A88B5A;
}

.ws-reviewer-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ws-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.ws-reviewer-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
    margin: 0;
}

.ws-google-g-badge {
    background-color: #4285f4;
    color: #ffffff;
    font-weight: 900;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ws-meta-row {
    display: flex;
    gap: 8px;
    font-size: 0.75rem;
    color: #6B7280;
    margin-top: 2px;
}

.ws-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #34A853;
    font-weight: 600;
    background-color: #E8F5E9;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 6px;
    width: fit-content;
}

.ws-card-rating {
    margin-bottom: 0.75rem;
}

/* Review content text */
.ws-card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4B5563;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.ws-text-content.ws-truncated {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-height 0.3s ease;
}

.ws-text-content.ws-expanded {
    display: block;
    overflow: visible;
}

.ws-read-more-btn {
    background: none;
    border: none;
    color: #A88B5A;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 6px;
    text-decoration: underline;
}

.ws-read-more-btn:hover {
    color: #1F2937;
}

.ws-review-link-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    color: #6B7280;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.ws-review-link-icon:hover {
    opacity: 1;
    color: #A88B5A;
}

/* Custom Nav Arrows & Pagination Style */
.ws-swiper-next, .ws-swiper-prev {
    color: #A88B5A !important;
}
.ws-swiper-next::after, .ws-swiper-prev::after {
    font-size: 18px !important;
}
.ws-swiper-pagination .swiper-pagination-bullet-active {
    background: #A88B5A !important;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .ws-reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .ws-rating-distribution {
        width: 100%;
    }
}
