/*!
 * Liberamondo 7.1.0 — editorial layout shared with "Consulenza alla pari".
 * Read DESIGN.md first. No widget/content substitution. Keep 3D flyer transforms.
 */
body.lmb-editorial-710 {
  --lmb-editorial-ink: #0d3154;
  --lmb-editorial-blue: #008eb6;
  --lmb-editorial-light: #edf8fd;
  --lmb-editorial-powder: #dff2f8;
  --lmb-editorial-border: #d9eaf1;
  --lmb-editorial-shadow: 0 12px 32px rgba(13,49,84,.07);
}

/* Unified editable hero. The actual photo is Elementor's Background image.
 * In particular, do not set background-image here: doing so would hide user
 * selections in Style → Background. The overlay is independent of that photo. */
body.lmb-editorial-710 .lmb-site .lmb-hero.lmb-native-sky-710,
body.lmb-editorial-710 .elementor .lmb-editorial-hero-710 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #dff2fc;
  border: 0;
  border-radius: 0;
}
body.lmb-editorial-710 .lmb-site .lmb-hero.lmb-native-sky-710 {
  padding: clamp(48px,5vw,82px) clamp(20px,4vw,64px) clamp(74px,8vw,110px) !important;
  min-height: min(720px, 75vw);
}
body.lmb-editorial-710 .lmb-site .lmb-hero.lmb-native-sky-710::before,
body.lmb-editorial-710 .elementor .lmb-editorial-hero-710::before {
  content: "";
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(249,252,255,.96) 0%,
    rgba(249,252,255,.86) 23%,
    rgba(248,252,255,.58) 46%,
    rgba(247,252,255,.18) 69%,
    rgba(248,252,255,0) 89%);
  opacity: 1;
  filter: none !important;
  z-index: 1;
}
body.lmb-editorial-710 .lmb-site .lmb-hero.lmb-native-sky-710 > .lmb-hero-columns,
body.lmb-editorial-710 .lmb-site .lmb-hero.lmb-native-sky-710 .lmb-hero-columns,
body.lmb-editorial-710 .elementor .lmb-editorial-hero-710 > .elementor-element {
  position: relative;
  z-index: 3;
}
body.lmb-editorial-710 .lmb-site .lmb-hero.lmb-native-sky-710::after {
  z-index: 2;
}
/* Preserve the interactive scene. Never set transform/animation on the flyer. */
body.lmb-editorial-710 .lmb-site .lmb-hero-columns {
  width: min(1180px, 100%) !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  gap: clamp(20px,4vw,58px);
}
body.lmb-editorial-710 .lmb-site .lmb-hero-copy {
  max-width: 575px;
}
body.lmb-editorial-710 .lmb-site .lmb-hero h1,
body.lmb-editorial-710 .lmb-site .lmb-hero h1.elementor-heading-title,
body.lmb-editorial-710 .elementor .lmb-editorial-hero-710 h1 {
  font-family: 'Archivo',system-ui,sans-serif;
  font-size: clamp(43px,5vw,70px);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.04;
  color: var(--lmb-editorial-ink);
}
body.lmb-editorial-710 .lmb-site .lmb-hero .lmb-lead,
body.lmb-editorial-710 .lmb-site .lmb-hero .lmb-lead p {
  font-size: clamp(18px,1.7vw,24px);
  line-height: 1.48;
  color: #315b78;
}

/* Editorial sections: same typography, scale, rhythm and soft alternating
 * backgrounds as the reference page. Existing content and image positions win. */
