/*!
 * Liberamondo 7.2.1 — Clean, reference-height shared hero.
 * Read DESIGN.md. No Elementor content migration and no change to Consulenza.
 * Geometry follows the static Consulenza hero: 390px, 45/42px vertical inset.
 */
body.lmb-shared-page-720 .elementor .lmb-shared-hero-720,
body.lmb-shared-page-720 .lmb-site #lmb-main .lmb-shared-hero-720.lmb-hero,
body.lmb-shared-page-720.lmb-page .lmb-site[data-lmb-page="eventi"] #lmb-main .lmb-events-intro.lmb-shared-hero-720 {
  box-sizing:border-box!important;
  height:390px!important;
  min-height:390px!important;
  max-height:390px!important;
  padding:45px max(5vw,calc((100vw - 1170px)/2)) 42px!important;
  overflow:hidden!important;
  isolation:isolate;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Leave the real Elementor photo in place and completely still.
   The reference's dark left-to-right contrast gradient is retained. */
body.lmb-shared-page-720 .lmb-shared-hero-720 > .lmb-shared-photo-720,
body.lmb-shared-page-720 .lmb-shared-hero-720 > .lmb-shared-photo-720 img {
  filter:none!important;
  box-shadow:none!important;
  opacity:1!important;
  animation:none!important;
  transform:none!important;
}
body.lmb-shared-page-720 .elementor .lmb-shared-hero-720::before,
body.lmb-shared-page-720 .lmb-site #lmb-main .lmb-shared-hero-720::before,
body.lmb-shared-page-720.lmb-page .lmb-site[data-lmb-page="eventi"] #lmb-main .lmb-events-intro.lmb-shared-hero-720::before {
  content:""!important;
  display:block!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  background:linear-gradient(90deg,
    rgba(1,48,67,.99) 0%,
    rgba(3,57,74,.96) 21%,
    rgba(2,50,68,.75) 39%,
    rgba(2,44,62,.35) 61%,
    rgba(2,30,44,.72) 100%)!important;
  filter:none!important;
  backdrop-filter:none!important;
  opacity:1!important;
  z-index:1!important;
  pointer-events:none!important;
}
/* The white/nav wave is outside the hero; the reference has a straight lower edge. */
body.lmb-shared-page-720 .elementor .lmb-shared-hero-720::after,
body.lmb-shared-page-720 .lmb-site #lmb-main .lmb-shared-hero-720::after {
  content:none!important;
  display:none!important;
  background:none!important;
}

/* The old flight scene painted faux clouds, radial white fog and a glow.
   Keep only the chosen user image; do not affect real clouds in a photo. */
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-horizon,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-scene-cloud,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-cloud,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-clouds,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-official-cloud-layer,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-official-cloud,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-scroll-hint {
  display:none!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flight::before,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flight::after {
  content:none!important;
  display:none!important;
  background:none!important;
  animation:none!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer img {
  filter:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  background:transparent!important;
}

/* Prevent the legacy Laura 540px flight from stretching a 390px hero.
   IMPORTANT: never override transforms on .lmb-flyer — they are set on scroll. */
body.lmb-shared-page-720 .lmb-site #lmb-main .lmb-shared-hero-720 .lmb-hero-columns {
  box-sizing:border-box!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  align-items:center!important;
  gap:clamp(18px,3vw,48px)!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flight,
body.lmb-shared-page-720 .lmb-site[data-lmb-page="laura"] #lmb-main .lmb-shared-hero-720 .lmb-flight,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-shared-flight-720 {
  box-sizing:border-box!important;
  min-height:0!important;
  height:100%!important;
  max-height:100%!important;
  align-self:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-shared-copy-720,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-hero-copy {
  min-height:0!important;
  max-height:100%!important;
  justify-content:center!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer {
  width:min(100%,420px)!important;
  max-width:420px!important;
  height:auto!important;
  max-height:100%!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer img {
  max-height:294px!important;
  width:100%!important;
  height:auto!important;
  object-fit:contain!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 h1,
body.lmb-shared-page-720 .lmb-shared-hero-720 h1.elementor-heading-title {
  font-size:clamp(40px,4.5vw,64px)!important;
  line-height:1.02!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .elementor-widget-text-editor,
body.lmb-shared-page-720 .lmb-shared-hero-720 .elementor-widget-text-editor p,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-lead,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-lead p {
  font-size:clamp(16px,1.35vw,19px)!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-shared-copy-720 {
  gap:7px!important;
}
/* Keep an explicit two-column event hero even if old Eventi CSS is cached. */
body.lmb-shared-page-720.lmb-page .lmb-site[data-lmb-page="eventi"] #lmb-main .lmb-events-intro.lmb-shared-hero-720 {
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;
  gap:clamp(18px,3vw,48px)!important;
  align-items:center!important;
}

@media (max-width:940px) {
  /* On narrow screens keep all text and the animated image visible, not clipped
     into a forced desktop-height box. */
  body.lmb-shared-page-720 .elementor .lmb-shared-hero-720,
  body.lmb-shared-page-720 .lmb-site #lmb-main .lmb-shared-hero-720.lmb-hero,
  body.lmb-shared-page-720.lmb-page .lmb-site[data-lmb-page="eventi"] #lmb-main .lmb-events-intro.lmb-shared-hero-720 {
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:38px 24px 34px!important;
  }
  body.lmb-shared-page-720 .lmb-shared-hero-720:not(.lmb-hero),
  body.lmb-shared-page-720 .lmb-site #lmb-main .lmb-shared-hero-720 .lmb-hero-columns,
  body.lmb-shared-page-720.lmb-page .lmb-site[data-lmb-page="eventi"] #lmb-main .lmb-events-intro.lmb-shared-hero-720 {
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  body.lmb-shared-page-720 .lmb-site #lmb-main .lmb-shared-hero-720 .lmb-hero-columns,
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flight,
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-shared-flight-720 {
    height:auto!important;
    max-height:none!important;
  }
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flight,
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-shared-flight-720 {
    min-height:160px!important;
    max-height:220px!important;
  }
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer {
    width:min(80vw,340px)!important;
    max-width:340px!important;
  }
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer img {
    max-height:205px!important;
  }
}
@media (max-width:560px) {
  body.lmb-shared-page-720 .elementor .lmb-shared-hero-720,
  body.lmb-shared-page-720 .lmb-site #lmb-main .lmb-shared-hero-720.lmb-hero,
  body.lmb-shared-page-720.lmb-page .lmb-site[data-lmb-page="eventi"] #lmb-main .lmb-events-intro.lmb-shared-hero-720 {
    padding:34px 20px 30px!important;
  }
  body.lmb-shared-page-720 .lmb-shared-hero-720 h1,
  body.lmb-shared-page-720 .lmb-shared-hero-720 h1.elementor-heading-title {
    font-size:clamp(33px,8.5vw,44px)!important;
    line-height:1.06!important;
  }
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flight,
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-shared-flight-720 {
    min-height:145px!important;
    max-height:190px!important;
  }
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer img {
    max-height:180px!important;
  }
}
/* Honor visitor's reduced-motion preferences; inherited 7.2 handlers do likewise. */
@media (prefers-reduced-motion:reduce) {
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer,
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer img {
    animation:none!important;
    transition:none!important;
    will-change:auto!important;
  }
}
