.ad-slot[hidden], .ad-slot [hidden] { display: none !important; }
.ad-slot { max-width: 100%; margin: 34px auto 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.ad-slot::before { content: 'Advertisement'; display: block; text-align: center; font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ad-primary { text-align: center; }
.ad-primary [data-ad-native] { max-width: 100%; }
.ad-primary > iframe { display: block; border: 0; width: 300px; height: 250px; margin: auto; max-width: none; }
.ad-debug { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.ad-primary[data-ad-state='preview'] { min-height: 250px; outline: 1px dashed #718353; display: grid; place-items: center; background: #e6e9dc; }
.home-ad-wrap { max-width: var(--max); padding: 0 32px; margin: auto; }
.ad-band-space { container-type: inline-size; width: 100%; margin: auto; }
.ad-band-frame { margin: auto; }
.ad-band-frame iframe { display: block; border: 0; opacity: 0; pointer-events: none; }
.ad-band[data-ad-state='filled'] iframe { opacity: 1; pointer-events: auto; }
.ad-band[data-ad-size='728x90'] .ad-band-frame, .ad-band[data-ad-size='728x90'] iframe { width: 728px; height: 90px; }
.ad-band[data-ad-size='320x50'] .ad-band-frame, .ad-band[data-ad-size='320x50'] iframe { width: 320px; height: 50px; }
.ad-band[data-ad-state='preview'] .ad-band-frame { outline: 1px dashed #718353; display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.footer-inner > div { flex-wrap: wrap; }
@media (max-width: 800px) { .home-ad-wrap { padding: 0 24px; } }
@media (max-width: 500px) { .home-ad-wrap { padding: 0 22px; } }
@media (max-width: 640px) { .ad-primary[data-ad-format='native'] { display: none; } }
@media (min-width: 641px) { .ad-primary[data-ad-format='300x250'] { display: none; } }
@media (max-width: 767px) { .ad-band { display: none; } }
@container (max-width: 727px) { .ad-band[data-ad-size='728x90'] { display: none; } }
@container (max-width: 319px) { .ad-band { display: none; } }
