/* atamanot.com — ön yüz
   Renkler ve ölçüler :root altında; CodeIgniter view'larına taşırken bu dosya aynen kullanılabilir. */

:root {
  --kagit: #f4f2ec;
  --kart: #efece3;
  --kart-koyu: #e2dccf;
  --murekkep: #1a1a1f;
  --soluk: #6d6a63;
  --cizgi: #d5cfc2;
  --lacivert: #0b0d2b;
  --al: #a3172a;
  --al-koyu: #7f1020;
  --serit-en: 220px;
  --orta-en: 780px;
  --el-yazisi: "Qwitcher Grypen", "Caveat", cursive;
  --govde: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--kagit) url("../img/kagit.jpg") repeat;
  background-size: 900px auto;
  color: var(--murekkep);
  font: 16px/1.6 var(--govde);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--al); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--al); outline-offset: 2px; }

.gizli-etiket {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Sayfa iskeleti: şerit | içerik | şerit ---------- */

.sayfa {
  display: grid;
  grid-template-columns: var(--serit-en) minmax(0, 1fr) var(--serit-en);
  gap: 0 28px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}

.orta { max-width: var(--orta-en); width: 100%; margin: 0 auto; padding-bottom: 40px; }

/* ---------- Film şeridi ---------- */

.serit {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--lacivert);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 8px 30px rgba(11, 13, 43, .25);
}

.serit__ray {
  display: flex; flex-direction: column;
  animation: serit-yukari var(--sure, 180s) linear infinite;
  will-change: transform;
}
.serit--ters .serit__ray { animation-name: serit-asagi; }
.serit:hover .serit__ray { animation-play-state: paused; }

/* Kare yüksekliği 208px = 8 delik aralığı; böylece delikler kareler arasında kesintisiz devam eder. */
.serit__kare {
  flex: none;
  height: 208px;
  margin: 0;
  padding: 7px 24px;
  background-image:
    linear-gradient(to bottom, var(--kagit) 0 12px, transparent 12px),
    linear-gradient(to bottom, var(--kagit) 0 12px, transparent 12px);
  background-size: 10px 26px;
  background-position: 7px 7px, calc(100% - 7px) 7px;
  background-repeat: repeat-y;
}
.serit__kare img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 25%;
  border-radius: 2px;
  filter: grayscale(1) contrast(1.05);
  background: #23254a;
}

@keyframes serit-yukari { to { transform: translateY(-50%); } }
@keyframes serit-asagi { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes serit-sola { to { transform: translateX(-50%); } }

/* Dar ekranda yan şeritler yerine başlığın altında yatay şerit */
.serit--yatay { display: none; position: static; height: auto; margin: 0 -16px 20px; }
.serit--yatay .serit__ray { flex-direction: row; width: max-content; animation-name: serit-sola; }
.serit--yatay .serit__kare {
  width: 182px; height: 170px;
  padding: 24px 6px;
  background-position: 7px 7px, 7px calc(100% - 7px);
  background-repeat: repeat-x;
  background-size: 26px 10px;
  background-image:
    linear-gradient(to right, var(--kagit) 0 12px, transparent 12px),
    linear-gradient(to right, var(--kagit) 0 12px, transparent 12px);
}

/* ---------- Üst menü ---------- */

.ust {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cizgi);
}
.marka { font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; color: var(--murekkep); }
.marka span { color: var(--al); }
.marka:hover { text-decoration: none; }
.menu { display: flex; align-items: center; gap: 18px; font-size: .95rem; }
.menu a { color: var(--murekkep); }
.menu a[aria-current="page"] { color: var(--al); font-weight: 600; }

.dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--al); border-radius: 4px;
  background: var(--al); color: #fff; font-weight: 600; font-size: .95rem;
  transition: background .15s;
}
.dugme:hover { background: var(--al-koyu); text-decoration: none; }
.dugme--cizgi { background: transparent; color: var(--al); }
.dugme--cizgi:hover { background: rgba(163, 23, 42, .08); }
.dugme--sade { border-color: var(--cizgi); background: #fff; color: var(--murekkep); }
.dugme--sade:hover { background: var(--kart); }
.menu .dugme { color: #fff; }
.menu .dugme--cizgi { color: var(--al); }

/* ---------- Kahraman alanı ---------- */

.kahraman { display: grid; grid-template-columns: 150px 1fr; gap: 8px 18px; align-items: center; padding: 22px 0 6px; }
.kahraman__portre { width: 150px; }
.kahraman__yazi { margin: 0; font-family: var(--el-yazisi); font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: .95; font-weight: 400; text-align: center; }
.kahraman__baslik { grid-column: 1 / -1; margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--soluk); text-align: center; }

.soz {
  position: relative;
  margin: 10px 26px 28px;
  padding: 18px 54px 16px;
  border: 2px solid var(--murekkep); border-radius: 34px;
  text-align: center;
}
.soz::before, .soz::after {
  content: "\201D";
  position: absolute; top: 50%; translate: 0 -50%;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 2px solid var(--murekkep); border-radius: 50%;
  background: var(--kagit);
  font: 700 2.1rem/1 Georgia, serif; padding-top: 12px;
}
.soz::before { left: -21px; }
.soz::after { right: -21px; }
.soz blockquote { margin: 0; font-size: 1.2rem; line-height: 1.4; min-height: 2.8em; transition: opacity .4s; }
.soz blockquote.soluyor { opacity: 0; }
.soz__imza { width: 120px; margin: 4px 0 0 auto; }

/* ---------- Başlık / araç çubuğu ---------- */

.pano { background: rgba(239, 236, 227, .88); border: 1px solid var(--cizgi); border-radius: 6px; padding: 22px 26px 26px; }

.konular { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; margin-bottom: 16px; border-bottom: 1px solid var(--cizgi); scrollbar-width: thin; }
.konu {
  flex: none; padding: 5px 12px;
  border: 1px solid var(--cizgi); border-radius: 999px;
  background: #fff; color: var(--murekkep); font-size: .88rem;
}
.konu:hover { border-color: var(--al); text-decoration: none; }
.konu[aria-current="true"] { background: var(--lacivert); border-color: var(--lacivert); color: #fff; }
.konu small { color: var(--soluk); margin-left: 4px; }
.konu[aria-current="true"] small { color: #c9cbe6; }

.pano__baslik { margin: 0 0 6px; font-size: 1.45rem; line-height: 1.25; color: var(--al); }
.pano__ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sirala { display: flex; gap: 14px; font-size: .9rem; }
.sirala a { color: var(--soluk); }
.sirala a[aria-current="true"] { color: var(--al); font-weight: 600; }

.sayfalama { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--soluk); }
.sayfalama a, .sayfalama select {
  min-width: 30px; height: 28px; padding: 0 8px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--cizgi); border-radius: 3px; background: #fff; color: var(--murekkep);
  font: inherit;
}

/* ---------- Not (entry) ---------- */

.not { padding: 22px 0 16px; border-bottom: 1px solid var(--cizgi); scroll-margin-top: 16px; }
.not:last-of-type { border-bottom: 0; }
.not__govde { font-size: 1.04rem; white-space: pre-line; overflow-wrap: anywhere; }
.not__govde.kisa { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
.not__devam { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--soluk); font-style: italic; font-size: .92rem; }
.not__devam:hover { color: var(--al); }

.not__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.oy { display: flex; gap: 6px; }
.oy__dugme, .arac {
  display: inline-flex; align-items: center; gap: 5px;
  height: 30px; padding: 0 9px;
  border: 1px solid var(--cizgi); border-radius: 999px;
  background: #fff; color: var(--soluk); font-size: .86rem; font-variant-numeric: tabular-nums;
  transition: color .15s, border-color .15s, background .15s;
}
.oy__dugme svg, .arac svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.oy__dugme:hover, .arac:hover { color: var(--murekkep); border-color: var(--soluk); }
.oy__dugme--arti[aria-pressed="true"] { color: #fff; background: var(--al); border-color: var(--al); }
.oy__dugme--arti[aria-pressed="true"] svg { fill: currentColor; }
.oy__dugme--eksi[aria-pressed="true"] { color: #fff; background: var(--lacivert); border-color: var(--lacivert); }
.araclar { display: flex; gap: 6px; }

.yazar { margin-left: auto; display: flex; align-items: center; gap: 10px; text-align: right; line-height: 1.25; }
.yazar__ad { font-size: .92rem; font-weight: 600; }
.yazar time { display: block; font-size: .78rem; color: var(--soluk); }
.avatar {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lacivert); color: #fff; font-weight: 700; font-size: .95rem; text-transform: uppercase;
}
.avatar--buyuk { width: 72px; height: 72px; font-size: 1.8rem; }

.rozet { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: #dfe9dc; color: #2c5a2a; }
.rozet--bekliyor { background: #f3e6c4; color: #6f5310; }
.rozet--kaldirildi { background: #f1d5d8; color: var(--al-koyu); }

/* ---------- Not yazma kutusu ---------- */

.yaz { position: relative; margin-top: 26px; padding: 20px 22px; background: var(--kart-koyu); border-radius: 6px; }
.yaz::before {
  content: ""; position: absolute; top: -18px; right: 30px; width: 120px; height: 44px;
  background: url("../img/bant.png") center / contain no-repeat; rotate: 4deg; opacity: .9; pointer-events: none;
}
.yaz__baslik { margin: 0 0 10px; font-family: var(--el-yazisi); font-size: 2.3rem; line-height: 1; font-weight: 400; }
.yaz textarea {
  display: block; width: 100%; min-height: 130px; padding: 12px 14px;
  border: 1px solid var(--cizgi); border-radius: 4px; background: #fff;
  font: inherit; color: inherit; resize: vertical;
}
.yaz textarea:focus { outline: 2px solid var(--al); outline-offset: 0; border-color: transparent; }
.yaz__alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.yaz__bilgi { margin: 0; font-size: .85rem; color: var(--soluk); }
.yaz__sayac { font-variant-numeric: tabular-nums; }
.yaz__sayac.dolu { color: var(--al); font-weight: 600; }
.yaz__hata { margin: 10px 0 0; padding: 8px 12px; border-left: 3px solid var(--al); background: #f8e9ea; color: var(--al-koyu); font-size: .92rem; }
.yaz__hata:empty { display: none; }
.yaz__misafir { text-align: center; padding: 8px 0 4px; }
.yaz__misafir p { margin: 0 0 14px; }

/* ---------- Profil ---------- */

.profil { display: flex; align-items: center; gap: 18px; margin: 26px 0 18px; }
.profil h1 { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.profil p { margin: 2px 0 0; color: var(--soluk); font-size: .92rem; }
.sayilar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.sayilar li { padding: 12px 14px; background: rgba(239, 236, 227, .88); border: 1px solid var(--cizgi); border-radius: 6px; }
.sayilar b { display: block; font-size: 1.5rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.sayilar span { font-size: .82rem; color: var(--soluk); }
.sekmeler { display: flex; gap: 20px; margin-bottom: 4px; border-bottom: 1px solid var(--cizgi); }
.sekmeler a { padding: 8px 0; color: var(--soluk); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.sekmeler a[aria-current="true"] { color: var(--murekkep); font-weight: 600; border-color: var(--al); }
.not__konu { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; }

/* ---------- Giriş / düz metin sayfaları ---------- */

.kutu { max-width: 440px; margin: 48px auto; padding: 34px 30px; background: rgba(239, 236, 227, .92); border: 1px solid var(--cizgi); border-radius: 8px; text-align: center; }
.kutu img { width: 110px; margin: 0 auto 10px; }
.kutu h1 { margin: 0 0 6px; font-family: var(--el-yazisi); font-weight: 400; font-size: 3rem; line-height: 1; }
.kutu p { color: var(--soluk); margin: 0 0 22px; }
.kutu .dugme { width: 100%; padding: 12px 16px; font-size: 1rem; }
.kutu small { display: block; margin-top: 16px; color: var(--soluk); font-size: .82rem; line-height: 1.5; }

.metin h1 { margin: 28px 0 6px; font-family: var(--el-yazisi); font-weight: 400; font-size: 3.4rem; line-height: 1; }
.metin h2 { margin: 26px 0 6px; font-size: 1.15rem; color: var(--al); }
.metin ul { padding-left: 20px; }
.metin li { margin-bottom: 6px; }

/* ---------- Bildir penceresi, bildirim ---------- */

dialog.pencere { width: min(440px, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--cizgi); border-radius: 8px; background: var(--kagit); color: var(--murekkep); }
dialog.pencere::backdrop { background: rgba(11, 13, 43, .55); }
.pencere h2 { margin: 0 0 4px; font-size: 1.2rem; }
.pencere p { margin: 0 0 14px; color: var(--soluk); font-size: .92rem; }
.pencere label { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.pencere input[type="radio"] { accent-color: var(--al); width: 17px; height: 17px; }
.pencere textarea { width: 100%; margin-top: 10px; padding: 9px 11px; min-height: 70px; border: 1px solid var(--cizgi); border-radius: 4px; font: inherit; resize: vertical; }
.pencere__alt { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

.bildirim {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 20px; z-index: 50;
  max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 6px;
  background: var(--lacivert); color: #fff; font-size: .93rem;
  opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s;
}
.bildirim.acik { opacity: 1; translate: -50% 0; }

/* ---------- Alt bilgi ---------- */

.alt { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--cizgi); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: .88rem; }
.alt p { flex-basis: 100%; margin: 6px 0 0; text-align: center; color: var(--soluk); font-size: .8rem; }

[hidden] { display: none !important; }

/* ---------- Duyarlı ---------- */

@media (max-width: 1100px) {
  .sayfa { grid-template-columns: minmax(0, 1fr); }
  .sayfa > .serit { display: none; }
  .serit--yatay { display: block; }
}

@media (max-width: 600px) {
  .menu { gap: 12px; }
  .menu .menu__ikincil { display: none; }
  .kahraman { grid-template-columns: 84px 1fr; gap: 6px 10px; }
  .kahraman__portre { width: 84px; }
  .soz { margin: 10px 18px 22px; padding: 16px 30px 12px; }
  .soz blockquote { font-size: 1.05rem; }
  .pano { padding: 16px 14px 18px; margin: 0 -6px; }
  .yazar { margin-left: 0; flex-basis: 100%; justify-content: flex-end; }
  .sayilar { grid-template-columns: repeat(2, 1fr); }
  .arac span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .serit__ray { animation: none; }
  .serit { overflow: auto; }
  * { transition: none !important; }
}

/* ---------- Başlık şeridi okları ---------- */

.konular-sar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 8px; margin-bottom: 16px; border-bottom: 1px solid var(--cizgi); }
.konular-sar .konular { margin: 0; border: 0; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--soluk) transparent; scroll-behavior: smooth; }
.konular::-webkit-scrollbar { height: 6px; }
.konular::-webkit-scrollbar-thumb { background: #b9b2a3; border-radius: 3px; }
.konular__ok {
  width: 32px; height: 32px; padding: 0;
  display: grid; place-items: center;
  border: 1px solid var(--cizgi); border-radius: 50%;
  background: #fff; color: var(--murekkep); font-size: 1.15rem; line-height: 1;
}
.konular__ok:hover:not(:disabled) { border-color: var(--al); color: var(--al); }
.konular__ok:disabled { opacity: .35; cursor: default; }

/* ---------- Formlar ---------- */

.alan { display: block; margin-bottom: 14px; text-align: left; }
.alan > span { display: block; margin-bottom: 4px; font-size: .9rem; font-weight: 600; }
.alan input[type="text"], .alan input[type="search"], .alan select, .alan textarea {
  display: block; width: 100%; padding: 10px 12px;
  border: 1px solid var(--cizgi); border-radius: 4px; background: #fff;
  font: inherit; color: inherit;
}
.alan input:focus, .alan select:focus, .alan textarea:focus { outline: 2px solid var(--al); outline-offset: 0; border-color: transparent; }
.alan small, .ipucu { display: block; margin-top: 4px; color: var(--soluk); font-size: .82rem; line-height: 1.45; }
.hata { margin: 0 0 12px; padding: 8px 12px; border-left: 3px solid var(--al); background: #f8e9ea; color: var(--al-koyu); font-size: .92rem; text-align: left; }
.hata:empty { display: none; }
.uyari { margin: 0 0 16px; padding: 10px 14px; border-left: 3px solid #b98a12; background: #f6ecd2; color: #5a430c; font-size: .92rem; border-radius: 0 4px 4px 0; }
.dugme:disabled { opacity: .5; cursor: not-allowed; }
.dugme--kucuk { padding: 4px 10px; font-size: .82rem; }
.dugme--lacivert { background: var(--lacivert); border-color: var(--lacivert); }
.dugme--lacivert:hover { background: #1b1e4d; }

/* ---------- Tablolar ---------- */

.tablo-sar { overflow-x: auto; }
.tablo { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tablo th, .tablo td { padding: 9px 10px; border-bottom: 1px solid var(--cizgi); text-align: left; vertical-align: middle; white-space: nowrap; }
.tablo th { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--soluk); }
.tablo .sayi { text-align: right; font-variant-numeric: tabular-nums; }
.tablo td.genis { white-space: normal; min-width: 220px; }
.tablo .arti { color: #2c6a2a; }
.tablo .eksi { color: var(--al); }
.tablo small { display: block; color: var(--soluk); font-size: .78rem; }
.tablo tr[data-durum="duraklatildi"] td:first-child { box-shadow: inset 3px 0 0 #b98a12; }
.tablo tr[data-durum="durduruldu"] td { color: var(--soluk); }
.tablo tr[data-durum="durduruldu"] td:first-child { box-shadow: inset 3px 0 0 var(--al); }
.islemler { display: flex; gap: 6px; }

/* ---------- Metin sayfaları ekleri ---------- */

.metin p { margin: 0 0 12px; }
.metin h3 { margin: 18px 0 4px; font-size: 1rem; }
.metin blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--al); font-size: 1.12rem; font-style: italic; }
.metin blockquote cite { display: block; margin-top: 4px; font-size: .88rem; font-style: normal; color: var(--soluk); }
.metin figure.resim { margin: 18px 0; }
.metin figure.resim img { width: 100%; border-radius: 4px; filter: grayscale(1); }
.metin figcaption { margin-top: 4px; font-size: .82rem; color: var(--soluk); }
.zaman { margin: 12px 0 18px; padding: 0; list-style: none; border-left: 2px solid var(--cizgi); }
.zaman li { position: relative; margin: 0; padding: 4px 0 8px 18px; }
.zaman li::before { content: ""; position: absolute; left: -6px; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--al); }
.zaman b { display: inline-block; min-width: 120px; }
.sss details { padding: 10px 0; border-bottom: 1px solid var(--cizgi); }
.sss summary { cursor: pointer; font-weight: 600; }
.sss details p { margin: 8px 0 0; }
.yapimci { margin-top: 30px; padding: 14px 16px; background: rgba(239, 236, 227, .88); border: 1px solid var(--cizgi); border-radius: 6px; font-size: .9rem; color: var(--soluk); }
.eposta { font-size: 1.3rem; font-weight: 600; }

/* ---------- Yönetim ---------- */

.yonetim { max-width: 1240px; margin: 0 auto; padding: 0 16px 40px; }
.yonetim h1 { margin: 22px 0 14px; font-size: 1.5rem; }
.yonetim .sekmeler { margin-bottom: 18px; overflow-x: auto; }
.yonetim .sekmeler a { flex: none; }
.yonetim .sayilar { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.yonetim h2 { margin: 0 0 10px; font-size: 1.1rem; }
.iki-sutun { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.iki-sutun > * { min-width: 0; }
.suzgec { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: center; }
.suzgec .konu { cursor: pointer; }
.suzgec input[type="search"], .suzgec select { padding: 6px 10px; border: 1px solid var(--cizgi); border-radius: 4px; background: #fff; font: inherit; font-size: .9rem; }
.suzgec .bosluk { flex: 1; }
.kart-liste { display: grid; gap: 12px; }
.bildiri { padding: 14px 16px; background: #fff; border: 1px solid var(--cizgi); border-radius: 6px; }
.bildiri blockquote { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--cizgi); }
.bildiri__ust { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .88rem; color: var(--soluk); }
.bildiri .islemler { margin-top: 10px; flex-wrap: wrap; }

@media (max-width: 800px) { .iki-sutun { grid-template-columns: 1fr; } }

/* ---------- Önceki / sonraki başlık ---------- */

.baslik-gecis { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--cizgi); font-size: .92rem; font-weight: 600; }
.baslik-gecis a:last-child { text-align: right; }

/* ---------- Not numarası, sabit not, düzenleme, hakkımda ---------- */

.not__no { display: block; font-size: .78rem; color: var(--soluk); font-variant-numeric: tabular-nums; }
.not__no:hover { color: var(--al); }
.not--sabit { margin: 14px -14px 0; padding: 16px 14px; border: 1px solid var(--al); border-radius: 6px; background: #fff; }
.not__sabit { display: inline-block; margin-bottom: 8px; padding: 1px 8px; border-radius: 999px; background: var(--al); color: #fff; font-size: .75rem; font-weight: 600; }
.arac--yazi span { display: inline !important; }
.arac:disabled { opacity: .5; cursor: not-allowed; }
.duzenle textarea, .hakkimda textarea {
  display: block; width: 100%; min-height: 120px; margin-bottom: 8px; padding: 10px 12px;
  border: 1px solid var(--cizgi); border-radius: 4px; background: #fff; font: inherit; color: inherit; resize: vertical;
}
.hakkimda { margin-bottom: 18px; padding: 16px 20px; }
.hakkimda h2 { margin: 0 0 6px; font-size: 1rem; }
.hakkimda p[data-hakkimda-metin] { margin: 0 0 10px; white-space: pre-line; overflow-wrap: anywhere; }
.hakkimda p[data-bos] { color: var(--soluk); font-style: italic; }
.hakkimda textarea { min-height: 90px; }
.tek-not__ust { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .92rem; font-weight: 600; }
.tek-not__ust span { color: var(--soluk); font-weight: 400; }
.surum { margin: 10px 0; padding: 10px 12px; background: #fff; border: 1px solid var(--cizgi); border-radius: 6px; }
.surum__ust { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .82rem; color: var(--soluk); margin-bottom: 4px; }
.kayit { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0 0 14px; font-size: .92rem; }
.kayit dt { color: var(--soluk); }
.kayit dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- Hakkında: içindekiler, dar resim, SSS grupları ---------- */

.icindekiler { margin: 18px 0 22px; padding: 14px 18px; background: rgba(239, 236, 227, .88); border: 1px solid var(--cizgi); border-radius: 6px; font-size: .95rem; }
.icindekiler ol { columns: 2; column-gap: 28px; margin: 8px 0 0; padding-left: 22px; }
.icindekiler li { break-inside: avoid; margin-bottom: 4px; }
.metin h2[id] { scroll-margin-top: 16px; }
.metin figure.resim--dar { max-width: 320px; margin-inline: auto; }
.metin .sss + h2 { margin-top: 30px; }
.metin .zaman b { min-width: 0; margin-right: 8px; }
@media (max-width: 600px) { .icindekiler ol { columns: 1; } }

/* ---------- Logo ---------- */

.marka { display: inline-flex; align-items: center; }
.marka img { height: 56px; width: auto; }
@media (max-width: 600px) { .marka img { height: 44px; } }

/* ---------- Sunucu sürümü ek stilleri ---------- */

.bilgi { margin: 14px 0 0; padding: 8px 12px; border-left: 3px solid #2c6a2a; background: #e6f0e3; color: #1f4a1d; font-size: .92rem; border-radius: 0 4px 4px 0; }
.hata + .bilgi, .bilgi + .hata { margin-top: 8px; }
.ust + .hata, .ust + .bilgi { margin-top: 14px; }
.menu__form { display: inline; margin: 0; }
.baglanti { padding: 0; border: 0; background: none; color: var(--murekkep); font: inherit; cursor: pointer; }
.baglanti:hover { color: var(--al); text-decoration: underline; }
.satir-form { display: inline; margin: 0; }
.not .duzenle { margin-top: 12px; }
.sayfalama a[aria-current="true"] { background: var(--lacivert); color: #fff; border-color: var(--lacivert); }
.sayfalama .gecersiz { opacity: .4; pointer-events: none; }
.sirala a[aria-disabled] { pointer-events: none; }
.profil__ad { margin: 0; }
.gecmis li { margin: 2px 0; }

/* ---------- Yönetim (sunucu sürümü) ---------- */
.yonetim-sayfa { background: var(--kagit) url("../img/kagit.jpg") repeat; background-size: 900px auto; }
.islem-form { display: grid; gap: 6px; margin-top: 8px; padding: 10px; background: #fff; border: 1px solid var(--cizgi); border-radius: 6px; min-width: 220px; }
.islem-form select, .islem-form input { padding: 6px 8px; border: 1px solid var(--cizgi); border-radius: 4px; font: inherit; font-size: .9rem; }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
code { padding: 1px 5px; background: #fff; border: 1px solid var(--cizgi); border-radius: 3px; font-size: .85em; }

/* Uzun takma adlar taşmasın */
.yazar__ad, .profil__ad { overflow-wrap: anywhere; }
.yazar { max-width: 100%; }
.yazar > div { min-width: 0; }
.yazar__ad { overflow-wrap: anywhere; }

/* ---------- Başlıklar sayfası ---------- */
.baslik-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.baslik-liste a { display: block; height: 100%; padding: 12px 14px; background: #fff; border: 1px solid var(--cizgi); border-radius: 8px; color: var(--murekkep); }
.baslik-liste a:hover { border-color: var(--al); text-decoration: none; }
.baslik-liste strong { display: block; font-size: 1.02rem; }
.baslik-liste span { font-size: .82rem; color: var(--soluk); }
