/* Grundlayout */
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f5f5f5;   /* HELL, nicht schwarz */
    color: #222;
}

/* Container für alle News-Karten */
#news-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    box-sizing: border-box;
}

/* Einzelne Karte */
.news-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Bild oben */
.news-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

/* Textbereich */
.news-content {
    padding: 12px 14px 14px;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.news-date {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 8px;
}

.news-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Mobile Feintuning */
@media (max-width: 480px) {
    #news-container {
        padding: 8px;
        gap: 12px;
    }

    .news-image {
        height: 140px;
    }
}
.news-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
