/* 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-ssvc-portal-integration{--ssi-accent:#00A3FF;background:#031627!important;color:#edf7ff}
body.ssi-ssvc-portal-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-ssvc-portal-integration .ssi-stadium-insights-header *{box-sizing:border-box}
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .topbar{background:#031627;border-bottom:1px solid #00A3FF;width:100%}
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .wrap{width:min(1160px,calc(100% - 36px));margin:0 auto;max-width:1160px}
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .ssi-utility{display:flex;gap:0;flex-wrap:wrap;align-items:center;border-bottom:1px solid #244663}
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header a{color:white;text-decoration:none}
body.ssi-ssvc-portal-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-ssvc-portal-integration .ssi-stadium-insights-header .nav{display:flex;align-items:center;gap:22px;min-height:76px}
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .brand{display:flex;flex:0 0 auto;align-items:center}
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .ssi-brand-logo{display:block;width:155px;max-height:70px;object-fit:contain;border:0;background:transparent}
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .navlinks{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex:1}
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .navlinks>a,body.ssi-ssvc-portal-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-ssvc-portal-integration .ssi-stadium-insights-header .ssi-nav-item{position:relative;display:flex;align-items:center;gap:3px}
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .ssi-subtoggle{border:0;background:transparent;color:#00A3FF;cursor:pointer;padding:8px 3px}
body.ssi-ssvc-portal-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-ssvc-portal-integration .ssi-stadium-insights-header .ssi-submenu a{display:block;padding:10px;font:600 12px Inter,Arial,sans-serif}
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .ssi-nav-item:hover .ssi-submenu,body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .ssi-nav-item:focus-within .ssi-submenu,body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .ssi-nav-item.is-open .ssi-submenu{display:block}
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header :is(a:hover,a:focus-visible){color:#00A3FF}
body.ssi-ssvc-portal-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-ssvc-portal-integration .ssi-stadium-insights-header .hamburger{display:none;background:transparent;border:1px solid #00A3FF;border-radius:5px;color:white;padding:8px}

/* Only old theme elements explicitly flagged by the portal chrome script are hidden. */
body.ssi-ssvc-portal-integration .ssi-portal-legacy-hidden{display:none!important}
body.ssi-ssvc-portal-integration{background:#031627}
/* Keep SSVC cards, portal headings, controls, modals and their teal palette untouched. */
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header{isolation:isolate}
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .ssi-submenu{z-index:10000}
@media(max-width:1050px){body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .nav{flex-wrap:wrap;padding-bottom:12px}body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .navlinks{order:3;flex-basis:100%;justify-content:center;flex-wrap:wrap}}
@media(max-width:720px){body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .nav{gap:10px}body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .hamburger{display:block;margin-left:auto}body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .navlinks{display:none;flex-direction:column;align-items:stretch;order:4}body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .navlinks.is-open{display:flex}body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .ssi-nav-item{justify-content:space-between;flex-wrap:wrap}body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .ssi-submenu{position:static;width:100%;box-shadow:none}body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .portal{font-size:11px}body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .ssi-utility a{padding:6px 8px;font-size:10px}}


/* v3.2.0: align the five SSI utility links at the upper right. */
body.ssi-ssvc-portal-integration .ssi-stadium-insights-header .ssi-utility{justify-content:flex-end!important;}
@media(max-width:700px){body.ssi-ssvc-portal-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;}}

/* v3.3.0 — OUTER WordPress frame cleanup on SSVC portal routes only.
   Classes are applied by the scoped script to validated theme elements. */
body.ssi-ssvc-portal-integration .ssi-portal-empty-theme-spacer{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}
body.ssi-ssvc-portal-integration .ssi-portal-outer-frame{background:transparent!important;background-image:none!important;border:0!important;outline:0!important;box-shadow:none!important;max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
body.ssi-ssvc-portal-integration .ssi-portal-outer-frame:before,body.ssi-ssvc-portal-integration .ssi-portal-outer-frame:after{border-color:transparent!important;box-shadow:none!important}
body.ssi-ssvc-portal-integration #page.ssi-portal-outer-frame,body.ssi-ssvc-portal-integration #content.ssi-portal-outer-frame,body.ssi-ssvc-portal-integration .site-content.ssi-portal-outer-frame,body.ssi-ssvc-portal-integration #primary.ssi-portal-outer-frame,body.ssi-ssvc-portal-integration .content-area.ssi-portal-outer-frame{padding-top:0!important;padding-left:0!important;padding-right:0!important}
body.ssi-ssvc-portal-integration .ssi-portal-chrome-ready .ssi-portal-empty-theme-spacer{display:none!important}

/* v3.4.0 — verified ElegantWP structure from Chrome Inspector, SSVC portal only.
   Scope to theme chrome and its outer shell; do not affect descendant SSVC controls. */
body.ssi-ssvc-portal-integration #elegantwp-header,
body.ssi-ssvc-portal-integration .elegantwp-secondary-menu-container,
body.ssi-ssvc-portal-integration .elegantwp-primary-menu-container,
body.ssi-ssvc-portal-integration .elegantwp-header-image {display:none!important;}
/* These are outside the portal application and are the old theme's framing wrappers. */
body.ssi-ssvc-portal-integration .elegantwp-outer-wrapper-full,
body.ssi-ssvc-portal-integration .elegantwp-outer-wrapper,
body.ssi-ssvc-portal-integration #elegantwp-wrapper,
body.ssi-ssvc-portal-integration .elegantwp-top-wrapper-outer,
body.ssi-ssvc-portal-integration #elegantwp-content-wrapper {
 background:transparent!important;background-image:none!important;
 box-shadow:none!important;outline:0!important;border:0!important;
 max-width:none!important;width:100%!important;
 margin-left:0!important;margin-right:0!important;
}
body.ssi-ssvc-portal-integration .elegantwp-top-wrapper-outer,
body.ssi-ssvc-portal-integration #elegantwp-content-wrapper {margin-top:0!important;padding-top:0!important;}
body.ssi-ssvc-portal-integration .elegantwp-top-wrapper-outer:before,
body.ssi-ssvc-portal-integration .elegantwp-top-wrapper-outer:after,
body.ssi-ssvc-portal-integration #elegantwp-wrapper:before,
body.ssi-ssvc-portal-integration #elegantwp-wrapper:after {
 background:transparent!important;box-shadow:none!important;border:0!important;
}
/* Do not collapse or relocate the SSVC dashboard: width remains governed by its own CSS. */
