/**
 * Liberamondo 7.2.2 — editable consulting markers and true side-by-side editorial content.
 * Loaded last; does not alter text, image sources, the header wave, or navigation.
 */

/* Historic 7.1 CSS generated decorative numbers via ::before, unlike the
   native Elementor Heading widgets in the Consulenza page. Remove only those. */
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:none!important;
  display:none!important;
  counter-increment:none!important;
}
/* The above numbering belongs to the presentation layer only; do not remove
   hand-authored timeline dates, Elementor Icon widgets, or photo decorations. */

/* On consulting, the .lmb-peer-number container Background/Border panels
   edit the disc, while its nested Heading widget edits the number. */
body.lmb-peer-live .lmb-peer-root .lmb-peer-number {
  overflow:visible;
  aspect-ratio:1 / 1;
}
body.lmb-peer-live .lmb-peer-root .lmb-peer-number .elementor-widget-heading {
  min-width:0;
  text-align:center;
}

/* Existing two-child image + text layouts: allow both to occupy one shared row.
   The JS marks ONLY verified Elementor containers; nothing is relocated in the DB. */
body.lmb-editorial-710 .lmb-media-copy-722,
body.lmb-page .lmb-site #lmb-main .lmb-media-copy-722,
body.lmb-official-page .lmb-media-copy-722 {
  box-sizing:border-box;
  display:grid!important;
  grid-template-columns:minmax(0,0.96fr) minmax(0,1.04fr)!important;
  align-items:center!important;
  gap:clamp(20px,3.6vw,56px)!important;
}
.lmb-media-copy-722 > .lmb-media-column-722,
.lmb-media-copy-722 > .lmb-copy-column-722 {
  box-sizing:border-box;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  align-self:center!important;
}
.lmb-media-copy-722 > .lmb-media-column-722 .elementor-widget-image,
.lmb-media-copy-722 > .lmb-media-column-722 .elementor-widget-container,
.lmb-media-copy-722 > .lmb-media-column-722 img,
.lmb-media-copy-722 > .lmb-media-column-722 .lmb-feature-image {
  max-width:100%;
}
.lmb-media-copy-722 > .lmb-media-column-722 img {
  display:block;
  width:100%;
  height:auto;
  border-radius:18px;
  object-fit:cover;
}
.lmb-media-copy-722 > .lmb-copy-column-722 > *:first-child {
  margin-top:0;
}
@media(max-width:767px) {
  body.lmb-editorial-710 .lmb-media-copy-722,
  body.lmb-page .lmb-site #lmb-main .lmb-media-copy-722,
  body.lmb-official-page .lmb-media-copy-722 {
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
  }
  .lmb-media-copy-722 > .lmb-media-column-722,
  .lmb-media-copy-722 > .lmb-copy-column-722 {
    max-width:100%!important;
  }
}
