/* DOBRO HUB Global Clean Layout 1.1 — fallback hide for non-standard sidebars.
   Scoped to public site's main content; preserves navigation & Elementor components. */
body.dhg-clean-layout #secondary,
body.dhg-clean-layout #sidebar,
body.dhg-clean-layout .site-content aside.sidebar,
body.dhg-clean-layout .site-content .sidebar,
body.dhg-clean-layout .site-content .sidebar-area,
body.dhg-clean-layout .site-content .sidebar-section,
body.dhg-clean-layout .site-content .sidebar-wrapper,
body.dhg-clean-layout .site-content .blog-sidebar,
body.dhg-clean-layout .site-content .right-sidebar,
body.dhg-clean-layout .site-content .widget-area.sidebar,
body.dhg-clean-layout .site-content .sidebar-widgets,
body.dhg-clean-layout .site-content .widget-sidebar,
body.dhg-clean-layout .site-content .sidebar-column,
body.dhg-clean-layout .site-content .col-sidebar,
body.dhg-clean-layout .site-content aside[role="complementary"],
body.dhg-clean-layout #content aside[role="complementary"],
body.dhg-clean-layout main aside[role="complementary"],
body.dhg-clean-layout .blog-sidebar-area,
body.dhg-clean-layout .sidebar-inner,
body.dhg-clean-layout .sidebar-content,
body.dhg-clean-layout .blog-sidebar-wrapper,
body.dhg-clean-layout .widget-area.widget-sidebar {
    display: none !important;
}
/* JS identifies unknown sidebar wrappers; this attribute is set only on them. */
body.dhg-clean-layout [data-dhg-hidden-sidebar] {display:none !important;}

/* Existing footer hidden by v1.0: keep those working selectors unchanged */
body.dhg-clean-layout #colophon,
body.dhg-clean-layout #footer,
body.dhg-clean-layout .site-footer,
body.dhg-clean-layout .footer-area,
body.dhg-clean-layout .footer-section,
body.dhg-clean-layout .footer-main,
body.dhg-clean-layout .footer-wrap,
body.dhg-clean-layout .footer-wrapper,
body.dhg-clean-layout .footer-top,
body.dhg-clean-layout .footer-middle,
body.dhg-clean-layout .footer-bottom,
body.dhg-clean-layout .footer-cta,
body.dhg-clean-layout .footer-copyright,
body.dhg-clean-layout .copyright-section,
body.dhg-clean-layout .copyright-area,
body.dhg-clean-layout .footer-contact,
body.dhg-clean-layout .footer-above,
body.dhg-clean-layout .footer-info,
body.dhg-clean-layout .footer-widgets,
body.dhg-clean-layout .footer-widget-area,
body.dhg-clean-layout .footer-inner,
body.dhg-clean-layout footer.footer,
body.dhg-clean-layout footer[role="contentinfo"] {display:none!important;}

/* Main column must not keep the 70/30 split after sidebar removal. */
body.dhg-clean-layout .site-content .content-area,
body.dhg-clean-layout .site-content .site-main,
body.dhg-clean-layout .site-content .main-content,
body.dhg-clean-layout .site-content .primary-content,
body.dhg-clean-layout .site-content #primary,
body.dhg-clean-layout #content .content-area,
body.dhg-clean-layout #content #primary,
body.dhg-clean-layout [data-dhg-expanded-main] {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex:1 1 100%!important;
    float:none!important;
    margin-left:0!important;
    margin-right:0!important;
}
@media(max-width:767px){body.dhg-clean-layout .site-content,body.dhg-clean-layout .site-main{min-width:0}}
