/* RCAD PRO — AdSense v5
   Los banners se auto-ajustan porque .entry-content ya no tiene max-width.
   El max-width:760px se aplica solo a los elementos de texto (p, h1-h4, etc.)
   en global.css, dejando los .banner del padre al ancho completo. */

/* Placeholder visible SOLO para administradores */
.rcad-ad-placeholder--admin {
    padding: 12px;
    margin: 1rem auto;
    background: #fff8e1;
    border: 1px dashed #ffb300;
    color: #666;
    font-size: 12px;
    text-align: center;
    border-radius: 4px;
}

/* Utilidad del grid de posts */
.rcad-card-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}


/* RCAD v4.65 — slots AdSense Home + Recursos */
.rcad-ad-slot{
    width:100%;
    max-width:100%;
    margin:28px auto;
    padding:16px 0;
    clear:both;
    overflow:visible;
    text-align:center;
    background:transparent;
    border:0;
    box-shadow:none;
}
.rcad-ad-slot__inner{
    width:100%;
    max-width:100%;
    margin:0 auto;
    overflow:visible;
    text-align:center;
}
.rcad-ad-slot ins.adsbygoogle{
    display:block;
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
}
.rcad-ad-slot--resource-top,
.rcad-ad-slot--resource-mid,
.rcad-ad-slot--resource-bottom{
    margin-top:32px;
    margin-bottom:32px;
}
.rcad-resource-download-v350 + .rcad-resource-tools-v442{
    margin-top:24px;
}
@media (max-width:767px){
    .rcad-ad-slot{
        margin:22px auto;
        padding:12px 0;
    }
    .rcad-ad-slot--resource-top,
    .rcad-ad-slot--resource-mid,
    .rcad-ad-slot--resource-bottom{
        margin-top:24px;
        margin-bottom:24px;
    }
}


/* RCAD v4.67 — garantizar visibilidad de slots de portada */
.rcad-home-wrap > .rcad-ad-slot,
.rcad-home-layout-2026 .rcad-ad-slot{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:100%!important;
    clear:both!important;
}
