/*
Theme Name: Dizi Önerisi
Theme URI: https://dizionerisi.com
Author: Dizi Önerisi
Description: Dizi ve film öneri blogu için hafif, hızlı ve premium görünümlü tema. jQuery yok, harici font yok, AdSense alanları hazır.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: dizionerisi
*/

/* ==========================================================================
   1. Tasarım değişkenleri
   ========================================================================== */
:root {
	--bg: #0a0c11;
	--bg-soft: #0f1218;
	--surface: #141821;
	--surface-2: #1b202b;
	--border: rgba(255, 255, 255, 0.07);
	--border-strong: rgba(255, 255, 255, 0.14);

	--text: #eceef3;
	--text-soft: #c3c8d4;
	--muted: #8b93a5;

	--gold: #f4b740;
	--gold-soft: #ffd27a;
	--red: #ef4a5a;
	--violet: #8b6cff;
	--gradient: linear-gradient(135deg, var(--gold) 0%, var(--red) 100%);
	--gradient-text: linear-gradient(120deg, var(--gold-soft) 0%, var(--gold) 40%, var(--red) 100%);

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 20px;
	--shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
	--shadow-glow: 0 20px 50px -20px rgba(244, 183, 64, 0.35);

	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--container: 1200px;
	--content: 740px;
	--header-h: 68px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================================================================
   2. Temel
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(239, 74, 90, 0.10), transparent 60%),
		radial-gradient(900px 500px at -10% 10%, rgba(244, 183, 64, 0.08), transparent 60%),
		var(--bg);
	background-attachment: fixed;
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-soft); }

h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 .6em; color: #fff; font-weight: 750; }

