/*
Theme Name: Boşver Mag
Theme URI: https://bosvergitsin.com
Author: Boşver Gitsin
Description: Boşver Gitsin için tasarlanmış dergi düzeninde WordPress teması. Büyük görseller, kategori renkleri, okumaya odaklı yazı sayfası.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bosver
Tags: blog, magazine, two-columns, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. Değişkenler
   ========================================================================== */

:root {
	--paper:        #fffcf7;
	--paper-alt:    #f7f2e9;
	--ink:          #16130f;
	--ink-soft:     #3d3730;
	--muted:        #746c62;
	--line:         #e6ded1;
	--line-strong:  #d3c8b6;
	--accent:       #b4451f;
	--accent-dark:  #8f3617;

	--font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
	--font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--font-meta:    var(--font-body);

	--wrap:         1220px;
	--wrap-narrow:  720px;
	--gap:          clamp(1.25rem, 2.5vw, 2.25rem);
	--radius:       4px;

	--shadow-sm:    0 1px 2px rgba(22, 19, 15, .06), 0 2px 8px rgba(22, 19, 15, .04);
	--shadow-md:    0 4px 12px rgba(22, 19, 15, .08), 0 12px 32px rgba(22, 19, 15, .06);
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper:       #14120f;
		--paper-alt:   #1c1916;
		--ink:         #f4efe7;
		--ink-soft:    #d8d0c4;
		--muted:       #9a9186;
		--line:        #2e2925;
		--line-strong: #443d36;
		--accent:      #e8734a;
		--accent-dark: #f0906d;
		--shadow-sm:   0 1px 2px rgba(0, 0, 0, .4);
		--shadow-md:   0 4px 12px rgba(0, 0, 0, .45), 0 12px 32px rgba(0, 0, 0, .3);
	}
}

/* ==========================================================================
   2. Temel
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -.012em;
	color: var(--ink);
	margin: 0 0 .5em;
	text-wrap: balance;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: #fff; }

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: .75rem 1.25rem;
	background: var(--ink);
	color: var(--paper);
	font-size: .9rem;
}
.skip-link:focus {
	left: 1rem;
	top: 1rem;
	color: var(--paper);
}

/* ==========================================================================
   3. Düzen
   ========================================================================== */

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.wrap--narrow { max-width: var(--wrap-narrow); }

.site-main { padding-block: clamp(2rem, 5vw, 3.5rem); }

.section { margin-block: clamp(2.5rem, 6vw, 4.5rem); }
.section:first-child { margin-top: 0; }

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: .75rem;
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
	border-bottom: 2px solid var(--ink);
}

.section-title {
	margin: 0;
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.section-more {
	font-family: var(--font-meta);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* ==========================================================================
   4. Başlık
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--line);
}

@supports not (backdrop-filter: blur(1px)) {
	.site-header { background: var(--paper); }
}

.header-inner {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	min-height: 68px;
}

.site-branding { margin-right: auto; min-width: 0; }

.site-title {
	margin: 0;
	font-size: clamp(1.15rem, 2.2vw, 1.5rem);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.1;
	white-space: nowrap;
}
.site-title a { color: var(--ink); }
.site-title a:hover { color: var(--accent); }

.site-description {
	margin: .15rem 0 0;
	font-family: var(--font-meta);
	font-size: .78rem;
	color: var(--muted);
	line-height: 1.3;
}

/* Menü */

