/* News Carousel Widget Styles */

.tae-news-carousel-wrapper {
    overflow: hidden;
}

.tae-news-swiper {
    padding-bottom: 20px !important;
}

/* Fix for aspect ratio in older browsers if needed, 
   though modern ones support aspect-video/aspect-square etc. via Tailwind */
.tae-news-carousel-wrapper .aspect-\[4\/3\] {
    aspect-ratio: 4 / 3;
}

/* Progress Bar Smoothness */
.swiper-progress-bar {
    border-radius: 99px;
}

/* Arrows disabled state */
.tae-news-carousel-wrapper .swiper-button-disabled {
    cursor: not-allowed !important;
    opacity: 0.3 !important;
}

/* Hover effects for articles */
.tae-news-carousel-wrapper article:hover img {
    transform: scale(1.05);
}

/* Line clamp for title */
.tae-news-carousel-wrapper .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Swiper navigation interaction */
.tae-news-carousel-wrapper .swiper-prev,
.tae-news-carousel-wrapper .swiper-next {
    cursor: pointer;
    user-select: none;
    outline: none;
    z-index: 10;
}
