/* =========================================================
   RITMA — Blog (ana sayfa + kategori sayfası)
   Ortak: assets/css/style.css

   Düzen Zendesk blogundan uyarlandı: öne çıkan yazı, editör seçkisi
   şeridi, bülten bandı, KONUYA GÖRE bloklar, son yazılar. Zendesk'in
   ayırt edici yanı sonuncusundan bir öncesi — ziyaretçi kronolojik
   akış yerine ilgilendiği konudan giriyor.

   Bizim dile çevrilen yanlar: kartlar yuvarlatılmış, kategori rozeti
   deep, ızgara en fazla ÜÇ sütun (dört sütunda başlıklar iki kelimeye
   sıkışıyordu), bülten bandı deep zeminde.
   ========================================================= */

.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-gray);
  padding: 26px 22px;
  display: grid;
  align-content: center;
  gap: 9px;
  text-align: center
}

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

.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 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)
}

.bk-iz {
  /* style.css'teki global `nav` kuralı sticky + tam genişlik + bulanık
     zemin veriyor; kırıntı sıradan bir satır olmalı */
  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
}

/* liste/kart kapağı: yalnızca dosya adını taşıyan küçük yer tutucu */
.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-buyuk {
  aspect-ratio: 4 / 3
}

/* =========================================================
   HERO · ÖNE ÇIKAN + EDİTÖRÜN SEÇTİKLERİ

   Referanstaki yapı: solda kutusuz büyük görsel ve altında başlık;
   sağda küçük pill etiket, DEV başlık, iki sütunlu altı öğe ve
   abonelik kutusu. Sol tarafı kart yapmak hero'yu bir "bileşen" gibi
   gösteriyordu; kutu, çerçeve ve gölge kaldırıldı — orada bir yayın
   kapağı hissi olmalı.
   ========================================================= */
.bl-hero {
  position: relative;
  background: var(--bg-soft);
  padding: 64px 0 92px;
  overflow: hidden
}

/* sitenin klasik hero zemini: soft arka plan + sağ üstte turuncu blob */
.hv-blob {
  position: absolute;
  top: -120px;
  right: -110px;
  width: 620px;
  height: 540px;
  border-radius: 52% 48% 56% 44% / 44% 52% 48% 56%;
  background: radial-gradient(circle closest-side at 50% 48%, rgba(244, 71, 11, .20), rgba(244, 71, 11, .07) 52%, rgba(255, 183, 128, .03) 74%, transparent 100%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: start
}

/* --- sol: öne çıkan yazı --- */
.one {
  display: block;
  text-decoration: none
}

.one-vis {
  display: block;
  border-radius: 20px;
  overflow: hidden
}

.one-vis img {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 6;
  object-fit: cover
}

.one-h {
  display: block;
  margin-top: 34px;
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: pretty
}

.one:hover .one-h {
  color: var(--orange)
}

.one-p {
  display: block;
  margin-top: 20px;
  max-width: 54ch;
  font-size: 17px;
  font-weight: 620;
  line-height: 1.7;
  color: var(--gray);
  text-wrap: pretty
}

.one-alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border)
}

/* --- sağ: editörün seçtikleri --- */
.ed-yan {
  min-width: 0
}

.ed-pill {
  display: inline-block;
  border-radius: 8px;
  background: var(--deep-soft);
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--deep)
}

.ed-h {
  margin: 20px 0 0;
  font-size: clamp(27px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.014em;
  color: var(--ink)
}

.ed-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px
}

.ed {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  text-decoration: none
}

.ed-vis {
  display: block;
  border-radius: 14px;
  overflow: hidden
}

.ed-vis img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover
}

.ed-vis .ph-slot {
  aspect-ratio: 1
}

.ed b {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.34;
  color: var(--ink);
  text-wrap: pretty
}

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

/* --- abonelik: seçkinin altında, sağ kolonun içinde --- */
.bul {
  margin-top: 40px;
  border-radius: 24px;
  background: #fff;
  padding: 32px 34px
}

.bul>b {
  display: block;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.008em;
  color: var(--ink)
}

.bul p {
  margin: 12px 0 0;
  font-size: 14.5px;
  font-weight: 620;
  line-height: 1.64;
  color: var(--gray)
}

.bul-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-top: 20px;
  flex-wrap: wrap
}

.bul-alan {
  flex: 1;
  min-width: 220px
}

.bul-lbl {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

.bul-alan input {
  width: 100%;
  height: 50px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink)
}

.bul-alan input::placeholder {
  color: var(--gray-light);
  font-weight: 600
}

.bul-alan input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244, 71, 11, .1)
}

.bul-form .btn {
  flex-shrink: 0
}

/* bülten düğmesi turuncu değil deep: hero'da turuncu zaten vurgu
   rengi, burada kutunun kendi rengi daha sakin duruyor */
.btn-deep {
  background: var(--deep);
  color: #fff;
  border: 1px solid var(--deep)
}

.btn-deep:hover {
  background-color: var(--deep-2);
  border-color: var(--deep-2)
}

/* =========================================================
   02 · SON YAZILAR — üç sütunlu kart
   Referanstaki kart sade: büyük kapak, altında başlık, gerekiyorsa
   özet. Kategori rozeti ve yazar künyesi yok — orada göz başlıkları
   taramaya odaklanıyor. Tarih ve okuma süresi kaldı ama en altta ve
   küçük puntoda; kartın ağırlığı başlıkta.
   ========================================================= */
