/*
Theme Name: YZ Hocası
Theme URI: https://yzhocasi.com
Author: YZ Hocası Ekibi
Author URI: https://yzhocasi.com
Description: Türkiye'nin yapay zeka portalı için özel olarak geliştirilmiş modern, dinamik ve performans odaklı WordPress teması.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: yzhocasi
*/

/* ==========================================================================
   1. GENEL AYARLAR & RENK PALETİ
   ========================================================================== */
:root {
    --primary-gradient: linear-gradient(135deg, #2563eb, #c084fc);
    --ai-text-gradient: linear-gradient(135deg, #38bdf8, #c084fc, #ec4899);
    --bg-main: #ffffff;
    --bg-light-gray: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #cbd5e1;
    --border-light: #e2e8f0;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    outline: none;
}
body { background-color: var(--bg-main); color: var(--text-main); line-height: 1.5; overflow-x: hidden; max-width: 100vw; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }

.sparkle-title::before {
    content: "✨ ";
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.svg-icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; fill: currentColor; }

/* ==========================================================================
   2. HEADER & LOGO OPTİMİZASYON KALKANI (SVG / RETINA UYUMU)
   ========================================================================== */
header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-light); position: fixed; width: 100%; top: 0; z-index: 1000; }

.nav-container { display: flex; justify-content: space-between; align-items: center; height: 70px; gap: 0.5rem !important; }

