/* ================= HEADER ================= */


/* HERO */

.news-hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('../Media/Gallery/champs3.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: #fff;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3rem;
}

.hero-content p {
    margin: 20px 0;
    font-size: 1.2rem;
}

.btn-primary {
    padding: 14px 30px;
    background: #2ecc71;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
}


/* FILTER */

.news-filter {
    padding: 30px;
    text-align: center;
}

.news-filter button {
    padding: 10px 22px;
    margin: 6px;
    border: none;
    background: #1e7f43;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.news-filter button:hover {
    background: #145c30;
}


/* GRID */

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 8%;
}


/* CARD */

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: .3s;
}

.news-card:hover {
    transform: translateY(-5px);
}


/* SLIDER */

.slider {
    position: relative;
    height: 230px;
    background: black;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.slide.active {
    display: block;
}


/* ARROWS */

.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 5;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}


/* THUMBNAILS */

.thumbnails {
    display: flex;
    gap: 5px;
    padding: 5px;
    background: #111;
    overflow-x: auto;
}

.thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    opacity: .5;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumb.active {
    opacity: 1;
    border-color: #1e7f43;
}


/* CONTENT */

.news-content {
    padding: 20px;
}

.news-category {
    color: #1e7f43;
    font-size: 13px;
    font-weight: bold;
}

.news-title {
    font-size: 18px;
    margin: 10px 0;
}

.news-desc {
    font-size: 14px;
    color: #555;
}

.news-date {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}


/* VIDEO & IFRAME */

.slider video,
.slider iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* RESPONSIVE */

@media (max-width: 992px) {
    .news-hero {
        height: 85vh;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .news-hero {
        height: 90vh;
        padding: 0 8px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 0.95rem;
    }
    .btn-primary {
        padding: 12px 22px;
    }
    .news-filter {
        padding: 20px 10px;
    }
    .news-filter button {
        width: 48%;
    }
    .news-container {
        grid-template-columns: 1fr;
        padding: 30px 6%;
    }
    .slider {
        height: 200px;
    }
}