/* Multilingual navigation only; R23 visual system otherwise preserved. */
.atb-language-flags a.atb-language-flag{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}
.atb-language-flags a.atb-language-flag:focus-visible,.multilingual-line a.atb-lang-item:focus-visible{outline:3px solid #f6c646;outline-offset:3px;border-radius:4px}
.multilingual-line a.atb-lang-item{color:inherit;text-decoration:none}
.atb-language-instruction{max-width:760px;margin:.55rem auto .9rem;padding:0 1rem;text-align:center;color:#003d18;font-size:16px;line-height:1.45;font-weight:600}
@media (max-width:900px){.atb-language-instruction{max-width:92%;margin:.5rem auto .75rem}}
/* Keep translated desktop headers inside the viewport without changing the R23 navigation model. */
@media (min-width:901px) and (max-width:1500px){
  html[lang^="es"] .logo-text .tagline,
  html[lang^="it"] .logo-text .tagline,
  html[lang^="sq"] .logo-text .tagline{display:none!important}
}
@media (max-width:900px){
  html[lang^="es"] .logo-text .tagline,
  html[lang^="it"] .logo-text .tagline,
  html[lang^="sq"] .logo-text .tagline{display:none!important}
  html[lang^="es"] .logo-text,
  html[lang^="it"] .logo-text,
  html[lang^="sq"] .logo-text{width:auto!important;min-width:0!important;flex:0 1 auto!important}
  html[lang^="es"] .logo-link,
  html[lang^="it"] .logo-link,
  html[lang^="sq"] .logo-link{width:auto!important;min-width:0!important;flex:0 1 auto!important}
}

/* R35 mobile footer alignment lock */
@media screen and (max-width:640px){
.site-footer>.container{width:100%!important;max-width:100%!important;margin:0 auto!important;padding-left:18px!important;padding-right:18px!important;text-align:center!important}
.site-footer nav[aria-label="Footer navigation"]{width:100%!important;max-width:100%!important;margin:0 auto!important;text-align:center!important}
.site-footer .footer-grid{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:.85rem!important;width:100%!important;max-width:100%!important;margin:0 auto!important;padding:0 0 .9rem!important;text-align:center!important}
.site-footer .footer-col,.site-footer .footer-col:nth-child(5){display:block!important;grid-column:auto!important;flex:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 auto!important;padding:.1rem 0 .55rem!important;justify-self:auto!important;text-align:center!important}
.site-footer .footer-col h3,.site-footer .footer-col ul,.site-footer .footer-col li,.site-footer .footer-col a{width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important}
}

/* R35 protected-page mobile footer alignment lock */
@media screen and (max-width:640px){
html.atb-mobile-default body.atb-app-shell-ready .site-footer .footer-grid{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;max-width:100%!important;margin:0 auto!important;text-align:center!important}
html.atb-mobile-default body.atb-app-shell-ready .site-footer .footer-col,html.atb-mobile-default body.atb-app-shell-ready .site-footer .footer-col:nth-child(4),html.atb-mobile-default body.atb-app-shell-ready .site-footer .footer-col:nth-child(5){grid-column:auto!important;flex:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 auto!important;justify-self:auto!important;text-align:center!important}
html.atb-mobile-default body.atb-app-shell-ready .site-footer .footer-col h3,html.atb-mobile-default body.atb-app-shell-ready .site-footer .footer-col ul,html.atb-mobile-default body.atb-app-shell-ready .site-footer .footer-col li,html.atb-mobile-default body.atb-app-shell-ready .site-footer .footer-col a{width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important}
}

/* R46 controlled responsive alignment correction — 2026-10-07 */
@media screen and (min-width:920px){
  .site-footer .footer-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;justify-content:center!important;align-items:start!important;gap:1.35rem 1rem!important;width:min(100%,1080px)!important;max-width:1080px!important;margin:0 auto!important;padding:0 0 1.2rem!important;text-align:center!important}
  .site-footer .footer-col{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0 .35rem!important;text-align:center!important;align-self:start!important}
  .site-footer .footer-col h3{min-height:46px!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;margin:0 0 .35rem!important;text-align:center!important}
}
@media screen and (min-width:641px) and (max-width:919px){
  .site-footer .footer-grid{display:flex!important;flex-flow:row wrap!important;justify-content:center!important;align-items:flex-start!important;gap:1.1rem 1rem!important;width:min(100%,760px)!important;max-width:760px!important;margin:0 auto!important;padding:0 0 1rem!important;text-align:center!important}
  .site-footer .footer-col{flex:0 1 200px!important;min-width:180px!important;max-width:220px!important;margin:0!important;padding:0 .35rem!important;text-align:center!important;align-self:flex-start!important}
  .site-footer .footer-col h3{min-height:46px!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;margin:0 0 .35rem!important;text-align:center!important}
}
@media screen and (max-width:700px){
  .contact-grid{grid-template-columns:minmax(0,1fr)!important}
  .contact-grid>*{min-width:0!important;max-width:100%!important}
}
@media screen and (min-width:901px) and (max-width:1100px){
  .utility-bar .container{box-sizing:border-box!important;max-width:100%!important}
  .utility-bar .util-left,.utility-bar .util-right{min-width:0!important;max-width:100%!important;flex-wrap:wrap!important;justify-content:center!important}
}
/* R46 narrow-desktop/tablet header containment correction — 2026-10-07 */
@media screen and (min-width:601px) and (max-width:700px){
  .site-header .header-inner{box-sizing:border-box!important;max-width:100%!important;gap:.5rem!important;padding-left:.75rem!important;padding-right:.75rem!important}
  .site-header .logo-link{min-width:0!important;flex:1 1 auto!important}
  .site-header .logo-text,.site-header .brand-text{min-width:0!important}
  .site-header .logo-text .tagline,.site-header .brand-text .brand-tag{display:none!important}
  .site-header .atb-language-flags{flex:0 0 auto!important;margin-left:auto!important;gap:.12rem!important}
  .site-header .mobile-toggle{flex:0 0 44px!important;min-width:44px!important}
}
/* R46 tablet footer row-balance refinement — 2026-10-07 */
@media screen and (min-width:641px) and (max-width:919px){
  .site-footer .footer-grid .footer-col{flex:0 1 180px!important;min-width:160px!important;max-width:200px!important}
}

/* Keep all five mobile action labels within their own columns. */
@media screen and (max-width:600px){html body .atb-app-dock a>span:not(.sr-only),html body .atb-special-dock a>span:not(.sr-only){font-size:clamp(10px,3vw,12px)!important;line-height:1.15!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}}
