/*
Theme Name: Webolur Haber Premium
Author: Webolur
Description: Tamamen sorunsuz, modern açılır menüler ve admin panelli haber teması.
Version: 5.0
*/

body { font-family: 'Poppins', sans-serif; background-color: #f8fafc; margin: 0; padding: 0; overflow-x: hidden; }

/* Masaüstü Menü ve Modern Dropdown */
.primary-menu { display: flex; flex-direction: row; gap: 2rem; align-items: center; margin: 0; padding: 0; list-style: none; }
.primary-menu li { position: relative; }
.primary-menu li a { color: #1e293b; font-weight: 700; text-transform: uppercase; font-size: 14px; text-decoration: none; transition: color 0.3s; }
.primary-menu li a:hover { color: #e11d48; }

/* Yumuşak Geçişli Modern Açılır Menü */
.primary-menu li ul { 
    visibility: hidden; opacity: 0; position: absolute; top: 150%; left: 0; 
    background: #ffffff; min-width: 220px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); 
    border-radius: 12px; padding: 10px 0; z-index: 50; 
    transform: translateY(10px); transition: all 0.3s ease; border: 1px solid #f1f5f9;
}
.primary-menu li:hover > ul { visibility: visible; opacity: 1; top: 100%; transform: translateY(0); }
.primary-menu li ul li a { 
    padding: 10px 20px; display: block; font-size: 13px; font-weight: 600; text-transform: none; color: #475569; 
    transition: all 0.2s;
}
.primary-menu li ul li a:hover { background: #fff1f2; color: #e11d48; padding-left: 26px; }

/* Mobil Menü Link Tasarımı */
.mobile-nav-list { list-style: none; padding: 0; margin: 0; }
.mobile-nav-list li a { display: block; padding: 14px 24px; border-bottom: 1px solid #f1f5f9; font-weight: 700; color: #1e293b; text-transform: uppercase; font-size: 14px; transition: 0.2s;}
.mobile-nav-list li a:hover { color: #e11d48; background: #f8fafc; padding-left: 30px; }

/* Slider Numara Tasarımı */
.swiper-pagination-bullet { background: rgba(255, 255, 255, 0.4) !important; color: white !important; opacity: 1 !important; border-radius: 6px !important; }
.swiper-pagination-bullet-active { background: #e11d48 !important; box-shadow: 0 4px 10px rgba(225, 29, 72, 0.5); }

/* Haber Metni (single.php) İçin Tipografi Ayarları */
.article-content p { margin-bottom: 1.5rem; }
.article-content h2 { font-size: 2rem; font-weight: 900; color: #0f172a; margin-top: 3rem; margin-bottom: 1rem; line-height: 1.2; letter-spacing: -0.025em; }
.article-content h3 { font-size: 1.5rem; font-weight: 800; color: #1e293b; margin-top: 2rem; margin-bottom: 1rem; }
.article-content ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1.5rem; }
.article-content ol { list-style-type: decimal; padding-left: 1.5rem; margin-bottom: 1.5rem; font-weight: 700; color: #e11d48; }
.article-content ol li span { color: #475569; font-weight: 500; }
.article-content a { color: #e11d48; text-decoration: none; font-weight: 700; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.article-content a:hover { border-color: #e11d48; }
.article-content blockquote { border-left: 4px solid #e11d48; padding-left: 1.5rem; font-style: italic; color: #475569; background: #f8fafc; padding: 2rem; border-radius: 0 1rem 1rem 0; margin: 2rem 0; font-size: 1.125rem; }
.article-content img { max-width: 100%; height: auto; border-radius: 1.5rem; margin: 2.5rem 0; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }


/* ===== YORUM LİSTESİ TASARIMI (comments.php) ===== */
.comment-list { padding: 0; margin: 0; list-style: none; }
.comment-list .comment { margin-bottom: 1.5rem; }
.comment-list .comment-body { 
    background: #ffffff; border: 1px solid #f1f5f9; padding: 1.5rem; 
    border-radius: 1.5rem; display: flex; flex-wrap: wrap; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); transition: 0.3s;
}
.comment-list .comment-body:hover { border-color: #e2e8f0; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); }

/* Avatar ve Yazar Bilgisi */
.comment-list .comment-author { display: flex; align-items: center; width: 100%; margin-bottom: 0.5rem; }
.comment-list .comment-author .avatar { border-radius: 50%; width: 48px; height: 48px; margin-right: 1rem; border: 2px solid #f8fafc; }
.comment-list .fn { font-weight: 800; color: #0f172a; font-size: 1rem; font-style: normal; text-transform: none; text-decoration: none;}
.comment-list .fn a { color: #0f172a; }

/* Tarih */
.comment-list .comment-meta { width: 100%; margin-left: 4rem; margin-top: -1.5rem; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: #94a3b8; font-weight: 700; margin-bottom: 1rem; }
.comment-list .comment-meta a { color: #94a3b8; text-decoration: none; }

/* Yorum İçeriği */
.comment-list .comment-content { width: 100%; color: #475569; font-size: 0.95rem; line-height: 1.6; margin-top: 0.5rem; }
.comment-list .comment-content p { margin-bottom: 0; }

/* Cevapla Butonu */
.comment-list .reply { width: 100%; margin-top: 1rem; }
.comment-list .reply a { 
    font-size: 0.7rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em;
    color: #e11d48; background: #fff1f2; padding: 0.4rem 1rem; 
    border-radius: 999px; transition: all 0.2s; display: inline-block;
}
.comment-list .reply a:hover { background: #e11d48; color: #ffffff; }

/* Alt Yorumlar (İç İçe Cevaplar) */
.comment-list .children { list-style: none; padding-left: 2rem; margin-top: 1.5rem; border-left: 3px solid #f1f5f9; }
@media (max-width: 768px) { .comment-list .children { padding-left: 1rem; } }


/* ===== SAYFALAMA (PAGINATION) TASARIMI ===== */
.modern-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.modern-pagination .nav-links a, 
.modern-pagination .nav-links span {
    display: flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px;
    font-size: 13px; font-weight: 800; color: #475569; text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.modern-pagination .nav-links a:hover { background: #e11d48; color: #ffffff; border-color: #e11d48; box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3); }
.modern-pagination .nav-links .current { background: #e11d48; color: #ffffff; border-color: #e11d48; }
.modern-pagination .nav-links .dots { background: transparent; border: none; font-size: 18px; color: #94a3b8; min-width: auto; }