/* ==========================================================================
   HepSağlık - Temel CSS & Değişkenler
   ========================================================================== */
:root {
    /* Renk Paleti (Eski kaynak kodunuzdan birebir eşleştirildi) */
    --c-dark-blue: #354792;
    --c-dark: #060E2F;
    --c-primary: #366BD9;
    --c-accent: #6D9AF8;
    --c-white: #FFFFFF;
    --c-off-white: #eaecf8;
    --c-gray: #9191A1;
    --c-text: #333333;

    /* Tipografi */
    --font-heading: 'Fraunces', serif;
    --font-body: 'Be Vietnam Pro', sans-serif;

    /* Genel Ölçüler */
    --container-width: 1320px;
}

/* Modern CSS Reset (Performans İçin Minimum Yük) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--c-text); background-color: var(--c-white); line-height: 1.6; }
a { text-decoration: none; color: var(--c-primary); transition: color 0.2s ease-in-out; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--c-dark); font-weight: 700; line-height: 1.3; margin-bottom: 0.5em; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Erişilebilirlik (A11y) Puanı İçin Şart Sınıflar */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link:focus { background-color: var(--c-primary); color: var(--c-white); padding: 15px; position: absolute; left: 10px; top: 10px; z-index: 100000; font-weight: bold; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.3);}

/* Genel Layout */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.d-flex { display: flex; align-items: center; }

/* ==========================================================================
   HEADER BÖLÜMÜ (Masaüstü için Temel)
   ========================================================================== */
.top-bar { background-color: var(--c-white); padding: 10px 0; border-bottom: 1px solid var(--c-off-white); font-size: 12px; color: var(--c-gray); }
.top-bar .container { justify-content: space-between; }
.top-bar strong { color: var(--c-dark-blue); font-weight: 700; }

.site-header-main { padding: 25px 0; background-color: var(--c-white); }
.site-header-main .container { justify-content: space-between; }
.site-logo img { max-width: 260px; height: auto; display: block; }

/* Buton (Eski temanızdaki Reklam butonu) */
.btn-outline { background-color: transparent; color: var(--c-primary); border: 2px solid var(--c-primary); padding: 8px 16px; border-radius: 4px; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: 0.3s; }
.btn-outline:hover { background-color: var(--c-primary); color: var(--c-white); }

/* Masaüstü Navigasyon */
.main-navigation-wrap { background-color: var(--c-dark-blue); }
.main-navigation { justify-content: center; }
.main-navigation ul { display: flex; margin: 0; padding: 0; }
.main-navigation li { position: relative; }
.main-navigation li a { display: block; padding: 15px 20px; color: var(--c-white); font-weight: 700; text-transform: capitalize; font-size: 15px; position: relative; }
.main-navigation li a:hover, 
.main-navigation li.current-menu-item > a { color: var(--c-accent); }

/* Aktif veya Hover olan menü elemanının altına çizgi efekti */
.main-navigation li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 3px; background-color: var(--c-accent); transition: width 0.3s ease; }
.main-navigation li a:hover::after,
.main-navigation li.current-menu-item > a::after { width: 100%; }

/* Açılır menü ikon işareti (ok) */
.main-navigation li.menu-item-has-children > a { padding-right: 25px; }
.main-navigation li.menu-item-has-children > a::before { content: '▾'; position: absolute; right: 10px; font-size: 14px; pointer-events: none; }

/* Mobili Gizle (Masaüstü görünüm) */
@media (max-width: 991px) {
    .d-desktop-only { display: none !important; }
}
@media (min-width: 992px) {
    .d-mobile-only { display: none !important; }
}

/* ==========================================================================
   ANASAYFA IZGARA (GRID) DÜZENİ
   ========================================================================== */
.post-grid-wrapper { margin: 50px 0; }
.grid-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.grid-item { border: 1px solid var(--c-off-white); border-radius: 8px; overflow: hidden; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.grid-item:hover { box-shadow: 0 10px 30px rgba(53, 71, 146, 0.1); transform: translateY(-3px); }
.post-thumbnail img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-content-card { padding: 25px; }
.post-meta-category a { font-size: 11px; text-transform: uppercase; color: var(--c-accent); font-weight: 700; letter-spacing: 1px; }
.post-content-card .post-title { font-size: 20px; line-height: 1.4; margin: 10px 0; }
.post-content-card .post-title a { color: var(--c-dark); }
.post-content-card .post-title a:hover { color: var(--c-primary); }
.post-excerpt { font-size: 14px; color: var(--c-gray); }

/* SAYFALAMA */
.pagination-wrapper { margin-top: 50px; text-align: center; }
.pagination-wrapper .page-numbers { display: inline-block; padding: 10px 20px; margin: 0 5px; border: 1px solid var(--c-off-white); border-radius: 4px; color: var(--c-dark); font-weight: 600; font-family: var(--font-body); }
.pagination-wrapper .current { background-color: var(--c-primary); color: var(--c-white); border-color: var(--c-primary); }

/* ==========================================================================
   SINGLE POST (YAZI OKUMA SAYFASI) DÜZENİ
   ========================================================================== */
.single-post-article { max-width: 900px; margin: 50px auto; }
.single-title { font-size: 45px; line-height: 1.2; font-family: var(--font-heading); color: var(--c-dark); margin-bottom: 20px; }
.single-meta strong { color: var(--c-dark-blue); }

.single-featured-image { margin-bottom: 40px; border-radius: 8px; overflow: hidden; }
.single-featured-image img { width: 100%; height: auto; }
.image-caption { padding: 10px; text-align: center; font-style: italic; font-size: 13px; color: var(--c-gray); background-color: var(--c-off-white); }

/* İçerik Tipografisi - Eski tasarımınıza birebir uyumlu */
.single-content { font-family: var(--font-heading); font-size: 18px; line-height: 1.8; color: var(--c-text); }
.single-content p { margin-bottom: 20px; }
.single-content h2, .single-content h3 { font-family: var(--font-body); color: var(--c-primary); margin-top: 40px; margin-bottom: 15px; }
.single-content a { text-decoration: underline; text-decoration-color: var(--c-off-white); text-underline-offset: 3px; }
.single-content a:hover { color: var(--c-primary); text-decoration-color: var(--c-primary); }

/* ==========================================================================
   FOOTER (ALT BİLGİ)
   ========================================================================== */
.site-footer { background-color: var(--c-dark-blue); padding: 50px 0; margin-top: 80px; }
.footer-container { justify-content: space-between; flex-wrap: wrap; }
.footer-logo h3 { color: var(--c-white); margin-bottom: 5px; }
.footer-logo p { color: var(--c-accent); font-size: 13px; }
.footer-copy p { color: var(--c-gray); font-size: 13px; margin-top: 15px; }

/* Mobilde Ufak Dokunuşlar */
@media (max-width: 768px) {
    .single-title { font-size: 32px; }
    .single-content { font-size: 17px; line-height: 1.7; }
    .footer-container { flex-direction: column; text-align: center; gap: 20px; }
}

/* ==========================================================================
   2 SÜTUNLU (DERGİ/MAGAZIN) DÜZEN 
   ========================================================================== */
.mt-40 { margin-top: 40px; }
.main-layout-wrap { display: flex; align-items: flex-start; gap: 40px; margin-bottom: 60px; }
.site-main-content { flex: 1; max-width: calc(100% - 370px); /* %70 İçerik */ }
.site-sidebar { width: 330px; flex-shrink: 0; /* %30 Kenar çubuğu */ }

/* YAPIŞKAN (STICKY) SİDEBAR - Aşağı inildikçe ekranda kalır */
.sidebar-inner-sticky { position: sticky; top: 20px; }

/* BİLEŞEN (WIDGET) TASARIMLARI (Orijinal siteyle aynı) */
.widget { margin-bottom: 40px; background-color: #fcfcfc; padding: 25px; border-radius: 6px; border: 1px solid var(--c-off-white); }
.widget-title { font-size: 16px; text-transform: uppercase; color: var(--c-dark); border-bottom: 2px solid var(--c-off-white); margin-bottom: 20px; padding-bottom: 10px; }
/* Mavi Başlık Vurgusu */
.widget-title span { display: inline-block; position: relative; }
.widget-title span::after { content: ''; position: absolute; left: 0; bottom: -12px; height: 2px; width: 100%; background-color: var(--c-primary); }

.widget ul li { border-bottom: 1px dashed var(--c-off-white); padding: 10px 0; }
.widget ul li:last-child { border-bottom: none; padding-bottom: 0; }
.widget ul li a { color: var(--c-text); font-family: var(--font-body); font-size: 14px; font-weight: 600; }
.widget ul li a:hover { color: var(--c-primary); }

/* GELİŞMİŞ INDEX.PHP (Sürmanşet ve Grid) */
.hero-post { border: none; margin-bottom: 30px; box-shadow: none; }
.hero-post:hover { transform: none; box-shadow: none; }
.hero-post .post-thumbnail img { aspect-ratio: 16/7; border-radius: 8px; }
.hero-post .post-title { font-size: 32px; font-weight: 700; margin-top: 15px;}
.standard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* SINGLE PHP (Makyaj) */
.single-post-article { max-width: 100%; margin: 0; } /* Wrapper içinde sınırlandığı için siliyoruz */
.tag-title { font-weight: 700; font-family: var(--font-body); color: var(--c-dark); }
.post-tags a { background-color: var(--c-off-white); color: var(--c-primary); padding: 5px 12px; border-radius: 4px; font-size: 12px; margin-right: 5px; font-weight: 600;}
.post-tags a:hover { background-color: var(--c-primary); color: var(--c-white); }

/* MOBİL DUYARLILIK */
@media (max-width: 991px) {
    .main-layout-wrap { flex-direction: column; }
    .site-main-content, .site-sidebar { max-width: 100%; width: 100%; }
    .standard-grid { grid-template-columns: 1fr; }
    .hero-post .post-title { font-size: 24px; }
    .sidebar-inner-sticky { position: relative; top: 0; }
}

/* ==========================================================================
   HARDCODED MENU & DROPDOWN (Sıfır Javascript ile Kusursuz Hız)
   ========================================================================== */
.hardcoded-menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center;}
.hardcoded-menu > li { position: relative; }
.hardcoded-menu > li > a { display: block; padding: 15px 20px; color: var(--c-white); font-weight: 700; text-transform: capitalize; font-size: 15px; position: relative; }
.hardcoded-menu > li > a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 3px; background-color: var(--c-accent); transition: width 0.3s ease; }
.hardcoded-menu > li:hover > a::after { width: 100%; }

