/* Publicidades visibles en la vista previa del sitio */

.mdptv-ad {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #edf3f8;
    box-shadow: 0 8px 28px rgba(0, 59, 122, 0.14);
}

.mdptv-ad img,
.mdptv-ad video,
.mdptv-ad picture,
.mdptv-ad a {
    display: block;
    width: 100%;
    height: 100%;
}

.mdptv-ad img,
.mdptv-ad video {
    object-fit: var(--ad-fit, contain);
}

.mdptv-ad video {
    border: 0;
    outline: 0;
    background: transparent;
    pointer-events: none;
}

.mdptv-ad-label {
    position: absolute;
    z-index: 3;
    top: 8px;
    left: 8px;
    padding: 4px 7px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font: 700 10px Montserrat, sans-serif;
    text-transform: uppercase;
}

.mdptv-ad-close {
    position: absolute;
    z-index: 4;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 23px;
    cursor: pointer;
}

.mdptv-ad-countdown {
    position: absolute;
    z-index: 4;
    right: 50px;
    top: 14px;
    color: #fff;
    text-shadow: 0 1px 3px #000;
    font: 700 12px Montserrat, sans-serif;
}

.mdptv-ad-volume {
    position: absolute;
    z-index: 5;
    top: 8px;
    right: 88px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.mdptv-ad-volume:hover,
.mdptv-ad-volume:focus-visible {
    background: #005aa8;
    outline: 3px solid rgba(51, 169, 255, 0.35);
}

.mdptv-ad-home {
    width: min(1200px, 100%);
    aspect-ratio: 10 / 3;
    margin: 0 auto 24px;
}

.mdptv-ad-inline {
    width: 100%;
    min-height: 180px;
    max-height: 440px;
    margin: 28px 0;
}

.mdptv-ad-sidebar {
    width: 100%;
    aspect-ratio: 2 / 3;
    margin-bottom: 22px;
}

.mdptv-ad-sticky {
    position: fixed;
    z-index: 900;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(1000px, calc(100% - 28px));
    height: min(140px, 20vh);
}

.mdptv-ad-overlay {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5, 20, 36, 0.78);
}

.mdptv-ad-interstitial {
    width: min(900px, 94vw);
    height: min(680px, 84vh);
}

.mdptv-ad.is-hidden,
.mdptv-ad-overlay.is-hidden {
    display: none;
}

@media (max-width: 720px) {
    .mdptv-ad-home {
        aspect-ratio: 1 / 1;
    }

    .mdptv-ad-sticky {
        height: 110px;
    }
}
.mdptv-ad-video-error {
    position: absolute;
    inset: auto 16px 16px 16px;
    z-index: 4;
    padding: 10px 14px;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(9, 31, 64, .9);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}
