/*
 * Tema eki — main.css'e DOKUNULMAZ.
 *
 * Kaynak main.css yalnız tek sayfalık tanıtım sitesini kapsıyordu; not
 * (blog) listeleme ve not detay sayfaları için tipografi kuralı içermiyor.
 * Buradaki kurallar yalnız o iki sayfanın kendi sınıflarına uygulanır ve
 * renkleri main.css'in kendi değişkenlerinden alır.
 */

.note-article {
  max-width: 760px;
  margin: 0 auto;
}

.note-article .note-meta {
  margin-bottom: 18px;
}

.note-article h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.note-article > .note-lead {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 17px;
}

.note-body h2 {
  margin: 40px 0 14px;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.note-body h3 {
  margin: 32px 0 12px;
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.note-body p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

.note-body ul,
.note-body ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--text);
}

.note-body li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.65;
}

.note-body a {
  color: var(--violet);
  text-decoration: underline;
}

.note-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid #d5d0c5;
}

/* Listeleme sayfasında ızgara kart sayısına göre esner; anasayfadaki
   1.2fr + 2 sabit düzeni bozulmadan kalır. */
.notes-grid-all {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (max-width: 720px) {
  .note-article h1 {
    font-size: clamp(26px, 8vw, 36px);
  }
}