/* Alt Menü (Dropdown) Animasyonu */
.submenu { position: absolute; top: 100%; left: 0; background-color: var(--c-white); min-width: 220px; box-shadow: 0 15px 30px rgba(0,0,0,0.15); opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s ease; border-radius: 0 0 6px 6px; overflow: hidden; z-index: 100; border-top: 3px solid var(--c-primary);}
.has-dropdown:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li { border-bottom: 1px solid var(--c-off-white); }
.submenu li:last-child { border-bottom: none; }
.submenu li a { display: block; padding: 12px 20px; color: var(--c-dark); font-size: 14px; font-weight: 600; font-family: var(--font-body); transition: 0.2s; }
.submenu li a:hover { background-color: var(--c-off-white); color: var(--c-primary); padding-left: 25px; /* Üzerine gelince tatlı bir sağa kayma efekti */ }
.arrow { font-size: 10px; margin-left: 4px; vertical-align: middle; opacity: 0.7;}

/* Çok Kalabalık Linkler İçin Çift Sütunlu Mega Menü Formatı */
.submenu.mega-2col {
    min-width: 520px; /* Genişlettik ki yan yana 2 tane sığsın */
    display: grid;
    grid-template-columns: 1fr 1fr; /* Mükemmel ortalanmış 2 kolon */
    padding: 10px;
    gap: 0px 20px;
}
/* Grid yüzünden display özelliğini manipüle etmek, fadeIn (gizlen-açıl) animasyonunu bozmasın diye; display ayarı her zaman görünmez olarak açık bekler: */
.submenu { display: block !important; }

/* ==========================================================================
   FOOTER (Manuel Şablon Tasarımı)
   ========================================================================== */
.footer-top { border-top: 5px solid var(--c-primary); padding: 50px 0 0 0; }
.footer-grid { align-items: stretch; gap: 30px; }
.footer-widget { flex: 1; }
.footer-hardcoded-links { list-style: none; margin: 0; padding: 0; }
.footer-hardcoded-links li { margin-bottom: 10px; padding-left: 15px; position: relative; }
.footer-hardcoded-links li::before { content: '→'; position: absolute; left: 0; color: var(--c-primary); }
.footer-hardcoded-links a { color: var(--c-white); font-size: 14px; font-family: var(--font-body); }
.footer-hardcoded-links a:hover { color: var(--c-accent); }
.footer-legal-links li { list-style: none; }
.footer-legal-links a:hover { color: var(--c-white) !important; }

/* Mobilde Yanyana Footer Izgarasını Alta Alta Dizmek İçin */
@media (max-width: 991px) {
    .footer-grid { flex-direction: column; gap: 40px;}
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 20px;}
}

/* ==========================================================================
   INTERAKTIF ÖGELER (PROGRESS BAR & SEARCH)
   ========================================================================== */
.reading-progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 5px; z-index: 10000; background: transparent; }
#reading-progress { height: 100%; background: var(--c-primary); width: 0%; transition: width 0.1s ease-out; }

/* Arama Kutusu Modalı (Gizli / Açılır Sistem) */
.header-search-form { position: absolute; top: 120%; right: 20px; background: var(--c-white); padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-top: 4px solid var(--c-accent); opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s ease; z-index: 1000; border-radius: 4px; }
.header-search-form.active { opacity: 1; visibility: visible; transform: translateY(0); }
.header-search-form form { display: flex; gap: 10px; }
.header-search-form input[type="search"] { padding: 10px; border: 1px solid var(--c-off-white); border-radius: 4px; font-family: var(--font-body); width: 250px; outline:none; }
.header-search-form input[type="search"]:focus { border-color: var(--c-primary); }
.header-search-form button { background: var(--c-primary); color: var(--c-white); border: none; padding: 0 15px; border-radius: 4px; cursor: pointer; font-weight: 700; transition: 0.3s; }
.header-search-form button:hover { background: var(--c-dark-blue); }

/* ==========================================================================
   MODERN & PREMIUM YORUM ŞABLONU
   ========================================================================== */
.single-comments-wrapper { margin-top: 70px; }

/* Kutu Şeklinde Premium Arka Plan */
.comments-area { background: var(--c-white); padding: 45px 50px; border-radius: 12px; box-shadow: 0 5px 35px rgba(0,0,0,0.03); border: 1px solid var(--c-off-white); }
.comments-title, .leave-reply-heading span { font-family: var(--font-body); font-size: 24px; font-weight: 900; color: var(--c-dark-blue); margin-bottom: 30px; display: inline-block; position: relative; }
.comments-title::after, .leave-reply-heading span::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 45px; height: 3px; background: var(--c-accent); border-radius: 3px;}
.comments-title span { color: var(--c-primary); font-size: 18px; }

/* Okuyucu Yorum Kartları */
.comment-list { padding: 0; margin: 0 0 50px 0; list-style: none; }
.comment-list li.comment { margin-bottom: 25px; padding:0; }
.comment-list li.comment:last-child { margin-bottom: 0; }
.comment-list .comment-body { position: relative; padding: 25px 25px 25px 90px; background: var(--c-off-white); border-radius: 10px; transition: transform 0.2s ease, box-shadow 0.2s ease; border-left: 3px solid transparent;}
.comment-list .comment-body:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.05); border-left-color: var(--c-accent); }
.comment-list .comment-author .avatar { position: absolute; left: 25px; top: 25px; border-radius: 50%; width: 45px; height: 45px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border: 2px solid var(--c-white); }

/* Yazar ve Metin */
.comment-list .fn { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--c-dark); display: block; margin-bottom: 3px; font-style: normal; }
.comment-list .fn a { color: var(--c-dark); }
.comment-list .comment-meta { margin-bottom: 12px; font-size: 12px; color: var(--c-gray); display:block; }
.comment-list .comment-content { font-family: var(--font-heading); color: var(--c-text); font-size: 16px; line-height: 1.7; }
.comment-list .comment-content p { margin-bottom: 10px; }
.comment-list .comment-content p:last-child { margin-bottom: 0; }

/* Tatlı Yanıtla Butonu */
.comment-list .reply { margin-top: 15px; }
.comment-list .reply a { font-family: var(--font-body); display: inline-flex; align-items: center; gap: 5px; font-size: 12px; background: var(--c-white); color: var(--c-primary); padding: 7px 16px; border-radius: 20px; font-weight: 700; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.comment-list .reply a::before { content: "↪"; font-size: 15px; margin-top:-2px; }
.comment-list .reply a:hover { background: var(--c-primary); color: var(--c-white); transform: translateY(-1px); }

/* İç İçe (Yanıt) Yorumlar */
.comment-list .children { padding-left: 0; margin-top: 20px; margin-left: 50px; position: relative; list-style: none;}
.comment-list .children::before { content: ''; position: absolute; left: -25px; top: 0; width: 2px; height: 100%; background: var(--c-off-white); }
@media (max-width: 768px) {
    .comment-list .children { margin-left: 20px; }
    .comment-list .children::before { display: none; }
    .comment-list .comment-body { padding: 25px 20px 25px 20px; }
    .comment-list .comment-author .avatar { position: static; margin-bottom: 15px; }
}

/* Yeni Form Tasarımı (CSS Grid ile Nizami) */
.comment-respond { margin-top: 40px; padding-top:40px; border-top: 1px solid var(--c-off-white);}
.comment-notes { font-size: 13px; color: var(--c-gray); margin-bottom: 25px; }
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.comment-form-comment { grid-column: 1 / -1; }
.comment-form-author { grid-column: 1 / 2; }
.comment-form-email { grid-column: 2 / -1; }

.comment-form label { display: block; font-family: var(--font-body); font-weight: 700; font-size: 13px; color: var(--c-dark); margin-bottom: 8px; }
.comment-form input[type="text"], 
.comment-form input[type="email"], 
.comment-form textarea { width: 100%; background: #f8f9fc; border: 2px solid transparent; border-radius: 8px; padding: 16px 20px; font-family: var(--font-body); font-size: 14px; color: var(--c-dark); transition: all 0.3s ease; outline: none; }

/* Focus olunca çok şık bir renk değişimi ve gölge */
.comment-form input:focus, 
.comment-form textarea:focus { background: var(--c-white); border-color: var(--c-primary); box-shadow: 0 4px 20px rgba(54, 107, 217, 0.08); }
.comment-form textarea { resize: vertical; min-height: 120px; }

/* Çerez İzin Alanı */
.comment-form-cookies-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; margin-top: 5px; }
.comment-form-cookies-consent input { width: 18px; height: 18px; accent-color: var(--c-primary); cursor: pointer; margin-top:3px; flex-shrink: 0; }
.comment-form-cookies-consent label { font-size: 13px; color: var(--c-gray); cursor: pointer; font-weight: 400; line-height:1.5;}

/* Harika Gönder Butonu */
.form-submit { grid-column: 1 / -1; margin-top: 15px; text-align: right; }
.btn-modern-submit { background: var(--c-primary); color: var(--c-white); border: none; padding: 18px 45px; font-family: var(--font-body); font-weight: 700; font-size: 16px; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(54, 107, 217, 0.3); }
.btn-modern-submit:hover { background: var(--c-dark-blue); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(54, 107, 217, 0.4); }

/* Mobil Uyum Form Alanı */
@media (max-width: 768px) {
    .comments-area { padding: 30px 20px; }
    .comment-form { grid-template-columns: 1fr; gap: 15px; }
    .comment-form-author, .comment-form-email { grid-column: 1 / -1; }
    .form-submit { text-align: left; }
    .btn-modern-submit { width: 100%; text-align: center; }
}

/* ==========================================================================
   OFF-CANVAS MOBİL MENÜ
   ========================================================================== */
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(6, 14, 47, 0.7); backdrop-filter: blur(3px); z-index: 9998; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

.off-canvas-menu { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background-color: var(--c-white); z-index: 9999; overflow-y: auto; transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1); box-shadow: 10px 0 30px rgba(0,0,0,0.1); }
.off-canvas-menu.active { transform: translateX(320px); } /* Sola yapışık, menüyü içeri çeker */

