.ppro-y26-card-slider,
.wp-block.ppro-y26-card-slider {
    display: block;
    width: 100%;
}

.ppro-y26-card-slider__viewport,
.ppro-y26-card-slider .swiper {
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    list-style: none;
    padding: 0;
    z-index: 1;
    margin-left: calc(
        -1 *
            (
                max(
                    0px,
                    (100vw - var(--ppro-container-max-width, 90rem)) / 2
                ) + var(--ppro-container-padding-x, 1.5rem)
            )
    );
    margin-right: calc(
        -1 *
            (
                max(
                    0px,
                    (100vw - var(--ppro-container-max-width, 90rem)) / 2
                ) + var(--ppro-container-padding-x, 1.5rem)
            )
    );
}

@media (max-width: 767px) {
    .ppro-y26-card-slider__viewport,
    .ppro-y26-card-slider .swiper {
        margin-left: calc(
            -1 *
                (
                    max(
                        0px,
                        (100vw - var(--ppro-container-max-width, 90rem)) / 2
                    ) + var(--ppro-container-padding-x-mobile, 1rem)
                )
        );
        margin-right: calc(
            -1 *
                (
                    max(
                        0px,
                        (100vw - var(--ppro-container-max-width, 90rem)) / 2
                    ) + var(--ppro-container-padding-x-mobile, 1rem)
                )
        );
    }
}

.ppro-y26-card-slider .swiper-wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.ppro-y26-card-slider .swiper-slide {
    flex-shrink: 0;
    height: auto;
    position: relative;
}

.ppro-y26-card-slider--per-view-4 .swiper-slide {
    width: calc(
        (
                min(100vw, var(--ppro-container-max-width, 90rem)) - 2 *
                    var(--ppro-container-padding-x, 1.5rem) - 3rem
            ) / 4
    );
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .ppro-y26-card-slider--per-view-4 .swiper-slide {
        width: calc(
            (
                    min(100vw, var(--ppro-container-max-width, 90rem)) - 2 *
                        var(--ppro-container-padding-x, 1.5rem) - 2rem
                ) / 3
        );
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .ppro-y26-card-slider--per-view-4 .swiper-slide {
        width: calc(
            (
                    min(100vw, var(--ppro-container-max-width, 90rem)) - 2 *
                        var(--ppro-container-padding-x, 1.5rem) - 1rem
                ) / 2
        );
    }
}

@media (max-width: 767px) {
    .ppro-y26-card-slider .swiper-slide {
        width: calc(
            min(100vw, var(--ppro-container-max-width, 90rem)) - 2 *
                var(--ppro-container-padding-x-mobile, 1rem)
        );
    }
}

.ppro-y26-card-slider .swiper-slide > * {
    height: 100%;
}

.ppro-y26-card-slider.is-editor .ppro-y26-card-slider__viewport {
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
}

.ppro-y26-card-slider.is-editor .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    transform: none !important;
}

