/* Şehir Portalı — iç sayfa yapısı: 1200px içerik sütunu ve iç sayfa yerleşim çerçevesi. */
/* ==== page-structure-1200-1049 ==== */
/*
 * Tek sayfa yapısı: 1200px içerik sütunu, dış çerçevesiz modüller
 *
 * İç sayfalarda (ana sayfa hariç) içerik sütunu Ekran ve Yerleşim › İçerik Alanı (varsayılan 1200px)
 * genişliğindedir; sağdaki yan panel aynen kalır. Bu dosya:
 *  1) Modül KÖKLERİNİN (spor, vefat, namaz, eczane, hava, ekonomi, kamera, su, sosyal medya, galeri, liste
 *     kabukları…) beyaz zeminini, iç boşluğunu ve çerçevesini kaldırır → modül içeriği 1180px yerine
 *     tam 1200px'e, sayfa başlığı kartıyla aynı hizaya oturur.
 *  2) Modüllerin DIŞ KUTULARINI (haberler bölümleri, Kent Bilgi bölümleri, Kent Rehberi kartı, spor lig
 *     kutuları, resmî kurum listeleri, firma/ilan/etkinlik detay bölümleri, yorum ve paylaşım modülleri,
 *     yazı içeriği kutusu) çerçevesiz ve zeminsiz yapar.
 * Formlar, filtreler, sekme çubukları, kartlar, tablolar, görseller, harita, alıntı ve bilgi kutuları
 * modül çerçevesi değil içerik bileşenidir; kendi görünümlerini korur.
 */

/* 1) Modül kökleri: zemin / çerçeve / iç boşluk yok, tam sütun genişliği. */
html body:not(.wp-admin):not(.home):not(#sp-frameless-a):not(#sp-frameless-b) main#content :is(
  .sp-helper-public,.sp-sports-page,.sp-death-wrap,.sp-deaths-page,.sp-prayer-wrap,
  .sp-weather-page,.sp-pharmacy-page,.sp-economy-page,.sp-camera-page,.sp-water-loading-page,
  .sp-social-media-page,.sp-gallery-public-page,.sp-transport-app,
  .sp-module-page-composition,.sp-news-page-shell,.sp-portal-listing-shell,.sp-writing-page-shell,
  .sp-kr-wrap,.sp-kent-app-main,.sp-discover-shell
){
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}

