/*
Theme Name: Yalın
Theme URI: https://example.com/yalin
Author: Yalın
Description: Görselsiz, metin odaklı klasik blog teması. Core Web Vitals (LCP/INP/CLS), E-E-A-T ve yapısal veri gereksinimlerine göre kurgulanmıştır. Harici font/JS yüklemez, eklentilerle uyumlu çalışır, yazarlar için ayrıntılı profil alanları sunar.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yalin
Tags: blog, one-column, right-sidebar, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready, block-styles, wide-blocks
*/

/* =========================================================
   1. Tasarım değişkenleri
   ========================================================= */

:root {
	--paper: #edeff2;
	--paper-raised: #f8f9fb;
	--ink: #171a22;
	--ink-muted: #59606e;
	--rule: #c9cfd8;
	--rule-strong: #a8b1bd;
	--accent: #5a2e96;
	--accent-soft: #ece5fa;
	--focus: #b8452f;

	--font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-body: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Charter, Georgia, serif;
	--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

	--measure: 68ch;
	--rail: 11rem;
	--gap: clamp(1.25rem, 4vw, 3rem);
	--radius: 3px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #14171d;
		--paper-raised: #1c2029;
		--ink: #e4e7ec;
		--ink-muted: #9aa3b2;
		--rule: #2f3542;
		--rule-strong: #454d5c;
		--accent: #b69cf0;
		--accent-soft: #241d38;
		--focus: #e88a72;
	}
}

/* =========================================================
   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: clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
	line-height: 1.75;
	font-kerning: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img,
video,
iframe,
embed,
object { max-width: 100%; height: auto; }

/* Yerleşim kaymasını (CLS) önlemek için gömülü içeriklere oran verilir */
iframe { aspect-ratio: 16 / 9; width: 100%; }

a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover { text-decoration-thickness: 2px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection { background: var(--accent-soft); color: var(--ink); }

/* =========================================================
   3. Tipografi
   ========================================================= */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 750;
	letter-spacing: -0.025em;
	line-height: 1.18;
	margin: 2.25em 0 0.6em;
	text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.9rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + 0.55vw, 1.4rem); }
h4, h5, h6 { font-size: 1.05rem; letter-spacing: 0; }

p, ul, ol, dl, table, pre, blockquote, figure { margin: 0 0 1.35em; }

li { margin-bottom: 0.35em; }

blockquote {
	margin-inline: 0;
	padding: 0.2em 0 0.2em 1.4em;
	border-left: 2px solid var(--accent);
	color: var(--ink-muted);
	font-style: italic;
}

blockquote cite { display: block; font-style: normal; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.8em; }

code, kbd, samp, pre { font-family: var(--font-mono); font-size: 0.875em; }

code { background: var(--paper-raised); padding: 0.15em 0.35em; border-radius: var(--radius); }

pre {
	background: var(--paper-raised);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 1.1rem 1.25rem;
	overflow-x: auto;
	line-height: 1.6;
}

pre code { background: none; padding: 0; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }

table { width: 100%; border-collapse: collapse; font-size: 0.95em; }
th, td { text-align: left; padding: 0.6em 0.8em; border-bottom: 1px solid var(--rule); }
th { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.02em; }

/* Küçük etiketler: mono, seyrek, versal */
.slug,
.entry-rail dt,
.eyebrow,
.wp-block-post-date,
.comment-metadata {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-muted);
	font-style: normal;
}

/* =========================================================
   4. Yapı
   ========================================================= */

.wrap {
	width: min(100% - 2.5rem, 76rem);
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--ink);
	color: var(--paper);
	padding: 0.7rem 1.1rem;
	font-family: var(--font-display);
	font-size: 0.9rem;
}

.skip-link:focus { left: 1rem; top: 1rem; }

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
}

.site-header {
	border-bottom: 1px solid var(--rule);
	padding: 1.4rem 0;
	margin-bottom: clamp(2rem, 6vw, 4rem);
}

