.news-carousel {
    position: relative;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    overflow: hidden;
    margin-top: 20px;
    touch-action: pan-x;
    user-select: none;
}

.news-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    padding: 0 30px;
    cursor: grab;
    width: 100%;
    will-change: transform;
}

.news-container:active {
    cursor: grabbing;
}

.news-slide {
    min-width: 565px;
    height: 300px;
    border-radius: 15px;
    flex-shrink: 0;
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    pointer-events: none;
}

.news-clone {
    opacity: 0.7;
}

.news-slide.active {
    opacity: 1;
}

.news-prev, .news-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    color: black;
    padding: 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.news-prev {
    left: 10px;
}

.news-next {
    right: 10px;
}

.news-prev:hover, .news-next:hover {
    background-color: white;
}

.news-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.news-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
}

.news-dot.active {
    background-color: #000;
}

.news-dot:hover {
    background-color: #999;
}

@media (max-width: 768px) {
    .news-carousel {
        max-width: 2260px;
    }
    .news-container {
        width: 2260px;
        gap: 20px;
        padding: 0 20px;
    }
    .news-slide {
        min-width: 300px;
        height: 200px;
    }
}