/* =========================================================
   RITMA — Blog yazı sayfası
   Ortak: assets/css/style.css

   Bu sayfanın tek işi okutmak. Gövde TEK KOLON ve ortalanmış —
   yanında hiçbir şey yok, göz yalnızca metinde kalıyor. Solda
   içindekiler denendi ve bırakıldı: yazıyı sağa doğru boşluk
   bırakmaya zorluyordu. İçindekiler artık yazının başında bir kutu.
   Ölçüler: 74ch, punto 18px, satır aralığı 1.78.
   ========================================================= */

.bl-kisi {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0
}

.bl-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-gray)
}

.bl-av.is-buyuk {
  width: 64px;
  height: 64px
}

.bl-av img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%
}

.bl-kisi b {
  display: block;
  font-size: 13.5px;
  font-weight: 850;
  line-height: 1.2;
  color: var(--ink)
}

.bl-kisi em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gray-light)
}

.bl-meta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray-light)
}

.ph-slot {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  padding: 26px 22px;
  display: grid;
  align-content: center;
  gap: 9px;
  text-align: center
}

.ph-slot.is-buyuk {
  aspect-ratio: 16 / 9
}

.ph-slot b {
  font-size: 13px;
  font-weight: 850;
  color: var(--orange)
}

.ph-slot span {
  max-width: 46ch;
  margin: 0 auto;
  font-size: 12.5px;
  line-height: 1.6;
  font-weight: 650;
  color: var(--gray)
}

.ph-slot code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 10px;
  color: var(--gray-light);
  word-break: break-all
}

.bl-baslik {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap
}

.bl-baslik h2 {
  margin: 0;
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 850;
  letter-spacing: -.014em;
  color: var(--ink)
}

.bl-baslik>span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gray-light)
}

.bl-baslik>span b {
  font-weight: 900;
  color: var(--ink);
  font-variant-numeric: tabular-nums
}

.bl-baslik>a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--orange)
}

.bl-baslik>a .arrow {
  width: 16px;
  height: 16px;
  transition: transform .24s
}

.bl-baslik>a:hover .arrow {
  transform: translateX(4px)
}

/* style.css'te `nav { position: sticky !important; top: 0 !important;
   width: 100%; background: … ; backdrop-filter: blur() }` var ve HER
   <nav> etiketine uygulanıyor. Sayfadaki kırıntı ve içindekiler de
   birer <nav> — ikisi de sıradan blok olmalı. */
.bk-iz,
.dt-ic {
  position: static !important;
  top: auto !important;
  z-index: auto;
  width: auto;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none
}

.bk-iz {
  position: static !important;
  top: auto !important;
  z-index: auto;
  width: auto;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--gray-light)
}

.bk-iz a {
  font-weight: 400;
  color: var(--gray);
  text-decoration: none
}

.bk-iz a:hover {
  color: var(--orange)
}

.bk-iz b {
  font-weight: 400;
  color: var(--ink)
}

.cta-band {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  padding: 30px 34px
}

.cta-band b {
  max-width: 580px;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -.008em;
  color: var(--ink)
}

.cta-band span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray)
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

/* =================== BAŞLIK =================== */
.dt-hero {
  background: #fff;
  padding: 68px 0 0
}

.dt-ust {
  max-width: 820px;
  margin: 0 auto;
  text-align: center
}

.dt-ust .bk-iz {
  justify-content: center
}

.dt-hero h1 {
  margin: 22px 0 0;
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 850;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance
}

.dt-ozet {
  margin: 22px auto 0;
  max-width: 62ch;
  font-size: 18px;
  font-weight: 620;
  line-height: 1.7;
  color: var(--gray);
  text-wrap: pretty
}

.dt-kunye {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px
}

.dt-nokta {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border)
}

/* kapak sitenin klasik içerik genişliğinde */
.dt-kapak {
  margin: 52px 0 0;
  border-radius: 24px;
  overflow: hidden
}

