@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

/* N-F-K.com Static Site Stylesheet - Navy & Emerald Green Premium Theme */
:root {
    /* AYDINLIK TEMA (Varsayılan) */
    --primary-color: #0f172a; /* Derin Lacivert */
    --primary-hover: #1e293b;
    --accent-color: #10b981; /* Canlı Zümrüt Yeşili */
    --accent-hover: #059669;
    --bg-color: #f8fafc; /* Slate Açık Arka Plan */
    --card-bg: #ffffff;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --header-bg: #0b1120; /* Koyu Lacivert Header */
    --header-text: #f8fafc;
    --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', "Georgia", Cambria, serif;
}

/* KARANLIK TEMA */
html[data-theme="dark"], body[data-theme="dark"] {
    --primary-color: #ffffff;
    --primary-hover: #34d399;
    --bg-color: #090d16;
    --card-bg: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #cbd5e1;
    --border-color: #1e293b;
    --header-bg: #030712;
    --header-text: #ffffff;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(15, 23, 42, 0.02) 0px, transparent 50%);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.75;
    font-size: 17px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Site Genelinde Kopyalama Yasağı (Sadece Admin Panelinden Aktif Edildiğinde) */
body[data-copy-protection="true"],
body[data-copy-protection="true"] * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Form alanlarında ve editörlerde seçime her zaman izin ver */
input, textarea, select, [contenteditable="true"], .admin-toolbar, .ql-editor {
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Scroll to Top Floating Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    border: none;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

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

.back-to-top-btn:hover {
    background: #059669;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Nav */
.site-header {
    backdrop-filter: blur(20px);
    background: rgba(11, 17, 32, 0.85);
    color: var(--header-text);
    padding: 0.7rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2), 
        0 1px 15px rgba(16, 185, 129, 0.15); /* Zümrüt yeşili parlaklık/ışıltı */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header a { color: var(--header-text); }

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.site-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.site-title span { 
    color: var(--accent-color); 
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.site-subtitle { 
    font-size: 0.72rem; 
    display: block; 
    color: var(--accent-color); 
    opacity: 0.9;
    font-weight: 500; 
    font-family: var(--font-sans); 
    margin-top: 0.1rem;
    letter-spacing: 0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
    flex-wrap: nowrap;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.88rem;
    color: #f8fafc;
    opacity: 0.92;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    line-height: 1.2;
}

.main-nav li.menu-item-has-children > a::after {
    content: '▾';
    font-size: 0.72rem;
    opacity: 0.7;
    margin-left: 0.2rem;
    transition: transform 0.2s ease;
}

.main-nav li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--accent-color);
}

.main-nav a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-color) !important;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
    text-decoration: none;
}

/* NAVBAR DROPDOWN ALT MENÜ TASARIMI */
.main-nav ul li {
    position: relative;
}

.main-nav ul li .sub-menu {
    display: none;
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    position: absolute;
    top: 100%;
    left: 50%;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4), 
        0 0 20px rgba(16, 185, 129, 0.08);
    padding: 0.6rem 0;
    z-index: 9999;
    list-style: none;
    flex-direction: column;
    gap: 0.1rem;
}

.main-nav ul li:hover > .sub-menu {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.main-nav ul li .sub-menu li .sub-sub-menu {
    display: none;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    position: absolute;
    top: 0;
    left: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    min-width: 200px;
    padding: 0.5rem 0;
    z-index: 9998;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.main-nav ul li .sub-menu li:hover > .sub-sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.main-nav ul li .sub-menu li {
    width: 100%;
    padding: 0 0.5rem;
}

.main-nav ul li .sub-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    color: #cbd5e1;
    border-radius: 6px;
    opacity: 0.95;
    text-align: left;
    transition: all 0.2s ease;
}

.main-nav ul li .sub-menu li a:hover {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-color) !important;
    padding-left: 1.2rem; /* Üzerine gelince sağa hafifçe kayma efekti */
}

.main-nav ul li:hover .sub-menu {
    display: flex;
}

@media (max-width: 900px) {
    .main-nav ul li .sub-menu {
        position: static;
        transform: none;
        width: 100%;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        display: flex;
        margin-top: 0.4rem;
        border-radius: 8px;
    }
}

.theme-toggle-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--header-text);
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