.header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.6rem 2rem;
}

.site-title {
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0;
	line-height: 1;
}

.site-title a { color: var(--ink); text-decoration: none; }
.site-title a:hover { color: var(--accent); }

.site-description {
	margin: 0;
	font-size: 0.9rem;
	color: var(--ink-muted);
	flex: 1 1 12rem;
}

/* Gezinti */
.menu-toggle {
	display: none;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: none;
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	color: var(--ink);
	padding: 0.45rem 0.8rem;
	cursor: pointer;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 1.4rem;
}

.main-navigation li { margin: 0; position: relative; }

.main-navigation a {
	font-family: var(--font-display);
	font-size: 0.92rem;
	color: var(--ink);
	text-decoration: none;
	padding: 0.35rem 0;
	display: inline-block;
	border-bottom: 2px solid transparent;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	border-bottom-color: var(--accent);
	color: var(--accent);
}

.main-navigation .sub-menu {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	background: var(--paper-raised);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 0.5rem 0.9rem;
	min-width: 12rem;
	flex-direction: column;
	z-index: 20;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu { display: flex; }

@media (max-width: 48rem) {
	.menu-toggle { display: block; margin-left: auto; }
	.main-navigation { flex-basis: 100%; }
	.main-navigation ul { flex-direction: column; gap: 0; }
	.main-navigation li { border-top: 1px solid var(--rule); }
	.main-navigation a { display: block; padding: 0.7rem 0; }
	.main-navigation[data-open="false"] { display: none; }
	.main-navigation .sub-menu { display: flex; position: static; border: 0; padding: 0 0 0 1rem; background: none; }
}

/* İçerik + kenar çubuğu */
.site-main { padding-bottom: 4rem; }

.layout {
	display: grid;
	gap: clamp(2.5rem, 6vw, 4.5rem);
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

@media (min-width: 60rem) {
	.layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 16rem; }
	.widget-area { position: sticky; top: 2rem; }
}

/* =========================================================
   5. İmza öğesi: kenar künyesi (margin rail)
   ========================================================= */

.entry {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 var(--gap);
	margin-bottom: 3.5rem;
}

@media (min-width: 68rem) {
	.entry { grid-template-columns: var(--rail) minmax(0, var(--measure)); }
	.entry-rail { grid-column: 1; grid-row: 1 / span 3; text-align: right; }
	.entry-header,
	.entry-content,
	.entry-footer { grid-column: 2; }
}

.entry-rail {
	border-top: 1px solid var(--rule);
	padding-top: 0.7rem;
	margin-bottom: 1.5rem;
	position: sticky;
	top: 2rem;
}

.entry-rail dl { margin: 0; display: grid; gap: 0.05rem 0.6rem; }

.entry-rail dt { margin: 0.75rem 0 0; }
.entry-rail dt:first-child { margin-top: 0; }

.entry-rail dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: 0.85rem;
	line-height: 1.4;
	color: var(--ink);
}

.entry-rail dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.entry-rail dd a:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 67.99rem) {
	.entry-rail { position: static; text-align: left; }
	.entry-rail dl { grid-template-columns: repeat(auto-fit, minmax(7rem, auto)); }
	.entry-rail dt { margin-top: 0; }
}

/* =========================================================
   6. Yazı
   ========================================================= */

.entry-header { margin-bottom: 1.8rem; }
.entry-title { margin-top: 0; }

.entry-title a { color: var(--ink); text-decoration: none; }
.entry-title a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; }

.entry-lede {
	font-size: 1.12em;
	color: var(--ink-muted);
	margin-bottom: 0;
}

.entry-content { max-width: var(--measure); }

.entry-content > * { margin-inline: auto; }

.entry-content .alignwide,
.entry-content .alignfull { max-width: 100%; }

.entry-content h2 { padding-top: 0.4em; }

