/*
 * BastionGuard BS5 Gutenberg — Blue design layer (1.11.0)
 * Design di BastionGuard Blue 0.2.0 (site.css) + Mega Menus 0.2.0 (menu.css) adattato al tema BS5.
 * Selettori prefissati con "body" per avere precedenza su Bootstrap, theme.css, unified e sugli stili inline dei layout di WordPress.
 */
/*
 * BastionGuard BS5 Gutenberg — Blue design layer (1.11.0)
 * Design di BastionGuard Blue 0.2.0 (site.css) + Mega Menus 0.2.0 (menu.css),
 * adattato per convivere con Bootstrap 5 e con i CSS forum/community del tema.
 * Caricato per ultimo (priorità 1000).
 */
:root{--bg-blue:#086beb;--bg-bright:#168cff;--bg-navy:#0a63e3;--bg-night:#0a63e3;--bg-ink:#121f32;--bg-muted:#66768a;--bg-line:#e5edf7;--bg-cloud:#f5f8fc}
/* Altezza reale dello header Blue (usata dagli offset sticky del tema: forum, sidebar). */
:root{--bsg-header-height:69px}
@media(max-width:781px){:root{--bsg-header-height:66px}}
html{scroll-behavior:smooth;scroll-padding-top:88px}
html,body{overflow-x:clip!important}
body .bg-site-header,body .bg-site-header *,body .bg-site-header *:before,body .bg-site-header *:after,body .bg-footer-shell,body .bg-footer-shell *,body .bg-blue-scope,body .bg-blue-scope *,body .bg-blue-scope *:before,body .bg-blue-scope *:after{box-sizing:border-box}
/* Il vecchio header era fixed: ora lo header Blue è sticky, nessun offset. */
body .bsg-main,body .bsg-main.pt-5{padding-top:0!important}
body .bg-blue-scope{background:#fff;color:var(--bg-ink);line-height:1.55;overflow:clip}
body .bg-site-header,body .bg-footer-shell,body .bg-blue-scope{font-family:"Cantarell",sans-serif!important;font-size:clamp(.875rem,.875rem + ((1vw - .2rem) * .217),1rem);line-height:1.55;-webkit-font-smoothing:antialiased}
body :where(.bg-blue-scope,.bg-footer-shell,.bg-site-header) :is(p,a,li,span,small,button){line-height:1.55}
/* Come theme.json di Blue: titoli/link a specificità zero, le classi .bg-* hanno sempre la precedenza. */
body :where(.bg-blue-scope,.bg-footer-shell,.bg-site-header) :is(h1,h2,h3,h4,h5,h6){color:#111e31;font-weight:800;line-height:1.12;letter-spacing:normal;font-family:"Cantarell",sans-serif;margin-top:0}
body :where(.bg-blue-scope) a{color:#086beb}
body :where(.bg-blue-scope) .wp-block-group{padding-top:0;padding-bottom:0}
body :where(.bg-blue-scope) p{margin-bottom:1rem}

/*
 * BastionGuard Blue / editable Gutenberg homepage
 * Components use explicit bg- prefixes to avoid future bbPress/plugin collisions.
 */
:root{--bg-blue:#086beb;--bg-bright:#168cff;--bg-navy:#071c34;--bg-night:#061526;--bg-ink:#121f32;--bg-muted:#66768a;--bg-line:#e5edf7;--bg-cloud:#f5f8fc}
body .bg-section{padding-top:68px;padding-bottom:68px}
body .bg-section>.wp-block-columns,body .bg-section>.wp-block-group{margin-block-start:24px}
body .bg-section-title{font-weight:800!important;letter-spacing:-.055em;font-size:clamp(31px,3.2vw,47px)!important;line-height:1.1!important;margin:7px 0 4px!important;text-align:center}
body .bg-section-lead{text-align:center;color:#59697e;font-size:15px;line-height:1.45;margin:0 auto 27px!important;max-width:690px}
body .bg-eyebrow{font-size:10px;font-weight:850;letter-spacing:.2em;color:#106df0;text-align:center;margin:0!important}
body .bg-smallprint{font-size:12px;color:#667993;line-height:1.6;text-align:center;margin-top:18px!important}
/* Site header and logo */
body .bg-site-header{position:sticky;z-index:1500;top:0;background:#fff;border-bottom:1px solid #e4eaf3;box-shadow:0 1px 10px rgba(10,25,46,.04);padding:0 22px;max-width:none!important;margin:0!important}
body .admin-bar .bg-site-header{top:32px}
body .bg-site-header>.bg-header-inner{max-width:1240px;margin:0 auto!important}
body .bg-header-inner{width:100%;display:flex!important;align-items:center;justify-content:space-between;gap:22px;min-height:69px}
body .bg-brand{display:flex;align-items:center;gap:10px;min-width:185px;white-space:nowrap}
/* No artificial emblem: the brand block reads the real WordPress Site Logo. */
body .bg-brand .wp-block-site-title{font-weight:850!important;font-size:21px!important;letter-spacing:-.025em;line-height:1.15;margin:0!important;color:#061c35}
body .bg-brand .wp-block-site-title a{color:#061c35!important;text-decoration:none!important}
body .bg-brand .wp-block-site-title a:hover{color:#086beb!important}
body .bg-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:13px;min-width:270px;flex:0 0 auto}
body .bg-header-actions .wp-block-loginout{margin:0!important;font-size:12px;white-space:nowrap}
body .bg-header-actions .wp-block-loginout a{color:#182842;text-decoration:none}
body .bg-header-actions .wp-block-loginout a:hover{color:#086beb}
body .bg-header-ctas{display:flex;flex-wrap:nowrap!important;gap:7px!important;margin:0!important}
body .bg-header-ctas .wp-block-button .wp-block-button__link{white-space:nowrap;font-size:12px;padding:10px 14px!important;line-height:1.2}
body .bg-button-outline .wp-block-button__link{color:#0069ee!important;background:white!important;box-shadow:inset 0 0 0 1.3px #0a75f5!important}
body .bg-button-outline .wp-block-button__link:hover{background:#edf6ff!important}
body .bg-button-primary .wp-block-button__link,body .bg-hero-button .wp-block-button__link{background:linear-gradient(100deg,#0866e7,#1594ff)!important;color:#fff!important;border:0!important;box-shadow:0 4px 10px rgba(0,90,210,.22)}
body .bg-button-primary .wp-block-button__link:hover,body .bg-hero-button .wp-block-button__link:hover{filter:brightness(1.09)}
/* Product hero - two matching, editable Gutenberg product cards */
body .bg-hero{padding:0!important;margin:0!important;max-width:none!important;background:#081b30;isolation:isolate}
body .bg-hero>.bg-hero-columns{margin:0!important;gap:0!important;width:100%;max-width:none!important}
body .bg-hero-columns>.wp-block-column{min-width:0;margin:0!important}
body .bg-product-card{position:relative;min-height:446px;overflow:hidden;padding:47px max(24px,4.2vw) 43px!important;isolation:isolate;background:radial-gradient(circle at 0% 92%,rgba(18,126,245,.30),transparent 40%),linear-gradient(113deg,#0a243e,#071724 85%);color:#fff}
body .bg-product-card:before{content:"";position:absolute;z-index:-1;right:-6%;top:0;bottom:0;width:65%;opacity:.67;background:linear-gradient(125deg,transparent 45%,rgba(36,106,167,.20)),radial-gradient(circle at 70% 45%,#1761a7 0,transparent 50%);clip-path:polygon(0 58%,17% 35%,24% 51%,35% 13%,54% 39%,66% 21%,82% 48%,100% 8%,100% 100%,0 100%)}
body .bg-product-card:after{content:"";position:absolute;right:8%;bottom:44px;height:263px;width:178px;border-radius:9px;transform:perspective(650px) rotateY(-14deg) rotateZ(1deg);background:linear-gradient(132deg,rgba(255,255,255,.15),rgba(255,255,255,0) 26%),linear-gradient(159deg,#123e72 0%,#05162b 65%,#052b5d 100%);border:1px solid rgba(144,196,255,.34);box-shadow:13px 20px 24px rgba(0,0,0,.45),inset 0 0 25px rgba(25,134,255,.25)}
body .bg-linux-card{background:radial-gradient(circle at 0 5%,rgba(22,139,231,.38),transparent 43%),linear-gradient(110deg,#0c2947 0%,#061629 85%)}
body .bg-android-card{background:radial-gradient(circle at 95% 0,rgba(26,126,232,.39),transparent 45%),linear-gradient(110deg,#04172c,#0a3156)}
body .bg-android-card:after{right:7%;height:265px;width:137px;transform:perspective(650px) rotateY(-18deg) rotateZ(4deg);border:5px solid #06162a;border-radius:24px;box-shadow:12px 20px 28px rgba(0,0,0,.40),inset 0 0 0 2px #4b789b;background:linear-gradient(148deg,#0a1b33 6%,#06478a 40%,#06182e 88%)}
body .bg-product-kicker{color:white;background:#096be8;display:table;padding:4px 8px;border-radius:4px;letter-spacing:.1em;font-size:10px;font-weight:800;line-height:1.2;margin:0 0 9px!important}
body .bg-product-title{color:#fff!important;letter-spacing:-.06em;line-height:1.03!important;font-size:clamp(30px,3vw,43px)!important;margin:0 0 8px!important;max-width:360px;position:relative;z-index:2}
body .bg-product-description{color:#f0f7ff;line-height:1.4;font-size:16px;font-weight:600;max-width:305px;margin:0 0 13px!important;position:relative;z-index:2}
body .bg-product-bullets{font-size:13px;line-height:2.05;color:#f4faff;margin:0 0 22px!important;max-width:345px;position:relative;z-index:2}
body .bg-product-buttons{margin:0!important;position:relative;z-index:2}
body .bg-product-buttons .wp-block-button__link{font-size:13px;line-height:1.2;min-width:200px;box-shadow:0 8px 18px rgba(0,24,55,.25)}
body .bg-product-learn{font-size:12px;font-weight:700;margin:9px 0 0!important;position:relative;z-index:2}
body .bg-product-learn a{color:#fff!important;text-decoration:underline;text-underline-offset:3px}
/* Features */
body .bg-features{background:#fff}
body .bg-feature-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px!important;margin-top:32px!important}
body .bg-feature-grid>.wp-block-column{width:auto!important;flex-basis:auto!important;min-width:0}
body .bg-feature-card{height:100%;min-height:181px;padding:20px 12px 17px!important;background:linear-gradient(165deg,#fff,#fbfdff);border:1px solid #e6eaf1;box-shadow:0 3px 14px rgba(0,44,92,.035);border-radius:11px;text-align:center}
body .bg-feature-icon{font-size:31px!important;color:#096cf0;font-weight:800;line-height:1.1;margin:0 0 12px!important}
body .bg-feature-title{font-size:14px!important;line-height:1.25!important;font-weight:800!important;letter-spacing:-.015em;margin:0 0 9px!important;color:#142035}
body .bg-feature-desc{font-size:12px;line-height:1.45;color:#526175;margin:0!important}
/* Philosophy */
body .bg-philosophy{background:#f5f7fa}
body .bg-principles-grid{gap:15px!important;margin-top:30px!important}
body .bg-principle-card{min-height:175px;background:#fff;border:1px solid #e8edf3;padding:21px 26px!important;border-radius:12px;box-shadow:0 4px 20px rgba(4,20,48,.035)}
body .bg-quote-mark{font-size:46px;color:#0b72ef;font-weight:900;line-height:1;margin:0!important}
body .bg-principle-card h3{font-size:17px;margin:0 0 7px!important;letter-spacing:-.02em}
body .bg-principle-card p:last-child{font-size:13px;color:#64768a;margin:0!important}
/* Comparison */
body .bg-comparison{background:#fff}
body .bg-comparison-grid{gap:0!important;border-radius:12px;overflow:hidden;border:1px solid #dce7f6;box-shadow:0 6px 25px rgba(10,40,70,.045);margin-top:24px!important}
body .bg-comparison-grid>.wp-block-column{padding:24px 31px!important}
body .bg-comparison-grid>.wp-block-column:first-child{background:#eaf4ff}
body .bg-comparison-grid>.wp-block-column:last-child{background:#f9fbfe}
body .bg-comparison-grid h3{font-size:19px;margin:0 0 17px!important}
body .bg-comparison-grid p{margin:0!important;padding:9px 0;border-bottom:1px solid #dfebfa;font-size:14px;color:#253a50;line-height:1.5}
body .bg-comparison-grid p:last-child{border:0}
body .bg-compare-highlight-title{color:#076cf2!important}
/* Suite */
body .bg-suite{background:#f6f9fd}
body .bg-suite-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px!important}
body .bg-suite-grid>.wp-block-column{min-width:0}
body .bg-suite-card{padding:21px 20px!important;border-radius:12px;border:1px solid #e0eaf6;background:#fff;min-height:180px}
body .bg-suite-card:before{content:"";display:block;width:32px;height:32px;margin-bottom:15px;border-radius:9px;background:linear-gradient(130deg,#0d73f0,#8dc5ff);box-shadow:0 5px 12px rgba(0,97,224,.16)}
body .bg-suite-card h3{font-size:16px;margin:0 0 9px!important}
body .bg-suite-card p{font-size:12px;line-height:1.5;color:#647389;margin:0!important}
/* Open Source */
body .bg-open-source{color:#fff;background:radial-gradient(ellipse at 92% 0%,rgba(7,98,184,.42),transparent 40%),linear-gradient(120deg,#071925 0%,#0b2a49 100%);padding-top:62px;padding-bottom:62px}
body .bg-open-columns{align-items:center;gap:27px!important}
body .bg-open-columns>.wp-block-column:first-child{flex-basis:42%!important;padding-right:20px}
body .bg-open-source .bg-eyebrow{text-align:left;color:#75bafa}
body .bg-open-title{text-align:left!important;color:#fff!important;font-size:clamp(27px,2.7vw,36px)!important;letter-spacing:-.045em;margin:7px 0!important}
body .bg-open-columns>.wp-block-column:first-child>p:not(.bg-eyebrow){font-size:13px;color:#cfdfef;max-width:410px;margin:12px 0 17px!important}
body .bg-open-columns>.wp-block-column:not(:first-child){border-left:1px solid rgba(255,255,255,.16);text-align:center;display:flex;flex-direction:column;gap:23px}
body .bg-stat{margin:0!important}
body .bg-stat h2,body .bg-stat h3{font-size:clamp(20px,2.4vw,32px)!important;color:#1392ff!important;line-height:1.2;letter-spacing:-.03em;margin:0!important}
body .bg-stat p{color:#e0eaf6;font-weight:650;line-height:1.45;font-size:12px;margin:4px 0 0!important}
/* Resources */
body .bg-resources{background:#fff}
body .bg-resource-grid{gap:13px!important}
body .bg-resource-card{padding:26px 24px!important;border:1px solid #e1eaf4;border-radius:12px;min-height:206px;box-shadow:0 5px 14px rgba(0,31,68,.03)}
body .bg-resource-tag{font-size:10px;color:#0b78f5;font-weight:800;letter-spacing:.13em;margin:0 0 16px!important}
body .bg-resource-card h3{font-size:19px;margin:0 0 9px!important}
body .bg-resource-card p{font-size:13px;color:#5f7389;margin:0 0 11px!important}
body .bg-resource-card a{font-size:13px;font-weight:800;text-decoration:none!important;color:#086be9!important}
/* Download CTA */
body .bg-download-cta{text-align:center;background:#eef6ff;border-top:1px solid #e0eefc}
body .bg-cta-title{font-size:clamp(27px,3vw,42px)!important;margin:0 auto 12px!important;max-width:720px}
body .bg-download-cta>p{color:#63768b;font-size:15px;margin:0 auto 22px!important}
body .bg-cta-buttons{justify-content:center;gap:12px!important}
body .bg-cta-buttons .bg-button-outline .wp-block-button__link{background:transparent!important}
/* Footer */
body .bg-footer-shell{background:linear-gradient(115deg,#071926,#101f2e)!important;max-width:none!important;margin:0!important;color:#d8e1ec;padding:38px 24px 20px}
body .bg-footer-shell>.wp-block-columns,body .bg-footer-shell>.wp-block-group{max-width:1240px;margin-left:auto!important;margin-right:auto!important}
body .bg-footer-columns{gap:40px!important;padding-bottom:28px}
body .bg-footer-columns .wp-block-column:first-child{flex-basis:31%!important}
body .bg-footer-columns h3{font-size:22px;color:white!important;margin:0 0 11px!important}
body .bg-footer-columns h4{font-size:12px;font-weight:800;color:#fff!important;margin:3px 0 13px!important}
body .bg-footer-columns p{font-size:12px;color:#bfcedc;line-height:1.65;margin:0 0 7px!important;max-width:285px}
body .bg-footer-columns a{color:#d7e5f5;text-decoration:none}
body .bg-footer-columns a:hover,body .bg-footer-legal a:hover{color:#67b2ff}
body .bg-footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:14px;margin:0 auto!important;display:flex;justify-content:space-between}
body .bg-footer-bottom p{font-size:11px;color:#8fa4b9;margin:0!important}
body .bg-footer-bottom a{color:#b8cde3;text-decoration:none}
body .bg-blog-list{padding-top:70px;padding-bottom:70px}
/* Responsive */
@media(max-width:1160px){body .bg-header-actions{min-width:auto}body .bg-header-inner{gap:12px}body .bg-brand{min-width:157px}body .bg-brand .wp-block-site-title{font-size:19px!important}body .bg-header-ctas .wp-block-button .wp-block-button__link{font-size:11px;padding:10px!important}body .bg-product-card{padding-left:4vw!important}body .bg-product-card:after{right:4%;width:140px;height:238px}body .bg-product-title{font-size:34px!important}}
@media(max-width:1024px){body .bg-header-inner{justify-content:space-between}body .bg-header-actions{margin-left:auto}body .bg-header-actions>.wp-block-loginout{display:none}body .bg-brand{min-width:0}body .bg-product-card:after{opacity:.35}body .bg-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body .bg-suite-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body .bg-open-columns>.wp-block-column:first-child{flex-basis:38%!important}}
@media(max-width:781px){body .bg-section{padding:47px 19px}body .bg-site-header{padding:0 15px}body .admin-bar .bg-site-header{top:46px}body .bg-header-inner{min-height:66px}body .bg-brand .wp-block-site-title{font-size:17px!important}body .bg-header-actions .bg-header-ctas{display:none}body .bg-hero-columns{display:block!important}body .bg-product-card{min-height:360px;padding:32px 28px!important}body .bg-product-card:after{right:9%;height:218px;width:140px;opacity:.7}body .bg-product-title{font-size:clamp(29px,5.5vw,41px)!important}body .bg-product-description{max-width:58%}body .bg-product-bullets{max-width:58%}body .bg-principles-grid,body .bg-resource-grid{display:grid!important;grid-template-columns:1fr;gap:12px!important}body .bg-comparison-grid{display:grid!important;grid-template-columns:1fr}body .bg-open-columns{display:grid!important;grid-template-columns:1fr 1fr;gap:18px!important}body .bg-open-columns>.wp-block-column:first-child{grid-column:1/-1;padding:0}body .bg-footer-columns{display:grid!important;grid-template-columns:repeat(2,1fr);gap:25px!important}body .bg-footer-columns .wp-block-column:first-child{grid-column:1/-1}body .bg-footer-bottom{gap:10px;flex-wrap:wrap}}
@media(max-width:560px){body .bg-section-title{font-size:30px!important}body .bg-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body .bg-suite-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body .bg-feature-card{min-height:190px;padding:16px 10px!important}body .bg-product-card:after{opacity:.25;right:-2%}body .bg-product-description,body .bg-product-bullets{max-width:85%}body .bg-product-card{min-height:360px}body .bg-product-title{font-size:31px!important}body .bg-footer-columns{grid-template-columns:1fr 1fr}body .bg-footer-shell{padding-left:18px;padding-right:18px}body .bg-download-cta .wp-block-buttons{flex-direction:column;align-items:center}body .bg-open-columns>.wp-block-column:not(:first-child){border-left:0}body .bg-suite-card{padding:15px!important;min-height:198px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Self-contained layout fallbacks for previews and plugins that change core block CSS. */
body .bg-blue-scope .wp-block-columns,body .bg-footer-shell .wp-block-columns{display:flex;align-items:stretch;gap:24px;flex-wrap:nowrap}
body .bg-blue-scope .wp-block-columns>.wp-block-column,body .bg-footer-shell .wp-block-columns>.wp-block-column{flex:1 1 0;min-width:0}
body .bg-blue-scope .wp-block-button .wp-block-button__link,body .bg-site-header .wp-block-button .wp-block-button__link{display:inline-block;padding:12px 22px;line-height:1.4;text-decoration:none!important;color:#fff;background:var(--bg-blue);border-radius:9px;font-weight:700}
body .bg-blue-scope .wp-block-buttons,body .bg-site-header .wp-block-buttons{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
body .bg-feature-grid>.wp-block-column,body .bg-suite-grid>.wp-block-column{flex:none}
@media(max-width:781px){body .bg-blue-scope .wp-block-columns:not(.bg-feature-grid):not(.bg-suite-grid):not(.bg-hero-columns):not(.bg-open-columns):not(.bg-footer-columns){flex-direction:column}body .bg-resource-grid>.wp-block-column,body .bg-principles-grid>.wp-block-column{width:100%}}

/* Real WordPress logo and native footer menu styles */
body .bg-actual-brand{display:inline-flex;align-items:center;text-decoration:none!important;max-width:220px;max-height:63px;color:inherit;font-size:22px;font-weight:800;letter-spacing:-.04em}
body .bg-authentic-logo{display:block;max-height:52px;width:auto;max-width:210px;object-fit:contain}
body .bg-brand-title{color:#0b203b}
body .bg-footer-shell .bg-actual-brand{color:#fff;margin:0 0 12px}
body .bg-footer-shell .bg-brand-title{color:#fff}
body .bg-footer-shell .bg-authentic-logo{max-height:58px}
body .bg-native-footer-menu{list-style:none;padding:0!important;margin:0!important;display:flex;flex-direction:column;gap:9px}
body .bg-native-footer-menu li{list-style:none;margin:0}
body .bg-native-footer-menu a{font-size:12px;color:#d4e4f2;text-decoration:none}
body .bg-native-footer-menu a:hover,body .bg-native-footer-menu a:focus-visible{color:#67b2ff}
body .bg-native-footer-menu .sub-menu{list-style:none;padding:5px 0 0 10px;margin:0}
body .bg-footer-bottom .bg-native-footer-menu{flex-direction:row;gap:15px;flex-wrap:wrap}
body .bg-footer-bottom .bg-native-footer-menu a{font-size:11px}
body .bg-footer-bottom .bg-footer-nav{max-width:65%}
body .bg-official-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px!important}
body .bg-official-gallery .wp-block-image{border:1px solid #dbe7f5;border-radius:12px;overflow:hidden;background:#f3f8ff}
body .bg-official-gallery .wp-block-image img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block}
body .bg-official-gallery .wp-block-image figcaption{font-size:12px;color:#486580;padding:8px 12px}
body .bg-product-image{position:absolute!important;right:2%;bottom:20px;width:36%;max-width:215px;z-index:1;opacity:.9;pointer-events:none;filter:drop-shadow(0 17px 22px rgba(0,0,0,.4))}
body .bg-product-image img{display:block;width:100%;height:auto;max-height:275px;object-fit:contain;border-radius:8px}
body .bg-linux-card.bg-has-official-shot:after,body .bg-android-card.bg-has-official-shot:after{display:none}
body .bg-product-card.bg-has-official-shot .bg-product-description,body .bg-product-card.bg-has-official-shot .bg-product-bullets{max-width:61%}
@media(max-width:900px){body .bg-product-image{opacity:.4}body .bg-official-gallery{grid-template-columns:1fr!important}body .bg-product-card.bg-has-official-shot .bg-product-description,body .bg-product-card.bg-has-official-shot .bg-product-bullets{max-width:95%}}
@media(max-width:680px){body .bg-authentic-logo{max-width:125px;max-height:45px}body .bg-actual-brand{max-width:140px}body .bg-footer-bottom .bg-footer-nav{max-width:100%}}
body .bg-actual-brand .bg-brand-title:not(:first-child){margin-left:9px;font-size:20px}

/* BastionGuard — Gutenberg Mega Navigation */
body .bg-mega-nav{font-family:inherit;z-index:20;flex:1;min-width:0}
body .bg-mega-mobile-toggle{display:none}
body .bg-mega-list{list-style:none;display:flex;justify-content:center;align-items:center;gap:clamp(10px,1.65vw,28px);margin:0!important;padding:0!important}
body .bg-mega-item{margin:0!important;padding:0!important;list-style:none}
body .bg-mega-trigger,body .bg-mega-simple{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0!important;box-shadow:none!important;background:transparent!important;text-decoration:none!important;color:#13243b!important;font:600 13px/1.4 inherit;cursor:pointer;white-space:nowrap;padding:20px 1px!important;transition:color .17s ease}
body .bg-mega-trigger:hover,body .bg-mega-trigger[aria-expanded="true"],body .bg-mega-simple:hover{color:#006beb!important}
body .bg-mega-trigger svg{transition:transform .18s ease}body .bg-mega-trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
body .bg-mega-trigger:focus-visible,body .bg-mega-simple:focus-visible,body .bg-menu-link:focus-visible,body .bg-mega-view-all:focus-visible,body .bg-mega-mobile-toggle:focus-visible{outline:3px solid #56aaff!important;outline-offset:3px;border-radius:5px}
body .bg-mega-panel{display:none;position:absolute;z-index:1001;left:50%;top:calc(100% - 1px);transform:translateX(-50%);width:min(1090px,calc(100vw - 40px));color:#15243a;background:#fff;border:1px solid #dbe7f5;border-radius:0 0 18px 18px;box-shadow:0 22px 55px rgba(3,23,53,.21);text-align:left;max-height:min(76vh,740px);overflow-y:auto}
body .bg-mega-item.is-open>.bg-mega-panel{display:block}
body .bg-mega-panel-inner{padding:27px 34px 34px}
body .bg-mega-panel-top{display:flex;justify-content:space-between;align-items:center;gap:30px;border-bottom:1px solid #e6edf6;padding-bottom:19px;margin-bottom:20px}
body .bg-mega-overline{display:block;color:#096cf0;font-size:10px;font-weight:800;letter-spacing:.2em}
body .bg-mega-panel-top h2{font-size:28px;line-height:1.2;letter-spacing:-.04em;margin:5px 0!important;color:#091f3a}
body .bg-mega-panel-top p{color:#63738a;font-size:13px;max-width:660px;margin:5px 0 0!important}
body .bg-mega-view-all{display:inline-flex;align-items:center;gap:10px;color:#076cf2!important;text-decoration:none!important;font-weight:750;font-size:13px;white-space:nowrap}
body .bg-mega-panel-blocks>.wp-block-columns{gap:32px;margin:0!important}
body .bg-mega-panel-blocks .wp-block-heading{font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#5c6e84;margin:0 0 14px!important}
body .bg-menu-link{display:block!important;border-radius:10px;padding:11px 13px!important;margin:3px -13px!important;color:#102139!important;text-decoration:none!important;background:transparent!important;transition:background .16s}
body .bg-menu-link:hover{background:#edf5ff!important}
body .bg-menu-link-main{display:flex;justify-content:space-between;align-items:center;gap:8px}
body .bg-menu-link-label{display:block;font-size:14px;font-weight:750;line-height:1.35}
body .bg-menu-link-arrow{font-size:15px;color:#137af4;opacity:0;transition:opacity .16s}
body .bg-menu-link:hover .bg-menu-link-arrow{opacity:1}
body .bg-menu-link-desc{display:block;font-size:12px;line-height:1.42;margin-top:3px;color:#617289}
body .bg-mega-item.is-featured>.bg-mega-trigger{color:#096cf0!important}
@media (hover:hover) and (min-width:1025px){
 body .bg-mega-nav:not(.bg-use-click) .bg-mega-item:hover>.bg-mega-panel{display:block}
}
@media (max-width:1024px){
 body .bg-mega-nav{flex:0 0 auto;margin-left:auto}
 body .bg-mega-mobile-toggle{display:flex;align-items:center;gap:10px;background:#edf5ff!important;color:#095dbb!important;border:1px solid #d3e5fb!important;border-radius:9px;padding:10px 13px!important;font-size:14px;font-weight:750;cursor:pointer}
 body .bg-hamburger{width:17px;display:flex;flex-direction:column;gap:3px}body .bg-hamburger i{height:2px;width:17px;background:#086fe7;border-radius:2px}
 body .bg-mega-list{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;z-index:998;max-height:calc(100vh - 72px);overflow-y:auto;box-shadow:0 20px 30px rgba(5,31,64,.16);padding:12px 18px 20px!important;border-top:1px solid #e2ebf5;flex-direction:column;align-items:stretch;gap:0}
 body .bg-mega-nav.is-mobile-open .bg-mega-list{display:flex}
 body .bg-mega-trigger,body .bg-mega-simple{width:100%;justify-content:space-between;padding:13px 4px!important;font-size:15px}
 body .bg-mega-panel{position:static;transform:none;left:auto;top:auto;width:100%;max-height:none;overflow:visible;box-shadow:none;border:0;border-top:1px solid #e4ecf6;border-radius:0;background:#f6faff}
 body .bg-mega-panel-inner{padding:18px 16px}
 body .bg-mega-panel-top{flex-wrap:wrap;gap:12px}
 body .bg-mega-panel-top h2{font-size:23px}
 body .bg-mega-panel-blocks>.wp-block-columns{gap:16px;flex-wrap:wrap!important}
 body .bg-mega-panel-blocks>.wp-block-columns>.wp-block-column{min-width:180px;flex-grow:1}
 body .bg-mega-item:not(.is-open)>.bg-mega-panel{display:none}
 body .bg-mega-item:focus-within:not(.is-open)>.bg-mega-panel{display:none}
}
@media (prefers-reduced-motion:reduce){body .bg-mega-nav *, body .bg-mega-nav *:before, body .bg-mega-nav *:after{transition:none!important}}
/* Native WordPress menu items / 2nd- and 3rd-level menu hierarchy */
body .bg-native-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 18px}
body .bg-native-card{background:linear-gradient(135deg,#f6faff,#fff);padding:15px 17px;border-radius:12px;border:1px solid #e1ecfa}
body .bg-native-card-title{display:block;text-decoration:none!important;color:#092544!important;font-size:14px;font-weight:750;line-height:1.35}
body .bg-native-card-title:hover{color:#096cf0!important}
body .bg-native-card-title .bg-menu-link-desc{display:block;color:#5a7088;font-size:12px;font-weight:400;line-height:1.5;margin-top:6px}
body .bg-native-card-subitems{list-style:none;margin:10px 0 0!important;padding:9px 0 0!important;border-top:1px solid #dae7f8}
body .bg-native-card-subitems li{margin:5px 0!important;padding:0!important;list-style:none}
body .bg-native-card-link{text-decoration:none!important;color:#3b5879;font-size:12px}
body .bg-native-card-link:hover{color:#096cf0}
body .bg-native-card-link .bg-menu-link-desc{font-size:11px;color:#7a91a8}
body .bg-mega-item.current-menu-item>.bg-mega-trigger,body .bg-mega-item.current-menu-item>.bg-mega-simple{color:#0b75e9!important}
body .bg-menu-editor-placeholder{border:1px dashed #8dbdea;background:#f3f8fe;color:#264b70;padding:18px;border-radius:8px;min-width:220px}
body .bg-menu-editor-placeholder p{margin:8px 0;font-size:13px}
body .bg-menu-unassigned{padding:10px 14px;border:1px dashed #7ca4d2;background:#f5f9ff;color:#284a76;font-size:13px}
@media(max-width:1024px){body .bg-native-cards{grid-template-columns:1fr 1fr}body .bg-native-card{padding:14px}}
@media(max-width:560px){body .bg-native-cards{grid-template-columns:1fr}body .bg-native-card{padding:13px}}

/* ===== Integrazione con il tema BS5 (header, account, ricerca, footer, pulsanti) ===== */
body .bg-site-header{display:block;width:100%;color:var(--bg-ink)}
body .bg-site-header a{text-decoration:none}
body .bg-site-header .bg-header-actions{gap:13px}
body .bg-site-header .bg-search-toggle,body .bg-site-header .bg-account-toggle{appearance:none;background:transparent!important;border:0!important;box-shadow:none!important;color:#182842!important;font:400 12px/1.2 "Cantarell",sans-serif;padding:6px 0!important;margin:0;cursor:pointer;display:inline-flex;align-items:center;gap:5px;width:auto!important;height:auto!important;min-width:0!important;border-radius:0}
body .bg-site-header .bg-search-toggle{font-size:14px}
body .bg-site-header .bg-search-toggle:hover,body .bg-site-header .bg-account-toggle:hover,body .bg-site-header .bg-account-toggle[aria-expanded="true"]{color:#086beb!important}
body .bg-site-header .bg-account-toggle.dropdown-toggle:after{display:none}
body .bg-site-header .bg-account-icon{display:none;font-size:17px}
body .bg-site-header .bsg-account-menu{position:relative}
body .bg-site-header .dropdown-menu{background:#fff!important;border:1px solid #dbe7f5!important;border-radius:12px!important;box-shadow:0 18px 40px rgba(3,23,53,.18)!important;padding:8px!important;min-width:220px;margin-top:10px!important}
body .bg-site-header .dropdown-item{color:#0a63e3!important;font-size:13px;border-radius:8px;padding:8px 10px;background:transparent!important}
body .bg-site-header .dropdown-item:hover,body .bg-site-header .dropdown-item:focus{background:#edf5ff!important;color:#086beb!important}
body .bg-site-header .dropdown-header,body .bg-site-header .dropdown-header *{color:#617289!important}
body .bg-site-header .dropdown-header strong{color:#0a63e3!important}
body .bg-site-header .dropdown-divider{border-color:#e6edf6!important;opacity:1}
body .bg-site-header .bg-header-ctas .wp-block-button{margin:0}
body .bg-site-header .bg-menu-nolink{display:block;cursor:default}
body .bg-site-header .bg-mega-list li:before,body .bg-footer-shell li:before{content:none}
/* Bootstrap reboot imposta button{font-size:inherit}: ripristino la tipografia effettiva del menu Blue (13.33px/400 sui trigger). */
body .bg-mega-trigger,body .bg-mega-simple{font-family:"Cantarell",sans-serif!important;font-weight:400}
body .bg-mega-trigger,body .bg-mega-trigger span{line-height:normal}
@media(min-width:1025px){body .bg-mega-trigger{font-size:13.3333px}}
body .bg-mega-panel-top h2{font-weight:800}
body .bg-footer-shell{display:block;width:100%}
body .bg-footer-shell .bg-footer-bottom{width:100%;align-items:center;gap:18px;flex-wrap:wrap}
body .bg-footer-shell .bg-footer-columns>.wp-block-column>p:last-child{margin-bottom:0!important}
/* Pulsanti Gutenberg: il tema usa regole molto specifiche (bastionguard-unified.css), le riallineo a Blue. */
body .bg-blue-scope .wp-block-button .wp-block-button__link:not(.has-background),body .bg-site-header .wp-block-button .wp-block-button__link:not(.has-background){font-size:inherit;font-weight:700;line-height:1.4;padding:12px 22px;border:0;border-radius:9px;letter-spacing:normal;transform:none;text-shadow:none;color:#fff}
@media(min-width:1161px){body .bg-site-header .bg-header-ctas .wp-block-button .wp-block-button__link:not(.has-background){font-size:12px;line-height:1.2;padding:10px 14px!important}}
@media(max-width:1160px){body .bg-site-header .bg-header-ctas .wp-block-button .wp-block-button__link:not(.has-background){font-size:11px;line-height:1.2;padding:10px!important}}
body .bg-blue-scope .bg-product-buttons .wp-block-button .wp-block-button__link:not(.has-background){font-size:13px}
body .bg-blue-scope .bg-button-outline .wp-block-button .wp-block-button__link:not(.has-background),body .bg-site-header .bg-button-outline .wp-block-button__link:not(.has-background){color:#0069ee!important;background:#fff!important;box-shadow:inset 0 0 0 1.3px #0a75f5!important}
body .bg-blue-scope .bg-cta-buttons .bg-button-outline .wp-block-button__link:not(.has-background){background:transparent!important}
body .bg-blue-scope .wp-block-button .wp-block-button__link:not(.has-background):hover,body .bg-site-header .wp-block-button .wp-block-button__link:not(.has-background):hover{transform:none}
/* Modale ricerca sopra lo header sticky */
body .modal{z-index:2000}body .modal-backdrop{z-index:1990}
/* Mobile: come Blue, solo logo + Menu; il pulsante account diventa icona */
@media(max-width:1024px){body .bg-site-header .bg-account-label{display:none}body .bg-site-header .bg-account-icon{display:inline-block}}
@media(max-width:781px){body .bg-site-header .bg-header-actions .bg-header-ctas{display:none!important}}

/* Mega menu: ponte invisibile tra voce e pannello, così il puntatore non "esce" attraversando lo spazio vuoto. */
body .bg-mega-panel:before{content:"";position:absolute;left:0;right:0;top:-28px;height:28px;background:transparent}
@media(max-width:1024px){body .bg-mega-panel:before{display:none}}

/* ===== Forum / Community — Blue hero & tabs ===== */
body .bsg-aurora-hero.bsg-aurora-hero.bsg-aurora-hero,body .bsg-aurora-hero--home.bsg-aurora-hero--home.bsg-aurora-hero--home{background:radial-gradient(circle at 82% 12%,rgba(25,200,240,.5),transparent 38%),linear-gradient(113deg,#0866e7,#0f9ee6 85%)!important;color:#fff!important;border-bottom:0!important}
body .bsg-aurora-hero::before,body .bsg-aurora-hero::after{opacity:.35}
body .bsg-aurora-hero h1,body .bsg-aurora-hero--home h1{color:#fff!important}
body .bsg-aurora-hero__subtitle{color:rgba(255,255,255,.78)!important}
body .bsg-aurora-hero .bsg-aurora-eyebrow,body .bsg-aurora-hero [class*="eyebrow"],body .bsg-aurora-hero [class*="kicker"]{color:#c7f4ff!important}
body .bsg-aurora-hero [class*="stat"] strong,body .bsg-aurora-hero [class*="stat"] b,body .bsg-aurora-hero [class*="metric"] strong{color:#fff!important}
body .bsg-aurora-hero [class*="stat"] span,body .bsg-aurora-hero [class*="metric"] span{color:rgba(255,255,255,.7)!important}
body .bsg-aurora-navigation__tabs .bsg-aurora-tab.is-active,body .bsg-aurora-tab.is-active{background:linear-gradient(135deg,#0866e7,#10aee6)!important;color:#fff!important;border-color:transparent!important}
body .bsg-aurora-tab.is-active *,body .bsg-aurora-tab.is-active i{color:#fff!important}
body .bsg-forum-main,body .bsg-main.bsg-forum-main{padding-top:0!important}
body .bsg-aurora-page.bsg-aurora-page.bsg-aurora-page{padding-top:0!important}
body .bsg-aurora-page.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__heading.bsg-aurora-post__heading{background:#f5f8fc!important;color:#121f32!important;border-right:1px solid #e5edf7!important}
body .bsg-aurora-post__heading .bsg-author-name,body .bsg-aurora-post__heading a{color:#121f32!important}

/* contenitore Blue: 1240px */
body .bsg-page-hero .container,body .bsg-main .container,body .site-footer .container{max-width:none!important;margin-inline:auto;padding-inline:clamp(16px,3vw,48px)}

/* contenuto pagina: full width, blocchi allineati a 1240px, alignfull a bordo */
body .bsg-content-wrap{width:100%;max-width:none!important;padding-left:0!important;padding-right:0!important}
body .bsg-content-wrap>.bsg-content{max-width:none}
body .bsg-content-wrap .bsg-content>*:not(.alignfull){max-width:none;margin-left:auto;margin-right:auto;padding-left:clamp(16px,3vw,48px);padding-right:clamp(16px,3vw,48px);box-sizing:border-box}
body .bsg-content-wrap .bsg-content>.alignfull{max-width:none!important;width:100%;margin-left:0!important;margin-right:0!important;padding-left:0;padding-right:0}
body .bsg-content-wrap.py-5{padding-top:0!important;padding-bottom:0!important}

/* ===== Bianco / blu / ciano — tutta la larghezza ===== */
body .container,body .container-fluid,body .container-xl,body .container-xxl,body .container-lg{max-width:none!important;padding-left:clamp(16px,3vw,48px)!important;padding-right:clamp(16px,3vw,48px)!important}
body .bg-site-header>.bg-header-inner{padding-left:clamp(16px,3vw,48px);padding-right:clamp(16px,3vw,48px)}
body .bg-footer-shell>.wp-block-columns,body .bg-footer-shell>.wp-block-group{padding-left:clamp(16px,3vw,48px);padding-right:clamp(16px,3vw,48px)}
body .bg-footer-shell,body .site-footer.bg-footer-shell{background:linear-gradient(115deg,#0a5fe0,#0e97e0)!important;color:#fff!important}
body .bg-footer-shell a,body .bg-footer-shell h2,body .bg-footer-shell h3,body .bg-footer-shell h4{color:#fff!important}
body .bg-footer-shell p,body .bg-footer-shell li,body .bg-footer-shell span{color:rgba(255,255,255,.86)}
body .btn-bsg-primary,body .bg-header-ctas .wp-block-button__link:not(.has-background):not(.is-style-outline){background:linear-gradient(135deg,#0866e7,#10aee6)!important;color:#fff!important}
body .bsg-aurora-hero.bsg-aurora-hero.bsg-aurora-hero,body .bsg-aurora-hero--home.bsg-aurora-hero--home.bsg-aurora-hero--home{background:radial-gradient(circle at 82% 12%,rgba(25,200,240,.5),transparent 42%),linear-gradient(120deg,#0866e7,#0f9ee6)!important}
body .bsg-aurora-hero .bsg-aurora-eyebrow,body .bsg-aurora-hero [class*="eyebrow"],body .bsg-aurora-hero [class*="kicker"]{color:#fff!important}

/* ===== Cantarell (Bunny Fonts) ovunque: menu, mega menu, footer, forum, form (admin bar e icone esclusi) ===== */
body :where(*):not(#wpadminbar):not(#wpadminbar *):not(i):not([class*="bi-"]):not([class^="bi "]):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.dashicons):not([class*="dashicons"]):not(code):not(pre):not(kbd):not(samp):not(.ab-icon):not(.ab-item *):not([class^="bp-"]):not([class*=" bp-"]):not([class*="-icon"]):not([class*="_icon"]):not([class*="icon-"]):not(.screen-reader-text){font-family:"Cantarell",system-ui,-apple-system,"Segoe UI",sans-serif}
body *:not(#wpadminbar):not(#wpadminbar *):not(i):not([class*="bi-"]):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.dashicons):not([class*="dashicons"]):not(code):not(pre):not(kbd):not(samp):not([class^="bp-"]):not([class*=" bp-"]):not([class*="-icon"]):not([class*="_icon"]):not([class*="icon-"]){font-family:"Cantarell",system-ui,-apple-system,"Segoe UI",sans-serif!important}
body #wpadminbar,body #wpadminbar *{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}
body #wpadminbar .ab-icon:before,body #wpadminbar .ab-item:before,body #wpadminbar #adminbarsearch:before,body #wpadminbar .ab-icon::before,body #wpadminbar .ab-item::before{font-family:dashicons!important}
body code,body pre,body kbd,body samp,body .bsg-terminal-card code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important}
body i.bi,body .bi::before,body [class*="bi-"]::before{font-family:"bootstrap-icons"!important}
body .fa,body .fas,body .far,body .fa::before,body .fas::before,body .far::before{font-family:"Font Awesome 5 Free","Font Awesome 6 Free"!important}
body .fab,body .fab::before{font-family:"Font Awesome 5 Brands","Font Awesome 6 Brands"!important}
body .dashicons,body [class*="dashicons"]::before{font-family:dashicons!important}
body .bg-site-header>.bg-header-inner,body .bg-header-inner{max-width:none!important;width:100%!important}
body .bg-footer-shell>.wp-block-columns,body .bg-footer-shell>.wp-block-group,body .bg-footer-shell>*{max-width:none!important}
body .bg-aurora-hero__inner,body .bsg-aurora-hero__inner,body .bsg-aurora-page>*{max-width:none!important}
body .bg-header-ctas .bg-button-outline .wp-block-button__link,body .bg-header-ctas .bg-button-outline .wp-block-button__link:not(.has-background){background:#fff!important;color:#086beb!important;border:1.5px solid #086beb!important;box-shadow:none!important}
body .bg-header-ctas .bg-button-outline .wp-block-button__link:hover{background:#eaf6ff!important}
body .bsg-content-wrap .bsg-content>:is(.bsg-security-center,.cbt,.bsg-block,.bsg-dm,[class*="bsg-"][class*="-center"],[class*="bsg-"][class*="-shortcode"]){padding-left:0!important;padding-right:0!important;max-width:none!important;width:100%!important}

/* ===== Back to top + Cookie: blu/ciano forzato, testi leggibili ===== */
body .bsg-back-to-top,body button.bsg-back-to-top{background:linear-gradient(135deg,#0757c9,#0a86e8)!important;color:#fff!important;border:2px solid #fff!important;box-shadow:0 8px 22px rgba(8,107,235,.35)!important;border-radius:50%!important}
body .bsg-back-to-top *,body .bsg-back-to-top i,body .bsg-back-to-top::before{color:#fff!important}
body .bsg-cookie-consent,body #bsg-cookie-consent{color:#121f32}
body .bsg-cookie-consent h1,body .bsg-cookie-consent h2,body .bsg-cookie-consent h3,body .bsg-cookie-consent strong,body .bsg-cookie-consent [class*="__title"],body .bsg-cookie-consent [class*="service-title"]{color:#121f32!important}
body .bsg-cookie-consent p,body .bsg-cookie-consent li,body .bsg-cookie-consent dd,body .bsg-cookie-consent dt,body .bsg-cookie-consent small,body .bsg-cookie-consent span:not(.bsg-cookie-consent__required){color:#33445c!important}
body .bsg-cookie-consent a{color:#0757c9!important;text-decoration:underline}
body .bsg-cookie-consent [class*="eyebrow"],body .bsg-cookie-consent [class*="symbol"]{color:#0757c9!important}
body .bsg-cookie-consent button{color:#0757c9!important;border-color:#0866e7!important}
body .bsg-cookie-consent button[class*="accept"],body .bsg-cookie-consent button[class*="primary"],body .bsg-cookie-consent [data-action="accept"],body .bsg-cookie-consent [data-action="accept-all"]{background:linear-gradient(135deg,#0757c9,#0a86e8)!important;color:#fff!important;border-color:transparent!important}
body .bsg-cookie-consent [class*="required"]{background:#eaf3ff!important;color:#0757c9!important}
body .bsg-cookie-settings,body button.bsg-cookie-settings,body [class*="cookie-settings"]{background:#fff!important;color:#0757c9!important;border:1.5px solid #0866e7!important;box-shadow:0 6px 18px rgba(8,107,235,.18)!important}
body .bsg-cookie-consent input[type=checkbox]:checked{accent-color:#0866e7}

/* ===== Phishing checker (embed): il modulo porta il proprio stile Blue (.phishing) ===== */
body .bsg-phishing-checker{max-width:none;width:100%;margin:0;padding:0;background:transparent!important;color:#121f32}
body .bsg-phishing-checker .phishing{border-radius:0}

/* ===== Login + maintenance: shared Blue header/footer alignment ===== */
html body.login,html body.bsg-login-page{padding-top:0!important;margin:0!important;display:flex!important;flex-direction:column!important;min-height:100vh!important;background:#f5f9ff!important}
html body.login .bg-site-header,html body.swmm-maintenance-active .bg-site-header{position:sticky!important;top:0!important;width:100%!important;max-width:none!important;margin:0!important;transform:none!important}
html body.login .bg-site-header .bg-brand,html body.swmm-maintenance-active .bg-site-header .bg-brand{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;margin:0!important;width:auto!important;height:auto!important;position:static!important}
html body.login #login{flex:1 0 auto;width:100%!important;max-width:460px!important;margin:0 auto!important;padding:56px 16px 64px!important;position:static!important;box-sizing:border-box}
html body.login .bg-footer-shell{margin-top:auto!important;width:100%!important;max-width:none!important}
html body.login #backtoblog,html body.login #nav{text-align:center}
html body.swmm-maintenance-active .swmm-site{display:flex;flex-direction:column;min-height:100vh}
html body.swmm-maintenance-active .swmm-main{flex:1 0 auto;padding-top:0!important;padding-bottom:0!important}
html body.swmm-maintenance-active .swmm-hero{min-height:0!important;padding:72px var(--bg-gutter,43px) 80px!important;box-sizing:border-box}
html body.swmm-maintenance-active .swmm-hero>*{max-width:none}
html body.swmm-maintenance-active .bg-footer-shell{margin-top:0!important}
/* Login: il vecchio login.css colora in bianco le voci del dropdown account (bianco su bianco) */
html body.login .bg-site-header .bsg-account-dropdown{background:#fff!important;border:1px solid #dbe7f5!important}
html body.login .bg-site-header .bsg-account-dropdown .dropdown-item{color:#0a63e3!important;background:transparent!important;font-size:14px!important;padding:10px 12px!important}
html body.login .bg-site-header .bsg-account-dropdown .dropdown-item:hover,html body.login .bg-site-header .bsg-account-dropdown .dropdown-item:focus{color:#086beb!important;background:#edf5ff!important}
html body.login .bg-site-header .bsg-account-dropdown .dropdown-header,html body.login .bg-site-header .bsg-account-dropdown .dropdown-header *{color:#121f32!important}
html body.login .bg-site-header .bsg-account-dropdown .dropdown-divider{border-color:#e5edf7!important}
html body.login.bsg-login-page.login.bsg-login-page{padding-top:0!important;padding-bottom:0!important;margin-top:0!important}
html body.login.bsg-login-page.login #login{padding-top:56px!important}
html body.swmm-maintenance-active .swmm-hero{padding-left:66px!important;padding-right:66px!important}

/* ===== Saved content with hardcoded dark/teal colours (patterns, core groups) ===== */
html body .has-bsg-white-color,html body .has-text-color-ink{color:#121f32!important}
html body :is([style*="#060e1c" i],[style*="#0b192b" i],[style*="#050814" i],[style*="#050914" i],[style*="#081120" i],[style*="#0b1020" i],[style*="#04070f" i],[style*="#071b30" i],.has-bsg-bg-background-color,.has-bsg-surface-background-color,.has-navy-background-color){background:linear-gradient(120deg,#0757c9,#0f9ee6)!important;background-color:#0757c9!important;color:#fff!important}
html body :is([style*="#060e1c" i],[style*="#0b192b" i],[style*="#050814" i],[style*="#050914" i],[style*="#081120" i],[style*="#0b1020" i],[style*="#04070f" i],[style*="#071b30" i],.has-bsg-bg-background-color,.has-bsg-surface-background-color,.has-navy-background-color) :is(p,li,span,h1,h2,h3,h4,h5,h6,figcaption,strong,a):not(.wp-block-button__link):not(.copy-code-button):not(.code-label):not(pre *){color:#fff!important}
html body :is([style*="#060e1c" i],[style*="#0b192b" i],[style*="#050814" i],[style*="#050914" i],[style*="#081120" i],[style*="#0b1020" i],.has-bsg-bg-background-color,.has-bsg-surface-background-color) p:not(.wp-block-button__link){color:rgba(255,255,255,.92)!important}
html body :is([style*="#060e1c" i],[style*="#0b192b" i],[style*="#050814" i],[style*="#081120" i],.has-bsg-bg-background-color,.has-bsg-surface-background-color) p[style*="text-transform:uppercase" i]{color:#d8f7ff!important}
html body [style*="color:#1df0c4" i]:not(.wp-block-button__link):not([style*="background-color"]),html body [style*="color:#43f8b6" i]:not(.wp-block-button__link):not([style*="background-color"]){color:#e6fbff!important}
html body :is(.has-bsg-primary-background-color,[style*="background-color:#1df0c4" i],[style*="background-color:#43f8b6" i]){background:#fff!important;color:#0757c9!important;border:0!important;border-radius:999px!important;font-weight:700}
html body .wp-block-button.is-style-outline .wp-block-button__link{background:transparent!important;color:#0757c9!important;border:2px solid #0757c9!important;border-radius:999px!important}
html body :is([style*="#060e1c" i],.has-bsg-bg-background-color,.has-bsg-surface-background-color) .wp-block-button.is-style-outline .wp-block-button__link{color:#fff!important;border-color:rgba(255,255,255,.85)!important}
html body [style*="background-color:rgba(255,255,255,.06)" i]{background:rgba(255,255,255,.16)!important;border-color:rgba(255,255,255,.4)!important}
html body .wp-block-group[style*="rgba(255,255,255,.14)" i]{border-color:rgba(255,255,255,.4)!important}
/* code card (copy-code.js) */
html body .code-wrapper{position:relative;background:#fff!important;border:1px solid #d8e6f7!important;border-radius:14px!important;overflow:hidden;color:#121f32!important;box-shadow:0 8px 24px rgba(8,107,235,.12)}
html body .code-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px 8px 16px;background:#eaf3ff!important;border-bottom:1px solid #d8e6f7!important}
html body .code-label{color:#0757c9!important;font-weight:700;letter-spacing:.12em;font-size:.72rem;text-transform:uppercase;display:inline-flex;align-items:center;gap:8px}
html body .code-label::before{background:#086beb!important;box-shadow:none!important}
html body .copy-code-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border-radius:50%!important;border:1px solid #bcd6f5!important;background:#fff!important;color:#086beb!important;cursor:pointer}
html body .copy-code-button:hover{background:#086beb!important;color:#fff!important}
html body .code-wrapper>pre,html body .code-wrapper pre{background:#fff!important;color:#121f32!important;margin:0!important;border:0!important;border-radius:0!important}
html body .code-wrapper pre code{color:#0757c9!important;background:transparent!important}
html body .copy-code-status{color:#0757c9!important}

/* ===== Mobile menu (<=1024px): full-width sheet, accordion, CTAs ===== */
@media(max-width:1024px){
html.bg-menu-locked,html.bg-menu-locked body{overflow:hidden!important}
html body .bg-site-header .bg-mega-nav{margin-left:auto;flex:0 0 auto}
html body .bg-site-header .bg-mega-mobile-toggle{min-height:42px;padding:0 14px!important;border-radius:999px!important;font-size:14px!important;font-weight:700!important;gap:10px}
html body .bg-site-header .bg-mega-list{position:fixed!important;left:0!important;right:0!important;top:var(--bg-sheet-top,70px)!important;bottom:0;height:calc(100vh - var(--bg-sheet-top,70px));height:calc(100dvh - var(--bg-sheet-top,70px));max-height:none!important;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;background:#fff!important;padding:6px 16px 28px!important;border-top:1px solid #d8e6f7;box-shadow:none!important;z-index:9990;margin:0!important;list-style:none}
html body .bg-site-header .bg-mega-item{border-bottom:1px solid #e5edf7;list-style:none}
html body .bg-site-header .bg-mega-trigger,html body .bg-site-header .bg-mega-simple{display:flex!important;align-items:center;justify-content:space-between;width:100%;min-height:54px;padding:0 4px!important;font-size:17px!important;font-weight:700!important;color:#121f32!important;background:transparent!important;border:0!important;text-align:left}
html body .bg-site-header .bg-mega-item.is-open>.bg-mega-trigger{color:#086beb!important}
html body .bg-site-header .bg-mega-trigger .bg-chevron,html body .bg-site-header .bg-mega-trigger svg,html body .bg-site-header .bg-mega-trigger i{transition:transform .2s;flex:0 0 auto}
html body .bg-site-header .bg-mega-item.is-open>.bg-mega-trigger .bg-chevron,html body .bg-site-header .bg-mega-item.is-open>.bg-mega-trigger svg,html body .bg-site-header .bg-mega-item.is-open>.bg-mega-trigger i{transform:rotate(180deg)}
html body .bg-site-header .bg-mega-panel{background:#f5f9ff!important;border:0!important;border-radius:12px!important;margin:0 0 12px!important;width:100%!important}
html body .bg-site-header .bg-mega-panel-inner{padding:12px!important;max-width:none!important}
html body .bg-site-header .bg-mega-panel-top{display:none!important}
html body .bg-site-header .bg-mega-panel-blocks>.wp-block-columns{display:flex!important;flex-direction:column!important;gap:10px!important;flex-wrap:nowrap!important}
html body .bg-site-header .bg-mega-panel-blocks>.wp-block-columns>.wp-block-column{flex:1 1 auto!important;min-width:0!important;width:100%!important}
html body .bg-site-header .bg-native-cards{display:flex;flex-direction:column;gap:10px}
html body .bg-site-header .bg-native-card,html body .bg-site-header .bg-menu-link{background:#fff!important;border:1px solid #d8e6f7!important;border-radius:12px!important;padding:12px 14px!important;box-shadow:none!important}
html body .bg-site-header .bg-native-card-title,html body .bg-site-header .bg-menu-link-title{font-size:15px!important;font-weight:700!important;color:#121f32!important}
html body .bg-site-header .bg-menu-link-desc{font-size:13px!important;color:#4d5d73!important;line-height:1.45}
html body .bg-site-header .bg-mega-view-all{display:inline-flex;margin-top:4px;font-weight:700;color:#086beb!important}
html body .bg-site-header .bg-mobile-ctas{display:flex!important;flex-direction:column;gap:10px;margin:18px 0 0;padding:0;border:0!important;list-style:none}
html body .bg-site-header .bg-mobile-ctas a{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:999px;font-weight:700;font-size:15px;text-decoration:none!important;border:1.5px solid #086beb;color:#086beb!important;background:#fff}
html body .bg-site-header .bg-mobile-ctas a.is-primary{background:linear-gradient(135deg,#0757c9,#10aee6);color:#fff!important;border-color:transparent}
}
@media(max-width:1024px){
html body .bg-site-header .bg-mega-list{justify-content:flex-start!important;align-content:flex-start!important}
html body .bg-site-header .bg-mega-list::before,html body .bg-site-header .bg-mega-list::after{display:none!important}
html body .bg-site-header .bg-mega-trigger>span:first-child,html body .bg-site-header .bg-mega-simple>span{font-size:17px!important;font-weight:700!important;color:inherit!important}
html body .bg-site-header .bg-mega-trigger>span:last-child{transition:transform .2s;font-size:20px;line-height:1}
html body .bg-site-header .bg-mega-item.is-open>.bg-mega-trigger>span:last-child{transform:rotate(180deg)}
}
@media(min-width:1025px){html body .bg-site-header .bg-mobile-ctas{display:none!important}}

/* ===== Footer: nero opaco, titoli con linea, link con cerchio, logo nel riquadro (sito, login, manutenzione) ===== */
html body .site-footer.bg-footer-shell,html body footer.bg-footer-shell{background:#0b0e13!important;background-image:none!important;color:rgba(255,255,255,.82)!important;border-top:1px solid rgba(255,255,255,.08)}
html body .bg-footer-shell::before,html body .bg-footer-shell::after{display:none!important}
html body .bg-footer-shell .bg-actual-brand{display:inline-flex!important;align-items:center;justify-content:center;background:#fff!important;border:1px solid #d8e6f7;border-radius:16px;padding:12px 16px;box-shadow:0 10px 28px rgba(0,0,0,.35);margin:0 0 18px;text-decoration:none!important;max-width:100%}
html body .bg-footer-shell .bg-actual-brand img{display:block;height:44px!important;width:auto!important;max-width:100%;filter:none!important}
html body .bg-footer-shell .bg-actual-brand .bg-brand-title{color:#121f32!important;font-weight:800;font-size:20px}
html body .bg-footer-shell .bg-footer-columns p{color:rgba(255,255,255,.72)!important;font-size:14px;line-height:1.65}
html body .bg-footer-shell .bg-footer-columns h4{position:relative;display:block;margin:0 0 14px!important;padding:0 0 12px!important;color:rgba(255,255,255,.92)!important;font-size:13px!important;font-weight:800!important;letter-spacing:.12em;text-transform:uppercase}
html body .bg-footer-shell .bg-footer-columns h4::after{content:"";position:absolute;left:0;bottom:0;width:3.8rem;height:2px;border-radius:999px;background:linear-gradient(90deg,#168cff,#10aee6)}
html body .bg-footer-shell .bg-footer-nav ul,html body .bg-footer-shell ul.bg-native-footer-menu{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:0}
html body .bg-footer-shell .bg-native-footer-menu>li{margin:0!important;padding:0!important;list-style:none!important;border-bottom:1px solid rgba(255,255,255,.08)}
html body .bg-footer-shell .bg-native-footer-menu>li:last-child{border-bottom:0}
html body .bg-footer-shell .bg-native-footer-menu>li>a{position:relative;display:flex!important;align-items:center;min-height:42px;padding:9px 4px 9px 26px!important;color:rgba(255,255,255,.78)!important;font-size:14px!important;font-weight:600;text-decoration:none!important;text-transform:none!important;letter-spacing:0;transition:color .2s ease,transform .2s ease}
html body .bg-footer-shell .bg-native-footer-menu>li>a::before{content:"";position:absolute;left:4px;top:50%;width:9px;height:9px;border-radius:50%;border:2px solid #4aa8ff;background:transparent;opacity:.45;transform:translateY(-50%) scale(.8);transition:opacity .2s ease,transform .2s ease,background .2s ease,box-shadow .2s ease}
html body .bg-footer-shell .bg-native-footer-menu>li>a:hover,html body .bg-footer-shell .bg-native-footer-menu>li>a:focus-visible,html body .bg-footer-shell .bg-native-footer-menu>li.current-menu-item>a{color:#fff!important;transform:translateX(2px)}
html body .bg-footer-shell .bg-native-footer-menu>li>a:hover::before,html body .bg-footer-shell .bg-native-footer-menu>li>a:focus-visible::before,html body .bg-footer-shell .bg-native-footer-menu>li.current-menu-item>a::before{opacity:1;transform:translateY(-50%) scale(1.1);background:#10aee6;border-color:#7fd8ff;box-shadow:0 0 0 4px rgba(16,174,230,.22),0 0 14px rgba(16,174,230,.55)}
html body .bg-footer-shell .bg-native-footer-menu .sub-menu{display:none}
html body .bg-footer-shell .bg-footer-bottom{border-top:1px solid rgba(255,255,255,.1)!important;color:rgba(255,255,255,.7)!important}
html body .bg-footer-shell .bg-copyright{color:rgba(255,255,255,.7)!important}
html body .bg-footer-shell .bg-footer-bottom a{color:rgba(255,255,255,.85)!important;text-decoration:none!important}
html body .bg-footer-shell .bg-footer-bottom a:hover{color:#7fd8ff!important}
html body .bg-footer-shell .bg-footer-bottom ul.bg-native-footer-menu{display:flex!important;flex-wrap:wrap;gap:6px 20px;align-items:center}
html body .bg-footer-shell .bg-footer-bottom .bg-native-footer-menu>li{border:0!important}
html body .bg-footer-shell .bg-footer-bottom .bg-native-footer-menu>li>a{min-height:0;padding:2px 0!important;font-size:13px!important;font-weight:600}
html body .bg-footer-shell .bg-footer-bottom .bg-native-footer-menu>li>a::before{display:none}

/* BasePress: i glifi delle icone usano il font "basepress" */
html body [class^="bp-"],html body [class*=" bp-"],html body .bpress-heading-icon,html body .bpress-section-icon,html body .bpress-widget-icon,html body .bpress-nav-widget-icon,html body .bpress-post-link.show-icon>span[class*="bp-"],html body .bpress-post-link.show-icon:before,html body .bpress-widget-item.show-icon a:before{font-family:"basepress"!important;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased}

/* Forum hero (blu): statistiche leggibili */
html body .bsg-aurora-hero .bsg-aurora-stat strong,
html body .bsg-aurora-page .bsg-aurora-hero .bsg-aurora-stat strong { color: #ffffff !important; }
html body .bsg-aurora-hero .bsg-aurora-stat small,
html body .bsg-aurora-page .bsg-aurora-hero .bsg-aurora-stat small { color: rgba(255, 255, 255, .9) !important; }
html body .bsg-aurora-hero .bsg-aurora-stat { border-right-color: rgba(255, 255, 255, .3) !important; }
html body .bsg-aurora-hero .bsg-aurora-stat__icon { color: #ffffff !important; border-color: rgba(255, 255, 255, .45) !important; background: rgba(255, 255, 255, .14) !important; }
/* righe/attività: hover chiaro con testo blu, mai bianco su sfondo chiaro */
html body .bsg-aurora-page a.bsg-aurora-profile-activity:hover,
html body .bsg-aurora-page a.bsg-aurora-profile-activity:hover strong { color: #086beb !important; }
html body .bsg-aurora-page a.bsg-aurora-profile-activity:hover small { color: #3f5a7d !important; }

/* ===== Top: barra nera sopra l'header, allineata al footer ===== */
html body .bg-top{background:#0b0e13!important;color:#d8e1ec!important;width:100%;margin:0!important;border-bottom:1px solid rgba(255,255,255,.08)}
html body .bg-top-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 24px;min-height:40px;padding:6px calc(22px + clamp(16px,3vw,48px));box-sizing:border-box}
html body .bg-top-text{flex:1 1 auto;min-width:0;font-size:13px;font-weight:600;line-height:1.4;color:#d8e1ec!important}
html body .bg-top-text a{color:#fff!important;text-decoration:underline;text-underline-offset:2px}
html body .bg-top-text strong,html body .bg-top-text b{color:#fff!important}
html body .bg-top-nav{flex:0 0 auto;margin:0 0 0 auto!important;padding:0!important;background:none!important;border:0!important}
html body .bg-top-menu{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:2px 6px;margin:0!important;padding:0!important;list-style:none!important}
html body .bg-top-menu li{margin:0!important;padding:0!important;list-style:none!important}
html body .bg-top-menu a{display:inline-flex;align-items:center;min-height:28px;padding:3px 10px;border-radius:6px;color:#c3cedc!important;font-size:13px;font-weight:600;text-decoration:none!important;transition:color .15s ease,background-color .15s ease}
html body .bg-top-menu a:hover,html body .bg-top-menu a:focus-visible,html body .bg-top-menu .current-menu-item>a{color:#fff!important;background:rgba(255,255,255,.09)}
html body .bg-top-menu a:focus-visible{outline:2px solid #4aa3ff;outline-offset:1px}
@media(max-width:781px){html body .bg-top-inner{padding:8px calc(15px + clamp(16px,3vw,48px))}html body .bg-top-text{flex-basis:100%;font-size:12.5px}html body .bg-top-nav{flex:1 1 100%;width:100%!important;margin:0!important}html body .bg-top-menu{justify-content:flex-start;margin-left:-10px!important}}

/* ===== Cookie settings: nel footer, non più fluttuante ===== */
html body .bg-footer-shell .bg-footer-bottom .bsg-cookie-settings-button{position:static!important;left:auto!important;bottom:auto!important;z-index:auto!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important;display:inline-flex!important;align-items:center;min-height:0!important;padding:0 0 0 12px!important;margin:0!important;border:0!important;border-left:1px solid rgba(255,255,255,.22)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;color:rgba(255,255,255,.85)!important;font-family:inherit!important;font-size:13px!important;font-weight:600!important;line-height:1.2;text-decoration:none;cursor:pointer}
@media(min-width:782px){html body .bg-footer-shell .bg-footer-bottom{padding-right:84px!important}}
html body .bg-footer-shell .bg-footer-bottom .bsg-cookie-settings-button:hover,html body .bg-footer-shell .bg-footer-bottom .bsg-cookie-settings-button:focus-visible{color:#7fd8ff!important;background:transparent!important;outline:none;text-decoration:underline}
html body .bg-footer-shell .bg-footer-bottom .bsg-cookie-settings-button:focus-visible{outline:2px solid #4aa3ff!important;outline-offset:3px}
@media(max-width:781px){html body .bg-footer-shell .bg-footer-bottom{padding-bottom:72px!important}html body .bg-footer-shell .bg-footer-bottom .bsg-cookie-settings-button{flex:0 0 100%;border-left:0!important;padding:6px 0!important;min-height:36px!important;justify-content:flex-start}}
html body .bg-footer-shell .bg-footer-bottom .bsg-cookie-settings-button span{display:inline!important}

/* 1.11.27 — hero: real BastionGuard logo instead of the decorative hexagon */
body .bsg-aurora-hero::after{display:none!important}
body .bsg-aurora-hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,black,transparent 90%);opacity:1}
body .bsg-aurora-hero__content{position:relative}
body .bsg-aurora-hero__logo{position:absolute;top:50%;right:calc(100% + 36px);transform:translateY(-50%);width:170px;height:170px;max-width:none;border-radius:50%;box-shadow:0 14px 40px rgba(2,22,80,.45),0 0 0 4px rgba(255,255,255,.18);pointer-events:none;user-select:none}
body .bsg-aurora-hero--compact .bsg-aurora-hero__logo{width:110px;height:110px;right:calc(100% + 28px)}
@media(max-width:1100px){
  /* not enough room on the left: becomes a faint watermark behind the text, never in the reading flow */
  body .bsg-aurora-hero__logo{right:-8px;top:50%;width:150px;height:150px;opacity:.14;box-shadow:none;z-index:0}
  body .bsg-aurora-hero__content>*:not(.bsg-aurora-hero__logo){position:relative;z-index:1}
}
@media(max-width:600px){body .bsg-aurora-hero__logo{display:none}}
/* 1.11.50 — footer contact column (Customizer email / location / Footer column 3 widgets) */
html body .bg-footer-shell .bg-footer-contact{list-style:none;margin:0;padding:0;display:grid;gap:10px}
html body .bg-footer-shell .bg-footer-contact li{display:flex;align-items:flex-start;gap:10px;margin:0;padding:0 0 10px;border-bottom:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.85);font-size:14px;font-weight:600;line-height:1.5}
html body .bg-footer-shell .bg-footer-contact li:last-child{border-bottom:0;padding-bottom:0}
html body .bg-footer-shell .bg-footer-contact i{flex:none;color:#168cff;font-size:15px;line-height:1.4}
html body .bg-footer-shell .bg-footer-contact a{color:rgba(255,255,255,.92)!important;overflow-wrap:anywhere}
html body .bg-footer-shell .bg-footer-contact a:hover{color:#67b2ff!important}
html body .bg-footer-shell .bg-footer-contact-widgets{margin-top:12px;color:rgba(255,255,255,.72);font-size:14px}
html body .bg-footer-shell .bg-footer-contact-widgets .widget-title,html body .bg-footer-shell .bg-footer-contact-widgets h2{display:none}

/* 1.11.54 — avatar next to the account name (header) and in the account dropdown */
html body .bg-site-header .bg-account-toggle{display:inline-flex!important;align-items:center;gap:8px}
html body .bg-site-header .bg-account-avatar{display:block;width:28px!important;height:28px!important;max-width:none;border-radius:50%!important;object-fit:cover;box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(8,107,235,.35);flex:0 0 auto}
html body .bg-site-header .bg-account-toggle:hover .bg-account-avatar,html body .bg-site-header .bg-account-toggle[aria-expanded="true"] .bg-account-avatar{box-shadow:0 0 0 2px #fff,0 0 0 3px #086beb}
html body .bsg-account-dropdown .bg-account-head{display:flex!important;align-items:center;gap:12px}
html body .bsg-account-dropdown .bg-account-head-avatar{display:block;width:44px!important;height:44px!important;max-width:none;border-radius:50%!important;object-fit:cover;flex:0 0 auto;box-shadow:0 0 0 2px rgba(8,107,235,.2)}
html body .bsg-account-dropdown .bg-account-head-text{display:flex;flex-direction:column;min-width:0}
html body .bsg-account-dropdown .bg-account-head-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1024px){html body .bg-site-header .bg-account-avatar{width:30px!important;height:30px!important}}
