/*
Theme Name: Kutay Utku
Theme URI: https://wordpress.org/themes/
Author: Kutay Utku
Description: Teknoloji blogları için sade ve profesyonel, açık renkli WordPress teması. Nötr renkler ve tek vurgu rengi; her kategoriye ayrı renk ve ikon (Genel, İnternet, Linux, Mobil, Programlama, Project, Raspberry Pi, Web Tasarım, Windows, Wordpress, Youtube); manşetli ana sayfa, YouTube bölümü, gündem şeridi, otomatik favicon, grafikli kenar çubuğu (okuma halkası, kategori dağılımı, yayın aktivitesi, içindekiler), kod kopyalama ve hızlı arama (/ veya Ctrl+K).
Version: 3.9.1
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kutayutku
Tags: blog, news, light, two-columns, grid-layout, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Değişkenler
   ========================================================================== */
:root {
	--bg: #ffffff;
	--bg-alt: #f7f7f8;
	--line: #e7e7ea;
	--line-2: #d4d4d8;
	--ink: #18181b;
	--ink-2: #3f3f46;
	--muted: #71717a;

	--accent: #2563eb;
	--accent-hover: #1d4ed8;
	--accent-soft: #eff4ff;

	--cat: var(--accent);

	--r-sm: 6px;
	--r: 10px;
	--r-lg: 14px;

	--sh: 0 1px 2px rgba(24, 24, 27, .04), 0 4px 16px -6px rgba(24, 24, 27, .08);
	--sh-lg: 0 24px 48px -16px rgba(24, 24, 27, .22);

	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--container: 1200px;
	--header-h: 68px;

	color-scheme: light;
}

*, *::before, *::after {
	box-sizing: border-box;
	--cat-soft: color-mix(in srgb, var(--cat) 7%, #fff);
}

/* ==========================================================================
   2. Temel
   ========================================================================== */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	font-feature-settings: "cv11", "ss01";
}
body.nav-open, body.search-open { overflow: hidden; }

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-hover); }

img, video { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.25; letter-spacing: -.02em; }

::selection { background: #dbe6fe; color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.icon { width: 1em; height: 1em; flex-shrink: 0; }

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

kbd {
	padding: 1px 6px;
	border-radius: 5px;
	border: 1px solid var(--line-2);
	background: var(--bg);
	color: var(--muted);
	font-family: var(--mono);
	font-size: .7em;
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--bg); color: var(--ink); clip: auto !important; clip-path: none;
	display: block; height: auto; width: auto; left: 12px; top: 12px; padding: 12px 18px;
	z-index: 100000; border-radius: var(--r); box-shadow: var(--sh-lg);
}

/* ==========================================================================
   3. Butonlar & formlar
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: var(--r);
	border: 1px solid transparent;
	font: 600 .9rem/1.2 var(--font);
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s, border-color .15s, color .15s;
}
.btn .icon { font-size: 1.05em; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; }
.btn-ghost { background: var(--bg); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.icon-btn {
	width: 38px;
	height: 38px;
	display: inline-grid;
	place-items: center;
	padding: 0;
	border-radius: var(--r);
	border: 1px solid var(--line);
	background: var(--bg);
	color: var(--ink-2);
	font-size: 17px;
	cursor: pointer;
	transition: all .15s;
}
.icon-btn:hover { border-color: var(--line-2); background: var(--bg-alt); color: var(--ink); }
.icon-btn.is-copied { color: #15803d; border-color: #bbf7d0; background: #f0fdf4; }
.social { display: flex; flex-wrap: wrap; gap: 6px; }

input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], textarea, select {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--line-2);
	border-radius: var(--r);
	background: var(--bg);
	color: var(--ink);
	font: inherit;
	transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
::placeholder { color: var(--muted); opacity: 1; }

.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 5px 5px 14px;
	border: 1px solid var(--line-2);
	border-radius: var(--r);
	background: var(--bg);
	transition: border-color .15s, box-shadow .15s;
}
.search-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-form .search-icon { display: flex; font-size: 17px; color: var(--muted); }
.search-form .search-field { flex: 1; min-width: 0; padding: 8px 2px; border: 0; background: transparent; box-shadow: none; }
.search-form .search-field:focus { box-shadow: none; }

/* ==========================================================================
   4. Gündem şeridi + header
   ========================================================================== */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300; pointer-events: none; }
.read-progress span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .1s linear; }
.admin-bar .read-progress { top: 32px; }

.topbar { border-bottom: 1px solid var(--line); background: var(--bg-alt); font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 38px; }
.topbar-date { flex-shrink: 0; color: var(--muted); }

.headline { display: flex; align-items: center; gap: 12px; min-width: 0; }
.headline-label {
	flex-shrink: 0;
	padding-right: 12px;
	border-right: 1px solid var(--line-2);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--accent);
}
.headline-list { position: relative; min-width: 0; margin: 0; padding: 0; list-style: none; }
.headline-list li { display: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.headline-list li.is-active { display: block; animation: headlineIn .4s ease; }
.headline-list a { color: var(--ink-2); font-weight: 500; }
.headline-list a:hover { color: var(--ink); text-decoration: underline; }
@keyframes headlineIn { from { opacity: 0; transform: translateY(4px); } }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: saturate(180%) blur(10px);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(24, 24, 27, .25); }
.admin-bar .site-header { top: 32px; }

.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.custom-logo { display: block; max-height: 40px; width: auto; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { display: block; flex-shrink: 0; border-radius: 8px; }

.brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; }
.brand-name { font-size: 1.15rem; font-weight: 700; letter-spacing: -.025em; }

.brand-tagline { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; font-weight: 500; color: var(--muted); }

.site-brand { flex-shrink: 0; }
.main-nav { display: flex; flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
.nav-menu { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-menu li { position: relative; }
.nav-menu > li { flex-shrink: 0; }
.nav-menu a { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: var(--r-sm); color: var(--ink-2); font-size: .9rem; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: background .15s, color .15s; }
.nav-menu > li > a:hover, .nav-menu > li:focus-within > a, .nav-menu > li:hover > a { color: var(--ink); background: var(--bg-alt); }
.nav-menu > .current-menu-item > a, .nav-menu > .current-menu-ancestor > a, .nav-menu > .current_page_item > a { color: var(--ink); font-weight: 600; background: var(--bg-alt); }
.nav-menu > .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; opacity: .55; transform: rotate(45deg); transition: transform .2s; }
.nav-menu > .menu-item-has-children:hover > a::after, .nav-menu > .menu-item-has-children:focus-within > a::after { transform: rotate(225deg); margin-top: 3px; }
.nav-menu .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 20;
	min-width: 220px;
	margin: 0;
	padding: 6px;
	list-style: none;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--bg);
	box-shadow: var(--sh-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu .sub-menu a { padding: 9px 12px; border-radius: var(--r-sm); }
.nav-menu .sub-menu a:hover, .nav-menu .sub-menu .current-menu-item > a { color: var(--ink); background: var(--bg-alt); }
.nav-menu > li:last-child > .sub-menu { left: auto; right: 0; }
/* Sığmayan bağlantılar "Daha fazla" listesine taşınır (main.js) */
.nav-more > a { cursor: pointer; }
.nav-more .sub-menu .sub-menu { position: static; min-width: 0; padding: 0 0 0 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
.nav-more .sub-menu .sub-menu::before { display: none; }

.header-actions { display: flex; flex-shrink: 0; align-items: center; gap: 8px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.search-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 180px;
	padding: 8px 8px 8px 12px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--bg-alt);
	color: var(--muted);
	font: 500 .88rem var(--font);
	cursor: pointer;
	transition: border-color .15s;
}
.search-trigger span { flex: 1; text-align: left; }
.search-trigger:hover { border-color: var(--line-2); color: var(--ink-2); }
.menu-toggle { display: none; }

/* Kategori çubuğu */
.cat-nav-list {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}
.cat-nav-list::-webkit-scrollbar { display: none; }
.cat-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 11px 10px;
	color: var(--ink-2);
	font-size: .86rem;
	font-weight: 500;
	white-space: nowrap;
}
.cat-pill-icon { display: inline-flex; font-size: 15px; color: var(--muted); transition: color .15s; }
.cat-pill::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; background: transparent; transition: background .15s; }
.cat-pill:hover { color: var(--ink); }
.cat-pill:hover .cat-pill-icon { color: var(--cat); }
.cat-pill.is-active { color: var(--ink); font-weight: 600; }
.cat-pill.is-active .cat-pill-icon { color: var(--cat); }
.cat-pill.is-active::after { background: var(--cat); }
.cat-pill--home .icon { font-size: 15px; color: var(--muted); }
.cat-pill--home.is-active::after { background: var(--ink); }

