/*!
 * Liberamondo 7.2.0 · shared photographic Elementor hero.
 * Same editorial proportions as Consulenza alla pari.
 * All photographs are native Elementor Image widgets, never hard-coded CSS URLs.
 */
body.lmb-shared-page-720 {
  --lmb-shared-dark:#063447;
  --lmb-shared-ink:#ffffff;
  --lmb-shared-teal:#008eb6;
}

/* Full-width hero for either managed Bridge or the official Elementor pages. */
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 {
  box-sizing:border-box;
  width:100%!important;
  max-width:none!important;
  min-height:clamp(365px,32vw,470px)!important;
  margin:0!important;
  padding:clamp(46px,5vw,75px) max(22px,calc((100vw - 1160px)/2)) clamp(44px,5vw,74px)!important;
  background-color:var(--lmb-shared-dark)!important;
  background-image:none!important;
  isolation:isolate;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  position:relative!important;
  color:var(--lmb-shared-ink);
  font-family:'Source Sans 3',system-ui,sans-serif;
}

/* User-owned, editable image. The image widget is distinct from the moving
 * foreground: it is not transformed even while scrolling. */
body.lmb-shared-page-720 .lmb-shared-hero-720 > .lmb-shared-photo-720 {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  z-index:0!important;
  overflow:hidden!important;
  pointer-events:none;
  transform:none!important;
  animation:none!important;
}
body.lmb-shared-page-720 .lmb-shared-photo-720 .elementor-widget-container,
body.lmb-shared-page-720 .lmb-shared-photo-720 img {
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  min-height:100%;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  object-fit:cover!important;
  object-position:center center;
  transform:none!important;
  animation:none!important;
  filter:none!important;
}

