/* v1.0.34 — Header-only skin for /directory/.
   Preserve directory markup, original PHP template, filters, search/map styles,
   script handles and provider data. Avoid global body resets. */
body.su-v2-directory-bridge{
  --suv2-max:1440px;
  --suv2-line:#d7e3eb;
  background-color:#f7fafc!important;
  background-image:linear-gradient(90deg,#e5eef4 0%,#f2f7fa 12%,#fbfdfe 24%,#fff 32%,#fff 68%,#fbfdfe 76%,#f2f7fa 88%,#e5eef4 100%)!important;
  background-attachment:fixed!important;
}
body.su-v2-directory-bridge .su-v2-directory-header-mount,
body.su-v2-directory-bridge .su-v2-directory-header-mount *{box-sizing:border-box;}
body.su-v2-directory-bridge .su-v2-directory-header-mount{position:relative;z-index:10000;width:100%;font-family:Roboto,"Helvetica Neue",Arial,sans-serif;}
body.su-v2-directory-bridge .su-v2-directory-header-mount .suv2-header{display:block!important;position:relative;z-index:10000;}
body.su-v2-directory-bridge .su-v2-directory-header-mount a{text-decoration:none!important;}
body.su-v2-directory-bridge .su-v2-directory-header-mount img{max-width:100%;height:auto;}
body.su-v2-directory-bridge .su-v2-directory-header-mount .suv2-desktop-nav a,
body.su-v2-directory-bridge .su-v2-directory-header-mount .suv2-radar-menu-panel a,
body.su-v2-directory-bridge .su-v2-directory-header-mount .suv2-mobile-panel a,
body.su-v2-directory-bridge .su-v2-directory-header-mount .suv2-info-menu-panel a{box-shadow:none;}
/* Hide the old site's navigation/header shell only, not directory content. */
body.su-v2-directory-bridge > .suih-header,
body.su-v2-directory-bridge .suih-header,
body.su-v2-directory-bridge .suih-gap,
body.su-v2-directory-bridge .suih-feedback-modal,
body.su-v2-directory-bridge #suih-mobile,
body.su-v2-directory-bridge .suih-mobile,
body.su-v2-directory-bridge header#masthead,
body.su-v2-directory-bridge header.site-header,
body.su-v2-directory-bridge header#site-header{display:none!important;}
/* Keep interactive directory sections visible and unrestricted. */
body.su-v2-directory-bridge .su-v2-directory-header-mount .suv2-radar-menu-panel,
body.su-v2-directory-bridge .su-v2-directory-header-mount .suv2-info-menu-panel,
body.su-v2-directory-bridge .su-v2-directory-header-mount .suv2-mobile-panel{z-index:10020;}
/* Avoid any overflow clipping inherited from old header layout. */
body.su-v2-directory-bridge .su-v2-directory-header-mount,
body.su-v2-directory-bridge .su-v2-directory-header-mount .suv2-header-wrap,
body.su-v2-directory-bridge .su-v2-directory-header-mount .suv2-nav-rail{overflow:visible;}
@media(max-width:680px){
  body.su-v2-directory-bridge .su-v2-directory-header-mount{z-index:10000;}
}

/* v1.0.36: Move the existing, live directory DOM into a dedicated full-width
   mount. No theme column widths are changed. The source shortcode and its
   provider data/map scripts are untouched. Rules below activate only when
   the mount succeeds, so a script problem leaves the original directory. */
body.su-v2-directory-bridge #su-v2-directory-content{
  display:block;
  position:relative;
  z-index:1;
  width:calc(100% - 36px);
  max-width:1370px;
  margin:16px auto 54px;
  padding:0;
  box-sizing:border-box;
  background:transparent;
  float:none;
  clear:both;
}
body.su-v2-directory-bridge #su-v2-directory-content > .sud-directory{
  display:block;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  box-sizing:border-box!important;
}
/* Hide only the old WordPress layout wrapper after its live shortcode node
   has been moved; this takes the old sidebar away with that wrapper. */
body.su-v2-directory-portaled .su-v2-dir-hidden-origin{display:none!important;}
/* Fallback for sidebars outside that wrapper; never target directory panels. */
body.su-v2-directory-portaled #secondary,
body.su-v2-directory-portaled #right-sidebar,
body.su-v2-directory-portaled .members-sidebar,
body.su-v2-directory-portaled #sidebar-1{display:none!important;}
@media(max-width:680px){
  body.su-v2-directory-bridge #su-v2-directory-content{
    width:calc(100% - 20px);
    margin:12px auto 32px;
  }
}

/* v1.0.37: Remove the legacy theme sidebar *after* the directory is portaled.
   The original directory, provider map, search and header are untouched. */
body.su-v2-directory-portaled .su-v2-dir-legacy-sidebar,
body.su-v2-directory-portaled .site-content > .sidebar,
body.su-v2-directory-portaled .site-content > aside,
body.su-v2-directory-portaled #content > .sidebar,
body.su-v2-directory-portaled #content > aside,
body.su-v2-directory-portaled #sidebar,
body.su-v2-directory-portaled #sidebar-right,
body.su-v2-directory-portaled #rightsidebar,
body.su-v2-directory-portaled .sidebar,
body.su-v2-directory-portaled .sidebar-wrapper,
body.su-v2-directory-portaled .sidebar-wrap,
body.su-v2-directory-portaled .sidebar-container,
body.su-v2-directory-portaled .right-sidebar,
body.su-v2-directory-portaled .sidebar-right,
body.su-v2-directory-portaled .widget-area,
body.su-v2-directory-portaled aside[role="complementary"]{
  display:none!important;
}