@media (max-width: 1023px) {
    .ppro-y26-card-slider.is-editor .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ppro-y26-card-slider.is-editor .swiper-slide {
    width: auto;
}

.ppro-y26-card-slider__controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.ppro-y26-card-slider.is-editor .ppro-y26-card-slider__controls,
.ppro-y26-card-slider--single .ppro-y26-card-slider__controls {
    display: none;
}

.ppro-y26-card-slider__controls .ppro-y26-card-slider__pagination {
    --swiper-pagination-bullet-horizontal-gap: 0px;
    position: static;
    grid-column: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: auto;
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
}

.ppro-y26-card-slider__controls .ppro-y26-card-slider__pagination.swiper-pagination-lock {
    display: none;
}

.ppro-y26-card-slider__pagination > .swiper-pagination-bullet {
    flex: 0 0 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ppro-color-midnight, #44385b);
    opacity: 0.2;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: block;
}

.ppro-y26-card-slider__pagination > .swiper-pagination-bullet-active {
    opacity: 1;
}

.dark .ppro-y26-card-slider__pagination > .swiper-pagination-bullet {
    background: var(--ppro-color-white, #ffffff);
}

.ppro-y26-card-slider__nav {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 0.5rem;
}

.ppro-y26-card-slider__nav-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--ppro-foreground, #281932);
    background: var(--ppro-color-lilac, #d6b5ff);
    color: var(--ppro-foreground, #281932);
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}

.ppro-y26-card-slider__nav-btn.swiper-button-disabled {
    background: transparent;
    cursor: default;
    pointer-events: none;
}

.dark .ppro-y26-card-slider__nav-btn.swiper-button-disabled {
    border-color: var(--ppro-color-white, #ffffff);
    color: var(--ppro-color-white, #ffffff);
}

.ppro-y26-card-slider__nav-icon {
    width: 1.5rem;
    height: 1.5rem;
}

@media (max-width: 767px) {
    .ppro-y26-card-slider__controls {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

    .ppro-y26-card-slider__controls .ppro-y26-card-slider__pagination {
        grid-column: 1;
    }

    .ppro-y26-card-slider__nav {
        display: none;
    }
}

.ppro-y26-employee-testimonials--grid,
.wp-block.ppro-y26-employee-testimonials--grid {
    display: block;
    width: 100%;
}

.ppro-y26-employee-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .ppro-y26-employee-testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .ppro-y26-employee-testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ppro-y26-employee-testimonials__grid {
        grid-template-columns: 1fr;
    }
}

.ppro-y26-employee-testimonials__empty {
    margin: 0;
    opacity: 0.6;
}

.ppro-y26-employee-testimonials-locked {
    overflow: hidden;
}

.ppro-y26-employee-testimonials__overlay {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1100;
    padding: 3.5rem 0;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    background: rgba(40, 25, 50, 0.92);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.ppro-y26-employee-testimonials__overlay--visible {
    visibility: visible;
    opacity: 1;
}

.ppro-y26-employee-testimonials__popup {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 43.75rem;
    margin: auto;
    overflow-x: clip;
    overflow-y: visible;
}

.ppro-y26-employee-testimonials__overlay .ppro-y26-employee-testimonials__popup.swiper {
    margin-left: auto;
    margin-right: auto;
    overflow-x: clip;
    overflow-y: visible;
}

.ppro-y26-employee-testimonials__popup .swiper-wrapper {
    height: 100%;
}

.ppro-y26-employee-testimonials__popup .ppro-y26-employee-testimonials__popup-slide.swiper-slide {
    display: flex;
    flex-shrink: 0;
    width: 35.75rem;
    max-width: calc(100vw - 2rem);
    height: 100%;
    max-height: 43.75rem;
    margin: 0 calc((100vw - 35.75rem - 4rem) / 4);
}

.ppro-y26-employee-testimonials__detail {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: auto;
    background: var(--ppro-color-white, #ffffff);
    color: var(--ppro-color-white, #ffffff);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.ppro-y26-employee-testimonials__overlay--visible .swiper-slide .ppro-y26-employee-testimonials__detail {
    visibility: visible;
    opacity: 0.3;
}

.ppro-y26-employee-testimonials__overlay--visible .swiper-slide-active .ppro-y26-employee-testimonials__detail {
    opacity: 1;
}

.ppro-y26-employee-testimonials__detail-image {
    flex-shrink: 0;
    height: 18.125rem;
    background-position: center;
    background-size: cover;
}

.ppro-y26-employee-testimonials__detail-body {
    flex: 1;
    overflow: auto;
    padding: 2.5rem;
    color: var(--ppro-foreground, #281932);
}

.ppro-y26-employee-testimonials__detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.ppro-y26-employee-testimonials__detail-name {
    margin: 0;
    font-family: var(--ppro-font-display);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 2rem;
}

.ppro-y26-employee-testimonials__detail-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 0.375rem;
}

.ppro-y26-employee-testimonials__detail-position {
    font-size: 0.875rem;
    line-height: 1.25rem;
    opacity: 0.7;
}

.ppro-y26-employee-testimonials__detail-description {
    margin: 2rem 0 0;
    font-size: 1rem;
    line-height: 1.5rem;
}

.ppro-y26-employee-testimonials__detail-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    background: var(--ppro-foreground, #281932);
    color: var(--ppro-color-white, #ffffff);
    transition: opacity 0.2s ease;
}

.ppro-y26-employee-testimonials__detail-close:hover,
.ppro-y26-employee-testimonials__detail-close:focus {
    opacity: 0.85;
}

.ppro-y26-employee-testimonials__detail-close-icon {
    width: 1rem;
    height: 1rem;
}

.ppro-y26-employee-testimonials__popup-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: flex;
    justify-content: space-between;
    width: calc(35.75rem + 8rem);
    max-width: calc(100vw - 1rem);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.ppro-y26-employee-testimonials__popup-nav-btn {
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    background: var(--ppro-color-white, #ffffff);
    color: var(--ppro-foreground, #281932);
    box-shadow: 0 0.5rem 2.5rem rgba(0, 0, 0, 0.16);
    transition:
        background-color 0.2s ease,
        opacity 0.2s ease;
}

.ppro-y26-employee-testimonials__popup-nav-btn:hover,
.ppro-y26-employee-testimonials__popup-nav-btn:focus {
    background: var(--ppro-color-lilac, #d6b5ff);
}

.ppro-y26-employee-testimonials__popup-nav-btn.swiper-button-disabled {
    pointer-events: none;
    box-shadow: none;
    opacity: 0.25;
}

.ppro-y26-employee-testimonials__popup-nav-icon {
    width: 1.25rem;
    height: 1.25rem;
}

@media (max-width: 1023px) {
    .ppro-y26-employee-testimonials__popup-nav {
        display: none;
    }
}

@media (max-width: 767px) {
    .ppro-y26-employee-testimonials__popup .ppro-y26-employee-testimonials__popup-slide.swiper-slide {
        max-width: calc(100% - 2rem);
        margin: 0 0.5rem;
    }
}
