
/* Slider (home) */
.lm-slider{position:relative;overflow:hidden;border-radius:16px;aspect-ratio:3/2;height:auto;background:transparent}
@supports not (aspect-ratio:1/1){.lm-slider::before{content:"";float:left;padding-top:calc(100%*2/3)}.lm-slider::after{content:"";display:block;clear:both}}
.lm-slide{position:absolute;inset:0;opacity:0;transition:opacity .45s ease}
.lm-slide.is-active{opacity:1}
.lm-slide img{width:100%;height:100%;object-fit:cover;display:block;backface-visibility:hidden;transform:translateZ(0)}
.lm-caption{position:absolute;left:6%;top:6%;z-index:2;color:#fff;display:flex;flex-direction:column;gap:.8em;text-shadow:0 1px 2px rgba(0,0,0,.5)}
.lm-logo{display:block;width:35%;height:auto;max-width:560px}
@media (max-width:640px){.lm-logo{width:58%;max-width:400px}}
.lm-caption .lm-payoff{margin:0 0 .5em 0;max-width:100%;font-size:clamp(18px,2.2vw,28px);line-height:1.32;font-style:italic;font-family: Georgia, 'Times New Roman', Times, serif}
.lm-caption .lm-payoff .lm-line1,.lm-caption .lm-payoff .lm-line2{display:block;white-space:nowrap}
@media (max-width:640px){.lm-caption{left:5%;top:5%}.lm-caption .lm-payoff{font-size:clamp(16px,4.5vw,22px)}}
.lm-buttons{margin-top:.25em;display:flex;gap:12px;flex-wrap:wrap}
.lm-buttons .wp-element-button{background:#C4A356 !important;color:#0C0C0C !important;border:0 !important;padding:.8em 1.2em;border-radius:999px;text-decoration:none}
.lm-buttons .wp-element-button:where(:hover,:focus){filter:brightness(0.96)}

/* Page Hero */
:root{--lm-hero-h-desktop:320px;--lm-hero-h-mobile:220px}
.lm-page-hero{position:relative;min-height:var(--lm-hero-h-desktop);padding:28px 6% 22px;border-bottom:1px solid #262626;}
.lm-page-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.20),rgba(0,0,0,.08));pointer-events:none}
.lm-hero-inner{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:0}
.lm-hero-left{display:flex;flex-direction:column;gap:10px;align-items:flex-start;margin:0;padding:0;max-width:none}
.lm-page-hero .lm-page-logo img{width:clamp(200px,28vw,520px)!important;height:auto!important;display:block}
.lm-page-hero p.lm-payoff{margin:2px 0 0 0;max-width:100%;font-size:clamp(18px,2.2vw,28px);line-height:1.32;font-style:italic;font-family: Georgia, 'Times New Roman', Times, serif}
.lm-page-hero p.lm-payoff .lm-line1,.lm-page-hero p.lm-payoff .lm-line2{display:block;white-space:nowrap}
.lm-hero-right{flex:1;display:flex;justify-content:flex-end;align-items:flex-start;text-align:right;margin:0;padding:0}
.lm-hero-right .wp-block-post-title{margin:0;font-size:clamp(28px,5vw,48px);line-height:1.1}
@media (max-width:840px){.lm-hero-inner{flex-direction:column;gap:12px}.lm-hero-right{text-align:left;justify-content:flex-start}}

/* Pagine 2 colonne, mobile testo->immagini */
.lm-page-wrap{padding:32px 6%}
.lm-two-col{display:grid;grid-template-columns:1fr;grid-template-areas:"right" "left";gap:28px}
.lm-col-left{grid-area:left;min-width:0}
.lm-col-right{grid-area:right;min-width:0}
@media (min-width:768px){
  .lm-two-col{grid-template-columns:1fr 2fr;grid-template-areas:"left right";align-items:start}
}
.lm-left-images{display:flex;flex-direction:column;gap:16px}
.lm-left-images img{width:100%;height:auto;display:block;border-radius:8px}
.lm-left-images figure{margin:0}
.lm-col-right .wp-block-post-content,.lm-col-right .wp-block-post-content > *{max-width:none}
.lm-col-right .wp-block-image img,.lm-col-right .wp-block-embed,.lm-col-right .wp-block-gallery{width:100%;height:auto}

/* Header minimale */
.lm-topbar{padding:0;margin:0;height:0;overflow:hidden}