/* HABER PORTALI KÜLTÜR MANŞET SLIDER */
.slider-section {
    margin-bottom: 2.5rem;
    position: relative;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.25);
    background: #0b1120;
    border: 1px solid var(--border-color);
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
    background: #0f172a;
    color: #ffffff;
    padding: 0;
    display: flex;
    flex-direction: row;
    min-height: 400px;
    overflow: hidden;
}

.slide-content {
    width: 45%;
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    z-index: 2;
    position: relative;
}

.slide-image {
    width: 55%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0f172a 0%, rgba(15, 23, 42, 0.4) 30%, transparent 100%);
    pointer-events: none;
}

.slide-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    width: fit-content;
}

.slide-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1.35;
    margin-bottom: 1rem;
    color: #ffffff;
}

.slide-title a { color: #ffffff; text-decoration: none; }
.slide-title a:hover { color: var(--accent-color); }

.slide-excerpt {
    font-size: 1.05rem;
    opacity: 0.88;
    margin-bottom: 1.5rem;
    max-width: 850px;
    line-height: 1.6;
}

.slide-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: #ffffff !important;
    padding: 0.75rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    width: fit-content;
    box-shadow: 0 4px 14 rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    text-decoration: none;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s ease;
    z-index: 10;
}

.slider-control:hover { background: var(--primary-color); }
.slider-prev { left: 15px; }
.slider-next { right: 15px; }

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    width: 26px;
    border-radius: 5px;
}

/* PORTAL LAYOUT (GÖVDE VE SİDEBAR) */
.main-content {
    flex: 1;
    padding: 2.5rem 0;
}

.portal-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 2.5rem;
}