body.lmb-editorial-710 .lmb-site #lmb-main > .elementor,
body.lmb-editorial-710 .lmb-site #lmb-main {
  color: var(--lmb-editorial-ink);
}
body.lmb-editorial-710 .lmb-site #lmb-main .lmb-section:not(.lmb-timeline-section):not(.lmb-events-section),
body.lmb-editorial-710.lmb-official-page .lmb-official-section:not(.lmb-has-photo):not(.lmb-editorial-hero-710) {
  max-width: min(1180px, calc(100% - 38px));
  margin: clamp(18px,3vw,36px) auto !important;
  padding: clamp(28px,4vw,54px) clamp(20px,4vw,52px) !important;
  border-radius: clamp(16px,2vw,26px);
  border: 1px solid var(--lmb-editorial-border);
  background-color: #f4fbfe;
  background-image: linear-gradient(125deg,#eaf7fd,#ffffff 55%,#ecf7fb);
  box-shadow: var(--lmb-editorial-shadow);
}
body.lmb-editorial-710 .lmb-site #lmb-main .lmb-section:nth-of-type(even):not(.lmb-timeline-section):not(.lmb-events-section),
body.lmb-editorial-710.lmb-official-page .lmb-official-section.lmb-tone-paper:not(.lmb-has-photo) {
  background-image: linear-gradient(115deg,#ffffff 0%,#e9f6fc 100%);
}
body.lmb-editorial-710 .lmb-site #lmb-main .lmb-section h2,
body.lmb-editorial-710 .lmb-site #lmb-main .lmb-section h2.elementor-heading-title,
body.lmb-editorial-710.lmb-official-page .lmb-official-section h2 {
  font-family:'Archivo',system-ui,sans-serif;
  font-size:clamp(27px,3vw,40px);
  letter-spacing:-.038em;
  line-height:1.15;
  font-weight:800;
  color:var(--lmb-editorial-ink);
}
body.lmb-editorial-710 .lmb-site #lmb-main .lmb-section p,
body.lmb-editorial-710.lmb-official-page .lmb-official-section p {
  font-family:'Source Sans 3',system-ui,sans-serif;
  line-height:1.56;
}
body.lmb-editorial-710 .lmb-site #lmb-main .lmb-section .elementor-widget-image img,
body.lmb-editorial-710.lmb-official-page .lmb-official-section .elementor-widget-image img {
  max-width:100%;
  border-radius:clamp(12px,1.5vw,20px);
}
body.lmb-editorial-710 .lmb-site .lmb-card,
body.lmb-editorial-710 .lmb-site .lmb-event-card,
body.lmb-editorial-710.lmb-official-page .lmb-official-section .elementor-widget-image-box {
  border-radius:18px;
  border:1px solid #e2edf3;
  box-shadow:0 8px 24px rgba(19,69,97,.07);
}
body.lmb-editorial-710 .lmb-site .elementor-button,
body.lmb-editorial-710.lmb-official-page .elementor-widget-button .elementor-button {
  border-radius:100px;
  transition:background-color .2s ease, box-shadow .25s ease;
}
body.lmb-editorial-710 a:focus-visible,
body.lmb-editorial-710 button:focus-visible {
  outline:3px solid #008eb6;
  outline-offset:3px;
}

/* The genuine screenshot-matched peer page has its own, more precise styling.
 * Do not touch its full-image static hero or numbered card layout. */
body.lmb-peer-live.lmb-editorial-710 .lmb-peer-root {
  background:#fff;
}

/* Native Elementor background on pages not using the Bridge template.
 * Keep the existing hero children and editorial copy in exactly their order. */
body.lmb-editorial-710.lmb-official-page .elementor .lmb-editorial-hero-710 {
  min-height:clamp(360px,45vw,640px);
  padding-block:clamp(54px,7vw,100px);
  border-radius:0;
}
body.lmb-editorial-710.lmb-official-page .elementor .lmb-editorial-hero-710 h1 {
  max-width:700px;
}
body.lmb-editorial-710.lmb-official-page .elementor .lmb-editorial-hero-710 .lmb-flight,
body.lmb-editorial-710.lmb-official-page .elementor .lmb-editorial-hero-710 .lmb-flyer {
  position:relative;
  z-index:4;
}


/* Reference-style numbered chapter discs; purely decorative (not post content).
 * Exclude Laura's timeline and event cards, which already have their own markers. */
body.lmb-editorial-710:not(.lmb-peer-live) {
  counter-reset: lmbEditorialChapter;
}
body.lmb-editorial-710:not(.lmb-peer-live) .lmb-site #lmb-main .lmb-section:not(.lmb-timeline-section):not(.lmb-events-section),
body.lmb-editorial-710.lmb-official-page:not(.lmb-peer-live) .lmb-official-section:not(.lmb-has-photo):not(.lmb-editorial-hero-710) {
  counter-increment:lmbEditorialChapter;
}
body.lmb-editorial-710:not(.lmb-peer-live) .lmb-site #lmb-main .lmb-section:not(.lmb-timeline-section):not(.lmb-events-section)::before,
body.lmb-editorial-710.lmb-official-page:not(.lmb-peer-live) .lmb-official-section:not(.lmb-has-photo):not(.lmb-editorial-hero-710)::before {
  content: counter(lmbEditorialChapter, decimal-leading-zero);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  inset:auto;
  width:52px;
  height:52px;
  margin:0 0 12px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#d7eff3;
  color:#0c7184;
  font:750 21px 'Archivo',system-ui,sans-serif;
  line-height:1;
  box-shadow:none;
  opacity:1;
  z-index:3;
  pointer-events:none;
}
@media(max-width:600px) {
  body.lmb-editorial-710:not(.lmb-peer-live) .lmb-site #lmb-main .lmb-section:not(.lmb-timeline-section):not(.lmb-events-section)::before,
  body.lmb-editorial-710.lmb-official-page:not(.lmb-peer-live) .lmb-official-section:not(.lmb-has-photo):not(.lmb-editorial-hero-710)::before {
    width:44px;
    height:44px;
    font-size:19px;
    flex:0 0 44px;
    aspect-ratio:1;
    align-self:flex-start;
  }
}

/* Mobile: allow the title room and do not push the animated image offscreen. */
@media (max-width:940px) {
  body.lmb-editorial-710 .lmb-site .lmb-hero.lmb-native-sky-710 {
    padding:58px 22px 80px!important;
    min-height:0;
  }
  body.lmb-editorial-710 .lmb-site .lmb-hero-columns {
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
  }
  body.lmb-editorial-710 .lmb-site .lmb-hero.lmb-native-sky-710::before,
  body.lmb-editorial-710 .elementor .lmb-editorial-hero-710::before {
    background:linear-gradient(180deg,
      rgba(249,252,255,.90) 0%,
      rgba(249,252,255,.65) 45%,
      rgba(248,252,255,.09) 100%);
  }
}
@media (max-width:600px) {
  body.lmb-editorial-710 .lmb-site .lmb-hero h1,
  body.lmb-editorial-710 .lmb-site .lmb-hero h1.elementor-heading-title,
  body.lmb-editorial-710 .elementor .lmb-editorial-hero-710 h1 {
    font-size:clamp(34px,9.4vw,47px);
    line-height:1.09;
  }
  body.lmb-editorial-710 .lmb-site #lmb-main .lmb-section:not(.lmb-timeline-section):not(.lmb-events-section),
  body.lmb-editorial-710.lmb-official-page .lmb-official-section:not(.lmb-has-photo):not(.lmb-editorial-hero-710) {
    max-width:calc(100% - 20px);
    padding:26px 18px!important;
    margin:14px auto!important;
    border-radius:16px;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.lmb-editorial-710 .elementor-button {
    transition:none!important;
  }
}
