/* Styles nur für die News-Seite */
.news-container {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 2rem auto;
    gap: 1rem;
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 10px;
}

.news-main {
    flex: 9;
    padding-right: 1rem;
    color: #222;
}

.news-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.news-item h2 {
    font-family: 'Cinzel', serif;
    color: var(--brand-green);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-top: 0;
}

.news-item p {
    font-family: 'Merriweather', serif;
    color: #222;
    line-height: 1.6;
}


/* Sidebar passt sich der Höhe des Haupt-News-Blocks an */
.news-sidebar {
    flex: 1.5;
     background-color: var(--brand-green);
     color: white;
     padding: 1rem;
     border-radius: 8px;
     max-height: none;
     overflow: hidden;
     height: 100%;
     position: relative;
     /* Dynamische Höhe per JS */
}

.news-sidebar:hover {
     overflow-y: auto;
}

.news-sidebar h3 {
    margin-top: 0;
    font-family: 'Cinzel', serif;
}

.news-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-sidebar li {
    margin-bottom: 0.5rem;
}

.news-sidebar a {
    color: white;
    text-decoration: none;
}

.news-sidebar a:hover {
    text-decoration: underline;
}

/* Info-Seite: Kontaktspalte breiter für bessere Lesbarkeit */
.info-layout .news-main {
    flex: 7;
}

.info-layout .info-sidebar {
    flex: 3;
    min-width: 320px;
}

.info-layout .info-sidebar li,
.info-layout .info-sidebar a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 768px) {
    .news-container {
        flex-direction: column;
    }

    .news-main {
        padding-right: 0;
    }

    .news-sidebar {
        max-height: none;
        overflow-y: auto;
    }

    .info-layout .info-sidebar {
        min-width: 100%;
    }
}
