/* =========================
   PUBLICIDADE — BASE
========================= */

.ad-box{
    background:#f5f5f5;
    border:1px solid #ececec;
    border-radius:1px;
    overflow:hidden;
    text-align:center;
}

.ad-box img{
    width:100%;
    display:block;
}

.ad-box iframe,
.ad-box ins{
    width:100%;
}

/* LABEL */

.ad-box::before{
    content: 'Publicidade';
    display: block;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #777;
    background: #fafafa;
    border-bottom: 1px solid #ececec;
    text-align: center;
}


/* =========================
   ANÚNCIOS GLOBAIS (header/footer)
========================= */

.global-ad-area{
    width:100%;
    background:#f0f0f0;
    border-bottom:1px solid #e0e0e0;
    display:block;
}

.global-ad-above-footer,
.global-ad-below-footer{
    border-bottom:none;
    border-top:1px solid #e0e0e0;
}

.global-ad-area .ad-box{
    max-width:1400px;
    margin:0 auto;
    border:none;
    border-radius:0;
    background:transparent;
}

/* Remove o label "Publicidade" nos anúncios globais de topo/rodapé */
.global-ad-area .ad-box::before{
    display:none;
}

/* Imagens e banners nos anúncios globais */
.global-ad-area .ad-box img{
    max-height:120px;
    width:auto;
    max-width:100%;
    margin:0 auto;
    display:block;
}

/* Responsivo: limita altura em mobile */
@media(max-width:768px){
    .global-ad-area .ad-box img{
        max-height:80px;
    }
}


/* =========================
   ANÚNCIOS INTERNOS
   (single, category, page)
========================= */

.single-ad-top,
.single-middle-ad,
.category-ad-top,
.page-ad-area{
    margin:40px auto;
}

.page-ad-top{
    margin-top:0;
    margin-bottom:30px;
}

.page-ad-bottom{
    margin-top:30px;
    margin-bottom:0;
}

.horizontal-ad{
    width:100%;
    max-width:100%;
}


/* SIDEBAR */

.sidebar-ad{
    width:100%;
    margin-bottom:25px;
}


/* =========================
   RESPONSIVO
========================= */

@media(max-width:768px){

    .single-ad-top,
    .single-middle-ad,
    .category-ad-top,
    .page-ad-area{
        margin:25px auto;
    }

}
