/* Baretti parity hotfix 3.1.0 — global/header/footer/contact only. */

/* Reference parity: top-level dropdowns are buttons, while Overview remains inside the dropdown. */
#bn-body .p1-nav > .dropdown > .nav-root-trigger{
  width:auto;height:auto;min-height:44px;padding:0;border:0;background:transparent;border-radius:0;
  color:#102945;font:inherit;font-weight:850;display:inline-flex;align-items:center;gap:7px;cursor:pointer;
}
#bn-body .p1-nav > .dropdown > .nav-root-trigger .ico{width:13px;height:13px;transition:transform .2s ease}
#bn-body .p1-nav > .dropdown:hover > .nav-root-trigger,
#bn-body .p1-nav > .dropdown:focus-within > .nav-root-trigger,
#bn-body .p1-nav > .dropdown.mobile-open > .nav-root-trigger{color:#ba1319;background:transparent}
@media (min-width:981px){
  #bn-body .p1-nav > .dropdown:focus-within > .dropdown-menu{display:grid}
  #bn-body .p1-nav > .dropdown > .nav-root-trigger{padding:36px 0}
}
@media (max-width:980px){
  #bn-body .p1-nav.open > .dropdown > .nav-root-trigger{
    width:100%;min-height:48px;padding:11px 0;justify-content:space-between;border:0;background:transparent;
  }
  #bn-body .p1-nav.open > .dropdown > .nav-root-trigger .ico{width:16px;height:16px}
}

/* Footer office parity: both legal offices remain native Elementor content. */
#bn-body .baretti-global-footer .bn-parity-office-label{
  margin:2px 0 8px;color:rgba(255,255,255,.62);font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;
}
#bn-body .baretti-global-footer .bn-parity-office{
  margin:0 0 18px;padding:16px 0 0;border-top:1px solid rgba(255,255,255,.15);max-width:310px;
}
#bn-body .baretti-global-footer .bn-parity-office .elementor-widget-text-editor{margin:0}
#bn-body .baretti-global-footer .bn-parity-office-title{color:#fff;font-size:15px;line-height:1.35}
#bn-body .baretti-global-footer .bn-parity-office-address{color:rgba(255,255,255,.78);font-size:14px;line-height:1.55}
#bn-body .baretti-global-footer .bn-parity-office-contact{font-size:14px;line-height:1.55}
#bn-body .baretti-global-footer .bn-parity-office-contact a{color:rgba(255,255,255,.88);text-decoration:none}
#bn-body .baretti-global-footer .bn-parity-office-contact a:hover,
#bn-body .baretti-global-footer .bn-parity-office-contact a:focus-visible{color:#fff;text-decoration:underline}
#bn-body .baretti-global-footer .bn-parity-legacy-link a{display:block}

/* Contact page: keep the RFQ form while restoring the French Sales Office. */
#bn-body .bn-parity-contact-office{
  margin-top:26px;padding-top:24px;border-top:1px solid #e2e9f0;
}
#bn-body .bn-parity-contact-eyebrow{margin:0 0 8px;color:#ba1319;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
#bn-body .bn-parity-contact-title h2,
#bn-body .bn-parity-contact-title .elementor-heading-title{margin:0 0 10px;color:#102945;font-size:clamp(1.25rem,2vw,1.65rem)}
#bn-body .bn-parity-contact-details ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}
#bn-body .bn-parity-contact-details li{color:#52687c;line-height:1.55}
#bn-body .bn-parity-contact-details a{color:#102945;text-decoration:none;font-weight:750}
#bn-body .bn-parity-contact-details a:hover,
#bn-body .bn-parity-contact-details a:focus-visible{color:#ba1319;text-decoration:underline}

/* Search wording/layout parity. */
#bn-body .bn-search-eyebrow{display:block;margin:0 0 7px;color:#ba1319;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}

/* Cookie control must stay above sticky/header layers and remain available on old theme revisions. */
#bn-body .baretti-cookie-widget{z-index:99990}
#bn-body .baretti-cookie-dialog{z-index:99999}

/* v3.1.1 — global document hardening against Elementor defaults. */
#bn-body .p1-top .elementor-heading-title,
#bn-body .p1-top .elementor-widget-heading,
#bn-body .p1-top .elementor-widget-image,
#bn-body .p1-header .elementor-widget-image,
#bn-body .p1-header .elementor-widget-bn-menu{
  margin:0;
}
#bn-body .p1-top .elementor-heading-title{color:inherit;font:inherit;line-height:1}
#bn-body .p1-top .elementor-widget-container{line-height:1}
#bn-body .bn-header-shell{position:sticky;top:0;z-index:5000}
#bn-body.admin-bar .bn-header-shell{top:32px}
#bn-body .bn-header-shell .p1-header{position:relative;top:0;z-index:80}
#bn-body .p1-nav>.dropdown{height:100%;display:flex;align-items:center;position:relative}
#bn-body .p1-nav>.dropdown>.nav-root-trigger{position:relative;color:#102844}
#bn-body .p1-nav>.dropdown>.nav-root-trigger.active:after{
  content:"";position:absolute;left:0;right:0;bottom:27px;height:4px;border-radius:6px;background:#ba1319;
}
@media (min-width:981px){
  #bn-body .p1-nav>.dropdown>.nav-root-trigger{padding:42px 0}
  #bn-body .p1-nav>.dropdown:hover>.dropdown-menu,
  #bn-body .p1-nav>.dropdown:focus-within>.dropdown-menu{display:grid}
}
@media (max-width:980px){
  #bn-body .p1-nav>.dropdown{width:100%;height:auto;display:block}
  #bn-body .p1-nav>.dropdown>.nav-root-trigger.active:after{display:none}
  #bn-body .p1-nav>.dropdown.mobile-open>.dropdown-menu{display:grid}
}
@media (max-width:782px){#bn-body.admin-bar .bn-header-shell{top:46px}}

/* Keep global footer columns and office blocks visible after Elementor regeneration. */
#bn-body .baretti-global-footer .bn-parity-office{display:block!important}
#bn-body .baretti-global-footer .bn-parity-office-title,
#bn-body .baretti-global-footer .bn-parity-office-label,
#bn-body .baretti-global-footer .bn-parity-office-address,
#bn-body .baretti-global-footer .bn-parity-office-contact{display:block}
#bn-body .baretti-global-footer .social a{display:inline-flex;align-items:center;justify-content:center}
#bn-body .baretti-global-footer .social-instagram .elementor-button-text:empty{display:none}
