/* ── Kill yellow backgrounds on ins / ad slots ─────────────────────────── */
ins,
ins.eas6a97888e10,
ins.eas6a97888e2,
ins[data-zoneid],
mark {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
}

/* Target ad container divs */
.happy-under-player,
.happy-under-player-mobile,
.happy-header,
.happy-header-mobile,
.widget-100-ad-slot,
.hdr-ad-slot,
#hdr-ad-slot,
#widget-100-ad-slot {
    background: transparent !important;
    background-color: transparent !important;
}

/* ── Kill pause-ad overlays ────────────────────────────────────────────── */
.happy-inside-player,
.happy-inside-player-pause,
div[class*="happy-inside-player"],
#happy-inside-player {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ── Pure 16:9 Responsive Player Sizing (Mobile & Desktop) ─────────────── */
.responsive-player,
.responsive-video {
    position: relative !important;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
    background: #000000 !important;
}

.responsive-player iframe,
.responsive-player video,
.responsive-video iframe,
.responsive-video video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* ── Hide duplicate mobile header ad bar ───────────────────────────── */
.happy-header-mobile {
    display: none !important;
}

/* ── Compact Spacing Around Ads & Section Titles ───────────────────── */
#content,
.site-content {
    margin-top: 0 !important;
    padding-top: 4px !important;
}

@media screen and (max-width: 768px) {
    .site-branding {
        padding-bottom: 0 !important;
    }
    
    #homepage-ads-boxed,
    #homepage-ads-full,
    .widget_custom_html,
    .custom-html-widget,
    .happy-header,
    .happy-header-mobile,
    .happy-under-player,
    .happy-under-player-mobile,
    .happy-footer,
    .happy-sidebar,
    div[class*=happy-],
    #hdr-ad-slot,
    #widget-100-ad-slot {
        margin-top: 4px !important;
        margin-bottom: 6px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    section.widget,
    section.widget_videos_block,
    .widget_videos_block:first-child {
        margin-top: 6px !important;
        padding-top: 0 !important;
    }

    h2.widget-title {
        margin-top: 4px !important;
        margin-bottom: 10px !important;
    }
}

/* ── Landscape Video Grid Layout (4 Columns - No Stretching) ───────── */
@media screen and (orientation: landscape), screen and (min-width: 560px) {
    .videos-list {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    
    .videos-list article.thumb-block,
    .videos-list .thumb-block,
    article.thumb-block {
        width: 25% !important;
        max-width: 25% !important;
        flex: 0 0 25% !important;
        box-sizing: border-box !important;
        padding: 4px !important;
        margin-bottom: 12px !important;
    }
    
    .post-thumbnail {
        width: 100% !important;
        height: 0 !important;
        padding-bottom: 56.25% !important; /* Keep exact 16:9 ratio */
        position: relative !important;
        overflow: hidden !important;
    }
    
    .post-thumbnail img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* Hide duplicate mobile under-player ad */
.happy-under-player-mobile {
    display: none !important;
}