.nav-primary ul {
	display: flex;
	align-items: center;
	gap: clamp(.75rem, 1.6vw, 1.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-primary li { position: relative; }

.nav-primary a {
	display: block;
	padding: .4rem 0;
	font-family: var(--font-meta);
	font-size: .875rem;
	font-weight: 600;
	color: var(--ink-soft);
	white-space: nowrap;
}
.nav-primary a:hover,
.nav-primary .current-menu-item > a,
.nav-primary .current-menu-parent > a {
	color: var(--accent);
}

/* Alt menü */
.nav-primary .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 200px;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: .5rem 0;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-primary li:hover > .sub-menu,
.nav-primary li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nav-primary .sub-menu a { padding: .45rem 1rem; }

/* Arama + menü düğmesi */

.header-actions {
	display: flex;
	align-items: center;
	gap: .35rem;
}

.icon-btn {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	padding: 0;
	background: none;
	border: 1px solid transparent;
	border-radius: var(--radius);
	color: var(--ink-soft);
	cursor: pointer;
}
.icon-btn:hover { color: var(--accent); border-color: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }

.menu-toggle { display: none; }

.header-search {
	display: none;
	padding: 1rem 0 1.25rem;
	border-top: 1px solid var(--line);
}
.header-search.is-open { display: block; }

/* Mobil menü */

@media (max-width: 900px) {
	.menu-toggle { display: grid; }

	.nav-primary {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: 72vh;
		overflow-y: auto;
		padding: .5rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-md);
	}
	.nav-primary.is-open { display: block; }

	.nav-primary ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.nav-primary > ul > li { border-bottom: 1px solid var(--line); }
	.nav-primary a {
		padding: .8rem .25rem;
		font-size: 1rem;
	}
	.nav-primary .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0 0 .5rem .9rem;
		background: none;
	}
	.nav-primary .sub-menu a { font-size: .92rem; color: var(--muted); }
}

/* ==========================================================================
   5. Arama kutusu
   ========================================================================== */

.search-form {
	display: flex;
	gap: .5rem;
}

.search-form label { flex: 1; display: block; }

.search-field {
	width: 100%;
	padding: .7rem .9rem;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--ink);
	background: var(--paper-alt);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
}
.search-field::placeholder { color: var(--muted); }
.search-field:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--paper);
}

.search-submit {
	padding: .7rem 1.35rem;
	font-family: var(--font-meta);
	font-size: .875rem;
	font-weight: 600;
	color: #fff;
	background: var(--ink);
	border: 0;
	border-radius: var(--radius);
	cursor: pointer;
}
.search-submit:hover { background: var(--accent); }

/* ==========================================================================
   6. Kategori rozeti
   ========================================================================== */

.cat-badge {
	display: inline-block;
	padding: .28rem .6rem;
	font-family: var(--font-meta);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	line-height: 1.2;
	color: #fff;
	background: var(--cat, var(--accent));
	border-radius: 2px;
}
.cat-badge:hover { color: #fff; filter: brightness(1.12); }

.cat-badge--ghost {
	color: var(--cat, var(--accent));
	background: none;
	padding-inline: 0;
}
.cat-badge--ghost:hover { color: var(--cat, var(--accent)); filter: brightness(1.15); }

/* ==========================================================================
   7. Kart
   ========================================================================== */

.card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.card-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--paper-alt);
	border-radius: var(--radius);
	aspect-ratio: 16 / 10;
	margin-bottom: .9rem;
}

.card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.card:hover .card-thumb img { transform: scale(1.045); }

.card-thumb--empty {
	display: grid;
	place-items: center;
	color: var(--line-strong);
	font-family: var(--font-display);
	font-size: 2rem;
}

.card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem;
	margin-bottom: .45rem;
	font-family: var(--font-meta);
	font-size: .74rem;
	color: var(--muted);
}

.card-title {
	margin: 0 0 .4rem;
	font-size: 1.12rem;
	line-height: 1.28;
}
.card-title a { color: var(--ink); }
.card:hover .card-title a { color: var(--accent); }

.card-excerpt {
	margin: 0;
	font-size: .92rem;
	color: var(--muted);
	line-height: 1.55;
}

.card-date { white-space: nowrap; }

/* Yatay kart (küçük liste) */
.card--row {
	flex-direction: row;
	align-items: flex-start;
	gap: 1rem;
}
.card--row .card-thumb {
	flex: 0 0 96px;
	width: 96px;
	aspect-ratio: 1;
	margin-bottom: 0;
}
.card--row .card-title { font-size: .98rem; margin-bottom: .25rem; }
.card--row .card-body { min-width: 0; }

