/* Container für den gesamten articleikel */
.article-view-container {
    box-sizing: border-box;
    max-width: 900px; /* Angenehme Lesebreite für längere Texte */
    margin: 3rem auto;
    padding: 0 2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #212529;
    line-height: 1.6;
}

.article-view-container * {
    box-sizing: border-box;
}

/* --- KOPFDATEN-BEREICH --- */
.article-view-top-section {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

/* Kategorie-Badge */
.article-view-category {
    display: inline-block;
    background-color: #ebf8ff;
    color: #2b6cb0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

/* Hauptüberschrift */
.article-view-title {
    font-size: 2.5rem;
    color: #1a202c;
    line-height: 1.2;
    margin: 0 0 0.75rem 0;
    font-weight: 800;
}

/* Autoren-Zeile */
.article-view-meta {
    font-size: 0.95rem;
    color: #4a5568;
}

.article-view-author strong {
    color: #2d3748;
}

/* --- INHALT --- */
.article-view-content {
    margin-bottom: 3rem;
}

.article-view-body {
    font-size: 1.125rem;
    color: #2d3748;
    white-space: pre-line;
}

/* --- TAG-BEREICH --- */
.article-view-bottom-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-view-tags-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-view-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Einzelner Tag */
.article-view-tag-item {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: background-color 0.2s, color 0.2s;
}

.article-view-tag-item:hover {
    background-color: #e2e8f0;
    color: #1e293b;
    cursor: default;
}

/* Responsive Anpassungen unter 760px (für z.B. Smarticlephones) */
@media (max-width: 760px) {
    .article-view-container {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }

    .article-view-title {
        font-size: 1.85rem;
    }
}