/* ilgili yazı kartlarının kapağı */
.ph-slot.is-mini {
  border-radius: 14px;
  padding: 14px 12px;
  gap: 6px
}

.ph-slot.is-mini b {
  font-size: 11px
}

.ph-slot.is-mini code {
  font-size: 8.5px;
  line-height: 1.4
}

.ph-slot.is-genis {
  aspect-ratio: 21 / 10
}

.dt-kapak img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover
}

/* =================== GÖVDE =================== */
.dt-govde {
  background: #fff;
  padding-top: 76px
}

.dt-yazi {
  max-width: 104ch;
  margin: 0 auto
}

/* --- içindekiler --- */
/* içindekiler: yazının başında bir kutu */
.dt-ic {
  display: grid;
  gap: 2px;
  margin: 0 0 40px;
  border-radius: 18px;
  background: var(--bg-soft) !important;
  padding: 24px 26px
}

.dt-ic-baslik {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gray-light)
}

.dt-ic a {
  display: block;
  padding: 7px 0 7px 18px;
  position: relative;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--gray);
  text-decoration: none;
  transition: color .16s
}

.dt-ic a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border)
}

.dt-ic a:hover {
  color: var(--orange)
}

.dt-ic a.is-on {
  color: var(--ink)
}

.dt-ic a.is-on::before {
  background: var(--orange)
}

/* paylaş: künye satırının sonunda */
.dt-pay {
  display: flex;
  gap: 8px
}

.dt-pay a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--gray);
  transition: border-color .16s, color .16s
}

.dt-pay a:hover {
  border-color: var(--orange);
  color: var(--orange)
}

.dt-pay svg {
  width: 17px;
  height: 17px
}

/* --- yazı --- */
.dt-yazi {
  min-width: 0
}

.dt-yazi p {
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 620;
  line-height: 1.78;
  color: var(--ink);
  text-wrap: pretty
}

.dt-giris {
  font-size: 20px !important;
  font-weight: 650 !important;
  line-height: 1.7 !important
}

.dt-yazi p b {
  font-weight: 850
}

.dt-yazi a {
  color: var(--orange);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px
}

.dt-yazi h2 {
  margin: 52px 0 20px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 850;
  line-height: 1.26;
  letter-spacing: -.014em;
  color: var(--ink);
  scroll-margin-top: 120px
}

/* Alt başlık. Uzun yazılarda bölüm içinde ikinci bir kırılım gerekiyor;
   hepsini h2 yapmak hiyerarşiyi düzleştiriyor, okuyucu nerede olduğunu
   kaybediyor. Aynı dil, bir tık küçük ve daha dar boşluklu. */
.dt-yazi h3 {
  margin: 36px 0 14px;
  font-size: clamp(19px, 1.7vw, 22px);
  font-weight: 830;
  line-height: 1.32;
  letter-spacing: -.01em;
  color: var(--ink);
  scroll-margin-top: 120px
}

/* --- listeler --- */
.dt-ol,
.dt-ul {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  counter-reset: dt
}

.dt-ol li,
.dt-ul li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 620;
  line-height: 1.72;
  color: var(--ink);
  text-wrap: pretty
}

.dt-ol li b,
.dt-ul li b {
  font-weight: 850
}

.dt-ol li::before {
  counter-increment: dt;
  content: counter(dt);
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-size: 12px;
  font-weight: 900
}

.dt-ul li::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange)
}

/* --- görsel --- */
.dt-gorsel {
  margin: 40px 0
}

.dt-gorsel img {
  display: block;
  width: 100%;
  border-radius: 18px
}

.dt-gorsel .ph-slot {
  border-radius: 18px
}

.dt-gorsel figcaption {
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.6;
  color: var(--gray-light);
  text-wrap: pretty
}

/* --- alıntı --- */
.dt-alinti {
  margin: 40px 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--orange)
}

.dt-alinti p {
  margin: 0;
  font-size: 21px !important;
  font-weight: 750 !important;
  line-height: 1.5 !important;
  letter-spacing: -.008em;
  color: var(--ink)
}

