/*
Theme Name: Margaret Lumetta Atelier
Theme URI: https://example.org/
Author: Custom Studio
Description: Tema vetrina originale per violinista, responsive e personalizzabile.
Version: 64.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: margaret-lumetta
*/
:root{--bg:#101013;--surface:#19191d;--cream:#f4eee4;--muted:#c1b9ad;--gold:#c9a977}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--cream);font-family:Arial,Helvetica,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.site-header{position:absolute;z-index:20;top:0;left:0;width:100%;padding:26px 6%;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#09090b99,transparent)}.brand{font-family:Georgia,serif;font-size:clamp(18px,2.2vw,28px);letter-spacing:.14em;text-transform:uppercase}.nav-links{display:flex;gap:26px;list-style:none;margin:0;padding:0}.nav-links a{font-size:12px;letter-spacing:.16em;text-transform:uppercase}.nav-links a:hover,.eyebrow{color:var(--gold)}.menu-toggle{display:none;background:transparent;color:white;border:1px solid #ffffff80;padding:9px 12px}.hero{min-height:95svh;position:relative;display:flex;align-items:center;justify-content:center;text-align:center;padding:140px 22px 90px;background:linear-gradient(90deg,#09090bc9,#09090b58),linear-gradient(0deg,#101013,transparent 30%),var(--hero-image,linear-gradient(125deg,#28252a,#131318));background-position:center;background-size:cover}.hero-inner{max-width:850px}.eyebrow{text-transform:uppercase;letter-spacing:.34em;font-size:12px;font-weight:bold}.hero h1{font-family:Georgia,serif;font-weight:normal;font-size:clamp(54px,10vw,125px);line-height:1.04;margin:20px 0}.hero p{font-family:Georgia,serif;font-style:italic;font-size:clamp(18px,2.3vw,26px);color:#eee5d8}.btn{display:inline-block;border:1px solid var(--gold);padding:14px 26px;margin:16px 8px 0;text-transform:uppercase;letter-spacing:.18em;font-size:11px;transition:.25s}.btn:hover{background:var(--gold);color:#101013}.btn.filled{background:var(--gold);color:#101013}.btn.filled:hover{background:transparent;color:var(--cream)}.section{padding:105px 7%;max-width:1450px;margin:auto}.section-title{font:normal clamp(36px,5vw,66px) Georgia,serif;margin:12px 0 28px}.section-lead{max-width:650px;color:var(--muted);font-size:17px}.split{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}.portrait{min-height:480px;background:linear-gradient(145deg,#393136,#15151a);display:flex;align-items:center;justify-content:center;color:#a69a8e;font-family:Georgia,serif;font-style:italic;text-align:center;padding:35px}.portrait img{width:100%;height:100%;max-height:680px;object-fit:cover}.dark-section{background:var(--surface)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:40px}.music-card{background:#232228;padding:18px}.cover{aspect-ratio:1/1;background:linear-gradient(135deg,#4c3e3d,#191a25);display:flex;align-items:center;justify-content:center;font:italic 28px Georgia,serif;color:#e5d3b9;overflow:hidden}.cover img{width:100%;height:100%;object-fit:cover}.music-card h3{font:normal 25px Georgia,serif;margin:20px 0 5px}.music-card p{color:var(--muted);font-size:14px}.video-frame{aspect-ratio:16/9;background:#242329;display:grid;place-items:center;margin-top:38px}.video-frame iframe{width:100%;height:100%;border:0}.events{margin-top:40px;border-top:1px solid #ffffff35}.event{display:grid;grid-template-columns:160px 1fr auto;align-items:center;gap:22px;border-bottom:1px solid #ffffff35;padding:24px 0}.event time{color:var(--gold)}.event h3{font:normal 24px Georgia,serif;margin:0}.event p{margin:5px 0;color:var(--muted)}.contact{text-align:center;max-width:800px}.contact .section-lead{margin:0 auto}.footer{padding:35px 7%;border-top:1px solid #ffffff25;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:13px}.socials{display:flex;gap:18px;flex-wrap:wrap}.reveal{opacity:0;transform:translateY(18px);transition:opacity .8s,transform .8s}.reveal.visible{opacity:1;transform:none}@media(max-width:800px){.site-header{padding:18px 5%;align-items:flex-start}.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:70px;left:0;width:100%;background:#121215f5;padding:24px}.site-nav.open{display:block}.nav-links{flex-direction:column;gap:18px}.split{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.section{padding:75px 6%}.portrait{min-height:320px}.event{grid-template-columns:1fr;gap:6px}.footer{flex-direction:column}.hero{min-height:90svh}}@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}}

.inner-page{min-height:80vh}.page-banner{min-height:370px;padding:165px 7% 65px;background:linear-gradient(120deg,#26232b,#111114);text-align:center}.page-banner h1{font:normal clamp(52px,8vw,104px) Georgia,serif;margin:10px 0}.page-body{min-height:400px}.page-body .split{padding:0}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:40px 0}.photo-grid img{width:100%;height:310px;object-fit:cover;display:block;transition:transform .3s}.photo-grid a{overflow:hidden}.photo-grid a:hover img{transform:scale(1.04)}.page-body .wp-block-embed iframe{max-width:100%}@media(max-width:800px){.photo-grid{grid-template-columns:repeat(2,1fr)}.photo-grid img{height:190px}.page-banner{min-height:290px;padding-top:125px}}
/* Identità Margaret Lumetta: nero, bianco ghiaccio, ciano luminoso */
:root{--bg:#030507;--surface:#0b1116;--cream:#f4f9fb;--muted:#aebdc4;--gold:#53d9e9}
body{font-family:'Montserrat',Arial,sans-serif;background:#030507}
.brand,.hero h1,.section-title,.page-banner h1,.music-card h3,.event h3{font-family:'Cormorant Garamond',Georgia,serif}
.brand{text-transform:none;letter-spacing:.015em;font-size:clamp(24px,2.5vw,36px)}
.hero{background:linear-gradient(180deg,#020407dd,#02040788 65%,#030507),var(--hero-image,linear-gradient(125deg,#07121b,#020407));}
.hero-inner:before{content:"";display:block;width:min(72vw,570px);height:270px;margin:0 auto -5px;background:url('assets/images/onda-margaret.png') center/contain no-repeat;filter:drop-shadow(0 0 16px #20b9d455)}
.hero h1{font-size:clamp(65px,10vw,136px);font-weight:400;letter-spacing:.012em}
.hero .eyebrow,.eyebrow{color:#8eeaf2;letter-spacing:.36em}
.hero p{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(22px,2.6vw,33px);color:#d8e7ec}
.btn{border-color:#54d9e8}.btn.filled{background:#4ad4e4;color:#001217}.btn:hover{background:#4ad4e4;color:#001217}
.portrait,.cover,.page-banner{background:linear-gradient(145deg,#112630,#05090d)}
.music-card{background:#101b21}
@media(max-width:800px){.hero-inner:before{height:185px;width:90vw}}

/* Homepage carousel: first video, then photographic slides */
.mv-carousel{position:relative;isolation:isolate;min-height:100svh;overflow:hidden;background:#020507;display:flex;align-items:center;justify-content:center}
.mv-slides,.mv-slide,.mv-carousel-shade{position:absolute;inset:0}
.mv-slide{opacity:0;visibility:hidden;transition:opacity 1s ease,visibility 1s;z-index:0}
.mv-slide.active{opacity:1;visibility:visible;z-index:1}
.mv-slide video,.mv-slide img{width:100%;height:100%;object-fit:cover;display:block}
.mv-carousel-shade{z-index:2;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.68),rgba(0,0,0,.15) 75%),linear-gradient(0deg,rgba(0,0,0,.62),transparent 40%)}
.mv-hero-overlay{position:relative;z-index:3;width:min(1100px,90vw);text-align:left;margin:auto;padding:130px 0 110px}
.mv-hero-overlay:before{display:none!important}
.mv-hero-overlay h1{font-size:clamp(64px,9vw,128px);line-height:.95;max-width:850px;text-shadow:0 2px 30px #0009}
.mv-hero-overlay p{max-width:640px}
.mv-fallback-art{width:100%;height:100%;background:radial-gradient(ellipse at 50% 40%,#0c3444,#03080c 65%),url('assets/images/onda-margaret.png') center/70% auto no-repeat}
.mv-fallback-art:after{content:'';position:absolute;inset:0;background:url('assets/images/onda-margaret.png') center/65% auto no-repeat;opacity:.55}
.mv-arrow,.mv-pause,.mv-dot{cursor:pointer;color:white;background:rgba(0,0,0,.3);border:1px solid #ffffff77}
.mv-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;border-radius:50%;width:45px;height:45px;font-size:22px}
.mv-prev{left:22px}.mv-next{right:22px}
.mv-dots{position:absolute;z-index:5;bottom:35px;left:50%;transform:translateX(-50%);display:flex;gap:12px}
.mv-dot{width:10px;height:10px;border-radius:50%;padding:0}.mv-dot.active{background:#56dceb;border-color:#56dceb}
.mv-pause{position:absolute;z-index:5;right:28px;bottom:25px;border-radius:50%;width:39px;height:39px;font-size:12px}
@media(max-width:760px){.mv-hero-overlay{text-align:center;padding:140px 0 120px}.mv-hero-overlay h1{font-size:clamp(55px,14vw,88px)}.mv-carousel-shade{background:linear-gradient(0deg,#000b,#0003 70%)}.mv-arrow{width:34px;height:34px}.mv-prev{left:8px}.mv-next{right:8px}}
@media(prefers-reduced-motion:reduce){.mv-slide{transition:none}}

/* Header editoriale a due livelli, ispirato alla struttura del riferimento */
.site-header{position:relative!important;z-index:30;width:100%;padding:0!important;display:block!important;background:#030507!important}
.header-main{min-height:132px;display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;padding:16px 5%;border-bottom:1px solid #21313a}
.header-social{display:flex;gap:22px;align-items:center}
.header-social a{font-size:22px;color:#e4f7fa}
.header-social a:hover{color:#4ad4e4}
.site-header .brand{display:block;text-align:center;font:400 clamp(34px,4vw,57px)/1.03 'Cormorant Garamond',Georgia,serif!important;letter-spacing:.075em!important;text-transform:none!important;color:#f2f9fb}
.site-header .brand span{display:block;margin-top:11px;font:400 11px/1.5 Montserrat,Arial,sans-serif;letter-spacing:.48em;color:#a8c5ce}
.header-right{text-align:right;font-size:10px;letter-spacing:.17em;color:#89aeb9}
.site-nav{display:block;background:#070c10;border-bottom:1px solid #26353d}
.nav-links{display:flex;justify-content:center;gap:clamp(16px,3vw,48px);padding:21px 15px!important}
.nav-links a{font:500 11px/1.5 Montserrat,Arial,sans-serif;letter-spacing:.13em;color:#e7f1f4}
.nav-links a:hover{color:#4ad4e4}
.mv-carousel{min-height:calc(100svh - 197px)!important}
.mv-hero-overlay{padding:100px 0!important}
.mv-hero-overlay h1{font-size:clamp(55px,7vw,100px)!important}
.mv-video-placeholder{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(ellipse at 70% 45%,#124653,#07151c 48%,#020507 85%)}
.mv-video-placeholder .preview-wave{width:65%;height:65%;object-fit:contain;opacity:.6;filter:drop-shadow(0 0 24px #1ad3e766)}
.mv-video-label{position:absolute;right:7%;bottom:11%;font:500 11px Montserrat,Arial,sans-serif;letter-spacing:.2em;color:#bdeef4}
@media(max-width:800px){
.header-main{min-height:94px;grid-template-columns:1fr auto 1fr;padding:12px 4%}
.header-social{gap:10px}.header-social a{font-size:17px}
.site-header .brand{font-size:clamp(25px,5vw,37px)!important}
.site-header .brand span{font-size:8px;letter-spacing:.28em}
.header-right>span{display:none}.menu-toggle{display:inline-block;position:static}
.site-nav{display:none}.site-nav.open{display:block;position:relative;top:auto;padding:15px}
.nav-links{flex-direction:column;gap:15px}
.mv-carousel{min-height:calc(100svh - 95px)!important}
}

/* Margaret Lumetta — performer edition */
.ml-header-logo{max-width:320px;max-height:105px;object-fit:contain;display:block;margin:auto}
.ml-wave-mark{display:block;width:110px;height:34px;background:url('assets/images/onda-margaret.png') center/contain no-repeat;margin:0 auto -5px}
.ml-services-strip{display:grid;grid-template-columns:repeat(4,1fr);background:#050a0e;border-block:1px solid #27444c;padding:23px 5%;gap:16px}
.ml-services-strip a{display:flex;gap:17px;align-items:center;color:#46d9e8;text-decoration:none;font-size:32px;border-right:1px solid #28404b}
.ml-services-strip a:last-child{border:0}.ml-services-strip span{display:flex;flex-direction:column;gap:5px}.ml-services-strip b{font:500 13px Montserrat,Arial,sans-serif;text-transform:uppercase;color:white}.ml-services-strip small{font:400 11px Montserrat,Arial,sans-serif;color:#a8bbc3}
.ml-event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0}.ml-event-card{color:white;text-decoration:none;background:#0a161c}.ml-event-card h3{font:400 24px 'Cormorant Garamond',Georgia,serif;padding:15px 20px;margin:0}.ml-event-image{height:230px;background:linear-gradient(135deg,#123844,#050a0e);display:grid;place-items:center;color:#91bbc4;overflow:hidden}.ml-event-image img{width:100%;height:100%;object-fit:cover}.ml-event-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.ml-event-bottom p{color:#b9cbd1}
.ml-video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:20px 0}.ml-video-grid .video-frame{min-height:180px;aspect-ratio:16/9;display:grid;place-items:center}.ml-video-grid iframe{width:100%;height:100%;border:0}.ml-photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:25px 0}.ml-photo-grid>div{aspect-ratio:4/3;background:linear-gradient(135deg,#163d4b,#061016);display:grid;place-items:center;color:#a4c3cd}.ml-photo-grid img{width:100%;height:100%;object-fit:cover}
.ml-contact-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:8%;align-items:start}.ml-contact-form{display:grid;gap:12px}.ml-contact-form label{display:grid;gap:5px;font:400 12px Montserrat,Arial,sans-serif;color:#d4e9ed}.ml-contact-form input,.ml-contact-form textarea,.ml-contact-form select{width:100%;padding:13px 15px;background:#071117;border:1px solid #53727b;border-radius:0;color:#f5fbfd;font:400 14px Montserrat,Arial,sans-serif}.ml-contact-form .ml-privacy{display:flex;align-items:center;gap:10px}.ml-contact-form .ml-privacy input{width:auto}.ml-contact-form .ml-honey{position:absolute;left:-9999px}.ml-contact-form button{cursor:pointer;text-transform:uppercase}.ml-event-detail{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin:35px 0 65px;scroll-margin-top:25px}.ml-event-detail .ml-event-image{height:300px}.ml-event-detail h2{font:400 45px 'Cormorant Garamond',Georgia,serif}
@media(max-width:800px){.ml-services-strip{grid-template-columns:1fr 1fr}.ml-services-strip a{border:0;font-size:24px}.ml-event-grid,.ml-video-grid,.ml-contact-layout,.ml-event-detail{grid-template-columns:1fr}.ml-photo-grid{grid-template-columns:1fr 1fr}.ml-event-image{height:200px}.ml-header-logo{max-width:200px}.ml-event-detail .ml-event-image{height:220px}}

/* Dissolvenza morbida sul posto: nessuno spostamento */
@media (prefers-reduced-motion: no-preference) {
  .ml-scroll-reveal {opacity:0;transform:none!important;transition:opacity 1000ms ease-in-out;transition-delay:var(--ml-delay,0ms)}
  .ml-scroll-reveal.ml-is-visible {opacity:1;transform:none!important}
}
@media (prefers-reduced-motion: reduce) {
  .ml-scroll-reveal {opacity:1!important;transform:none!important;transition:none!important}
}

/* Demo content shipped with the theme: real media can be replaced in Customizer */
.ml-demo-video-note{position:absolute;bottom:70px;right:7%;z-index:2;background:#021016b9;border:1px solid #54dbe9;padding:8px 14px;color:#bff6fa;font:500 11px Montserrat,Arial,sans-serif;letter-spacing:.13em}
.ml-video-poster{position:relative;width:100%;height:100%;min-height:180px;overflow:hidden}
.ml-video-poster img{width:100%;height:100%;object-fit:cover;display:block;filter:brightness(.8)}
.ml-video-poster span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:58px;height:58px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;color:white;font-size:22px;background:#00131c55}
.mv-slide img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:800px){.ml-demo-video-note{bottom:75px;right:5%;font-size:9px}}

/* Versione 2.3: contenuti visibili anche quando JavaScript non parte. */
.reveal:not(.ml-scroll-reveal){opacity:1;transform:none}

/* Demo video: mantiene la copertina mentre il video carica */
.mv-slide video{width:100%;height:100%;object-fit:cover}

/* Biografia estesa */
.ml-biography-text p{margin:0 0 1.15em;line-height:1.85;max-width:72ch}

/* Biography paragraphs in dedicated template */
.ml-biography-text p { margin: 0 0 1.35rem; line-height: 1.85; }

/* Contatti: spazio e leggibilità nella pagina dedicata */
.ml-contact-page .ml-contact-layout{padding-top:25px;padding-bottom:55px}
.ml-contact-page .ml-contact-form{max-width:650px;width:100%}
.ml-contact-form input:focus,.ml-contact-form select:focus,.ml-contact-form textarea:focus{outline:2px solid #6ad4de;outline-offset:2px}
@media(max-width:800px){.ml-contact-page .ml-contact-layout{grid-template-columns:1fr;gap:30px}}

/* V7: icone social autentiche, cliccabili solo con URL configurato. */
.header-social{display:flex;align-items:center;gap:15px;min-width:0;flex-wrap:wrap}
.header-social a{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;color:#e7f6fa;transition:color .25s ease,opacity .25s ease}
.header-social a:hover,.header-social a:focus-visible{color:#4ad4e4}
.header-social a svg{width:20px;height:20px;display:block}
.ml-social-empty{font:500 10px Montserrat,Arial,sans-serif;letter-spacing:.2em;color:#7495a1;text-transform:uppercase}
/* Tutte le sezioni: solo dissolvenza, senza movimenti verticali. */
@media (prefers-reduced-motion:no-preference){
 .ml-fade-section{opacity:0;transform:none!important;transition:opacity .95s ease-in-out;transition-delay:var(--ml-fade-delay,0ms)}
 .ml-fade-section.ml-fade-visible{opacity:1;transform:none!important}
}
@media (prefers-reduced-motion:reduce){.ml-fade-section{opacity:1!important;transform:none!important;transition:none!important}}
@media(max-width:800px){.header-social{gap:7px}.header-social a{width:23px;height:23px}.header-social a svg{width:17px;height:17px}}

/* V8 — social visibili a destra, anche prima di inserire gli URL */
.header-main>.brand{grid-column:2;grid-row:1;justify-self:center}
.header-main>.header-right{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:16px}
.header-right .header-social{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:nowrap}
.header-social .social-placeholder{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;color:#d9e8ec;opacity:.7;cursor:default}
.header-social .social-placeholder svg{width:20px;height:20px;display:block}
.header-social a:hover{transform:none}
@media(max-width:800px){.header-main>.header-right{gap:8px}.header-right .header-social{gap:5px}.header-social .social-placeholder{width:21px;height:21px}.header-social .social-placeholder svg{width:16px;height:16px}}
@media(max-width:520px){.header-main{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);padding-left:8px;padding-right:8px}.header-right .header-social{gap:2px}.header-social a,.header-social .social-placeholder{width:17px;height:19px}.header-social a svg,.header-social .social-placeholder svg{width:14px;height:14px}.header-main>.brand{min-width:0}}
/* V9: angolo superiore destro riservato esclusivamente ai social */
.header-main>.header-right{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;justify-content:flex-end}
.header-right>.header-social{margin:0;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap}
@media(max-width:800px){
 .header-main{position:relative}
 .header-main .menu-toggle{position:absolute;left:3%;bottom:-54px;z-index:25;margin:0}
 .header-main>.header-right{grid-column:3;grid-row:1}
}

/* V10: disposizione definitiva, logo centrato e SOLO social a destra */
.site-header .header-main{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:116px!important;padding:18px 210px!important}
.site-header .header-main>.brand{position:relative!important;display:block!important;flex:0 1 auto!important;text-align:center!important;margin:0 auto!important;max-width:100%!important}
.site-header .header-main>.header-right{position:absolute!important;right:4%!important;top:50%!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;width:auto!important;margin:0!important}
.site-header .header-right>.header-social{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:13px!important;flex-wrap:nowrap!important;visibility:visible!important;opacity:1!important}
.site-header .header-social>a,.site-header .header-social>.social-placeholder{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:27px!important;height:27px!important;opacity:1!important;visibility:visible!important}
.site-header .header-social svg{display:block!important;width:21px!important;height:21px!important;color:#f1f9fb!important}
@media(max-width:900px){
 .site-header .header-main{padding:16px 155px 16px 18px!important;justify-content:flex-start!important;min-height:92px!important}
 .site-header .header-main>.brand{margin:0!important;text-align:left!important;font-size:clamp(21px,3.5vw,32px)!important}
 .site-header .header-main>.header-right{right:14px!important}
 .site-header .header-right>.header-social{gap:6px!important}
 .site-header .header-social>a,.site-header .header-social>.social-placeholder{width:22px!important;height:22px!important}
 .site-header .header-social svg{width:17px!important;height:17px!important}
}
@media(max-width:540px){
 .site-header .header-main{min-height:102px!important;padding:12px 8px 43px!important;justify-content:center!important}
 .site-header .header-main>.brand{margin:0 auto!important;text-align:center!important;font-size:clamp(21px,5vw,30px)!important}
 .site-header .header-main>.header-right{top:auto!important;bottom:9px!important;right:10px!important;transform:none!important}
 .site-header .header-right>.header-social{gap:7px!important}
 .site-header .header-social>a,.site-header .header-social>.social-placeholder{width:22px!important;height:22px!important}
}

/* V11 - social esclusivamente a sinistra; logo centrato */
.site-header .header-main{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px 205px!important;min-height:116px!important}
.site-header .header-main>.brand{position:relative!important;display:block!important;text-align:center!important;margin:0 auto!important;flex:0 1 auto!important}
.site-header .header-main>.header-right{position:absolute!important;left:4%!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;margin:0!important}
.site-header .header-right>.header-social{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:13px!important;visibility:visible!important;opacity:1!important}
@media(max-width:900px){.site-header .header-main{padding:16px 18px 16px 165px!important;justify-content:center!important}.site-header .header-main>.brand{margin:0 auto!important;text-align:center!important}.site-header .header-main>.header-right{left:14px!important;right:auto!important}.site-header .header-right>.header-social{gap:6px!important}}
@media(max-width:540px){.site-header .header-main{padding:12px 8px 43px!important;justify-content:center!important}.site-header .header-main>.brand{margin:0 auto!important;text-align:center!important}.site-header .header-main>.header-right{left:10px!important;right:auto!important;top:auto!important;bottom:9px!important;transform:none!important}.site-header .header-right>.header-social{gap:7px!important}}

/* V12: sezione EVENTS ispirata al riferimento visivo, quattro pannelli verticali */
.ml-events-showcase{background:#fff5ed;color:#0a0c14;padding:0!important;overflow:hidden}
.ml-events-heading{padding:10px 16px 8px;text-align:center}
.ml-events-heading h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(46px,5vw,76px);font-weight:400;line-height:1.05;letter-spacing:-.025em;margin:0;color:#101021}
.ml-events-panels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:100%;min-height:540px}
.ml-events-panel{position:relative;display:block;min-width:0;min-height:540px;overflow:hidden;background:#17232b;color:white;isolation:isolate}
.ml-events-panel img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s ease,filter .6s ease}
.ml-events-panel:after{content:'';position:absolute;inset:25% 0 0;background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.72) 100%);z-index:1;pointer-events:none}
.ml-events-panel-title{position:absolute;z-index:2;bottom:11%;left:5px;right:5px;text-align:center;font:400 clamp(23px,2.4vw,43px)/1.1 'Cormorant Garamond',Georgia,serif;text-transform:uppercase;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.ml-events-panel:hover img,.ml-events-panel:focus-visible img{transform:scale(1.055);filter:saturate(1.1)}
.ml-events-panel:focus-visible{outline:3px solid #6be9ef;outline-offset:-3px}
@media(max-width:800px){.ml-events-panels{grid-template-columns:repeat(2,minmax(0,1fr))}.ml-events-panel{min-height:390px}.ml-events-panels{min-height:0}.ml-events-panel-title{font-size:clamp(25px,4vw,37px)}}
@media(max-width:480px){.ml-events-panel{min-height:300px}.ml-events-panel-title{font-size:clamp(21px,5.5vw,29px);bottom:8%}.ml-events-heading h2{font-size:52px}}
@media(prefers-reduced-motion:reduce){.ml-events-panel img{transition:none}}

/* V13 — EVENTS: quattro pannelli a tutta larghezza come il riferimento */
.ml-events-showcase{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fbf3eb!important;overflow:visible!important;clear:both!important}
.ml-events-showcase .ml-events-heading{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:10px 12px 12px!important;text-align:center!important;background:#fbf3eb!important;opacity:1!important;transform:none!important}
.ml-events-showcase .ml-events-heading h2{margin:0!important;padding:0!important;color:#111322!important;font:400 clamp(48px,5.5vw,76px)/1.05 'Cormorant Garamond',Georgia,serif!important;letter-spacing:-.025em!important}
.ml-events-showcase .ml-events-panels{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;width:100%!important;max-width:none!important;height:clamp(380px,40vw,650px)!important;min-height:0!important;margin:0!important;padding:0!important;align-items:stretch!important}
.ml-events-showcase .ml-events-panel{display:block!important;position:relative!important;min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#17232b!important;opacity:1!important;transform:none!important;isolation:isolate!important;text-decoration:none!important}
.ml-events-showcase .ml-events-panel img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important;opacity:1!important;transform:scale(1)!important;transition:transform .7s ease!important}
.ml-events-showcase .ml-events-panel::after{content:''!important;position:absolute!important;inset:40% 0 0!important;z-index:1!important;background:linear-gradient(180deg,transparent,rgba(0,0,0,.66))!important;pointer-events:none!important}
.ml-events-showcase .ml-events-panel-title{display:block!important;position:absolute!important;z-index:2!important;bottom:12%!important;left:5px!important;right:5px!important;margin:0!important;text-align:center!important;color:#fff!important;font:400 clamp(23px,2.7vw,42px)/1.05 'Cormorant Garamond',Georgia,serif!important;letter-spacing:.01em!important;text-shadow:0 2px 10px #0008!important;opacity:1!important;transform:none!important}
@media(hover:hover){.ml-events-showcase .ml-events-panel:hover img{transform:scale(1.055)!important}}
.ml-events-showcase .ml-events-panel:focus-visible{outline:3px solid #6be9ef!important;outline-offset:-3px!important}
@media(max-width:760px){.ml-events-showcase .ml-events-panels{grid-template-columns:repeat(2,minmax(0,1fr))!important;height:auto!important}.ml-events-showcase .ml-events-panel{height:clamp(280px,65vw,470px)!important}.ml-events-showcase .ml-events-panel-title{font-size:clamp(24px,5vw,38px)!important}}
@media(max-width:420px){.ml-events-showcase .ml-events-panel{height:270px!important}.ml-events-showcase .ml-events-panel-title{font-size:clamp(21px,5.5vw,29px)!important}}
@media(prefers-reduced-motion:reduce){.ml-events-showcase .ml-events-panel img{transition:none!important}}

/* V14: EVENTS armonizzato con la palette scura e ciano del sito */
.ml-events-showcase{background:#030507!important;color:#f4f9fb!important}
.ml-events-showcase .ml-events-heading{background:#0b1116!important;border-top:1px solid #21313a!important;border-bottom:1px solid #21313a!important;padding:24px 12px 22px!important}
.ml-events-showcase .ml-events-heading h2{color:#f4f9fb!important}
.ml-events-showcase .ml-events-panel{background:#0b1116!important}
.ml-events-showcase .ml-events-panel::after{background:linear-gradient(180deg,transparent,rgba(2,7,11,.82))!important}
.ml-events-showcase .ml-events-panel-title{color:#f4f9fb!important;text-shadow:0 2px 14px rgba(0,0,0,.75)!important}
.ml-events-showcase .ml-events-panel:hover .ml-events-panel-title,.ml-events-showcase .ml-events-panel:focus-visible .ml-events-panel-title{color:#8eeaf2!important}

/* V15: nessuna fascia chiara sotto EVENTS, sfondo continuo con il sito */
html body .ml-events-showcase,
html body .ml-events-showcase .ml-events-heading,
html body .ml-events-showcase .ml-events-heading::before,
html body .ml-events-showcase .ml-events-heading::after {
  background: #0b1116 !important;
  background-color: #0b1116 !important;
  background-image: none !important;
  box-shadow: none !important;
}
html body .ml-events-showcase { border:0!important; padding:0!important; margin:0!important; }
html body .ml-events-showcase .ml-events-heading {border:0!important; margin:0!important; padding:28px 12px 24px!important;}
html body .ml-events-showcase .ml-events-heading h2 {background:transparent!important;color:#f4f9fb!important;}
html body .ml-events-showcase .ml-events-panels {background:#0b1116!important; margin:0!important; padding:0!important; border:0!important;}
html body .ml-events-showcase .ml-events-panel {border:0!important;}

/* V16: Eventi: stesso design per homepage e pagina dedicata. */
.ml-page-eventi .ml-events-showcase{margin:0!important;background:#0b1116!important}
.ml-page-eventi .ml-events-heading{padding:60px 16px 38px!important;text-align:center!important;background:#0b1116!important;color:#f4f9fb!important}
.ml-page-eventi .ml-events-heading h1{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(58px,9vw,116px);font-weight:400;letter-spacing:.025em;line-height:1;margin:12px 0;color:#f4f9fb}
.ml-page-eventi .ml-events-heading p{margin:0 auto;color:#b9c9d0;font-size:clamp(14px,1.5vw,18px);max-width:700px}
.ml-page-eventi .ml-events-panels{background:#0b1116!important}
.ml-page-eventi .ml-events-details{background:#0b1116!important;padding-top:65px;padding-bottom:75px}
.ml-page-eventi .ml-events-detail{scroll-margin-top:110px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid #293943;padding:24px 0;color:#f4f9fb}
.ml-page-eventi .ml-events-detail h2{font:400 clamp(34px,5vw,56px)/1.1 'Cormorant Garamond',Georgia,serif;color:#f4f9fb;margin:7px 0}
.ml-page-eventi .ml-events-detail p{color:#b9c9d0;margin:0;max-width:670px}
.ml-page-eventi .ml-events-detail .btn{flex-shrink:0}
@media(max-width:700px){.ml-page-eventi .ml-events-detail{display:block}.ml-page-eventi .ml-events-detail .btn{margin-top:20px;display:inline-flex}}

/* Gallery: photo and video sections share one page */
.ml-page-galleria #foto,.ml-page-galleria #video{scroll-margin-top:95px}
.ml-page-galleria .ml-photo-grid,.ml-page-galleria .ml-video-grid{margin-top:25px}

/* V20 - Anteprima Galleria unificata nella homepage */
.ml-home-gallery{padding-top:88px;padding-bottom:94px}
.ml-home-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:34px}
.ml-home-gallery-item{position:relative;display:block;overflow:hidden;aspect-ratio:3/4;background:#10232d;color:#fff}
.ml-home-gallery-item img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .5s ease,opacity .5s ease}
.ml-home-gallery-item:hover img{transform:scale(1.04)}
.ml-home-gallery-item:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.78));pointer-events:none}
.ml-home-gallery-caption{position:absolute;bottom:17px;left:19px;right:19px;z-index:1;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(21px,2.1vw,30px)}
.ml-home-gallery-caption span{font-family:Arial,sans-serif;font-size:15px;color:#85eff5}
.ml-home-gallery-play{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:54px;height:54px;border:1px solid #fff;border-radius:50%;background:#09141d88}
.ml-home-gallery-action{text-align:center;margin-top:30px}
@media(max-width:800px){.ml-home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(max-width:480px){.ml-home-gallery-caption{bottom:12px;left:12px;right:12px}}
@media(prefers-reduced-motion:reduce){.ml-home-gallery-item img{transition:none}}

/* V21: dissolvenze consistenti desktop/mobile, senza movimento */
@media (prefers-reduced-motion: no-preference) {
  .ml-mobile-reveal {opacity:0!important;transform:none!important;transition:opacity .85s ease-in-out!important;transition-delay:0s!important;will-change:opacity}
  .ml-mobile-reveal.ml-mobile-visible {opacity:1!important;transform:none!important;will-change:auto}
}
@media (prefers-reduced-motion: reduce) {
  .ml-mobile-reveal,.reveal,.ml-scroll-reveal,.ml-fade-section {opacity:1!important;transform:none!important;transition:none!important}
}


/* V22 - Mobile: dissolvenza CSS pura, come nella pagina di manutenzione.
   Non richiede IntersectionObserver, nessuno spostamento. */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  html body .ml-mobile-reveal,
  html body .reveal,
  html body .ml-scroll-reveal,
  html body .ml-fade-section {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
  html body main > section:not(.mv-carousel),
  html body main > .section,
  html body .page-banner,
  html body .page-body,
  html body .ml-events-showcase,
  html body .ml-page-galleria > section {
    opacity: 0;
    transform: none !important;
    animation: mlMobileFadeIn 1.25s ease-out both !important;
  }
  html body main > section:nth-of-type(2),
  html body main > .section:nth-of-type(2) {animation-delay:.15s !important}
  html body main > section:nth-of-type(3),
  html body main > .section:nth-of-type(3) {animation-delay:.3s !important}
  @keyframes mlMobileFadeIn {
    from {opacity:0}
    to {opacity:1}
  }
}
@media (max-width:900px) and (prefers-reduced-motion:reduce) {
  html body main > section,html body .page-banner,html body .page-body {opacity:1!important;animation:none!important}
}

/* V24 video: make video visible even if a previous animation style is cached */
.mv-carousel .mv-slide.active{opacity:1!important;visibility:visible!important;z-index:1!important}
.mv-carousel .mv-slide.active video{position:relative;display:block!important;opacity:1!important;visibility:visible!important;object-fit:cover!important;width:100%!important;height:100%!important;transform:none!important;animation:none!important}
.mv-carousel .mv-slide.active video::-webkit-media-controls-panel{opacity:.85}

.mv-carousel{position:relative}
.mv-sound-toggle{position:absolute;z-index:30;bottom:78px;right:22px;background:rgba(8,18,24,.85);color:#fff;border:1px solid rgba(142,234,242,.7);border-radius:30px;padding:11px 17px;font:600 13px/1.2 Montserrat,Arial,sans-serif;cursor:pointer;box-shadow:0 3px 16px #0006}
.mv-sound-toggle:hover,.mv-sound-toggle:focus-visible{background:#123744;outline:2px solid #8eeaf2;outline-offset:2px}
.mv-sound-toggle[hidden]{display:none!important}
@media(max-width:600px){.mv-sound-toggle{right:12px;bottom:65px;padding:10px 12px;font-size:12px}}

/* V27: clickable video poster */
a.ml-video-poster{display:block;text-decoration:none;cursor:pointer}


/* Header always visible: no logo/menu fade */
.site-header .header-main > .brand,.site-header .header-main > .header-right,.site-header > .site-nav{animation:none!important;opacity:1!important}

/* Recensioni approvate e modulo pubblico */
.ml-reviews{max-width:1050px;margin:auto}.ml-reviews-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;margin:40px 0 70px}.ml-review{padding:28px;border:1px solid #53727b;background:#0b171d;color:#e8f0f1}.ml-review h3{margin:0 0 6px;font:500 26px 'Cormorant Garamond',Georgia,serif}.ml-review time{font-size:12px;color:#b9cbd1}.ml-review p{line-height:1.7}.ml-review-form{max-width:720px}.ml-review-form label{display:block;margin:14px 0 7px}.ml-review-form input,.ml-review-form textarea{width:100%;padding:13px 15px;background:#071117;color:#fff;border:1px solid #53727b;font:400 14px Montserrat,Arial,sans-serif}.ml-review-form input[type=submit]{width:auto;background:#d2b88e;color:#111;border:0;cursor:pointer;text-transform:uppercase;letter-spacing:1px}.ml-review-form .required{color:#d2b88e}
.ml-events-showcase .ml-events-panels{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:760px){.ml-events-showcase .ml-events-panels{grid-template-columns:repeat(1,minmax(0,1fr))!important}}

/* V41: pagina Recensioni */
.ml-reviews .comment-respond{margin-top:28px}.ml-reviews .comment-form-cookies-consent{display:flex;align-items:center;gap:10px}.ml-reviews .comment-form-cookies-consent input{width:auto}.ml-review-form .comment-form input[type=submit]:hover{opacity:.86}

/* V42: review submit matches the existing outlined turquoise buttons */
.ml-review-form .comment-form input[type="submit"].ml-review-submit {
  display:inline-block; width:auto; max-width:100%; margin:16px 8px 0 0;
  padding:14px 26px; border:1px solid #54d9e8; border-radius:0;
  background:transparent; color:var(--cream); cursor:pointer;
  font:400 11px Arial,Helvetica,sans-serif; letter-spacing:.18em;
  text-transform:uppercase; transition:background-color .25s ease,color .25s ease,border-color .25s ease;
}
.ml-review-form .comment-form input[type="submit"].ml-review-submit:hover,
.ml-review-form .comment-form input[type="submit"].ml-review-submit:focus-visible {
  background:#4ad4e4; color:#001217; opacity:1;
}
@media(prefers-reduced-motion:reduce){.ml-review-form .comment-form input[type="submit"].ml-review-submit{transition:none}}

/* V47 - lettore dei video caricati sul sito */
.ml-video-dialog{width:min(960px,94vw);max-width:94vw;padding:12px;border:1px solid #69d9e0;background:#07141d;color:#fff;position:fixed;inset:0;margin:auto;overflow:visible}
.ml-video-dialog::backdrop{background:rgba(0,0,0,.88)}
.ml-video-dialog video{width:100%;max-height:80vh;display:block;background:#000}
.ml-video-dialog-close{position:absolute;right:-12px;top:-38px;background:#07141d;color:#fff;border:1px solid #69d9e0;border-radius:50%;width:36px;height:36px;font-size:27px;line-height:1;cursor:pointer}
.ml-video-grid .ml-video-poster{aspect-ratio:16/9;display:block;position:relative;background:#10232d}
.ml-video-grid .ml-video-poster-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;border:2px solid white;border-radius:50%;display:grid;place-items:center;color:#fff;background:#00131c88}

/* V48 - anteprime video proporzionate e lettore grande */
.ml-page-galleria .ml-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.ml-page-galleria .ml-video-grid .video-frame{width:100%;min-width:0;min-height:0;aspect-ratio:16/9;margin:0;display:block;overflow:hidden;background:#14232b;border:1px solid rgba(130,219,225,.25)}
.ml-page-galleria .ml-video-grid a.ml-video-poster{display:block;width:100%;height:100%;min-height:0;aspect-ratio:16/9;position:relative;overflow:hidden}
.ml-video-preview,.ml-page-galleria .ml-video-grid .ml-video-poster img{display:block;width:100%;height:100%;object-fit:cover;background:#14232b}
.ml-video-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:24px;color:#e3f4f5;text-align:center;font:normal clamp(19px,2vw,28px) Georgia,serif;background:linear-gradient(135deg,#234551,#0a1720)}
.ml-page-galleria .ml-video-grid .ml-video-poster-play{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:66px;height:66px;min-height:0;background:#0a1a24b3;border:1px solid #d7ffff;border-radius:50%;display:grid;place-items:center;font-size:25px;transition:background .2s,scale .2s}
.ml-page-galleria .ml-video-grid a:hover .ml-video-poster-play{background:#1e6676;scale:1.08}
.ml-video-dialog[open]{display:flex;flex-direction:column;justify-content:center;width:min(1200px,96vw);max-width:96vw;max-height:94dvh;min-height:0;padding:clamp(6px,1.3vw,16px);border:1px solid #69d9e0;background:#07141d;box-shadow:0 25px 90px #000b;overflow:visible}
.ml-video-dialog video{display:block;width:100%;height:auto;max-height:calc(94dvh - 40px);aspect-ratio:16/9;object-fit:contain;background:#000}
.ml-video-dialog-close{right:0;top:-44px}
@media(max-width:700px){.ml-page-galleria .ml-video-grid{grid-template-columns:1fr;gap:18px}.ml-video-dialog[open]{width:98vw;max-width:98vw;padding:5px}.ml-video-dialog video{max-height:80dvh}}

/* V50: cinque video nella galleria homepage, con layout adattivo */
@media(min-width:801px){.ml-home-gallery-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* V54: telefono e logo contenuto nella sezione contatti */
.ml-contact-phone{margin:12px 0 0;font:400 15px Montserrat,Arial,sans-serif;letter-spacing:.02em}
.ml-contact-phone a{color:inherit;text-decoration:none;transition:color .2s ease}
.ml-contact-phone a:hover{color:#6ad4de}
.ml-contact-brand{margin-top:24px;max-width:190px}
.ml-contact-brand img{display:block;width:auto;max-width:100%;height:auto;max-height:95px;object-fit:contain;object-position:left center}
@media(max-width:800px){.ml-contact-brand{max-width:155px}.ml-contact-brand img{max-height:80px}}

/* Conferma invio modulo contatti */
#modulo-contatti{scroll-margin-top:110px}.ml-contact-feedback{padding:18px 20px;margin-top:12px;border:1px solid #d6a95d;background:rgba(214,169,93,.09);color:#f7f7f7;font:400 14px/1.6 Montserrat,Arial,sans-serif}.ml-contact-feedback strong{display:block;font-weight:700;font-size:15px;margin-bottom:5px}.ml-contact-feedback p{margin:0}.ml-contact-feedback-success{border-color:#6ad4de;background:rgba(106,212,222,.12)}

/* V57 - MY EVENTS: locandine illimitate, senza ritagli */
.ml-my-events{padding-top:85px;padding-bottom:95px}
.ml-my-events-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:32px}
.ml-my-event-card{display:block;min-width:0;color:inherit;text-decoration:none;background:#10212b;overflow:hidden;border:1px solid rgba(106,212,222,.22);transition:border-color .25s,transform .25s}
.ml-my-event-card img{display:block;width:100%;height:auto;object-fit:contain}
.ml-my-event-caption{display:block;padding:14px 17px;font:400 22px 'Cormorant Garamond',Georgia,serif}
.ml-my-event-caption span{font:15px Arial,sans-serif;color:#85eff5}
a.ml-my-event-card:hover{border-color:#85eff5;transform:translateY(-3px)}
@media(max-width:950px){.ml-my-events-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ml-my-events-grid{grid-template-columns:1fr;gap:18px}}
@media(prefers-reduced-motion:reduce){.ml-my-event-card{transition:none}}

/* V60 — MY EVENTS: sezione autonoma e animazione delle locandine */
.ml-my-events{padding:0 0 92px;background:linear-gradient(180deg,#091821 0%,#0c202a 100%);border-top:1px solid rgba(106,212,222,.18);border-bottom:1px solid rgba(106,212,222,.18)}
.ml-my-events-heading{text-align:center;padding:54px 22px 37px;border-bottom:1px solid rgba(106,212,222,.15);background:rgba(3,15,22,.32)}
.ml-my-events-heading .eyebrow{margin-bottom:12px}
.ml-my-events-heading h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(42px,6vw,78px);font-weight:400;letter-spacing:.09em;line-height:1.1;margin:0;color:#f4f5f5}
.ml-my-events-inner{max-width:1280px;margin:0 auto;padding:0 28px}
.ml-my-events-grid{margin-top:46px}
.ml-my-event-card{border-radius:3px;box-shadow:0 12px 35px rgba(0,0,0,.15);transition:border-color .3s ease,transform .45s ease,box-shadow .45s ease}
.ml-my-event-card img{transition:transform .65s cubic-bezier(.2,.7,.2,1)}
a.ml-my-event-card:hover{transform:translateY(-9px);box-shadow:0 22px 48px rgba(0,0,0,.32)}
a.ml-my-event-card:hover img{transform:scale(1.035)}
@media(min-width:801px){.ml-my-event-card.ml-poster-animate{opacity:0;transform:translateY(34px);transition:opacity .75s ease,transform .75s cubic-bezier(.2,.7,.2,1),border-color .3s ease,box-shadow .45s ease}.ml-my-event-card.ml-poster-animate.visible{opacity:1;transform:translateY(0)}.ml-my-events-grid>.ml-my-event-card:nth-child(3n+2){transition-delay:.12s}.ml-my-events-grid>.ml-my-event-card:nth-child(3n+3){transition-delay:.24s}a.ml-my-event-card.ml-poster-animate.visible:hover{transform:translateY(-9px)}}
@media(max-width:800px){.ml-my-events-heading{padding:40px 16px 28px}.ml-my-events-inner{padding:0 18px}.ml-my-events-grid{margin-top:28px}}
@media(prefers-reduced-motion:reduce){.ml-my-event-card,.ml-my-event-card img,.ml-my-event-card.ml-poster-animate{transition:none!important;opacity:1!important;transform:none!important}}

/* V61 — separazione Biografia / MY EVENTS su smartphone.
   Mantiene il pulsante nel normale flusso e riserva spazio prima della sezione successiva. */
@media (max-width:800px){
  .home .ml-about,
  body.home #biografia{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-items:start;
    height:auto;
    min-height:0;
    padding-bottom:88px;
    margin-bottom:0;
    overflow:visible;
  }
  body.home #biografia > *{min-width:0;max-width:100%;position:relative;}
  body.home #biografia .btn{
    position:relative;
    display:inline-flex;
    align-items:center;
    width:max-content;
    max-width:100%;
    margin-top:24px;
    margin-bottom:0;
    transform:none;
  }
  body.home #biografia + .ml-my-events{
    position:relative;
    clear:both;
    margin-top:0;
  }
}

/* V62 — maggiore distanza tra il pulsante Biografia e MY EVENTS;
   protezione del pulsante Contattami dal footer nella pagina Biografia. */
@media (max-width:800px){
  body.home #biografia{padding-bottom:145px!important;row-gap:20px;}
  body.home #biografia .btn{margin-top:30px;margin-bottom:16px;}
  body.home #biografia + .ml-my-events{margin-top:0!important;}
  body .inner-page .page-body{height:auto!important;min-height:0;overflow:visible;padding-bottom:135px!important;}
  body .inner-page .page-body .split{height:auto;min-height:0;align-items:start;}
  body .inner-page .ml-biography-text{height:auto;overflow:visible;}
  body .inner-page .ml-biography-text + .btn{position:relative;display:inline-flex;margin-top:32px;margin-bottom:24px;}
  body .inner-page + .footer{position:relative;clear:both;}
}

/* V63 — ulteriore spazio esclusivamente nella pagina Biografia su smartphone. */
@media (max-width:800px){
  body .inner-page .page-body:has(.ml-biography-text){padding-bottom:220px!important;}
  body .inner-page .ml-biography-text + .btn{margin-bottom:55px!important;}
}

/* V64: separazione tra pulsante Menu e prima voce Home su smartphone */
@media(max-width:800px){
  .site-header > .site-nav.open{padding-top:68px;}
}
