/*
 * Balans YMM — sitenin tek stil dosyası.
 *
 * Düzen: 1 Tasarım değişkenleri · 2 Temel · 3 Yerleşim · 4 Bileşenler · 5 Üst/alt bölüm
 *        6 Sayfalar · 7 Yardımcılar · 8 Yazdırma
 * Bütün renkler değişkenden gelir; koyu tema yalnız değişkenleri değiştirir.
 * Tema: <html data-theme="light|dark">; seçim yoksa ziyaretçinin sistem ayarı.
 */

/* ============ 1. Tasarım değişkenleri ============ */
:root {
  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Renkler — açık tema */
  --c-bg: #f6f5f2;
  --c-surface: #ffffff;
  --c-surface-2: #f0f1f3;
  --c-tint: #edf1f8;
  --c-ink: #131d2b;
  --c-text: #2b3441;
  --c-muted: #5b6573;
  --c-line: #e2e4e8;
  --c-line-strong: #c9ced6;
  --c-primary: #1d3f78;
  --c-primary-hover: #15305d;
  --c-primary-soft: #e8eef8;
  --c-link: #1d4fa0;
  --c-accent: #a8844f;
  --c-accent-text: #85663a;
  --c-deep: #0f2341;
  --c-deep-2: #142d52;
  --c-on-deep: #eef2f8;
  --c-on-deep-muted: #a9b7cc;
  --c-ok-bg: #e8f5ee; --c-ok: #176139;
  --c-err-bg: #fbecea; --c-err: #a3291b;
  --c-pdf: #b3261e; --c-pdf-bg: #fbeceb;

  /* Ölçüler */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 55, .05);
  --shadow-md: 0 6px 18px rgba(15, 30, 55, .07);
  --shadow-lg: 0 18px 48px rgba(15, 30, 55, .12);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 76px;
  --section-y: clamp(56px, 7vw, 104px);
  --measure: 72ch;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Koyu tema: seçilmişse ya da seçim yokken sistem koyuysa */
:root[data-theme="dark"] {
  --c-bg: #0d1219; --c-surface: #141b24; --c-surface-2: #1a2330; --c-tint: #162236;
  --c-ink: #eef2f7; --c-text: #cfd6e0; --c-muted: #95a1b2; --c-line: #253142; --c-line-strong: #34414f;
  --c-primary: #2f5aa6; --c-primary-hover: #3a68ba; --c-primary-soft: #1a2a44; --c-link: #9dbcf2;
  --c-accent: #c8a46b; --c-accent-text: #d4b27b; --c-deep: #0a1524; --c-deep-2: #0f1d31;
  --c-ok-bg: #12301f; --c-ok: #8fdcb0; --c-err-bg: #3a1714; --c-err: #f3a99f; --c-pdf: #f19a92; --c-pdf-bg: #3a1a19;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow-md: 0 6px 18px rgba(0, 0, 0, .35); --shadow-lg: 0 18px 48px rgba(0, 0, 0, .45);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-bg: #0d1219; --c-surface: #141b24; --c-surface-2: #1a2330; --c-tint: #162236;
    --c-ink: #eef2f7; --c-text: #cfd6e0; --c-muted: #95a1b2; --c-line: #253142; --c-line-strong: #34414f;
    --c-primary: #2f5aa6; --c-primary-hover: #3a68ba; --c-primary-soft: #1a2a44; --c-link: #9dbcf2;
    --c-accent: #c8a46b; --c-accent-text: #d4b27b; --c-deep: #0a1524; --c-deep-2: #0f1d31;
    --c-ok-bg: #12301f; --c-ok: #8fdcb0; --c-err-bg: #3a1714; --c-err: #f3a99f; --c-pdf: #f19a92; --c-pdf-bg: #3a1a19;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow-md: 0 6px 18px rgba(0, 0, 0, .35); --shadow-lg: 0 18px 48px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ============ 2. Temel ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.7; font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-hover); }
:root[data-theme="dark"] a:hover { color: var(--c-ink); }
h1, h2, h3, h4 { color: var(--c-ink); margin: 0; font-weight: 600; overflow-wrap: break-word; hyphens: auto; }
h1, h2, .serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.25rem); line-height: 1.14; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.3rem); line-height: 1.2; }
h3 { font-size: 1.2rem; line-height: 1.35; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-link); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-primary-soft); color: var(--c-ink); }
.tnum { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--c-surface); color: var(--c-ink); padding: 10px 16px; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ============ 3. Yerleşim ============ */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--c-surface); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head > div { max-width: 680px; }
.section-head p { color: var(--c-muted); margin-top: 12px; }
.grid { display: grid; gap: 20px; }
.grid-2, .grid-3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; } }
.with-aside { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .with-aside { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } .with-aside > aside { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ============ 4. Bileşenler ============ */
/* Üst başlık (eyebrow) */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-text); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--c-accent); }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--c-muted); line-height: 1.65; max-width: 62ch; }

/* Düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 8px; border: 1px solid transparent; font-size: .9375rem; font-weight: 500; line-height: 1; text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { flex: 0 0 auto; }
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--c-primary-hover); color: #fff; }
.btn-outline { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-line-strong); }
.btn-outline:hover { border-color: var(--c-ink); color: var(--c-ink); }
.btn-light { background: #fff; color: var(--c-deep); }
.btn-light:hover { background: #e9eef7; color: var(--c-deep); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .875rem; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--c-link); text-decoration: none; }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Kart */
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); }
.card-pad { padding: clamp(20px, 3vw, 32px); }
a.card { display: block; color: inherit; text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
a.card:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Etiket */
.tag { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 500; line-height: 1.3; padding: 4px 10px; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-primary); text-decoration: none; white-space: nowrap; }
:root[data-theme="dark"] .tag { color: var(--c-link); }
a.tag:hover { background: var(--c-primary); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* PDF simgesi */
.pdf-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; color: var(--c-pdf); background: var(--c-pdf-bg); }
.pdf-link:hover { color: var(--c-pdf); filter: brightness(.96); }

/* Form */
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-size: .875rem; font-weight: 500; color: var(--c-ink); margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--c-line-strong); border-radius: 8px;
  background: var(--c-surface); color: var(--c-ink); font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 150px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235b6573' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--c-muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); }
.input::placeholder, .textarea::placeholder { color: var(--c-muted); opacity: .8; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }
.input-icon .input { padding-left: 44px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--c-muted); line-height: 1.55; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--c-primary); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px; font-size: .9375rem; }
.alert-ok { background: var(--c-ok-bg); color: var(--c-ok); }
.alert-err { background: var(--c-err-bg); color: var(--c-err); }

/* Kırıntı yolu */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; font-size: .875rem; color: var(--c-muted); margin-bottom: 18px; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li:not(:last-child)::after { content: "/"; color: var(--c-line-strong); }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-link); text-decoration: underline; }

/* Sayfalama */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin-top: 32px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); text-decoration: none; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--c-primary); color: var(--c-link); }
.pager .is-current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pager .is-gap { border-color: transparent; background: transparent; min-width: 24px; }

/* Zengin metin (panelden gelen içerik) */
.prose { color: var(--c-text); font-size: 1.0625rem; line-height: 1.78; max-width: var(--measure); overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 1.55rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.0625rem; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin: .35em 0; padding-left: .2em; }
.prose li::marker { color: var(--c-accent); }
.prose strong, .prose b { color: var(--c-ink); font-weight: 600; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 3px solid var(--c-accent); background: var(--c-surface-2); border-radius: 0 var(--radius) var(--radius) 0; }
.prose hr { border: 0; border-top: 1px solid var(--c-line); margin: 2.2em 0; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.4em 0; font-size: .9375rem; line-height: 1.5; }
.prose th, .prose td { border: 1px solid var(--c-line-strong); padding: 9px 12px; text-align: left; vertical-align: top; min-width: 96px; }
.prose th { background: var(--c-surface-2); color: var(--c-ink); font-weight: 600; }
.prose a { word-break: break-word; }

