/* ========================================
   DISKI ZONE - AD CONTAINER STYLES
   Caps width and rendered height so AdSense's
   "auto"/"fluid" formats can't render full-screen units.
   ======================================== */

.display-ad,
.in-article-ad,
.in-feed-ad {
    margin: 20px auto;
    text-align: center;
    max-width: 728px;
    width: 100%;
    overflow: hidden;
}

.in-feed-ad {
    margin: 12px auto;
}

.multiplex-ad {
    margin: 25px auto;
    max-width: 1000px;
    width: 100%;
    overflow: hidden;
}

.banner-container {
    max-width: 970px;
    margin-left: auto;
    margin-right: auto;
}

/* Hard-cap rendered ad height. AdSense honours the container's
   max-height for fluid/auto formats and will pick a smaller creative. */
.display-ad ins.adsbygoogle,
.in-article-ad ins.adsbygoogle,
.in-feed-ad ins.adsbygoogle,
.banner-container ins.adsbygoogle {
    display: block !important;
    max-height: 280px !important;
    width: 100% !important;
}

.multiplex-ad ins.adsbygoogle {
    display: block !important;
    max-height: 600px !important;
    width: 100% !important;
}

/* Mobile: tighter caps so banner ads don't dominate the viewport */
@media (max-width: 767px) {
    .display-ad,
    .in-article-ad,
    .in-feed-ad,
    .banner-container {
        max-width: 100%;
    }

    .display-ad ins.adsbygoogle,
    .in-article-ad ins.adsbygoogle,
    .in-feed-ad ins.adsbygoogle,
    .banner-container ins.adsbygoogle {
        max-height: 250px !important;
    }

    .multiplex-ad ins.adsbygoogle {
        max-height: 500px !important;
    }
}
