/* ============================================================
   WIKI-ESOTERICA ANA STİL DOSYASI (NİHAİ & GÖRÜNÜR MOD)
   ============================================================ */

/* 1. TÜM SİTE GENELİ YAZI STANDARTI */
body, p, span, div, li, article {
    font-family: 'Cinzel', serif !important;
    color: rgba(220, 220, 230, 0.95) !important;
    line-height: 1.6;
    text-transform: none !important;
}

/* 2. BAŞLIKLAR VE ÖZEL VURGULAR (ALTIN SARISI) */
h1, h2, h3, h4, h5, h6, 
.entry-title, .page-title, strong, b {
    color: #FFD700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: none !important;
}

/* Sayfa Başlığı Özel Ayarı */
.page-header h1, .entry-title {
    font-size: 32px !important;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 15px;
}

/* 3. FOOTER TEMİZLİĞİ VE GÖRÜNÜRLÜK */
#footer .copywrap + *,
#footer .copywrap + * *,
#footer .copywrap ~ * {
    display: none !important;
}

#footer {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

footer, .footer-links a, .copywrap {
    color: #FFD700 !important;
    font-size: 14px;
    opacity: 1 !important;
    text-transform: none !important;
}

/* 4. MASAÜSTÜ MENÜ AYARLARI */
.main-navigation ul li, .main-nav ul li, .menu li {
    position: relative;
}

.main-navigation ul li ul, .main-nav ul li ul, .menu li ul {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 9999;
    min-width: 220px;
    background: #0a0514;
    box-shadow: 0 4px 14px rgba(0,0,0,0.5);
    border: 1px solid #FFD700;
}

.main-navigation ul li:hover > ul, 
.main-nav ul li:hover > ul, 
.menu li:hover > ul {
    display: block;
}

/* 5. MOBİL MENÜ DÜZELTMELERİ */
@media screen and (max-width: 992px) {
    .main-navigation, .menu, .mobile-menu-container {
        background-color: #1480a3 !important;
        z-index: 999999 !important;
    }

    .main-navigation ul li ul, .menu li ul, .sub-menu {
        position: static !important;
        display: none; 
        width: 100% !important;
        background-color: #0f6c8a !important; 
        padding-left: 20px !important; 
        border-left: 3px solid #ffffff !important; 
        margin: 0 !important;
    }

    .main-navigation ul li:hover > ul,
    .main-navigation ul li:hover > .sub-menu,
    .menu li:hover > ul,
    .menu li:hover > .sub-menu {
        display: block !important;
    }
}

/* 6. LİNKLER VE ALINTILAR */
a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 15px #FFD700;
    transition: all 0.3s ease;
}

blockquote, .quote-text {
    font-style: italic;
    color: #ffffff !important;
    border-left: 3px solid #FFD700;
    padding-left: 15px;
    background: rgba(255, 215, 0, 0.05);
    text-transform: none !important;
}

/* 7. DİL SEÇENEKLERİ (TranslatePress) */
.wiki-intro-tr, .wiki-intro-en {
    display: none;
}

.translatepress-tr_TR .wiki-intro-tr { display: block; }
.translatepress-en_GB .wiki-intro-en, 
.translatepress-en_US .wiki-intro-en { display: block; }

/* 8. BÜYÜK HARF ZORLAMASINI HER YERDEN KALDIR */
html body, 
html body p, 
html body span, 
html body div, 
html body li, 
html body article,
html body h1, 
html body h2, 
html body h3, 
html body h4, 
html body h5, 
html body h6,
html body .entry-content,
html body .page-title,
html body .entry-title {
    text-transform: none !important;
    font-variant: normal !important;
}

/* 9. GENEL METİN OKUNABİLİRLİĞİ */
.entry-content p, 
.entry-content span,
article p {
    color: #e0e0e0 !important;
    font-family: 'Cinzel', serif !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
    text-shadow: none !important;
}

/* 10. ÖZEL VURGULAR (SARI YAZILAR) */
.entry-content strong, 
.entry-content b,
span[style*="color: #ffff00"],
span[style*="color: rgb(255, 255, 0)"] {
    color: #FFD700 !important;
    font-weight: bold !important;
    text-transform: none !important;
}

/* 11. BAŞLIKLARIN ASALETİ */
h1, h2, h3, .entry-title {
    color: #FFD700 !important;
    letter-spacing: 1px !important;
    margin-bottom: 20px !important;
}

/* ============================================================
   12. SIDEBAR MİSTİK DÖNÜŞÜM + SOL BOŞLUK DÜZELTMESİ
   ============================================================ */

#sidebar, .sidebar, aside, .widget-area {
    background: transparent !important;
}

/* --- SOL BOŞ ALANI KAPAT --- */
#sidebar.col-lg-3,
#sidebar.col-md-4 {
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* İçerik sütununu tam genişliğe çıkar */
#content.contentsecwrap .row > .col-lg-9,
#content.contentsecwrap .row > .col-md-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

#content.contentsecwrap .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Widget Stilleri (Portal menüsündeki widgetlar için) */
.widget {
    background: rgba(10, 5, 25, 0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 15px;
    padding: 25px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    color: #e6dfb8 !important;
}

/* Widget Başlıkları */
.widget-title, .widgettitle {
    font-family: 'Cinzel', serif !important;
    color: #ffd700 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Widget Liste Elemanları ve Linkler */
.widget ul {
    list-style: none !important;
    padding: 0 !important;
}

.widget ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 0;
    color: #e6dfb8;
}

.widget ul li a {
    color: #e6dfb8 !important;
    text-decoration: none !important;
    transition: 0.3s;
}

.widget ul li a:hover {
    color: #ffd700 !important;
    padding-left: 5px;
}

/* Arama Kutusu Düzenlemesi */
.search-field, #s {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    color: #ffd700 !important;
    border-radius: 5px;
    padding: 10px !important;
}

.search-submit {
    background: #d4af37 !important;
    color: #050117 !important;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    border: none;
    padding: 10px 20px !important;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}