    .featured-news {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    .news-carousel {
        position: relative;
        margin-top: 30px;
        border-radius: 8px;
        overflow: hidden;
    }

    .carousel-container {
        position: relative;
        width: 100%;
        height: 300px;
    }
@media screen and (min-width: 490px) {
    .carousel-container {
        height: 400px;
    }
}

    .carousel-wrapper {
        display: flex;
        transition: transform 0.5s ease;
        height: 100%;
    }

    .carousel-item {
        flex: 0 0 100%;
        height: 100%;
        margin-top: 40px;
    }

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        background-repeat: sapce round;
    }