.entry-footer {
	margin-top: 2.5rem;
	padding-top: 1.2rem;
	border-top: 1px solid var(--rule);
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.5rem;
	align-items: baseline;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }

.tag-list a {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-decoration: none;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 0.22rem 0.55rem;
	color: var(--ink-muted);
}

.tag-list a:hover { border-color: var(--accent); color: var(--accent); }

/* Arşiv listesi */
.archive-header { margin-bottom: 3rem; max-width: var(--measure); }
.archive-title { margin-top: 0; }
.archive-description { color: var(--ink-muted); }

.post-list { display: grid; gap: 2.75rem; }

.post-list .entry { margin-bottom: 0; padding-bottom: 2.75rem; border-bottom: 1px solid var(--rule); }
.post-list .entry:last-child { border-bottom: 0; padding-bottom: 0; }
.post-list .entry-title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.post-list .entry-header { margin-bottom: 0.8rem; }
.post-list .entry-rail { border-top: 0; padding-top: 0; position: static; }

.more-link {
	font-family: var(--font-display);
	font-size: 0.9rem;
	text-decoration: none;
	border-bottom: 2px solid var(--accent);
	white-space: nowrap;
}

/* Sayfalama */
.pagination { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }

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

.pagination .page-numbers {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	text-decoration: none;
	padding: 0.4rem 0.75rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	color: var(--ink);
}

.pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.current:hover { color: var(--paper); }

.post-navigation { margin-top: 3rem; display: grid; gap: 1.5rem; }

@media (min-width: 46rem) { .post-navigation { grid-template-columns: 1fr 1fr; } }

.post-navigation a { display: block; text-decoration: none; }
.post-navigation .nav-next { text-align: right; }
.post-navigation .post-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); display: block; margin-top: 0.3rem; }
.post-navigation a:hover .post-title { color: var(--accent); }

/* =========================================================
   7. Yazar künyesi ("credentials ledger")
   ========================================================= */

.author-card {
	max-width: var(--measure);
	margin: 3rem 0 0;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	background: var(--paper-raised);
	padding: clamp(1.25rem, 3vw, 2rem);
}

.author-card--archive { margin-top: 0; margin-bottom: 3rem; }

.author-card__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }

.avatar-initials,
.author-card__initials {
	flex: none;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.02em;
	border: 1px solid var(--rule);
}

.avatar-initials { width: 2.25rem; height: 2.25rem; font-size: 0.8rem; }

.author-card__name {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	margin: 0;
	line-height: 1.25;
}

.author-card__name a { color: var(--ink); text-decoration: none; }
.author-card__name a:hover { color: var(--accent); }

.author-card__role { display: block; margin-top: 0.25rem; }

.author-card__bio { margin: 0 0 1.2rem; font-size: 0.97em; }

.author-card__ledger { margin: 0 0 1.2rem; border-top: 1px solid var(--rule); }

.author-card__ledger div {
	display: grid;
	grid-template-columns: 9rem minmax(0, 1fr);
	gap: 0.2rem 1rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--rule);
	align-items: baseline;
}

@media (max-width: 34rem) {
	.author-card__ledger div { grid-template-columns: minmax(0, 1fr); }
}

.author-card__ledger dt {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin: 0;
}

.author-card__ledger dd { margin: 0; font-size: 0.95em; }

.author-card__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }

.author-card__links a {
	font-family: var(--font-mono);
	font-size: 0.74rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px solid var(--rule-strong);
}

.author-card__links a:hover { border-color: var(--accent); }

/* =========================================================
   8. Kenar çubuğu ve bileşenler
   ========================================================= */

.widget { margin-bottom: 2.5rem; font-size: 0.95rem; }

.widget-title,
.wp-block-heading.widget-title {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin: 0 0 0.9rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--rule);
	font-weight: 400;
}

.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { margin-bottom: 0.5rem; line-height: 1.5; }
.widget a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.widget a:hover { color: var(--accent); border-color: var(--accent); }

