/* Keakon Ad Management System: contenedores de anuncios. */
.gz-ads-zone{box-sizing:border-box;position:relative;width:100%;min-height:var(--gz-ad-reserve,90px);margin:20px auto;display:grid;place-items:center;clear:both;overflow:visible}
.gz-ads-zone:empty{display:none!important;min-height:0;margin:0}
/* Aún sin pedir (por ejemplo, oculto en este dispositivo): no ocupa espacio. */
.gz-ads-zone-adsense:not([data-ad-state]),.gz-ads-zone-gam:not([data-ad-state]){height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
/* Google no entregó anuncio o el script no cargó: se recoge (método data-ad-status de Google). */
.gz-ads-zone[data-ad-state="unfilled"],.gz-ads-zone[data-ad-state="blocked"],.gz-ads-zone[data-ad-state="error"]{display:none!important;min-height:0!important;height:0!important;margin:0!important;padding:0!important}
.gz-ads-content{display:block;width:100%;max-width:100%;min-width:0;min-height:var(--gz-ad-reserve,90px)}
.gz-ads-content>ins.adsbygoogle{display:block!important;width:100%!important;min-width:0!important}
.gz-ads-content>.gz-gam-slot{display:flex;justify-content:center;width:100%}
.gz-ads-zone-external,.gz-ads-zone-external .gz-ads-content{min-height:0;overflow:visible}
/* Vista previa del administrador (Personalizador y diagnóstico): no pide anuncios. */
.gz-ads-placeholder{box-sizing:border-box;width:100%;min-height:var(--gz-ad-reserve,90px);display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 20px;border:1px dashed var(--gz-border-md,rgba(15,23,42,.18));border-radius:12px;background:var(--gz-bg-page,#f8fafc);color:var(--gz-text-muted,#64748b)}
.gz-ads-placeholder.is-warn{border-color:#f59e0b}
.gz-ads-placeholder-badge{display:grid;place-items:center;min-width:34px;height:22px;padding:0 8px;border-radius:6px;border:1px solid var(--gz-border-md,rgba(15,23,42,.18));color:var(--gz-text-muted,#64748b);font:700 10px/1 system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.gz-ads-placeholder-text{display:grid;gap:3px;font-family:inherit;text-align:left}
.gz-ads-placeholder-text strong{color:var(--gz-text,#0f172a);font-size:13px;font-weight:600;line-height:1.25}
.gz-ads-placeholder-text small{color:var(--gz-text-faint,#94a3b8);font-size:11px;line-height:1.35}
.gz-header-ad-area{box-sizing:border-box;position:relative;width:100%;margin-top:16px!important;padding:12px 24px 18px;background:var(--gz-bg-body,#f8fafc);clear:both;isolation:isolate;z-index:1}
.gz-header-ad-area-adsense:not([data-ad-state]){height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
.gz-header-ad-area[data-ad-state="unfilled"],.gz-header-ad-area[data-ad-state="blocked"],.gz-header-ad-area[data-ad-state="error"]{display:none!important;margin:0!important;padding:0!important;height:0!important;min-height:0!important}
.gz-header-ad-area .gz-ads-position-header_below{width:100%;max-width:1280px;margin:0 auto}
.gz-ads-position-sidebar_top,.gz-ads-position-sidebar_mid{max-width:336px;min-height:var(--gz-ad-reserve,250px)}
.gz-ads-position-sidebar_top .gz-ads-placeholder,.gz-ads-position-sidebar_mid .gz-ads-placeholder{min-height:var(--gz-ad-reserve,250px)}
.gz-post-content .code-block{max-width:100%}
/* Separación con enlaces y botones cercanos (evita clics accidentales). */
.gz-ads-position-single_top,.gz-ads-position-incontent_end,.gz-ads-position-after_related{margin-top:28px;margin-bottom:28px}
.gz-ads-zone+.page-links,.gz-ads-zone+.gz-post-tags,.gz-ads-zone+.gz-share,.gz-ads-zone+nav{margin-top:28px!important}
/* Barra lateral: como máximo 300 px en escritorio (límite de Google para anuncios fijos). */
@media(min-width:1101px){.gz-sidebar .gz-ads-zone{max-width:300px}}
/* Dispositivos: móvil <768, tablet 768–1024, escritorio ≥1025. Un bloque oculto no se pide. */
@media(max-width:767px){.gz-ads-hide-m{display:none!important}}
@media(min-width:768px) and (max-width:1024px){.gz-ads-hide-t{display:none!important}}
@media(min-width:1025px){.gz-ads-hide-d{display:none!important}}
@media(max-width:600px){.gz-ads-zone{min-height:var(--gz-ad-reserve,80px);margin:16px auto}.gz-header-ad-area{margin-top:12px!important;padding:12px}.gz-header-ad-area .gz-ads-position-header_below{margin:0 auto}.gz-ads-content,.gz-ads-placeholder{min-height:var(--gz-ad-reserve,80px)}.gz-ads-placeholder{padding:13px 15px}}
