.yt-reels-slider-outer-wrapper {
    width: 100%;
    position: relative;
    direction: ltr !important;
    padding-bottom: 40px; /* Space for pagination below */
}

.yt-reels-slider-container {
    width: 100%;
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}

.yt-reel-card {
    position: relative;
    width: 100%;
    padding-top: 177.77%; /* 9:16 Aspect Ratio */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.yt-reel-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Navigation Buttons */
.swiper-button-next, .swiper-button-prev {
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* Pagination Wrapper Outside */
.yt-reels-pagination-wrapper {
    position: relative;
    width: 100%;
    height: 30px;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.yt-reels-pagination-wrapper .swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    width: auto !important;
    display: inline-block;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 6px !important;
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #ff0000 !important;
    width: 12px;
    height: 12px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .yt-reels-slider-outer-wrapper {
        padding-bottom: 30px;
    }
    .swiper-button-next, .swiper-button-prev {
        display: flex;
        transform: translateY(-50%) scale(0.7);
    }
}