::selection { background: var(--gold); color: #111; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 999; top: 10px; left: 10px;
	padding: 10px 16px; background: var(--gold); color: #111; border-radius: var(--radius-sm);
}

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	height: var(--header-h);
	background: rgba(10, 12, 17, 0.72);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--border);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand:hover { color: #fff; }
.brand-mark {
	width: 34px; height: 34px; border-radius: 10px; flex: none;
	background: var(--gradient);
	display: grid; place-items: center;
	box-shadow: var(--shadow-glow);
}
.brand-mark svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.brand-name span { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.custom-logo { max-height: 40px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
	display: block; padding: 8px 14px; border-radius: 999px;
	color: var(--text-soft); font-size: .95rem; font-weight: 550;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-menu-parent > a { color: #fff; background: rgba(255, 255, 255, 0.06); }
.main-nav .sub-menu { display: none; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
	width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border);
	background: transparent; color: var(--text); cursor: pointer;
	display: grid; place-items: center; transition: all .2s var(--ease);
}
.icon-btn:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.05); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.menu-toggle { display: none; }

.header-search {
	position: absolute; left: 0; right: 0; top: var(--header-h);
	background: var(--bg-soft); border-bottom: 1px solid var(--border);
	padding: 18px 0; display: none;
}
.header-search.is-open { display: block; animation: fadeDown .25s var(--ease); }

@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   4. Arama formu
   ========================================================================== */
.search-form { display: flex; gap: 8px; }
.search-form .search-field {
	flex: 1; min-width: 0; height: 48px; padding: 0 18px;
	background: var(--surface); color: var(--text);
	border: 1px solid var(--border-strong); border-radius: 999px;
	font: inherit; font-size: 1rem;
}
.search-form .search-field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(244, 183, 64, 0.15); }
.btn,
.search-form .search-submit {
	height: 48px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--gradient); color: #fff; font: inherit; font-weight: 700;
	display: inline-flex; align-items: center; gap: 8px;
	box-shadow: var(--shadow-glow); transition: transform .2s var(--ease), filter .2s;
}
.btn:hover,
.search-form .search-submit:hover { transform: translateY(-1px); filter: brightness(1.08); color: #fff; }

/* ==========================================================================
   5. Ana sayfa hero
   ========================================================================== */
.hero { padding: 40px 0 10px; }
.hero-intro { max-width: 720px; margin-bottom: 32px; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--gold); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--gradient); border-radius: 2px; }
.hero-title { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 12px; }
.hero-title em { font-style: normal; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { color: var(--muted); font-size: 1.1rem; margin: 0; }

.featured {
	position: relative; display: block; overflow: hidden;
	border-radius: var(--radius-lg); border: 1px solid var(--border);
	aspect-ratio: 21 / 9; min-height: 340px; background: var(--surface);
	box-shadow: var(--shadow);
}
.featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.featured:hover img { transform: scale(1.04); }
.featured::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(10, 12, 17, 0.95) 0%, rgba(10, 12, 17, 0.4) 45%, rgba(10, 12, 17, 0) 75%);
}
.featured-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 4vw, 40px); max-width: 820px; }
.featured-title { font-size: clamp(1.5rem, 3.2vw, 2.4rem); color: #fff; margin: 12px 0 10px; }
.featured-excerpt { color: var(--text-soft); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ==========================================================================
   6. Bölüm başlıkları ve kategori çipleri
   ========================================================================== */
.section { padding: 48px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-title { font-size: 1.5rem; margin: 0; display: flex; align-items: center; gap: 12px; }
.section-title::before { content: ""; width: 4px; height: 24px; border-radius: 4px; background: var(--gradient); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
	display: inline-block; padding: 7px 14px; border-radius: 999px;
	background: var(--surface); border: 1px solid var(--border);
	color: var(--text-soft); font-size: .88rem; font-weight: 600;
	transition: all .2s var(--ease);
}
.chip:hover { color: #111; background: var(--gold); border-color: var(--gold); }

.badge {
	display: inline-block; padding: 4px 10px; border-radius: 999px;
	background: rgba(244, 183, 64, 0.14); color: var(--gold-soft);
	font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
	border: 1px solid rgba(244, 183, 64, 0.25);
}
.badge:hover { color: #111; background: var(--gold); }

/* ==========================================================================
   7. Yazı kartları
   ========================================================================== */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }

.card {
	position: relative; display: flex; flex-direction: column;
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); overflow: hidden;
	transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(244, 183, 64, 0.35); box-shadow: var(--shadow), var(--shadow-glow); }
.card-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-thumb img { transform: scale(1.06); }
.card-thumb .badge { position: absolute; top: 12px; left: 12px; backdrop-filter: blur(8px); background: rgba(10, 12, 17, 0.7); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.1rem; margin: 0 0 8px; line-height: 1.35; }
.card-title a { color: #fff; }
.card-title a::after { content: ""; position: absolute; inset: 0; } /* tüm kart tıklanabilir */
.card:hover .card-title a { color: var(--gold-soft); }
.card-excerpt { color: var(--muted); font-size: .93rem; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; }

.thumb-placeholder {
	width: 100%; height: 100%; display: grid; place-items: center;
	background: linear-gradient(135deg, #1b202b, #241a22);
}
.thumb-placeholder svg { width: 42px; height: 42px; fill: rgba(255, 255, 255, 0.15); }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); font-size: .84rem; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ==========================================================================
   8. Arşiv başlığı ve sayfalama
   ========================================================================== */
.archive-head {
	padding: 44px 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--border);
}
.archive-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 8px; }
.archive-desc { color: var(--muted); max-width: 680px; }
.archive-desc p { margin: 0; }

.pagination { margin: 44px 0 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px;
	display: inline-grid; place-items: center;
	background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); font-weight: 650;
}
.pagination .page-numbers:hover { border-color: var(--gold); color: #fff; }
.pagination .page-numbers.current { background: var(--gradient); color: #fff; border-color: transparent; }

/* ==========================================================================
   9. Tekil yazı
   ========================================================================== */
.breadcrumbs { font-size: .85rem; color: var(--muted); margin: 28px 0 18px; }
.breadcrumbs a { color: var(--text-soft); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { margin: 0 8px; opacity: .5; }

.entry-header { margin-bottom: 26px; }
.entry-title { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin: 14px 0 16px; }
.entry-lead { font-size: 1.15rem; color: var(--text-soft); margin: 0 0 18px; }
.entry-thumb { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-bottom: 34px; box-shadow: var(--shadow); }
.entry-thumb img { width: 100%; }

.updated-note {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
	padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600;
	color: #7ee2a8; background: rgba(46, 204, 113, 0.10); border: 1px solid rgba(46, 204, 113, 0.22);
}
.updated-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2); }

/* --- İçerik tipografisi --- */
.entry-content { max-width: var(--content); color: var(--text-soft); font-size: 1.08rem; }
.layout.no-sidebar > article { width: 100%; max-width: var(--content); margin: 0 auto; }
.entry-content > * { margin-top: 0; margin-bottom: 1.3em; }
.entry-content h2 {
	font-size: 1.65rem; margin-top: 2em; padding-top: .3em; color: #fff;
	counter-increment: none;
}
.entry-content h3 { font-size: 1.3rem; margin-top: 1.6em; color: #fff; }
.entry-content strong { color: #fff; }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(244, 183, 64, 0.4); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--gold); }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--gold); }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 8px; }
.entry-content hr { border: 0; height: 1px; background: var(--border-strong); margin: 2.5em 0; }

.entry-content blockquote {
	margin-left: 0; padding: 18px 22px; border-radius: var(--radius);
	background: var(--surface); border-left: 3px solid var(--gold); color: var(--text);
	font-style: italic;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.entry-content th,
.entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.entry-content th { color: #fff; background: var(--surface-2); font-weight: 700; }
.entry-content tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* --- Öneri kutusu: listelerdeki her dizi için. Kullanım: Gutenberg'de Grup bloğuna "oneri" sınıfı --- */
.entry-content .oneri {
	position: relative; padding: 22px 24px; margin: 1.8em 0;
	background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 100%);
	border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.entry-content .oneri > :last-child { margin-bottom: 0; }
.entry-content .oneri h2,
.entry-content .oneri h3 { margin-top: 0; }

/* Bilgi satırı: "Platform: Netflix · Sezon: 3 · Dublaj: Var" — Paragrafa "bilgi" sınıfı */
.entry-content .bilgi {
	display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--text);
}
.entry-content .bilgi code,
.entry-content .bilgi span {
	padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border);
	font-family: inherit; font-size: inherit;
}

/* Puan rozeti — Paragrafa "puan" sınıfı, örn: 8.7 */
.entry-content .puan {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
	background: var(--gradient); color: #fff; font-weight: 800; font-size: .95rem;
}
.entry-content .puan::before { content: "★"; }

/* İpucu / not kutusu — Paragraf veya Grup'a "not" sınıfı */
.entry-content .not {
	padding: 16px 20px; border-radius: var(--radius); font-size: .98rem;
	background: rgba(139, 108, 255, 0.08); border: 1px solid rgba(139, 108, 255, 0.25); color: var(--text);
}

/* Spoiler: Ayrıntılar (Details) bloğuna "spoiler" sınıfı */
.entry-content details {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 14px 20px;
}
.entry-content details summary { cursor: pointer; font-weight: 700; color: #fff; }
.entry-content details.spoiler { border-color: rgba(239, 74, 90, 0.35); }
.entry-content details.spoiler summary::before { content: "⚠ Spoiler: "; color: var(--red); }
.entry-content details[open] summary { margin-bottom: 10px; }

/* Gutenberg blok uyumu */
.entry-content .wp-block-image img { border-radius: var(--radius); }
.entry-content .wp-block-separator { border: 0; height: 1px; background: var(--border-strong); }
.entry-content .wp-block-button__link { background: var(--gradient); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 700; }
.entry-content .wp-block-pullquote { border-color: var(--gold); }
.alignwide { max-width: 1000px; }
.alignfull { width: 100%; max-width: none; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }

/* --- İçindekiler --- */
.toc {
	max-width: var(--content); margin: 0 0 2em; padding: 18px 22px;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.toc summary { cursor: pointer; font-weight: 750; color: #fff; list-style: none; display: flex; justify-content: space-between; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; color: var(--gold); font-size: 1.2rem; line-height: 1; }
.toc[open] summary::after { content: "−"; }
.toc ol { margin: 14px 0 0; padding-left: 1.2em; counter-reset: none; }
.toc li { margin: 6px 0; font-size: .95rem; }
.toc a { color: var(--text-soft); }
.toc a:hover { color: var(--gold); }

/* --- Etiketler, paylaşım, ilgili yazılar --- */
.entry-footer { max-width: var(--content); margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); }
.tags a::before { content: "#"; color: var(--gold); margin-right: 2px; }
.tags a:hover { border-color: var(--gold); color: #fff; }

.share { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--muted); font-size: .9rem; }
.share a {
	padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 650;
	background: var(--surface); border: 1px solid var(--border); color: var(--text);
}
.share a:hover { background: var(--gold); color: #111; border-color: var(--gold); }

.related { margin-top: 60px; }

/* ==========================================================================
   10. Reklam alanları (AdSense)
   ========================================================================== */
.ad-slot { margin: 2em auto; text-align: center; min-height: 100px; }
.ad-slot::before {
	content: "Reklam"; display: block; font-size: .68rem; letter-spacing: .1em;
	text-transform: uppercase; color: var(--muted); opacity: .6; margin-bottom: 6px;
}
.ad-slot:empty { display: none; }

/* ==========================================================================
   11. Kenar çubuğu ve bileşenler
   ========================================================================== */
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.widget {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 22px;
}
.widget-title { font-size: 1rem; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.widget-title::before { content: ""; width: 3px; height: 16px; border-radius: 3px; background: var(--gradient); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.widget li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget li a { color: var(--text-soft); }
.widget li a:hover { color: var(--gold); }

.mini-list { counter-reset: mini; }
.mini-list li { display: flex; gap: 12px; align-items: flex-start; }
.mini-list li::before {
	counter-increment: mini; content: counter(mini, decimal-leading-zero);
	font-weight: 800; font-size: 1.1rem; line-height: 1.4;
	background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer { margin-top: 90px; border-top: 1px solid var(--border); background: var(--bg-soft); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 54px 0 40px; }
.footer-about p { color: var(--muted); font-size: .95rem; max-width: 360px; margin: 14px 0 0; }
.footer-col h3 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-soft); font-size: .95rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
	padding: 20px 0 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem;
}

/* ==========================================================================
   13. Yorumlar ve 404
   ========================================================================== */
.comments-area { max-width: var(--content); margin-top: 60px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; }
.comment-list .children { list-style: none; padding-left: 20px; margin-top: 14px; }
.comment-author { font-weight: 700; color: #fff; }
.comment-metadata { font-size: .8rem; color: var(--muted); }
.comment-form label { display: block; font-size: .9rem; margin-bottom: 6px; color: var(--text-soft); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
	background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); font: inherit;
}
.comment-form textarea:focus,
.comment-form input:focus { outline: none; border-color: var(--gold); }
.comment-form .submit { height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--gradient); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

.error-404 { text-align: center; padding: 80px 0 20px; }
.error-404 .big { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; line-height: 1; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.error-404 .search-form { max-width: 520px; margin: 28px auto 0; }

/* ==========================================================================
   14. Çerez bildirimi
   ========================================================================== */
.cookie-banner {
	position: fixed; z-index: 200; left: 20px; right: 20px; bottom: 20px;
	max-width: 880px; margin: 0 auto;
	display: flex; align-items: center; gap: 18px;
	padding: 18px 20px;
	background: rgba(20, 24, 33, 0.92);
	backdrop-filter: saturate(160%) blur(16px);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), var(--shadow-glow);
	animation: cookieUp .45s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner::before {
	content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold), var(--red), transparent);
}
.cookie-icon {
	flex: none; width: 46px; height: 46px; border-radius: 14px;
	display: grid; place-items: center; font-size: 1.4rem;
	background: rgba(244, 183, 64, 0.12); border: 1px solid rgba(244, 183, 64, 0.25);
}
.cookie-text { flex: 1; min-width: 0; }
.cookie-text strong { display: block; color: #fff; font-size: .98rem; margin-bottom: 2px; }
.cookie-text p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.cookie-text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { flex: none; display: flex; gap: 8px; }
.cookie-btn {
	height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
	font: inherit; font-size: .9rem; font-weight: 700; white-space: nowrap;
	transition: transform .2s var(--ease), filter .2s, background .2s, border-color .2s;
}
.cookie-btn-primary { border: 0; background: var(--gradient); color: #fff; box-shadow: var(--shadow-glow); }
.cookie-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.cookie-btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.cookie-btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.25); }

.cookie-settings-link {
	background: none; border: 0; padding: 0; cursor: pointer;
	font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
}
.cookie-settings-link:hover { color: var(--gold); }

@keyframes cookieUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 700px) {
	.cookie-banner { left: 12px; right: 12px; bottom: 12px; flex-wrap: wrap; gap: 14px; padding: 16px; }
	.cookie-icon { width: 38px; height: 38px; font-size: 1.15rem; border-radius: 12px; }
	.cookie-text { flex-basis: calc(100% - 56px); }
	.cookie-actions { width: 100%; }
	.cookie-btn { flex: 1; }
}

/* ==========================================================================
   15. Duyarlı tasarım
   ========================================================================== */
@media (max-width: 1024px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar { position: static; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.footer-about { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
	.menu-toggle { display: grid; }
	.main-nav {
		position: absolute; left: 0; right: 0; top: var(--header-h);
		background: var(--bg-soft); border-bottom: 1px solid var(--border);
		padding: 12px 16px 18px; display: none; margin: 0;
	}
	.main-nav.is-open { display: block; animation: fadeDown .25s var(--ease); }
	.main-nav ul { flex-direction: column; }
	.main-nav a { padding: 12px 14px; border-radius: var(--radius-sm); }
	.header-actions { margin-left: auto; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.container { padding: 0 16px; }
	.featured { aspect-ratio: 4 / 5; min-height: 0; }
	.grid { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
	.search-form .search-submit span { display: none; }
	.entry-content { font-size: 1.03rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
