/* news.css */
:root {
    --primary-color: #5d0000;        /* Dark red from existing stylesheet */
    --accent-color: #349ad5;         /* Blue accent */
    --background-color: #fcfaee;     /* Light background */
    --text-color: #000;              /* Black text */
    --white: #ffffff;
}

.news-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px 20px;
    background-color: var(--background-color);
}

.news-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
}

.news-header h1 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.news-description {
    font-size: 1.1em;
    color: var(--text-color);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

.news-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.news-video, 
.news-carousel {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.news-video video {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.news-carousel {
    position: relative;
}

.news-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
}
.carousel-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-control i {
    font-size: 24px;
}
.carousel-item {
    flex: 0 0 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}


@media (max-width: 768px) {
    .news-container {
        padding: 20px;
    }

    .news-header h1 {
        font-size: 2.5em;
        margin-top: 50px;
    }

    .news-description {
        font-size: 1em;
    }

    .news-video video,
    .carousel-item img {
        height: 300px;
    }
}

/* @media (max-width: 480px) {
    .news-header h1 {
        font-size: 1.8em;
    }

    .news-description {
        font-size: 0.9em;
    }

    .news-video video,
    .carousel-item img {
        height: 250px;
    }
} */