/* ── Slideshow hero ── */
.mn-slideshow {
  position: relative;
  min-height: 100vh;
  max-height: 900px;
  overflow: hidden;
  background: linear-gradient(135deg, #2C5F8A 0%, #3D7AB0 55%, #4A8BC2 100%);
}
.mn-slideshow-track { position: absolute; inset: 0; }
.mn-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 110px;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
  background: linear-gradient(135deg, #2C5F8A 0%, #3D7AB0 55%, #4A8BC2 100%);
  background-size: cover;
  background-position: center;
}
.mn-slide.attiva { opacity: 1; pointer-events: auto; z-index: 1; }
.mn-slide-overlay { position: absolute; inset: 0; background: rgba(10,22,40,0.55); pointer-events: none; }
.mn-slide-inner { position: relative; max-width: 720px; display: flex; flex-direction: column; align-items: center; }
.mn-slide-titolo {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.mn-slide .hero-desc { margin-bottom: 32px; }
.mn-slide-cta { text-decoration: none; }

/* Frecce e pallini (creati da slideshow.js) */
.mn-ss-nav {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 2;
}
.mn-ss-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.mn-ss-dot.attivo { background: #D4A843; border-color: #D4A843; }
.mn-ss-freccia {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 2;
  background: rgba(10,22,40,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
}
.mn-ss-freccia:hover { background: rgba(10,22,40,0.6); }
.mn-ss-prev { left: 20px; }
.mn-ss-next { right: 20px; }

/* ── Blocco statistiche ── */
.mn-stats {
  background: linear-gradient(135deg, #1E3A5F 0%, #2C5F8A 100%);
  padding: 44px 24px;
  display: flex;
  justify-content: center;
}

/* ── Dentro l'EDITOR: le slide si vedono impilate, non sovrapposte ── */
.editor-styles-wrapper .mn-slide { position: static; opacity: 1; pointer-events: auto; min-height: 320px; }
.editor-styles-wrapper .mn-slideshow-editor {
  border: 2px dashed #94a3b8;
  border-radius: 8px;
  padding: 12px;
}
.mn-slideshow-editor-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  margin-bottom: 10px;
}

/* ── Segnaposto nell'editor per le parti da database ── */
.mn-editor-placeholder {
  border: 2px dashed #94a3b8;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  background: rgba(148,163,184,0.08);
}

/* Nota-guida sotto l'anteprima dei blocchi "finestra" (solo editor) */
.mn-editor-nota {
  margin-top: 8px;
  padding: 10px 14px;
  background: rgba(37,99,235,0.08);
  border-left: 3px solid #2563EB;
  border-radius: 6px;
  font-size: 13px;
  color: #1e3a5f;
}
.mn-editor-nota a { font-weight: 700; }