@media (max-width: 900px) {
    .portal-grid { grid-template-columns: 1fr; }
    .slide {
        flex-direction: column-reverse;
        min-height: auto;
    }
    .slide-content {
        width: 100%;
        padding: 2rem 1.5rem;
    }
    .slide-image {
        width: 100%;
        height: 240px;
    }
    .slide-image::after {
        background: linear-gradient(to top, #0f172a 0%, rgba(15, 23, 42, 0.4) 30%, transparent 100%);
    }
    .slide-title { font-size: 1.5rem; }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
}

.view-all {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.post-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.6rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.post-card-img {
    width: calc(100% + 3.2rem);
    height: 180px;
    margin: -1.6rem -1.6rem 1rem -1.6rem;
    overflow: hidden;
    background: #0f172a;
    position: relative;
}

.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card-img img {
    transform: scale(1.05);
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
}

.post-card:hover::before {
    opacity: 1;
}

.post-card .category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.post-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.post-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-card .date {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.widget-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.widget-list { list-style: none; }
.widget-list li { margin-bottom: 0.8rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border-color); }
.widget-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.widget-list a { font-weight: 600; font-size: 0.9rem; color: var(--text-color); }
.widget-list a:hover { color: var(--primary-color); }
.widget-list .meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Article Details */
.article-single {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.article-category,
.cat-tag,
.cat-badge,
a.article-category,
a.cat-tag,
a.cat-badge {
    display: inline-block;
    background: #10b981 !important;
    color: #ffffff !important;
    padding: 0.3rem 0.85rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    transition: all 0.2s ease;
}

.article-category:hover,
.cat-tag:hover,
.cat-badge:hover,
a.article-category:hover,
a.cat-tag:hover,
a.cat-badge:hover {
    background: #059669 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.article-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.3;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-body {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.95;
    word-break: break-word;
}

.article-body::after {
    content: "";
    display: table;
    clear: both;
}

.article-body p { margin-bottom: 1.5rem; }

/* İçerik Görsellerini Yazı İçine Gömme ve Ölçeklendirme */
.article-body img {
    float: left;
    max-width: 320px;
    width: 100%;
    height: auto;
    margin: 0.5rem 1.5rem 1rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-body img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

/* Galeri Slaytındaki Görsellerin Float Etkilenmesini Önle */
.article-body .post-gallery-slider-wrapper img,
.article-body .post-gallery-slide img,
.post-gallery-slide img {
    float: none !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

@media (max-width: 640px) {
    .article-body img {
        float: none;
        display: block;
        margin: 1rem auto;
        max-width: 100%;
    }
}
.poem-year { font-size: 0.95rem; color: var(--text-muted); margin-top: 0.5rem; display: inline-block; }

/* Footer */
.site-footer {
    background-color: var(--header-bg);
    color: var(--header-text);
    text-align: center;
    padding: 2.5rem 0;
    margin-top: auto;
    font-size: 0.9rem;
    opacity: 0.9;
    border-top: 3px solid var(--primary-color);
}

/* EKMEK KIRINTISI (BREADCRUMBS) */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.breadcrumbs a { color: var(--text-muted); font-weight: 500; }
.breadcrumbs a:hover { color: var(--primary-color); text-decoration: underline; }
.breadcrumbs span.separator { opacity: 0.5; font-size: 0.75rem; }
.breadcrumbs span.current { color: var(--primary-color); font-weight: 600; }

/* SOSYAL PAYLAŞIM VE GÖNDERİ METADATA */
.share-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.share-title { font-size: 0.95rem; font-weight: 600; color: var(--text-color); }
.share-buttons { display: flex; gap: 0.6rem; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border: none;
    cursor: pointer;
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.share-tw { background: #111111; }
.share-wa { background: #25d366; }
.share-tg { background: #0088cc; }
.share-copy { background: #6c757d; }

.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(121, 28, 27, 0.08);
    color: var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-left: 0.6rem;
}

/* CANLI ARAMA MODALI */
.search-modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.search-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.search-modal-content {
    background: var(--card-bg);
    width: 90%;
    max-width: 650px;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}
.search-modal-backdrop.active .search-modal-content {
    transform: translateY(0);
}
.search-header-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-size: 1.1rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    outline: none;
    font-family: var(--font-sans);
}
.search-close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}
.search-results-list {
    margin-top: 1.2rem;
    max-height: 380px;
    overflow-y: auto;
    list-style: none;
}
.search-results-list li {
    padding: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s ease;
}
.search-results-list li:hover {
    background: rgba(121, 28, 27, 0.05);
}
.search-results-list a {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
    display: block;
}
.search-results-list .cat-badge {
    font-size: 0.72rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
}

.search-trigger-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--header-text);
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}
.search-trigger-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

/* MOBİL MENÜ DÜĞMESİ VE YAPISI */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--header-text);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
}

@media (max-width: 768px) {
    .mobile-nav-toggle { display: block; }
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .main-nav.open { display: flex; }
    .main-nav ul { flex-direction: column; gap: 0.8rem; width: 100%; }
}

/* HABERLER VE DUYURULAR ÖNE ÇIKAN GÖRSELLİ KARTLAR */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
}

.news-card-img {
    height: 180px;
    background: #1f1d1d;
    overflow: hidden;
    position: relative;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}
.news-card-title a { color: var(--text-color); }
.news-card-title a:hover { color: var(--primary-color); }

.news-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

/* GİZLİ POST / KART KONTROLLERİ */
.post-hidden {
    display: none !important;
}

.article-single.post-hidden .article-body,
.article-single.post-hidden .article-header {
    display: none !important;
}

.article-single.post-hidden::after {
    content: "🔒 Bu içerik yayından kaldırılmıştır veya geçici olarak gizlenmiştir.";
    display: block;
    padding: 3rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1.1rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px dashed var(--border-color);
}

.article-single.post-hidden.post-hidden-revealed::after {
    display: none !important;
}

.admin-hidden-preview {
    opacity: 0.65 !important;
    position: relative !important;
}

/* YAZI İÇİ DETAY METADATA & TARİH BİLGİSİ */
.article-meta {
    margin-top: 0.8rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.post-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* POST İÇİ RESİM GALERİSİ SLIDER */
.post-gallery-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #0f172a;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    height: 450px;
}

.post-gallery-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 100%;
}

.post-gallery-slide {
    min-width: 100%;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
}

.post-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
    z-index: 5;
}

.gallery-prev:hover, .gallery-next:hover {
    background: var(--accent-color);
    border-color: var(--accent-hover);
}

.gallery-prev { left: 15px; }
.gallery-next { right: 15px; }

.gallery-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
}

.gallery-dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .post-gallery-slider-wrapper {
        height: 280px;
    }
}

/* Ana Sayfa & Portaller İçin Koyu Mod Yüksek Kontrastlı Başlık Kuralları */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] .post-card h3,
html[data-theme="dark"] .post-card h3 a,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .section-title a,
html[data-theme="dark"] .widget-title,
html[data-theme="dark"] .widget-list a,
html[data-theme="dark"] .article-header h1,
html[data-theme="dark"] .view-all {
    color: #ffffff !important;
}

html[data-theme="dark"] .post-card h3 a:hover,
html[data-theme="dark"] .widget-list a:hover,
html[data-theme="dark"] a:hover {
    color: #34d399 !important;
}
