/* Der Inhaltskörper für die Dossier-Seiten */
.article-body {
    display: block !important;
    width: 100%;
    margin-top: 1rem;
}

.article-category {
    display: block;
    font-weight: bold;
    color: var(--theme-primary);
    margin-bottom: 0.5rem;
}

.article-title {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--theme-dark);
    margin-top: 0;
    margin-bottom: 2rem;
    border-bottom: 4px double var(--theme-border);
    padding-bottom: 1rem;
}

/* HIER SITZEN DIE SPALTEN FÜR DEN FLIESS-TEXT */
.article-text {
    display: block !important;
    height: 58vh;                 /* Begrenzt die Höhe am Monitor, damit Spalten brechen */
    margin: 0;
    
    column-width: 320px;          /* Klassische Handbuch-Spaltenbreite */
    column-gap: 3.5rem;         
    column-rule: 1px dashed rgba(0, 0, 0, 0.2); 
    column-fill: auto;            /* Füllt erst Spalte 1, dann Spalte 2 */
    
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--theme-text);
}

/* Spalten-Schutz für angehängte Elemente */
.article-text table, 
.article-text img, 
.article-text pre {
    break-inside: avoid !important;
}

/* Mobil-Ansicht für die Artikel-Seiten */
@media (max-width: 767px) {
    .article-title { font-size: 2.2rem; }
    .article-text {
        height: auto !important;   /* Spalten aufheben auf Mobilgeräten */
        column-width: auto !important;
        text-align: left;
    }
}

/* ==========================================================================
   BACK TO ARCHIVE BUTTON (RETRO DESIGN)
   ========================================================================== */
.back-btn {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 9999; /* Damit er garantiert über allen Slider-Seiten liegt */
    background: #dfdfdf;
    padding: 0.5rem 1rem;
    border: 2px solid var(--theme-dark, #000);
    color: var(--theme-dark, #000);
    text-decoration: none;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.15);
    transition: background 0.1s ease, color 0.1s ease;
}

.back-btn:hover {
    background: var(--theme-dark, #000);
    color: var(--theme-bg, #fff);
    cursor: pointer;
}
