.news-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.news-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding-bottom: 20px;
    cursor: grab;
}

.news-slider.active {
    cursor: grabbing;
    scroll-behavior: auto;
}

.news-slider::-webkit-scrollbar {
    height: 8px;
}

.news-slider::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.news-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.news-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex-grow: 1;
}