/* Form öğeleri */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
textarea,
select {
	width: 100%;
	font: inherit;
	font-size: 0.95rem;
	padding: 0.55rem 0.7rem;
	color: var(--ink);
	background: var(--paper-raised);
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
}

textarea { min-height: 9rem; resize: vertical; }

input[type="submit"],
button,
.wp-block-button__link {
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 600;
	background: var(--ink);
	color: var(--paper);
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	padding: 0.6rem 1.2rem;
	cursor: pointer;
	width: auto;
}

input[type="submit"]:hover,
.wp-block-button__link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.search-form { display: flex; gap: 0.5rem; }
.search-form label { flex: 1; }

/* =========================================================
   9. Yorumlar
   ========================================================= */

.comments-area { max-width: var(--measure); margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--rule); }

.comments-title, .comment-reply-title { margin-top: 0; font-size: 1.2rem; }

.comment-list { list-style: none; margin: 0 0 2.5rem; padding: 0; }
.comment-list ol.children { list-style: none; margin: 1.5rem 0 0 1.25rem; padding-left: 1rem; border-left: 1px solid var(--rule); }

.comment-body { margin-bottom: 1.75rem; }
.comment-author { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 650; font-size: 0.95rem; }
.comment-author .says { display: none; }
.comment-metadata { margin: 0.25rem 0 0.7rem; }
.comment-metadata a { color: var(--ink-muted); text-decoration: none; }
.comment-content { font-size: 0.98em; }
.reply { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.comment-form { display: grid; gap: 0.9rem; }
.comment-form p { margin: 0; }
.comment-notes, .comment-form-cookies-consent { font-size: 0.85rem; color: var(--ink-muted); }
.comment-form-cookies-consent { display: flex; gap: 0.5rem; align-items: flex-start; }
.comment-form-cookies-consent input { width: auto; }

/* =========================================================
   10. Yardımcılar
   ========================================================= */

.notice {
	max-width: var(--measure);
	border-left: 2px solid var(--accent);
	padding-left: 1.2rem;
	color: var(--ink-muted);
}

.breadcrumbs {
	margin-bottom: 1.5rem;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--rule-strong); }
.breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

.site-footer {
	border-top: 1px solid var(--rule);
	padding: 2.5rem 0 3.5rem;
	font-size: 0.9rem;
	color: var(--ink-muted);
}

.footer-widgets { display: grid; gap: 2rem; margin-bottom: 2.5rem; }

@media (min-width: 46rem) { .footer-widgets { grid-template-columns: repeat(3, 1fr); } }

.footer-credit { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.footer-credit a { color: var(--ink-muted); }

.sticky .entry-title::after {
	content: "sabit";
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	vertical-align: middle;
	margin-left: 0.7rem;
	color: var(--accent);
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	padding: 0.15rem 0.4rem;
}

.page-links { font-family: var(--font-mono); font-size: 0.8rem; margin-top: 2rem; }
.page-links a { padding: 0 0.35rem; }

/* Erişilebilirlik: hareket tercihi */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* Yazdırma */
@media print {
	.site-header nav, .widget-area, .comments-area, .pagination, .post-navigation { display: none; }
	body { background: #fff; color: #000; font-size: 11pt; }
	a { text-decoration: underline; }
}

/* =========================================================
   11. Yasal belge şablonu (DMCA, gizlilik, şartlar)
   ========================================================= */

.legal-header { max-width: 52rem; margin-bottom: 2.5rem; }
.legal-header .entry-title { margin-top: 0.4rem; }

.legal-stamp {
	display: flex;
	flex-wrap: wrap;
	gap: 0 2.5rem;
	margin: 1.5rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid var(--rule);
}

.legal-stamp div { margin: 0; }

.legal-stamp dt {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin: 0;
}

.legal-stamp dd { margin: 0.2rem 0 0; font-family: var(--font-display); font-size: 0.9rem; }

.legal-body { display: grid; gap: 3rem; align-items: start; }

@media (min-width: 62rem) {
	.legal-body { grid-template-columns: 15rem minmax(0, 46rem); }
	.legal-toc { position: sticky; top: 2rem; max-height: calc(100vh - 4rem); overflow-y: auto; }
}

.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }

.legal-toc li { margin-bottom: 0.45rem; line-height: 1.35; }

.legal-toc__level-3 { padding-left: 1rem; }

.legal-toc a {
	font-family: var(--font-display);
	font-size: 0.82rem;
	color: var(--ink-muted);
	text-decoration: none;
	border-left: 2px solid transparent;
	padding-left: 0.7rem;
	display: block;
}

.legal-toc__level-2 > a { counter-increment: toc; }
.legal-toc__level-2 > a::before {
	content: counter(toc) ". ";
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: var(--rule-strong);
}

.legal-toc a:hover { color: var(--accent); }

.legal-toc a[aria-current="true"] {
	color: var(--ink);
	border-left-color: var(--accent);
	font-weight: 600;
}

.legal-content { max-width: 46rem; }
.legal-content h2 { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem); scroll-margin-top: 2rem; }
.legal-content h3 { font-size: 1.1rem; scroll-margin-top: 2rem; }
.legal-content ol > li { margin-bottom: 0.6rem; }

