/* ========================================= */
/*  NEWS – Grundlayout                       */
/* ========================================= */

.news-headline {
    margin-bottom: 10px;
}

.news-headline h3 {
    margin: 0;
}

.news-date small {
    color: #666;
}

/* ========================================= */
/*  NEWS – Text + Karussell nebeneinander    */
/* ========================================= */

.news-flex {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 15px;
    flex-wrap: wrap;
}

.news-text {
    flex: 2;
    min-width: 250px;
}

/* ========================================= */
/*  NEWS – Karussell                         */
/* ========================================= */

.news-carousel {
    flex: 1;
    max-width: 260px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.news-carousel .carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.news-carousel img {
    width: 100%;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

/* ========================================= */
/*  NEWS – Buttons                           */
/* ========================================= */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: white;
    font-size: 28px;
    padding: 5px 12px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 20;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-btn:hover {
    background: rgba(0,0,0,0.6);
}

/* ========================================= */
/*  MOBILE                                   */
/* ========================================= */

@media (max-width: 768px) {
    .news-flex {
        flex-direction: column;
    }

    .news-carousel {
        max-width: 100%;
        margin-top: 15px;
    }
}
