/**
 * UP Assicurazioni — visual polish 2026-10-26
 * Only photography and footer typography. No forms, navigation or product logic.
 */

/* Premium footer: readable legal line and links on navy. */
body.up-approved footer.up-site-footer{
  background:#143246!important;
  color:#eaf4f9!important;
}
body.up-approved footer.up-site-footer .up-footer-grid h3{
  color:#fff!important;
  font-size:clamp(23px,2vw,27px)!important;
  line-height:1.25!important;
  margin-bottom:17px!important;
}
body.up-approved footer.up-site-footer .up-footer-grid a,
body.up-approved footer.up-site-footer .up-footer-grid p{
  color:#edf5fa!important;
  font-size:14px!important;
  font-weight:450!important;
  line-height:1.85!important;
  opacity:1!important;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
body.up-approved footer.up-site-footer .up-footer-grid a:hover,
body.up-approved footer.up-site-footer .up-footer-grid a:focus-visible{
  color:#fff!important;
  text-decoration:underline!important;
}
body.up-approved footer.up-site-footer .up-footer-bottom{
  border-top:1px solid rgba(232,246,255,.30)!important;
  padding-top:22px!important;
  margin-top:40px!important;
  color:#e3eff7!important;
  opacity:1!important;
}
body.up-approved footer.up-site-footer .up-footer-bottom span{
  color:#e3eff7!important;
  opacity:1!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.8!important;
  letter-spacing:.01em!important;
}
body.up-approved footer.up-site-footer .up-back-top{
  background:#d9eaf4!important;
  color:#153247!important;
  font-size:18px!important;
}
body.up-approved footer.up-site-footer .up-back-top:hover{
  background:#fff!important;
}
@media(max-width:760px){
  body.up-approved footer.up-site-footer .up-footer-grid{gap:28px!important}
  body.up-approved footer.up-site-footer .up-footer-bottom{
    padding:22px 42px 0 0!important;
  }
  body.up-approved footer.up-site-footer .up-footer-bottom span{
    font-size:12px!important;
    line-height:1.75!important;
    text-align:left!important;
  }
}

/* Use original WordPress media attachment #2220 inside the EXISTING
 * premium hero photo boxes. The original shape, geometry, rounded edges,
 * shadows and mobile visibility are inherited from the theme unchanged.
 * The source includes left-side white space, so right align the crop.
 * Nothing here touches content, navigation, CTAs or WPForms.
 */
body.up-approved.up-premium-reference .up28-home .up28-hero-image,
body.up-approved.up-premium-reference main.up26-experience .up26-sp-hero::before{
  background-image:url("https://upassicurazioni.it/wp-content/uploads/2026/03/assicurazione.jpg")!important;
  background-size:cover!important;
  background-position:right center!important;
  background-repeat:no-repeat!important;
}