/* Mobil menü */
.drawer { position: fixed; inset: 0; z-index: 400; visibility: hidden; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(24, 24, 27, .35); opacity: 0; transition: opacity .25s; }
.drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(340px, 88vw);
	padding: 18px;
	overflow-y: auto;
	background: var(--bg);
	box-shadow: var(--sh-lg);
	transform: translateX(100%);
	transition: transform .25s ease;
}
.nav-open .drawer { visibility: visible; }
.nav-open .drawer-backdrop { opacity: 1; }
.nav-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer-menu, .drawer-menu .sub-menu { margin: 0; padding: 0; list-style: none; }
.drawer-menu .sub-menu { padding-left: 14px; }
.drawer-menu a { display: block; padding: 10px 8px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.drawer-label { display: block; margin: 20px 0 8px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.drawer-cats { margin: 0 0 20px; padding: 0; list-style: none; }
.drawer-cats a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: var(--r-sm); color: var(--ink); font-weight: 500; }
.drawer-cats a:hover { background: var(--bg-alt); }
.drawer-cats small { margin-left: auto; color: var(--muted); }
.dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--cat); }

/* Arama */
.search-overlay {
	position: fixed;
	inset: 0;
	z-index: 500;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 12vh 16px 16px;
	background: rgba(24, 24, 27, .3);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	animation: fadeIn .15s ease;
}
.search-overlay[hidden] { display: none; }
.search-panel { width: 100%; max-width: 640px; padding: 22px; border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--sh-lg); }
.search-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.search-panel .cat-chips { margin-top: 0; }
.search-hint { margin: 16px 0 0; font-size: .78rem; color: var(--muted); }
@keyframes fadeIn { from { opacity: 0; } }

/* ==========================================================================
   5. Bölümler
   ========================================================================== */
.section { padding: 48px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-kicker, .eyebrow { display: block; margin: 0 0 4px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.section-title { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -.025em; }
.section-link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.section-link:hover { color: var(--accent); }
.section-foot { margin-top: 28px; text-align: center; }
.load-more .icon { transition: transform .4s ease; }
.load-more:hover .icon { transform: rotate(90deg); }
.load-more.is-loading { opacity: .7; pointer-events: none; }
.load-more.is-loading .icon { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.block-title { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ==========================================================================
   6. Giriş
   ========================================================================== */
.intro { padding: 44px 0 8px; }
.intro-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.intro-text { max-width: 700px; }
.intro-title { margin: 6px 0 12px; font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.intro-title em, .intro-title strong { font-style: normal; color: var(--accent); }
.intro-lead { margin: 0; max-width: 580px; font-size: 1.08rem; color: var(--ink-2); }
.intro-search { max-width: 560px; margin-top: 24px; }
.intro-search .search-form { padding: 6px 6px 6px 16px; box-shadow: 0 1px 2px rgba(24, 24, 27, .04), 0 8px 24px -12px rgba(24, 24, 27, .15); }
.intro-search .search-field { padding: 10px 2px; font-size: 1rem; }
.intro-search .search-submit { padding: 11px 22px; }
.intro-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.intro-topics-label { margin-right: 2px; color: var(--muted); font-size: .82rem; }
.topic-chip { padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink-2); font-size: .82rem; font-weight: 500; transition: border-color .15s, color .15s; }
.topic-chip::before { content: "#"; margin-right: 1px; color: var(--muted); }
.topic-chip:hover { border-color: var(--line-2); color: var(--ink); }
.intro-stats { display: flex; gap: 0; margin: 0; flex-shrink: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--sh); }
.intro-stats div { display: flex; flex-direction: column-reverse; min-width: 96px; padding: 14px 20px; }
.intro-stats div + div { border-left: 1px solid var(--line); }
.intro-stats dt { font-size: .8rem; color: var(--muted); }
.intro-stats dd { margin: 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }

/* ==========================================================================
   7. Kartlar
   ========================================================================== */
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--bg-alt); }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.03); }

/* Görsel yoksa: sade yer tutucu */
.ph {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: var(--cat-soft);
	border: 1px solid color-mix(in srgb, var(--cat) 12%, #fff);
	border-radius: inherit;
}
.ph-icon { display: grid; place-items: center; font-size: 40px; color: var(--cat); opacity: .55; }

/* Oynat işareti (YouTube yazıları) */
.play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 52px;
	height: 52px;
	margin: -26px 0 0 -26px;
	border-radius: 50%;
	background: rgba(24, 24, 27, .78);
	transition: background .15s;
}
.play-btn::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -9px 0 0 -5px;
	border-style: solid;
	border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent #fff;
}
.card:hover .play-btn { background: #dc2626; }
.play-btn--lg { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.play-btn--lg::before { margin: -13px 0 0 -7px; border-width: 13px 0 13px 22px; }

.card-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding-top: 14px; }
.card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.card-title { margin: 0; font-size: 1.08rem; font-weight: 700; line-height: 1.35; letter-spacing: -.015em; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--accent); }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-excerpt { margin: 0; font-size: .93rem; color: var(--ink-2); }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: auto; font-size: .8rem; color: var(--muted); }
.card-meta > * + *::before { content: "·"; margin: 0 8px; color: var(--line-2); }
.meta-author { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink-2); }
.meta-author .avatar-wrap { box-shadow: none; }
.meta-item { display: inline-flex; align-items: center; gap: 5px; color: inherit; }
a.meta-item:hover { color: var(--accent); }

