/*
oft genutzte Farben: 
#5e3ede lila rgb118,93,171 
#1c6987, rgb: 51 104 132 türkis 
vom banner:
#rgb: 106 128 226 
#rgb: 107 115 209
#rgb: 108 106 196
#rgb: 109 97 183
#rgb: 111 79 157
*/

/* Kartenstil als Flex-Row */
.latest-news-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 30px;
    border-bottom: 1px solid lightgray;
    padding-bottom: 20px;
    gap: 20px;
}

/* Bildbereich */
.latest-news-image {
    flex: 0 0 20%;
    overflow: hidden; /* Für Zoom-Effekt */
    border-radius: 4px;
}

.latest-news-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-news-image:hover img {
    transform: scale(1.05);
}

/* Textbereich */
.latest-news-body {
    flex: 1; /* Restliche 80% */
}

/* Titel des Artikels */
.latest-news-title {
    font-size: 1.5em;
    margin: 0 0 5px 0;
    color: #333;
}

.latest-news-title a {
    text-decoration: none;
    color: inherit;
}

.latest-news-title a:hover {
    text-decoration: none;
    color: #5e3ede;
}

/* Datum -> wenn angezeigt werden soll, dann einfach kommentar schließen
.latest-news-date {
    color: #666;
    font-size: 0.9em;
    display: block;
    margin-bottom: 10px;
}

/* Inhalt */
.latest-news-content {
    margin-bottom: 15px;
    line-height: 1.5;
    color: #444;
}

/* Divider innerhalb der Card (optional) */
.latest-news-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 20px 0;
}

/* Button */
.latest-news-button {
    display: inline-block;
    color: #1c6987;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

.latest-news-button:hover {
    text-decoration: underline;
    color: #5e3ede;
}

/* Responsive: Bei schmalen Bildschirmen stacked es wieder */
@media (max-width: 768px) {
    .latest-news-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .latest-news-image {
        display: none;
    }
}

