/* BNCE-HOME RC2: shared institutional footer on Mesmerize inner pages.
   Body class is added only after the replacement footer was actually emitted. */
body.bnce-unified-footer-rendered .footer:not(.bnce-footer-v2),
body.bnce-unified-footer-rendered .footer-content-lists,
body.bnce-unified-footer-rendered .footer-contact-boxes,
body.bnce-unified-footer-rendered .footer-simple,
body.bnce-unified-footer-rendered #footer,
body.bnce-unified-footer-rendered #colophon,
body.bnce-unified-footer-rendered #page > footer:not(.bnce-footer-v2){display:none!important}
body.bnce-unified-footer-rendered #bnce-home-global-footer{display:block!important;clear:both!important;margin:0!important;padding:0!important;width:100%!important;max-width:100%!important}
body.bnce-unified-footer-rendered #bnce-home-global-footer *{box-sizing:border-box}
body.bnce-unified-footer-rendered #bnce-home-global-footer .container{width:min(1320px,calc(100% - 48px));margin-inline:auto;max-width:1320px}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2{
 display:block!important;background:#062d55!important;border-top:3px solid #dda939!important;
 color:#e9f2f9!important;padding:0!important;margin:0!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-layout{
 display:grid!important;grid-template-columns:1.35fr .85fr .85fr 1.25fr!important;
 gap:clamp(17px,2.2vw,35px)!important;align-items:start!important;
 max-width:1320px!important;padding:34px 0 29px!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-about,body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-group{
 min-width:0!important;display:flex!important;flex-direction:column!important;
 align-items:flex-start!important;gap:7px!important;margin:0!important;padding:0!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-logo-link{
 display:inline-flex!important;background:#fff!important;border-radius:5px!important;
 padding:7px 10px!important;margin:0 0 10px!important;max-width:235px!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-logo{
 display:block!important;width:210px!important;height:auto!important;max-width:100%!important;
 opacity:1!important;filter:none!important;object-fit:contain!important;margin:0!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-about p{
 font-size:12px!important;line-height:1.55!important;color:#cbdce9!important;
 margin:0!important;max-width:270px!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-group h2{
 color:#f5c965!important;font-size:14px!important;font-weight:780!important;
 line-height:1.3!important;margin:0 0 8px!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-group>div:not(.bnce-footer-social){
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-group a{
 color:#eaf2f8!important;font-size:12px!important;line-height:1.5!important;
 text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-group a:hover{
 color:#ffda82!important;text-decoration:underline!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-social{
 display:flex!important;flex-wrap:wrap!important;flex-direction:row!important;
 gap:7px!important;margin-top:10px!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-social a{
 border:1px solid rgba(226,237,248,.32)!important;border-radius:16px!important;
 padding:5px 9px!important;font-size:11px!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-bottom{
 background:#042443!important;border-top:1px solid rgba(255,255,255,.13)!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-bottom .container{
 display:flex!important;justify-content:space-between!important;align-items:center!important;
 gap:7px 16px!important;flex-wrap:wrap!important;padding:12px 0!important;
 color:#b9cadc!important;font-size:10px!important;
}
@media (max-width:980px){body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-layout{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 30px!important;
 }}
@media (max-width:620px){body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-layout{
  grid-template-columns:1fr!important;gap:21px!important;padding:27px 0!important;
 }
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-bottom .container{
  flex-direction:column!important;align-items:flex-start!important;gap:4px!important;
 }}

body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-social a{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
 padding:0!important;margin:0!important;border:1px solid rgba(236,245,255,.48)!important;border-radius:50%!important;
 background:rgba(255,255,255,.07)!important;color:#fff!important;text-decoration:none!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-social svg{display:block;width:19px;height:19px;fill:currentColor}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-social a:hover,
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-social a:focus-visible{
 background:#e8b747!important;color:#052c51!important;border-color:#e8b747!important
}
@media(max-width:620px){body.bnce-unified-footer-rendered #bnce-home-global-footer .container{width:calc(100% - 32px)}}

/* RC6 · Main-portal parity for inner-page footer, no edits to theme. */
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-logo-link {
 background:transparent!important;padding:0!important;border-radius:0!important;max-width:100%!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer .bnce-footer-v2 .bnce-footer-logo {
 width:min(280px,100%)!important;max-height:90px!important;object-fit:contain!important;
}

/* RC6: a future Mesmerize stylesheet cannot recolor/reflow the plugin-owned footer. */
body.bnce-unified-footer-rendered #bnce-home-global-footer {
 all:initial!important;display:block!important;position:relative!important;clear:both!important;
 isolation:isolate!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;
 height:auto!important;min-height:0!important;float:none!important;
 margin:0!important;padding:0!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
 font-family:Montserrat,"Segoe UI",Arial,sans-serif!important;direction:ltr!important;
 line-height:1.5!important;font-size:14px!important;color:#e9f2f9!important;
}
body.bnce-unified-footer-rendered #bnce-home-global-footer,
body.bnce-unified-footer-rendered #bnce-home-global-footer *,
body.bnce-unified-footer-rendered #bnce-home-global-footer *::before,
body.bnce-unified-footer-rendered #bnce-home-global-footer *::after {box-sizing:border-box!important;}
/* Footer may be a DIV instead of a FOOTER after a future theme update. */
body.bnce-unified-footer-rendered [data-bnce-theme-footer-suppressed="1"]{display:none!important;}
