/* Blogartikel-spezifische Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

main {
    flex: 1;
    padding-top: 70px; /* Für den fixed header */
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--card-bg);
}

.article-header {
    text-align: center;
    padding-top: 0px;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.article-header h1 {
    font-size: 2rem; /* reduziert von 2.5rem */
    margin-bottom: 1rem;
    color: var(--header);
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.article-meta {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.article-image {
    max-width: 1200px; /* Begrenzt die maximale Breite */
    width: 100%;      /* Behält Responsivität bei */
    border-radius: 12px;
    margin: 1rem auto 2rem; /* auto für horizontale Zentrierung */
    display: block;    /* Wichtig für die Zentrierung */
}

.article-content {
    padding: 0 0 2rem;
}

.article-content p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.article-section {
    margin: 2rem 0;
}

.article-section h2 {
    color: var(--header);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.article-list {
    list-style: none;
    margin: 1rem 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap; /* Ermöglicht Zeilenumbrüche */
    line-height: 1.4;
    padding-right: 1rem; /* Verhindert, dass der Text zu nah am Rand ist */
}

.article-list li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

@media screen and (max-width: 768px) {
    .article-list li {
        font-size: 0.95rem; /* Etwas kleinere Schrift auf mobilen Geräten */
        padding-left: 1rem;
        padding-right: 0.5rem;
    }
}
