/* Ünite sayfaları 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; --on-accent: #ffffff;
  --era-e: #5c4a7d; --era-a: #3b5b86; --era-b: #7a2e3c; --era-c: #2e6a5d; --era-d: #8a5b24;
  --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; --on-accent: #0e121a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e121a; --surface: #151b26; --ink: #e7eaf0; --ink-soft: #aab2c1; --ink-faint: #8d96a7;
  --line: #262f40; --accent: #93adf0; --accent-hover: #adc1f5; --on-accent: #0e121a; color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
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; } }
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-serif); font-weight: 600; font-size: 1.14rem; }
.brand svg { width: 38px; height: 38px; flex: none; }
.links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.92rem; font-weight: 500; }
.links a { color: var(--ink-soft); text-decoration: none; }
.links a:hover { color: var(--accent); }
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 .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); }
.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: 0 0 6px; font-family: var(--font-serif); font-weight: 500; font-size: 1.5rem; }
.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; }
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; }
@media (max-width: 640px) { .hero { grid-template-columns: 1fr; gap: 22px; } .cover { width: 150px; } }