.header-left { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.menu-toggle-btn { background: transparent; border: none; border-radius: 50%; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 40px; height: 40px; z-index: 1001; transition: background-color 0.2s ease; }
.menu-toggle-btn:hover { background-color: rgba(0, 0, 0, 0.06); }
.menu-toggle-btn span { display: block; height: 2px; width: 18px; background-color: #334155; border-radius: 2px; }

.logo { font-size: 1.5rem; font-weight: 800; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; user-select: none; display: flex; align-items: center; }
.logo a { display: flex; align-items: center; }

.logo img { 
    max-height: 40px !important; 
    width: auto !important; 
    object-fit: contain !important; 
    image-rendering: -webkit-optimize-contrast;
    display: block !important;
}

nav { margin-left: 1.5rem; margin-right: auto; }
nav ul { display: flex; gap: 1.5rem; }
nav ul li a { font-weight: 600; font-size: 0.95rem; color: #334155; transition: color 0.2s; white-space: nowrap; }
nav ul li a:hover { color: #2563eb; }

.search-wrapper { flex-shrink: 0; }
.search-form { display: flex; align-items: center; position: relative; width: 420px; }
.search-form input { width: 100%; padding: 0.6rem 3.5rem 0.6rem 1.2rem; border: 1px solid var(--border-color); border-radius: 24px; font-size: 0.85rem; background: #ffffff; transition: all 0.2s ease; }
.search-form input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.search-submit-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: transparent; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #334155; transition: background-color 0.2s, color 0.2s; }
.search-submit-btn:hover { background-color: rgba(0, 0, 0, 0.06); color: #2563eb; }

.mobile-search-trigger { display: none; background: transparent; border: none; cursor: pointer; color: #334155; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; transition: background-color 0.2s; }
.mobile-search-trigger:hover { background-color: rgba(0, 0, 0, 0.06); color: #2563eb; }
.mobile-search-bar { position: absolute; top: 70px; left: 0; width: 100%; background: #ffffff; padding: 0.75rem 1.5rem; border-bottom: 1px solid var(--border-light); box-shadow: 0 4px 12px rgba(0,0,0,0.05); display: none; z-index: 999; }
.mobile-search-bar.active { display: block; }
.mobile-search-bar .search-form { width: 100%; }

/* ==========================================================================
   🎯 MOBİL SİDEBAR MENÜ KUSURSUZ HİZALAMA VE STİL REFORMU
   ========================================================================== */
.sidebar-menu { 
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important; 
    width: 290px !important; 
    height: 100vh !important; 
    background: #ffffff !important; 
    box-shadow: 4px 0 24px rgba(0,0,0,0.12) !important; 
    z-index: 99999 !important; 
    transform: translateX(-100%); 
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; 
    padding: 1.5rem !important; 
    display: flex !important; 
    flex-direction: column !important; 
    justify-content: space-between !important;
    box-sizing: border-box !important;
}
.sidebar-menu.active { transform: translateX(0) !important; }

.sidebar-header { 
    display: flex !important; 
    justify-content: space-between !important; 
    align-items: center !important; 
    border-bottom: 1px solid var(--border-light) !important; 
    padding-bottom: 0.8rem !important; 
    margin-bottom: 1rem !important;
}
.sidebar-header .logo img {
    max-height: 34px !important;
    width: auto !important;
    object-fit: contain !important;
}

.close-btn { background: transparent; border: none; font-size: 1.1rem; color: var(--text-muted); cursor: pointer; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s; }
.close-btn:hover { background-color: rgba(0, 0, 0, 0.06); color: #ef4444; }

.sidebar-scroll-content {
    flex-grow: 1 !important;
    overflow-y: auto !important;
    margin-bottom: 1rem !important;
}

.sidebar-menu ul.sidebar-links { display: flex !important; flex-direction: column !important; gap: 1.2rem !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.sidebar-menu ul.sidebar-links li { margin: 0 !important; padding: 0 !important; display: block !important; border: none !important; }
.sidebar-menu ul.sidebar-links li a { font-size: 1.05rem !important; font-weight: 600 !important; color: #334155 !important; display: block !important; padding: 0.5rem 0.75rem !important; border-radius: 8px !important; transition: all 0.2s ease !important; text-decoration: none !important; }
.sidebar-menu ul.sidebar-links li a:hover { background: var(--bg-light-gray) !important; color: #2563eb !important; padding-left: 1.2rem !important; }

.sidebar-bottom-footer {
    border-top: 1px solid var(--border-light) !important;
    padding-top: 1.2rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    background: #ffffff !important;
}

.sidebar-social-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.sidebar-social-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #475569 !important;
    transition: all 0.2s ease !important;
    border: 1px solid #e2e8f0 !important;
}

.sidebar-social-btn svg {
    width: 15px !important;
    height: 15px !important;
    fill: currentColor !important;
}

.sidebar-social-btn:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    transform: translateY(-2px) !important;
}

.sidebar-footer-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem 0.8rem !important;
    align-items: center !important;
}

.sidebar-footer-links a {
    font-size: 0.76rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.sidebar-footer-links a:hover {
    color: #2563eb !important;
}

.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(2px); z-index: 9998; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.sidebar-overlay.active { opacity: 1; visibility: visible; }

/* ==========================================================================
   3. HERO GRID VE YAN SÜTUN
   ========================================================================== */
.hero-section { margin-top: 110px !important; padding-bottom: 2.5rem !important; }
.hero-grid { display: grid; grid-template-columns: 1.8fr 1.2fr 1fr; gap: 1.2rem; align-items: stretch; }
.wireframe-box { background: #ffffff; border: 1px solid var(--border-color); border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }

.manset-outer-wrapper { position: relative; background: #ffffff; border: 1px solid var(--border-color); border-radius: 12px; height: 400px; display: flex; flex-direction: column; overflow: hidden; touch-action: pan-y; }
.manset-carousel-container { width: 100%; height: 100%; flex-grow: 1; overflow: hidden; position: relative; }

.manset-stage { display: flex; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); cursor: pointer !important; }
.manset-stage:active { cursor: pointer !important; }

.manset-slide { min-width: 100%; height: 100%; padding: 3rem 2rem 5rem 2rem; display: flex; flex-direction: column; justify-content: flex-end; background-size: cover; background-position: center; position: relative; user-select: none; cursor: pointer !important; }
.manset-slide::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(15, 23, 42, 0.97) 0%, rgba(30, 27, 60, 0.75) 35%, rgba(37, 99, 235, 0.25) 65%, rgba(15, 23, 42, 0) 100%), linear-gradient(120deg, rgba(192, 132, 252, 0.35) 0%, rgba(37, 99, 235, 0) 45%); z-index: 1; pointer-events: none; }
.manset-title { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: #ffffff !important; z-index: 2; max-width: 95%; text-shadow: 0 2px 10px rgba(0,0,0,0.5); pointer-events: none; }
.manset-category-badge { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 4; display: inline-flex; align-items: center; gap: 0.35rem; background: var(--primary-gradient); color: #ffffff; font-size: 0.7rem; font-weight: 800; padding: 0.4rem 0.9rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(37,99,235,0.35); }

.manset-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--border-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; color: var(--text-main); opacity: 0; pointer-events: none; transition: opacity 0.25s ease, background-color 0.2s ease, color 0.2s ease, transform 0.1s; }
.manset-outer-wrapper:hover .manset-arrow { opacity: 1; pointer-events: auto; }
.manset-arrow:hover { background: #ffffff; color: #2563eb; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.manset-arrow:active { transform: translateY(-50%) scale(0.92); }
.manset-arrow.prev { left: 1rem; }
.manset-arrow.next { right: 1rem; }
.slider-dots-container { position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5rem 2rem; background: transparent; z-index: 5; pointer-events: none; }
.slider-dots { display: flex; gap: 0.5rem; justify-content: flex-start; flex-wrap: wrap; pointer-events: auto; }
.dot { width: 10px; height: 10px; background: rgba(255, 255, 255, 0.4); border-radius: 50%; cursor: pointer; border: 1px solid rgba(0, 0, 0, 0.1); transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.dot.active, .dot:hover { background: #2563eb; transform: scale(1.3); box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4); }

/* --- POPÜLER İÇERİKLER --- */
.news-list-box { background: #ffffff; border: 1px solid var(--border-color); border-radius: 12px; padding: 1rem; height: 400px; overflow: hidden; display: flex; flex-direction: column; }
.box-header { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; color: #0f172a; border-bottom: 2px solid var(--border-light); padding-bottom: 0.5rem; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.ticker-nav { display: flex; gap: 0.35rem; }
.ticker-nav-btn { width: 26px; height: 26px; border: 1px solid var(--border-color); background: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; cursor: pointer; color: var(--text-main); transition: all 0.2s ease, transform 0.1s; }
.ticker-nav-btn:hover { color: #2563eb; background: var(--bg-light-gray); border-color: #2563eb; }
.ticker-nav-btn:active { transform: scale(0.9); }
.news-list-container { flex-grow: 1; overflow: hidden; position: relative; width: 100%; }
.news-list-inner { display: flex; flex-direction: column; width: 100%; transform: translateY(0); }
.list-item { display: flex; gap: 1rem; align-items: center; border-bottom: 1px solid var(--border-light); padding: 0.75rem 0; cursor: pointer; height: 85px; flex-shrink: 0; box-sizing: border-box; }
.list-thumb { width: 85px; height: 65px; background-size: cover; background-position: center; border-radius: 6px; flex-shrink: 0; border: 1px solid var(--border-light); position: relative; }
.list-thumb-platform-icon { position: absolute; top: -7px; left: -7px; width: 24px; height: 24px; border-radius: 50%; background: #ffffff; border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; padding: 4px; }
.list-thumb-platform-icon img { width: 100%; height: 100%; object-fit: contain; }
.list-content { flex-grow: 1; display: flex; flex-direction: column; gap: 0.25rem; overflow: hidden; }
.list-item-title { font-size: 0.85rem; font-weight: 700; color: #0f172a; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-item-desc { font-size: 0.75rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* --- SIDEBAR KARTI VE PROMPT SCROLLBAR --- */
.right-sidebar { display: flex; flex-direction: column; gap: 12px; height: 385px; justify-content: space-between; }
.sidebar-card { background: #ffffff; border: 1px solid var(--border-color); border-radius: 12px; padding: 0.85rem; display: flex; flex-direction: column; gap: 0.5rem; position: relative; }
.sidebar-card:first-child { height: auto !important; overflow: visible !important; }
.prompt-card-extended { height: 255px !important; max-height: 255px !important; min-height: 255px !important; overflow: hidden; background: #090d16; border: none; border-radius: 12px; display: flex; flex-direction: column; position: relative; }
.prompt-card-extended::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg, #2563eb, #c084fc, #38bdf8, #ec4899, #2563eb); animation: aiGlowRotate 4s linear infinite; z-index: -2; }
@keyframes aiGlowRotate { 100% { transform: rotate(360deg); } }
.prompt-card-inner-bg { position: absolute; top: 3px; left: 3px; right: 3px; bottom: 3px; background: #090d16; border-radius: 10px; z-index: -1; }
.prompt-card-extended .ai-special-title { font-size: 0.85rem !important; font-weight: 900 !important; text-transform: uppercase; letter-spacing: 1.5px !important; padding: 0.85rem 0.85rem 0.5rem 0.85rem !important; border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important; background: var(--ai-text-gradient) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; display: flex; align-items: center; gap: 0.4rem; }
.prompt-box-wrapper { background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px); padding: 0.6rem 0.75rem 0.75rem 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; width: 100%; height: calc(100% - 45px) !important; overflow: hidden; border-radius: 0 0 10px 10px; }
.prompt-meta-row { display: flex; align-items: center; justify-content: space-between; }
.info-tooltip-icon { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; background: rgba(255, 255, 255, 0.15); color: #94a3b8; border-radius: 50%; font-size: 0.65rem; font-weight: bold; cursor: pointer; transition: all 0.2s ease; border: 1px solid rgba(255, 255, 255, 0.2); }
.info-tooltip-icon:hover { background: #38bdf8; color: #090d16; border-color: #38bdf8; }
.prompt-copy-btn { background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.3); color: #38bdf8; font-size: 0.7rem; font-weight: 800; padding: 0.25rem 0.6rem; border-radius: 20px; cursor: pointer; transition: all 0.2s ease; }
.prompt-copy-btn:hover { background: #38bdf8; color: #090d16; box-shadow: 0 0 14px rgba(56, 189, 248, 0.45); }

.prompt-text-area { color: #a7f3d0 !important; font-size: 0.78rem !important; font-family: 'Courier New', monospace !important; background: #020617 !important; padding: 0.65rem !important; border-radius: 8px; border-left: 3px solid #ec4899 !important; flex-grow: 1; overflow-y: auto !important; word-break: break-word; }
.prompt-text-area::-webkit-scrollbar { width: 4px !important; }
.prompt-text-area::-webkit-scrollbar-track { background: transparent !important; }
.prompt-text-area::-webkit-scrollbar-thumb { background: #1e293b !important; border-radius: 2px !important; }

/* --- SIDEBAR SOSYAL MEDYA BUTONLARI --- */
.social-follow-container { display: flex !important; flex-direction: column !important; gap: 0.6rem !important; width: 100% !important; padding-top: 0.2rem !important; }
.social-follow-row { display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; gap: 0.4rem !important; }
.social-follow-item { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; flex: 1 !important; border: none !important; padding: 0 !important; margin: 0 !important; }
.social-follow-item::before, .social-follow-item::after { display: none !important; content: none !important; }

.circle-social-btn { width: 36px !important; height: 36px !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; color: #ffffff !important; cursor: pointer !important; border: none !important; padding: 0 !important; margin: 0 !important; box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important; }
.circle-social-btn svg { width: 16px !important; height: 16px !important; fill: currentColor !important; display: block !important; }

.circle-social-btn[data-brand="facebook"] { background: #1877F2 !important; }
.circle-social-btn[data-brand="facebook"]:hover { background: #145dbf !important; transform: translateY(-3px) !important; }
.circle-social-btn[data-brand="instagram"] { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; }
.circle-social-btn[data-brand="instagram"]:hover { transform: translateY(-3px) !important; filter: brightness(1.1) !important; }
.circle-social-btn[data-brand="x"] { background: #000000 !important; border: 1px solid rgba(255,255,255,0.1) !important; }
.circle-social-btn[data-brand="x"]:hover { background: #1a1a1a !important; transform: translateY(-3px) !important; }
.circle-social-btn[data-brand="youtube"] { background: #FF0000 !important; }
.circle-social-btn[data-brand="youtube"]:hover { background: #cc0000 !important; transform: translateY(-3px) !important; }
.circle-social-btn[data-brand="linkedin"] { background: #0077B5 !important; }
.circle-social-btn[data-brand="linkedin"]:hover { background: #005988 !important; transform: translateY(-3px) !important; }
.social-meta-text { font-size: 0.62rem !important; font-weight: 700 !important; color: #475569 !important; margin-top: 0.3rem !important; letter-spacing: -0.01em !important; display: block !important; }

/* ==========================================================================
   4. YAPAY ZEKA PLATFORMLARI YATAY DÖNGÜSÜ
   ========================================================================== */
.platforms-section { background: var(--bg-light-gray); padding: 2.5rem 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.platforms-title-container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.platforms-title-container h2 { font-size: 1.6rem; font-weight: 800; color: #0f172a; }
.slider-nav { display: flex; gap: 0.4rem; margin-left: auto; }
.round-nav-btn { width: 34px; height: 34px; border: 1px solid var(--border-color); background: #ffffff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-main); transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.round-nav-btn:hover { color: #2563eb; background: #ffffff; border-color: #2563eb; box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15); }
.round-nav-btn:active { transform: scale(0.9); }
.platform-marquee-wrapper { position: relative; width: 100%; overflow: hidden; padding: 0.75rem 0; mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%); }
.platform-marquee-inner { display: flex !important; flex-direction: row !important; gap: 1.5rem !important; width: max-content !important; will-change: transform; }
.platform-circle { width: 90px; height: 90px; background: #ffffff; border-radius: 50%; border: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,0.04); flex-shrink: 0; transition: transform 0.25s ease, border-color 0.25s ease; }
.platform-circle:hover { transform: translateY(-4px); border-color: #2563eb; box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12); }
.platform-circle .platform-icon-box { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.platform-circle .platform-icon-box img { width: 100%; height: 100%; object-fit: contain; }
.platform-circle span { margin-top: 5px; font-size: 0.7rem; color: var(--text-main); }

/* ==========================================================================
   5. AKADEMI BÖLÜMÜ
   ========================================================================== */
.academic-section { padding: 3rem 0; background: #ffffff; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.academic-section-sub { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }
.academic-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.academic-main-card { background: #ffffff; border: 1px solid var(--border-color); border-top: 3px solid #2563eb; border-radius: 12px; padding: 1.5rem; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; transition: box-shadow .2s ease, transform .2s ease; }
.academic-main-card:hover { box-shadow: 0 8px 24px rgba(37,99,235,0.12); transform: translateY(-2px); }
.academic-img-placeholder { background: #e2e8f0; height: 160px; border-radius: 8px; background-size: cover; background-position: center; position: relative; }
.academic-main-card h3 { font-size: 1.25rem; font-weight: 800; margin-top: 1rem; color: #0f172a; }
.academic-main-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.6rem; }
.academic-citation { font-size: 0.72rem; color: #94a3b8; margin-top: 1rem; border-top: 1px dashed var(--border-light); padding-top: 0.6rem; }
.academic-sub-column { display: flex; flex-direction: column; gap: 1rem; }
.academic-sub-card { display: flex; gap: 1rem; align-items: center; background: #ffffff; border: 1px solid var(--border-light); padding: 0.75rem; border-radius: 10px; transition: box-shadow .2s ease, transform .2s ease; }
.academic-sub-card:hover { box-shadow: 0 6px 16px rgba(37,99,235,0.10); transform: translateY(-2px); }
.academic-sub-thumb { width: 80px; height: 80px; background-size: cover; background-position: center; border-radius: 8px; flex-shrink: 0; position: relative; }
.academic-sub-title { font-size: 0.92rem; font-weight: 700; color: #0f172a; }
.academic-sub-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.3rem; }

/* ==========================================================================
   6. VİDEO BÖLÜMÜ
   ========================================================================== */
.video-section { background: var(--bg-light-gray); padding: 3rem 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.video-section .section-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 1.5rem !important;
    gap: 1rem !important;
}

.video-marquee-wrapper { position: relative; width: 100%; overflow: hidden; padding: 0.75rem 0; }
.video-marquee-inner { display: flex !important; flex-direction: row !important; gap: 1.5rem; width: max-content; will-change: transform; }
.video-card { background: #ffffff; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; display: block; width: 280px; flex-shrink: 0; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.video-thumb { background: #94a3b8; height: 160px; display: flex; align-items: center; justify-content: center; position: relative; background-size: cover; background-position: center; }
.play-icon { width: 45px; height: 45px; background: rgba(0,0,0,0.6); border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: background-color 0.25s, transform 0.25s; }
.video-card:hover { transform: translateY(-4px); border-color: #2563eb; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12); }
.video-card:hover .play-icon { background: #2563eb !important; transform: scale(1.08); }
.video-info { padding: 1rem; }
.video-info h4 { font-size: 0.95rem; font-weight: 700; color: #0f172a; }
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.75); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.45rem; border-radius: 4px; }
.video-thumb-platform-icon, .list-thumb-platform-icon { position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; border-radius: 50%; background: #ffffff; border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; padding: 4px; z-index: 5; }
.video-thumb-platform-icon img, .list-thumb-platform-icon img { width: 100%; height: 100%; object-fit: contain; }

/* ==========================================================================
   7. ALT GRİD BLOKLAR
   ========================================================================== */
.bottom-widgets { padding: 4rem 0; background: #ffffff; }
.bottom-widgets .widgets-grid { 
    display: grid !important; 
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 2rem !important; 
    width: 100% !important; 
    box-sizing: border-box; 
}

.forum-widget { 
    background: #ffffff; 
    border: 1px solid var(--border-color); 
    border-radius: 16px; 
    padding: 1.5rem; 
    height: 440px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    box-sizing: border-box; 
    position: relative !important; 
}

.forum-widget-title { font-weight: 800; font-size: 1.05rem; color: #0f172a; border-bottom: 2px solid var(--border-light); padding-bottom: 0.5rem; margin-bottom: 0.5rem; flex-shrink: 0; }

.forum-list { 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
    overflow: hidden; 
    justify-content: flex-start; 
    filter: blur(5px) !important; 
    opacity: 0.35 !important; 
    pointer-events: none !important; 
}

.forum-item { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border-light); text-decoration: none; color: inherit; height: 72px; box-sizing: border-box; }
.forum-item:last-child { border-bottom: none; }
.forum-item-num { font-weight: 800; color: #94a3b8; font-size: 0.85rem; width: 20px; flex-shrink: 0; }
.forum-item-title { font-size: 0.83rem; font-weight: 700; color: #0f172a; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.forum-item-meta { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.2rem; }

.forum-widget::after {
    content: "ÇOK YAKINDA" !important;
    position: absolute !important;
    top: 55% !important; 
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(-20deg) !important; 
    font-size: 2.8rem !important; 
    font-weight: 900 !important;
    letter-spacing: 3px !important;
    color: #2563eb !important; 
    text-shadow: 0 0 15px rgba(37, 99, 235, 0.8),
                 0 0 30px rgba(56, 189, 248, 0.6),
                 0 0 50px rgba(37, 99, 235, 0.4) !important;
    font-family: 'Manrope', sans-serif !important;
    pointer-events: none !important; 
    user-select: none !important;
    z-index: 100 !important; 
}

.magnet-widget { background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%) !important; border-radius: 16px !important; padding: 1.75rem !important; height: 440px !important; display: flex !important; flex-direction: column !important; color: #ffffff !important; position: relative !important; overflow: hidden !important; box-sizing: border-box !important; }
.magnet-widget::before { content: '' !important; position: absolute !important; top: -40px !important; right: -40px !important; width: 160px !important; height: 160px !important; background: radial-gradient(circle, rgba(37,99,235,0.45) 0%, transparent 70%) !important; pointer-events: none !important; }
.magnet-widget-badge { display: inline-flex !important; align-items: center !important; gap: 0.3rem !important; background: rgba(37,99,235,0.2) !important; color: #93c5fd !important; font-size: 0.68rem !important; font-weight: 800 !important; letter-spacing: 0.04em !important; padding: 0.3rem 0.7rem !important; border-radius: 999px !important; margin-bottom: 0.9rem !important; width: max-content !important; }
.magnet-widget-title { font-size: 1.15rem !important; font-weight: 800 !important; line-height: 1.35 !important; margin-bottom: 0.5rem !important; }
.magnet-widget-desc { font-size: 0.82rem !important; color: #cbd5e1 !important; line-height: 1.5 !important; margin-bottom: 1.1rem !important; }
.magnet-resource-list { display: flex !important; flex-direction: column !important; gap: 0.6rem !important; margin-bottom: 1.3rem !important; }
.magnet-resource-item { display: flex !important; align-items: center !important; gap: 0.6rem !important; background: rgba(255,255,255,0.06) !important; border: 1px solid rgba(255,255,255,0.1) !important; border-radius: 10px !important; padding: 0.6rem 0.8rem !important; font-size: 0.8rem !important; font-weight: 600 !important; color: #ffffff !important; }
.magnet-resource-item .res-icon { font-size: 1rem !important; flex-shrink: 0 !important; }
.magnet-widget-cta { margin-top: auto !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 0.4rem !important; background: var(--primary-gradient) !important; color: #ffffff !important; font-weight: 800 !important; font-size: 0.85rem !important; padding: 0.8rem !important; border-radius: 10px !important; text-decoration: none !important; text-align: center !important; transition: transform 0.2s ease, box-shadow 0.2s ease !important; }
.magnet-widget-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 18px rgba(37,99,235,0.4) !important; }

.sozluk-widget { background: #ffffff; border: 1px solid var(--border-color); border-radius: 16px; padding: 1.5rem; height: 440px; display: flex; flex-direction: column; box-sizing: border-box; }
.sozluk-widget-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--border-light); padding-bottom: 0.5rem; margin-bottom: 0.5rem; flex-shrink: 0; }
.sozluk-widget-header span { font-weight: 800; font-size: 1.05rem; color: #0f172a; }
.sozluk-list-container { flex-grow: 1; overflow: hidden; position: relative; width: 100%; }
.sozluk-list-inner { display: flex; flex-direction: column; width: 100%; }
.sozluk-item { display: flex; align-items: center; gap: 0.7rem; height: 72px; border-bottom: 1px solid var(--border-light); text-decoration: none; color: inherit; flex-shrink: 0; box-sizing: border-box; }
.sozluk-item:last-child { border-bottom: none; }
.sozluk-item-icon { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #e2e8f0; }
.sozluk-item-term { font-size: 0.82rem; font-weight: 800; color: #2563eb; }
.sozluk-item-def { font-size: 0.76rem; color: var(--text-muted); line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }

.skeleton-loading { background: #f1f5f9 !important; background-image: linear-gradient(to right, #f1f5f9 0%, #e2e8f0 20%, #f1f5f9 40%, #f1f5f9 100%) !important; animation: placeholderShimmer 1.4s linear infinite !important; }
.skeleton-loading * { opacity: 0 !important; }

.js-dynamic-tooltip { position: fixed; z-index: 99999; background: #0f172a; color: #ffffff; padding: 0.55rem 0.85rem; font-size: 0.7rem; font-weight: 600; border-radius: 6px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55); max-width: 240px; opacity: 0; transition: opacity 0.15s, transform 0.15s; pointer-events: none; }
.js-dynamic-tooltip.visible { opacity: 1; }

/* ==========================================================================
   8. FOOTER ALANI & NEWSLETTER
   ========================================================================== */
footer { background: var(--bg-main); color: var(--text-muted); padding: 4rem 0 1.5rem; font-size: 0.9rem; border-top: 1px solid var(--border-light); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }

.footer-col h3 { color: #0f172a; font-size: 1.1rem; font-weight: 700; margin-bottom: 1.2rem; }
.footer-logo { font-size: 1.6rem; font-weight: 800; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; }

.footer-logo img {
    max-height: 55px !important;
    width: auto !important;
    object-fit: contain !important;
    image-rendering: -webkit-optimize-contrast;
}

.footer-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 1.2rem; }

.footer-col ul { 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 0.75rem !important; 
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.footer-col ul li { color: var(--text-muted) !important; font-size: 0.9rem !important; line-height: 1.5 !important; }
.footer-col ul li a { color: var(--text-muted) !important; transition: color 0.2s ease-in-out !important; }
.footer-col ul li a:hover { color: #2563eb !important; }
.footer-col ul li strong { color: #0f172a !important; font-weight: 700 !important; }

.footer-col .social-row { display: flex !important; gap: 0.6rem !important; margin-bottom: 1.5rem !important; flex-direction: row !important; }
.footer-social-btn { 
    width: 36px !important; 
    height: 36px !important; 
    background: var(--bg-light-gray) !important; 
    border: 1px solid var(--border-light) !important; 
    border-radius: 50% !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    color: #475569 !important; 
    cursor: pointer !important; 
    transition: all 0.2s ease-in-out !important;
    padding: 8px !important;
}
.footer-social-btn svg { width: 100% !important; height: 100% !important; fill: currentColor !important; display: block !important; }
.footer-social-btn:hover { background: #2563eb !important; color: #ffffff !important; border-color: #2563eb !important; transform: translateY(-2px); }

/* 🎯 E-BÜLTEN FORM, AÇIKLAMA VE MESAJ STİLLERİ */
.newsletter-sub-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.8rem;
    margin-top: -0.5rem;
}

.newsletter-box { display: flex; flex-direction: column; gap: 0.6rem; position: relative; }
.newsletter-box input { padding: 0.6rem 1rem; border-radius: 6px; border: 1px solid var(--border-color); background: #ffffff; transition: border-color 0.2s; }
.newsletter-box input:focus { border-color: #2563eb; }
.newsletter-box button { background: var(--primary-gradient); color: #ffffff; border: none; padding: 0.6rem; border-radius: 6px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; }
.newsletter-box button:hover { opacity: 0.9; }
.newsletter-box button:disabled { opacity: 0.6 !important; cursor: not-allowed !important; }

.newsletter-msg {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    line-height: 1.4;
}
.newsletter-msg.success { background: #dcfce7 !important; color: #15803d !important; border: 1px solid #bbf7d0 !important; }
.newsletter-msg.error { background: #fee2e2 !important; color: #b91c1c !important; border: 1px solid #fecaca !important; }

.footer-bottom { border-top: 1px solid var(--border-light); padding-top: 1.5rem; text-align: center; font-size: 0.8rem; color: #94a3b8; }

/* 🎯 YZHOCASI.COM MASAÜSTÜ YUKARI ÇIK BUTONU STİLLERİ */
.back-to-top-btn {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #2563eb, #c084fc) !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35) !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(15px) scale(0.9) !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    outline: none !important;
}

.back-to-top-btn svg {
    width: 20px !important;
    height: 20px !important;
    fill: #ffffff !important;
    transition: transform 0.2s ease !important;
}

.back-to-top-btn.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

.back-to-top-btn:hover {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5) !important;
    transform: translateY(-3px) scale(1.05) !important;
}

.back-to-top-btn:hover svg {
    transform: translateY(-2px) !important;
}

.back-to-top-btn:active {
    transform: translateY(0) scale(0.95) !important;
}

/* ==========================================================================
   9. RESPONSIVE MEDYA REFORMLARI & MOBİL LOGO ORAN KALKANI
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr !important; gap: 20px; }
    .academic-grid { grid-template-columns: 1fr !important; gap: 20px; }
    .bottom-widgets .widgets-grid { grid-template-columns: 1fr !important; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 20px; }
    
    .nav-container { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; }
    .search-wrapper { margin-left: auto !important; display: flex !important; align-items: center !important; }
    
    nav, .search-wrapper .search-form { display: none !important; } 
    .mobile-search-trigger { display: flex !important; } 
    body.admin-bar header { top: 46px !important; }
}

/* 🎯 MOBİLDE LOGOLARI KUSURSUZ NETLEŞTİRME VE DENGELENEN ÖLÇÜLER */
@media (max-width: 768px) {
    .logo img {
        max-height: 40px !important;
        width: auto !important;
    }
    
    .footer-logo img {
        max-height: 55px !important;
        width: auto !important;
    }

    .back-to-top-btn {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

body.admin-bar header { top: 32px !important; }
body.admin-bar .hero-section { margin-top: 110px !important; }