/* === v1.36.1 Home Page Final Clean ===
   Eski home layout CSS katmanları head'den kaldırıldıktan sonra tek kaynak.
   Sadece main.home-page içinde çalışır.
   Lane genişliğine dokunmaz; site-lane-width.css ana main genişliğini yönetmeye devam eder.
*/

html body:not(.admin-body) main.main.home-page{
  box-sizing:border-box!important;
  transform:none!important;
  translate:none!important;
  overflow-x:hidden!important;
}

/* Ana sayfa içerik shell'i mevcut lane'in tamamını kullanır; lane genişliği değişmez. */
html body:not(.admin-body) main.main.home-page > .home-centered-shell{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding:0!important;
  transform:none!important;
  translate:none!important;
  float:none!important;
  box-sizing:border-box!important;
}

/* Shell içindeki ana bloklar lane dışına taşmasın. */
html body:not(.admin-body) main.main.home-page > .home-centered-shell > .hero-grid,
html body:not(.admin-body) main.main.home-page > .home-centered-shell > .hero-grid.hero-showcase,
html body:not(.admin-body) main.main.home-page > .home-centered-shell > .wide-search,
html body:not(.admin-body) main.main.home-page > .home-centered-shell > .quick-grid,
html body:not(.admin-body) main.main.home-page > .home-centered-shell > .stream-events-section,
html body:not(.admin-body) main.main.home-page > .home-centered-shell > .section-head,
html body:not(.admin-body) main.main.home-page > .home-centered-shell > .market-home-wrap,
html body:not(.admin-body) main.main.home-page > .home-centered-shell > .market-home-grid,
html body:not(.admin-body) main.main.home-page > .home-centered-shell > .cards,
html body:not(.admin-body) main.main.home-page > .home-centered-shell > .market-grid{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:none!important;
  translate:none!important;
  float:none!important;
  box-sizing:border-box!important;
}

/* Hero: desktop ana düzen */
html body:not(.admin-body) main.main.home-page > .home-centered-shell > .hero-grid.hero-showcase{
  display:grid!important;
  grid-template-columns:minmax(0,1.36fr) minmax(0,1fr)!important;
  gap:18px!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  margin-top:34px!important;
  margin-bottom:18px!important;
}

/* Hero kartları taşmasın */
html body:not(.admin-body) main.main.home-page .hero-showcase > .hero-card,
html body:not(.admin-body) main.main.home-page .hero-showcase > .hero-slider,
html body:not(.admin-body) main.main.home-page .hero-left-image,
html body:not(.admin-body) main.main.home-page .hero-slider{
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
  overflow:hidden!important;
  transform:none!important;
  translate:none!important;
}

/* Görsellerde yazı soldaysa soldan kesilmesin. */
html body:not(.admin-body) main.main.home-page .hero-left-image img,
html body:not(.admin-body) main.main.home-page .hero-left-image .hero-full-img,
html body:not(.admin-body) main.main.home-page .hero-slider img,
html body:not(.admin-body) main.main.home-page .hero-slider .hero-full-img,
html body:not(.admin-body) main.main.home-page .hero-slide img,
html body:not(.admin-body) main.main.home-page .hero-slide .hero-full-img{
  object-fit:cover!important;
  object-position:left center!important;
}

/* Quick cards desktop */
html body:not(.admin-body) main.main.home-page > .home-centered-shell > .quick-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  margin-top:0!important;
  margin-bottom:28px!important;
}

/* Section başlıkları */
html body:not(.admin-body) main.main.home-page > .home-centered-shell > .section-head{
  margin-top:26px!important;
  margin-bottom:16px!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* Stream/market iç gridleri lane içinde kalsın */
html body:not(.admin-body) main.main.home-page > .home-centered-shell .stream-event-cards,
html body:not(.admin-body) main.main.home-page > .home-centered-shell .stream-events-grid,
html body:not(.admin-body) main.main.home-page > .home-centered-shell .market-home-grid,
html body:not(.admin-body) main.main.home-page > .home-centered-shell .market-home-slider{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:none!important;
  box-sizing:border-box!important;
}

/* MacBook / orta desktop */
@media(min-width:1001px) and (max-width:1500px){
  html body:not(.admin-body) main.main.home-page > .home-centered-shell > .hero-grid.hero-showcase{
    grid-template-columns:minmax(0,1.26fr) minmax(0,1fr)!important;
    gap:16px!important;
    margin-top:24px!important;
  }
}

/* Mobil/tablet: tek kolon hero. Quick slider CSS ayrıca sonra yükleniyor. */
@media(max-width:1000px){
  html body:not(.admin-body) main.main.home-page{
    width:100%!important;
    max-width:100vw!important;
    overflow-x:hidden!important;
  }

  html body:not(.admin-body) main.main.home-page > .home-centered-shell{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    transform:none!important;
  }

  html body:not(.admin-body) main.main.home-page > .home-centered-shell > .hero-grid.hero-showcase{
    grid-template-columns:1fr!important;
    gap:14px!important;
    margin-top:18px!important;
    margin-bottom:16px!important;
  }
}
