/* Sigorta Haber 3.6.15: layout reservation / CLS prevention. */
/* Tick does not widen the toolbar after the initial paint. */
.header-news-marquee-clock{min-width:8.5ch;white-space:nowrap;justify-content:center;font-variant-numeric:tabular-nums;font-feature-settings:"tnum";}
/* Only ad boxes that actually contain asynchronous code reserve space. */
.shcls-ad-slot{min-height:250px;contain:layout style;}
@media(min-width:768px){.shcls-ad-slot{min-height:280px;}}
/* The known plugin-provided promo is retired on HOME, before it paints. */
body.home .ser-showcase,body.blog .ser-showcase{display:none!important;}
/* Image box dimensions are known even when the network image is delayed. */
.swiper-slide img.sh-responsive-slider-image{object-fit:cover;}

/* Honor the grid ad card maximum height. */
.custom-grid-list-item.max-h-250 .shcls-ad-slot{min-height:220px;}
@media(min-width:768px){.custom-grid-list-item.max-h-250 .shcls-ad-slot{min-height:240px;}}

/* 3.6.17: missing ad content must not create an empty desktop grid column. */
.slider-col-2.sh-home-no-ad {grid-template-columns:minmax(0,1fr);}
.slider-col-2.sh-home-no-ad > .max-h-450 {display:none;}
/* Google AdSense adds this state only when it explicitly returned no creative.
   Preserve pending and filled slots so images, ads and CLS reservations work. */
@supports selector(.shcls-ad-slot:has(ins[data-ad-status="unfilled"])) {
  .shcls-ad-slot:has(ins.adsbygoogle[data-ad-status="unfilled"]):not(:has(ins.adsbygoogle[data-ad-status="filled"],iframe)) {
    display:none!important;min-height:0!important;
  }
  /* Without a rendered placement, release the parent slot and its blank margin. */
  body.home .container.widget-mt:has(> .shcls-ad-slot:only-child):not(:has(iframe,img,ins.adsbygoogle[data-ad-status="filled"])):has(ins.adsbygoogle[data-ad-status="unfilled"]),
  body.blog .container.widget-mt:has(> .shcls-ad-slot:only-child):not(:has(iframe,img,ins.adsbygoogle[data-ad-status="filled"])):has(ins.adsbygoogle[data-ad-status="unfilled"]) {
    display:none!important;
  }
  .slider-col-2:has(> .max-h-450 .shcls-ad-slot ins.adsbygoogle[data-ad-status="unfilled"]):not(:has(> .max-h-450 ins.adsbygoogle[data-ad-status="filled"],> .max-h-450 iframe,> .max-h-450 img)) {
    grid-template-columns:minmax(0,1fr);
  }
  .slider-col-2 > .max-h-450:has(.shcls-ad-slot ins.adsbygoogle[data-ad-status="unfilled"]):not(:has(ins.adsbygoogle[data-ad-status="filled"],iframe,img)) {
    display:none!important;
  }
  .grid-span-list > .custom-grid-list-item.max-h-250:has(.shcls-ad-slot ins.adsbygoogle[data-ad-status="unfilled"]):not(:has(ins.adsbygoogle[data-ad-status="filled"],iframe,img)) {
    display:none!important;
  }
}

/* 3.6.18: collapse ONLY proven empty direct homepage widgets.
   It never changes a populated article/ad widget, post page or footer. */
body.home #main-content > .sh-home-empty-gap,
body.blog #main-content > .sh-home-empty-gap {
  display:none!important;min-height:0!important;height:0!important;
  margin:0!important;padding:0!important;
}
