/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');


.grwp-custom-card {
    background: #fff;
    border-radius: 0px;
    padding: 20px;
    /* Reducing padding slightly to fit the 234px target height better */

    position: relative;
    width: 100%;
    max-width: 550px;
    min-height: 214px;
    height: auto;
    /* Ensure it doesn't overflow on mobile */
    display: flex;
    flex-direction: column;
    gap: 14px;
    /* Exact 18px spacing between header, body, and footer */
    font-family: 'Inter', sans-serif;

    margin: 10px auto;
    box-sizing: border-box;
}


.grwp-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.grwp-google-icon {
    width: 24px;
    height: 24px;
}

.grwp-rating-score {
    font-weight: 600;
    font-size: 1rem;
    color: #000;
}

.grwp-stars-row {
    display: flex;
    gap: 3px;
    color: #ffc107;
}

.grwp-stars-row svg {
    width: 18px;
    height: 18px;
    fill: #ffc107;
}

.grwp-card-body {
    flex-grow: 1;
    /* padding-right: 25px; */
    /* Space for the bar */
}

.grwp-review-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #222;
    margin: 0;
    font-weight: 400;
}

/* Set max height for the scroller */
.grwp-addon-scroller {
    max-height: 74px;
    height: 74px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 25px;
    /* Increased gap between text and scrollbar by 10px */
}

/* 1. mCustomScrollbar STYLING (Matches main plugin behavior) */
.grwp-addon-scroller .mCSB_dragger .mCSB_dragger_bar {
    background-color: #81b202 !important;
    /* Green thumb */
    width: 8px !important;
}

.grwp-addon-scroller .mCSB_scrollTools .mCSB_draggerRail {
    background-color: #444 !important;
    /* Dark track */
    width: 8px !important;
    border-radius: 100px !important;
}

/* Absolutely hide arrow elements if they appear */
.grwp-addon-scroller .mCSB_buttonUp,
.grwp-addon-scroller .mCSB_buttonDown {
    display: none !important;
    height: 0 !important;
}

/* 2. NATIVE FALLBACK (For browsers without the library active) */
.grwp-addon-scroller::-webkit-scrollbar {
    width: 8px !important;
}

.grwp-addon-scroller::-webkit-scrollbar-track {
    background: #444 !important;
    border-radius: 100px !important;
}

.grwp-addon-scroller::-webkit-scrollbar-thumb {
    background: #81b202 !important;
    border-radius: 100px !important;
}

.grwp-addon-scroller::-webkit-scrollbar-button {
    display: none !important;
    height: 0 !important;
}



.grwp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grwp-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.grwp-user-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #88b10000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
}

.grwp-user-photo img {
    width: 80%;
    height: 80%;
    object-fit: cover;
}

.grwp-user-meta h4 {
	font-family: inter;
    margin: 0 0 0px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #000;

}

.grwp-user-meta p {
    margin: 0;
    font-size: 0.875rem;
    color: #6a7c92;
    font-weight: 400;
}

.grwp-quote-icon {
    opacity: 1;
    /* Reset opacity as new icon might have its own styling */
}

.grwp-quote-icon img {
    width: 29px;
    height: auto;
    display: block;
}

.grwp-custom-slider-container {
    position: relative;
    padding: 20px 60px;
    /* Added 60px padding to move arrows outside cards */
    background-color: transparent;
    max-width: 1200px;
    /* Increased slightly to accommodate padding */
    margin: 0 auto;
}

/* Slider Navigation Customization */
.grwp-nav-btn {
    width: 40px !important;
    height: 40px !important;
    background: #1c2b39 !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    margin: 0 !important;
    /* Remove swiper default margins */
}

.grwp-prev {
    left: 5px !important;
}

.grwp-next {
    right: 5px !important;
}

.grwp-nav-btn:hover {
    background: #2c3e50 !important;
}

/* Fix for stretched/distorted chevron icon */
.grwp-nav-btn::after {
    font-size: 1.25rem !important;
    line-height: 1 !important;
    display: block !important;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .grwp-custom-slider-container {
        padding: 20px 50px;
    }
}

@media (max-width: 768px) {
    .grwp-custom-slider-container {
        padding: 15px 40px;
    }

    .grwp-custom-card {
        padding: 20px;
        min-height: 220px;
    }

    .grwp-user-photo {
        width: 50px;
        height: 50px;
    }

    .grwp-nav-btn {
        width: 35px !important;
        height: 35px !important;
    }
	.grwp-addon-scroller {
    max-height: 90px;
    height: 90px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 25px;
    /* Increased gap between text and scrollbar by 10px */
}

    .grwp-nav-btn::after {
        font-size: 1rem !important;
    }
}

@media (max-width: 380px) {
    .grwp-custom-slider-container {
        padding: 10px 35px;
    }
	
	.grwp-addon-scroller {
    max-height: 90px;
    height: 90px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 25px;
    /* Increased gap between text and scrollbar by 10px */
}

    .grwp-card-header {
        flex-wrap: wrap;
    }
	.grwp-custom-card {
        padding: 10px;
        min-height: 220px;
    }

    .grwp-user-meta h4 {
        font-size: 1.125rem;
    }

    .grwp-user-meta p {
        font-size: 1.1rem;
    }
}