/* ============ 5. Üst şerit, üst menü, alt bilgi ============ */
.topbar { background: var(--c-deep); color: var(--c-on-deep-muted); font-size: .8125rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: var(--c-on-deep); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-tag { display: none; letter-spacing: .04em; }
@media (min-width: 900px) { .topbar-tag { display: block; } }
@media (max-width: 560px) { .topbar .topbar-mail { display: none; } }

.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--c-surface) 94%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--c-line); transition: box-shadow .2s var(--ease); }
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; flex: 0 0 auto; }
.logo img { height: 34px; width: auto; }
.logo .logo-on-dark { display: none; }
:root[data-theme="dark"] .logo .logo-on-light { display: none; }
:root[data-theme="dark"] .logo .logo-on-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .logo-on-light { display: none; } :root:not([data-theme="light"]) .logo .logo-on-dark { display: block; } }
@media (min-width: 1100px) { .logo img { height: 38px; } }
.nav { display: none; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: inline-flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 14px; color: var(--c-text); text-decoration: none; font-size: .9375rem; font-weight: 500; position: relative; }
.nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 2px; background: var(--c-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
:root[data-theme="dark"] .nav > ul > li > a::after { background: var(--c-link); }
.nav > ul > li > a:hover, .nav > ul > li:focus-within > a { color: var(--c-ink); }
.nav > ul > li > a:hover::after, .nav > ul > li > a.is-active::after { transform: scaleX(1); }
.nav > ul > li > a.is-active { color: var(--c-ink); }
.nav .caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.dropdown { position: absolute; top: calc(100% - 6px); left: 0; min-width: 250px; list-style: none; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--c-text); text-decoration: none; font-size: .9375rem; }
.dropdown a:hover { background: var(--c-surface-2); color: var(--c-ink); }
.dropdown.years { display: grid; grid-template-columns: repeat(3, 1fr); min-width: 270px; gap: 2px; }
.dropdown.years li:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--c-line); margin-bottom: 4px; padding-bottom: 4px; }
.dropdown.years li:not(:first-child) a { text-align: center; font-variant-numeric: tabular-nums; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--c-line-strong); }
.theme-icon-dark { display: none; }
:root[data-theme="dark"] .theme-icon-light { display: none; }
:root[data-theme="dark"] .theme-icon-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-icon-light { display: none; } :root:not([data-theme="light"]) .theme-icon-dark { display: block; } }
.header-cta { display: none; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.burger { flex-direction: column; gap: 4px; }
.site-header.is-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; border-top: 1px solid var(--c-line); background: var(--c-surface); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.site-header.is-open .mobile-nav { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav > .container > ul > li { border-bottom: 1px solid var(--c-line); }
.mobile-nav a { display: block; padding: 13px 4px; color: var(--c-ink); text-decoration: none; font-weight: 500; }
.mobile-nav .group-title { display: block; padding: 14px 4px 4px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.mobile-nav ul ul a { padding: 10px 4px 10px 14px; font-weight: 400; color: var(--c-text); }
.mobile-nav .year-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px 14px 14px; }
.mobile-nav .year-chips a { padding: 7px 12px; border: 1px solid var(--c-line); border-radius: 8px; font-size: .875rem; font-variant-numeric: tabular-nums; }
.mobile-nav .mobile-cta { padding: 16px 0 22px; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1100px) { .nav { display: block; } .burger, .site-header.is-open .mobile-nav { display: none; } }

.site-footer { background: var(--c-deep); color: var(--c-on-deep-muted); margin-top: 0; }
.site-footer a { color: var(--c-on-deep); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; padding: 64px 0 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; } }
.footer-brand img { height: 36px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 34ch; font-size: .9375rem; }
.site-footer h2 { font-family: var(--font-sans); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; font-size: .9375rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { margin-top: 4px; flex: 0 0 auto; color: var(--c-accent); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .18); }
.socials a:hover { border-color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .875rem; }

/* ============ 6. Sayfalar ============ */
/* İç sayfa başlığı */
.page-hero { background: var(--c-surface); border-bottom: 1px solid var(--c-line); padding: clamp(36px, 5vw, 64px) 0 clamp(32px, 4vw, 52px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, var(--c-tint), transparent); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { margin-top: 14px; }

/* Ana sayfa: giriş */
.hero { position: relative; overflow: hidden; background: var(--c-surface); border-bottom: 1px solid var(--c-line); padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 88px); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 10%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 85% 10%, #000 10%, transparent 70%); }
.hero .container { position: relative; display: grid; gap: 44px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .hero .container { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; } }
.hero h1 { max-width: 21ch; font-size: clamp(2rem, 1.4rem + 2.1vw, 3rem); }
.hero .lead { margin: 20px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-search { margin-top: 30px; max-width: 520px; }
.hero-search .input { min-height: 52px; background: var(--c-bg); }
.hero-search small { display: block; margin-top: 8px; color: var(--c-muted); font-size: .8125rem; }
.latest-panel { padding: 8px 0; box-shadow: var(--shadow-lg); }
.latest-panel header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px 12px; border-bottom: 1px solid var(--c-line); }
.latest-panel header h2 { font-family: var(--font-sans); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.latest-list { list-style: none; }
.latest-list a { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px 16px; padding: 14px 22px; text-decoration: none; color: var(--c-ink); border-bottom: 1px solid var(--c-line); transition: background .15s; }
.latest-list li:last-child a { border-bottom: 0; }
.latest-list a:hover { background: var(--c-surface-2); }
.latest-list .no { font-weight: 600; color: var(--c-primary); font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .latest-list .no { color: var(--c-link); }
.latest-list .date { grid-column: 1; font-size: .8125rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.latest-list .title { grid-column: 2; grid-row: 1 / span 2; font-size: .9688rem; line-height: 1.45; font-weight: 500; }
.latest-panel footer { padding: 12px 22px 10px; }

/* Ana sayfa: kısa bilgiler */
.facts { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
.facts .container { display: grid; grid-template-columns: 1fr; }
.fact { padding: 26px 0; border-bottom: 1px solid var(--c-line); }
.fact:last-child { border-bottom: 0; }
.fact b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); color: var(--c-ink); line-height: 1.2; font-variant-numeric: tabular-nums; }
.fact span { color: var(--c-muted); font-size: .9375rem; }
@media (min-width: 820px) {
  .facts .container { grid-template-columns: repeat(3, 1fr); }
  .fact { border-bottom: 0; padding: 30px 28px; border-left: 1px solid var(--c-line); }
  .fact:first-child { border-left: 0; padding-left: 0; }
}

/* Hizmet kartları */
.service { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.service .num { font-family: var(--font-serif); font-size: 1.05rem; color: var(--c-accent-text); font-variant-numeric: tabular-nums; }
.service h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; }
.service p { color: var(--c-muted); flex: 1; }

/* Kurumsal / neden biz */
.values { list-style: none; display: grid; gap: 0; }
.values li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.values li:last-child { border-bottom: 0; }
.values svg { color: var(--c-accent); margin-top: 3px; }
.values b { color: var(--c-ink); font-weight: 600; display: block; }
.values span { color: var(--c-muted); font-size: .9688rem; }

/* Çağrı bandı */
.cta-band { background: var(--c-deep); color: var(--c-on-deep-muted); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border: 1px solid rgba(200, 164, 107, .35); border-radius: 50%; box-shadow: 0 0 0 40px rgba(200, 164, 107, .06), 0 0 0 80px rgba(200, 164, 107, .04); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 10px; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (min-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; } }

/* Ekip */
.person { overflow: hidden; }
.person figure { margin: 0; aspect-ratio: 4 / 4.5; background: var(--c-surface-2); overflow: hidden; }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s var(--ease); }
a.person:hover img { transform: scale(1.03); }
.person .meta { padding: 18px 20px 22px; }
.person h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.35rem; }
.person p { color: var(--c-muted); font-size: .9375rem; margin-top: 4px; }
.profile { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
@media (min-width: 900px) { .profile { grid-template-columns: 320px minmax(0, 1fr); gap: 64px; } }
.profile figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-surface-2); border: 1px solid var(--c-line); }
.profile .role { color: var(--c-muted); font-size: 1.125rem; margin: 6px 0 28px; }

/* Sirküler listesi */
.filter-bar { display: grid; gap: 12px; grid-template-columns: 1fr; padding: 18px; margin-top: 28px; box-shadow: var(--shadow-sm); }
@media (min-width: 720px) { .filter-bar { grid-template-columns: 1fr 1fr; } .filter-bar .fb-search { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .filter-bar { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1.3fr) auto; align-items: end; padding: 20px; } .filter-bar .fb-search { grid-column: auto; } }
.filter-bar .label { font-size: .8125rem; color: var(--c-muted); font-weight: 500; }
.fb-actions { display: flex; gap: 8px; align-items: center; }
.fb-actions .btn { min-height: 48px; }
.fb-clear { font-size: .875rem; color: var(--c-muted); white-space: nowrap; padding: 0 6px; }
.quick-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.quick-cats a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-text); text-decoration: none; font-size: .875rem; }
.quick-cats a small { color: var(--c-muted); font-variant-numeric: tabular-nums; }
.quick-cats a:hover { border-color: var(--c-primary); color: var(--c-link); }
.quick-cats a.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.quick-cats a.is-active small { color: rgba(255, 255, 255, .75); }
.results-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: baseline; margin: 28px 0 14px; color: var(--c-muted); font-size: .9375rem; }
.results-meta b { color: var(--c-ink); font-weight: 600; }
.table-wrap { overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; white-space: nowrap; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); padding: 14px 18px; background: var(--c-surface-2); border-bottom: 1px solid var(--c-line); }
.data-table td { padding: 18px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background .15s; }
.data-table tbody tr:hover { background: var(--c-tint); }
.data-table .c-date { width: 118px; white-space: nowrap; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.data-table .c-no { width: 96px; white-space: nowrap; font-weight: 600; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.data-table .c-title a { color: var(--c-ink); font-weight: 500; text-decoration: none; line-height: 1.5; }
.data-table .c-title a:hover { color: var(--c-link); text-decoration: underline; }
.data-table .c-title small { display: block; color: var(--c-muted); font-size: .875rem; margin-top: 4px; line-height: 1.5; }
.data-table .c-cat { width: 200px; }
.data-table .c-pdf { width: 64px; text-align: center; }
.circ-cards { display: grid; gap: 12px; }
.circ-card { padding: 18px; }
.circ-card .top { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; color: var(--c-muted); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.circ-card .top b { color: var(--c-ink); font-weight: 600; }
.circ-card h3 { font-size: 1.0625rem; font-weight: 500; line-height: 1.45; margin-bottom: 12px; }
.circ-card h3 a { color: var(--c-ink); text-decoration: none; }
.circ-card .bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.only-wide { display: none; }
@media (min-width: 900px) { .only-wide { display: block; } .only-narrow { display: none; } }
.empty { text-align: center; padding: 56px 20px; }
.empty h2 { font-size: 1.5rem; margin-bottom: 8px; }

/* Sirküler detayı: antetli kâğıt görünümü */
.doc { padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.doc-head { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: baseline; padding-bottom: 16px; margin-bottom: 26px; border-bottom: 1px solid var(--c-line); position: relative; font-size: .9375rem; color: var(--c-muted); }
.doc-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 2px; background: var(--c-accent); }
.doc-head .brand { font-weight: 700; letter-spacing: .16em; font-size: .8125rem; color: var(--c-primary); margin-right: auto; }
:root[data-theme="dark"] .doc-head .brand { color: var(--c-link); }
.doc-head b { color: var(--c-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.doc h1 { font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.22; margin-bottom: 16px; }
.doc .summary { font-size: 1.125rem; line-height: 1.7; color: var(--c-ink); background: var(--c-tint); border-left: 3px solid var(--c-primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 26px 0; max-width: var(--measure); }
.doc-section-title { font-family: var(--font-sans); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-text); margin: 32px 0 14px; }
.facts-list { display: grid; margin: 30px 0 0; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.facts-list > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 18px; border-bottom: 1px solid var(--c-line); background: var(--c-surface); }
.facts-list > div:last-child { border-bottom: 0; }
.facts-list > div:nth-child(odd) { background: var(--c-bg); }
.facts-list dt { font-size: .8125rem; color: var(--c-muted); }
.facts-list dd { margin: 0; color: var(--c-ink); font-weight: 500; overflow-wrap: anywhere; }
@media (min-width: 640px) { .facts-list > div { grid-template-columns: 230px 1fr; gap: 16px; } }
.doc-files { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.reader-cta { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; margin-top: 28px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: var(--c-bg); text-decoration: none; color: inherit; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.reader-cta:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-md); color: inherit; }
.reader-cta[aria-busy="true"] { cursor: progress; opacity: .75; }
.reader-cta-page { position: relative; width: 150px; aspect-ratio: 1 / 1.414; margin: 0 auto; background: #fff; border: 1px solid var(--c-line); border-radius: 4px; box-shadow: 6px 6px 0 -1px var(--c-surface-2), 6px 6px 0 0 var(--c-line), var(--shadow-md); padding: 14px 14px; display: flex; flex-direction: column; gap: 7px; transition: transform .3s var(--ease); }
.reader-cta:hover .reader-cta-page { transform: rotate(-2deg) translateY(-3px); }
.reader-cta-page .brand { font-size: 7px; font-weight: 700; letter-spacing: .14em; color: #1d3f78; border-bottom: 1px solid #a8844f; padding-bottom: 5px; margin-bottom: 4px; }
.reader-cta-page span:not(.brand) { display: block; height: 5px; border-radius: 3px; background: #e6e9ee; }
.reader-cta-page .l1 { width: 100%; } .reader-cta-page .l2 { width: 86%; } .reader-cta-page .l3 { width: 64%; } .reader-cta-page .l4 { width: 40%; }
.reader-cta-text { display: flex; flex-direction: column; gap: 4px; }
.reader-cta-text .eyebrow { margin-bottom: 2px; }
.reader-cta-text b { font-family: var(--font-serif); font-weight: 500; font-size: 1.5rem; color: var(--c-ink); line-height: 1.25; }
.reader-cta-text > span:not(.eyebrow):not(.btn) { color: var(--c-muted); }
.reader-cta-text .btn { align-self: flex-start; }
@media (min-width: 640px) { .reader-cta { grid-template-columns: 170px 1fr; gap: 32px; } }
a.btn[aria-busy="true"], a.pdf-link[aria-busy="true"] { cursor: progress; opacity: .7; }
.pdf-frame { width: 100%; height: min(1100px, 90vh); margin-top: 24px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
.doc-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--c-line); }
.tool { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-text); text-decoration: none; font-size: .875rem; cursor: pointer; }
.tool:hover { border-color: var(--c-line-strong); color: var(--c-ink); }
.neighbors { display: grid; gap: 12px; margin-top: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .neighbors { grid-template-columns: 1fr 1fr; } }
.neighbors a { padding: 16px 18px; }
.neighbors small { display: block; color: var(--c-muted); font-size: .8125rem; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.neighbors span { color: var(--c-ink); font-weight: 500; line-height: 1.45; display: block; }
.neighbors .next { text-align: right; }
.side-box { padding: 22px; margin-bottom: 16px; }
.side-box h2 { font-family: var(--font-sans); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 12px; }
.side-list { list-style: none; }
.side-list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none; font-size: .9375rem; line-height: 1.45; }
.side-list li:last-child a { border-bottom: 0; }
.side-list a small { display: block; color: var(--c-muted); font-size: .8125rem; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.side-list a:hover { color: var(--c-link); }
.side-list a.is-active { color: var(--c-link); font-weight: 600; }
.year-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.year-grid a { text-align: center; padding: 8px 0; border: 1px solid var(--c-line); border-radius: 8px; color: var(--c-text); text-decoration: none; font-size: .875rem; font-variant-numeric: tabular-nums; }
.year-grid a:hover, .year-grid a.is-active { border-color: var(--c-primary); color: var(--c-link); }

/* İletişim */
.contact-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; } }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; }
.contact-list .ic { flex: 0 0 42px; height: 42px; border-radius: 10px; background: var(--c-primary-soft); color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; }
:root[data-theme="dark"] .contact-list .ic { color: var(--c-link); }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 2px; }
.contact-list a { color: var(--c-ink); text-decoration: none; }
.contact-list a:hover { color: var(--c-link); text-decoration: underline; }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius-lg); margin-top: 16px; display: block; }
.form-grid { display: grid; gap: 0 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } }

/* ============ 7. Yardımcılar ============ */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.muted { color: var(--c-muted); }
.center { text-align: center; }
.flex-wrap-gap { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============ 8. Yazdırma: sirkülerler sık yazdırılır ============ */
@media print {
  :root { --c-bg: #fff; --c-surface: #fff; --c-ink: #000; --c-text: #111; --c-muted: #444; --c-line: #bbb; }
  .topbar, .site-header, .site-footer, aside, .crumbs, .doc-tools, .neighbors, .doc-files, .pdf-frame, .skip { display: none !important; }
  body { font-size: 11pt; }
  .page-hero { padding: 0 0 8pt; border: 0; }
  .page-hero::after { display: none; }
  .with-aside { display: block; }
  .doc { border: 0; box-shadow: none; padding: 0; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
}
