:root {
  --bg: #eef1f5;
  --surface: #ffffff;
  --fg: #172033;
  --muted: #5b6578;
  --line: #dde2ea;
  --accent: #c8102e;
  --accent-fg: #ffffff;
  --navy: #14213d;
  --navy-2: #1c2d52;
  --on-navy: #f3efe6;
  --gold: #c79a3b;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .07);
  --serif: Georgia, "Times New Roman", serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0e121a;
  --surface: #171c27;
  --fg: #ece8de;
  --muted: #a3a9b5;
  --line: #273041;
  --accent: #ef6b7c;
  --accent-fg: #11141b;
  --navy: #0a0e18;
  --navy-2: #121a2e;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .3);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.65 var(--serif); }
img { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.08rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
.page { padding-top: 28px; padding-bottom: 56px; }
.page section { margin: 36px 0; }
.page > h1 { padding-bottom: 12px; border-bottom: 3px solid var(--accent); display: inline-block; }

/* Üst bilgi çubuğu */
.draft-bar { background: #fff3cd; color: #5c4400; text-align: center; padding: 6px 12px; font: 13px/1.4 var(--ui); }
.topbar { background: var(--navy); color: var(--on-navy); font: 13px/1 var(--ui); border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.ticker { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.ticker-label { background: var(--accent); color: var(--accent-fg); padding: 4px 8px; border-radius: 4px; font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ticker-items { position: relative; min-width: 0; flex: 1; height: 1.4em; overflow: hidden; }
.ticker-items a { position: absolute; inset: 0; color: var(--on-navy); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; pointer-events: none; }
.ticker-items a.on { opacity: 1; transform: none; pointer-events: auto; }
.ticker-items a:hover { text-decoration: underline; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.chip-link { color: var(--on-navy); text-decoration: none; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 12px; font-weight: 600; }
.chip-link:hover { background: rgba(255,255,255,.12); }
.search-mini input { width: 150px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--on-navy); border-radius: 999px; padding: 6px 12px; font: 13px var(--ui); }
.search-mini input::placeholder { color: rgba(243,239,230,.65); }
.theme-toggle { background: none; border: 1px solid rgba(255,255,255,.25); color: var(--on-navy); width: 32px; height: 32px; border-radius: 50%; font-size: 16px; cursor: pointer; }
.theme-toggle:hover { background: rgba(255,255,255,.12); }
@media (max-width: 760px) { .top-actions .chip-link, .search-mini { display: none; } }

/* Başlık ve menü */
.site-header { background: var(--navy-2); color: var(--on-navy); position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 12px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; background: #fff; border-radius: 6px; padding: 4px 8px; margin: 8px 0; }
.brand img { display: block; height: 40px; width: auto; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; font: 15px/1 var(--ui); align-items: center; }
.nav a { color: var(--on-navy); text-decoration: none; padding: 13px 14px; border-radius: 8px; position: relative; display: inline-block; }
.nav a:hover { background: rgba(255,255,255,.1); }
.nav a[aria-current="page"] { background: rgba(255,255,255,.14); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--gold); border-radius: 2px; }
.caret { font-size: 11px; opacity: .8; }
.has-menu { position: relative; }
.mega { position: absolute; top: 100%; left: 0; min-width: 290px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.22); padding: 14px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-h { font: 700 11px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { color: var(--fg); display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; }
.mega a:hover { background: var(--bg); }
.mega em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 13px; }
.mega .mega-all { color: var(--accent); font-weight: 700; border-top: 1px solid var(--line); border-radius: 0; margin-top: 8px; padding-top: 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: var(--on-navy); padding: 8px 14px; border-radius: 8px; font: 15px var(--ui); }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 10px; }
  .nav.open { display: flex; }
  .has-menu { position: static; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,.06); border: 0; box-shadow: none; color: var(--on-navy); padding: 4px 8px 8px 16px; margin: 0 0 6px; }
  .mega a { color: var(--on-navy); }
  .mega a:hover { background: rgba(255,255,255,.1); }
  .mega-h, .mega .mega-all { display: none; }
}

/* Manşet alanı */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; padding-top: 22px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.slider { position: relative; min-height: 380px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: var(--navy); display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s; background:
  radial-gradient(600px 300px at 90% 0%, rgba(255,255,255,.16), transparent 60%),
  linear-gradient(135deg, var(--c, #8a1c2b), #14213d 85%); color: #fff; display: flex; align-items: flex-end; }
.slide.on { opacity: 1; visibility: visible; }
.slide-in { padding: 28px 32px 78px; max-width: 760px; }
.slide .meta, .slide .meta time { color: rgba(255,255,255,.85); }
.slide .tag { background: rgba(255,255,255,.2); }
.slide h2 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); margin: 12px 0 12px; }
.slide h2 a { color: #fff; text-decoration: none; }
.slide h2 a:hover { text-decoration: underline; }
.slide p { color: rgba(255,255,255,.88); margin: 0 0 16px; max-width: 62ch; font-size: 1rem; }
.slide .btn { background: #fff; color: #14213d; border-color: #fff; }
.slider-nav { position: absolute; left: 32px; right: 32px; bottom: 20px; display: flex; align-items: center; gap: 14px; z-index: 2; }
.slider-nav button { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.35); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.slider-nav button:hover { background: rgba(255,255,255,.32); }
.dots { display: flex; gap: 8px; flex: 1; }
.slider-nav .dot-btn { width: 26px; height: 6px; border-radius: 3px; padding: 0; border: 0; background: rgba(255,255,255,.35); }
.slider-nav .dot-btn.on { background: #fff; width: 40px; }
@media (max-width: 600px) { .slide-in { padding: 22px 20px 78px; } .slider-nav { left: 20px; right: 20px; } .slide p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; } }
.hero-side { display: grid; gap: 14px; align-content: stretch; grid-template-rows: repeat(3, 1fr); }
@media (max-width: 960px) { .hero-side { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; } }
@media (max-width: 700px) { .hero-side { grid-template-columns: 1fr; } }
.mini { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--fg); box-shadow: var(--shadow); transition: transform .15s; }
.mini:hover { transform: translateY(-2px); }
.mini-event { border-left-color: var(--gold); }
.mini-news { border-left-color: var(--navy-2); }
.mini-l { font: 700 11px var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mini strong { font: 700 1rem/1.3 var(--serif); }
.mini-m { font: 13px var(--ui); color: var(--muted); margin-top: auto; }
.statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.statbar div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: flex; align-items: baseline; gap: 10px; }
.statbar strong { font: 700 1.6rem/1 var(--serif); color: var(--accent); }
.statbar span { font: 13px var(--ui); color: var(--muted); }
@media (max-width: 700px) { .statbar { grid-template-columns: repeat(2, 1fr); } }

/* Ana düzen */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; padding-top: 28px; padding-bottom: 56px; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.content .block { margin: 36px 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--fg); margin-bottom: 16px; }
.sec-head h2 { margin: 0 0 6px; font: 700 1.05rem var(--ui); text-transform: uppercase; letter-spacing: .06em; }
.sec-head a, .sec-head .count { font: 600 13px var(--ui); }
.sec-head .count { color: var(--muted); }

/* Konu blokları */
.topics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .topics-grid { grid-template-columns: 1fr; } }
.topic { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 12px; box-shadow: var(--shadow); padding: 0 18px 12px; display: flex; flex-direction: column; }
.topic-h { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.topic-h h2 { margin: 0; font: 800 .95rem var(--ui); text-transform: uppercase; letter-spacing: .05em; color: var(--c); }
.topic-h a { font: 600 12.5px var(--ui); }
.topic-main time { font: 12.5px var(--ui); color: var(--muted); }
.topic-main h3 { font-size: 1.18rem; margin: 4px 0 8px; }
.topic-main h3 a { color: var(--fg); text-decoration: none; }
.topic-main h3 a:hover { color: var(--accent); }
.topic-main p { margin: 0 0 10px; color: var(--muted); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.compact { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid var(--line); }
.compact li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.compact li:last-child { border-bottom: 0; }
.compact a { color: var(--fg); text-decoration: none; font-size: .98rem; line-height: 1.35; }
.compact a:hover { color: var(--accent); }
.compact time { font: 12px var(--ui); color: var(--muted); }

/* Kartlar */
.cards, .events, .books { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card, .event, .featured, .widget { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.card { padding: 16px 18px 14px; border-top: 4px solid var(--c, var(--accent)); display: flex; flex-direction: column; transition: transform .15s; }
.card:hover { transform: translateY(-2px); }
.card h3 { margin: 8px 0; flex: 1; }
.card h3 a { color: var(--fg); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p, .event p, .featured p { margin: 6px 0; color: var(--muted); }
.featured { padding: 28px; border-left: 6px solid var(--c, var(--accent)); }
.featured h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 10px 0 14px; }
.featured h2 a { color: var(--fg); text-decoration: none; }
.meta { display: flex; gap: 10px; align-items: center; font: 13px var(--ui); color: var(--muted); flex-wrap: wrap; }
.tag { background: var(--c, var(--accent)); color: #fff; border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: 12px; }
.links { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.more.src { color: var(--muted); font-weight: 500; }
.crumb { font: 14px var(--ui); margin: 0 0 12px; }
.article .prose.long { max-width: 680px; font-size: 1.08rem; line-height: 1.8; margin-top: 18px; }
.source-box { max-width: 680px; margin-top: 28px; padding: 14px 18px; border-left: 4px solid var(--gold); background: var(--surface); border-radius: 0 10px 10px 0; font: 14px/1.6 var(--ui); color: var(--muted); }
.more { font: 600 14px var(--ui); text-decoration: none; }
.more:hover { text-decoration: underline; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-fg); padding: 11px 20px; border-radius: 8px; text-decoration: none; font: 600 15px var(--ui); margin: 4px 8px 4px 0; border: 1px solid var(--accent); }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--accent); }

.event { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; }
.event .date { min-width: 60px; text-align: center; background: var(--navy); color: var(--on-navy); border-radius: 10px; padding: 8px 4px; font-family: var(--ui); line-height: 1.1; }
.event .date .d { display: block; font-size: 1.6rem; font-weight: 700; }
.event .date .m { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.event .body { flex: 1; }
.event h3 { margin: 6px 0; }

.books { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.book { display: flex; flex-direction: column; justify-content: space-between; min-height: 190px; padding: 16px; border-radius: 10px 14px 14px 10px; color: #fff; box-shadow: var(--shadow), inset 6px 0 0 rgba(0,0,0,.25); }
.book .b-title { font: 700 1.05rem/1.25 var(--serif); }
.book .b-meta { font: 12px/1.4 var(--ui); opacity: .88; }
.book.b0 { background: linear-gradient(160deg, #8a1c2b, #5a111b); }
.book.b1 { background: linear-gradient(160deg, #1d6f8a, #124457); }
.book.b2 { background: linear-gradient(160deg, #6b3fa0, #432667); }
.book.b3 { background: linear-gradient(160deg, #2d6a4f, #1b4331); }
.book.b4 { background: linear-gradient(160deg, #a86400, #6b4000); }

/* Kenar çubuğu */
.side { display: grid; gap: 18px; align-content: start; }
.widget { padding: 16px 18px; }
.widget.author { padding: 0; overflow: hidden; }
.widget.author img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: top; }
.author-t { padding: 14px 18px 16px; }
.author-t h2 { margin: 0; font-size: 1.25rem; }
.author-t .role { margin: 2px 0 8px; color: var(--muted); font: 14px var(--ui); }
.w-h { font: 700 12px var(--ui); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 12px; }
.search { display: flex; gap: 6px; }
.search input, .filters input { flex: 1; min-width: 0; font: 16px var(--ui); padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); }
.search button, .filters button { font: 600 15px var(--ui); padding: 10px 16px; border: 0; border-radius: 8px; background: var(--accent); color: var(--accent-fg); cursor: pointer; }
.topics, .follow, .f-list { list-style: none; margin: 0; padding: 0; }
.topics a { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--fg); font: 15px var(--ui); }
.topics li:last-child a { border-bottom: 0; }
.topics a:hover { color: var(--accent); }
.topics em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 13px; }
.follow a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 15px var(--ui); }
.follow li:last-child a { border-bottom: 0; }

/* Yazılar sayfası */
.filters { display: flex; gap: 8px; margin: 18px 0 12px; max-width: 560px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; font: 14px var(--ui); }
.chips a { text-decoration: none; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.chips a em { font-style: normal; color: var(--muted); margin-left: 4px; }
.chips a:hover { border-color: var(--c, var(--accent)); }
.chips a.on { background: var(--c, var(--navy)); border-color: var(--c, var(--navy)); color: #fff; }
.chips a.on em { color: rgba(255,255,255,.8); }
.empty { color: var(--muted); font-style: italic; }
.prose { max-width: 700px; }
.prose::after { content: ""; display: block; clear: both; }
.portrait { margin: 0; }
.portrait img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.portrait figcaption { font: 12px/1.4 var(--ui); color: var(--muted); margin-top: 6px; }
.portrait figcaption a { color: inherit; }
.portrait.side { float: right; width: 240px; margin: 0 0 16px 28px; }
@media (max-width: 760px) { .portrait.side { float: none; margin: 0 0 16px; } }

/* Alt bilgi */
.site-footer { background: var(--navy); color: var(--on-navy); padding: 40px 0 24px; font: 14px/1.6 var(--ui); }
.site-footer a { color: var(--on-navy); text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.f-brand { font: 700 1.3rem var(--serif); }
.f-h { font: 700 12px var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.f-list li { padding: 3px 0; }
.site-footer p { margin: 4px 0; }
.site-footer .copy { opacity: .7; font-size: 12.5px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
