.emh-hero,.emh-hero *{box-sizing:border-box}
.emh-hero{position:relative;isolation:isolate;overflow:hidden;width:100%;min-height:var(--emh-min-height,500px);background:var(--emh-bg,#0B4276);border-radius:24px;color:#fff;font-family:inherit;box-shadow:0 18px 35px rgba(0,0,0,.09)}
.emh-track{position:relative;min-height:inherit}
.emh-slide{position:absolute;inset:0;min-height:inherit;display:flex;align-items:center;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .55s ease,visibility .55s ease}
.emh-slide:first-child{position:relative}
.emh-slide.is-active{visibility:visible;opacity:1;pointer-events:auto;z-index:1}
.emh-photo{position:absolute;right:0;top:0;bottom:0;width:62%;overflow:hidden;z-index:0;-webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.22) 20%,rgba(0,0,0,.78) 48%,#000 75%);mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.22) 20%,rgba(0,0,0,.78) 48%,#000 75%)}
.emh-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 30%,rgba(5,26,49,.08) 100%);pointer-events:none}
.emh-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.emh-content{position:relative;z-index:2;padding:60px 56px;max-width:770px;width:73%;text-align:left}
.emh-eyebrow{display:inline-flex;align-items:center;gap:7px;max-width:100%;margin-bottom:21px;padding:5px 12px;color:#d7e7ff;font-weight:500;font-size:12px;line-height:1.25;border:1px solid rgba(138,176,240,.2);border-radius:999px;background:#164a90}
.emh-eyebrow-icon{color:var(--emh-accent);font-size:13px;line-height:1}
.emh-title{margin:0!important;padding:0!important;font-family:inherit;font-size:clamp(34px,4.1vw,49px);line-height:.99;font-weight:800;letter-spacing:-.035em;text-transform:uppercase;color:#fff}
.emh-line-white,.emh-line-accent{display:block}
.emh-line-accent{color:var(--emh-accent);margin-top:4px}
.emh-description{font-family:inherit;font-size:16px;line-height:1.48;color:#dce8f4;max-width:600px;margin:22px 0 29px!important;font-weight:400}
.emh-button{display:inline-flex;align-items:center;justify-content:center;min-height:41px;padding:11px 24px!important;border-radius:40px!important;background:var(--emh-accent)!important;color:#081b2e!important;text-decoration:none!important;font-family:inherit;font-weight:800;font-size:12px;letter-spacing:.005em;line-height:1.3;text-transform:uppercase;border:0;box-shadow:none!important;transition:filter .2s,transform .2s}
.emh-button:hover,.emh-button:focus-visible{filter:brightness(1.08);transform:translateY(-1px);color:#081b2e!important}
.emh-controls{position:absolute;right:32px;bottom:26px;z-index:5;display:flex;align-items:center;gap:13px}
.emh-arrow{width:40px;height:40px;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.13)!important;color:#fff!important;display:grid;place-items:center;cursor:pointer;padding:0!important;box-shadow:none!important;transition:background .2s}
.emh-arrow:hover{background:rgba(255,255,255,.28)!important}
.emh-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.emh-dots{display:flex;align-items:center;gap:8px}
.emh-dot{display:block;width:12px;height:12px;min-width:12px;min-height:12px;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.34)!important;cursor:pointer;box-shadow:none!important}
.emh-dot.is-active{background:#fff!important}
.emh-arrow:focus-visible,.emh-dot:focus-visible,.emh-button:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:900px){.emh-content{width:78%;padding:50px 42px}.emh-title{font-size:clamp(32px,4.9vw,45px)}.emh-photo{width:67%}}
@media(max-width:640px){.emh-hero{min-height:510px;border-radius:18px}.emh-track,.emh-slide{min-height:510px}.emh-slide{align-items:flex-start}.emh-content{width:100%;max-width:none;padding:43px 25px 95px}.emh-title{font-size:clamp(30px,8.2vw,42px);line-height:1.02;letter-spacing:-.035em}.emh-description{font-size:14px;line-height:1.55;max-width:100%;margin:21px 0 25px!important}.emh-photo{width:100%;opacity:.23;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 100%);mask-image:linear-gradient(to bottom,transparent 0%,#000 100%)}.emh-eyebrow{font-size:11px;margin-bottom:20px}.emh-controls{right:20px;bottom:18px}.emh-arrow{width:36px;height:36px}.emh-button{font-size:11px;padding:11px 20px!important}}
@media(prefers-reduced-motion:reduce){.emh-slide,.emh-arrow,.emh-button{transition:none!important}}

/* v1.1.1 - prevent theme/Elementor heading colors overriding the slide palette. */
.emh-hero .emh-content h2.emh-title,
.emh-hero .emh-content h2.emh-title .emh-line-white {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  background-image:none !important;
  text-shadow:none;
}
.emh-hero .emh-content h2.emh-title .emh-line-accent {
  color:var(--emh-accent,#ffbd19) !important;
  -webkit-text-fill-color:var(--emh-accent,#ffbd19) !important;
  background-image:none !important;
}


/* v1.1.2: dimensioni titoli con priorita' sugli stili del tema e di Elementor. */
.emh-hero .emh-slide .emh-content h2.emh-title {
  font-size: 30px !important;
  line-height: 1.1 !important;
}
.emh-hero .emh-slide .emh-content h2.emh-title > span {
  font-size: inherit !important;
  line-height: inherit !important;
}
@media (min-width: 768px) {
  .emh-hero .emh-slide .emh-content h2.emh-title {
    font-size: 40px !important;
    line-height: 1.05 !important;
  }
}
@media (min-width: 1024px) {
  .emh-hero .emh-slide .emh-content h2.emh-title {
    font-size: 3rem !important;
    line-height: 1 !important;
  }
}

/* v1.1.3 — CTA secondaria opzionale per singola slide */
.emh-hero .emh-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;max-width:100%}
.emh-hero .emh-actions .emh-button{margin:0;white-space:normal;text-align:center}
.emh-hero .emh-actions .emh-button-secondary{background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.27)!important;color:#fff!important;font-weight:700}
.emh-hero .emh-actions .emh-button-secondary:hover,.emh-hero .emh-actions .emh-button-secondary:focus-visible{background:rgba(255,255,255,.22)!important;color:#fff!important}
@media(max-width:640px){.emh-hero .emh-actions{gap:10px}.emh-hero .emh-actions .emh-button{max-width:100%}}
