
/*
 * Paseo de Autor — Ancho Completo
 * Solo se carga en páginas de Paseo de Autor.
 */

body.pda-paseo-fullwidth #secondary,
body.pda-paseo-fullwidth .sidebar,
body.pda-paseo-fullwidth .widget-area,
body.pda-paseo-fullwidth .site-sidebar,
body.pda-paseo-fullwidth .sidebar-main,
body.pda-paseo-fullwidth .primary-sidebar,
body.pda-paseo-fullwidth .left-sidebar,
body.pda-paseo-fullwidth aside.sidebar {
    display:none !important;
}

/* El título nativo queda oculto porque cada diseño ya tiene su propio título. */
body.pda-paseo-fullwidth .entry-title,
body.pda-paseo-fullwidth .page-title,
body.pda-paseo-fullwidth .wp-block-post-title {
    display:none !important;
}

/* Recuperar el ancho que el tema pudiera seguir reservando. */
body.pda-paseo-fullwidth #content,
body.pda-paseo-fullwidth .site-content,
body.pda-paseo-fullwidth .content-area,
body.pda-paseo-fullwidth .site-main,
body.pda-paseo-fullwidth .entry-content,
body.pda-paseo-fullwidth article,
body.pda-paseo-fullwidth .container,
body.pda-paseo-fullwidth .content-wrap,
body.pda-paseo-fullwidth .site-container {
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    left:0 !important;
    transform:none !important;
}

/* No tocar la barra negra de administración de WordPress. */
body.pda-paseo-fullwidth #wpadminbar {
    display:block !important;
}

/* Prevenir desbordamiento horizontal tras recuperar el ancho. */
html:has(body.pda-paseo-fullwidth),
body.pda-paseo-fullwidth {
    overflow-x:hidden !important;
}