/* ==========================================================================
   8. Kahraman bölüm (ana sayfa)
   ========================================================================== */

.hero {
	display: grid;
	grid-template-columns: 1.32fr 1fr;
	gap: var(--gap);
	margin-bottom: clamp(2.5rem, 6vw, 4rem);
	padding-bottom: clamp(2.5rem, 6vw, 4rem);
	border-bottom: 1px solid var(--line);
}

.hero-lead .card-thumb {
	aspect-ratio: 4 / 3;
	margin-bottom: 1.25rem;
}

.hero-lead .card-title {
	font-size: clamp(1.65rem, 3.4vw, 2.5rem);
	line-height: 1.14;
	margin-bottom: .6rem;
}

.hero-lead .card-excerpt { font-size: 1.02rem; }

.hero-side {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gap);
	align-content: start;
}

@media (max-width: 980px) {
	.hero { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.hero-side { grid-template-columns: 1fr; }
	.hero-side .card { flex-direction: row; align-items: flex-start; gap: 1rem; }
	.hero-side .card-thumb {
		flex: 0 0 110px;
		width: 110px;
		aspect-ratio: 1;
		margin-bottom: 0;
	}
	.hero-side .card-excerpt { display: none; }
	.hero-side .card-title { font-size: 1rem; }
}

/* ==========================================================================
   9. Izgara
   ========================================================================== */

.grid {
	display: grid;
	gap: var(--gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 258px), 1fr));
}

.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

/* Kategori şeridi */

.cat-strip {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.cat-chip {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .45rem .85rem;
	font-family: var(--font-meta);
	font-size: .82rem;
	font-weight: 600;
	color: var(--ink-soft);
	background: var(--paper-alt);
	border: 1px solid var(--line);
	border-radius: 999px;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cat-chip:hover {
	color: #fff;
	background: var(--cat, var(--accent));
	border-color: var(--cat, var(--accent));
}
.cat-chip span {
	font-size: .72rem;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}
.cat-chip:hover span { color: rgba(255, 255, 255, .8); }

/* ==========================================================================
   10. Sayfa başlığı (arşiv, arama)
   ========================================================================== */

.page-header {
	padding-bottom: clamp(1.25rem, 3vw, 2rem);
	margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
	border-bottom: 2px solid var(--ink);
}

.page-kicker {
	display: block;
	margin-bottom: .5rem;
	font-family: var(--font-meta);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--accent);
}

.page-title {
	margin: 0;
	font-size: clamp(1.9rem, 4.5vw, 3rem);
}

.page-subtitle {
	margin: .65rem 0 0;
	font-size: 1rem;
	color: var(--muted);
	max-width: 60ch;
}

/* ==========================================================================
   11. Tekil yazı
   ========================================================================== */

.entry-hero { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }

.entry-hero .cat-badge { margin-bottom: 1rem; }

.entry-title {
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.1;
	margin-bottom: .6rem;
}

.entry-standfirst {
	max-width: 62ch;
	margin: 0 0 1.25rem;
	font-size: clamp(1.05rem, 2vw, 1.22rem);
	line-height: 1.55;
	color: var(--muted);
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .9rem;
	font-family: var(--font-meta);
	font-size: .84rem;
	color: var(--muted);
}

.entry-meta strong { color: var(--ink-soft); font-weight: 600; }

.entry-meta .sep { color: var(--line-strong); }

/* Görsellerin yarısı 800px'in altında. Doğal boyutundan büyütmek onları
   bulanıklaştırıyor; bu yüzden width sabitlenmez, ortalanır ve yükseklik
   sınırlanır. Dikey görseller de ekranı ele geçirmesin. */
.entry-figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
}
.entry-figure img {
	width: 100%;
	max-width: min(100%, var(--figure-max, 100%));
	max-height: 72vh;
	object-fit: contain;
	border-radius: var(--radius);
}
.entry-figure figcaption {
	margin-top: .6rem;
	max-width: 60ch;
	font-size: .82rem;
	color: var(--muted);
	text-align: center;
}

