/* --- PREMIUM LOGO & MENÜ FÜR QUARK THEME --- */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&family=Lora&display=swap');

body { background-color: #0a0a0a; }
/* 1. DER MENÜ-BALKEN (Desktop) */
#header {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
    z-index: 9999 !important; 
    position: relative; 
}

#page-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

/* 2. DAS LOGO IM HEADER */
#header .logo a svg, 
#header .logo a img,
#header .logo h1,
#header .logo h2 {
    display: none !important;
}

#header .logo a {
    display: block !important;
    text-decoration: none !important;
    font-size: 0 !important; 
}

#header .logo a::before {
    content: "";
    display: block;
    width: 240px; 
    height: 40px; 
    background-image: url('../images/logo-gold-siegel.png') !important; 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

/* 3. DIE LINKS IM HEADER (Desktop) */
#header .dropmenu ul li a {
    color: #e5e5e5 !important; 
    font-family: 'Lora', serif !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    transition: color 0.3s ease !important;
}

#header .dropmenu ul li a:hover,
#header .dropmenu ul li.active > a {
    color: #d4af37 !important; 
    background: transparent !important;
}

/* --- 4. MOBILE MENÜ (BURGER) FIXES --- */

/* Versteckt den Hamburger-Button rigoros auf dem Desktop (Bildschirme breiter als 840px) */
@media (min-width: 841px) {
    .mobile-menu, #mobile-toggle, .slide-panel-toggle {
        display: none !important;
    }
}

/* Färbt das Icon Gold */
.mobile-menu svg, 
#mobile-toggle svg, 
.slide-panel-toggle svg {
    stroke: #d4af37 !important; 
    fill: #d4af37 !important;
}

/* Zeigt und formatiert den Hamburger-Button NUR auf Handys (kleiner als 840px) */
@media (max-width: 840px) {
    .mobile-container,
    .mobile-menu, 
    #mobile-toggle, 
    .slide-panel-toggle {
        display: block !important;
        color: #d4af37 !important;
        z-index: 10000 !important;
        position: relative;
    }
    
    #header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-right: 15px !important; 
    }
    
    #header .logo { flex-grow: 1; }
    #header .logo a::before { width: 180px; }
}

/* --- 5. MOBILE MENÜ OVERLAY (DAS AUFKLAPP-MENÜ) --- */


/* --- 6. ARTIKEL-KARTEN (BLOG LISTING) VEREDELN --- */

/* Verwandelt die weiße Karte in unser edles, dunkles Glas-Design */
.blog-listing .card {
    background: rgba(20, 20, 20, 0.8) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 4px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5) !important;
    transition: all 0.3s ease !important;
}

/* Hover-Effekt: Die Karte leuchtet leicht auf, wenn man mit der Maus drübergeht */
.blog-listing .card:hover {
    border-color: #d4af37 !important;
    transform: translateY(-3px) !important;
}

/* Das blaue Datum in ein dezentes Grau ändern */
.blog-listing .card-header .blog-date {
    color: #9ca3af !important; 
    font-family: 'Lora', serif !important;
    font-size: 0.85rem !important;
}

/* Den blauen Titel in unsere goldene Cinzel-Schrift verwandeln */
.blog-listing .card-header h1.p-name a,
.blog-listing .card-header h2.p-name a,
.blog-listing .card-title a {
    color: #d4af37 !important; 
    font-family: 'Cinzel', serif !important;
    font-size: 1.6rem !important;
    text-decoration: none !important;
}

/* Den Vorschautext lesbar und elegant machen */
.blog-listing .card-body {
    color: #e5e5e5 !important;
    font-family: 'Lora', serif !important;
    line-height: 1.7 !important;
}

/* Falls es einen "Weiterlesen"-Button gibt, wird auch der vergoldet */
.blog-listing .btn {
    background: transparent !important;
    border: 1px solid #d4af37 !important;
    color: #d4af37 !important;
    border-radius: 2px !important;
}
.blog-listing .btn:hover {
    background: #d4af37 !important;
    color: #0a0a0a !important;
}

/* --- 7. EINZEL-ARTIKEL DESIGN (ITEM VIEW) --- */

/* Zentriert den Textinhalt für bessere Lesbarkeit */
.item-content {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
    font-family: 'Lora', serif !important;
    color: #e5e5e5 !important;
    line-height: 1.8 !important;
    font-size: 1.15rem !important;
}

/* Stylt die Überschrift im Artikel */
.item-content h1, .item-content h2 {
    font-family: 'Cinzel', serif !important;
    color: #d4af37 !important;
    text-align: center;
    margin-bottom: 2rem;
}

/* Wunderschöne Zitat-Blöcke für Gelehrten-Texte (Ibn al-Qayyim etc.) */
.item-content blockquote {
    border-left: 3px solid #d4af37 !important;
    background: rgba(212, 175, 55, 0.05) !important;
    padding: 20px 30px !important;
    margin: 40px 0 !important;
    font-style: italic !important;
    color: #d1d5db !important;
}
.item-hero {
    margin-top: -3.5rem !important; /* Zieht das Bild hoch unter das transparente Menü */
}


/* Entfernt hartnäckige blaue Theme-Elemente */
.blog-header, .header-meta, .p-name {
    display: none !important;
}
/* Versteckt Standard-Header, falls das Theme welche einfügt */
.blog-header { display: none !important; }

/* Entfernt die automatische blaue Überschrift auf Artikelseiten */
.p-name, 
.entry-header,
.blog-header {
    display: none !important;
}

/* Falls das Datum noch blau ist, färben wir es hier grau oder blenden es aus */
.header-meta {
    display: none !important;
}

/* --- GOLDENER AUDIO PLAYER --- */
/* --- AUDIO PLAYER STYLING --- */
.audio-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 30px 0 50px 0;
}

audio {
    width: 100%;
    max-width: 500px;
    filter: sepia(100%) brightness(90%) hue-rotate(10deg); /* Ein leichter Gold-Stich */
    outline: none;
}
audio:hover {
    opacity: 1;
}