/* --------------------------------------------------------------
   ARROW VARIABLES (LIGHT + DARK)
-------------------------------------------------------------- */
:root {
    --gmb-arrow-bg-base: #000; 
}

:root {
    --gmb-arrow-icon-color: #333;
}

@media (prefers-color-scheme: dark) {
    :root {
        --gmb-arrow-icon-color: white;
    }
}


.gmb-testimonials-carousel .carousel-control-prev-icon,
.gmb-testimonials-carousel .carousel-control-next-icon {
    width: 48px !important;
    height: 48px !important;
	background-color: var(--gmb-arrow-icon-color);
    mask-size: 48px 48px;
    -webkit-mask-size: 48px 48px;
}

.carousel-fade .carousel-item.active {
    position: relative;
}

.carousel-fade .carousel-item,
.gmb-carousel-scale .carousel-item {
    transform: translateZ(0);
}

/* --------------------------------------------------------------
   CIRCULAR ARROWS
-------------------------------------------------------------- */
 :root {
	--gmb-arrow-bg: color-mix(in srgb, white 50%, var(--gmb-arrow-bg-base) 30%);
    --gmb-arrow-bg-hover: color-mix(in srgb, white 50%, var(--gmb-arrow-bg-base) 40%);
}

@media (prefers-color-scheme: dark) {
:root {
    --gmb-arrow-bg: color-mix(in srgb, var(--gmb-arrow-bg-base) 50%, transparent 85%);
    --gmb-arrow-bg-hover: color-mix(in srgb, var(--gmb-arrow-bg-base) 80%, transparent 75%);
}
}

.gmb-testimonials-carousel.gmb-circular-arrows .carousel-control-prev,
.gmb-testimonials-carousel.gmb-circular-arrows .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    background: var(--gmb-arrow-bg) !important;
    opacity: 1 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 50;
    border: none;
    padding: 0;
}

.gmb-testimonials-carousel.gmb-circular-arrows .carousel-control-prev:hover,
.gmb-testimonials-carousel.gmb-circular-arrows .carousel-control-next:hover {
    background: var(--gmb-arrow-bg-hover) !important;
}

/* Positioning */
.gmb-testimonials-carousel.gmb-circular-arrows .carousel-control-prev {
    left: 10px;
}

.gmb-testimonials-carousel.gmb-circular-arrows .carousel-control-next {
    right: 10px;
}


.gmb-testimonials-carousel.gmb-circular-arrows .carousel-control-prev-icon,
.gmb-testimonials-carousel.gmb-circular-arrows .carousel-control-next-icon {
    width: 20px !important;
    height: 20px !important;
    background-color: var(--gmb-arrow-icon-color);
    mask-size: 20px 20px;
    -webkit-mask-size: 20px 20px;
}

/* NEXT (right arrow) */
.gmb-testimonials-carousel .carousel-control-next-icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='9 18 15 12 9 6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='9 18 15 12 9 6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* PREV (left arrow) — mirrored version */
.gmb-testimonials-carousel .carousel-control-prev-icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='15 18 9 12 15 6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='15 18 9 12 15 6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 576px) {
    .gmb-testimonials-carousel .carousel-control-prev,.gmb-testimonials-carousel.gmb-circular-arrows .carousel-control-prev,
    .gmb-testimonials-carousel .carousel-control-next,.gmb-testimonials-carousel.gmb-circular-arrows .carousel-control-next {
        display: none !important;
    }
	    .gmb-testimonials-carousel {
        overflow-x: hidden;
        position: relative;
    }
}
