/* Bölüm sayfaları: tek başlık ailesi (Inter), sakin kademe, dekor yok */

body:not(.home-page) #quarto-content main.content hr { display: none; }

/* # bölüm başlığı */
body:not(.home-page) #quarto-content main.content h1:not(.title) {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.9rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 3rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* ## alt başlık */
body:not(.home-page) #quarto-content main.content h2 {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 2rem 0 0.75rem;
  padding: 0;
}
body:not(.home-page) #quarto-content main.content h2::before { content: none; }

/* başlık içindeki kod: başlığın rengini ve ağırlığını alır */
body:not(.home-page) #quarto-content main.content h1 code,
body:not(.home-page) #quarto-content main.content h2 code {
  background: none;
  color: inherit;
  font-size: 0.9em;
  font-weight: inherit;
  padding: 0;
}

/* gövde: ince (300) yerine normal ağırlık */
body:not(.home-page) #quarto-content main.content p,
body:not(.home-page) #quarto-content main.content li {
  font-weight: 400;
}

/* Kendini Sına: şıklar */
.siklar ul { list-style: none; margin: 0.5rem 0 1rem; padding: 0; }
.siklar li { margin: 0.25rem 0; padding-left: 1.6rem; text-indent: -1.6rem; }
.siklar li strong { display: inline-block; width: 1.6rem; text-indent: 0; color: var(--muted); }

.bolum-rozet {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.bolum-rozet p { margin: 0; }

.bolum-nav {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.bolum-nav.ust {
  margin: 0 0 1.5rem;
  padding: 0 0 0.75rem;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}
.bolum-nav p {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  margin: 0;
  font-size: 0.95rem;
}
.bolum-nav .onceki { text-align: left; }
.bolum-nav .harita { text-align: center; color: var(--muted); }
.bolum-nav .sonraki { text-align: right; }
.bolum-nav a { text-decoration: none; font-weight: 600; }