/* Kategori etiketi: renkli nokta + yazı */
.cat-badge {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink);
}
.cat-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cat); }
.cat-badge .icon { display: none; }
.cat-badge:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sticky-badge { font-size: .72rem; font-weight: 600; color: var(--muted); }
.new-badge { position: relative; z-index: 2; padding: 2px 8px; border-radius: 999px; background: #ecfdf5; color: #047857; font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

/* Manşet kartı */
.card--lead .card-media { aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
.card--lead .card-body { gap: 10px; padding-top: 18px; }
.card--lead .card-title { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; letter-spacing: -.03em; }
.card--lead .card-excerpt { font-size: 1.02rem; }
.card--lead .ph-icon { font-size: 72px; }

/* Yatay kart */
.row-list { display: flex; flex-direction: column; }
.card--row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.card--row:first-child { padding-top: 0; }
.card--row:last-child { border-bottom: 0; }
.card--row .card-media { aspect-ratio: 3 / 2; }
.card--row .card-body { padding-top: 0; justify-content: center; }
.card--row .card-title { font-size: 1.2rem; }
.card--row .card-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card--row .card-meta { margin-top: 4px; }
.card--row .ph-icon { font-size: 32px; }

/* Mini */
.card--mini { flex-direction: row; align-items: center; gap: 12px; }
.card--mini .card-media { width: 80px; height: 60px; flex-shrink: 0; aspect-ratio: auto; border-radius: var(--r-sm); }
.card--mini .card-body { padding: 0; gap: 4px; }
.card--mini .card-title { font-size: .93rem; }
.card--mini .ph-icon { font-size: 20px; }

/* Video */
.card--video .card-media { aspect-ratio: 16 / 9; }
.card--video .card-title { font-size: 1rem; }

.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }

/* ==========================================================================
   8. Manşet bölümü
   ========================================================================== */
.section--lead { padding-top: 32px; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, .9fr); gap: 32px; }
.lead-grid--n1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.lead-side { display: flex; flex-direction: column; gap: 28px; padding-left: 32px; border-left: 1px solid var(--line); }
.lead-side .card-media { aspect-ratio: 16 / 9; }
.lead-popular { padding-left: 32px; border-left: 1px solid var(--line); }
.rank-list { margin: 0; padding: 0; list-style: none; counter-reset: rank; }
.rank-list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); counter-increment: rank; }
.rank-list li:first-child { padding-top: 4px; }
.rank-list li:first-child::before { top: 2px; }
.rank-list li:last-child { border-bottom: 0; }
.rank-list li::before { content: counter(rank); position: absolute; left: 0; top: 12px; font-size: 1.3rem; font-weight: 700; line-height: 1; color: var(--line-2); }
.rank-cat { display: block; margin-bottom: 3px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.rank-title { display: block; color: var(--ink); font-size: .93rem; font-weight: 600; line-height: 1.4; }
.rank-title:hover { color: var(--accent); }
.rank-views { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: .74rem; color: var(--muted); }

/* ==========================================================================
   9. Kategoriler
   ========================================================================== */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cat-tile {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--bg);
	color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
}
.cat-tile:hover { color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh); }
.cat-tile-icon { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; border-radius: var(--r-sm); background: var(--cat-soft); color: var(--cat); font-size: 19px; }
.cat-tile-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cat-tile-name { font-weight: 600; }
.cat-tile-count { font-size: .8rem; color: var(--muted); }
.cat-tile-latest { display: block; margin-top: 8px; padding-top: 8px; overflow: hidden; border-top: 1px dashed var(--line); color: var(--ink-2); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.cat-tile-latest span { color: var(--muted); }
.cat-tile > .icon { align-self: center; color: var(--line-2); transition: color .15s, transform .15s; }
.cat-tile:hover > .icon { color: var(--ink); transform: translateX(2px); }

/* ==========================================================================
   10. Son yazılar + yan sütun
   ========================================================================== */
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.home-aside { display: flex; flex-direction: column; gap: 20px; }
/* Hakkında / profil kartı */
.about-card { position: relative; overflow: hidden; padding: 0 22px 22px; text-align: center; }
.about-cover { position: relative; height: 88px; margin: 0 -22px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #f7f7f8 0%, #ececef 100%); }
.about-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(24, 24, 27, .09) 1px, transparent 1.3px); background-size: 14px 14px; }
.about-cover::after { content: ""; position: absolute; top: 14px; right: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.about-avatar { display: flex; justify-content: center; margin-top: -40px; }
.about-avatar .avatar-wrap { box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line), 0 8px 18px -8px rgba(24, 24, 27, .25); }
.about-kicker { display: block; margin-top: 14px; color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.about-name { margin: 2px 0 0; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.about-tagline { margin: 2px 0 0; color: var(--muted); font-size: .84rem; }
.about-bio { margin: 14px 0 18px; color: var(--ink-2); font-size: .9rem; line-height: 1.65; }
.about-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 16px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-alt); }
.about-stats div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 11px 4px; }
.about-stats div + div { border-left: 1px solid var(--line); }
.about-stats dt { color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.about-stats dd { margin: 0; color: var(--ink); font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }
.about-more { width: 100%; margin-bottom: 14px; border-color: var(--line); background: var(--bg-alt); color: var(--ink); }
.about-more:hover { border-color: var(--line-2); background: #efeff1; color: var(--ink); }
.about-social { justify-content: center; }

.yt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

/* Projeler */
.section--projects { position: relative; }
.projects-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.projects-icon { width: 56px; height: 56px; display: grid; place-items: center; flex-shrink: 0; border-radius: 14px; background: var(--cat-soft); border: 1px solid color-mix(in srgb, var(--cat) 18%, #fff); color: var(--cat); font-size: 26px; }
.projects-head-text { flex: 1; min-width: 0; }
.projects-head-text p { max-width: 560px; margin: 4px 0 0; color: var(--ink-2); font-size: .92rem; }
.projects-head-side { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.projects-count { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.projects-count strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.projects-count span { color: var(--muted); font-size: .76rem; }

.project-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--sh); }
.project-feature-media { position: relative; display: block; min-height: 320px; overflow: hidden; background: var(--bg-alt); }
.project-feature-media img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s ease; }
.project-feature:hover .project-feature-media img { transform: scale(1.03); }
.project-feature-media .ph { border: 0; border-radius: 0; }
.project-feature-media .ph-icon { font-size: 80px; }
.project-feature-body { display: flex; flex-direction: column; gap: 14px; padding: 30px 32px; }
.project-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.project-flag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--cat-soft); color: var(--cat); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.project-flag .icon { font-size: 12px; }
.project-feature-title { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; }
.project-feature-title a { color: var(--ink); }
.project-feature-title a:hover { color: var(--accent); }
.project-feature-excerpt { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.65; }
.project-stack { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.project-label { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.project-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.project-link .icon { font-size: 15px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.project-meta span { display: inline-flex; align-items: center; gap: 6px; }

.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.archive-body .projects-grid { margin-top: 0; }
.card--project { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); transition: border-color .15s, box-shadow .15s, transform .15s; }
.card--project:hover { border-color: var(--line-2); box-shadow: var(--sh); transform: translateY(-2px); }
.card--project .card-media { border-radius: 0; aspect-ratio: 16 / 9; }
.card--project .card-body { gap: 10px; padding: 16px 18px 18px; }
.card--project .stack-chips { margin-top: 2px; }

.stack-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-chip { padding: 3px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-alt); color: var(--ink-2); font-family: var(--mono); font-size: .72rem; line-height: 1.4; }
.status-pill { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: .7rem; font-weight: 600; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.is-completed { background: #ecfdf5; color: #047857; }
.status-pill.is-in-progress { background: #fffbeb; color: #b45309; }
.status-pill.is-planned { background: #f4f4f5; color: #52525b; }

/* Proje yazısı: bilgi kutusu */
.project-box { display: flex; flex-direction: column; gap: 14px; margin: 0 0 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-alt); }
.project-box-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.project-box-head strong { flex: 1; color: var(--ink); }
.project-box-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.project-box .stack-chip { background: var(--bg); }

/* Kategorilere göre (3 sütun) */
.topic-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.topic-col { display: flex; flex-direction: column; min-width: 0; padding-top: 16px; border-top: 2px solid var(--cat); }
.topic-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.topic-icon { width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; border-radius: 8px; background: var(--cat-soft); color: var(--cat); font-size: 16px; }
.topic-head h3 { flex: 1; min-width: 0; margin: 0; font-size: 1.05rem; }
.topic-head h3 a { color: var(--ink); }
.topic-head h3 a:hover { color: var(--accent); }
.topic-all { flex-shrink: 0; color: var(--muted); font-size: .8rem; font-weight: 600; }
.topic-all:hover { color: var(--ink); }
.topic-col .card--grid .card-media { aspect-ratio: 16 / 9; }
.topic-list { margin: 16px 0 0; padding: 0; list-style: none; }
.topic-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.topic-list a { display: block; color: var(--ink); font-size: .94rem; font-weight: 600; line-height: 1.4; }
.topic-list a:hover { color: var(--accent); }
.topic-list time { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; }

.subscribe {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 24px;
	padding: 32px 36px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--bg-alt);
}
.subscribe h2 { margin: 0 0 4px; font-size: 1.35rem; }
.subscribe p { margin: 0; color: var(--ink-2); }
.subscribe-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.subscribe-icon { width: 52px; height: 52px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 22px; }
.subscribe-text { flex: 1; min-width: 0; }
.subscribe-actions { align-items: center; }
.subscribe-social .icon-btn { border-radius: 50%; }

/* ==========================================================================
   11. Liste sayfaları
   ========================================================================== */
.archive-hero { padding: 36px 0 0; }
.archive-hero-inner { position: relative; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.archive-title-row { display: flex; align-items: center; gap: 16px; margin: 14px 0 10px; }
.archive-icon { width: 52px; height: 52px; display: grid; place-items: center; flex-shrink: 0; border-radius: var(--r); background: var(--cat-soft); color: var(--cat); font-size: 24px; }
.archive-title { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
.archive-count { font-size: .85rem; color: var(--muted); }
.archive-desc { max-width: 680px; color: var(--ink-2); }
.archive-desc p { margin: 0; }
.archive-bg { display: none; }
.archive-body { padding-top: 36px; padding-bottom: 24px; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .icon { font-size: 12px; opacity: .6; }

.cat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.cat-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--bg);
	color: var(--ink-2);
	font-size: .84rem;
	font-weight: 500;
	transition: border-color .15s, color .15s;
}
.cat-chip .icon { font-size: 14px; color: var(--cat); }
.cat-chip small { color: var(--muted); }
.cat-chip:hover { border-color: var(--line-2); color: var(--ink); }
.cat-chip.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.cat-chip.is-active small, .cat-chip.is-active .icon { color: rgba(255, 255, 255, .7); }

.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 48px; }
.page-numbers {
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: var(--r);
	color: var(--ink-2);
	font-size: .9rem;
	font-weight: 600;
}
a.page-numbers:hover { border-color: var(--line-2); color: var(--ink); }
.page-numbers.current { border-color: var(--ink); background: var(--ink); color: #fff; }
.page-numbers.dots { border: 0; }

.no-results { max-width: 520px; margin: 24px auto; text-align: center; }
.no-results-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 12px; border-radius: var(--r-lg); background: var(--bg-alt); color: var(--muted); font-size: 28px; }
.no-results h2 { margin: 0 0 6px; }
.no-results p { margin: 0 0 22px; color: var(--muted); }

/* ==========================================================================
   12. Tekil yazı
   ========================================================================== */
.post-header { padding: 0 0 28px; }
.post-header .card-top { margin-top: 16px; }
.post-title { margin: 12px 0 14px; font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -.04em; }
.post-lead { margin: 0 0 22px; font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.post-author { display: inline-flex; align-items: center; gap: 10px; }
.post-author .avatar-wrap { box-shadow: none; }
.post-author a { display: block; color: var(--ink); font-weight: 600; line-height: 1.2; }
.post-author small { font-size: .8rem; }
.meta-sep { width: 1px; height: 24px; background: var(--line); }

.post-cover { position: relative; margin: 0 0 36px; }
.page-full .post-header { padding-top: 40px; }
.page-full .post-cover { max-width: 1060px; margin: 0 auto; }

/* Yazı başlığı: konum yolu, kategori, başlık, bilgi şeridi */
.post-header .breadcrumbs { gap: 8px; }
.bc-home { display: inline-flex; align-items: center; gap: 6px; }
.bc-home .icon { font-size: 14px; }
.breadcrumbs { flex-wrap: nowrap; min-width: 0; }
.breadcrumbs > a, .breadcrumbs > .icon { flex-shrink: 0; }
.bc-current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); font-weight: 500; }
.post-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.post-cat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 13px 4px 4px;
	border: 1px solid color-mix(in srgb, var(--cat) 22%, #fff);
	border-radius: 999px;
	background: var(--cat-soft);
	color: var(--cat);
	font-size: .8rem;
	font-weight: 700;
	transition: background .15s, color .15s;
}
.post-cat:hover { background: var(--cat); color: #fff; }
.post-cat-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--cat); color: #fff; font-size: 12px; }
.post-cat:hover .post-cat-icon { background: #fff; color: var(--cat); }
.post-header .post-title { width: 100%; max-width: 100%; margin: 16px 0 12px; font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.15; letter-spacing: -.04em; text-wrap: wrap; }
.post-header .post-lead { margin: 0 0 4px; font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); }

.post-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 26px;
	padding: 18px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.byline-author { display: flex; align-items: center; gap: 14px; min-width: 0; }
.byline-text { min-width: 0; }
.byline-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.byline-name { color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.byline-name:hover { color: var(--accent); }
.byline-role { padding: 2px 8px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.byline-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 5px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .86rem; }
.byline-meta li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.byline-meta li + li::before { content: ""; width: 3px; height: 3px; margin: 0 12px; border-radius: 50%; background: var(--line-2); }
.byline-meta .icon { font-size: 14px; opacity: .8; }
.byline-meta a { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.byline-meta a:hover { color: var(--accent); }
.byline-share { display: flex; align-items: center; gap: 6px; }
.byline-share-label { margin-right: 4px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.byline-share-sep { width: 1px; height: 22px; margin: 0 6px; background: var(--line); }
.print-only { display: none; }
.byline-share .icon-btn { width: 36px; height: 36px; border-radius: 50%; font-size: 15px; }
.post-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 32px; padding-bottom: 16px; }
.article-card { max-width: 100%; }
.page-body { padding-top: 28px; }

/* İçerik tipografisi */
.entry-content { font-size: 1.07rem; line-height: 1.8; color: var(--ink-2); }
.entry-content > * { margin-top: 0; margin-bottom: 1.35em; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { width: 100%; max-width: 100%; margin-top: 1.9em; margin-bottom: .55em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 70px); }
.entry-content h2 { font-size: 1.55rem; }
.entry-content h3 { font-size: 1.25rem; }
.entry-content h4 { font-size: 1.08rem; }
.entry-content a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--accent); }
.entry-content strong, .entry-content b { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin: .4em 0; }
.entry-content li::marker { color: var(--muted); }
.entry-content blockquote, .wp-block-quote {
	margin: 2em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--ink);
	color: var(--ink);
	font-size: 1.15rem;
	font-weight: 500;
}
.entry-content blockquote p:last-of-type { margin-bottom: 0; }
.entry-content blockquote cite, .wp-block-quote cite { display: block; margin-top: 8px; font-size: .85rem; font-style: normal; font-weight: 400; color: var(--muted); }
.wp-block-pullquote { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); color: var(--ink); }
.wp-block-pullquote blockquote { border: 0; padding: 0; }

.entry-content :not(pre) > code { padding: 2px 6px; border-radius: 5px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink); font-family: var(--mono); font-size: .85em; }
.entry-content pre {
	margin: 0 0 1.35em;
	padding: 18px 20px;
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: #fafafa;
	color: var(--ink);
	font-family: var(--mono);
	font-size: .86rem;
	line-height: 1.7;
	tab-size: 4;
}
.entry-content pre code { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; }
.code-wrap { position: relative; margin-bottom: 1.35em; }
.code-wrap pre { margin: 0 !important; padding-top: 40px; }
.copy-btn {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	padding: 4px 10px;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: var(--bg);
	color: var(--muted);
	font: 600 .74rem var(--font);
	cursor: pointer;
}
.copy-btn:hover { border-color: var(--line-2); color: var(--ink); }
.copy-btn.is-copied { border-color: #bbf7d0; color: #15803d; }

.entry-content table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.wp-block-table { overflow-x: auto; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { color: var(--ink); font-weight: 600; border-bottom-color: var(--line-2); }
.entry-content hr, .wp-block-separator { height: 1px; margin: 2.5em 0; border: 0; background: var(--line); }
.entry-content img { border-radius: var(--r); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content iframe, .entry-content embed, .entry-content video { max-width: 100%; border-radius: var(--r); }
.wp-block-embed.is-type-video iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
figcaption, .wp-caption-text, .wp-element-caption, .gallery-caption { margin-top: 8px; font-size: .84rem; color: var(--muted); text-align: center; }
mark { padding: 0 3px; border-radius: 3px; background: #fef9c3; color: inherit; }

.wp-block-button__link { padding: 11px 20px; border-radius: var(--r); background: var(--ink); color: #fff !important; font-weight: 600; text-decoration: none !important; }
.wp-block-button__link:hover { background: #000; }
.is-style-outline .wp-block-button__link { background: transparent; border: 1px solid var(--ink); color: var(--ink) !important; }

.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide, .alignfull { width: 100%; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor { /* WordPress gereksinimi */ }

/* Ara başlık bağlantısı (#) */
.heading-anchor { margin-left: 10px; color: var(--line-2); font-weight: 600; text-decoration: none !important; opacity: 0; transition: opacity .15s, color .15s; }
.entry-content h2:hover .heading-anchor, .entry-content h3:hover .heading-anchor, .heading-anchor:focus { opacity: 1; }
.heading-anchor:hover { color: var(--accent); }
.heading-anchor.is-copied { color: #15803d; opacity: 1; }
.heading-anchor.is-copied::after { content: " ✓"; font-size: .7em; }

/* Yazı içi tipografi */
.entry-content > p:first-child { color: var(--ink); font-size: 1.14rem; line-height: 1.75; }
.entry-content h2 { padding-top: .4em; }
.entry-content .wp-block-image img, .entry-content > figure img { border: 1px solid var(--line); }
.entry-content .wp-block-table, .entry-content > table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.entry-content .wp-block-table table { margin: 0; }
.entry-content .wp-block-table td, .entry-content .wp-block-table th { border-bottom: 1px solid var(--line); }
.entry-content tbody tr:nth-child(even) { background: #fafafa; }
.entry-content tbody tr:last-child td { border-bottom: 0; }
.entry-content p.has-background { padding: 16px 20px; border-radius: var(--r); }
.entry-content .wp-block-details { padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); }
.entry-content .wp-block-details summary { cursor: pointer; font-weight: 600; color: var(--ink); }

/* Yukarı çık */
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 24px; font-weight: 600; }
.page-links a, .page-links > span:not(:first-child) { padding: 3px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); }

.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 36px; }
.post-tags-label { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; color: var(--ink); font-size: .85rem; font-weight: 700; }
.post-tags-label .icon { color: var(--muted); }
.tag-link { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: .82rem; }
.tag-link::before { content: "#"; color: var(--muted); }
.tag-link:hover { border-color: var(--line-2); color: var(--ink); }

.post-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-label { font-size: .9rem; font-weight: 600; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 6px; }

.author-box { display: flex; gap: 18px; max-width: 100%; margin-top: 32px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--sh); }
.author-box .avatar-wrap { align-self: flex-start; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line); }
.author-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.author-name { margin: 2px 0 6px; font-size: 1.1rem; }
.author-name a { color: var(--ink); }
.author-bio { margin: 0 0 8px; font-size: .92rem; color: var(--ink-2); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.post-nav a { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.post-nav a:hover { border-color: var(--line-2); box-shadow: var(--sh); }
.post-nav-thumb { width: 72px; height: 72px; flex-shrink: 0; overflow: hidden; border-radius: var(--r); background: var(--bg-alt); }
.post-nav-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-nav-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.post-nav small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.post-nav strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .93rem; line-height: 1.4; }
.post-nav em { color: var(--muted); font-size: .76rem; font-style: normal; }
.post-nav-next { flex-direction: row-reverse; text-align: right; }
.post-nav-next .post-nav-body { align-items: flex-end; }
.post-nav-next small { flex-direction: row-reverse; }

.related { margin-top: 24px; background: var(--bg-alt); border-top: 1px solid var(--line); }

/* ==========================================================================
   13. Kenar çubuğu
   ========================================================================== */
.sidebar, .sidebar-scroll { display: flex; flex-direction: column; gap: 20px; }

/* Yazı sayfası: İçindekiler en altta; üstteki bileşenler geçilince ekranda sabit kalır */
.post-aside .sidebar { height: 100%; }
.post-aside .widget-toc { position: sticky; top: calc(var(--header-h) + 64px); }
.admin-bar .post-aside .widget-toc { top: calc(var(--header-h) + 96px); }

.widget[hidden] { display: none; }

.widget { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); font-size: .92rem; }
.widget-title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .95rem; font-weight: 700; }
.widget-title .icon { width: 28px; height: 28px; padding: 6px; border-radius: 8px; background: var(--bg-alt); color: var(--ink-2); }
.widget ul, .widget ol { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { padding-bottom: 0; border-bottom: 0; }
.widget li:first-child { padding-top: 0; }
.widget a { color: var(--ink-2); }
.widget a:hover { color: var(--ink); }

/* Bu yazı: okunma sayısı + bilgiler */
.views-stat { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.views-icon { width: 48px; height: 48px; display: grid; place-items: center; flex-shrink: 0; border-radius: 12px; background: var(--cat-soft); color: var(--cat); font-size: 22px; }
.views-stat strong { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); }
.views-stat span { font-size: .82rem; color: var(--muted); }
.widget .stat-list { display: grid; gap: 9px; }
.widget .stat-list li { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; font-size: .85rem; color: var(--muted); }
.stat-list b { margin-left: auto; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* Resimli yazı listesi (Son Yazılar, En Çok Okunanlar) */
.widget .wlist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; counter-reset: wrank; }
.widget .wlist > li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0; border: 0; }
.wthumb { position: relative; width: 64px; height: 64px; flex-shrink: 0; overflow: hidden; border-radius: var(--r-sm); background: var(--bg-alt); }
.wthumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wlist li:hover .wthumb img { transform: scale(1.06); }
.wthumb .no-image { border: 1px solid var(--line); border-radius: inherit; }
.wlist--ranked > li { counter-increment: wrank; }
.wlist--ranked .wthumb::after {
	content: counter(wrank);
	position: absolute;
	top: 4px;
	left: 4px;
	min-width: 20px;
	height: 20px;
	display: grid;
	place-items: center;
	border-radius: 6px;
	background: var(--ink);
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
}
.wbody { display: flex; flex-direction: column; flex: 1; gap: 4px; min-width: 0; }
.widget .wtitle { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); font-size: .88rem; font-weight: 600; line-height: 1.4; }
.widget .wtitle:hover { color: var(--accent); }
.wmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .74rem; color: var(--muted); }
.wcat { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--ink); }
.wcat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cat); }
.wempty { margin: 0; font-size: .88rem; color: var(--muted); }