.off-canvas-header { padding: 20px; justify-content: space-between; border-bottom: 1px solid var(--c-off-white); }
.close-btn { background: none; border: none; font-size: 32px; color: var(--c-dark); cursor: pointer; line-height: 1; margin-top:-5px; transition: color 0.2s;}
.close-btn:hover { color: var(--c-primary); }

.off-canvas-content { padding: 20px; }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-list > li { border-bottom: 1px dashed var(--c-off-white); }
.mobile-nav-list > li > a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; color: var(--c-dark); font-family: var(--font-body); font-weight: 700; font-size: 16px; transition: 0.2s; }
.mobile-nav-list > li > a:hover { color: var(--c-primary); }

/* Mobil Alt Menü (Akordiyon için) */
.mobile-submenu { display: none; padding-left: 15px; margin-bottom: 10px; list-style: none; border-left: 2px solid var(--c-off-white); margin-left: 10px;}
.mobile-submenu li a { display: block; padding: 10px 0; color: var(--c-gray); font-size: 14px; font-family: var(--font-body); }
.mobile-submenu li a:hover { color: var(--c-primary); }
.toggle-icon { font-size: 20px; font-weight: 400; background: var(--c-off-white); width: 30px; height: 30px; display: inline-flex; justify-content: center; align-items: center; border-radius: 50%; color: var(--c-primary);}

body.menu-open { overflow: hidden; } /* Menü açıkken arkadaki sayfanın kaymasını engeller */

/* ==========================================================================
   MEGA SÜRMANŞET (HERO MAGAZINE BLOK)
   ========================================================================== */
.hero-grid-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; height: 500px;}
.hero-side-items { display: flex; flex-direction: column; gap: 30px; height: 100%; }
.hero-item { position: relative; border-radius: 12px; overflow: hidden; height: 100%; }
.hero-item a { display: block; width: 100%; height: 100%; }
.hero-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.hero-item:hover img { transform: scale(1.05); }

/* Görüntü Üstü Gradient ve İçerik */
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(6, 14, 47, 0.4) 50%, rgba(6, 14, 47, 0.95) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 35px; color: var(--c-white); z-index: 10;}
.large-hero .hero-overlay h2 { color: var(--c-white); font-size: 32px; line-height: 1.3; font-family: var(--font-heading); margin: 10px 0;}
.small-hero .hero-overlay { padding: 25px; }
.small-hero .hero-overlay h3 { color: var(--c-white); font-size: 20px; line-height: 1.3; font-family: var(--font-heading); margin: 10px 0;}

/* Kategoriler ve Meta Çıktılar */
.cat-label { align-self: flex-start; background: var(--c-primary); color: var(--c-white); font-size: 11px; padding: 4px 10px; border-radius: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.hero-meta { list-style: none; padding: 0; margin: 0; gap: 15px; font-family: var(--font-body); font-size: 13px; font-weight: 400; opacity: 0.8;}

/* ==========================================================================
   YATAY LİSTE BLOK DÜZENİ
   ========================================================================== */
.list-post-item { gap: 20px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px dashed var(--c-off-white); align-items: stretch; }
.list-post-item:last-child { border-bottom: none; }
.list-thumb { width: 160px; flex-shrink: 0; border-radius: 8px; overflow: hidden; position: relative; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; display: block; }
.list-post-item:hover .list-thumb img { transform: scale(1.08); }
.list-content { display: flex; flex-direction: column; justify-content: center; }
.cat-badge { font-size: 11px; color: var(--c-primary); font-weight: 700; text-transform: uppercase; margin-bottom: 5px; display: inline-block;}
.list-content h3 { font-size: 20px; line-height: 1.4; margin-bottom: 8px; }
.list-content p { font-size: 14px; color: var(--c-gray); margin-bottom: 10px;}

/* ==========================================================================
   MODERN KART VE İLETİŞİM SAYFASI
   ========================================================================== */
.modern-card .post-thumbnail { position: relative; border-radius: 10px; overflow: hidden; }
.modern-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.modern-cat-badge { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.9); padding: 4px 12px; font-size: 11px; border-radius: 20px; font-weight: 700; color: var(--c-dark); }
.author-meta-inline { display: flex; align-items: center; gap: 10px; color: var(--c-gray); margin-top:15px; }
.author-meta-inline img { border-radius: 50%; }

.contact-header-bg { background-color: var(--c-dark-blue); padding: 80px 20px; color: var(--c-white); margin-bottom: 40px; border-bottom: 6px solid var(--c-accent);}
.contact-title { font-size: 40px; color: var(--c-white) !important; margin-bottom: 15px; }
.contact-subtitle { font-size: 18px; max-width: 600px; margin: 0 auto; color: var(--c-off-white); }
.contact-wrapper { gap: 50px; }
.contact-info-cards { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; gap: 20px; background: #fafbfc; padding: 25px; border-radius: 12px; align-items: center; border: 1px solid var(--c-off-white); transition: 0.3s; }
.contact-card:hover { border-color: var(--c-primary); background: var(--c-white); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.icon-circle { width: 60px; height: 60px; background: var(--c-off-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.contact-card h4 { margin: 0 0 5px; font-family: var(--font-body); color: var(--c-dark); font-size: 18px;}
.contact-form-area { flex: 1.5; background: var(--c-white); padding: 40px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); border: 1px solid var(--c-off-white); }
.form-row { gap: 20px; }
.input-group { margin-bottom: 20px; width: 100%; }
.input-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 13px; color: var(--c-dark-blue); }
.modern-contact-form input, .modern-contact-form textarea { width: 100%; padding: 15px 20px; border: 2px solid var(--c-off-white); border-radius: 6px; font-family: var(--font-body); font-size: 15px; outline: none; transition: 0.3s; }
.modern-contact-form input:focus, .modern-contact-form textarea:focus { border-color: var(--c-primary); }

/* MÜKEMMEL MOBİL DÜZENLEMELER */
@media (max-width: 991px) {
    .hero-grid-layout { grid-template-columns: 1fr; height: auto; }
    .hero-item { height: 350px; }
    .contact-wrapper, .form-row { flex-direction: column; gap: 30px; }
    .list-thumb { width: 120px; }
}

/* ==========================================================================
   YASAL UYARI & STANDART METİN SAYFALARI (SÖZLEŞMELER)
   ========================================================================== */
.legal-content-card { max-width: 900px; margin: 0 auto; background: var(--c-white); padding: 50px 60px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); border: 1px solid var(--c-off-white); }
.legal-section { margin-bottom: 40px; }
.legal-section:last-child { margin-bottom: 0; }
.section-heading { font-family: var(--font-body); color: var(--c-dark-blue); font-size: 26px; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.legal-divider { border: 0; border-top: 2px dashed var(--c-off-white); margin: 40px 0; }

/* Numaralı Maddelerin Estetik Görünümü */
.custom-ordered-list { list-style: none; padding: 0; margin: 0; counter-reset: li-counter; }
.custom-ordered-list li { position: relative; padding-left: 45px; margin-bottom: 20px; font-family: var(--font-heading); font-size: 16px; line-height: 1.8; color: var(--c-text); }
.custom-ordered-list li::before { content: counter(li-counter); counter-increment: li-counter; position: absolute; left: 0; top: 2px; width: 30px; height: 30px; background: var(--c-off-white); color: var(--c-primary); font-family: var(--font-body); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }

/* Paragraf ve Link İnce Ayarları */
.legal-section p { font-family: var(--font-heading); font-size: 16px; line-height: 1.8; color: var(--c-text); margin-bottom: 15px; }
.legal-section strong { color: var(--c-dark); }
.legal-section a { font-family: var(--font-body); font-weight: 700; color: var(--c-primary); text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 3px; }
.legal-section a:hover { color: var(--c-dark-blue); text-decoration-color: var(--c-dark-blue); }

/* Mobil Daralmaları */
@media (max-width: 768px) {
    .legal-content-card { padding: 30px 20px; }
    .section-heading { font-size: 22px; }
}

/* ==========================================================================
   CONTACT FORM 7 (CF7) TASARIM İYİLEŞTİRMELERİ & BİLDİRİM MESAJLARI
   ========================================================================== */

/* CF7 İnput ve Textarea tasarımı (Önceki yazdığımız özelliklerle eşleme) */
.modern-cf7-wrapper input[type="text"], 
.modern-cf7-wrapper input[type="email"], 
.modern-cf7-wrapper textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--c-off-white);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: 0.3s;
    background: #fbfcfd;
}
.modern-cf7-wrapper input:focus, 
.modern-cf7-wrapper textarea:focus {
    border-color: var(--c-primary);
    background: var(--c-white);
    box-shadow: 0 4px 15px rgba(54, 107, 217, 0.08);
}
.modern-cf7-wrapper textarea { resize: vertical; min-height: 140px; }

