/**
* Swiper Options CSS
*/
@media all {

    .swiper-nav {
        display: none;
        align-items: center;
        justify-content: space-between;
        margin-top: 1.5rem;
    }
    
    .swiper-initialized .swiper-nav {
        display: flex;
    }

    /* dots */
    .swiper-dots {
        --swiper-pagination-bullet-size: 1.25rem;
        --swiper-pagination-bullet-horizontal-gap: .25rem;
    }

    /* nav */
    .swiper-nav {
        color: var(--ce-color-fg);
    }

    .swiper-nav button {
        background-color: transparent;
        padding: 0;
        aspect-ratio: 1 / 1;
        width: 3.5rem;
        height:auto;
        border: 0 none transparent;
        color: inherit;
        position: relative;
    }
    
    .swiper-nav button svg,
    .swiper-nav button i {
        fill: currentColor;
        width: 100%;
        height: 100%;
    }

    /* nav - carousel */
    .swiper-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        bottom: auto!important;
    }

    .swiper-pagination .swiper-pagination-bullet {
        position: relative;
    }

    .swiper-pagination-bullet::before {
        --bullet-offset: calc(1px * -1);
        content: "";
        position: absolute;
        display: block;
        z-index: -1;
        top: var(--bullet-offset);
        right: var(--bullet-offset);
        bottom: var(--bullet-offset);
        left: var(--bullet-offset);
        background: url(../Images/Swiper/pagination-bg.png) no-repeat;
        background-size: contain;
        opacity: 0;
        margin-top: .125rem;
    }

    .ce-theme-yellow .swiper-pagination-bullet::before {
        background-image: url(../Images/Swiper/pagination-bg-inv.png);
    }
    
    .ce-type-mask_stage_l .swiper-nav .swiper-dots {
        color: var(--color-offwhite);
    }
    
    .ce-type-mask_stage_l .swiper-pagination-bullet::before {
        background-image: url(../Images/Swiper/pagination-bg.png);
    }

    .swiper-dots .swiper-pagination-bullet {
        background-color: var(--ce-color-fg);
        background-color: transparent;
        opacity: 1;
    }

    .swiper-pagination-bullet {
        display: flex;
    }

    .swiper-dots .swiper-pagination-bullet:is(:hover,:focus-visible)::before {
        opacity: 1;
    }

    .swiper-dots .swiper-pagination-bullet svg {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        display: block;
    }
    
    .swiper-dots .swiper-pagination-bullet.swiper-pagination-bullet-active {
        width: 2.5rem;
        height: 2.5rem;
    }    
        
    .swiper-dots .swiper-pagination-bullet {
        stroke: currentColor;
        stroke-width: .75px;
    }
    
    .swiper-dots .swiper-pagination-bullet-active {   
        stroke-width: .5px;
    }

    .swiper-dots .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
        opacity: 1;
    }

    .swiper-slider .swiper-nav button,
    .swiper-slider .swiper-dots .swiper-pagination {
        transition: var(--transition-default);
    }
    
    .swiper-nav button::before {
        --bullet-offset: calc(2px * -1);
        content: "";
        position: absolute;
        display: block;
        z-index: -1;
        inset: var(--bullet-offset);
        background: url(../Images/Swiper/swiper-controll-bg.png) no-repeat;
        background-size: contain;
        opacity: 0;
        transition: var(--transition-default);
    }

    .ce-theme-yellow .swiper-nav button::before {
        background-image: url(../Images/Swiper/swiper-controll-bg-light.png);
    }
    
    .ce-type-mask_stage_l .swiper-nav button::before {
        background-image: url(../Images/Swiper/swiper-controll-bg.png);
    }
    
    .ce-type-mask_stage_l .swiper-nav button::after {
        content:"";
        position: absolute;
        inset: .375rem;
        background: var(--color-offwhite);
        z-index:-2;
        border-radius: var(--border-radius-medium);
    }
    
    .swiper-nav button:is(:hover,:focus-visible)::before {
        opacity: 1;
    }

    .swiper-slide {
        box-sizing: border-box;
        height: unset;
        display: flex;
    }

}

@media (min-width: 62rem) {
    
    .ce-type-mask_stage_l .swiper-nav {
        color: var(--color-offwhite);
    }
    
     .ce-type-mask_stage_l .swiper-nav .swiper-dots {
        color: inherit;
    }
    
    .ce-type-mask_stage_l .swiper-nav button::after {
        background: transparent;
    }
    
    .ce-type-mask_stage_l:is(.ce-theme-yellow,.ce-theme-off-white) .swiper-nav {
        color: inherit;
    }
    
    .ce-type-mask_stage_l.ce-theme-yellow .swiper-pagination-bullet::before {
        background-image: url(../Images/Swiper/pagination-bg-inv.png);
    }
    
    .ce-type-mask_stage_l.ce-theme-yellow .swiper-nav button::before {
        background-image: url(../Images/Swiper/swiper-controll-bg-light.png);
    }
    
}

@media (min-width: 75rem) {
    .swiper-nav {
        display: none;
    }
}
