/**
 * Swiper Featured News Slider Styles (front page only)
 *
 * @package SportBet
 */

/* Wrapper */
.tc-featured-news-style8 {
    margin-bottom: 30px;
    padding: 0;
}

/* Swiper container */
.tc-featured-news-slider8 {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.tc-featured-news-slider8 .swiper-wrapper {
    display: flex;
}

/* Individual slide */
.tc-featured-news-slider8 .swiper-slide {
    height: auto;
}

/* Post overlay card */
.tc-post-overlay-style8 {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 400px;
}

.tc-post-overlay-style8 .tc-post-thumb {
    display: block;
    width: 100%;
    height: 100%;
}

.tc-post-overlay-style8 .tc-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tc-post-overlay-style8:hover .tc-post-thumb img {
    transform: scale(1.05);
}

/* Content overlay */
.tc-post-overlay-style8 .tc-post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    z-index: 2;
}

/* Category tag */
.tc-post-overlay-style8 .category-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    border-radius: 3px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* Category color variants */
.tc-post-overlay-style8 .category-tag.orange {
    background: #e67e22;
}

.tc-post-overlay-style8 .category-tag.yellow {
    background: #f1c40f;
    color: #333;
}

.tc-post-overlay-style8 .category-tag.cyan {
    background: #1abc9c;
}

.tc-post-overlay-style8 .category-tag.blue {
    background: #3498db;
}

.tc-post-overlay-style8 .category-tag.green {
    background: #2ecc71;
}

.tc-post-overlay-style8 .category-tag.purple {
    background: #9b59b6;
}

.tc-post-overlay-style8 .category-tag.red {
    background: #e74c3c;
}

/* Post title */
.tc-post-overlay-style8 .tc-post-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.tc-post-overlay-style8 .tc-post-title a {
    color: #fff;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-post-overlay-style8 .tc-post-title a:hover {
    color: #2ecc71;
}

/* Post meta */
.tc-post-overlay-style8 .tc-post-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.tc-post-overlay-style8 .tc-post-meta span {
    margin-right: 15px;
}

.tc-post-overlay-style8 .tc-post-meta .fa {
    margin-right: 4px;
}

/* Swiper navigation */
.tc-featured-news-slider8 .swiper-button-next,
.tc-featured-news-slider8 .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.tc-featured-news-slider8 .swiper-button-next::after,
.tc-featured-news-slider8 .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.tc-featured-news-slider8 .swiper-button-next:hover,
.tc-featured-news-slider8 .swiper-button-prev:hover {
    background: #2ecc71;
}

/* Swiper pagination */
.tc-featured-news-slider8 .swiper-pagination {
    bottom: 10px;
}

.tc-featured-news-slider8 .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.tc-featured-news-slider8 .swiper-pagination-bullet-active {
    background: #2ecc71;
    width: 25px;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 991px) {
    .tc-post-overlay-style8 {
        height: 350px;
    }

    .tc-post-overlay-style8 .tc-post-title {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .tc-post-overlay-style8 {
        height: 300px;
    }

    .tc-post-overlay-style8 .tc-post-content {
        padding: 20px 15px 15px;
    }

    .tc-post-overlay-style8 .tc-post-title {
        font-size: 13px;
    }

    .tc-featured-news-slider8 .swiper-button-next,
    .tc-featured-news-slider8 .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .tc-featured-news-slider8 .swiper-button-next::after,
    .tc-featured-news-slider8 .swiper-button-prev::after {
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .tc-post-overlay-style8 {
        height: 250px;
    }

    .tc-post-overlay-style8 .tc-post-meta {
        display: none;
    }

    .tc-featured-news-slider8 .swiper-button-next,
    .tc-featured-news-slider8 .swiper-button-prev {
        display: none;
    }
}
