/* Eddirasa dark surfaces v1 — article lists, footer and empty ad slots. */
html[data-theme="dark"] body,
html[data-theme="dark"] .site-page,
html[data-theme="dark"] .site-main{
  background-color:#25272d!important;
}

html[data-theme="dark"] .site-container,
html[data-theme="dark"] article.article-show.bg-white,
html[data-theme="dark"] .article-related-section,
html[data-theme="dark"] .article-related-section .ed-legacy-articles,
html[data-theme="dark"] .article-related-section .ed-legacy-box,
html[data-theme="dark"] .article-related-section .ed-legacy-list,
html[data-theme="dark"] .article-related-section .ed-legacy-year-block{
  background:#25272d!important;
  background-color:#25272d!important;
  color:#e5e7eb!important;
}

html[data-theme="dark"] .article-related-section .ed-legacy-box{
  border-color:#383b43!important;
  box-shadow:none!important;
}

html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .site-footer .container,
html[data-theme="dark"] .site-footer .footer-top-spacer,
html[data-theme="dark"] .site-footer .footer-main,
html[data-theme="dark"] .site-footer .footer-links,
html[data-theme="dark"] .site-footer .footer-copy{
  background:#292929!important;
  background-color:#292929!important;
  color:#e5e7eb!important;
}

html[data-theme="dark"] .site-footer .footer-links a{color:#d7dce7!important}
html[data-theme="dark"] .site-footer .footer-links a:hover{color:#58d49a!important}

html[data-theme="dark"] .ed-ad-slot,
html[data-theme="dark"] .ed-ad-code,
html[data-theme="dark"] .google-auto-placed,
html[data-theme="dark"] ins.adsbygoogle,
html[data-theme="dark"] iframe[id^="google_ads_iframe"]{
  background:transparent!important;
  background-color:transparent!important;
  color-scheme:dark;
}

/* AdSense marks slots explicitly when no creative is available. */
html[data-theme="dark"] ins.adsbygoogle[data-ad-status="unfilled"],
html[data-theme="dark"] .google-auto-placed:has(ins.adsbygoogle[data-ad-status="unfilled"]),
html[data-theme="dark"] .ed-ad-code:has(ins.adsbygoogle[data-ad-status="unfilled"]),
html[data-theme="dark"] .ed-ad-slot:has(ins.adsbygoogle[data-ad-status="unfilled"]){
  display:none!important;
  min-height:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}

@supports not selector(:has(*)){
  html[data-theme="dark"] ins.adsbygoogle[data-ad-status="unfilled"]{display:none!important}
}
