/* assets/css/info_article.css */

/* Hauptcontainer für den Artikel, zentriert und mit begrenzter Breite für Lesbarkeit */
.info-article-container {
    max-width: 800px;
    margin: 0 auto; /* Zentriert den Container */
    padding: 2rem 0;
}

/* --- Header-Bereich --- */
.info-article-header {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

/* Titel und Auszug */
.info-article-header .article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
    margin: 0 0 1rem 0;
}

.info-article-header .article-excerpt {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Hauptinhaltsbereich --- */
.info-article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
}

/* Styling für Standard-HTML-Tags im Inhalt */
.info-article-content p,
.info-article-content ul,
.info-article-content ol {
    margin-bottom: 1.5rem;
}

.info-article-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.info-article-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
}

.info-article-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.info-article-content code {
    background-color: var(--bg-body);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
}

.info-article-content pre {
    background-color: var(--bg-body);
    padding: 1rem;
    border-radius: var(--radius-md);
    overflow-x: auto; /* Erlaubt horizontales Scrollen bei langen Code-Zeilen */
}

.info-article-content blockquote {
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
}

/* --- Footer-Bereich --- */
.info-article-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: right;
}