/* css/prm-frontend-styles.css */

/* Swiper Container */
.review-carousel .swiper-container,
.review-carousel .swiper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    padding: 20px 40px; /* Adjusted padding */
}

/* Swiper Wrapper */
.review-carousel .swiper-wrapper {
    display: flex;
    transition-property: transform;
    box-sizing: border-box;
}

/* Swiper Slides */
.review-carousel .swiper-slide {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease-in-out;
}

/* Review Address */
.review-address {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

/* Ratings Section */
.review-ratings p {
    margin: 8px 0;
    color: #555;
    font-size: 1.5em;
}

.rating-stars {
    display: inline-block;
}

.rating-stars .star {
    font-size: 1.2em;
    color: #ccc; /* Grey color for empty stars */
}

.rating-stars .star.filled {
    color: #f39c12; /* Gold color for filled stars */
}

/* Review Text */
.review-text {
    font-style: italic;
    color: #666;
    margin: 20px 0;
    font-size: 1em;
}

/* Client Name */
.client-name {
    text-align: right;
    font-weight: bold;
    color: #333;
    font-size: 1em;
}

/* Agent Information */
.review-agent {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
    font-size: 0.95em;
}

/* Swiper Navigation Buttons */
.review-carousel .swiper-button-next,
.review-carousel .swiper-button-prev {
    color: #f39c12;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.review-carousel .swiper-button-next::after,
.review-carousel .swiper-button-prev::after {
    font-size: 20px;
}

.review-carousel .swiper-button-next:hover,
.review-carousel .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
}

/* Positioning Navigation Buttons */
.review-carousel .swiper-button-next {
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.review-carousel .swiper-button-prev {
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Swiper Pagination Bullets */
.review-carousel .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.review-carousel .swiper-pagination-bullet-active {
    background: #f39c12;
}

/* Agent Review List */
.agent-review-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px 0;
}

.agent-review-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.agent-review-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.agent-review-card p {
    margin: 5px 0;
    color: #555;
}

.agent-review-ratings p {
    margin: 5px 0;
}

.agent-review-text {
    font-style: italic;
    color: #666;
    margin-top: 15px;
}

/* Review Card for Single Review Shortcode */
.review-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.review-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3em;
}

.review-card p {
    margin: 8px 0;
    color: #555;
    font-size: 1em;
}

.review-ratings p {
    margin: 5px 0;
}

.review-text {
    font-style: italic;
    color: #666;
    margin-top: 20px;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .review-carousel {
        padding: 20px 0;
    }

    .review-carousel .swiper-container,
    .review-carousel .swiper {
        padding: 10px 20px;
    }

    .review-carousel .swiper-slide {
        padding: 20px;
    }

    .review-address {
        font-size: 1em;
    }

    .agent-review-list {
        flex-direction: column;
        align-items: center;
    }

    .agent-review-card,
    .review-card {
        width: 90%;
    }

    /* Adjust Navigation Buttons for Mobile */
    .review-carousel .swiper-button-next,
    .review-carousel .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .review-carousel .swiper-button-next::after,
    .review-carousel .swiper-button-prev::after {
        font-size: 16px;
    }

    .review-carousel .swiper-button-next {
        right: -15px;
    }

    .review-carousel .swiper-button-prev {
        left: -15px;
    }
}
/* ... existing CSS ... */

/* Two-Column Layout for Desktop Screens */
.rev-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px; /* Optional */
	align-items:center;
	justify-content:center;
	font-size:0.8em;
}

/* Individual Columns */
.rev-column {
    flex: 1;
    min-width: 200px;
	justify-content:center;
}

/* Responsive Design: Single Column on Smaller Screens */
@media (max-width: 768px) {
    .rev-section {
        flex-direction: column;
        gap: 15px;
    }

    .rev-column {
        width: 100%;
    }

    /* ... other existing responsive styles ... */
}

/* ... existing CSS continues ... */