/* Yazı gövdesi */

.entry-content {
	font-size: 1.08rem;
	line-height: 1.75;
	color: var(--ink-soft);
}

.entry-content > * { margin-bottom: 1.4em; }
.entry-content > *:last-child { margin-bottom: 0; }

.entry-content h2 {
	margin-top: 2em;
	font-size: clamp(1.45rem, 3vw, 1.9rem);
}
.entry-content h3 {
	margin-top: 1.7em;
	font-size: clamp(1.2rem, 2.4vw, 1.45rem);
}
.entry-content h2:first-child,
.entry-content h3:first-child { margin-top: 0; }

.entry-content a { text-decoration: underline; text-underline-offset: 2px; }

.entry-content ul,
.entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .5em; }

.entry-content img { border-radius: var(--radius); }

.entry-content figure { margin-inline: 0; }
.entry-content figcaption {
	margin-top: .5rem;
	font-size: .84rem;
	color: var(--muted);
	text-align: center;
}

.entry-content blockquote {
	margin-inline: 0;
	padding: .25rem 0 .25rem 1.5rem;
	border-left: 3px solid var(--accent);
	font-family: var(--font-display);
	font-size: 1.2rem;
	line-height: 1.5;
	color: var(--ink);
}

.entry-content code {
	padding: .15em .4em;
	font-size: .88em;
	background: var(--paper-alt);
	border: 1px solid var(--line);
	border-radius: 3px;
}

.entry-content pre {
	padding: 1.15rem 1.35rem;
	overflow-x: auto;
	font-size: .88rem;
	line-height: 1.55;
	background: var(--paper-alt);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.entry-content pre code { padding: 0; background: none; border: 0; }

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: .94rem;
}
.entry-content th,
.entry-content td {
	padding: .6rem .75rem;
	border: 1px solid var(--line);
	text-align: left;
}
.entry-content th { background: var(--paper-alt); font-weight: 700; }

.entry-content hr {
	height: 0;
	margin-block: 2.5em;
	border: 0;
	border-top: 1px solid var(--line);
}

.table-scroll { overflow-x: auto; }

/* Kısaca bloğu — özet cevabı taşır, göz ilk buraya gitsin. */
.entry-content .kisaca {
	margin-block: 1.75em;
	padding: 1.15rem 1.35rem;
	background: var(--paper-alt);
	border-left: 3px solid var(--accent);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-size: 1.02rem;
	line-height: 1.6;
}
.entry-content .kisaca strong { color: var(--ink); }

/* SSS */

.entry-faq {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid var(--line);
}

.entry-faq > h2 {
	margin-bottom: 1.5rem;
	font-size: clamp(1.4rem, 2.8vw, 1.8rem);
}

.faq-oge {
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--line);
}
.faq-oge:last-child { border-bottom: 0; }

.faq-oge h3 {
	margin-bottom: .45rem;
	font-size: 1.05rem;
	line-height: 1.35;
}

.faq-oge p {
	margin: 0;
	font-size: .96rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

/* Etiketler */

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.tag-pill {
	padding: .35rem .75rem;
	font-family: var(--font-meta);
	font-size: .8rem;
	color: var(--ink-soft);
	background: var(--paper-alt);
	border: 1px solid var(--line);
	border-radius: 999px;
}
.tag-pill:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

/* Yazı arası gezinme */

.post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gap);
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid var(--line);
}

.post-nav a {
	display: block;
	padding: 1.15rem 1.25rem;
	background: var(--paper-alt);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.post-nav a:hover { border-color: var(--accent); }

.post-nav .dir {
	display: block;
	margin-bottom: .35rem;
	font-family: var(--font-meta);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--muted);
}

.post-nav .ttl {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ink);
}

.post-nav .next { text-align: right; }

@media (max-width: 640px) {
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { text-align: left; }
}

/* ==========================================================================
   12. Yorumlar
   ========================================================================== */

.comments-area {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid var(--line);
}

