/* ADS — Banner + Sticky Footer — /css/ads.css */

.ad-slot { text-align: center; margin: 20px 0; }
.ad-slot a { display: block; width: 100%; line-height: 0; }
.ad-slot img { display: block; width: 100%; height: auto; }
.ad-leaderboard { margin: 0 0 20px; }
.ad-in-content { margin: 24px 0; }
.ad-sidebar-banner { margin-bottom: 20px; }
.ad-sidebar-banner a, .ad-sidebar-banner img { max-width: 300px; }
.ad-skyscraper { margin: 20px auto; }
.ad-skyscraper a { max-width: 160px; margin: 0 auto; }
.ad-skyscraper img { max-width: 160px; }

.sticky-footer-ad {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: #1a2332; border-top: 2px solid #e8651a;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.25); padding: 0;
}
.sticky-footer-inner {
  position: relative; width: 100%;
  max-width: var(--max-w, 1200px); margin: 0 auto;
}
.sticky-footer-inner .ad-label {
  position: absolute; top: -16px; left: 16px; margin: 0;
  color: rgba(255,255,255,0.4); font-size: 0.5rem;
}
.sticky-footer-inner a { display: block; width: 100%; line-height: 0; }
.sticky-footer-img { width: 100%; height: auto; display: block; }
.sticky-close {
  position: absolute; bottom: 100%; right: 8px; margin-bottom: 4px;
  background: rgba(0,0,0,0.5); color: #fff; border: none;
  width: 22px; height: 22px; font-size: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px; z-index: 2;
}
.sticky-close:hover { background: rgba(0,0,0,0.7); }
@media (max-width: 768px) { .sticky-close { right: 4px; } }