/* Gönder Butonu Tasarımı */
.modern-cf7-wrapper input[type="submit"] {
    width: 100%;
    background: var(--c-primary);
    color: var(--c-white);
    border: none;
    padding: 16px 20px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(54, 107, 217, 0.25);
    margin-top: 10px;
}
.modern-cf7-wrapper input[type="submit"]:hover {
    background: var(--c-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(54, 107, 217, 0.35);
}

/* YÜKLENİYOR (Spinner) AYARI */
.modern-cf7-wrapper .wpcf7-spinner {
    background-color: var(--c-accent);
    margin-top: 20px;
}

/* =========================================================
   CF7 UYARI (SUCCESS/ERROR) BİLDİRİMLERİNİN ÖZEL TASARIMI
   ========================================================= */

/* Tüm Bildirim Kutularının Ortak Hatları */
.modern-cf7-wrapper .wpcf7 form .wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 16px 20px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: none;
    animation: fadeInSlide 0.5s ease-out; /* Tatlı bir giriş efekti */
}

/* Başarı (Success) Mesajı: Yeşilimsi Ferah Arka Plan */
.modern-cf7-wrapper .wpcf7 form.sent .wpcf7-response-output {
    background-color: #ebf9f0;
    color: #1a7b3c;
    border-left: 5px solid #28a745;
}

/* Hata (Error / Validation) Mesajı: Kırmızımsı Uyanık Arka Plan */
.modern-cf7-wrapper .wpcf7 form.invalid .wpcf7-response-output,
.modern-cf7-wrapper .wpcf7 form.unaccepted .wpcf7-response-output,
.modern-cf7-wrapper .wpcf7 form.failed .wpcf7-response-output {
    background-color: #fcebeb;
    color: #c00000;
    border-left: 5px solid #dc3545;
}

/* Hatalı Giriş İpucu Yazısı (Alan Altı Uyarısı) */
.modern-cf7-wrapper .wpcf7-not-valid-tip {
    font-family: var(--font-body);
    font-size: 12px;
    color: #dc3545;
    margin-top: 6px;
    font-weight: 600;
    display: block;
}

/* Animasyon Keyframe */
@keyframes fadeInSlide {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   REKLAM - PASTEL BLOKLU YENİ DÜZEN
   ========================================================================== */

/* Hizmet Blokları Izgarası (Pastel Cards) */
.pastel-blocks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.pastel-card { display: flex; align-items: flex-start; gap: 20px; border-radius: 12px; padding: 35px 30px; transition: transform 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.01); border: none; }
.pastel-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }

/* Sol Taraf: Satıriçi İkonlar */
.ad-icon-inline { flex-shrink: 0; width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.7); }
.ad-card-content h4 { font-size: 20px; font-family: var(--font-body); margin: 0 0 8px 0; color: var(--c-dark); }
.ad-card-content p { font-size: 15px; color: var(--c-gray); line-height: 1.6; margin: 0; }