/* Separate left-to-right photographic fade; text uses reference's white type. */
body.lmb-shared-page-720 .elementor .lmb-shared-hero-720::before,
body.lmb-shared-page-720 .lmb-site .lmb-shared-hero-720.lmb-hero::before {
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  background:linear-gradient(90deg,
    rgba(0,42,61,.97) 0%,
    rgba(0,50,66,.88) 25%,
    rgba(0,44,62,.63) 47%,
    rgba(0,41,56,.32) 71%,
    rgba(0,29,43,.46) 100%)!important;
  border:0!important;
  filter:none!important;
  opacity:1!important;
  z-index:1!important;
  pointer-events:none!important;
}
body.lmb-shared-page-720 .elementor .lmb-shared-hero-720::after,
body.lmb-shared-page-720 .lmb-site .lmb-shared-hero-720.lmb-hero::after {
  content:"";
  display:block!important;
  position:absolute!important;
  inset:auto 0 -2px 0!important;
  width:100%!important;
  height:clamp(19px,3.5vw,48px)!important;
  background:url('../img/hero-bottom-cut-570.svg') center bottom/100% 100% no-repeat!important;
  pointer-events:none!important;
  z-index:5!important;
  opacity:1!important;
  filter:none!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 > :not(.lmb-shared-photo-720) {
  position:relative;
  z-index:3;
}
body.lmb-shared-page-720 .lmb-site .lmb-shared-hero-720 .lmb-hero-columns {
  width:100%!important;
  max-width:1160px;
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;
  gap:clamp(16px,3vw,54px)!important;
  margin:0 auto!important;
  align-items:center!important;
  position:relative!important;
  z-index:3!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-shared-copy-720 {
  display:flex!important;
  flex-direction:column!important;
  gap:10px;
  max-width:580px;
  align-items:flex-start!important;
  justify-content:center;
  min-width:0!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720:not(.lmb-hero) {
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;
  align-items:center!important;
  gap:clamp(16px,3vw,54px)!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-hero-copy {
  max-width:580px;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 h1,
body.lmb-shared-page-720 .lmb-shared-hero-720 h1.elementor-heading-title {
  color:#ffffff!important;
  font-family:'Archivo',system-ui,sans-serif!important;
  font-size:clamp(40px,5vw,70px)!important;
  font-weight:850!important;
  letter-spacing:-.048em!important;
  line-height:1.03!important;
  max-width:620px;
  text-shadow:0 2px 18px rgba(0,20,38,.12);
}
body.lmb-shared-page-720 .lmb-shared-hero-720 h2,
body.lmb-shared-page-720 .lmb-shared-hero-720 h3,
body.lmb-shared-page-720 .lmb-shared-hero-720 h6,
body.lmb-shared-page-720 .lmb-shared-hero-720 .elementor-heading-title:not(h1) {
  color:#ffffff!important;
  font-family:'Archivo',system-ui,sans-serif;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 p,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-lead,
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 * {
  color:#ffffff!important;
  font-family:'Source Sans 3',system-ui,sans-serif;
  font-size:clamp(17px,1.55vw,22px);
  line-height:1.45;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-eyebrow {
  color:#b4ebff!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .elementor-button,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-button {
  border-radius:100px!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-shared-flight-720,
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flight {
  display:flex;
  justify-content:center;
  align-items:center;
  min-width:0;
  min-height:250px;
  z-index:4!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer {
  display:block!important;
  width:min(100%,440px)!important;
  max-width:440px!important;
  transform-style:preserve-3d;
  backface-visibility:hidden;
  will-change:transform;
  filter:drop-shadow(0 18px 27px rgba(0,20,38,.28));
}
body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer img {
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
}
body.lmb-shared-page-720 .lmb-shared-hero-720 a:focus-visible {
  outline:3px solid #6fe0ff;
  outline-offset:4px;
}

/* The Bridge's existing script owns GSAP motion. On regular Elementor pages
 * the new tiny script owns the transform, and never touches the background. */
body.lmb-shared-page-720:not(.lmb-page) .lmb-shared-hero-720 .lmb-flyer {
  transform:perspective(950px)
    translate3d(var(--lmb-fly-x-720,0px), var(--lmb-fly-y-720,0px),0)
    rotateY(var(--lmb-fly-ry-720,0deg))
    rotateZ(var(--lmb-fly-rz-720,0deg));
}
@media(max-width:940px) {
  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 {
    padding:70px 24px 60px!important;
    min-height:400px!important;
  }
  body.lmb-shared-page-720 .lmb-shared-hero-720:not(.lmb-hero),
  body.lmb-shared-page-720 .lmb-site .lmb-shared-hero-720 .lmb-hero-columns {
    grid-template-columns:1fr!important;
    gap:12px!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(36px,6.7vw,58px)!important;
  }
  body.lmb-shared-page-720 .elementor .lmb-shared-hero-720::before,
  body.lmb-shared-page-720 .lmb-site .lmb-shared-hero-720.lmb-hero::before {
    background:linear-gradient(180deg,
      rgba(0,38,57,.93) 0%,
      rgba(0,45,59,.85) 47%,
      rgba(0,33,54,.30) 100%)!important;
  }
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer {
    max-width:min(90vw,380px)!important;
  }
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flight {
    min-height:190px!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 {
    min-height:0!important;
    padding:60px 20px 52px!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,9vw,45px)!important;
    line-height:1.07!important;
  }
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer {
    max-width:min(84vw,330px)!important;
  }
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flight {
    min-height:150px!important;
  }
}
/* In the Elementor editor, select the image by Navigator or by clicking
 * the photograph. Keep the photo itself still and visible for editing. */
body.elementor-editor-active.lmb-shared-page-720 .lmb-shared-hero-720 > .lmb-shared-photo-720,
body.lmb-shared-page-720.elementor-editor-active .lmb-shared-hero-720 > .lmb-shared-photo-720 {
  pointer-events:auto!important;
}
@media(prefers-reduced-motion:reduce) {
  body.lmb-shared-page-720 .lmb-shared-hero-720 .lmb-flyer {
    transform:none!important;
    animation:none!important;
    transition:none!important;
    will-change:auto;
  }
}


/* Events used to have a high-specificity legacy "sky + flyer" painted in
 * ::before and flex-column rules. On a migrated Eventi page the new image
 * widgets must win, avoiding two visible flyers or a vertical desktop header. */
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;
  flex-direction:row!important;
  align-items:center!important;
  gap:clamp(16px,3vw,54px)!important;
  width:100%!important;
  min-height:clamp(365px,32vw,470px)!important;
  padding:clamp(46px,5vw,75px) max(22px,calc((100vw - 1160px)/2)) clamp(44px,5vw,74px)!important;
  background-color:var(--lmb-shared-dark)!important;
  background-image:none!important;
}
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;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  opacity:1!important;
  z-index:1!important;
  background:linear-gradient(90deg,
    rgba(0,42,61,.97),rgba(0,50,66,.88) 25%,
    rgba(0,44,62,.63) 47%,rgba(0,41,56,.32) 71%,
    rgba(0,29,43,.46))!important;
  pointer-events:none!important;
}
body.lmb-shared-page-720.lmb-page .lmb-site[data-lmb-page="eventi"] #lmb-main .lmb-events-intro.lmb-shared-hero-720 > .lmb-shared-photo-720 {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  z-index:0!important;
}
body.lmb-shared-page-720.lmb-page .lmb-site[data-lmb-page="eventi"] #lmb-main .lmb-events-intro.lmb-shared-hero-720 > .lmb-shared-copy-720 {
  max-width:600px!important;
  width:100%!important;
}
body.lmb-shared-page-720.lmb-page .lmb-site[data-lmb-page="eventi"] #lmb-main .lmb-events-intro.lmb-shared-hero-720 > .lmb-shared-flight-720 {
  max-width:none!important;
  width:100%!important;
}
@media(max-width:940px) {
  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;
    flex-direction:column!important;
    padding:70px 24px 60px!important;
    min-height:0!important;
  }
  body.lmb-shared-page-720.lmb-page .lmb-site[data-lmb-page="eventi"] #lmb-main .lmb-events-intro.lmb-shared-hero-720::before {
    background:linear-gradient(180deg,rgba(0,38,57,.93),rgba(0,45,59,.85) 47%,rgba(0,33,54,.3))!important;
  }
}
