/* News-Sektion mit Fahrzeug-Ticker Spalte
 * Zweispaltiges Layout: Links News-Grid, Rechts vertikaler Fahrzeug-Ticker
 */

.news-container-with-vehicles {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    align-items: start;
}

.news-main-column {
    min-width: 0; /* Verhindert Overflow */
}

.news-vehicles-column {
    /* Kein sticky mehr - bleibt in Sektion */
    position: relative;
    align-self: start;
}

/* Fahrzeug-Ticker im News-Item Design */
.news-vehicles-column .bw-ticker-viewport {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: none;
    border-left: 4px solid #e17709;
    /* Höhe wird per JavaScript an News-Grid angepasst */
}

.news-vehicles-column .bw-tick {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.news-vehicles-column .bw-tick:hover {
    background: #f9f9f9;
    transform: none;
}

.news-vehicles-column .bw-tick:last-child {
    border-bottom: none;
}

.news-vehicles-column .bw-tick-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
}

.news-vehicles-column .bw-tick-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
}

.news-vehicles-column .bw-tick-price {
    color: #e17709;
    font-weight: 800;
    font-size: 0.9rem;
}

/* Mobile: Spalten untereinander */
@media (max-width: 1024px) {
    .news-container-with-vehicles {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    .news-vehicles-column {
        position: static;
        max-width: 100%;
        margin: 0;
        width: 100%;
    }
    
    .news-vehicles-column .bw-ticker-viewport {
        max-width: 600px;
        margin: 0 auto;
        height: 400px !important; /* Fixe Höhe auf Mobile */
    }
}

/* Sehr kleine Screens */
@media (max-width: 768px) {
    .news-container-with-vehicles {
        padding: 0;
        width: 100%;
    }
    
    .news-main-column {
        width: 100%;
        padding: 0;
    }
    
    .news-vehicles-column {
        width: 100%;
        padding: 0;
    }
}
