/* Provider-neutral advertisement slots. Enqueued only when Master advertising is ON. */
.ssdb-ad-zone {
    width: 100%;
    min-height: var(--ssdb-ad-min-height, 0px);
    margin: 28px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: visible;
}

.ssdb-ad-zone > * {
    max-width: 100%;
}

.ssdb-ad-zone iframe,
.ssdb-ad-zone img {
    max-width: 100%;
}

@media (max-width: 860px) {
    .ssdb-ad-zone.ssdb-ad-device-desktop {
        display: none !important;
        min-height: 0 !important;
        margin: 0 !important;
    }
}

@media (min-width: 861px) {
    .ssdb-ad-zone.ssdb-ad-device-mobile {
        display: none !important;
        min-height: 0 !important;
        margin: 0 !important;
    }
}

/* document-stream/legacy ad tags execute inside this frame so document.write()
 * writes to the ad document, never to the host page. */
.ssdb-ad-exec-frame {
    width: 100%;
    min-width: 0;
    border: 0;
    margin: 0;
    padding: 0;
    display: block;
    background: transparent;
}
