/* SSI Stadium Site v2.8.0 – Facility Insights wrapper only.
   This deliberately never modifies the Leaflet map, its markers, review forms or filters. */
body.ssi-insights-integration{--ssi-accent:#00A3FF;background:#031627!important;color:#edf7ff}
body.ssi-insights-integration .ssi-stadium-insights-header{position:relative;z-index:150;background:#031627;width:100%;color:#fff;font-family:Inter,Arial,sans-serif;box-sizing:border-box}
body.ssi-insights-integration .ssi-stadium-insights-header *{box-sizing:border-box}
body.ssi-insights-integration .ssi-stadium-insights-header .topbar{background:#031627;border-bottom:1px solid #00A3FF;width:100%}
body.ssi-insights-integration .ssi-stadium-insights-header .wrap{width:min(1160px,calc(100% - 36px));margin:0 auto;max-width:1160px}
body.ssi-insights-integration .ssi-stadium-insights-header .ssi-utility{display:flex;gap:0;flex-wrap:wrap;align-items:center;border-bottom:1px solid #244663}
body.ssi-insights-integration .ssi-stadium-insights-header a{color:white;text-decoration:none}
body.ssi-insights-integration .ssi-stadium-insights-header .ssi-utility a{padding:8px 14px;border-right:1px solid #294b68;text-transform:uppercase;font:700 12px 'Barlow Condensed',Arial,sans-serif;letter-spacing:.2px}
body.ssi-insights-integration .ssi-stadium-insights-header .nav{display:flex;align-items:center;gap:22px;min-height:76px}
body.ssi-insights-integration .ssi-stadium-insights-header .brand{display:flex;flex:0 0 auto;align-items:center}
body.ssi-insights-integration .ssi-stadium-insights-header .ssi-brand-logo{display:block;width:155px;max-height:70px;object-fit:contain;border:0;background:transparent}
body.ssi-insights-integration .ssi-stadium-insights-header .navlinks{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex:1}
body.ssi-insights-integration .ssi-stadium-insights-header .navlinks>a,body.ssi-insights-integration .ssi-stadium-insights-header .ssi-nav-item>a{font:bold 12px Inter,Arial,sans-serif;white-space:nowrap;color:#fff;padding:10px 2px}
body.ssi-insights-integration .ssi-stadium-insights-header .ssi-nav-item{position:relative;display:flex;align-items:center;gap:3px}
body.ssi-insights-integration .ssi-stadium-insights-header .ssi-subtoggle{border:0;background:transparent;color:#00A3FF;cursor:pointer;padding:8px 3px}
body.ssi-insights-integration .ssi-stadium-insights-header .ssi-submenu{display:none;position:absolute;top:100%;left:0;z-index:300;min-width:205px;background:#061d34;border:1px solid #266a9d;padding:7px;box-shadow:0 12px 32px #0007}
body.ssi-insights-integration .ssi-stadium-insights-header .ssi-submenu a{display:block;padding:10px;font:600 12px Inter,Arial,sans-serif}
body.ssi-insights-integration .ssi-stadium-insights-header .ssi-nav-item:hover .ssi-submenu,body.ssi-insights-integration .ssi-stadium-insights-header .ssi-nav-item:focus-within .ssi-submenu,body.ssi-insights-integration .ssi-stadium-insights-header .ssi-nav-item.is-open .ssi-submenu{display:block}
body.ssi-insights-integration .ssi-stadium-insights-header :is(a:hover,a:focus-visible){color:#00A3FF}
body.ssi-insights-integration .ssi-stadium-insights-header .portal{border:1px solid #00A3FF;border-radius:7px;padding:11px 13px;color:#00A3FF;font:bold 12px Inter,Arial,sans-serif;white-space:nowrap}
body.ssi-insights-integration .ssi-stadium-insights-header .hamburger{display:none;background:transparent;border:1px solid #00A3FF;border-radius:5px;color:white;padding:8px}
/* JS adds this class only to individually identified old theme chrome elements. */
body.ssi-insights-integration .ssi-legacy-chrome-hidden{display:none!important}
body.ssi-insights-integration .ssi-legacy-frame{background:#031627!important;box-shadow:none!important;border:0!important;width:100%!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
body.ssi-insights-integration .ssi-legacy-surface{background:#031627!important;background-image:none!important}
body.ssi-insights-integration :is(.site-content,#content,.content-area,#primary){background:#031627!important}
body.ssi-insights-integration :is(.ssvc-fi,.ssvc-facility-insights,.ssi-facility-insights){max-width:1240px;margin-left:auto;margin-right:auto}
@media(max-width:1050px){body.ssi-insights-integration .ssi-stadium-insights-header .nav{flex-wrap:wrap;padding-bottom:12px}body.ssi-insights-integration .ssi-stadium-insights-header .navlinks{order:3;flex-basis:100%;justify-content:center;flex-wrap:wrap}}
@media(max-width:720px){body.ssi-insights-integration .ssi-stadium-insights-header .nav{gap:10px}body.ssi-insights-integration .ssi-stadium-insights-header .hamburger{display:block;margin-left:auto}body.ssi-insights-integration .ssi-stadium-insights-header .navlinks{display:none;flex-direction:column;align-items:stretch;order:4}body.ssi-insights-integration .ssi-stadium-insights-header .navlinks.is-open{display:flex}body.ssi-insights-integration .ssi-stadium-insights-header .ssi-nav-item{justify-content:space-between;flex-wrap:wrap}body.ssi-insights-integration .ssi-stadium-insights-header .ssi-submenu{position:static;width:100%;box-shadow:none}body.ssi-insights-integration .ssi-stadium-insights-header .portal{font-size:11px}body.ssi-insights-integration .ssi-stadium-insights-header .ssi-utility a{padding:6px 8px;font-size:10px}}

/* v2.9: remove residual spacing/borders left after hiding the old utility navigation.
   Scope to the Insights route; never change map, search, or review controls. */
body.ssi-insights-integration .ssi-legacy-chrome-hidden{display:none!important;height:0!important;margin:0!important;padding:0!important;border:0!important}
body.ssi-insights-integration .ssi-stadium-insights-header + #page,
body.ssi-insights-integration .ssi-stadium-insights-header + .site{margin-top:0!important;padding-top:0!important}

/* v3.0: remove only verified empty spacer elements in the old Insights wrapper. */
body.ssi-insights-integration .ssi-empty-theme-spacer{display:none!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;background:none!important}
body.ssi-insights-integration .ssi-insights-wrapper-ready{background-color:#031627}
/* Neutralize the empty strip's common legacy border without styling live form elements. */
body.ssi-insights-integration :is(#page,.site,#content,.site-content,.content-area,#primary).ssi-legacy-frame{border:0!important;outline:0!important;box-shadow:none!important}

/* v3.2.0: align the five SSI utility links at the upper right. */
body.ssi-insights-integration .ssi-stadium-insights-header .ssi-utility{justify-content:flex-end!important;}
@media(max-width:700px){body.ssi-insights-integration .ssi-stadium-insights-header .ssi-utility{justify-content:flex-start!important;flex-wrap:nowrap!important;overflow-x:auto;white-space:nowrap;scrollbar-width:thin;}}


/* v4.4.0 — ElegantWP theme-frame fix, Facility Insights URL ONLY.
   The authenticated screenshot identifies these as theme-owned wrappers.
   Neither the Insights markup nor Leaflet map/review/form descendants are modified. */
body.ssi-insights-integration #elegantwp-header,
body.ssi-insights-integration .elegantwp-secondary-menu-container,
body.ssi-insights-integration .elegantwp-primary-menu-container,
body.ssi-insights-integration .elegantwp-header-image {
  display:none!important;
}
body.ssi-insights-integration .elegantwp-outer-wrapper-full,
body.ssi-insights-integration .elegantwp-outer-wrapper,
body.ssi-insights-integration #elegantwp-wrapper,
body.ssi-insights-integration .elegantwp-top-wrapper-outer,
body.ssi-insights-integration #elegantwp-content-wrapper {
  background:#031627!important; background-image:none!important;
  border:0!important; outline:0!important; box-shadow:none!important;
  margin-top:0!important; margin-bottom:0!important;
  max-width:none!important; width:100%!important;
}
/* Remove gray band created by theme wrapper padding or its decorative pseudo-elements. */
body.ssi-insights-integration .elegantwp-top-wrapper-outer,
body.ssi-insights-integration #elegantwp-content-wrapper {
  padding-top:0!important; border-top:0!important;
}
body.ssi-insights-integration .elegantwp-top-wrapper-outer::before,
body.ssi-insights-integration .elegantwp-top-wrapper-outer::after,
body.ssi-insights-integration #elegantwp-wrapper::before,
body.ssi-insights-integration #elegantwp-wrapper::after {
  background:none!important; border:0!important; box-shadow:none!important;
}
/* Do not change the Insights app width, controls or layout. */