/* Modern Soft Pastel Renk Kombinasyonları */
.bg-pastel-blue { background-color: #f0f7ff; }
.bg-pastel-blue .ad-icon-inline { color: #3b82f6; }
.bg-pastel-blue h4 { color: #1e3a8a; }

.bg-pastel-green { background-color: #f0fdf4; }
.bg-pastel-green .ad-icon-inline { color: #10b981; }
.bg-pastel-green h4 { color: #065f46; }

.bg-pastel-orange { background-color: #fff7ed; }
.bg-pastel-orange .ad-icon-inline { color: #f59e0b; }
.bg-pastel-orange h4 { color: #9a3412; }

.bg-pastel-pink { background-color: #fdf2f8; }
.bg-pastel-pink .ad-icon-inline { color: #ec4899; }
.bg-pastel-pink h4 { color: #831843; }

.bg-pastel-purple { background-color: #f5f3ff; }
.bg-pastel-purple .ad-icon-inline { color: #8b5cf6; }
.bg-pastel-purple h4 { color: #4c1d95; }

.bg-pastel-teal { background-color: #f0fdfa; }
.bg-pastel-teal .ad-icon-inline { color: #14b8a6; }
.bg-pastel-teal h4 { color: #134e4a; }

/* Avantajlar Alanı */
.ad-advantages-section { background-color: #f6f8fb; padding: 70px 0; border-top: 4px solid var(--c-accent); border-bottom: 1px solid var(--c-off-white);}
.advantages-wrapper { gap: 50px; align-items: center; }
.advantages-text { flex: 1; }
.advantages-image { flex: 0.8; text-align: right; }

.custom-check-list { list-style: none; margin: 0; padding: 0; }
.custom-check-list li { position: relative; padding-left: 40px; margin-bottom: 25px; font-family: var(--font-heading); font-size: 16px; line-height: 1.7; color: var(--c-text); }
.custom-check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 28px; height: 28px; background-color: var(--c-primary); color: var(--c-white); display: inline-flex; justify-content: center; align-items: center; border-radius: 50%; font-size: 14px; font-weight: 700;}
.custom-check-list li strong { color: var(--c-dark); font-family: var(--font-body); font-size:18px; display: block; margin-bottom: 3px; }
.highlight { border-bottom: 2px solid var(--c-accent); color: var(--c-primary); font-weight: 700; }

/* CTA İletişim Kutusu (Email Kaldırıldı) */
.ad-cta-box { max-width: 750px; margin: 0 auto; background: var(--c-white); border: 2px dashed var(--c-off-white); padding: 50px 30px; border-radius: 16px; }
.ad-cta-box h3 { font-family: var(--font-body); font-size: 30px; color: var(--c-dark-blue); margin-bottom: 15px; }
.ad-cta-box p { font-size: 16px; color: var(--c-gray); }

/* Responsive Düzenlemeler */
@media (max-width: 991px) {
    .pastel-blocks-grid { grid-template-columns: 1fr; }
    .advantages-wrapper { flex-direction: column; }
    .advantages-image { display: none; }
    .ad-cta-box h3 { font-size: 24px; }
}

/* ==========================================================================
   TANITIM YAZISI / SÖZLEŞME KURALLARI - FERAH DÜZEN
   ========================================================================== */

/* Özgünlük Uyarı Kutusu */
.rule-hero-box { background-color: var(--c-white); border: 2px solid var(--c-off-white); border-left: 6px solid var(--c-primary); border-radius: 12px; padding: 40px 50px; display: flex; align-items: center; gap: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.rule-hero-box .icon { font-size: 45px; line-height: 1; }
.rule-hero-box h3 { font-family: var(--font-body); font-size: 24px; margin-bottom: 10px; color: var(--c-dark); }
.rule-hero-box p { font-size: 16px; margin: 0; color: var(--c-text); line-height: 1.6; }

/* Kural Satırları (Ayrık, Okunması Kolay ve Temiz) */
.rules-list-modern { display: flex; flex-direction: column; gap: 20px; }
.rule-row { background: var(--c-white); border: 1px solid var(--c-off-white); border-radius: 12px; padding: 30px 40px; display: flex; align-items: flex-start; gap: 25px; transition: 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.01);}
.rule-row:hover { border-color: var(--c-primary); transform: translateX(5px); box-shadow: 0 10px 25px rgba(0,0,0,0.04); }

.rule-icon { flex-shrink: 0; width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.rule-icon svg { width: 26px; height: 26px; }

.rule-text { flex: 1; }
.rule-text h4 { font-family: var(--font-body); font-size: 20px; margin-bottom: 8px; color: var(--c-dark-blue); }
.rule-text p { font-family: var(--font-heading); font-size: 16px; line-height: 1.8; color: var(--c-text); margin: 0; }
.rule-text a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 3px; }

/* Kırmızı Dikkat Çekici Satır */
.rule-alert { background-color: #fef2f2; border: 1px solid #fecaca; }
.rule-alert:hover { border-color: #ef4444; }

/* ==========================================================================
   FİYATLANDIRMA (FULL-WIDTH MODERN BLOK)
   ========================================================================== */
.full-width-pricing-section { background-color: var(--c-dark); padding: 80px 0; color: var(--c-white); }
.pricing-title { font-family: var(--font-body); font-size: 36px; margin-bottom: 20px; color: var(--c-white) !important;}
.pricing-desc { max-width: 800px; margin: 0 auto 50px auto; color: var(--c-gray); font-size: 16px; line-height: 1.8;}

/* Massive Price Card (Premium SaaS Görünümü) */
.massive-price-card { max-width: 600px; margin: 0 auto; background: var(--c-white); border-radius: 20px; padding: 50px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.3); position: relative; }
.price-header { font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--c-gray); letter-spacing: 2px; margin-bottom: 20px; }
.price-amount { font-family: var(--font-body); font-weight: 900; font-size: 70px; color: var(--c-primary); line-height: 1; margin-bottom: 20px; }
.price-amount .currency { font-size: 30px; font-weight: 600; vertical-align: super; margin-right: 5px; color: var(--c-dark-blue);}
.price-footer { font-family: var(--font-heading); font-size: 15px; color: var(--c-text); line-height: 1.6; margin-bottom: 30px; padding-top: 20px; border-top: 1px solid var(--c-off-white);}

/* Çağrı Butonu */
.price-cta-btn { display: inline-block; background-color: var(--c-dark-blue); color: var(--c-white); font-family: var(--font-body); font-weight: 700; font-size: 18px; padding: 18px 40px; border-radius: 50px; transition: 0.3s; box-shadow: 0 10px 25px rgba(53, 71, 146, 0.3);}
.price-cta-btn:hover { background-color: var(--c-primary); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(54, 107, 217, 0.4); color: var(--c-white) !important; text-decoration: none;}

/* Responsive Daralmalar */
@media (max-width: 768px) {
    .rule-hero-box { flex-direction: column; text-align: center; padding: 30px 20px; }
    .rule-row { flex-direction: column; padding: 25px 20px; }
    .massive-price-card { padding: 40px 20px; border-radius: 12px; }
    .price-amount { font-size: 55px; }
}

/* ==========================================================================
   ARŞİV VE KATEGORİ (DİZİN) DÜZENİ
   ========================================================================== */

/* Arşiv Üst Mavi Bar */
.archive-header-bg { background-color: var(--c-dark-blue); padding: 70px 20px; color: var(--c-white); border-bottom: 6px solid var(--c-accent);}
.archive-title { font-size: 42px; font-family: var(--font-heading); color: var(--c-white) !important; margin-bottom: 10px; }
.archive-subtitle { font-size: 18px; max-width: 700px; margin: 0 auto; color: var(--c-off-white); font-family: var(--font-body);}

/* Dizin (Category) Kart Izgarası */
.directory-grid-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.directory-card { display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-off-white); border-radius: 12px; transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden;}
.directory-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(6, 14, 47, 0.08); border-color: var(--c-primary); }

.dir-thumb { position: relative; overflow: hidden; background: #fbfcfd;}
.dir-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: 0.5s ease;}
.directory-card:hover .dir-thumb img { transform: scale(1.08); filter: brightness(0.9); }

/* Pastel Kategori Etiketi */
.dir-pastel-badge { position: absolute; top: 15px; left: 15px; background: rgba(240, 247, 255, 0.95); color: var(--c-primary); font-family: var(--font-body); font-weight: 800; font-size: 11px; padding: 5px 12px; border-radius: 6px; text-transform: uppercase; letter-spacing: 1px; backdrop-filter: blur(5px);}

.dir-content { padding: 25px; flex-grow: 1; }
.dir-title { font-family: var(--font-body); font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.dir-title a { color: var(--c-dark); }
.directory-card:hover .dir-title a { color: var(--c-primary); }
.dir-excerpt { font-family: var(--font-heading); color: var(--c-gray); font-size: 15px; margin: 0; line-height: 1.6;}

/* Dizin Footer'ı (Tarih ve Buton) */
.dir-footer { padding: 15px 25px; border-top: 1px dashed var(--c-off-white); justify-content: space-between; align-items: center; background-color: #fafbfc;}
.dir-date { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: #a1a1aa;}
.dir-read-btn { font-family: var(--font-body); font-weight: 700; color: var(--c-accent); font-size: 14px;}
.dir-read-btn:hover { color: var(--c-primary); text-decoration: underline;}

/* Arama ve Bulunamadı Özelleştirmesi */
.search-result-item { background: var(--c-white); padding: 30px; border-radius: 12px; border: 1px solid var(--c-off-white); transition: 0.3s; }
.search-result-item:hover { border-color: var(--c-primary); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.no-search-results { padding: 80px 20px; background: #fafbfc; border: 2px dashed var(--c-off-white); border-radius: 16px;}
.no-search-results input:focus { border-color: var(--c-primary) !important; box-shadow: 0 5px 15px rgba(54, 107, 217, 0.1); }

/* Mobil Düzenleme */
@media (max-width: 768px) {
    .archive-title { font-size: 32px; }
    .directory-grid-layout { grid-template-columns: 1fr; }
    .no-search-results form { flex-direction: column; }
    .no-search-results form input { width: 100%; }
    .search-result-item { flex-direction: column; }
    .search-result-item .list-thumb { width: 100% !important; margin-bottom: 20px;}
}

/* ==========================================================================
   WORDPRESS RESİM HİZALAMALARI VE EDİTÖR KURALLARI
   ========================================================================== */
.single-content img { max-width: 100%; height: auto; border-radius: 8px; }

/* Ortalama (Center) - WordPress hem img hem de figure etiketini kullanabilir */
.aligncenter,
figure.aligncenter,
.wp-block-image.aligncenter { display: block; margin: 30px auto; text-align: center; clear: both; }
.wp-block-image.aligncenter img { margin: 0 auto; display: block; }

/* Sola Yaslama (Left) */
.alignleft { float: left; margin: 10px 25px 20px 0; }

/* Sağa Yaslama (Right) */
.alignright { float: right; margin: 10px 0 20px 25px; }

/* ==========================================================================
   EKLENTİSİZ ŞIK RESİM POPUP'I (LIGHTBOX)
   ========================================================================== */
.single-content img, 
.single-content a > img { cursor: zoom-in; } 

/* Opacity (0.95'ten 0.70'e düşürüldü, arkası daha şeffaf görünecek) */
.amsonia-lightbox-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(6, 14, 47, 0.70); 
    z-index: 100000; display: flex; align-items: center; justify-content: center; 
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease; 
    backdrop-filter: blur(4px); cursor: zoom-out; 
}
.amsonia-lightbox-overlay.active { opacity: 1; visibility: visible; }

/* Resim Animasyonu */
.amsonia-lightbox-img { max-width: 90%; max-height: 90vh; border-radius: 6px; box-shadow: 0 10px 50px rgba(0,0,0,0.5); transform: scale(0.9); transition: transform 0.3s ease; object-fit: contain; }
.amsonia-lightbox-overlay.active .amsonia-lightbox-img { transform: scale(1); }

/* Sağ Üstteki Kapatma (X) Butonu */
.amsonia-lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: rgba(255,255,255,0.7);
    font-size: 45px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 100001;
    transition: color 0.2s, transform 0.2s;
    font-family: Arial, sans-serif;
}
.amsonia-lightbox-close:hover {
    color: var(--c-white);
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .amsonia-lightbox-close { top: 15px; right: 20px; font-size: 40px; }
}

/* ==========================================================================
   HEPSAGLIK - UYARILAR, KISAKODLAR VE MAKALE DÜZEYİ WIDGETI
   ========================================================================== */

/* Modern Alıntı Kodu ([quote]) */
.amsonia-quote { background: #f8f9fc; border-left: 5px solid var(--c-primary); padding: 25px 30px; margin: 30px 0; border-radius: 0 8px 8px 0; font-family: var(--font-heading); font-size: 20px; font-style: italic; color: var(--c-dark-blue); box-shadow: 0 4px 15px rgba(0,0,0,0.02);}
.amsonia-quote cite { display: block; font-size: 15px; font-weight: 700; color: var(--c-accent); font-family: var(--font-body); font-style: normal; margin-top: 15px; text-transform: uppercase; letter-spacing: 1px;}

/* İletişim Formları ve Kısa Kod Bildirim Kutuları (success, danger vs) */
.amsonia-alert { padding: 18px 20px; margin: 20px 0; border-radius: 8px; font-family: var(--font-body); font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 15px; border-left: 5px solid transparent; }
.amsonia-alert .alert-icon { width: 24px; height: 24px; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; flex-shrink: 0;}

.alert-success { background: #ebf9f0; color: #1a7b3c; border-left-color: #28a745; }
.alert-success .alert-icon { background: #28a745; }
.alert-info { background: #e0f2fe; color: #0369a1; border-left-color: #0ea5e9; }
.alert-info .alert-icon { background: #0ea5e9; font-style: italic; font-family: serif; }
.alert-warning { background: #fffbeb; color: #9a3412; border-left-color: #f59e0b; }
.alert-warning .alert-icon { background: #f59e0b; }
.alert-danger { background: #fef2f2; color: #b91c1c; border-left-color: #ef4444; }
.alert-danger .alert-icon { background: #ef4444; }

/* KELİME SÖZLÜĞÜ (Tooltip - Hover Yapılınca Çıkan Bilgi Balonu) */
.medical-tooltip { border-bottom: 1px dashed var(--c-primary); color: var(--c-primary); position: relative; cursor: help; font-weight: 700;}
.medical-tooltip:hover::after { content: attr(data-tooltip); position: absolute; bottom: 120%; left: 50%; transform: translateX(-50%); width: max-content; max-width: 250px; background: var(--c-dark); color: white; font-family: var(--font-body); font-size: 12px; font-weight: 400; padding: 10px; border-radius: 6px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); z-index: 100;}
.medical-tooltip:hover::before { content: ""; position: absolute; top: -5px; left: 50%; transform: translateX(-50%); border-width: 5px; border-style: solid; border-color: var(--c-dark) transparent transparent transparent; z-index: 100; }

/* HARİKA "MAKALE DÜZEYİ" BARI TASARIMI */
.article-difficulty-panel { background: #fafbfc; border: 1px solid var(--c-off-white); border-radius: 8px; padding: 20px 25px; margin: 10px 0 35px 0; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.02);}
.diff-info { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 15px; color: var(--c-dark); }
.diff-icon { width: 14px; height: 14px; border-radius: 3px; display: inline-block;}
.diff-score { font-size: 24px; font-weight: 900; line-height: 1; }
.diff-label { font-size: 13px; color: var(--c-gray); }

.diff-filters { align-items: center; }
.diff-links { display: flex; gap: 5px; flex-wrap: wrap;}
.diff-links a { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-family: var(--font-body); font-weight: 700; color: var(--c-gray); background: var(--c-white); border: 1px solid var(--c-off-white); border-radius: 4px; transition: 0.2s;}
.diff-links a:hover { background: var(--c-primary); color: white; border-color: var(--c-primary); }

@media (max-width: 768px) {
    .article-difficulty-panel { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   CALLOUT (ÖNEMLİ VURGU/DUYURU) KUTUSU
   ========================================================================== */
.amsonia-callout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(to right, #f8fbfc, #f0f7ff);
    border: 1px solid var(--c-off-white);
    border-left: 6px solid var(--c-accent);
    padding: 30px;
    border-radius: 10px;
    margin: 35px 0;
    box-shadow: 0 5px 25px rgba(54, 107, 217, 0.04);
}
.amsonia-callout .callout-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
    background: var(--c-white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(54, 107, 217, 0.15);
    transform: translateY(-5px);
}
.amsonia-callout .callout-content {
    flex: 1;
    font-family: var(--font-heading);
    font-size: 16px;
    line-height: 1.8;
    color: var(--c-text);
}
.amsonia-callout .callout-content p {
    margin-bottom: 15px;
}
.amsonia-callout .callout-content p:last-child {
    margin-bottom: 0;
}
.amsonia-callout .callout-content strong {
    color: var(--c-dark-blue);
}

/* Mobil Görünüm İçin Düzenleme */
@media (max-width: 768px) {
    .amsonia-callout {
        flex-direction: column;
        padding: 25px;
        gap: 15px;
    }
    .amsonia-callout .callout-icon {
        transform: translateY(0);
    }
}

/* ==========================================================================
   YAZI (SINGLE) İÇİ LİSTELEME VE MADDE İMİ (BULLET POINTS) TASARIMLARI
   ========================================================================== */

/* Madde İmli Listeler (Unordered Lists) */
.single-content ul {
    list-style: none;
    padding-left: 15px;
    margin-bottom: 25px;
}
.single-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.7;
    color: var(--c-text);
}
/* Özel Mavi Nokta İşareti */
.single-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px; /* Hizalamayı fontunuza göre yaptık */
    width: 8px;
    height: 8px;
    background-color: var(--c-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(54, 107, 217, 0.15); /* Hafif havalı bir parıltı */
}

/* İç içe geçmiş listeler (Sub-lists) */
.single-content ul ul {
    margin-top: 10px;
    margin-bottom: 0;
}
.single-content ul ul li::before {
    background-color: transparent;
    border: 2px solid var(--c-primary);
    box-shadow: none;
    width: 6px;
    height: 6px;
    top: 11px;
}

/* Numaralı Listeler (Ordered Lists) */
.single-content ol {
    list-style: none;
    counter-reset: custom-counter;
    padding-left: 15px;
    margin-bottom: 25px;
}
.single-content ol li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.7;
    color: var(--c-text);
    counter-increment: custom-counter;
}
/* Şık Rakam Tasarımı */
.single-content ol li::before {
    content: counter(custom-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 18px;
    color: var(--c-dark-blue);
}

/* ==========================================================================
   SORU - CEVAP (Q&A) PLATFORMU ARAYÜZÜ
   ========================================================================== */
.qa-dashboard-layout { display: flex; gap: 40px; align-items: flex-start;}
.qa-feed { flex: 1; }
.qa-sidebar { width: 330px; flex-shrink: 0; position: sticky; top: 20px;}

.qa-card { background: var(--c-white); border: 1px solid var(--c-off-white); border-radius: 12px; margin-bottom: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.02); overflow: hidden; transition: 0.3s; }
.qa-card:hover { border-color: var(--c-primary); }

.qa-question-box { padding: 25px; gap: 20px; align-items: flex-start; }
.qa-avatar img { border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.1); width: 50px; height: 50px;}
.qa-content { flex: 1; }
.qa-meta { font-family: var(--font-body); font-size: 13px; color: var(--c-text); margin-bottom: 8px; }
.qa-meta strong { font-size: 15px; color: var(--c-dark); }
.qa-text { font-family: var(--font-heading); font-size: 16px; color: var(--c-text); line-height: 1.6; }
.qa-post-ref { margin-top: 15px; font-size: 12px; }
.qa-post-ref a { background: var(--c-off-white); color: var(--c-primary); padding: 5px 12px; border-radius: 4px; font-weight: 700; transition:0.3s;}
.qa-post-ref a:hover { background: var(--c-primary); color: white;}

/* Rozet (Badge) Tasarımları */
.badge { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-body); font-size: 12px; font-weight: 800; text-transform: uppercase; padding: 6px 12px; border-radius: 30px; letter-spacing: 1px; }
.badge.pending { background: #fffbeb; color: #d97706; border: 1px solid #fcd34d; }
.badge.answered { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* Admin Cevabı (Akordiyon Açılır Kapanır Kutu) */
.qa-toggle-btn { width: 100%; background: #fbfcfd; border: none; border-top: 1px dashed var(--c-off-white); padding: 12px; color: var(--c-primary); font-family: var(--font-body); font-weight: 700; cursor: pointer; transition: 0.3s; }
.qa-toggle-btn:hover { background: var(--c-off-white); color: var(--c-dark-blue); }

.qa-answer-box { display: none; /* JS ile açılacak */ padding: 25px; background: #f5f8ff; border-top: 2px solid var(--c-primary); }
.qa-answer-box.active { display: block; animation: fadeIn 0.4s ease; }
.answer-inner { gap: 20px; align-items: flex-start; }
.admin-avatar img { border-radius: 8px; }
.admin-text { font-style: italic; color: var(--c-dark-blue); border-left: 4px solid var(--c-accent); padding-left: 15px;}

@media (max-width: 991px) {
    .qa-dashboard-layout { flex-direction: column; }
    .qa-sidebar { width: 100%; position: relative; top: 0;}
    .qa-question-box { flex-direction: column; gap: 15px; position: relative;}
    .qa-status-badge { position: absolute; top: 25px; right: 25px; }
}
@media (max-width: 576px) { .qa-status-badge { position: static; margin-top:10px; } }

/* ==========================================================================
   FAVORİ (LIKE) BUTONU & KULLANICI (DASHBOARD) PROFİL PANOSU
   ========================================================================== */

/* Ajax Kalp Butonu (Single.php'deki) */
.amsonia-fav-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff1f2; color: #f43f5e; border: 1px solid #fecdd3; padding: 8px 16px; border-radius: 30px; font-family: var(--font-body); font-weight: 700; cursor: pointer; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.amsonia-fav-btn .heart-icon { fill: transparent; stroke: #f43f5e; stroke-width: 2px; transition: 0.3s; }

/* Tıklanmış ve Kaydedilmiş Hali (Dolu Kalp ve Kırmızı Zemin) */
.amsonia-fav-btn.favorited { background: #f43f5e; color: var(--c-white); border-color: #f43f5e; transform: scale(1.05); }
.amsonia-fav-btn.favorited .heart-icon { fill: var(--c-white); stroke: var(--c-white); }
.amsonia-fav-btn:hover { background: #ffe4e6; }
.amsonia-fav-btn.favorited:hover { background: #e11d48; }

/* Giriş/Kayıt Alanı (Login Screen) */
.auth-wrapper { gap: 40px; align-items: stretch; max-width: 900px; margin: 0 auto;}
.auth-info { flex: 1; padding-top:20px; }
.auth-form-card { flex: 1; background: var(--c-white); border: 1px solid var(--c-off-white); padding: 40px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.03);}
/* WP Default Login Formuna Makyaj */
#loginform label { display:block; font-size: 13px; font-weight:700; color:var(--c-dark); margin-bottom: 5px; }
#loginform input[type="text"], #loginform input[type="password"] { width:100%; padding:15px; border:2px solid var(--c-off-white); border-radius:6px; margin-bottom: 20px; outline:none; font-family: var(--font-body); }
#loginform input:focus { border-color: var(--c-primary); }
#loginform .forgetmenot { float:left; font-size: 13px; display: flex; align-items:center; gap:5px;}
#loginform .forgetmenot input { margin-top:2px; }
#loginform input[type="submit"] { background: var(--c-dark-blue); color: var(--c-white); width: 100%; border: none; padding: 15px; font-weight:700; border-radius:6px; cursor:pointer; margin-top:20px; font-family: var(--font-body);}
/* WP Default Login Formuna & Yeni Kayıt Formuna Makyaj */
#loginform label, .custom-reg-form label { display:block; font-size: 13px; font-weight:700; color:var(--c-dark); margin-bottom: 5px; }
#loginform input[type="text"], #loginform input[type="password"], 
.custom-reg-form input[type="text"], .custom-reg-form input[type="email"], .custom-reg-form input[type="password"] { 
    width:100%; padding:15px; border:2px solid var(--c-off-white); border-radius:6px; margin-bottom: 0px; outline:none; font-family: var(--font-body); background: #fbfcfd; transition:0.3s;
}
#loginform input:focus, .custom-reg-form input:focus { border-color: var(--c-primary); background: var(--c-white); box-shadow: 0 4px 15px rgba(54, 107, 217, 0.08);}
#loginform .forgetmenot { float:left; font-size: 13px; display: flex; align-items:center; gap:5px;}
#loginform .forgetmenot input { margin-top:2px; }
#loginform input[type="submit"] { background: var(--c-dark-blue); color: var(--c-white); width: 100%; border: none; padding: 15px; font-weight:700; border-radius:6px; cursor:pointer; margin-top:20px; font-family: var(--font-body); transition:0.3s;}
#loginform input[type="submit"]:hover { background: var(--c-primary); box-shadow: 0 5px 15px rgba(54,107,217,0.3);}

/* Profil ve Kullanıcı Pano Alanı */
.user-dashboard-layout { gap: 40px; align-items: flex-start; }
.dashboard-sidebar { width: 280px; flex-shrink: 0; background: #fafbfc; border: 1px solid var(--c-off-white); border-radius: 12px; padding: 40px 20px; }
.user-avatar-lg img { border-radius: 50%; box-shadow: 0 10px 20px rgba(0,0,0,0.1); margin: 0 auto 20px auto; display:block; }
.user-name-display { font-size: 22px; font-family: var(--font-body); color: var(--c-dark); margin-bottom: 5px; }
.user-email-display { font-size: 14px; color: var(--c-gray); margin-bottom: 20px; }
.btn-logout { display: block; padding: 12px; background: #fef2f2; color: #ef4444; border-radius: 6px; font-weight: 700; transition:0.2s;}
.btn-logout:hover { background: #ef4444; color: #fff; }

.dashboard-content { flex: 1; }
.dashboard-title { font-size: 26px; font-family: var(--font-body); color: var(--c-dark-blue); border-bottom: 2px solid var(--c-off-white); padding-bottom: 15px; margin-bottom: 30px; }

/* Kullanıcı Yorumları Listesi */
.user-comments-list { list-style: none; margin: 0; padding: 0; }
.user-comments-list li { border: 1px solid var(--c-off-white); padding: 20px; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.01);}
.user-comments-list .c-text { font-family: var(--font-heading); font-size: 16px; margin: 8px 0; color: var(--c-text); }
.user-comments-list .c-link { font-size: 13px; font-weight: 700; color: var(--c-primary); }

@media (max-width: 991px) {
    .auth-wrapper, .user-dashboard-layout { flex-direction: column; }
    .dashboard-sidebar { width: 100%; }
}

/* ==========================================================================
   FAVORİ (LIKE) BUTONU & KULLANICI (DASHBOARD) PROFİL PANOSU
   ========================================================================== */

/* Yenilenen ve İnceltilen Breadcrumbs (Sayfa Gezinme Yolu) */
.breadcrumbs { font-size: 13px !important; color: #a1a1aa !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; margin-bottom: 25px;}
.breadcrumbs a { color: #a1a1aa !important; transition: 0.2s;}
.breadcrumbs a:hover { color: var(--c-primary) !important; text-decoration: underline;}

/* Meta Bandı Revizesi (Sağ-Sol Ayırımı İçin) */
.meta-left { gap: 20px; align-items: center; flex-wrap: wrap; }
@media (max-width: 768px) {
    .single-meta { flex-direction: column; align-items: flex-start !important; gap: 20px; }
    .meta-left { gap: 10px; }
}

/* Kalp Butonu (Single.php'deki) */
.amsonia-fav-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff1f2; color: #f43f5e; border: 1px solid #fecdd3; padding: 6px 14px; border-radius: 30px; font-family: var(--font-body); font-weight: 700; font-size: 13px; cursor: pointer; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.amsonia-fav-btn .heart-icon { fill: transparent; stroke: #f43f5e; stroke-width: 2px; transition: 0.3s; }

/* Tıklanmış ve Kaydedilmiş Hali (Dolu Kalp ve Kırmızı Zemin) */
.amsonia-fav-btn.favorited { background: #f43f5e; color: var(--c-white); border-color: #f43f5e; transform: scale(1.05); }
.amsonia-fav-btn.favorited .heart-icon { fill: var(--c-white); stroke: var(--c-white); }
.amsonia-fav-btn:hover { background: #ffe4e6; }
.amsonia-fav-btn.favorited:hover { background: #e11d48; }

/* Giriş/Kayıt Alanı (Login Screen) */
.auth-wrapper { gap: 40px; align-items: stretch; max-width: 900px; margin: 0 auto;}
.auth-info { flex: 1; padding-top:20px; }
.auth-form-card { flex: 1; background: var(--c-white); border: 1px solid var(--c-off-white); padding: 40px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.03);}

/* WP Default Login Formuna Makyaj */
#loginform label { display:block; font-size: 13px; font-weight:700; color:var(--c-dark); margin-bottom: 5px; }
#loginform input[type="text"], #loginform input[type="password"] { width:100%; padding:15px; border:2px solid var(--c-off-white); border-radius:6px; margin-bottom: 20px; outline:none; font-family: var(--font-body); }
#loginform input:focus { border-color: var(--c-primary); }
#loginform .forgetmenot { float:left; font-size: 13px; display: flex; align-items:center; gap:5px;}
#loginform .forgetmenot input { margin-top:2px; }
#loginform input[type="submit"] { background: var(--c-dark-blue); color: var(--c-white); width: 100%; border: none; padding: 15px; font-weight:700; border-radius:6px; cursor:pointer; margin-top:20px; font-family: var(--font-body);}

/* Profil ve Kullanıcı Pano Alanı */
.user-dashboard-layout { gap: 40px; align-items: flex-start; }
.dashboard-sidebar { width: 280px; flex-shrink: 0; background: #fafbfc; border: 1px solid var(--c-off-white); border-radius: 12px; padding: 40px 20px; text-align: center; }
.user-avatar-lg img { border-radius: 50%; box-shadow: 0 10px 20px rgba(0,0,0,0.1); margin: 0 auto 20px auto; display:block; width:100px; height:100px;}
.user-name-display { font-size: 22px; font-family: var(--font-body); color: var(--c-dark); margin-bottom: 5px; }
.user-email-display { font-size: 14px; color: var(--c-gray); margin-bottom: 20px; }
.btn-logout { display: block; padding: 12px; background: #fef2f2; color: #ef4444; border-radius: 6px; font-weight: 700; transition:0.2s;}
.btn-logout:hover { background: #ef4444; color: #fff; }

.dashboard-content { flex: 1; }
.dashboard-title { font-size: 26px; font-family: var(--font-body); color: var(--c-dark-blue); border-bottom: 2px solid var(--c-off-white); padding-bottom: 15px; margin-bottom: 30px; }

/* Kullanıcı Yorumları Listesi */
.user-comments-list { list-style: none; margin: 0; padding: 0; }
.user-comments-list li { border: 1px solid var(--c-off-white); padding: 20px; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.01);}
.user-comments-list .c-text { font-family: var(--font-heading); font-size: 16px; margin: 8px 0; color: var(--c-text); }
.user-comments-list .c-link { font-size: 13px; font-weight: 700; color: var(--c-primary); }

@media (max-width: 991px) {
    .auth-wrapper, .user-dashboard-layout { flex-direction: column; }
    .dashboard-sidebar { width: 100%; }
}

/* ==========================================================================
   HEADER LOGIN / KULLANICI KUTUSU
   ========================================================================== */
.header-divider { color: var(--c-off-white); display: flex; align-items: center;}
.auth-btn { align-items: center; gap: 8px; font-family: var(--font-body); font-size: 14px; font-weight: 700; background: transparent; padding: 5px 12px; border-radius: 6px; transition: 0.3s; }

/* Giriş Yapmamış İse */
.auth-btn.logged-out { color: var(--c-primary); border: 1px solid var(--c-primary); }
.auth-btn.logged-out:hover { background: var(--c-primary); color: var(--c-white); }
.auth-btn.logged-out .icon svg { width: 18px; height: 18px; }

/* Giriş Yapmış Profil İse */
.auth-btn.logged-in { background: var(--c-off-white); color: var(--c-dark); padding: 5px 15px 5px 5px; border-radius: 30px;}
.user-header-avatar { border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); width: 30px; height: 30px; object-fit: cover;}
.auth-btn.logged-in:hover { background: var(--c-dark); color: var(--c-white); }

/* ==========================================================================
   STICKY HEADER EFEKTİ (Ekranda Kalan Başlık)
   ========================================================================== */
.header-sticky-wrapper { width: 100%; transition: transform 0.4s ease, box-shadow 0.3s ease; background: var(--c-white); z-index: 9997;}
.header-sticky-wrapper.is-sticky { position: fixed; top: 0; left: 0; box-shadow: 0 10px 30px rgba(6, 14, 47, 0.05); animation: stickySlideDown 0.5s ease; }
@keyframes stickySlideDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}
/* İçerik sıçramasını önlemek için, sticky devreye girdiğinde body padding'ini dengeliyoruz (ortalama yüksekliğe göre 120px ideal) */
body .header-sticky-wrapper.is-sticky + #content { margin-top: 120px; }

/* ==========================================================================
   HEADER AVATAR ÜZERİNE GELİNCE AÇILAN KULLANICI DROPDOWN
   ========================================================================== */
.has-user-dropdown { position: relative; cursor: pointer; }
.user-submenu { position: absolute; top: 100%; right: 0; background-color: var(--c-white); min-width: 190px; box-shadow: 0 15px 30px rgba(0,0,0,0.15); opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s ease; border-radius: 6px; overflow: hidden; z-index: 1000; border-top: 3px solid var(--c-primary); list-style: none; padding: 0; margin: 0; }
.has-user-dropdown:hover .user-submenu { opacity: 1; visibility: visible; transform: translateY(0); }

.user-submenu li { border-bottom: 1px solid var(--c-off-white); }
.user-submenu li:last-child { border-bottom: none; }
.user-submenu li a { display: block; padding: 12px 20px; color: var(--c-dark); font-size: 13px; font-weight: 700; font-family: var(--font-body); transition: 0.2s ease; }
.user-submenu li a:hover { background-color: var(--c-off-white); color: var(--c-primary); padding-left: 25px; /* Tatlı sağa kayma efekti */ }

/* Çıkış Yap butonu özel makyaj (Kırmızı Vurgu) */
.user-submenu li.logout-link a { color: #ef4444; }
.user-submenu li.logout-link a:hover { background-color: #fef2f2; color: #dc2626; border-left: 3px solid #dc2626; padding-left: 17px; }

/* Mobilde sağdan taşmayı önleme */
@media (max-width: 768px) {
    .user-submenu { right: -20px; }
}

/* ==========================================================================
   ANCHOR (ÇIPA) LİNKLERİ İÇİN KESİN ÇÖZÜM & YUMUŞAK KAYMA EFEKTİ
   ========================================================================== */
html {
    /* Tıklandığında sayfanın aniden küt diye zıplamasını engeller, yağ gibi kaydırır */
    scroll-behavior: smooth !important; 
}

/* Sitede ID'sine gidilen tüm başlıklar, yapışkan menüden 200px uzakta dursun! */
h1[id], h2[id], h3[id], h4[id], h5[id], h6[id], .dashboard-title {
    scroll-margin-top: 200px !important; 
}

/* Admin (siyah WordPress) çubuğu açıkken ekstra pay (32px daha eklenir) */
body.admin-bar h1[id], 
body.admin-bar h2[id], 
body.admin-bar h3[id], 
body.admin-bar .dashboard-title {
    scroll-margin-top: 232px !important;
}

/* ==========================================================================
   SIDEBAR KULLANICI MİNİ-PROFİL KARTI
   ========================================================================== */
.sidebar-user-widget {
    background: linear-gradient(145deg, #ffffff, #f4f7fb) !important; /* Standart beyaz yerine şık, çok soft mavi-beyaz geçiş */
    border-top: 4px solid var(--c-primary) !important;
    padding: 25px 20px !important;
    box-shadow: 0 8px 25px rgba(54, 107, 217, 0.05) !important;
}
.sidebar-user-header {
    gap: 15px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--c-off-white);
    margin-bottom: 20px;
}
.sidebar-user-avatar img {
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 2px solid var(--c-white);
}
.sidebar-user-info .su-greeting {
    display: block;
    font-size: 12px;
    color: var(--c-gray);
    font-family: var(--font-body);
}
.sidebar-user-info .su-name {
    font-family: var(--font-body);
    font-size: 18px;
    margin: 0;
    color: var(--c-dark);
}

.sidebar-user-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-user-menu li {
    border-bottom: 1px solid transparent !important; /* Önceki widget border kuralını ezer */
    padding: 5px 0 !important;
}
.sidebar-user-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--c-dark) !important;
    font-size: 14px;
    transition: 0.3s;
}
.sidebar-user-menu li a span {
    font-size: 16px;
    opacity: 0.7;
}
.sidebar-user-menu li a:hover {
    background: var(--c-off-white);
    color: var(--c-primary) !important;
}
.sidebar-user-menu li a:hover span {
    opacity: 1;
}

/* Çıkış Yap Butonu Rengi */
.sidebar-user-menu li.su-logout {
    margin-top: 10px;
    border-top: 1px solid var(--c-off-white) !important;
    padding-top: 15px !important;
}
.sidebar-user-menu li.su-logout a {
    color: #ef4444 !important;
}
.sidebar-user-menu li.su-logout a:hover {
    background: #fef2f2;
    color: #dc2626 !important;
}

/* ==========================================================================
   SIDEBAR SORU SOR (CTA) VİTRİN KARTI
   ========================================================================== */
.sidebar-ask-widget {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-dark-blue) 100%) !important;
    border: none !important;
    border-radius: 12px;
    padding: 35px 25px !important;
    color: var(--c-white);
    box-shadow: 0 15px 30px rgba(54, 107, 217, 0.25) !important;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

/* Şık Dekoratif Arka Plan Çemberi (Karta boyut katar) */
.sidebar-ask-widget::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    pointer-events: none;
}

.sidebar-ask-widget .ask-icon {
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
}

.sidebar-ask-widget .ask-title {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    color: var(--c-white);
    margin: 0 0 10px 0;
    position: relative;
    z-index: 2;
}

.sidebar-ask-widget .ask-desc {
    font-size: 14px;
    color: var(--c-off-white);
    margin: 0 0 25px 0;
    line-height: 1.6;
    opacity: 0.9;
    font-family: var(--font-body);
    position: relative;
    z-index: 2;
}

/* Canlı, Okunabilir ve Şık Buton */
.sidebar-ask-widget .btn-ask-question {
    display: block;
    background: var(--c-white);
    color: var(--c-primary);
    font-family: var(--font-body);
    font-weight: 900;
    padding: 16px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.sidebar-ask-widget .btn-ask-question:hover {
    background: var(--c-accent);
    color: var(--c-dark);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ==========================================================================
   SAĞ SÜTUN SORU SORMA MODÜLÜ TASARIMI
   ========================================================================== */
.qa-form-widget {
    background: var(--c-white);
    border: 1px solid var(--c-off-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.qa-form-widget .comment-respond {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.qa-form-widget .qa-textarea-wrap textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--c-off-white);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    background: #fbfcfd;
    resize: vertical;
}

.qa-form-widget .qa-textarea-wrap textarea:focus {
    border-color: var(--c-primary);
    background: var(--c-white);
    box-shadow: 0 4px 15px rgba(54, 107, 217, 0.08);
}

.qa-form-widget .qa-submit-btn {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    font-size: 15px;
    border-radius: 8px;
}

/* ==========================================================================
   KULLANICI PROFİLİ - YENİ FAVORİLER LİSTESİ DÜZENİ
   ========================================================================== */
.user-favorites-list { list-style: none; margin: 0; padding: 0; }
.fav-item { background: var(--c-white); border: 1px solid var(--c-off-white); padding: 15px 20px; border-radius: 8px; margin-bottom: 12px; align-items: center; transition: 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.01);}
.fav-item:hover { border-color: var(--c-primary); transform: translateX(5px); }

.fav-icon { width: 40px; height: 40px; border-radius: 50%; background: #f0f7ff; color: var(--c-primary); display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0;}
.fav-text { flex: 1; }
.fav-text h4 { margin: 0 0 5px 0; font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 1.4;}
.fav-text h4 a { color: var(--c-dark); }
.fav-text h4 a:hover { color: var(--c-primary); text-decoration:underline; }
.fav-text span { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--c-gray); text-transform: uppercase; }

.btn-read-sm { padding: 8px 15px; border-radius: 4px; border: 1px solid var(--c-off-white); background: var(--c-off-white); color: var(--c-dark); font-size: 13px; font-weight: 700; font-family: var(--font-body); transition: 0.2s; margin-left: 15px; white-space: nowrap;}
.btn-read-sm:hover { background: var(--c-primary); color: white !important; border-color: var(--c-primary); text-decoration: none;}

@media (max-width: 576px) {
    .fav-item { flex-direction: column; align-items: flex-start; gap: 15px; position:relative;}
    .fav-icon { display: none; }
    .btn-read-sm { margin-left: 0; width: 100%; text-align: center; }
}

/* ==========================================================================
   DASHBOARD ÖZEL SORU SORMA ALANI (PREMIUM VIP KUTUSU)
   ========================================================================== */
.dashboard-ask-box {
    position: relative;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-dark-blue) 100%);
    border-radius: 16px;
    padding: 40px;
    color: var(--c-white);
    box-shadow: 0 15px 40px rgba(54, 107, 217, 0.25);
    overflow: hidden;
    scroll-margin-top: 140px; /* Link tıklandığında Header altına girmesin diye pay */
}

/* Dekoratif Arka Plan Çemberleri ve Işımalar */
.ask-box-decoration-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}
.ask-box-decoration-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 6px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    bottom: -40px;
    left: -40px;
    pointer-events: none;
}

/* Başlık ve İkon Düzeni */
.ask-box-header {
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2; /* Arka plan süslerinin üstünde durur */
}
.ask-box-header .icon-wrap {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}
.ask-box-header h3 {
    color: var(--c-white);
    font-size: 24px;
    margin: 0 0 5px 0;
    font-family: var(--font-body);
}
.ask-box-header p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

/* Form (Input & Textarea) Alanı */
.ask-box-form {
    position: relative;
    z-index: 2;
}
.ask-box-form .comment-respond {
    margin: 0; padding: 0; border: none;
}
.ask-box-form textarea {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid transparent;
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    resize: vertical;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.3s;
    background: #fbfcfd;
}
.ask-box-form textarea:focus {
    border-color: var(--c-accent);
    background: var(--c-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Butonu Zıt(Kontrast) Renkte Vurgulama */
.ask-box-form .btn-modern-submit {
    width: 100%;
    margin-top: 15px;
    padding: 16px;
    background: var(--c-white);
    color: var(--c-primary);
    font-size: 16px;
    font-weight: 800;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.ask-box-form .btn-modern-submit:hover {
    background: var(--c-accent);
    color: var(--c-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* Mobil Daralma Optimizasyonu */
@media(max-width:768px) {
    .dashboard-ask-box { padding: 30px 20px; }
    .ask-box-header { flex-direction: column; text-align: center; }
}

/* Dolu Buton Tasarımı (Soru-Cevap İçin Vurgu Rengi) */
.btn-solid-primary { 
    background-color: var(--c-primary); color: var(--c-white); 
    border: 2px solid var(--c-primary); padding: 8px 16px; 
    border-radius: 4px; font-weight: 700; font-size: 11px; 
    text-transform: uppercase; letter-spacing: 1px; 
    cursor: pointer; transition: 0.3s; 
}
.btn-solid-primary:hover { 
    background-color: var(--c-dark-blue); border-color: var(--c-dark-blue); color: var(--c-white); text-decoration:none;
}