/* SEC WP bridge - ASCII only. Runs WITHOUT theme/Elementor stylesheets on
   ported pages (see sec-port.php allowlist). Minimal Elementor-V3 structural
   rules + WP-side resets. Original backup files untouched. */

/* Original Next.js font-variable classes lived on <body>; re-root them here */
:root{--font-sec-arabic:"Cairo","Cairo Fallback";--font-sec-latin:"Inter","Inter Fallback";--font-sec-display:"Space Grotesk","Space Grotesk Fallback"}

/* V3 structural (subset of elementor-frontend.css) */
.elementor-section{position:relative}
.elementor-section .elementor-container{display:flex;margin-inline:auto;position:relative;flex-wrap:wrap}
.elementor-column{display:flex;min-height:1px;position:relative}
.elementor-widget-wrap{align-content:flex-start;flex-wrap:wrap;position:relative;width:100%}
.elementor:not(.elementor-bc-flex-widget) .elementor-widget-wrap{display:flex}
.elementor-widget-wrap > .elementor-element{width:100%}
.elementor-widget{position:relative}

/* Neutralize wrappers around verbatim ported sections */
.sec-port-sec{padding:0;margin:0;max-width:none}
.sec-port-sec > .elementor-container{max-width:none;margin:0;padding:0}
.sec-port-sec .elementor-column{width:100%}
.sec-port-sec .elementor-element-populated,.sec-port-sec .elementor-column-wrap{padding:0;margin:0}
.sec-port-sec .elementor-widget-html{margin:0}
.sec-port-sec .elementor-widget-container{padding:0;margin:0}

/* Shop/cart hidden until the WooCommerce phase (important: beats inline
   JS-injected state CSS and inline style attributes) */
.sec-nav-store,#sec-cart-nav{display:none !important}

/* Coverage panel: official logo instead of bolt icon */
.sm-logo-img{height:26px;width:auto;object-fit:contain;display:block;flex:none}
@media (max-width:480px){.sm-logo-img{height:22px}}
/* SCADA panel: same official white logo as coverage */
.m2-logo-img{height:26px;width:auto;object-fit:contain;display:block;flex:none}
@media (max-width:480px){.m2-logo-img{height:22px}}

/* Logged-in admin bar offset for the fixed header */
body.admin-bar .sec-port-hdr{top:32px}
@media (max-width:782px){body.admin-bar .sec-port-hdr{top:46px}}
