/* VLF 12.14.44: IT ES PT TR — bottom legal footer menu ONLY.
   No visual changes to NL EN FR DE. No repositioning of WordPress links. */
body.vlf44-long-footer-nav :is(.site-footer,#colophon,.elementor-location-footer,[role="contentinfo"])
  :is(.vlf44-legal-nav, .footer-legal-links ul, .footer-legal ul, .footer-navigation ul,
  .footer-nav ul, .footer-menu-wrap ul, .ast-footer-menu-wrap ul, .footer-bottom-links ul,
  ul.ast-footer-menu, ul.footer-legal-menu, ul.footer-bottom-menu, ul[id*="menu-footer"],
  nav[aria-label*="legal" i] ul) {
  display:flex !important;
  flex-flow:row wrap !important;
  align-items:stretch !important;
  justify-content:center !important;
  gap:14px clamp(18px,2.8vw,42px) !important;
  width:100% !important;
  max-width:1160px !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  margin:0 auto !important;
  padding:12px 24px !important;
  list-style:none !important;
  overflow:visible !important;
}
body.vlf44-long-footer-nav .vlf44-legal-nav > :is(li, .menu-item, .wp-block-navigation-item, span, div, a),
body.vlf44-long-footer-nav :is(.site-footer,#colophon,.elementor-location-footer)
  :is(ul.ast-footer-menu,ul.footer-legal-menu,ul.footer-bottom-menu,ul[id*="menu-footer"]) > li {
  flex:0 1 auto !important;
  width:auto !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  text-align:center !important;
  list-style:none !important;
  box-sizing:border-box !important;
}
body.vlf44-long-footer-nav :is(.site-footer,#colophon,.elementor-location-footer,[role="contentinfo"])
  :is(.vlf44-legal-link,.vlf44-legal-nav a,.footer-legal-links a,.footer-legal a,
  .footer-navigation a,.footer-nav a,.footer-menu-wrap a,.ast-footer-menu-wrap a,
  .footer-bottom-links a,ul.ast-footer-menu a,ul.footer-legal-menu a,ul.footer-bottom-menu a) {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-height:42px !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
  padding:8px 3px !important;
  border:0 !important;
  background:transparent !important;
  color:#151619 !important;
  -webkit-text-fill-color:#151619 !important;
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:13px !important;
  font-weight:550 !important;
  line-height:1.5 !important;
  letter-spacing:0 !important;
  white-space:normal !important;
  text-align:center !important;
  overflow-wrap:break-word !important;
  word-break:normal !important;
  hyphens:auto !important;
  text-decoration:none !important;
  box-sizing:border-box !important;
}
body.vlf44-long-footer-nav .vlf44-legal-nav a:hover,
body.vlf44-long-footer-nav .vlf44-legal-nav a:focus-visible {
  color:#151619!important;
  -webkit-text-fill-color:#151619!important;
  text-decoration:underline!important;
  text-decoration-color:#812642!important;
  text-decoration-thickness:2px!important;
  text-underline-offset:4px!important;
}
/* If a theme uses a text widget instead of an actual menu, existing anchors
   receive independent click areas without modifying their parent DOM. */
body.vlf44-long-footer-nav .vlf44-legal-nav:not(ul):not(ol) > a.vlf44-legal-link {
  margin-inline:0!important;
}
@media(max-width:980px){
 body.vlf44-long-footer-nav :is(.site-footer,#colophon,.elementor-location-footer,[role="contentinfo"])
 :is(.vlf44-legal-nav,.footer-legal-links ul,.footer-legal ul,.footer-navigation ul,
 .footer-nav ul,.ast-footer-menu-wrap ul,ul.ast-footer-menu,ul.footer-legal-menu,ul.footer-bottom-menu) {
   gap:10px 22px!important;
   padding-inline:18px!important;
 }
 body.vlf44-long-footer-nav .vlf44-legal-nav > :is(li,.menu-item,.wp-block-navigation-item,span,div,a) {
   flex:0 1 calc(50% - 14px)!important;
 }
}
@media(max-width:600px){
 body.vlf44-long-footer-nav :is(.site-footer,#colophon,.elementor-location-footer,[role="contentinfo"])
 :is(.vlf44-legal-nav,.footer-legal-links ul,.footer-legal ul,.footer-navigation ul,
 .footer-nav ul,.ast-footer-menu-wrap ul,ul.ast-footer-menu,ul.footer-legal-menu,ul.footer-bottom-menu) {
   flex-direction:column!important;
   align-items:stretch!important;
   gap:4px!important;
   padding:10px 18px!important;
 }
 body.vlf44-long-footer-nav .vlf44-legal-nav > :is(li,.menu-item,.wp-block-navigation-item,span,div,a){
   width:100%!important;
   max-width:100%!important;
   flex:0 0 auto!important;
 }
 body.vlf44-long-footer-nav .vlf44-legal-nav a.vlf44-legal-link{
   display:flex!important;
   width:100%!important;
   min-height:44px!important;
   padding:9px 8px!important;
 }
}
/* Specificity guard: legacy footer framework also uses !important on mobile. */
@media (max-width:600px) {
  body.vlf44-long-footer-nav:not(.wp-admin) :is(.site-footer,#colophon,.elementor-location-footer,[role="contentinfo"])
  .vlf44-legal-nav.vlf44-legal-nav {
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    gap:4px!important;
  }
  body.vlf44-long-footer-nav:not(.wp-admin) :is(.site-footer,#colophon,.elementor-location-footer,[role="contentinfo"])
  .vlf44-legal-nav.vlf44-legal-nav > :is(li,.menu-item,.wp-block-navigation-item,span,div,a) {
    flex:0 0 auto!important;
    width:100%!important;
    max-width:100%!important;
  }
}


/* VLF 12.14.45 — IT / ES / PT / TR: legal links in normal sentence case.
   Scoped to the translated bottom legal footer; no effects on other languages,
   social icons, footer-directory headings or campaign banners. */
body.vlf44-long-footer-nav:not(.wp-admin)
  :is(.site-footer,#colophon,.elementor-location-footer,[role="contentinfo"])
  :is(.vlf44-legal-nav,.footer-legal-links,.footer-legal,.footer-navigation,
      .footer-nav,.footer-menu-wrap,.ast-footer-menu-wrap,.footer-bottom-links,
      ul.ast-footer-menu,ul.footer-legal-menu,ul.footer-bottom-menu,ul[id*="menu-footer"]),
body.vlf44-long-footer-nav:not(.wp-admin)
  :is(.site-footer,#colophon,.elementor-location-footer,[role="contentinfo"])
  :is(.vlf44-legal-nav,.footer-legal-links,.footer-legal,.footer-navigation,
      .footer-nav,.footer-menu-wrap,.ast-footer-menu-wrap,.footer-bottom-links,
      ul.ast-footer-menu,ul.footer-legal-menu,ul.footer-bottom-menu,ul[id*="menu-footer"])
  :is(a,span,strong,em,small,li,.menu-item,.wp-block-navigation-item) {
    text-transform:none!important;
    font-variant:normal!important;
    font-variant-caps:normal!important;
    letter-spacing:normal!important;
}
/* Elementor can put the visible label one level below the anchor. */
body.vlf44-long-footer-nav:not(.wp-admin)
  :is(.site-footer,#colophon,.elementor-location-footer,[role="contentinfo"])
  .vlf44-legal-link,
body.vlf44-long-footer-nav:not(.wp-admin)
  :is(.site-footer,#colophon,.elementor-location-footer,[role="contentinfo"])
  .vlf44-legal-link * {
    text-transform:none!important;
    font-variant-caps:normal!important;
    letter-spacing:normal!important;
}
