/**
 * ═══════════════════════════════════════════════════════════════════════════
 * ⚠️⚠️⚠️ SAMPLE CSS-DATEI - DIESE DATEI IST FEDERFÜHREND! ⚠️⚠️⚠️
 * ═══════════════════════════════════════════════════════════════════════════
 * 
 * DIESE SAMPLE-DATEI IST DIE ABSOLUTE REFERENZ FÜR ALLE CSS-DATEIEN!
 * 
 * ABSOLUT VERBOTEN:
 * - Hartcodierte Farben (z.B. #f39324, rgb(255,0,0))
 * - Hartcodierte Schriften (z.B. Arial, Helvetica)
 * - CSS-Regeln duplizieren die bereits in base.css, widgets-*.css existieren
 * - Globale Selektoren (body, html, a, div) überschreiben
 * 
 * PFLICHT: NUR CSS Custom Properties verwenden!
 * - Farben: var(--primary-color), var(--secondary-color), var(--text-color)
 * - Schriften: var(--font-family-base), var(--font-size-body)
 * - Spacing: var(--spacing-small), var(--spacing-medium)
 * 
 * WARUM:
 * - Zentrale Theme-Verwaltung
 * - Konsistenz über alle Screens
 * - Einfache Anpassung des gesamten Designs an einer Stelle
 * 
 * INHALT:
 * - NUR screen-spezifische CSS-Regeln
 * - Keine Wiederholung von Basis-CSS
 * - Kann auch leer sein wenn keine spezifischen Styles nötig sind
 * 
 * ═══════════════════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ AVIF-spezifische Tabellen-Styles (nutzt CSS Custom Properties)
   ═══════════════════════════════════════════════════════════════════════ */

/* Tabellen-Container */
.avif-container .wiki-table {
    margin: var(--spacing-large) 0;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: var(--background-color);
}

/* Tabellen-Header mit modernem Design */
.avif-container .wiki-table-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--spacing-medium);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-small);
    align-items: center;
}

/* Tabellen-Zeilen mit Zebra-Striping */
.avif-container .wiki-table-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-small);
    padding: var(--spacing-medium);
    border-bottom: 1px solid var(--border-color-light);
    transition: all 0.3s ease;
    align-items: center;
}

/* Zebra-Striping für bessere Lesbarkeit */
.avif-container .wiki-table-row:nth-child(even) {
    background: var(--background-color-light);
}

/* Hover-Effekt für Zeilen */
.avif-container .wiki-table-row:hover {
    background: var(--hover-color);
    transform: translateX(2px);
    box-shadow: var(--shadow-small);
}

/* Tabellen-Zellen */
.avif-container .wiki-table-cell {
    font-family: var(--font-family-base);
    font-size: var(--font-size-body);
    color: var(--text-color);
    padding: var(--spacing-small);
    word-wrap: break-word;
    line-height: var(--line-height-base);
}

/* Spezielle Formatierung für erste Spalte (Format-Namen) */
.avif-container .wiki-table-row .wiki-table-cell:first-child {
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
}

/* Responsive Design für mobile Geräte */
@media (max-width: 768px) {
    .avif-container .wiki-table-header,
    .avif-container .wiki-table-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }
    
    .avif-container .wiki-table-cell {
        padding: var(--spacing-xs);
        font-size: var(--font-size-small);
    }
    
    .avif-container .wiki-table-cell:before {
        content: attr(data-label) ": ";
        font-weight: var(--font-weight-semibold);
        color: var(--primary-color);
    }
}

/* Code-Blöcke in AVIF-Content */
.avif-container pre {
    background: var(--background-color-dark);
    color: var(--text-light);
    padding: var(--spacing-medium);
    border-radius: var(--border-radius-small);
    font-family: var(--font-family-mono);
    font-size: var(--font-size-small);
    overflow-x: auto;
    border-left: 4px solid var(--primary-color);
}

.avif-container code {
    background: var(--background-color-light);
    color: var(--primary-color);
    padding: 2px 6px;
    border-radius: var(--border-radius-xs);
    font-family: var(--font-family-mono);
    font-size: var(--font-size-small);
}

/* Verwandte Themen Links */
.avif-container .related-topics {
    margin-top: var(--spacing-large);
    padding: var(--spacing-medium);
    background: var(--background-color-light);
    border-radius: var(--border-radius-medium);
    border-left: 4px solid var(--secondary-color);
}

.avif-container .related-topics h2 {
    color: var(--secondary-color);
    font-family: var(--font-family-heading);
    margin-bottom: var(--spacing-medium);
}

.avif-container .related-topics ul {
    list-style: none;
    padding: 0;
}

.avif-container .related-topics li {
    margin-bottom: var(--spacing-small);
}

.avif-container .related-topics a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.avif-container .related-topics a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════
   ⚠️ WICHTIG: Oft reichen die Basis-CSS-Dateien aus!
   Wenn keine spezifischen Styles benötigt werden, kann diese Datei 
   fast leer sein (nur der Header-Kommentar bleibt).
   ═══════════════════════════════════════════════════════════════════════ */
