/* ==========================================================================
 *  AnimeChen.de - News System Custom CSS (01-Artikelsystem Modernization)
 *  ========================================================================== */

/* Haupt-Container */
#_01article, .box_out {
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: #374151;
max-width: 100%;
margin: 0 auto;
padding: 10px;
box-sizing: border-box;
}

/* Fehlermeldungen & Hinweise */
.meldungen_01 {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 20px;
}

/* Einzelner Artikel-Karton (Card) - Innenabstand unten erhöht */
.artikel_self {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px 24px 24px 24px; /* Mehr Abstand nach unten (24px) */
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

.artikel_self:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    border-color: #f43f5e;
}

/* Artikel Footline / Views - Mit klarem Abstand und eigener Zeile */
.artikel_footline, .footline_small {
    font-size: 12px;
    color: #6b7280;
    display: block; /* Auf block setzen, damit nichts abgeschnitten wird */
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px dashed #e5e7eb; /* Helle Trennlinie zum Text */
    line-height: 1.5;
    clear: both;
}

.artikel_footline a.catlink,
.footline_small a {
    color: #f43f5e;
    font-weight: 600;
    text-decoration: none;
}

.footline_small a:hover {
    text-decoration: underline;
}

/* Artikel Header & Titel */
.artikel_headline {
    margin-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 10px;
}

.artikel_headline h2.titel,
.artikel_headline h2.titel a {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.artikel_headline h2.titel a:hover {
    color: #f43f5e;
}

/* Meta-Daten (Autor, Datum, Kommentare) */
.headline_small {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
    line-height: 1.5;
}

.headline_small a {
    color: #f43f5e;
    text-decoration: none;
    font-weight: 600;
}

.headline_small a:hover {
    text-decoration: underline;
}

/* Artikel Inhaltsbereich */
.artikel_text, .artikel_textbox {
    font-size: 14px;
    line-height: 1.65;
    color: #4b5563;
    margin-bottom: 16px;
}

.artikel_text p {
    margin-bottom: 12px;
}

/* Artikel Bilder & Thumbnails */
.artikel_text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 8px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Artikel Footer & Meta Info (Views, Kategorie) */
.artikel_footline, .footline_small {
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #f9fafb;
}

.artikel_footline a.catlink,
.footline_small a {
    color: #f43f5e;
    font-weight: 600;
    text-decoration: none;
}

.footline_small a:hover {
    text-decoration: underline;
}

/* Pagination / Seitennavigation unten */
.table_page {
    width: 100%;
    margin-top: 20px;
    font-size: 13px;
    color: #4b5563;
}

.table_page a {
    color: #f43f5e;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 12px;
    background-color: #f3f4f6;
    border-radius: 8px;
    transition: background 0.2s;
}

.table_page a:hover {
    background-color: #f43f5e;
    color: #ffffff;
}

/* Suchfeld und Buttons */
.input_field {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 12px;
    outline: none;
}

.input_field:focus {
    border-color: #f43f5e;
}

.input_button {
    background-color: #f43f5e;
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}

.input_button:hover {
    background-color: #e11d48;
}

.input_selectfield {
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 12px;
}

/* Footer Copyright Hide or Style */
.copyright {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 20px;
}

.copyright a {
    color: #6b7280;
    text-decoration: none;
}