.comments-title {
	font-size: clamp(1.25rem, 2.5vw, 1.6rem);
	margin-bottom: 1.5rem;
}

.comment-list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.comment-list ol.children {
	list-style: none;
	margin: 1.25rem 0 0;
	padding-left: clamp(1rem, 3vw, 2.5rem);
	border-left: 2px solid var(--line);
}

.comment-body {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--line);
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: .65rem;
	margin-bottom: .65rem;
}

.comment-meta img {
	width: 40px; height: 40px;
	border-radius: 50%;
}

.comment-author-name {
	font-family: var(--font-meta);
	font-size: .92rem;
	font-weight: 700;
	color: var(--ink);
}

.comment-metadata {
	font-family: var(--font-meta);
	font-size: .78rem;
	color: var(--muted);
}
.comment-metadata a { color: var(--muted); }

.comment-content { font-size: .96rem; }

.reply { margin-top: .5rem; }
.reply a {
	font-family: var(--font-meta);
	font-size: .8rem;
	font-weight: 600;
}

.comment-respond { margin-top: 2rem; }

.comment-reply-title {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.comment-form p { margin-bottom: 1rem; }

.comment-form label {
	display: block;
	margin-bottom: .35rem;
	font-family: var(--font-meta);
	font-size: .84rem;
	font-weight: 600;
	color: var(--ink-soft);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: .7rem .9rem;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--ink);
	background: var(--paper-alt);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
}
.comment-form textarea { min-height: 150px; resize: vertical; }
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--paper);
}

.comment-form .form-submit input {
	padding: .8rem 1.75rem;
	font-family: var(--font-meta);
	font-size: .9rem;
	font-weight: 600;
	color: #fff;
	background: var(--ink);
	border: 0;
	border-radius: var(--radius);
	cursor: pointer;
}
.comment-form .form-submit input:hover { background: var(--accent); }

.comment-notes,
.comment-form-cookies-consent label {
	font-size: .84rem;
	font-weight: 400;
	color: var(--muted);
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
}
.comment-form-cookies-consent label { margin: 0; }

/* ==========================================================================
   13. Sayfalama
   ========================================================================== */

.pagination {
	display: flex;
	justify-content: center;
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding-inline: .75rem;
	font-family: var(--font-meta);
	font-size: .9rem;
	font-weight: 600;
	color: var(--ink-soft);
	background: var(--paper-alt);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.pagination a.page-numbers:hover {
	color: #fff;
	background: var(--accent);
	border-color: var(--accent);
}
.pagination .page-numbers.current {
	color: #fff;
	background: var(--ink);
	border-color: var(--ink);
}
.pagination .page-numbers.dots { background: none; border-color: transparent; }

/* ==========================================================================
   14. 404 / boş durum
   ========================================================================== */

.state {
	max-width: 46ch;
	margin-inline: auto;
	padding-block: clamp(3rem, 8vw, 6rem);
	text-align: center;
}

.state-code {
	font-family: var(--font-display);
	font-size: clamp(4rem, 14vw, 8rem);
	font-weight: 700;
	line-height: 1;
	color: var(--accent);
	margin-bottom: .5rem;
}

.state h1 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }

.state p { color: var(--muted); }

.state .search-form { margin-top: 1.75rem; }

/* ==========================================================================
   15. Alt bilgi
   ========================================================================== */

.site-footer {
	margin-top: clamp(3rem, 7vw, 5rem);
	padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
	background: var(--paper-alt);
	border-top: 1px solid var(--line);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 2fr;
	gap: clamp(2rem, 5vw, 4rem);
	padding-bottom: 2.5rem;
	border-bottom: 1px solid var(--line);
}

@media (max-width: 780px) {
	.footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .site-title { font-size: 1.35rem; }
.footer-brand p {
	margin-top: .75rem;
	font-size: .92rem;
	color: var(--muted);
	max-width: 42ch;
}

.footer-cats h3,
.footer-nav h3 {
	margin-bottom: 1rem;
	font-family: var(--font-meta);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}

.footer-cats ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: .5rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-cats a {
	font-size: .92rem;
	color: var(--ink-soft);
}
.footer-cats a:hover { color: var(--accent); }

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.75rem;
	font-family: var(--font-meta);
	font-size: .82rem;
	color: var(--muted);
}

