
/* ========================================
   YT TEMPLATE SLIDER
======================================== */

.yt-template-slider {
    width: 100%;
    max-width: 100%;
    position: relative;
    min-width: 0;
}

.yt-template-slider__swiper {
    width: 100%;
    overflow: hidden;
}

.yt-template-slider__swiper .swiper-wrapper {
    align-items: flex-start;
}

.yt-template-slider__slide {
    box-sizing: border-box;
    height: auto;
    min-width: 0;
}

.yt-template-slider__slide-inner {
    width: 100%;
    min-width: 0;
}

/* Elementor content inside slides */
.yt-template-slider__slide-inner > .elementor {
    width: 100%;
}

/* ========================================
   BOTTOM NAVIGATION
======================================== */

.yt-template-slider__navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 5.5rem;
}

/* ========================================
   PAGINATION
======================================== */

.yt-template-slider__pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    position: static;
    width: auto !important;
    min-width: 0;
}

.yt-template-slider__pagination .swiper-pagination-bullet {
    display: block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    margin: 0 !important;
    background: #E2E7EF;
    opacity: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.yt-template-slider__pagination .swiper-pagination-bullet-active {
    background: #09103F;
}

/* ========================================
   ARROWS
======================================== */

.yt-template-slider__arrows {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
}

.yt-template-slider__prev,
.yt-template-slider__next {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #09103F;
    border: 1px solid #09103F;
    border-radius: 100px;
    padding: 0;
    cursor: pointer;
    color: #fff;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.yt-template-slider__prev svg,
.yt-template-slider__next svg {
    width: 20px;
    height: 20px;
    display: block;
}

.yt-template-slider__prev:hover,
.yt-template-slider__next:hover {
    background: #09103F;
    border-color: #09103F;
    color: #fff;
}

.yt-template-slider__prev.swiper-button-disabled,
.yt-template-slider__next.swiper-button-disabled {
    background: #fff;
    border-color: #E2E7EF;
    color: #76829a;
    opacity: 1;
    cursor: not-allowed;
}

/* Prevent global theme Swiper positioning */
.yt-template-slider__arrows .yt-template-slider__prev,
.yt-template-slider__arrows .yt-template-slider__next {
    position: static;
    inset: auto;
    margin: 0;
}

.yt-template-slider__prev::after,
.yt-template-slider__next::after {
    display: none;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1024px) {

    .yt-template-slider__navigation {
        margin-top: 28px;
    }

}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .yt-template-slider__navigation {
        margin-top: 26px;
    }

    .yt-template-slider__pagination .swiper-pagination-bullet{
        width: 7px;
        height: 7px;
        min-width: 7px;
    }

}
