.adsense {
    .ads-content:has(> .topo_header) {
        height: auto;
        position: relative;
        /* @media screen and (max-width: 767px) {
            height: 120px;
        } */
    }
    .ads-content:has(.artigo_topo_header) {
        margin-top: 10px;
    }
    .ads-content{
        max-width: 1280px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        --tw-bg-opacity: 1;
        background-color: #f2f2f2;
        min-height: 100px;
        /* height: 270px;
        position: relative; */
        /* margin-top: 16px; */
        @media screen and (max-width: 767px) {
            &:has(.capa_topo_header),
            &:has(.artigo_topo_header) {
                margin-left: 16px;
                margin-right: 16px;
            }
            &:has(.capa_entre_slots) {
                margin-left: 27px;
                margin-right: 27px;
            }
        }

        .bloco-ads{
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            /* min-height: 50px; */
        }
        
        .capa_topo_header,
        .artigo_topo_header {
            max-height: 270px;
            width: 100%;
            transition:
                opacity 1s ease-out,
                transform 1s ease-out,
                top 1s ease-out;
            @media screen and (max-width: 767px) {
                height: 100px;
            }
        }

        .capa_topo_header.is-fixed,
        .artigo_topo_header.is-fixed {
            width: 1280px;
            margin: 0 auto;
            position: fixed;
            top: 0;
            /* left: 0; */
            z-index: 40;
            @media screen and (max-width: 767px) {
                /* margin-top: 90px; */
                top: 90px;
            }
        }

        .capa_topo_header.is-returning,
        .artigo_topo_header.is-returning {
            position: absolute;
            top: 0;
            transform: translateY(0);
        }
        .capa_topo_header.back-to-top,
        .artigo_topo_header.back-to-top {
            opacity: 0;
            /* transform: translateY(-100%); */
            pointer-events: none;
        }
        .capa_topo_header.is-reset,
        .artigo_topo_header.is-reset {
            position: relative;
            top: 0;
            opacity: 1;
            /* transform: translateY(0); */
        }
        .capa_topo_header.adjust-position,
        .artigo_topo_header.adjust-position {
            top: 0;
        }

        /* .capa_entre_slots {
            height: 280px;
        } */

        .capa_topo_header, .artigo_topo_header, .capa_entre_slots {
            /* min-height: 250px; */
            height: auto;
        }
        /* @media screen and (min-width: 768px){
        } */
        .capa_topo_header, .artigo_topo_header, .capa_entre_slots, .capa_half_page {
            min-height: 100px;
        }
    }
    .ads-content.bg-active-true {
        position: fixed;   
        inset: 0;
        z-index: 10;

        .capa_background {
            iframe {
                height: 100vh;
                width: 100vw;
            }
        }
    }
    &.aem-GridColumn {
        .ads-content {
            &:has(.capa_entre_slots) {
                margin-left: 11px;
                margin-right: 11px;
            }
        }
    }
    .ads-content:has(.artigo_offer_stripe) {
        min-height: 0px;
        background: none;
    }
    .ads-content:has(.artigo_inread_retangulo) {
        border-radius: 4px;
        min-height: 280px;
    }

}
.container.responsivogrid.aem-GridColumn.aem-GridColumn--default--12 {
    position: relative;
    z-index: 15;        
    pointer-events: none; 
}

    .bg-active-container {
    position: relative;
    z-index: 20;
    top: 40px;
    pointer-events: auto;
    max-width: 1400px;
    width: min(1400px, 100% - 1rem);
    margin: 10rem auto 0rem auto;
    padding: 1rem;
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bg-active-container * {
    pointer-events: auto;
}

/* .bg-active-container .template-container,
.bg-active-container .template-container * {
    max-width: 100%;
    box-sizing: border-box;
} */

.bg-active-footer {
    position: relative;
    z-index: 20;
    max-width: 1400px;
    width: min(1400px, 100% - 1rem);
    margin: 0 auto 2rem;      /* cola visualmente no fim do conteúdo, mas fica fora dele */
    padding: 1.5rem 1rem 2rem;
    box-sizing: border-box;
    border-radius: 8px;
}


/* .adsense.has-anchor {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    z-index: 9999;
    backdrop-filter: blur(4px);
    background-color: hsla(0, 0%, 98%, .2);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    margin: 0;
    padding: 0;

    .ads-content {
        max-width: none;
        margin: 0;
        width: 100vw;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background: transparent;

        .bloco-ads {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            height: auto;
        }
    }
} */

#capa_minas_sa_oferecimento iframe,
#capa_enquete_oferecimento iframe {
    width: 100%;
    height: 40px;
    margin-top: 14px;
}

.background__desktop {
    display: block;
}

@media (max-width: 767px) {
    .background__desktop {
        display: none;
    }
}

.container__page {
    div.adarticle {
        display: block;
    }
}
.adarticle:has(.artigo_topo_header) {
    margin-top: 10px;
}

.ads__container--item,
.ads__container__article,
.ad__wrapper-side,
.ads-Fim {
    height: auto !important;
    min-height: 280px;
    background: #f2f2f2;
}

.ads-sidebar-start {
    height: auto !important;
}

.ad__wrapper-side {
    align-items: center;
}

.ads__container {
    align-items: center;
}