.bl-son {
  background: #fff
}

/* şerit son yazıların üstünde: liste inmeden önce konu seçilebiliyor */
.bl-son .ks {
  padding-bottom: 54px
}

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

.sy {
  display: block;
  text-decoration: none
}

.sy-vis {
  border-radius: 18px;
  overflow: hidden
}

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

.sy-h {
  display: block;
  margin-top: 22px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -.008em;
  color: var(--ink);
  text-wrap: pretty
}

.sy:hover .sy-h {
  color: var(--orange)
}

.sy-p {
  margin: 12px 0 14px;
  font-size: 14.5px;
  font-weight: 620;
  line-height: 1.64;
  color: var(--gray);
  text-wrap: pretty
}

/* =========================================================
   SAYFALAMA
   Numaralar gerçek yazı sayısına göre; uydurma sayfa numarası
   koymuyoruz — tıklanınca boş açılan bir liste güven kaybettirir.
   ========================================================= */
.sf {
  position: relative !important;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 56px
}

.sf-nums {
  display: flex;
  gap: 6px
}

.sf-no {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 750;
  color: var(--gray);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: background .16s, color .16s
}

.sf-no:hover {
  background-color: var(--bg-soft);
  color: var(--ink)
}

.sf-no.is-on {
  background: var(--ink);
  color: #fff
}

.sf-ok {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--gray);
  transition: border-color .16s, color .16s
}

.sf-ok svg {
  width: 18px;
  height: 18px
}

.sf-ok:hover {
  border-color: var(--orange);
  color: var(--orange)
}

/* ilk sayfadayken geri oku tıklanmaz */
.sf-ok.is-pasif {
  opacity: .35;
  pointer-events: none
}

/* =========================================================
   KATEGORİ SAYFASI
   Zendesk'te kategori sayfası öne çıkan yazıyla değil, "bu konuda
   neler var" ile açılıyor: başlık, alt konular, sonra ızgara.
   ========================================================= */
.bk-hero {
  position: relative;
  background: var(--bg-soft);
  padding: 64px 0 0;
  overflow: hidden
}

.bk-hero>.wrap {
  position: relative;
  z-index: 1
}

.bk-ust {
  max-width: 900px;
  margin-top: 30px;
  padding-bottom: 48px
}

/* referanstaki gibi dev: kategori adı sayfanın tek büyük tipografisi */
.bk-ust h1 {
  margin: 0;
  font-size: clamp(46px, 5.4vw, 74px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--ink)
}

.bk-p {
  margin: 24px 0 0;
  max-width: 72ch;
  font-size: 18px;
  font-weight: 620;
  line-height: 1.7;
  color: var(--gray);
  text-wrap: pretty
}

/* yatay kategori şeridi */
/* Kategoriler alt satıra sarıyor. Önceden tek satırda yatay kayıyordu
   ama kaydırma çubuğu gizliydi: kategori sayısı arttıkça sağdakiler
   hem sığmıyor hem kaydırılabildikleri belli olmuyordu. Referans
   sayfasındaki sektör süzgeci de aynı dili kullanıyor. */
.ks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-bottom: 24px
}

.ks::-webkit-scrollbar {
  display: none
}

.ks-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--gray);
  text-decoration: none;
  transition: border-color .16s, color .16s
}

.ks-item em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 850;
  color: var(--gray-light);
  font-variant-numeric: tabular-nums
}

.ks-item:hover {
  border-color: var(--gray-light);
  color: var(--ink)
}

.ks-item.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

.ks-item.is-on em {
  color: rgba(255, 255, 255, .6)
}

/* alt konular: kutu değil, ince ayrımlı bloklar */





.bk-liste {
  background: #fff
}





/* kart ızgarası — en fazla üç sütun */
.kart-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px
}

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

/* kart etiketleri: referanstaki gibi kartın altında, nötr pill */
.kart-et {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px
}

.kart-et em {
  font-style: normal;
  border-radius: 999px;
  background: var(--bg-soft);
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 750;
  color: var(--gray)
}

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

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


.kart-h {
  display: block;
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -.008em;
  color: var(--ink);
  text-wrap: pretty
}

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

.kart-p {
  margin: 11px 0 0;
  font-size: 14px;
  font-weight: 620;
  line-height: 1.64;
  color: var(--gray);
  text-wrap: pretty
}


/* diğer kategoriler */
.bk-dg {
  background: var(--bg-soft)
}

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

.dg-item {
  display: block;
  border-radius: 18px;
  background: #fff;
  padding: 22px 24px;
  text-decoration: none;
  transition: transform .26s cubic-bezier(.33, 1, .5, 1), box-shadow .26s
}

.dg-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg)
}

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

.dg-item span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.6;
  color: var(--gray)
}

.dg-item em {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 850;
  color: var(--orange)
}

/* =========================================================
   CTA
   ========================================================= */
.bl-cta {
  background: #fff
}

/* =========================================================
   KIRILIMLAR
   ========================================================= */
@media (max-width:1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px
  }

  .bul {
    padding: 34px
  }

  .kart-list,
  .sy-list,
  .dg-list {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }


}

@media (max-width:760px) {
  .bl-hero {
    padding: 40px 0 64px
  }

  .ed-grid {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .bul {
    padding: 26px 24px
  }

  .kart-list,
  .sy-list,
  .dg-list,



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

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

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

@media (prefers-reduced-motion:reduce) {

  .dg-item,
  .edit-tum .arrow {
    transition: none
  }
}