/* 2) Modül dış kutuları: çerçevesiz, zeminsiz; içerik kutunun kenarına (1200px) hizalanır. */
html body:not(.wp-admin):not(.home):not(#sp-frameless-a):not(#sp-frameless-b) main#content :is(
  .sp-page-section,
  .sp-kent-app-shell,
  .sp-kr-content-card,
  .sp-sport-league,
  .sp-official-groups,.sp-official-list,
  .sp-dir-web-section,.sp-social-follow,.sp-market-groups,.sp-death-info,.sp-death-cond,
  .sp-legal-document,
  .sp-public-comments,
  .sp-social-share.sp-social-share-global,
  .sp-article-container > .sp-entry-content,
  .sp-content-sidebar-main > .sp-entry-content
){
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  outline:0!important;
}
/* Dış kutunun dikey iç boşluğu da kalkar; bölümler arası boşluk sayfa aralığından (y-gap) gelir. */
html body:not(.wp-admin):not(.home):not(#sp-frameless-a):not(#sp-frameless-b) main#content :is(
  .sp-page-section,.sp-kent-app-shell,.sp-kr-content-card,.sp-sport-league,.sp-official-groups,.sp-official-list,
  .sp-dir-web-section,.sp-social-follow,.sp-death-info,.sp-death-cond,.sp-legal-document,
  .sp-public-comments,.sp-social-share.sp-social-share-global
){
  padding-top:0!important;
  padding-bottom:0!important;
}
/* Yazı içeriği kutusunun iç üst/alt boşluğu da kalkar. */
html body:not(.wp-admin):not(.home):not(#sp-frameless-a):not(#sp-frameless-b) main#content
:is(.sp-article-container,.sp-content-sidebar-main) > .sp-entry-content{padding-top:0!important;padding-bottom:0!important}

/* Yasal belgeler (Gizlilik, KVKK, Çerez, Kullanım Koşulları) 860px ortalı kutu yerine tam içerik sütunu. */
html body:not(.wp-admin):not(.home):not(#sp-frameless-a):not(#sp-frameless-b) main#content .sp-legal-document{margin-left:0!important;margin-right:0!important}
/* Çerçevesi kalkan detay bölümlerinin başlığı da sütun kenarına hizalanır. */

/* ==== inner-layout-frame-1052 ==== */
/*
 * İç Sayfa Yerleşimi (tek ayar)
 *
 * Tüm ölçüler Görünüm Ayarları › Ekran ve Yerleşim › İç Sayfa Yerleşimi'nden gelir:
 *   --sp-layout-content-max   İçerik sütunu (çerçeve dahil)          varsayılan 1200px
 *   --sp-layout-x-gap         İçerik ↔ yan panel arası               varsayılan 15px
 *   --sp-layout-sidebar       Yan panel genişliği                    varsayılan 385px
 *   --sp-layout-y-gap         Alt alta bloklar arası                 varsayılan 15px
 *   --sp-layout-card-gap      Yan yana kartlar arası                 varsayılan 15px
 *   --sp-layout-frame-*       İçerik çerçevesi kalınlık / iç boşluk / köşe / zemin / renk
 *
 * Yapı:  [ Sayfa başlığı = içerik sütunu genişliği ]
 *        [ ÇERÇEVE: iç boşluk → yazılar / modüller / kartlar ]  [x-gap]  [ Yan panel ]
 */

/* 0) İki sütunlu iskelet bu dosyada, sayfa yapısına göre kurulur.
 *    Gövde sınıflarına, sayfa sonuna basılan satır içi CSS'e veya sütunların sırasına bağlı DEĞİLDİR:
 *    önbellek / CSS birleştirme / "kullanılmayan CSS'i kaldır" eklentileri, gövde sınıfını değiştiren
 *    eklentiler ya da yerleşime araya eklenen bir öğe (reklam, eklenti kutusu) yan paneli aşağı itemez. */
@media(min-width:1025px){
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content :is(.sp-content-sidebar-layout:has(> .sp-content-sidebar-main),.sp-dir-detail-shell-1020){
    display:grid!important;
    grid-template-columns:minmax(0,var(--sp-layout-content-max,1200px)) minmax(0,min(var(--sp-layout-sidebar,385px),30%))!important;
    column-gap:var(--sp-layout-x-gap,15px)!important;
    row-gap:var(--sp-layout-y-gap,15px)!important;
    justify-content:space-between!important;
    align-items:start!important;
    box-sizing:border-box!important;
    width:min(var(--sp-layout-inner-max,1600px),calc(100% - (var(--sp-layout-edge,0px) * 2)))!important;
    max-width:var(--sp-layout-inner-max,1600px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    float:none!important;
  }
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content :is(.sp-content-sidebar-layout > .sp-content-sidebar-main,.sp-dir-detail-shell-1020 > .sp-dir-detail-main-1020){
    grid-column:1!important;
    grid-row:1!important;
    width:auto!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    float:none!important;
  }
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content :is(.sp-content-sidebar-layout > :is(.sp-content-sidebar,.sp-content-sidebar-aside),.sp-dir-detail-shell-1020 > .sp-dir-detail-sidebar-1020){
    grid-column:2!important;
    grid-row:1!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    float:none!important;
  }
  /* Araya eklenen diğer öğeler iki sütunun altında tam satır olur. */
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-content-sidebar-layout:has(> .sp-content-sidebar-main) > :not(.sp-content-sidebar-main):not(.sp-content-sidebar):not(.sp-content-sidebar-aside):not(.sp-layout-title-zone):not(.sp-layout-title-ad-zone):not(style):not(script){
    grid-column:1 / -1!important;
  }
  /* Başlık (ve başlık reklamı) sol sütunun en üstünde; yan panel başlıkla aynı hizadan başlar
   * ve sol sütundaki tüm satırları kaplar. Başlık bloğu sunucu tarafında iskeletin içine alınır
   * (core/runtime/title-zone-placement.php). */
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content :is(.sp-content-sidebar-layout:has(> .sp-content-sidebar-main),.sp-dir-detail-shell-1020):has(> .sp-layout-title-zone){grid-template-rows:auto 1fr!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content :is(.sp-content-sidebar-layout:has(> .sp-content-sidebar-main),.sp-dir-detail-shell-1020):has(> .sp-layout-title-zone):has(> .sp-layout-title-ad-zone){grid-template-rows:auto auto 1fr!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content :is(.sp-content-sidebar-layout:has(> .sp-content-sidebar-main),.sp-dir-detail-shell-1020) > .sp-layout-title-zone{grid-column:1!important;grid-row:1!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;align-self:start!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content :is(.sp-content-sidebar-layout:has(> .sp-content-sidebar-main),.sp-dir-detail-shell-1020) > .sp-layout-title-ad-zone{grid-column:1!important;grid-row:2!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;align-self:start!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content :is(.sp-content-sidebar-layout:has(> .sp-content-sidebar-main),.sp-dir-detail-shell-1020):has(> .sp-layout-title-zone) > :is(.sp-content-sidebar-main,.sp-dir-detail-main-1020){grid-row:2!important;align-self:start!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content :is(.sp-content-sidebar-layout:has(> .sp-content-sidebar-main),.sp-dir-detail-shell-1020):has(> .sp-layout-title-zone):has(> .sp-layout-title-ad-zone) > :is(.sp-content-sidebar-main,.sp-dir-detail-main-1020){grid-row:3!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content :is(.sp-content-sidebar-layout:has(> .sp-content-sidebar-main),.sp-dir-detail-shell-1020):has(> .sp-layout-title-zone) > :is(.sp-content-sidebar,.sp-content-sidebar-aside,.sp-dir-detail-sidebar-1020){grid-row:1 / span 2!important;align-self:start!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content :is(.sp-content-sidebar-layout:has(> .sp-content-sidebar-main),.sp-dir-detail-shell-1020):has(> .sp-layout-title-zone):has(> .sp-layout-title-ad-zone) > :is(.sp-content-sidebar,.sp-content-sidebar-aside,.sp-dir-detail-sidebar-1020){grid-row:1 / span 3!important}
  /* Sayfa sarmalayıcıları iskeleti daraltmaz. */
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content.sp-site-main > :is(main,article,section,div):has(.sp-content-sidebar-layout,.sp-dir-detail-shell-1020){
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
}

/* Firma detayı tablette de iki sütunludur: aynı yerleşim. */
@media(min-width:768px) and (max-width:1024px){
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020 > .sp-dir-detail-main-1020{grid-column:1!important;grid-row:1!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020 > .sp-dir-detail-sidebar-1020{grid-column:2!important;grid-row:1!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020:has(> .sp-layout-title-zone){grid-template-rows:auto 1fr!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020:has(> .sp-layout-title-zone):has(> .sp-layout-title-ad-zone){grid-template-rows:auto auto 1fr!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020 > .sp-layout-title-zone{grid-column:1!important;grid-row:1!important;margin:0!important;align-self:start!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020 > .sp-layout-title-ad-zone{grid-column:1!important;grid-row:2!important;margin:0!important;align-self:start!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020:has(> .sp-layout-title-zone) > .sp-dir-detail-main-1020{grid-row:2!important;align-self:start!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020:has(> .sp-layout-title-zone):has(> .sp-layout-title-ad-zone) > .sp-dir-detail-main-1020{grid-row:3!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020:has(> .sp-layout-title-zone) > .sp-dir-detail-sidebar-1020{grid-row:1 / span 2!important;align-self:start!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020:has(> .sp-layout-title-zone):has(> .sp-layout-title-ad-zone) > .sp-dir-detail-sidebar-1020{grid-row:1 / span 3!important}
}
/* Tek sütunda (mobil/tablet) başlık ve reklam içerikten önce, aralarında blok aralığı. */
html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
main#content :is(.sp-content-sidebar-layout,.sp-dir-detail-shell-1020) > :is(.sp-layout-title-zone,.sp-layout-title-ad-zone){width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding:0!important}
/* Tek sütunda iskelet satır aralığı (row-gap) blok aralığını verir; başlığın ayrıca alt boşluğu olmaz. */
html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
main#content :is(.sp-content-sidebar-layout,.sp-dir-detail-shell-1020) > :is(.sp-layout-title-zone,.sp-layout-title-ad-zone){margin-top:0!important;margin-bottom:0!important}
@media(max-width:767px){
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-content-sidebar-layout:has(> .sp-layout-title-zone){display:grid!important;grid-template-columns:minmax(0,1fr)!important;row-gap:var(--sp-layout-y-gap,15px)!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020 > .sp-layout-title-zone{grid-row:1!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020 > .sp-layout-title-ad-zone{grid-row:2!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020:has(> .sp-layout-title-zone) > .sp-dir-detail-main-1020{grid-row:2!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020:has(> .sp-layout-title-zone) > .sp-dir-detail-sidebar-1020{grid-row:3!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020:has(> .sp-layout-title-zone):has(> .sp-layout-title-ad-zone) > .sp-dir-detail-main-1020{grid-row:3!important}
  html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content .sp-dir-detail-shell-1020:has(> .sp-layout-title-zone):has(> .sp-layout-title-ad-zone) > .sp-dir-detail-sidebar-1020{grid-row:4!important}
}

/* 1) Sayfa başlığı ve başlık altı reklam alanı: içerik çerçevesinin üstünde, içerik sütunuyla aynı hizada.
 *    İki sütunlu düzen olan genişliklerde başlık yalnız içerik sütunu kadar; tek sütunda tam genişlik. */
html body:is(.sp-content-sidebar-active,.single-sp_directory,:has(main#content .sp-content-sidebar-layout > .sp-content-sidebar)):not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
main#content.sp-site-main > :is(.sp-layout-title-zone,.sp-layout-title-ad-zone:not(:empty)){
  box-sizing:border-box!important;
  width:min(var(--sp-layout-inner-max,1600px),calc(100% - (var(--sp-layout-edge,0px) * 2)))!important;
  max-width:var(--sp-layout-inner-max,1600px)!important;
  margin:0 auto var(--sp-layout-y-gap,15px)!important;
  padding:0!important;
}
html body:is(.sp-content-sidebar-active,.single-sp_directory,:has(main#content .sp-content-sidebar-layout > .sp-content-sidebar)):not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
main#content.sp-site-main > :is(.sp-layout-title-zone,.sp-layout-title-ad-zone) > *{
  grid-column:1!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
@media(min-width:768px) and (max-width:1024px){
  html body.single-sp_directory:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content.sp-site-main > :is(.sp-layout-title-zone,.sp-layout-title-ad-zone:not(:empty)){
    display:grid!important;
    grid-template-columns:minmax(0,var(--sp-layout-content-max,1200px)) minmax(0,var(--sp-layout-sidebar,385px))!important;
    column-gap:var(--sp-layout-x-gap,15px)!important;
    justify-content:start!important;
  }
}
@media(min-width:1025px){
  html body:is(.sp-content-sidebar-active,.single-sp_directory,:has(main#content .sp-content-sidebar-layout > .sp-content-sidebar)):not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
  main#content.sp-site-main > :is(.sp-layout-title-zone,.sp-layout-title-ad-zone:not(:empty)){
    display:grid!important;
    grid-template-columns:minmax(0,var(--sp-layout-content-max,1200px)) minmax(0,min(var(--sp-layout-sidebar,385px),30%))!important;
    column-gap:var(--sp-layout-x-gap,15px)!important;
    justify-content:space-between!important;
  }
}
/* Başlık ile çerçeve arası yalnız "Bloklar Arası" kadar: sayfa sarmalayıcılarının üst iç boşluğu kalkar. */
html body:is(.sp-content-sidebar-active,.single-sp_directory,:has(main#content .sp-content-sidebar-layout > .sp-content-sidebar)):not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
main#content.sp-site-main > .sp-layout-title-zone ~ :is(main,article,section,div):not(.sp-layout-title-ad-zone){padding-top:0!important;margin-top:0!important}
html body:is(.sp-content-sidebar-active,.single-sp_directory,:has(main#content .sp-content-sidebar-layout > .sp-content-sidebar)):not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
main#content.sp-site-main > .sp-layout-title-zone ~ :is(main,article,section,div) > :is(.sp-container.sp-article-container,.sp-container.sp-content-sidebar-layout){padding-top:0!important;margin-top:0!important}

/* 2) İçerik çerçevesi: içerik sütununun dış kenarlığı + iç boşluk. Renk/zemin tema renklerinden (açık/koyu). */
html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
main#content :is(.sp-content-sidebar-layout > .sp-content-sidebar-main,.sp-content-sidebar-main.sp-content-border-only,.sp-dir-detail-shell-1020 > .sp-dir-detail-main-1020){
  box-sizing:border-box!important;
  min-width:0!important;
  border:var(--sp-layout-frame-width,1px) solid var(--sp-layout-frame-color,#dfe5ec)!important;
  border-radius:var(--sp-layout-frame-radius,14px)!important;
  padding:var(--sp-layout-frame-padding,10px)!important;
  background:var(--sp-layout-frame-bg,#fff)!important;
  box-shadow:none!important;
  outline:0!important;
}

/* 3) Çerçeve içindeki alt alta bloklar arası boşluk tek değerden (gizli öğeler boşluk oluşturmaz). */
html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
main#content :is(.sp-content-sidebar-layout > .sp-content-sidebar-main,.sp-content-sidebar-main.sp-content-border-only,.sp-dir-detail-shell-1020 > .sp-dir-detail-main-1020){
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:var(--sp-layout-y-gap,15px)!important;
}
html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
main#content :is(.sp-content-sidebar-layout > .sp-content-sidebar-main,.sp-content-sidebar-main.sp-content-border-only,.sp-dir-detail-shell-1020 > .sp-dir-detail-main-1020) > *{
  margin-top:0!important;
  margin-bottom:0!important;
  min-width:0!important;
  flex:0 0 auto!important;
}
/* Kent Rehberi / Keşfet gibi iç sarmalayıcıya sahip sayfalarda bölümler de aynı aralığı kullanır. */
html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
main#content :is(.sp-content-sidebar-main,.sp-dir-detail-main-1020) :is(.sp-module-page-composition,.sp-ipb-page-flow){
  gap:var(--sp-layout-y-gap,15px)!important;
}

/* 4) Yan yana kartlar arası boşluk tek değerden. */
html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
main#content :is(.sp-content-sidebar-main,.sp-dir-detail-main-1020) :is(
  .sp-hb-content-grid,.sp21-firm-grid,.sp-classified-grid,.sp-event-grid,.sp-category-grid,.sp-dir-category-grid,
  .sp-page-category-grid,.sp-subcategory-grid,.sp-content-grid,.sp-standard-content-grid,
  .sp-news-stream-grid,.sp-writing-grid,.sp-writing-category-grid,.sp-news-category-grid,
  .sp-kent-app-grid,.sp-kent-directory-grid,.sp-kent-official-grid,.sp-kent-emergency-grid,
  .sp-official-card-grid,.sp-pharmacy-modern-grid,.sp-historic-grid,.sp-historic-nearby-grid,
  .sp-kr-grid,.sp-tpg-grid,.sp-tlf-grid,.sp-values-grid,.sp-discover-intro-grid,.sp-discover-life-grid,
  .sp-discover-news-grid,.sp-death-grid
){
  gap:var(--sp-layout-card-gap,15px)!important;
}

/* Başlık iskelete alındığında iskelet her genişlikte ızgaradır; sütunlar arası/alt alta boşluğu yalnız
   satır aralığı verir (içerik ve yan panelin kendi üst/alt boşluğu eklenmez). */
html body:not(.wp-admin):not(.home):not(#sp-frame-a):not(#sp-frame-b):not(#sp-frame-c)
main#content :is(.sp-content-sidebar-layout,.sp-dir-detail-shell-1020):has(> .sp-layout-title-zone) > :is(.sp-content-sidebar-main,.sp-content-sidebar,.sp-content-sidebar-aside,.sp-dir-detail-main-1020,.sp-dir-detail-sidebar-1020){
  margin-top:0!important;
  margin-bottom:0!important;
}