.to-top {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-weight: 600;
	color: var(--ink-soft);
}
.to-top:hover { color: var(--accent); }

/* ==========================================================================
   16. WordPress hizalama sınıfları
   ========================================================================== */

.alignleft {
	float: left;
	margin: .35rem 1.75rem 1.25rem 0;
	max-width: 50%;
}
.alignright {
	float: right;
	margin: .35rem 0 1.25rem 1.75rem;
}
.aligncenter {
	margin-inline: auto;
	display: block;
}

.alignwide {
	width: min(100vw - 3rem, 1000px);
	margin-inline: calc(50% - min(50vw - 1.5rem, 500px));
	max-width: none;
}

.alignfull {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	max-width: none;
}
.alignfull img { border-radius: 0; width: 100%; }

@media (max-width: 640px) {
	.alignleft, .alignright {
		float: none;
		margin-inline: 0;
		max-width: 100%;
	}
	.alignwide { width: 100%; margin-inline: 0; }
}

.wp-caption { max-width: 100%; }
.wp-caption-text {
	margin-top: .5rem;
	font-size: .84rem;
	color: var(--muted);
	text-align: center;
}

.sticky .card-title::before {
	content: "★";
	margin-right: .35rem;
	color: var(--accent);
}

/* ==========================================================================
   17. Sözlük
   ========================================================================== */

/* Metin içindeki otomatik sözlük bağlantısı — dikkat çeksin ama okumayı bölmesin. */
.entry-content a.sozluk-link {
	text-decoration: none;
	border-bottom: 1px dashed var(--line-strong);
	color: inherit;
}
.entry-content a.sozluk-link:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
	border-bottom-style: solid;
}

.sozluk-harfler {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	margin-bottom: clamp(2rem, 5vw, 3rem);
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--line);
}

.sozluk-harfler a {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	font-family: var(--font-meta);
	font-size: .9rem;
	font-weight: 700;
	color: var(--ink-soft);
	background: var(--paper-alt);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.sozluk-harfler a:hover {
	color: #fff;
	background: var(--accent);
	border-color: var(--accent);
}

.sozluk-grup {
	margin-bottom: clamp(2rem, 5vw, 3rem);
	scroll-margin-top: 90px;
}

.sozluk-harf {
	margin-bottom: 1.25rem;
	padding-bottom: .5rem;
	font-size: 1.5rem;
	color: var(--accent);
	border-bottom: 2px solid var(--ink);
}

.sozluk-liste {
	display: grid;
	gap: var(--gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.sozluk-oge h3 {
	margin-bottom: .3rem;
	font-size: 1.05rem;
}
.sozluk-oge h3 a { color: var(--ink); }
.sozluk-oge h3 a:hover { color: var(--accent); }

.sozluk-oge p {
	margin: 0;
	font-size: .9rem;
	line-height: 1.5;
	color: var(--muted);
}

.sozluk-tanim { font-size: 1.05rem; }

.sozluk-gecen {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sozluk-gecen li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: .7rem 0;
	border-bottom: 1px solid var(--line);
}

.sozluk-gecen a {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink);
}
.sozluk-gecen a:hover { color: var(--accent); }

.sozluk-gecen span {
	flex: none;
	font-family: var(--font-meta);
	font-size: .78rem;
	color: var(--muted);
}

.footer-sozluk {
	margin-top: 1.15rem;
	font-family: var(--font-meta);
	font-size: .9rem;
	font-weight: 600;
}

.sozluk-geri {
	margin-top: clamp(2rem, 4vw, 3rem);
	font-family: var(--font-meta);
	font-size: .9rem;
	font-weight: 600;
}

/* ==========================================================================
   18. Hareket tercihi
   ========================================================================== */

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