/* Son yorumlar (avatarlı) */
.widget .wlist--comments > li { align-items: flex-start; }
.wlist--comments .avatar-wrap { margin-top: 2px; }
.wc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: .84rem; }
.wc-head strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 600; }
.wc-head time { flex-shrink: 0; font-size: .72rem; color: var(--muted); }
.widget .wc-text { display: block; max-width: 100%; padding: 7px 10px; border-radius: 0 var(--r) var(--r) var(--r); background: var(--bg-alt); color: var(--ink-2); font-size: .84rem; line-height: 1.45; overflow-wrap: anywhere; word-break: break-word; }
.widget .wc-text:hover { color: var(--ink); background: #f0f0f2; }
.wc-post { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: .72rem; color: var(--muted); }
.wc-post .icon { flex-shrink: 0; }
.wc-post span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.widget .wtitle { overflow-wrap: anywhere; }

/* Kategoriler (ikonlu) */
.widget .cat-list, .widget .cat-list .children { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.widget .cat-list li { padding: 0; border: 0; }
.widget .cat-list .children { margin: 2px 0 4px 22px; padding-left: 12px; border-left: 1px solid var(--line); }
.cat-list a { display: flex; align-items: center; gap: 11px; margin: 0 -8px; padding: 7px 8px; border-radius: var(--r-sm); color: var(--ink-2); transition: background .15s; }
.cat-list a:hover { background: var(--bg-alt); color: var(--ink); }
.cl-icon { width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; border-radius: 8px; background: var(--cat-soft); color: var(--cat); font-size: 16px; transition: all .15s; }
.cat-list a:hover .cl-icon, .cat-list .is-active > a .cl-icon { background: var(--cat); color: #fff; }
.cl-body { display: flex; flex-direction: column; flex: 1; gap: 5px; min-width: 0; }
.cl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; font-weight: 600; line-height: 1.2; }
.cl-bar { height: 3px; overflow: hidden; border-radius: 3px; background: #f0f0f2; }
.cl-bar i { display: block; height: 100%; border-radius: 3px; background: var(--cat); opacity: .7; }
.cat-list .is-active > a { background: var(--cat-soft); color: var(--ink); }
.cat-list .children .cl-icon { width: 26px; height: 26px; font-size: 13px; }
.count { min-width: 26px; padding: 1px 7px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 600; text-align: center; }

/* Arşivler (yıl → ay) */
.widget .archive-tree { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.widget .archive-tree li { padding: 0; border: 0; }
.archive-tree details { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.archive-tree details[open] { background: var(--bg-alt); }
.archive-tree summary { display: flex; align-items: center; gap: 10px; padding: 9px 12px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.archive-tree summary::-webkit-details-marker { display: none; }
.archive-tree summary > .icon:first-child { font-size: 16px; color: var(--muted); }
.archive-tree summary .at-year { flex: 1; }
.archive-tree summary .icon-chevron { color: var(--muted); transition: transform .2s; }
.archive-tree details[open] summary .icon-chevron { transform: rotate(90deg); }
.archive-tree summary:hover .icon-chevron { color: var(--ink); }
.archive-tree details ul { display: grid; gap: 1px; padding: 0 8px 8px; }
.archive-tree details ul a { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: var(--r-sm); color: var(--ink-2); font-size: .86rem; }
.archive-tree details ul a .icon { font-size: 14px; color: var(--muted); }
.archive-tree details ul a span:first-of-type { flex: 1; }
.archive-tree details ul a:hover { background: var(--bg); color: var(--ink); }
.archive-tree .is-active a { background: var(--bg); color: var(--ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--accent); }
.archive-tree .at-all a { justify-content: space-between; color: var(--accent); font-size: .8rem; font-weight: 600; }

/* Blok bileşen başlıkları (WordPress bileşen editörü) */
.widget_block h2, .widget_block .wp-block-heading { margin: 0 0 14px; font-size: .95rem; font-weight: 700; }

/* Grafikler */
.chart-summary { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.chart-summary strong { font-size: 1.5rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.chart-summary span { font-size: .8rem; color: var(--muted); }

.widget .bar-list { display: grid; gap: 2px; }
.widget .bar-list li { padding: 0; border: 0; }
.bar-row a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 10px; margin: 0 -6px; padding: 5px 6px; border-radius: var(--r-sm); }
.bar-row a:hover { background: var(--bg-alt); }
.bar-label { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.bar-label .icon { font-size: 14px; color: var(--cat); }
.bar-here { padding: 0 6px; border-radius: 999px; background: var(--cat-soft); color: var(--cat); font-size: .64rem; font-style: normal; font-weight: 600; }
.bar-row.is-current .bar-label { color: var(--ink); font-weight: 600; }
.bar-value { font-size: .82rem; font-weight: 600; color: var(--ink); }
.bar-track { grid-column: 1 / -1; height: 6px; overflow: hidden; border-radius: 3px; background: #f0f0f2; }
.bar-fill { display: block; width: var(--w); height: 100%; border-radius: 3px; background: var(--cat); transform-origin: left center; animation: grow .8s cubic-bezier(.2, .8, .2, 1) both; }
.bar-row:not(.is-current) .bar-fill { opacity: .75; }
@keyframes grow { from { transform: scaleX(0); } }

.chart-readout { min-height: 1.4em; margin: 0 0 10px; font-size: .78rem; color: var(--ink-2); }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 80px; padding-bottom: 2px; border-bottom: 1px solid var(--line-2); }
.spark-col { position: relative; display: flex; align-items: flex-end; flex: 1; height: 100%; }
.spark-col::before { content: ""; position: absolute; inset: 0 -2px; }
.spark-bar { display: block; width: 100%; height: var(--h); border-radius: 3px 3px 0 0; background: var(--accent); opacity: .3; transform-origin: bottom; animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; transition: opacity .15s; }
.spark-col.is-zero .spark-bar { height: 2px; background: var(--line-2); opacity: 1; }
.spark-col.is-now .spark-bar, .spark-col:hover .spark-bar, .spark-col.is-active .spark-bar { opacity: 1; }
@keyframes rise { from { transform: scaleY(0); } }
.spark-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: .7rem; color: var(--muted); }

/* Popüler */
.widget .pop-list { display: grid; gap: 14px; }
.widget .pop-item { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; }
.pop-thumb { position: relative; width: 60px; height: 60px; flex-shrink: 0; overflow: hidden; border-radius: var(--r-sm); background: var(--bg-alt); }
.pop-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pop-thumb .ph-icon { font-size: 20px; }
.pop-rank { display: none; }
.pop-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.widget .pop-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .88rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.widget .pop-title:hover { color: var(--accent); }
.pop-meta { display: flex; align-items: center; gap: 10px; font-size: .72rem; color: var(--muted); }
.pop-cat { font-weight: 600; color: var(--ink); }

/* İçindekiler (kenar çubuğu: en üstte, sabit) */
.widget-toc { border-color: var(--line-2); }
.toc-progress { height: 3px; margin-bottom: 12px; overflow: hidden; border-radius: 3px; background: #f0f0f2; }
.toc-progress span { display: block; width: 0; height: 100%; background: var(--cat); transition: width .1s linear; }
.widget .toc-list { position: relative; max-height: calc(100vh - var(--header-h) - 230px); overflow-y: auto; border-left: 1px solid var(--line); scroll-behavior: smooth; }
.widget .toc-list li { padding: 0; border: 0; }
.widget .toc-list a { display: flex; gap: 8px; margin-left: -1px; padding: 5px 0 5px 12px; border-left: 2px solid transparent; font-size: .85rem; line-height: 1.4; color: var(--muted); }
.widget .toc-list .toc-h3 a { padding-left: 24px; font-size: .8rem; }
.widget .toc-list a:hover { color: var(--ink); }
.widget .toc-list a.is-active { border-left-color: var(--cat); color: var(--ink); font-weight: 600; }
.toc-num { flex-shrink: 0; min-width: 18px; color: var(--line-2); font-variant-numeric: tabular-nums; font-weight: 600; }
.is-active > .toc-num { color: var(--cat); }

/* Avatar: baş harfler + üstünde (varsa) resim */
.avatar-wrap {
	position: relative;
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	width: var(--av-size);
	height: var(--av-size);
	overflow: hidden;
	border-radius: 50%;
	background: color-mix(in srgb, var(--av) 13%, #fff);
	box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--line);
	color: var(--av);
	font-size: calc(var(--av-size) * .38);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.02em;
}
.avatar-wrap img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; border-radius: 50%; object-fit: cover; background: var(--bg); }

.tagcloud a, .wp-block-tag-cloud a { display: inline-block; margin: 0 5px 7px 0; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: .8rem !important; }
.tagcloud a:hover, .wp-block-tag-cloud a:hover { border-color: var(--line-2); color: var(--ink); }

/* ==========================================================================
   14. Yorumlar
   ========================================================================== */
.comments-area { max-width: 100%; margin-top: 48px; }
.comments-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.comments-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.3rem; font-weight: 800; }
.comments-title .icon { width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: var(--bg-alt); color: var(--ink); }
.btn-sm { padding: 7px 12px; font-size: .84rem; }

/* Yorum listesi */
.comment-list, .comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { margin-left: 22px; padding-left: 26px; border-left: 2px solid var(--line); }
.comment-body { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-list .children .comment-body { padding-top: 16px; }
.comment-main { flex: 1; min-width: 0; }
.comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 6px; }
.comment-author-name, .comment-author-name a { color: var(--ink); font-weight: 700; }
.author-badge { padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.comment-time { color: var(--muted); font-size: .8rem; }
.comment-time:hover { color: var(--ink); }
.comment-time::before { content: "·"; margin-right: 8px; color: var(--line-2); }
.comment-content { color: var(--ink-2); font-size: .97rem; line-height: 1.7; overflow-wrap: anywhere; }
.comment-content p { margin: 0 0 .7em; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-content code { padding: 1px 5px; border-radius: 4px; background: var(--bg-alt); border: 1px solid var(--line); font-family: var(--mono); font-size: .85em; }
.comment-content pre { padding: 12px 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fafafa; font-family: var(--mono); font-size: .84rem; }
.comment-actions { display: flex; gap: 6px; margin-top: 10px; }
.comment-actions a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: .8rem; font-weight: 600; }
.comment-actions a:hover { border-color: var(--line-2); background: var(--bg-alt); color: var(--ink); }
.comment-actions .icon { font-size: 13px; }
.comment-awaiting-moderation { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 4px 10px; border-radius: 999px; background: #fffbeb; color: #b45309; font-size: .8rem; }
.bypostauthor > .comment-body .avatar-wrap { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.comment-ping { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.comment-navigation .nav-links { display: flex; justify-content: space-between; margin: 16px 0; font-weight: 600; }
.comment-navigation a { display: inline-flex; align-items: center; gap: 6px; }
.no-comments { margin: 16px 0 0; color: var(--muted); }

.comments-empty { display: flex; align-items: center; gap: 14px; margin: 16px 0 0; padding: 18px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.comments-empty-icon { width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: var(--bg-alt); color: var(--muted); font-size: 20px; }
.comments-empty strong { display: block; color: var(--ink); }
.comments-empty span { font-size: .88rem; color: var(--muted); }

/* Yorum formu */
.comment-respond { margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--sh); }
.comment-list .comment-respond { margin: 8px 0 20px; }
.comment-reply-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 4px; font-size: 1.15rem; font-weight: 800; }
.comment-reply-title small a { display: inline-flex; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .78rem; font-weight: 600; }
.comment-reply-title small a:hover { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.comment-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 14px; }
.comment-form > * { grid-column: 1 / -1; margin: 0; }
.comment-form > .cf-col { grid-column: auto; }
.comment-notes { margin: 0 0 4px !important; font-size: .85rem; color: var(--muted); }
.logged-in-as { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); background: var(--bg-alt); font-size: .88rem; color: var(--ink-2); }
.logged-in-as > span:not(.avatar-wrap) { flex: 1; }
.logged-in-as a { font-weight: 600; }
.logged-in-as a + a::before { content: "·"; margin-right: 10px; color: var(--line-2); }

.cf-field label { display: block; margin-bottom: 6px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.cf-field .required { color: #dc2626; }
.cf-field .optional { font-weight: 400; color: var(--muted); }
.cf-input { position: relative; display: block; }
.cf-input .icon { position: absolute; top: 50%; left: 12px; font-size: 16px; color: var(--muted); transform: translateY(-50%); pointer-events: none; transition: color .15s; }
.cf-input input { padding-left: 38px; background: var(--bg-alt); }
.cf-input input:focus { background: var(--bg); }
.cf-input:focus-within .icon { color: var(--accent); }
.cf-textarea { overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-alt); transition: border-color .15s, box-shadow .15s, background .15s; }
.cf-textarea:focus-within { border-color: var(--accent); background: var(--bg); box-shadow: 0 0 0 3px var(--accent-soft); }
.cf-textarea textarea { display: block; min-height: 130px; padding: 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none; resize: vertical; line-height: 1.6; }
.cf-textarea textarea:focus { box-shadow: none; }
.cf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted); }
.cf-hint { display: inline-flex; align-items: center; gap: 6px; }
.cf-counter { font-variant-numeric: tabular-nums; }

.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--ink-2); }
.comment-form-cookies-consent input { width: 16px; height: 16px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--ink); }
.comment-form-cookies-consent label { margin: 0; }

.comment-form .form-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.cf-policy { margin: 0; font-size: .82rem; color: var(--muted); }
.comment-form .form-submit .btn { padding: 11px 20px; }

/* ==========================================================================
   15. 404
   ========================================================================== */
.error-404 { padding: 72px 0; text-align: center; }
.error-code { margin: 0; font-size: clamp(4.5rem, 12vw, 7rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: var(--ink); }
.error-404 h1 { margin: 10px 0 8px; font-size: 1.6rem; }
.error-text { max-width: 500px; margin: 0 auto 24px; color: var(--muted); }
.error-search { max-width: 520px; margin: 0 auto 18px; }
.error-404 .cat-chips { justify-content: center; margin-top: 32px; }

/* ==========================================================================
   16. Alt kısım
   ========================================================================== */
.site-footer { margin-top: 56px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr 1fr; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.footer-about p { max-width: 300px; margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.footer-title { margin: 0 0 14px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-links--2 { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.footer-links a { color: var(--ink-2); font-size: .9rem; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-top { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 500; }
.footer-top:hover { color: var(--ink); }

/* ==========================================================================
   17. Duyarlı tasarım
   ========================================================================== */
@media (max-width: 1100px) {
	.lead-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
	.lead-popular { grid-column: 1 / -1; padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
	.rank-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); column-gap: 28px; }
	.rank-list li:first-child { padding-top: 14px; }
	.rank-list li:first-child::before { top: 12px; }
	.yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.brand-tagline { display: none; }
}

@media (max-width: 1024px) {
	.home-layout, .post-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.home-aside, .post-aside .sidebar { position: static; height: auto; max-height: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: start; }
	.post-aside .sidebar-scroll { display: contents; }
	.widget-toc { display: none; }
	.posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.main-nav, .search-trigger span, .search-trigger kbd { display: none; }
	.search-trigger { min-width: 0; width: 38px; height: 38px; justify-content: center; padding: 0; background: var(--bg); }
	.menu-toggle { display: inline-grid; }
	.intro-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
	.lead-grid, .lead-grid--n1 { grid-template-columns: minmax(0, 1fr); }
	.lead-side { flex-direction: row; padding: 0; border: 0; }
	.lead-side > * { flex: 1; min-width: 0; }
	.subscribe { flex-direction: column; align-items: flex-start; }
	.topic-cols { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.project-feature { grid-template-columns: minmax(0, 1fr); }
	.project-feature-media { min-height: 0; aspect-ratio: 16 / 9; }
	.projects-head { flex-wrap: wrap; }
	.projects-head-side { width: 100%; justify-content: space-between; }
	.projects-count { flex-direction: row; align-items: baseline; gap: 6px; }
	.intro-search { max-width: none; width: 100%; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .read-progress { top: 46px; }
}

@media (max-width: 640px) {
	:root { --header-h: 60px; }
	.admin-bar .site-header { top: 0; }
	.container { padding: 0 16px; }
	.section { padding: 36px 0; }
	.topbar-date { display: none; }
	.intro { padding-top: 28px; }
	.intro-stats { gap: 0; }
	.intro-stats { width: 100%; }
	.intro-stats div { flex: 1; min-width: 0; padding: 12px 14px; }
	.intro-search .search-submit { padding: 10px 16px; }
	.lead-side { flex-direction: column; }
	.cat-tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.projects-grid { grid-template-columns: minmax(0, 1fr); }
	.project-feature-body { padding: 20px; }
	.projects-icon { width: 48px; height: 48px; font-size: 22px; }
	.card--row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
	.card--row .card-media { aspect-ratio: 1; }
	.card--row .card-title { font-size: 1rem; }
	.card--row .card-excerpt, .card--row .meta-author, .card--row .card-top { display: none; }
	.card--row .card-meta > * + *::before { display: none; }
	.card--row .card-meta { gap: 0 10px; }
	.posts-grid, .yt-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.home-aside, .post-aside .sidebar { grid-template-columns: minmax(0, 1fr); }
	.subscribe { padding: 24px; }
	.meta-sep { display: none; }
	.post-byline { align-items: flex-start; }
	.byline-meta li + li::before { margin: 0 9px; }
	.byline-share { width: 100%; padding-top: 14px; border-top: 1px solid var(--line); }
	.entry-content { font-size: 1.02rem; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav-next { flex-direction: row; text-align: left; }
	.author-box { flex-direction: column; }
	.comment-form { grid-template-columns: minmax(0, 1fr); }
	.comment-respond { padding: 20px 16px; }
	.comment-list .children { margin-left: 6px; padding-left: 14px; }
	.cf-hint { display: none; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; }
	.search-overlay { padding-top: 6vh; }
}

/* ==========================================================================
   Yazdırma: yalnızca yazının kendisi (Yazdır butonu / Ctrl+P)
   ========================================================================== */
@media print {
	@page { margin: 18mm 16mm; }
	html, body { background: #fff !important; color: #000; font-size: 11.5pt; }
	body::before, .read-progress, .topbar, .site-header, .drawer, .search-overlay, .back-to-top,
	.post-aside, .related, .comments-area, .site-footer, .post-nav, .post-share, .post-tags,
	.byline-share, .copy-btn, .play-btn, .skip-link, .heading-anchor, #wpadminbar { display: none !important; }
	.container { max-width: none; padding: 0; }
	.post-layout { display: block; padding: 0; }
	.article-card, .post-main { max-width: none; width: 100%; }

	.print-only { display: block; }
	.print-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-bottom: 8px; border-bottom: 1px solid #000; font-size: 9pt; }
	.print-head span { color: #444; overflow-wrap: anywhere; }

	.post-header { padding: 0 0 12px; }
	.breadcrumbs .icon, .post-cat-icon, .byline-meta .icon { display: none; }
	.post-cat { padding: 0; border: 0; background: none; color: #000; }
	.post-header .post-title { font-size: 22pt; color: #000; }
	.post-byline { margin-top: 10px; padding: 8px 0; }
	.avatar-wrap { display: none; }
	.byline-meta { color: #333; }
	.post-cover { margin-bottom: 16px; }
	.post-cover img { max-height: 9cm; border-radius: 0; box-shadow: none; }

	.entry-content { font-size: 11.5pt; line-height: 1.6; color: #000; }
	.entry-content h2, .entry-content h3, .entry-content h4 { break-after: avoid; page-break-after: avoid; color: #000; }
	.entry-content img, .entry-content figure, .entry-content pre, .entry-content blockquote, .entry-content table { break-inside: avoid; page-break-inside: avoid; }
	.entry-content p, .entry-content li { orphans: 3; widows: 3; }
	.entry-content a { color: #000; text-decoration: underline; }
	.entry-content a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8.5pt; color: #555; overflow-wrap: anywhere; }
	.entry-content pre, .code-wrap pre { padding: 10px 12px !important; white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid #999; background: #f6f6f6 !important; color: #000; }
	.code-wrap::before { display: none; }
	.author-box { margin-top: 18px; padding: 12px 0 0; border: 0; border-top: 1px solid #999; border-radius: 0; background: none; break-inside: avoid; }
	.author-box .section-link { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
