/* Ünite sayfaları, kavramlar sözlüğü ve site haritası: ana sitenin renkleri ve fontları (unite-sayfalari.ps1 yazar) */
:root {
  --bg: #f6f7f9; --surface: #ffffff; --ink: #141a2a; --ink-soft: #4a5367; --ink-faint: #5e677a;
  --line: #e3e6ec; --accent: #26489a; --accent-hover: #1d3b82; --accent-soft: #eaf0fb; --on-accent: #ffffff;
  --surface-2: #f2f4f7; --line-strong: #d1d6e0; --glass: rgb(255 255 255 / 0.82);
  --era-e: #5c4a7d; --era-a: #3b5b86; --era-b: #7a2e3c; --era-c: #2e6a5d; --era-d: #8a5b24;
  --ok: #1f7a4d; --shadow-card: 0 1px 2px rgb(20 26 42 / 0.05), 0 6px 18px -8px rgb(20 26 42 / 0.12);
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e121a; --surface: #151b26; --ink: #e7eaf0; --ink-soft: #aab2c1; --ink-faint: #8d96a7;
    --line: #262f40; --accent: #93adf0; --accent-hover: #adc1f5; --accent-soft: #1c2843; --on-accent: #0e121a; color-scheme: dark;
    --surface-2: #1a2130; --line-strong: #344056; --glass: rgb(21 27 38 / 0.82); --ok: #6fd3a0; --shadow-card: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 22px -10px rgb(0 0 0 / 0.5);
  }
}
:root[data-theme="dark"] {
  --bg: #0e121a; --surface: #151b26; --ink: #e7eaf0; --ink-soft: #aab2c1; --ink-faint: #8d96a7;
  --line: #262f40; --accent: #93adf0; --accent-hover: #adc1f5; --accent-soft: #1c2843; --on-accent: #0e121a; color-scheme: dark;
  --surface-2: #1a2130; --line-strong: #344056; --glass: rgb(21 27 38 / 0.82); --ok: #6fd3a0; --shadow-card: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 22px -10px rgb(0 0 0 / 0.5);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1000px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 520px) { .wrap { padding-inline: 18px; } }
/* Üst menü: ana sitedeki (index.html) .topbar kurallarının aynısı; logo ve sekmeler sayfa değişince yerinden oynamasın diye genişlik de aynı (1160px) */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--glass); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.topbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; max-width: 1160px; margin-inline: auto; padding: 12px 24px; }
.brand { order: 1; display: flex; align-items: center; gap: 11px; margin-right: 4px; color: var(--ink); text-decoration: none; }
.logo { display: block; width: 40px; height: 40px; flex: none; }
.brand-text { display: grid; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.16rem; letter-spacing: -0.005em; }
.brand-sub { font-size: 0.76rem; color: var(--ink-faint); }
.brand-ust { flex-direction: column; justify-content: center; gap: 4px; }
.brand-ust .logo { width: 36px; height: 36px; }
.brand-slogan { font-family: var(--font-serif); font-style: italic; font-size: 0.74rem; line-height: 1; letter-spacing: 0.01em; color: var(--ink-faint); white-space: nowrap; }
.brand-ust:hover .brand-slogan { color: var(--accent); }
.tabs { order: 2; flex: 1 1 auto; min-width: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 8px 4px; border-radius: 999px; color: var(--ink-soft); font-weight: 500; font-size: 0.86rem; text-decoration: none; transition: color 0.15s, background-color 0.15s; }
.tabs a:hover { color: var(--ink); background: var(--surface-2); }
.tabs a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.search { order: 3; position: relative; flex: 0 1 118px; min-width: 0; margin: 0; }
.search .ico { position: absolute; left: 13px; top: 11px; width: 16px; height: 16px; color: var(--ink-faint); pointer-events: none; }
.search input { width: 100%; height: 38px; padding: 0 14px 0 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font: inherit; font-size: 0.9rem; transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s; }
.search input::placeholder { color: var(--ink-faint); }
.search input:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.theme-btn { order: 4; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.theme-btn:hover { border-color: var(--accent); color: var(--accent); }
.theme-btn .ico { width: 16px; height: 16px; }
@media (max-width: 1180px) {
  .tabs { order: 3; flex-basis: 100%; }
  .search { order: 2; margin-left: auto; flex: 0 1 280px; }
  .theme-btn { order: 2; }
}
@media (max-width: 720px) { .topbar { position: static; } .brand-sub { display: none; } }
@media (max-width: 520px) {
  .topbar-row { padding-inline: 18px; }
  .search { flex-basis: 100%; margin-left: 0; }
  .theme-btn { order: 1; margin-left: auto; }
}
@media (max-width: 720px) {
  .topbar-row { position: relative; }
  .brand-ust { order: 0; flex: 1 0 100%; align-items: center; margin: 0; }
  .theme-btn { position: absolute; top: 18px; right: 24px; margin: 0; }
  .search { flex: 1 1 100%; margin-left: 0; }
}
@media (max-width: 520px) { .theme-btn { right: 18px; } }
/* Telefonda alt menü (ana sitedeki .alt-menu ile aynı): ekranın altında sabit */
.alt-menu { display: none; }
@media (max-width: 720px) {
  .topbar .tabs { display: none; }
  .alt-menu { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: repeat(6, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(15 29 70 / 0.08); }
  .alt-menu a, .alt-menu button { display: grid; justify-items: center; gap: 3px; padding: 4px 2px; border: 0; border-radius: 10px; background: none; color: var(--ink-faint); font: inherit; font-size: 0.68rem; font-weight: 600; text-decoration: none; cursor: pointer; }
  .alt-menu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .alt-menu a[aria-current="page"] { color: var(--accent); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
/* Telefonda "Menü" düğmesinin açtığı bütün bölümler listesi (ortak.js oluşturur) */
.alt-sayfa { position: fixed; inset: 0; z-index: 40; display: flex; align-items: flex-end; background: rgb(10 14 30 / 0.45); }
.alt-sayfa[hidden] { display: none; }
.as-kutu { width: 100%; max-height: 80vh; overflow-y: auto; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: var(--surface); box-shadow: 0 -10px 30px rgb(0 0 0 / 0.25); }
.as-bas { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 1.15rem; }
.as-kapat { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.as-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.as-liste a { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
main .wrap { display: grid; gap: 36px; padding-block: 28px 64px; }
.crumbs { font-size: 0.84rem; color: var(--ink-faint); }
.crumbs a { color: inherit; }
.hero { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 36px; align-items: center; }
.cover { position: relative; aspect-ratio: 3 / 4; max-width: 100%; overflow: hidden; container-type: inline-size; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 16px 16px 20px; border-radius: 5px 10px 10px 5px; color: #ffffff; background-image: linear-gradient(155deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0) 45%, rgb(0 0 0 / 0.14)); box-shadow: 0 1px 2px rgb(0 0 0 / 0.08), 0 14px 26px -14px rgb(0 0 0 / 0.5); }
.cover::before { content: ""; position: absolute; inset: 8px 8px 8px 13px; border: 1px solid rgb(255 255 255 / 0.28); border-radius: 3px; }
.cover::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: rgb(0 0 0 / 0.18); }
.cover > span { position: relative; }
.cover .k { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.cover .n { font-family: var(--font-serif); font-weight: 500; line-height: 1; font-size: 3.2rem; font-size: min(3.6rem, 30cqi); }
.cover .n.long { font-size: 2.3rem; font-size: min(2.6rem, 21cqi); }
.cover .ill { position: absolute; right: 11%; top: 16%; width: 34%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.72; }
.cover .f { display: grid; gap: 3px; font-size: 0.7rem; line-height: 1.3; }
.cover .e { font-family: var(--font-serif); font-style: italic; font-size: 0.95rem; }
.cover .b { letter-spacing: 0.04em; opacity: 0.75; }
.era-e { background-color: var(--era-e); } .era-a { background-color: var(--era-a); } .era-b { background-color: var(--era-b); }
.era-c { background-color: var(--era-c); } .era-d { background-color: var(--era-d); }
.eyebrow { margin: 0; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 6px 0 8px; font-family: var(--font-serif); font-weight: 500; font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.meta { margin: 0; font-size: 0.9rem; color: var(--ink-faint); }
.lede { max-width: 62ch; margin: 14px 0 22px; color: var(--ink-soft); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 0.92rem; font-weight: 600; text-decoration: none; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.ozet-s h2 { margin: 0 0 8px; font-family: var(--font-serif); font-weight: 500; font-size: 1.5rem; }
.ozet-s p { max-width: 75ch; margin: 0; color: var(--ink-soft); line-height: 1.7; }
.terim-s details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.terim-s summary { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; cursor: pointer; }
.terim-s summary h2 { display: inline; margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: 1.25rem; }
.terim-s summary span { color: var(--ink-faint); font-size: 0.86rem; }
.terimler { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 16px 14px; }
.terimler span { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 0.84rem; }
.osym-s h2 { margin: 0 0 6px; font-family: var(--font-serif); font-weight: 500; font-size: 1.5rem; }
.osym-ozet { margin: 0 0 10px; color: var(--ink-soft); }
.osym-ozet b { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; color: var(--accent); }
.osym-s details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.osym-s summary { padding: 10px 14px; cursor: pointer; font-weight: 600; color: var(--accent); }
.osym-s ul { list-style: none; columns: 2 300px; column-gap: 28px; margin: 0; padding: 4px 16px 12px; font-size: 0.9rem; color: var(--ink-soft); }
.osym-s li { padding: 3px 0; break-inside: avoid; }
.osym-s .yn { display: inline-block; min-width: 7.6em; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.osym-not { margin: 8px 0 0; font-size: 0.84rem; color: var(--ink-faint); }
.osym-son { margin: 0 0 12px; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--osym, #b7791f); border-radius: 12px; background: var(--surface); }
.osym-son-b { margin: 0 0 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--osym, #b7791f); }
.osym-son ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.osym-son li { display: grid; grid-template-columns: 3.4em 5.2em minmax(0, 1fr); gap: 8px; align-items: baseline; font-size: 0.93rem; }
.osym-yil { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.osym-no { color: var(--ink-faint); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.osym-konu { color: var(--ink); }
.topics h2, .kavram-s h2, .all h2 { margin: 0 0 10px; font-family: var(--font-serif); font-weight: 500; font-size: 1.5rem; }
.topics ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px 32px; margin: 0; padding-left: 20px; color: var(--ink-soft); }
.chips-s { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.chips-s a { padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.86rem; font-weight: 500; text-decoration: none; }
.chips-s a:hover { text-decoration: underline; }
.chips-s a.more { background: none; border: 1px solid var(--line); color: var(--ink-soft); }
.yks-bag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; background: var(--surface); }
.yks-bag span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.yks-bag a { font-weight: 600; text-decoration: none; }
.yks-bag a:hover { text-decoration: underline; }
.pn { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 16px; border-block: 1px solid var(--line); font-size: 0.92rem; }
.pn a { text-decoration: none; }
.pn a:hover { text-decoration: underline; }
.all h2 { margin-bottom: 6px; }
.era { margin-top: 16px; }
.era h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.era ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 28px; }
.era li a { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 0.93rem; text-decoration: none; }
.era li a:hover { color: var(--accent); }
.era li a[aria-current] { color: var(--accent); font-weight: 600; }
.era .no { flex: none; min-width: 2.2em; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.harfler { display: flex; flex-wrap: wrap; gap: 6px; }
.harfler a, .harfler span { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 0.86rem; font-weight: 600; text-decoration: none; }
.harfler a { color: var(--ink-soft); }
.harfler a:hover { border-color: var(--accent); color: var(--accent); }
.harfler span { color: var(--ink-faint); opacity: 0.4; }
.sozluk { padding: 4px 26px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.kv-grup h2 { margin: 0; padding: 18px 0 8px; border-bottom: 1px solid var(--line); font-family: var(--font-serif); font-weight: 500; font-size: 1.5rem; }
.kv-grup dl { margin: 0; }
.kv { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 4px 22px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv:target { background: var(--accent-soft); box-shadow: 0 0 0 8px var(--accent-soft); border-radius: 4px; }
.kv dt { font-family: var(--font-serif); font-size: 1.06rem; font-weight: 600; line-height: 1.35; }
.kv dd { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }
.kv dd a { margin-left: 4px; font-size: 0.82rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
footer { border-top: 1px solid var(--line); background: var(--surface); font-size: 0.84rem; color: var(--ink-faint); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-block: 18px; }
footer a { color: inherit; }
footer .gizlilik { flex-basis: 100%; margin: 2px 0 0; font-size: 0.78rem; line-height: 1.5; }
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; gap: 22px; }
  .cover { width: 150px; }
  .kv { grid-template-columns: 1fr; }
  .sozluk { padding: 2px 18px 12px; }
}