.legal-content table { font-size: 0.9rem; margin: 1.8rem 0; }
.legal-content th { background: var(--paper-raised); }

/* Vurgulanmış uyarı kutusu: <blockquote class="legal-callout"> */
.legal-content .legal-callout,
.legal-content blockquote.callout {
	background: var(--paper-raised);
	border-left: 2px solid var(--focus);
	padding: 1rem 1.25rem;
	font-style: normal;
	color: var(--ink);
	font-size: 0.95em;
	border-radius: 0 var(--radius) var(--radius) 0;
}

/* İletişim kartı: <dl class="legal-contact"> */
.legal-content .legal-contact {
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	padding: 1.25rem 1.4rem;
	background: var(--paper-raised);
	margin: 1.8rem 0;
	display: grid;
	gap: 0.6rem 1.5rem;
}

@media (min-width: 34rem) {
	.legal-content .legal-contact { grid-template-columns: 10rem minmax(0, 1fr); }
}

.legal-content .legal-contact dt {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin: 0;
}

.legal-content .legal-contact dd { margin: 0; font-size: 0.95em; }

/* Kopyalanabilir örnek metin blokları */
.legal-sample { position: relative; }

.legal-sample pre {
	white-space: pre-wrap;
	word-break: break-word;
	font-size: 0.82rem;
	line-height: 1.65;
	padding-top: 2.6rem;
}

.legal-sample__copy {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: var(--paper);
	color: var(--ink-muted);
	border: 1px solid var(--rule-strong);
	padding: 0.3rem 0.6rem;
	font-weight: 400;
}

.legal-sample__copy:hover { color: var(--accent); border-color: var(--accent); background: var(--paper); }

@media print {
	.legal-toc, .legal-sample__copy { display: none; }
	.legal-body { display: block; }
	.legal-content { max-width: 100%; }
}

/* Doldurulmamış yasal alan işareti ve yönetici uyarısı */
.legal-content .legal-todo {
	background: rgba(184, 69, 47, 0.14);
	color: var(--focus);
	font-family: var(--font-mono);
	font-size: 0.82em;
	padding: 0.1em 0.35em;
	border-radius: 2px;
	border: 1px dashed var(--focus);
}

.legal-warning {
	max-width: 46rem;
	margin: 0 0 2rem;
	padding: 0.9rem 1.2rem;
	border: 1px dashed var(--focus);
	border-radius: var(--radius);
	background: var(--paper-raised);
	font-size: 0.88rem;
	color: var(--ink);
}

.legal-warning p { margin: 0 0 0.4rem; }
.legal-warning p:last-child { margin: 0; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-muted); }
