/* CSS für den News-Slider */
.news-list-view .list-group.mb-3 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding: 20px 0;
    /* Scrollbar verstecken für Chrome/Safari/Opera */
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-direction: row;
}

/* Scrollbar verstecken für Firefox */
.news-list-view .list-group.mb-3::-webkit-scrollbar {
    display: none;
}

.news-list-view .list-group-item {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
    border: none;
    transition: transform 0.3s ease;
}

/* Optional: Hover-Effekt */
.news-list-view .list-group-item:hover {
    transform: translateY(-5px);
}

/* Container-Styling */
.news-list-view {
    position: relative;
    padding: 0 20px;
}

/* Optional: Navigation-Pfeile */
.news-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-prev {
    left: 0;
}

.news-next {
    right: 0;
}