.dt-alinti cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--gray-light)
}

/* --- tablo --- */
.dt-tablo-sar {
  margin: 34px 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 18px
}

.dt-tablo {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse
}

.dt-tablo th {
  background: var(--bg-soft);
  padding: 14px 18px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gray-light);
  white-space: nowrap
}

.dt-tablo td {
  padding: 15px 18px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.55;
  color: var(--gray)
}

.dt-tablo td:first-child {
  font-weight: 800;
  color: var(--ink)
}

/* --- uyarı kutusu --- */
.dt-uyari {
  display: flex;
  gap: 16px;
  margin: 36px 0;
  border-radius: 18px;
  background: var(--deep-soft);
  padding: 22px 24px
}

.dt-uyari svg {
  width: 24px;
  height: 24px;
  color: var(--deep);
  flex-shrink: 0;
  margin-top: 2px
}

.dt-uyari b {
  display: block;
  font-size: 15.5px;
  font-weight: 850;
  color: var(--ink)
}

.dt-uyari span {
  display: block;
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 620;
  line-height: 1.66;
  color: var(--gray)
}

/* --- yazar --- */
.dt-yazar {
  display: flex;
  gap: 20px;
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--border)
}

/* Avatarın ölçüsü yoktu: fotoğraf doğal boyutunda basılıp kalıbı
   taşırıyordu. Künyedeki avatarla aynı dil — yuvarlak, sabit ölçü,
   yüz üst tarafa hizalı. */
.dt-yazar>img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  flex: none;
  background: var(--bg-gray)
}

.dt-yazar>div {
  min-width: 0
}

.dt-yazar b {
  display: block;
  font-size: 16px;
  font-weight: 850;
  color: var(--ink)
}

.dt-yazar>div>span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-light)
}

.dt-yazar p {
  margin: 12px 0 0 !important;
  font-size: 14.5px !important;
  line-height: 1.66 !important;
  color: var(--gray) !important
}

/* =================== İLGİLİ YAZILAR =================== */
.dt-ilgili {
  background: #fff
}

/* ayrım zeminle değil ince çizgiyle; çizgi ekran değil içerik
   genişliğinde, sayfanın kolon hizasını takip ediyor */
.dt-ilgili>.wrap {
  border-top: 1px solid var(--border);
  padding-top: 62px
}

.il-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px
}

.il-kart {
  display: block;
  text-decoration: none
}

.il-vis {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px
}

.il-vis img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover
}

.il-kat {
  display: inline-block;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  padding: 6px 11px;
  font-size: 11.5px;
  font-weight: 850
}

.il-kart b {
  display: block;
  margin: 14px 0 10px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.36;
  color: var(--ink);
  text-wrap: pretty
}

.il-kart:hover b {
  color: var(--orange)
}

.bl-cta {
  background: #fff
}

/* =================== KIRILIMLAR =================== */
@media (max-width:1080px) {
  .il-list {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:760px) {
  .dt-hero {
    padding-top: 48px
  }

  .dt-yazi p {
    font-size: 17px
  }

  .dt-giris {
    font-size: 18px !important
  }

  .dt-alinti p {
    font-size: 19px !important
  }

  .il-list,
  .di-list {
    grid-template-columns: 1fr
  }

  .ph-slot.is-genis {
    aspect-ratio: 16 / 10
  }

  .dt-yazar {
    flex-direction: column;
    gap: 16px
  }

  .cta-band {
    padding: 24px 22px
  }

  .cta-band b {
    font-size: 19px
  }

  .cta-actions .btn {
    flex: 1;
    justify-content: center
  }
}

@media (prefers-reduced-motion:reduce) {
  .di-kart {
    transition: none
  }
}

/* --- video ---
   Gövdeye konan YouTube videosu. Oran sabit: iframe kendi yüksekliğini
   bildirmediği için oranlanmazsa kutu yassı çiziliyor. */
.dt-video {
  position: relative;
  margin: 0 0 30px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
  box-shadow: var(--sh-md)
}

.dt-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block
}
