/*
Theme Name: Emozione Musica
Theme URI: https://emozionemusica.it
Author: Emozione Musica
Description: Tema WordPress personalizzato per JohnnyB DJ e Ornella Voice & Live. Pagine, eventi e contenuti modificabili da WordPress.
Version: 4.9.32
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: emozione-musica
*/
:root{--bg:#0d0c10;--panel:#19161c;--accent:#9b3b52;--text:#f8f6f7;--muted:#c5bbc1;--line:#342a32}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img,video,iframe{max-width:100%}img{height:auto}.wrap{width:min(1180px,calc(100% - 42px));margin:auto}.site-header{position:relative;z-index:10;background:#0b0a0dee;border-bottom:1px solid #ffffff20}.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-weight:900;letter-spacing:.12em;font-size:clamp(16px,2vw,23px);white-space:nowrap}.brand span{color:#d994a5}.site-nav ul{list-style:none;display:flex;gap:25px;padding:0;margin:0;align-items:center}.site-nav a{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.site-nav a:hover,.site-nav .current-menu-item a{color:#e2a5b6}.menu-toggle{display:none;border:1px solid #777;color:#fff;background:transparent;padding:8px 13px;border-radius:6px}.hero{min-height:670px;background:linear-gradient(90deg,#09070d9e,#09070d25 70%),url('assets/hero.jpg') center/cover;display:flex;align-items:center;position:relative}.hero-content{max-width:680px;padding:75px 0}.eyebrow{color:#f3c2cf;letter-spacing:.28em;font-size:12px;font-weight:800;text-transform:uppercase}.hero h1{font-size:clamp(46px,7.8vw,106px);line-height:.98;letter-spacing:-.045em;margin:20px 0 25px;text-shadow:0 4px 25px #0008}.hero-sub{font-size:clamp(17px,2.1vw,24px);font-weight:700;letter-spacing:.025em}.hero-payoff{font-size:clamp(16px,1.7vw,21px);font-style:italic;color:#f6e6e9}.actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:32px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 20px;border:1px solid #d7a5b4;border-radius:4px;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;background:var(--accent)}.btn.outline{background:transparent;border-color:#fff}.btn:hover{filter:brightness(1.18)}.section{padding:85px 0}.section-alt{background:#151218}.section-head{margin-bottom:32px}.section h2,.page-title{font-size:clamp(30px,4.5vw,56px);line-height:1.12;letter-spacing:-.025em;margin:8px 0 15px}.lead{font-size:18px;color:var(--muted);max-width:760px}.video-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,380px);align-items:center;gap:70px}.video-frame{width:100%;max-width:370px;aspect-ratio:9/16;background:#27222a;border:1px solid #54404a;border-radius:12px;overflow:hidden;box-shadow:0 24px 70px #0007;margin:auto}.video-frame video,.video-frame iframe{width:100%;height:100%;object-fit:contain;border:0}.video-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;color:#cabcc2;padding:30px}.video-placeholder strong{font-size:48px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.event-card{background:#211a22;border:1px solid var(--line);border-radius:8px;overflow:hidden;transition:transform .2s}.event-card:hover{transform:translateY(-4px)}.event-card img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}.event-placeholder{aspect-ratio:3/4;display:grid;place-items:center;background:linear-gradient(135deg,#502739,#1c1621);font-size:50px}.event-info{padding:20px}.event-info h3{margin:0 0 5px;font-size:19px}.event-info p{color:var(--muted);margin:0;font-size:14px}.pill{display:inline-block;background:var(--accent);padding:3px 9px;border-radius:20px;font-size:10px;font-weight:800;letter-spacing:.08em;margin-bottom:9px}.feature{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.feature img{width:100%;border-radius:9px;aspect-ratio:4/3;object-fit:cover}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.gallery-grid img{width:100%;aspect-ratio:9/13;object-fit:cover;border-radius:7px}.footer{padding:45px 0;background:#08070a;border-top:1px solid var(--line)}.footer-inner{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.footer p{color:var(--muted)}.page-hero{padding:75px 0 45px;background:radial-gradient(ellipse at right,#54263766,transparent 65%)}.content{padding:30px 0 90px;min-height:350px}.content p{max-width:850px}.content a:not(.btn){color:#e9a5b7;text-decoration:underline}.wp-block-image img{border-radius:8px}.single-poster{max-width:460px;width:100%;border-radius:8px;margin:20px 0}.contact-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.contact-cards>div{background:var(--panel);padding:25px;border-radius:8px}.muted{color:var(--muted)}.center{text-align:center}.center .lead{margin-left:auto;margin-right:auto}.center .actions{justify-content:center}@media(max-width:780px){.header-inner{min-height:70px}.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:70px;left:0;right:0;background:#111015;padding:20px}.site-nav.open{display:block}.site-nav ul{flex-direction:column;align-items:flex-start;gap:18px}.hero{min-height:610px;background-position:58% center}.hero-content{padding:70px 0;background:#0003}.video-layout,.feature{grid-template-columns:1fr;gap:35px}.grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:repeat(2,1fr)}.section{padding:60px 0}}@media(max-width:500px){.grid,.contact-cards{grid-template-columns:1fr}.hero{min-height:590px}.hero h1{font-size:52px}.actions{gap:10px}.btn{padding:10px 13px;font-size:11px}}

/* v1.1 – Fotografia live e hero più pulita */
.hero{min-height:clamp(610px,78vh,820px);background-position:center 42%;background-size:cover;align-items:flex-end;isolation:isolate}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,6,12,.78) 0%,rgba(8,6,12,.44) 36%,rgba(8,6,12,.05) 78%),linear-gradient(0deg,rgba(8,6,12,.62),transparent 60%);z-index:-1}
.hero-content{max-width:560px;padding:60px 0 85px}
.hero h1{font-size:clamp(48px,5.4vw,76px);letter-spacing:-.045em;line-height:1.03;margin:16px 0 20px}
.hero-sub{font-size:clamp(15px,1.55vw,19px);letter-spacing:.03em;line-height:1.5}
.hero-payoff{font-size:clamp(16px,1.5vw,19px);margin-top:14px}
.hero .actions{margin-top:25px}
.hero .btn{min-height:39px;padding:8px 17px;font-size:11px}
@media(max-width:780px){.hero{min-height:690px;background-position:57% center;align-items:flex-end}.hero-content{max-width:480px;padding:55px 0 65px;background:transparent}.hero::before{background:linear-gradient(0deg,rgba(5,4,8,.92) 0%,rgba(5,4,8,.65) 33%,rgba(5,4,8,.05) 85%)}}
@media(max-width:500px){.hero{min-height:680px;background-position:57% center}.hero h1{font-size:clamp(42px,12vw,56px)}.hero-content{padding-bottom:48px}.hero-sub{font-size:15px}.hero .btn{font-size:10px;padding:8px 13px}}

/* v1.2 – Hero più luminosa, con particolare attenzione a JohnnyB */
.hero{background-image:url('assets/hero.jpg');background-position:center 42%;}
.hero::before{background:linear-gradient(90deg,rgba(8,6,12,.48) 0%,rgba(8,6,12,.26) 31%,rgba(8,6,12,.03) 67%,transparent 100%),linear-gradient(0deg,rgba(8,6,12,.18),transparent 43%);}
.hero-content{max-width:535px;transform:translateY(-12px)}
.hero h1{font-size:clamp(46px,5vw,68px);line-height:1.06}
@media(max-width:780px){.hero::before{background:linear-gradient(0deg,rgba(5,4,8,.78) 0%,rgba(5,4,8,.40) 36%,rgba(5,4,8,.03) 82%)}.hero-content{transform:none}}
@media(max-width:500px){.hero h1{font-size:clamp(42px,11vw,54px)}}
/* v1.3 – Pagina Chi siamo */
.about-hero{min-height:510px;display:flex;align-items:flex-end;position:relative;background-image:linear-gradient(90deg,rgba(10,7,13,.76),rgba(10,7,13,.08) 85%),linear-gradient(0deg,rgba(10,7,13,.55),transparent 60%),var(--about-image);background-position:center 40%;background-size:cover}.about-hero-inner{padding:95px 0 72px}.about-hero h1{font-size:clamp(52px,8vw,108px);line-height:1;letter-spacing:-.055em;margin:18px 0}.about-hero p{max-width:560px;font-size:clamp(17px,2vw,22px);color:#fff}.about-split{display:grid;grid-template-columns:1fr 1.2fr;gap:85px;align-items:center}.about-split h2{font-size:clamp(44px,6vw,80px);line-height:1.02;letter-spacing:-.05em}.about-split h2 span{color:#d994a5}.about-lead{font-size:clamp(20px,2.5vw,29px);line-height:1.35;font-weight:600}.about-intro p:not(.about-lead),.about-card p{color:#d4cbd0}.about-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:36px}.about-card{border:1px solid #47343d;border-radius:12px;padding:clamp(24px,4vw,45px);background:linear-gradient(145deg,#29202a,#171318)}.about-number{font-size:12px;letter-spacing:.22em;color:#e3a5b5;font-weight:800}.about-card h3{font-size:clamp(29px,3.5vw,46px);letter-spacing:-.04em;line-height:1.1;margin:28px 0 8px}.about-role{font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#e3a5b5!important}.about-story .about-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.about-story .btn{margin-top:20px}.about-editor-content{max-width:860px}.about-editor-content p{color:#d4cbd0}.about-cta{background:radial-gradient(ellipse at center,#522637 0%,#151218 70%)}@media(max-width:780px){.about-hero{min-height:440px;background-position:58% center}.about-split,.about-cards{grid-template-columns:1fr;gap:24px}.about-hero-inner{padding:75px 0 50px}.about-split h2{margin-bottom:12px}}

/* v1.4 – Chi siamo più leggibile, fotografie sostituibili da WordPress */
.about-hero{background-image:linear-gradient(90deg,rgba(10,7,13,.43),rgba(10,7,13,.04) 85%),linear-gradient(0deg,rgba(10,7,13,.23),transparent 60%),var(--about-image)}
.about-card{overflow:hidden;padding-top:24px}.about-person-photo{display:block;width:100%;height:260px;object-fit:cover;border-radius:8px;margin:0 0 25px}.about-johnny-photo{object-position:18% 45%}.about-ornella-photo{object-position:76% 42%}.about-card p,.about-intro p:not(.about-lead),.about-editor-content p{font-size:17px;line-height:1.75}.about-card .about-role{font-size:13px}.about-story .about-photo img{object-position:center 38%}
@media(max-width:780px){.about-hero{background-image:linear-gradient(0deg,rgba(10,7,13,.72),rgba(10,7,13,.05) 80%),var(--about-image)}.about-person-photo{height:290px}}

/* v1.5 – Rifinitura Chi siamo e terza scheda DJ */
.about-hero{min-height:475px;background-position:center 43%}
.about-hero-inner{padding:90px 0 68px}
.about-hero .eyebrow{font-size:clamp(13px,1.35vw,17px);letter-spacing:.23em;text-shadow:0 2px 12px #000b}
.about-hero h1{font-size:clamp(46px,5.5vw,74px);max-width:540px;margin:18px 0 22px;text-shadow:0 3px 18px #0008}
.about-hero p{font-size:clamp(18px,1.9vw,23px);line-height:1.5;text-shadow:0 2px 12px #0009}
.about-intro .eyebrow{font-size:clamp(13px,1.25vw,16px);letter-spacing:.24em}
.about-intro .about-lead{font-size:clamp(19px,2vw,24px);line-height:1.4}
.about-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.about-card{padding:20px 20px 28px}
.about-person-photo{height:310px;object-fit:cover;object-position:center 30%;background:#211820}
.about-johnny-photo{object-position:center 25%}
.about-ornella-photo{object-position:center 26%}
.about-gianfranco-photo{object-position:center 28%}
.about-card h3{font-size:clamp(24px,2.45vw,34px);margin:18px 0 8px;overflow-wrap:anywhere}
.about-card p{font-size:15px;line-height:1.65}
.about-story h2{font-size:clamp(35px,4.4vw,59px);line-height:1.09}
.about-story .lead{font-size:clamp(18px,1.75vw,21px);line-height:1.6}
.about-story .about-photo img{aspect-ratio:4/3;object-position:center 42%}
@media(max-width:850px){.about-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.about-card:last-child{grid-column:1/-1;max-width:520px;margin:auto;width:100%}}
@media(max-width:600px){.about-hero{min-height:430px;background-position:55% center}.about-hero h1{font-size:clamp(43px,11vw,60px)}.about-hero-inner{padding:68px 0 52px}.about-cards{grid-template-columns:1fr}.about-card:last-child{grid-column:auto;max-width:none}.about-person-photo{height:360px}.about-intro .about-lead{font-size:21px}}
/* v1.6 – Eventi: locandine complete, elenco futuri e archivio ricordi */
.events-hero{padding:100px 0 75px;background:radial-gradient(ellipse at 82% 40%,#72334b55,transparent 60%),linear-gradient(135deg,#171017,#0d0c10)}
.events-hero .page-title{font-size:clamp(55px,8vw,104px);letter-spacing:-.055em;margin:12px 0 20px}
.events-hero .lead{font-size:clamp(18px,2vw,23px);line-height:1.55}
.events-grid{gap:25px}.events-grid .event-card{display:block;box-shadow:0 15px 40px #0003}
.events-grid .event-card img{width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;background:#130f16}
.events-grid .event-card:hover{border-color:#b46d86}
.events-grid .event-info{padding:22px}.events-grid .event-info h3{font-size:21px;line-height:1.25;margin:8px 0}
.events-grid .event-info p{font-size:15px;line-height:1.5}.events-empty{grid-column:1/-1;border:1px solid #49323e;border-radius:10px;padding:30px;color:#d9cdd4;background:#20171e}
.events-bottom{background:radial-gradient(ellipse at center,#49202e 0%,#151218 70%)}
.event-detail-layout{display:grid;grid-template-columns:minmax(260px,440px) minmax(0,1fr);gap:65px;align-items:start}
.event-detail-poster .single-poster{display:block;width:100%;max-width:none;object-fit:contain;border:1px solid #47343d;box-shadow:0 22px 60px #0005}
.event-detail-copy h2{font-size:clamp(27px,3.2vw,43px);line-height:1.2;margin:10px 0 25px}.event-detail-copy p{font-size:17px}
.event-description{margin:30px 0}.event-description .wp-block-gallery{margin:35px 0}.event-description img{border-radius:8px}
.event-video{margin:35px 0}.event-video iframe{max-width:380px;width:100%;aspect-ratio:9/16;height:auto;border:0;border-radius:10px;background:#000}
@media(max-width:780px){.event-detail-layout{grid-template-columns:1fr;gap:22px}.event-detail-poster{max-width:460px}.events-hero{padding:70px 0 55px}}

/* v1.7 – Navigazione chiara e scheda evento senza duplicazioni */
.site-nav .current-menu-item>a,.site-nav .current_page_item>a,.site-nav a[aria-current="page"]{color:#f0a1b7!important;border-bottom:2px solid #f0a1b7;padding-bottom:7px}
.em-breadcrumbs{font-size:13px;letter-spacing:.035em;color:#d7bac6;margin:0 0 24px}
.em-breadcrumbs a{color:#f2d5df;text-decoration:none}.em-breadcrumbs a:hover{text-decoration:underline}.em-breadcrumbs span{margin:0 4px}
.em-event-hero{padding:75px 0 50px;background:radial-gradient(ellipse at 80% 20%,#57243866,transparent 65%)}
.em-event-hero .page-title{font-size:clamp(36px,5.4vw,70px);overflow-wrap:anywhere;line-height:1.08}
.em-event-hero .lead{font-size:18px}
.event-detail-poster .single-poster{height:auto;max-height:800px;object-fit:contain;background:#120e14;border-radius:10px}
.event-without-poster{display:block;max-width:850px}
.em-event-facts{border:1px solid #573b48;border-radius:12px;overflow:hidden;background:#211720;margin:25px 0}
.em-event-facts>div{padding:16px 20px;display:grid;grid-template-columns:92px 1fr;gap:15px;align-items:baseline}
.em-event-facts>div+div{border-top:1px solid #49313c}
.em-event-facts span{font-size:11px;font-weight:800;letter-spacing:.15em;color:#f0a1b7}
.em-event-facts strong{font-size:17px;font-weight:600;line-height:1.4}
.event-description{line-height:1.7}.event-description img{max-width:100%;height:auto}
@media(max-width:780px){.em-event-hero{padding:55px 0 35px}.em-event-facts>div{grid-template-columns:75px 1fr}.site-nav .current-menu-item>a{border-bottom-width:1px}}

/* v1.8 – Accesso diretto alla galleria Eventi */
.events-intro{padding:24px 0 8px;background:linear-gradient(120deg,#181019,#0d0c10)}
.events-intro .em-breadcrumbs{margin-bottom:9px}
.events-intro h1{font-size:clamp(25px,3.2vw,40px);line-height:1.15;margin:0 0 6px;letter-spacing:-.03em}
.events-intro p{font-size:15px;color:var(--muted);margin:0 0 8px}
.events-list-start{padding-top:28px}
.events-list-start .section-head{margin-bottom:20px}
.events-list-start .section-head h2{font-size:clamp(26px,3.2vw,40px)}
#locandine{scroll-margin-top:12px}
@media(max-width:780px){.events-intro{padding:18px 0 5px}.events-list-start{padding-top:22px}}

/* v2.0 – Tipografia più equilibrata e player 9:16 */
.video-frame{max-width:340px}
.video-frame video{display:block;background:#100d12}
.video-layout h2{font-size:clamp(30px,3.5vw,46px)}
.video-layout .lead{font-size:clamp(16px,1.5vw,18px);line-height:1.65}
.events-intro h1{font-size:clamp(25px,3vw,36px)}
.events-list-start .section-head h2{font-size:clamp(27px,3vw,38px)}
.em-event-hero .page-title{font-size:clamp(30px,4vw,52px)}
@media(max-width:780px){.video-frame{max-width:330px}}

/* v2.1 — Gallery generale, modificabile tramite blocchi WordPress */
.em-media-hero{background:radial-gradient(ellipse at 78% 25%,#54263777,transparent 60%),#151016}
.em-media-hero .page-title{font-size:clamp(44px,6vw,78px)}
.em-media-section{padding-top:65px}.em-media-section .section-head{margin-bottom:35px}
.em-gallery-content .wp-block-gallery{display:flex;flex-wrap:wrap;gap:14px!important;align-items:stretch}
.em-gallery-content .wp-block-gallery .wp-block-image{flex:1 1 calc(25% - 14px);min-width:180px;max-width:calc(25% - 10.5px);margin:0!important;overflow:hidden;border-radius:9px;background:#241a22;aspect-ratio:4/3}
.em-gallery-content .wp-block-gallery .wp-block-image img{display:block;width:100%;height:100%;object-fit:cover;border-radius:9px;transition:transform .3s;cursor:zoom-in}
.em-gallery-content .wp-block-gallery .wp-block-image:hover img{transform:scale(1.035)}
.em-gallery-content .wp-block-gallery .wp-block-image figcaption{font-size:12px}
.em-gallery-content .wp-block-embed,.em-gallery-content .wp-block-video{max-width:760px;margin:45px auto}
.em-gallery-content .wp-block-embed.is-provider-youtube iframe{width:100%;max-width:100%}
.em-gallery-empty{border:1px dashed #684251;border-radius:12px;padding:70px 20px;text-align:center;background:#1b151c}
.em-gallery-empty span{font-size:55px;color:#d998ae}.em-gallery-empty h3{font-size:25px;margin:10px 0}.em-gallery-empty p{color:#c7bac1}
.em-lightbox{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.94);display:flex;align-items:center;justify-content:center;padding:55px 25px;cursor:zoom-out}
.em-lightbox img{max-width:100%;max-height:100%;object-fit:contain;border-radius:5px}
.em-lightbox-close{position:absolute;right:18px;top:12px;background:transparent;border:0;color:white;font-size:36px;cursor:pointer}
@media(max-width:900px){.em-gallery-content .wp-block-gallery .wp-block-image{flex-basis:calc(33.33% - 14px);max-width:calc(33.33% - 10px)}}
@media(max-width:650px){.em-gallery-content .wp-block-gallery .wp-block-image{flex-basis:calc(50% - 10px);max-width:calc(50% - 7px);min-width:120px}.em-media-section{padding-top:40px}}

/* v2.2 — Galleria circolare e navigazione foto */
.em-gallery-content .wp-block-gallery{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px!important;align-items:start}
.em-gallery-content .wp-block-gallery .wp-block-image{width:100%!important;max-width:none!important;min-width:0!important;flex:none!important;aspect-ratio:1/1!important;border-radius:50%!important;overflow:hidden!important;border:3px solid #68394a;box-shadow:0 8px 28px #0008;background:#241a22;position:relative}
.em-gallery-content .wp-block-gallery .wp-block-image img{width:100%!important;height:100%!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:50% 50%;border-radius:50%!important;cursor:pointer;transition:transform .2s,border-color .2s}
.em-gallery-content .wp-block-gallery .wp-block-image:hover{border-color:#e1a2b7}
.em-gallery-content .wp-block-gallery .wp-block-image figcaption{display:none!important}
.em-gallery-content .wp-block-gallery .wp-block-image a{display:block;width:100%;height:100%}
.em-lightbox-open{overflow:hidden}
.em-lightbox{position:fixed;inset:0;z-index:99999;background:rgba(4,3,6,.96);display:flex;align-items:center;justify-content:center;padding:65px 75px}
.em-lightbox-photo{display:block;max-width:100%;max-height:calc(100vh - 135px);width:auto;height:auto;object-fit:contain;border-radius:3px}
.em-lightbox button{position:absolute;border:1px solid #ffffff55;background:#241b27cc;color:#fff;cursor:pointer;display:grid;place-items:center;z-index:2}
.em-lightbox-close{right:22px;top:18px;width:43px;height:43px;border-radius:50%;font-size:32px}
.em-lightbox-prev,.em-lightbox-next{top:50%;transform:translateY(-50%);width:48px;height:60px;border-radius:10px;font-size:48px;line-height:1}
.em-lightbox-prev{left:14px}.em-lightbox-next{right:14px}
.em-lightbox-counter{position:absolute;bottom:22px;color:#eee;font-size:14px;letter-spacing:.12em}
.em-gallery-edit-toggle{display:inline-block;margin:0 0 24px;padding:10px 18px;background:#9b3b52;border:1px solid #e2a2b3;border-radius:7px;color:#fff;font-weight:700;cursor:pointer}
.em-gallery-editing .wp-block-gallery .wp-block-image{outline:3px dashed #efc2d0;outline-offset:3px;cursor:crosshair}
.em-crop-overlay{position:fixed;inset:0;z-index:100001;background:#050307e8;display:grid;place-items:center;padding:20px}
.em-crop-panel{width:min(430px,100%);background:#201820;border:1px solid #7b4a5b;border-radius:12px;padding:22px;color:#fff}
.em-crop-panel h3{margin:0;font-size:22px}.em-crop-panel p{font-size:14px;color:#e5cbd4}
.em-crop-preview{width:220px;height:220px;border-radius:50%;overflow:hidden;margin:18px auto;border:3px solid #bc7e91}
.em-crop-preview img{width:100%;height:100%;object-fit:cover}
.em-crop-panel label{display:block;margin:14px 0;font-size:14px}.em-crop-panel input[type=range]{display:block;width:100%;accent-color:#d98ca5}
.em-crop-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px}
.em-crop-actions button{padding:10px 14px;background:#8c3a53;color:#fff;border:1px solid #d59caf;border-radius:6px;cursor:pointer}
.em-crop-actions .em-crop-cancel{background:transparent}
@media(max-width:900px){.em-gallery-content .wp-block-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.em-gallery-content .wp-block-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px!important}.em-lightbox{padding:70px 48px}.em-lightbox-prev,.em-lightbox-next{width:38px;height:50px;font-size:36px}.em-lightbox-prev{left:4px}.em-lightbox-next{right:4px}}

/* v2.4 – Album fotografico e video all'interno del singolo evento */
.em-event-memories{background:#151016;border-top:1px solid #50313d;padding-top:60px}
.em-event-memories .section-head h2{font-size:clamp(27px,3.4vw,42px)}
.em-event-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.em-event-photo{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:12px;border:1px solid #654353;background:#231821;box-shadow:0 8px 25px #0005}
.em-event-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.em-event-photo:hover img{transform:scale(1.055)}
.em-event-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:35px}
.em-event-video-item{min-width:0}.em-event-video-item iframe{width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:10px}
.em-event-modal-open{overflow:hidden}
.em-event-lightbox{position:fixed;inset:0;z-index:100100;background:#050407f5;display:flex;align-items:center;justify-content:center;padding:65px 75px}
.em-event-lightbox img{max-width:100%;max-height:calc(100vh - 135px);object-fit:contain}
.em-event-lightbox button{position:absolute;background:#281e29dd;color:white;border:1px solid #ffffff66;cursor:pointer;z-index:1}
.em-event-lightbox-close{top:15px;right:18px;border-radius:50%;font-size:30px;width:46px;height:46px}
.em-event-lightbox-prev,.em-event-lightbox-next{top:50%;transform:translateY(-50%);font-size:45px;border-radius:9px;width:48px;height:60px}
.em-event-lightbox-prev{left:14px}.em-event-lightbox-next{right:14px}
.em-event-lightbox-count{position:absolute;bottom:22px;font-size:14px;color:white}
@media(max-width:850px){.em-event-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.em-event-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.em-event-video-grid{grid-template-columns:1fr}.em-event-lightbox{padding:65px 43px}.em-event-lightbox-prev,.em-event-lightbox-next{width:35px;height:48px;font-size:32px}.em-event-lightbox-prev{left:3px}.em-event-lightbox-next{right:3px}}

/* v2.5 — Miniature circolari nella galleria interna a ogni evento */
.em-event-photo-grid.wp-block-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.em-event-photo-grid .em-event-photo{aspect-ratio:1/1;border-radius:50%;border:3px solid #87425f;overflow:hidden;min-width:0;box-shadow:0 8px 25px #0007}
.em-event-photo-grid .em-event-photo img{width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;object-position:50% 50%;border-radius:50%;cursor:pointer}
.em-event-gallery-content .em-gallery-edit-toggle{margin-bottom:20px}
@media(max-width:850px){.em-event-photo-grid.wp-block-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.em-event-photo-grid.wp-block-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}

/* v2.6 — Video 9:16 / 16:9, in galleria generale ed eventi */
.em-event-video-grid{display:flex;flex-wrap:wrap;gap:26px;align-items:flex-start;justify-content:flex-start}
.em-event-video-item{flex:0 1 540px;max-width:100%;min-width:0}
.em-event-video-item.em-ratio-9-16{flex-basis:290px}
.em-responsive-video iframe,.em-responsive-video video{display:block;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:16/9;border:0;border-radius:12px;background:#09080a}
.em-responsive-video.em-ratio-9-16 iframe,.em-responsive-video.em-ratio-9-16 video{aspect-ratio:9/16}
.event-video.em-responsive-video{max-width:540px}
.event-video.em-ratio-9-16{max-width:290px}
.event-video.em-responsive-video iframe{max-width:100%;aspect-ratio:16/9}
.event-video.em-ratio-9-16 iframe{aspect-ratio:9/16}
/* La gallery generale supporta le classi Gutenberg em-video-vertical / em-video-horizontal. */
.em-gallery-content .wp-block-embed,.em-gallery-content .wp-block-video{width:100%;max-width:650px;margin:30px 0}
.em-gallery-content .wp-block-embed.em-video-vertical,.em-gallery-content .wp-block-video.em-video-vertical{max-width:290px}
.em-gallery-content .wp-block-embed iframe,.em-gallery-content .wp-block-video video{display:block;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:16/9;border-radius:12px;background:#08070a}
.em-gallery-content .wp-block-embed.em-video-vertical iframe,.em-gallery-content .wp-block-video.em-video-vertical video{aspect-ratio:9/16}
.em-gallery-content .wp-block-embed .wp-block-embed__wrapper{width:100%}
.em-gallery-content .wp-block-embed.em-video-vertical .wp-block-embed__wrapper{max-width:290px}
.em-gallery-content .wp-block-embed .wp-block-embed__wrapper iframe{position:static!important}
@media(max-width:600px){.em-event-video-item,.em-event-video-item.em-ratio-9-16{flex-basis:100%;max-width:100%}.em-event-video-item.em-ratio-9-16{max-width:320px}.em-gallery-content .wp-block-embed.em-video-vertical{max-width:320px}}

/* Home video cover */
.em-home-video-cover{width:100%;height:100%;display:flex;align-items:center;justify-content:center;border:0;cursor:pointer;background-color:#100d12;background-position:center;background-size:contain;background-repeat:no-repeat;padding:0}
.em-home-play{display:grid;place-items:center;width:78px;height:78px;border-radius:50%;background:#b52c65e8;color:white;font-size:34px;box-shadow:0 4px 22px #0009;transition:transform .2s}
.em-home-video-cover:hover .em-home-play,.em-home-video-cover:focus-visible .em-home-play{transform:scale(1.1)}
.em-home-video-cover:focus-visible{outline:3px solid #fff;outline-offset:-4px}

/* v2.8 – Copertina YouTube Home, stile robusto */
.video-frame > .em-home-video-cover{display:flex!important;position:relative;width:100%!important;height:100%!important;align-items:center!important;justify-content:center!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important}.video-frame > .em-home-video-cover > .em-home-play{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;width:84px!important;height:84px!important;flex:0 0 84px!important;font-size:38px!important;border-radius:50%!important;background:#b52c65!important;color:white!important}.video-frame > iframe{display:block;width:100%;height:100%;}

/* v2.9 - Clip nella galleria circolare e lightbox misto */
.em-gallery-content .wp-block-gallery .em-video-circle,.em-gallery-content>.em-video-circle{appearance:none;display:block;width:100%;aspect-ratio:1/1;border-radius:50%;overflow:hidden;border:3px solid #68394a;box-shadow:0 8px 28px #0008;background:#241a22;position:relative;padding:0;cursor:pointer;min-width:0}
.em-gallery-content .em-video-circle:hover{border-color:#e1a2b7}
.em-gallery-content .em-video-circle img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;transition:transform .2s}
.em-gallery-content .em-video-circle:hover img{transform:scale(1.06)}
.em-circle-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#7e2445e8;color:white;font-size:24px;padding-left:4px;box-shadow:0 2px 16px #0009;pointer-events:none}
.em-lightbox-media{display:flex;align-items:center;justify-content:center;max-width:100%;max-height:calc(100vh - 135px);min-width:0}
.em-lightbox-video{position:relative;max-height:calc(100vh - 135px);background:#000;border-radius:10px;overflow:hidden}
.em-lightbox-video.em-ratio-horizontal{aspect-ratio:16/9;width:min(78vw,1050px)}
.em-lightbox-video.em-ratio-vertical{aspect-ratio:9/16;height:min(75vh,760px)}
.em-lightbox-video iframe,.em-lightbox-video video{width:100%;height:100%;border:0;display:block;object-fit:contain}
@media(max-width:650px){.em-lightbox-video.em-ratio-horizontal{width:calc(100vw - 95px)}.em-lightbox-video.em-ratio-vertical{height:min(75vh,650px)}.em-circle-play{width:44px;height:44px;font-size:20px}}

/* v3.3: miniature video MP4 e griglia unificata */
.em-gallery-content .em-video-circle .em-circle-preview-video{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;pointer-events:none}
.em-gallery-content .em-video-circle .em-video-neutral{display:grid;place-items:center;width:100%;height:100%;font-size:42px;color:#e6b2c0}
.em-unified-row{display:flex;align-items:center;gap:12px;border:1px solid #ccd0d4;background:#fff;padding:10px;margin:9px 0;max-width:100%;box-sizing:border-box}
.em-unified-row>img{width:68px;height:68px;object-fit:cover;border-radius:6px}
.em-unified-row .em-drag{cursor:move;font-size:24px;color:#666;padding:0 6px;user-select:none}
.em-unified-row .em-video-fields{flex:1;min-width:0}.em-unified-row .em-video-fields p{margin:6px 0;display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.em-unified-row input[type=url]{width:min(430px,100%)}.em-unified-row .em-cover-preview{width:52px;height:52px;object-fit:cover}
.em-unified-placeholder{height:70px;border:2px dashed #9b3b52;background:#fff5f8}

/* v3.4 – HOME: il progetto, racconto e grafica dance originale */
.em-project-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);gap:clamp(36px,5vw,80px);align-items:center}.em-project-copy h2{font-size:clamp(39px,4.4vw,64px);line-height:1.09;margin:18px 0 28px}.em-project-copy h2 span{color:#d994a5}.em-project-copy p{color:#d8cdd3;font-size:16px;line-height:1.82;margin:0 0 18px}.em-project-copy .em-project-intro{font-size:clamp(19px,2vw,24px);font-weight:700;color:#fff;line-height:1.5;margin-bottom:25px}.em-project-signature{border-top:1px solid #614150;margin-top:29px;padding-top:21px;font-size:19px;font-weight:700;line-height:1.5;color:#f2d4dd}.em-project-art{position:relative;min-height:540px;border:1px solid #513444;border-radius:15px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:32px 20px;background:radial-gradient(circle at 48% 46%,#6a3046 0%,#2a1927 38%,#100d15 78%);box-shadow:0 24px 65px #0007}.em-project-art-top,.em-project-art-bottom{position:relative;z-index:2;text-align:center;letter-spacing:.22em;font-size:11px;font-weight:800;color:#f3c4d1}.em-project-art-bottom{letter-spacing:.12em;color:#fff}.em-project-vinyl{position:absolute;top:50%;left:50%;width:min(86%,395px);aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%) rotate(-18deg);display:grid;place-items:center;background:repeating-radial-gradient(circle,#151319 0px,#151319 3px,#342832 4px,#17141b 6px,#0c0b0e 9px);border:9px solid #0b0a0d;box-shadow:0 15px 50px #000a,0 0 0 1px #986377}.em-project-vinyl::after{content:"";position:absolute;inset:7%;border-radius:50%;border:1px solid #ffffff22}.em-project-vinyl-label{width:35%;aspect-ratio:1;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:radial-gradient(circle,#bc7187,#80354e);border:5px solid #25151d;color:#fff;line-height:1.2}.em-project-vinyl-label span{font-size:clamp(24px,3vw,43px);font-weight:900;letter-spacing:-.07em}.em-project-vinyl-label small{font-size:8px;letter-spacing:.12em;font-weight:700}.em-project-wave{position:absolute;z-index:1;left:0;right:0;top:70%;height:100px;display:flex;align-items:center;justify-content:center;gap:9px;opacity:.72}.em-project-wave i{width:4px;height:var(--h);border-radius:5px;background:#ed9eb8;box-shadow:0 0 14px #d45583}.em-project-wave i:nth-child(8n+1){--h:18px}.em-project-wave i:nth-child(8n+2){--h:42px}.em-project-wave i:nth-child(8n+3){--h:68px}.em-project-wave i:nth-child(8n+4){--h:33px}.em-project-wave i:nth-child(8n+5){--h:84px}.em-project-wave i:nth-child(8n+6){--h:52px}.em-project-wave i:nth-child(8n+7){--h:26px}.em-project-wave i:nth-child(8n){--h:74px}@media(max-width:850px){.em-project-layout{grid-template-columns:1fr}.em-project-art{min-height:440px;max-width:560px;width:100%;margin:auto}.em-project-copy h2{font-size:clamp(38px,7vw,58px)}}@media(max-width:500px){.em-project-art{min-height:365px}.em-project-art-top,.em-project-art-bottom{font-size:9px;letter-spacing:.1em}.em-project-copy p{font-size:15px}}

/* v3.6 – HOME: spazi verticali più equilibrati, senza modificare le pagine interne */
.home main > .section { padding-top: 54px; padding-bottom: 54px; }
.home main > .section:first-of-type { padding-top: 64px; }
.home main .section-head { margin-bottom: 24px; }
.home main .section h2 { margin-top: 6px; margin-bottom: 12px; }
.home main .section .actions { margin-top: 22px; }
.home main .em-project-layout { gap: clamp(28px,4vw,55px); }
.home main .em-project-copy h2 { margin: 12px 0 20px; }
.home main .em-project-copy p { margin-bottom: 14px; line-height: 1.72; }
.home main .em-project-copy .em-project-intro { margin-bottom: 19px; }
.home main .em-project-signature { margin-top: 21px; padding-top: 16px; }
.home main > .section:last-of-type { padding-top: 44px; padding-bottom: 55px; }
@media(max-width:780px) {
 .home main > .section { padding-top: 38px; padding-bottom: 38px; }
 .home main .video-layout { gap: 24px; }
 .home main .em-project-layout { gap: 27px; }
 .home main > .section:last-of-type { padding-top: 35px; padding-bottom: 43px; }
}

/* v3.7 – HOME: video come racconto del nostro mood, testo a sinistra */
.home .video-layout{grid-template-columns:minmax(0,1fr) minmax(260px,390px);gap:clamp(25px,4vw,56px)}
.home .video-layout .em-video-description{color:#d8cdd3;font-size:16px;line-height:1.75;max-width:650px;margin:17px 0}
.home .video-layout .em-video-closing{font-weight:700;color:#efbdcd;font-size:17px;line-height:1.6;margin:17px 0 0}
.em-home-video-card{padding:14px;border:1px solid #86536a;border-radius:16px;background:linear-gradient(155deg,#271a26,#140f18);box-shadow:0 15px 42px #0008, inset 0 0 0 1px #ffffff0c;min-width:0}
.em-home-video-card-label{font-size:11px;font-weight:800;letter-spacing:.17em;color:#f2c3d2;text-align:center;padding:3px 0 12px}
.em-home-video-card .video-frame{width:100%;max-width:340px;border:1px solid #ad6a85;box-shadow:0 12px 32px #0009}
.em-home-video-caption{font-size:13px;line-height:1.55;color:#d8c6cf;text-align:center;margin:12px 4px 2px}
@media(max-width:780px){.home .video-layout{grid-template-columns:1fr;gap:25px}.em-home-video-card{max-width:390px;width:100%;margin:0 auto}}

/* v3.8 – Vivi Emozione Musica: testo completo e cornice video evidenziata */
.home .video-layout{align-items:start;grid-template-columns:minmax(0,1fr) minmax(285px,390px);gap:clamp(30px,4.5vw,65px)}
.home .video-layout>div:first-child{min-width:0;padding-top:5px}
.home .video-layout .em-video-intro{max-width:760px;color:#f8f1f4;font-size:clamp(18px,1.65vw,21px);line-height:1.55;margin:22px 0 19px}
.home .video-layout .em-video-description{max-width:760px;color:#d9cfd5;font-size:16px;line-height:1.72;margin:0 0 17px}
.home .video-layout .em-video-description strong{color:#f4d5df}
.home .video-layout .em-video-closing{color:#f0bccc;font-size:17px;font-weight:600;line-height:1.55;margin:22px 0 0}
.home .em-home-video-card{padding:16px;border:2px solid #a95a79;border-radius:17px;background:linear-gradient(145deg,#2a1b29,#140f18 75%);box-shadow:0 0 0 4px #8e3d5a30,0 0 32px #a23e652b,0 20px 50px #0009}
.home .em-home-video-card-label{color:#f3c2cf;font-size:12px;font-weight:800;letter-spacing:.28em;line-height:1.5;text-align:left;padding:0 2px 14px;text-transform:uppercase}
.home .em-home-video-card .video-frame{max-width:100%;border:2px solid #d083a0;border-radius:11px;box-shadow:0 0 0 3px #4f2536,0 10px 35px #0009}
.home .em-home-video-caption{position:relative;text-align:left;color:#dac6cf;font-size:13px;line-height:1.65;margin:17px 3px 2px;padding-top:14px;border-top:1px solid #855168}
@media(max-width:780px){.home .video-layout{grid-template-columns:1fr;gap:28px}.home .em-home-video-card{max-width:420px;margin:0 auto}.home .video-layout .em-video-description{font-size:15px}}

/* v3.9: mood card with standalone selectors, regardless of WordPress body classes */
.em-mood-section .video-layout{align-items:start;grid-template-columns:minmax(0,1fr) minmax(290px,390px);gap:clamp(28px,4vw,56px)}
.em-mood-section .em-home-video-card{box-sizing:border-box;width:100%;min-width:0;padding:19px 19px 17px;border:2px solid #c77c99;border-radius:19px;background:linear-gradient(150deg,#33202d 0%,#211722 42%,#171118 100%);box-shadow:0 0 0 5px rgba(142,61,90,.27),0 0 38px rgba(191,79,124,.27),0 22px 48px rgba(0,0,0,.48)}
.em-mood-section .em-home-video-card-label{display:block;margin:0 0 17px;padding:0 0 13px;text-align:center;color:#f3c2cf;font-size:12px;font-weight:900;letter-spacing:.28em;line-height:1.65;text-transform:uppercase;border-bottom:1px solid rgba(221,142,171,.45)}
.em-mood-section .em-home-video-card .video-frame{width:100%;max-width:100%;margin:0;aspect-ratio:9/16;border:2px solid #d98fac;border-radius:12px;box-shadow:0 0 0 3px rgba(80,36,57,.85),0 10px 32px rgba(0,0,0,.55);overflow:hidden}
.em-mood-section .em-home-video-caption{margin:17px 1px 0;padding:13px 6px 0;border-top:1px solid rgba(221,142,171,.45);text-align:center;color:#e4cbd5;font-size:13px;line-height:1.6}
.em-mood-section .em-video-closing{font-style:italic;color:#f0c0d0}
@media(max-width:780px){.em-mood-section .video-layout{grid-template-columns:1fr;gap:30px}.em-mood-section .em-home-video-card{max-width:430px;margin:0 auto;padding:15px}}

/* v4.0 - artwork DJ console + voce live, replaces CSS vinyl */
.em-project-art.em-project-art-photo{display:block;min-height:0;padding:0;background:#130e16;border:1px solid #9a4a69;border-radius:17px;overflow:hidden;box-shadow:0 18px 48px #0008,0 0 28px #9b3b5229;align-self:center}
.em-project-art-photo img{display:block;width:100%;height:auto;object-fit:contain;border:0;border-radius:0}
@media(max-width:850px){.em-project-art.em-project-art-photo{min-height:0;max-width:560px}}

/* v4.1 – Foto & Video: introduzione unificata, senza doppia intestazione */
.em-media-page .em-media-intro{padding:42px 0 22px;background:radial-gradient(ellipse at 85% 5%,rgba(84,38,55,.33),transparent 62%)}
.em-media-page .em-media-intro .em-breadcrumbs{margin-bottom:27px}
.em-media-page .em-media-intro .page-title{font-size:clamp(48px,6.2vw,88px);line-height:1.05;margin:12px 0 20px}
.em-media-page .em-media-tagline{font-size:clamp(23px,2.55vw,36px);font-weight:750;line-height:1.24;color:#e4a0b3;margin:0 0 25px;letter-spacing:-.025em}
.em-media-page .em-media-gallery-intro{border-left:3px solid #b65d7b;padding:5px 0 6px 20px;margin:0 0 4px}
.em-media-page .em-media-gallery-intro .eyebrow{color:#fff;letter-spacing:.11em;font-size:clamp(12px,1.1vw,15px);line-height:1.6}
.em-media-page .em-media-gallery-intro .eyebrow span{color:#d79ab0;padding:0 4px}
.em-media-page .em-media-gallery-intro p{margin:6px 0 0;color:#c5bbc1;font-size:17px;line-height:1.5}
.em-media-page .em-media-section{padding:20px 0 65px}
@media(max-width:650px){.em-media-page .em-media-intro{padding:28px 0 16px}.em-media-page .em-media-intro .em-breadcrumbs{margin-bottom:22px}.em-media-page .em-media-intro .page-title{font-size:clamp(40px,10vw,58px)}.em-media-page .em-media-tagline{font-size:clamp(22px,5.6vw,29px);margin-bottom:22px}.em-media-page .em-media-gallery-intro{padding-left:14px}.em-media-page .em-media-gallery-intro .eyebrow{letter-spacing:.06em}.em-media-page .em-media-section{padding-top:15px}}

/* v4.2 — Foto & Video: pannello introduttivo caldo, titolo ridimensionato */
.em-media-page .em-media-intro{padding:34px 0 12px;background:radial-gradient(ellipse at 80% 5%,rgba(84,38,55,.20),transparent 68%)}
.em-media-page .em-media-intro .em-breadcrumbs{margin-bottom:20px}
.em-media-page .em-media-intro-panel{position:relative;overflow:hidden;padding:clamp(22px,3.4vw,40px);border:1px solid #78465b;border-radius:18px;background:radial-gradient(ellipse at 100% 0%,rgba(149,68,102,.18),transparent 58%),linear-gradient(135deg,#281923 0%,#1c151d 55%,#171219 100%);box-shadow:0 16px 42px #0005, inset 0 1px 0 #ffffff0b}
.em-media-page .em-media-intro-panel:after{content:"";position:absolute;width:210px;height:210px;right:-110px;top:-125px;border:1px solid rgba(214,140,168,.16);border-radius:50%;pointer-events:none}
.em-media-page .em-media-intro-panel>.eyebrow{color:#e3a4b7;letter-spacing:.20em}
.em-media-page .em-media-intro .page-title{font-size:clamp(36px,4.5vw,64px);line-height:1.08;margin:9px 0 24px;letter-spacing:-.025em}
.em-media-page .em-media-quote{border-left:3px solid #bb6b8b;padding:2px 0 3px 19px;margin-bottom:25px;max-width:850px}
.em-media-page .em-media-tagline{font-size:clamp(22px,2.4vw,32px);line-height:1.24;color:#f0c0cf;margin:0 0 13px}
.em-media-page .em-media-explanation{font-size:clamp(15px,1.4vw,17px);line-height:1.65;color:#ded0d6;margin:0;max-width:790px}
.em-media-page .em-media-gallery-intro{border-left:0;border-top:1px solid #75485c;padding:18px 0 0;margin:0}
.em-media-page .em-media-gallery-intro .eyebrow{color:#fff;font-size:clamp(12px,1.2vw,15px);letter-spacing:.075em}
.em-media-page .em-media-gallery-intro .em-media-camera{color:#e3a4b7;font-size:19px;vertical-align:-1px;margin-right:5px}
.em-media-page .em-media-gallery-intro p{font-size:16px;margin:5px 0 0}
.em-media-page .em-media-section{padding:19px 0 65px}
@media(max-width:650px){.em-media-page .em-media-intro{padding:22px 0 10px}.em-media-page .em-media-intro-panel{padding:22px 19px;border-radius:13px}.em-media-page .em-media-intro .page-title{font-size:clamp(34px,9vw,46px);margin:9px 0 20px}.em-media-page .em-media-quote{padding-left:14px;margin-bottom:20px}.em-media-page .em-media-tagline{font-size:clamp(22px,5.8vw,28px)}.em-media-page .em-media-gallery-intro{padding-top:16px}.em-media-page .em-media-section{padding-top:15px}}

/* v4.3 — Scala tipografica coerente, più compatta e leggibile */
:root{--em-title-xl:clamp(34px,3.3vw,46px);--em-title-lg:clamp(28px,2.8vw,40px);--em-title-md:clamp(23px,2.2vw,32px)}
/* Titoli delle sezioni: gerarchia uniforme su Home e pagine interne */
main .section h2,main .section-alt h2,main .content h2{font-size:var(--em-title-lg);line-height:1.18;letter-spacing:-.025em}
main .section h3,main .content h3{line-height:1.25}
main .page-title,main .page-hero .page-title{font-size:var(--em-title-xl);line-height:1.14;letter-spacing:-.025em}
main .eyebrow{font-size:11px;letter-spacing:.17em;line-height:1.5}
main .lead{font-size:clamp(15px,1.3vw,17px);line-height:1.65}
/* Il titolo principale della HOME rimane riconoscibile, ma non eccessivo */
.home .hero h1{font-size:clamp(43px,4.4vw,62px)}
.home .em-project-copy h2{font-size:clamp(34px,3.5vw,48px);line-height:1.12}
/* Chi siamo: evita titoli molto più grandi rispetto alle altre pagine */
.about-hero h1{font-size:clamp(40px,4.6vw,62px);line-height:1.08}
.about-split h2{font-size:clamp(32px,3.5vw,46px);line-height:1.12}
.about-card h3{font-size:clamp(25px,2.4vw,34px)}
.about-lead{font-size:clamp(17px,1.7vw,21px);line-height:1.5}
/* Foto & Video: pannello più discreto e meno alto */
.em-media-page .em-media-intro{padding:24px 0 8px}
.em-media-page .em-media-intro .em-breadcrumbs{margin-bottom:14px}
.em-media-page .em-media-intro-panel{padding:clamp(18px,2.25vw,28px);border-radius:14px}
.em-media-page .em-media-intro-panel>.eyebrow{font-size:11px;letter-spacing:.17em}
.em-media-page .em-media-intro .page-title{font-size:clamp(32px,3.05vw,43px);line-height:1.12;margin:7px 0 16px}
.em-media-page .em-media-quote{padding:0 0 0 15px;margin-bottom:16px;max-width:920px}
.em-media-page .em-media-tagline{font-size:clamp(20px,1.8vw,25px);line-height:1.27;margin:0 0 9px}
.em-media-page .em-media-explanation{font-size:15px;line-height:1.55;max-width:890px}
.em-media-page .em-media-gallery-intro{padding:13px 0 0}
.em-media-page .em-media-gallery-intro .eyebrow{font-size:12px;letter-spacing:.06em}
.em-media-page .em-media-gallery-intro .em-media-camera{font-size:15px}
.em-media-page .em-media-gallery-intro p{font-size:14px;line-height:1.5;margin:3px 0 0}
.em-media-page .em-media-section{padding:14px 0 65px}
@media(max-width:780px){main .section h2,main .section-alt h2,main .content h2{font-size:clamp(27px,5.2vw,36px)}.home .em-project-copy h2{font-size:clamp(32px,5.7vw,42px)}}
@media(max-width:650px){.em-media-page .em-media-intro{padding:18px 0 6px}.em-media-page .em-media-intro-panel{padding:19px 17px}.em-media-page .em-media-intro .page-title{font-size:clamp(30px,7.5vw,38px);margin:7px 0 14px}.em-media-page .em-media-tagline{font-size:clamp(19px,5vw,23px)}.em-media-page .em-media-explanation{font-size:14px}.em-media-page .em-media-section{padding-top:12px}.about-hero h1{font-size:clamp(38px,9vw,51px)}}

/* v4.4 — HOME mobile: stessa resa fotografica dell'hero CHI SIAMO */
@media (max-width:780px){
  .home .hero{min-height:440px;background-size:cover;background-position:58% center;align-items:flex-end}
  .home .hero::before{background:linear-gradient(0deg,rgba(10,7,13,.72),rgba(10,7,13,.05) 80%)}
  .home .hero-content{max-width:560px;padding:75px 0 50px;transform:none}
  .home .hero h1{font-size:clamp(38px,6.8vw,51px);line-height:1.08;margin:12px 0}
  .home .hero-sub{font-size:clamp(13px,2.6vw,16px);margin:8px 0}
  .home .hero-payoff{font-size:clamp(14px,2.8vw,17px);margin:8px 0}
  .home .hero .actions{margin-top:14px;gap:9px}
}
@media (max-width:600px){
  .home .hero{min-height:430px;background-position:55% center}
  .home .hero-content{padding:68px 0 52px}
  .home .hero h1{font-size:clamp(34px,8.6vw,46px)}
  .home .hero .eyebrow{font-size:10px}
  .home .hero .btn{font-size:10px;padding:8px 12px}
}

/* v4.5: Chi siamo, biografie complete e due schede fotografiche */
.about-copy{max-width:960px}.about-copy h2{font-size:clamp(30px,3.3vw,46px);line-height:1.15}.about-copy p,.about-story p{font-size:16px;line-height:1.75;color:#d4cbd0}.about-card h4{font-size:19px;line-height:1.35;color:#e8b5c4;margin:18px 0 12px}.about-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.about-card:last-child{grid-column:auto;max-width:none;width:auto;margin:0}@media(max-width:600px){.about-cards{grid-template-columns:1fr}.about-card:last-child{width:100%}}

/* v4.7 — Contatti: pagina dedicata, senza form né invio server-side */
.em-contact-hero{padding:38px 0 20px;background:radial-gradient(ellipse at 75% 10%,rgba(109,42,67,.35),transparent 68%)}
.em-contact-panel{margin-top:24px;padding:clamp(28px,4vw,52px);border:1px solid #6a4051;border-radius:16px;background:linear-gradient(125deg,#351c2a 0%,#1c151d 60%,#161218 100%);box-shadow:0 16px 55px #0004}
.em-contact-panel h1{font-size:clamp(30px,4.2vw,51px);line-height:1.16;letter-spacing:-.035em;margin:13px 0 16px}
.em-contact-panel h1 span{color:#e5a6bd}
.em-contact-lead{max-width:760px;color:#e3d5dc;font-size:clamp(15px,1.6vw,18px);line-height:1.65;margin:0}
.em-contact-section{padding:22px 0 70px}
.em-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.em-contact-card{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:28px 25px;background:linear-gradient(145deg,#291d28,#17141a);border:1px solid #5b3848;border-radius:14px;transition:transform .2s,border-color .2s,background .2s}
.em-contact-card:hover,.em-contact-card:focus-visible{transform:translateY(-3px);border-color:#dfa3b8;background:#32202e}
.em-contact-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#653149;color:#fff;font-size:22px;font-weight:700}
.em-contact-label{font-size:11px;letter-spacing:.16em;font-weight:800;color:#dba1b5}
.em-contact-card strong{font-size:clamp(17px,1.7vw,21px);line-height:1.3}
.em-contact-card>span:nth-last-child(2){color:#e1d5db;font-size:15px;overflow-wrap:anywhere}
.em-contact-action{margin-top:auto;padding-top:14px;color:#e7aabd;font-size:13px;font-weight:800}
.em-contact-footnote{text-align:center;color:#bfb1ba;font-size:14px;margin:30px auto 0}
@media(max-width:800px){.em-contact-grid{grid-template-columns:1fr}.em-contact-hero{padding-top:24px}.em-contact-panel{padding:27px 23px}.em-contact-card{padding:23px;gap:7px}.em-contact-section{padding-bottom:48px}}

/* v4.8 – Contatti: typography and spacing aligned to the rest of the website */
.em-contact-hero{padding:26px 0 12px}
.em-contact-panel{margin-top:16px;padding:clamp(20px,2.6vw,32px);border-radius:12px}
.em-contact-panel .eyebrow{font-size:11px;letter-spacing:.18em}
.em-contact-panel h1{font-size:clamp(28px,3.2vw,42px);line-height:1.18;letter-spacing:-.025em;margin:9px 0 12px}
.em-contact-lead{font-size:clamp(15px,1.35vw,17px);line-height:1.55;max-width:730px}
.em-contact-section{padding:16px 0 54px}
.em-contact-grid{gap:15px}
.em-contact-card{padding:21px 20px;gap:7px;border-radius:11px}
.em-contact-icon{width:38px;height:38px;font-size:19px}
.em-contact-label{font-size:10px;letter-spacing:.12em}
.em-contact-card strong{font-size:clamp(17px,1.5vw,20px)}
.em-contact-card>span:nth-last-child(2){font-size:14px}
.em-contact-action{padding-top:8px;font-size:12px}
.em-contact-footnote{margin-top:22px;font-size:13px}
@media(max-width:800px){.em-contact-hero{padding-top:18px}.em-contact-panel{margin-top:12px;padding:21px 19px}.em-contact-panel h1{font-size:clamp(27px,6.4vw,32px)}.em-contact-card{padding:18px 19px;gap:6px}.em-contact-grid{gap:12px}.em-contact-section{padding-bottom:38px}}

/* v4.9 — Fotografie hero desktop: inquadratura più alta, mobile invariato */
@media (min-width:781px){
  .home .hero{background-position:center 20%;}
  .about-hero{min-height:535px;background-position:center 18%;}
}
/* v4.9 — Eventi: una sola introduzione e sezioni condizionali */
.em-events-v49 .em-events-overview{padding:24px 0 18px;background:linear-gradient(125deg,#130e15,#0d0c10)}
.em-events-v49 .em-events-intro-panel{border:1px solid #684254;border-radius:15px;background:linear-gradient(125deg,#2a1a26,#171117);padding:27px 32px 25px;}
.em-events-v49 .em-events-intro-panel .eyebrow{font-size:11px;letter-spacing:.18em}
.em-events-v49 .em-events-intro-panel h1{font-size:clamp(27px,3vw,38px);margin:9px 0 10px}
.em-events-v49 .em-events-intro-panel p{font-size:15px;max-width:780px;line-height:1.6;color:#e2d4dc}
.em-events-jump{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.em-events-jump a{display:inline-flex;gap:12px;align-items:center;border:1px solid #aa7289;border-radius:30px;padding:9px 17px;font-size:12px;font-weight:800;letter-spacing:.03em;transition:background .2s}
.em-events-jump a:first-child{background:#893d5b;border-color:#aa7089}
.em-events-jump a:hover{background:#a55070}
.em-events-v49 .events-list-start{padding-top:34px}
.em-events-v49 .em-events-past{padding-top:50px}
.em-events-v49 .em-events-past-first{padding-top:32px}
.em-events-v49 .section-head{margin-bottom:21px}
.em-events-v49 .section-head h2{font-size:clamp(26px,3vw,37px)}
.em-events-v49 .events-grid{align-items:start}
.em-events-v49 #locandine,.em-events-v49 #eventi-passati{scroll-margin-top:24px}
@media(max-width:780px){.em-events-v49 .em-events-overview{padding:18px 0 12px}.em-events-v49 .em-events-intro-panel{padding:21px 18px}.em-events-v49 .em-events-intro-panel h1{font-size:30px}.em-events-v49 .em-events-past{padding-top:34px}}

/* v4.9.2 — HOME desktop: abbassa solo il blocco testuale per liberare JohnnyB.
   Fotografia, dimensioni dei caratteri e layout mobile invariati. */
@media (min-width: 781px) {
  .home .hero-content {
    transform: translateY(72px);
  }
}

/* v4.9.3 — Copertine fotografiche libere, fasce testuali separate.
   Classi specifiche per evitare collisioni con i vecchi stili del tema. */
.home .em-hero-photo{display:block;min-height:0;height:clamp(360px,41vw,620px);background-size:cover;background-position:center 34%;isolation:auto}
.home .em-hero-photo::before{display:none}
.home .em-hero-band,.about-page .em-about-band{background:radial-gradient(ellipse at 80% 0%,#57223c66,transparent 60%),linear-gradient(110deg,#2b091b,#3b0d24 48%,#210b19);border-top:1px solid #91415e;border-bottom:1px solid #522037;text-align:center}
.home .em-hero-band .hero-content{max-width:920px;margin:0 auto;padding:25px 0 30px;transform:none}
.home .em-hero-band .eyebrow{font-size:11px;letter-spacing:.24em}
.home .em-hero-band h1{font-size:clamp(32px,4.3vw,54px);line-height:1.08;margin:9px 0 5px}
.home .em-hero-band .hero-sub{font-size:clamp(14px,1.4vw,18px);margin:4px 0}
.home .em-hero-band .hero-payoff{font-size:clamp(14px,1.3vw,17px);margin:5px 0}
.home .em-hero-band .actions{justify-content:center;margin-top:13px}
.about-page .em-about-photo{display:block;min-height:0;height:clamp(350px,40vw,595px);background-image:var(--about-image);background-position:center 42%;background-size:cover}
.about-page .em-about-band .about-hero-inner{padding:22px 0 26px}
.about-page .em-about-band .eyebrow{display:block;font-size:11px;letter-spacing:.2em;margin-top:8px}
.about-page .em-about-band h1{font-size:clamp(30px,3.7vw,47px);line-height:1.12;margin:7px 0 8px}
.about-page .em-about-band p{font-size:clamp(14px,1.3vw,17px);line-height:1.5;max-width:760px;margin:0 auto;color:#f4e7ed}
.about-page .em-about-band .breadcrumbs,.about-page .em-about-band .breadcrumb{font-size:12px}
@media(max-width:780px){
 .home .em-hero-photo{height:clamp(240px,60vw,420px);min-height:0;background-position:48% center}
 .home .em-hero-band .hero-content{padding:22px 0 25px;max-width:100%}
 .home .em-hero-band h1{font-size:clamp(30px,7.5vw,42px)}
 .home .em-hero-band .hero-sub{font-size:14px}
 .home .em-hero-band .hero-payoff{font-size:14px}
 .about-page .em-about-photo{height:clamp(240px,60vw,420px);min-height:0;background-position:52% center}
 .about-page .em-about-band .about-hero-inner{padding:19px 0 25px}
 .about-page .em-about-band h1{font-size:clamp(29px,7.4vw,40px)}
}

/* v4.9.4 — Copertine realmente integrali: immagine HTML, mai cover/crop.
   Le regole finali sovrascrivono i vecchi sfondi e le altezze fisse. */
.home .hero.em-hero-photo,
.about-page .about-hero.em-about-photo {
  display:block; height:auto; min-height:0; padding:0; margin:0;
  background:none!important; background-image:none!important; overflow:hidden;
}
.home .hero.em-hero-photo::before,
.about-page .about-hero.em-about-photo::before {display:none!important}
.home .em-hero-photo .em-cover-image,
.about-page .em-about-photo .em-cover-image {
  display:block; width:100%; height:auto; max-width:100%;
  object-fit:contain; object-position:center; margin:0; padding:0;
}
.home .em-hero-band, .about-page .em-about-band {
  background:#111015!important; border:0!important;
  border-bottom:1px solid #29232b!important;
}
.home .em-hero-band .hero-content {padding:24px 0 29px}
.about-page .em-about-band .about-hero-inner {padding:23px 0 27px}
@media(max-width:780px){
  .home .hero.em-hero-photo,.about-page .about-hero.em-about-photo{height:auto!important;min-height:0!important}
  .home .em-hero-photo .em-cover-image,.about-page .em-about-photo .em-cover-image{height:auto!important}
  .home .em-hero-band .hero-content{padding:20px 0 25px}
  .about-page .em-about-band .about-hero-inner{padding:20px 0 24px}
}

/* v4.9.5 — Copertine centrate, proporzioni originali e larghezza controllata. */
.home .hero.em-hero-photo,
.about-page .about-hero.em-about-photo {
  display:block!important;
  width:min(1050px, 100%)!important;
  max-width:1050px!important;
  height:auto!important;
  min-height:0!important;
  margin-inline:auto!important;
  padding:0!important;
  background:none!important;
  overflow:hidden;
}
.home .em-hero-photo .em-cover-image,
.about-page .em-about-photo .em-cover-image {
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  margin-inline:auto!important;
  object-fit:contain!important;
}
.home .em-hero-band,
.about-page .em-about-band {background:#111015!important;border-top:0!important}
@media(max-width:780px){
  .home .hero.em-hero-photo,
  .about-page .about-hero.em-about-photo {width:100%!important;max-width:100%!important}
}

/* v4.9.6 — Copertina cinematografica: stessa fotografia sfocata ai lati,
   originale nitido e completo al centro, bordi morbidi e passaggio al testo. */
.home .hero.em-hero-photo,
.about-page .about-hero.em-about-photo {
  position:relative!important;
  isolation:isolate;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  margin:0 auto!important;
  padding:18px 22px 0!important;
  overflow:hidden!important;
  background:#111015!important;
}
.home .hero.em-hero-photo::before,
.about-page .about-hero.em-about-photo::before {
  content:""!important;
  display:block!important;
  position:absolute;
  z-index:-1;
  inset:-45px;
  background-image:var(--em-cover-url)!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  filter:blur(40px) brightness(.48) saturate(.95);
  transform:scale(1.06);
  pointer-events:none;
}
.home .hero.em-hero-photo::after,
.about-page .about-hero.em-about-photo::after {
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  background:linear-gradient(to bottom,transparent 72%,#111015 100%);
  pointer-events:none;
}
.home .em-hero-photo .em-cover-image,
.about-page .em-about-photo .em-cover-image {
  position:relative!important;
  z-index:1;
  display:block!important;
  width:100%!important;
  max-width:1180px!important;
  height:auto!important;
  margin:0 auto!important;
  object-fit:contain!important;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 7%,#000 93%,transparent 100%);
  mask-image:linear-gradient(to right,transparent 0%,#000 7%,#000 93%,transparent 100%);
}
.home .em-hero-band,.about-page .em-about-band {
  background:#111015!important;
  border-top:0!important;
}
@media(max-width:780px){
  .home .hero.em-hero-photo,
  .about-page .about-hero.em-about-photo {
    width:100%!important;
    max-width:none!important;
    padding:8px 0 0!important;
  }
  .home .hero.em-hero-photo::before,
  .about-page .about-hero.em-about-photo::before {filter:blur(24px) brightness(.5)}
  .home .em-hero-photo .em-cover-image,
  .about-page .em-about-photo .em-cover-image {
    max-width:100%!important;
    -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 3%,#000 97%,transparent 100%);
    mask-image:linear-gradient(to right,transparent 0%,#000 3%,#000 97%,transparent 100%);
  }
}

/* v4.9.8 – Richieste prenotazione evento */
.em-booking-panel{max-width:820px;margin:0 auto;padding:clamp(22px,4vw,44px);background:#17151a;border:1px solid #413039;border-radius:18px}
.em-booking-panel h2{margin:8px 0 14px}.em-booking-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}
.em-booking-form label{display:flex;flex-direction:column;gap:8px;font-weight:600}.em-booking-form input:not([type=checkbox]),.em-booking-form textarea{width:100%;box-sizing:border-box;border:1px solid #6c5b64;background:#0d0c10;color:#fff;border-radius:7px;padding:12px;font:inherit}
.em-booking-form label:has(textarea),.em-booking-privacy,.em-booking-form button{grid-column:1/-1}.em-booking-form .em-booking-privacy{flex-direction:row;align-items:flex-start;font-weight:400;font-size:.92rem}.em-booking-privacy input{margin-top:5px}.em-booking-privacy a{color:#ffbad2;text-decoration:underline}.em-booking-form button{justify-self:start}.em-booking-honeypot{position:absolute;left:-9999px}.em-booking-feedback{padding:12px;border:1px solid #9c6e80;border-radius:8px}
@media(max-width:600px){.em-booking-form{grid-template-columns:1fr}.em-booking-panel{padding:20px}}

/* v4.9.9 — HOME: riduce il vuoto fra Vivi Emozione Musica e Due anime.
   Intervento circoscritto alle due sezioni, senza alterare il video o i layout. */
.home main > .em-mood-section { padding-bottom: 26px; }
.home main > .em-project-section { padding-top: 26px; }
@media (max-width: 780px) {
  .home main > .em-mood-section { padding-bottom: 22px; }
  .home main > .em-project-section { padding-top: 22px; }
}

/* v4.9.10 — Titoletti delle sezioni Chi siamo uniformati a Il nostro progetto. */
.about-page > .section .eyebrow {font-size:clamp(13px,1.25vw,16px);letter-spacing:.24em;}

/* v4.9.11 — CHI SIAMO: sezioni più vicine, senza cambiare tipografia e contenuti. */
.about-page > .section {padding-top:58px;padding-bottom:58px;}
.about-page > .section.about-cta {padding-top:54px;padding-bottom:60px;}
@media (max-width:780px) {
  .about-page > .section {padding-top:43px;padding-bottom:43px;}
  .about-page > .section.about-cta {padding-top:42px;padding-bottom:48px;}
}

/* v4.9.14 — FOTO & VIDEO: titolo principale più equilibrato.
   Solo la pagina galleria; nessun cambiamento agli altri titoli. */
.em-media-page .em-media-intro .em-media-intro-panel h1.page-title {
  font-size:clamp(27px,2.45vw,34px);
  line-height:1.16;
}
@media (max-width:650px) {
  .em-media-page .em-media-intro .em-media-intro-panel h1.page-title {
    font-size:clamp(25px,6.3vw,31px);
  }
}

/* v4.9.15 – Sezioni distinte e video proporzionali */
.em-gallery-group{margin:0 0 58px}.em-gallery-group h2{font-size:clamp(23px,2.7vw,34px);color:#f4d4df;margin:0 0 25px;letter-spacing:.015em}
.em-video-tile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:start}
.em-video-tile-grid .em-video-tile{grid-column:span 1;width:100%;aspect-ratio:9/16;border-radius:13px;border:2px solid #68394a;overflow:hidden;position:relative;padding:0;background:#241a22;cursor:pointer;box-shadow:0 8px 25px #0007}
.em-video-tile-grid .em-video-tile[data-tile-ratio="16:9"]{grid-column:span 2;aspect-ratio:16/9}
.em-video-tile-grid .em-video-tile img,.em-video-tile-grid .em-video-tile video{width:100%;height:100%;object-fit:contain;border-radius:0;display:block;background:#110e14}
.em-video-tile-grid .em-video-tile:hover{border-color:#e1a2b7}
.em-gallery-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin:12px 0 20px}
.em-gallery-admin-grid .em-unified-row{display:flex;flex-direction:column;align-items:stretch;margin:0;padding:9px;min-width:0;gap:7px}
.em-gallery-admin-grid .em-unified-photo>img{width:100%;height:105px;object-fit:cover}
.em-gallery-admin-grid .em-unified-row .em-drag{cursor:grab;text-align:center;background:#f2f2f2;border-radius:3px}
.em-gallery-admin-grid .em-unified-row .button.em-remove-item{width:100%}
.em-gallery-admin-videos{grid-template-columns:repeat(auto-fill,minmax(255px,1fr))}
.em-gallery-admin-videos .em-video-fields p{display:flex;flex-wrap:wrap}
.em-gallery-admin-videos input[type=url]{width:100%;max-width:100%}
.em-gallery-admin-grid .em-unified-placeholder{min-height:145px}
@media(max-width:650px){.em-video-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.em-gallery-group{margin-bottom:36px}}

/* v4.9.16 — Galleria alternata, video riprodotti nel proprio spazio */
.em-gallery-alternating .em-gallery-group{margin-bottom:48px}
.em-gallery-alternating .em-gallery-group h2{font-size:clamp(21px,2.5vw,30px);margin-bottom:23px}
.em-gallery-alternating .em-video-tile-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.em-gallery-alternating .em-video-slot{position:relative;grid-column:span 1;aspect-ratio:9/16;min-width:0}
.em-gallery-alternating .em-video-slot[data-tile-ratio="16:9"]{grid-column:span 2;aspect-ratio:16/9}
.em-gallery-alternating .em-video-slot .em-video-tile{width:100%;height:100%;aspect-ratio:auto;display:block;border-radius:13px}
.em-gallery-alternating .em-video-slot .em-video-tile[hidden]{display:none!important}
.em-inline-video-player{position:absolute;inset:0;background:#000;border:2px solid #68394a;border-radius:13px;overflow:hidden}
.em-inline-video-player iframe,.em-inline-video-player video{width:100%;height:100%;border:0;display:block;object-fit:contain;background:#000}
.em-inline-video-stop{position:absolute;z-index:3;right:8px;top:8px;border:0;border-radius:50%;background:#25151de0;color:white;font-size:24px;line-height:1;width:32px;height:32px;cursor:pointer}
@media(max-width:650px){.em-gallery-alternating .em-video-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.em-gallery-alternating .em-gallery-group{margin-bottom:34px}}

/* v4.9.18 — titoli dei blocchi foto/video più discreti */
.em-media-page .em-gallery-alternating .em-gallery-group h2{font-size:clamp(19px,2vw,25px);line-height:1.25;margin-bottom:19px}
@media(max-width:650px){.em-media-page .em-gallery-alternating .em-gallery-group h2{font-size:19px;margin-bottom:16px}}

/* v4.9.20 — Prenotazioni compatte a destra della locandina dell'evento. */
.single-event-page .event-detail-copy .em-booking-section{padding:20px 0 26px;margin:0;}
.single-event-page .event-detail-copy .em-booking-section>.wrap{width:100%;max-width:none;padding:0;margin:0;}
.single-event-page .event-detail-copy .em-booking-panel{max-width:none;margin:0;padding:clamp(16px,2vw,24px);border-radius:14px;}
.single-event-page .event-detail-copy .em-booking-panel h2{font-size:clamp(21px,2vw,27px);line-height:1.2;margin:5px 0 9px;}
.single-event-page .event-detail-copy .em-booking-panel>p{font-size:.9rem;line-height:1.5;margin:0 0 10px;}
.single-event-page .event-detail-copy .em-booking-form{gap:11px 13px;margin-top:14px;}
.single-event-page .event-detail-copy .em-booking-form label{font-size:.87rem;gap:5px;}
.single-event-page .event-detail-copy .em-booking-form input:not([type=checkbox]),
.single-event-page .event-detail-copy .em-booking-form textarea{padding:9px 10px;font-size:.92rem;}
.single-event-page .event-detail-copy .em-booking-form textarea{min-height:58px;}
.single-event-page .event-detail-copy .em-booking-form .em-booking-privacy{font-size:.8rem;line-height:1.45;}
.single-event-page .event-detail-copy .em-booking-form button{padding:11px 18px;}
@media(max-width:1050px){.single-event-page .event-detail-copy .em-booking-form{grid-template-columns:1fr;}}
@media(max-width:780px){.single-event-page .event-detail-copy .em-booking-form{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:500px){.single-event-page .event-detail-copy .em-booking-form{grid-template-columns:1fr;}}

/* v4.9.21 – Informativa prenotazioni in finestra, senza perdere il modulo */
.em-booking-privacy .em-privacy-open{background:none;border:0;padding:0;color:inherit;text-decoration:underline;text-underline-offset:3px;font:inherit;cursor:pointer;display:inline;}
.em-booking-privacy .em-privacy-open:hover{color:#efb6cb;}
.em-privacy-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(94vw,660px);max-height:min(88vh,800px);overflow:auto;padding:0;border:1px solid #755264;border-radius:15px;background:#1d151d;color:#f7eff3;box-shadow:0 20px 70px #000b;z-index:99999;}
.em-privacy-dialog::backdrop{background:rgba(0,0,0,.78);}
.em-privacy-dialog-content{position:relative;padding:clamp(20px,4vw,34px);font-size:14px;line-height:1.65;}
.em-privacy-dialog h2{font-size:clamp(20px,3vw,26px);line-height:1.25;margin:0 40px 18px 0;}
.em-privacy-dialog h3{font-size:16px;margin:18px 0 5px;color:#efb6cb;}
.em-privacy-dialog p{margin:0 0 10px;}
.em-privacy-dialog a{color:#efb6cb;}
.em-privacy-dialog .em-privacy-close{position:absolute;top:12px;right:16px;font-size:29px;color:white;background:transparent;border:0;cursor:pointer;line-height:1;}
.em-privacy-dialog .em-privacy-note{font-size:12px;opacity:.85;margin:20px 0;}
.em-privacy-dialog .em-privacy-close-button{margin-top:12px;cursor:pointer;}

/* v4.9.23 — Progetto HOME: ritratto a sinistra, testo originale a destra */
.home .em-project-section .em-project-layout{grid-template-columns:minmax(270px,.76fr) minmax(0,1.24fr);gap:clamp(26px,4vw,58px);align-items:center}
.home .em-project-section .em-project-portrait{width:100%;max-width:445px;aspect-ratio:9/16;min-height:0;border:0;border-radius:0;overflow:hidden;background:transparent;box-shadow:none;position:relative;isolation:isolate}
.home .em-project-section .em-project-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;mask-image:radial-gradient(ellipse 76% 79% at 50% 49%,#000 62%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse 76% 79% at 50% 49%,#000 62%,transparent 100%)}
.home .em-project-section .em-project-portrait:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 57%,#37132318 78%,#25101944 100%);mix-blend-mode:screen}
@media(max-width:850px){.home .em-project-section .em-project-layout{grid-template-columns:1fr;gap:22px}.home .em-project-section .em-project-portrait{width:min(100%,365px);margin:0 auto}.home .em-project-section .em-project-copy{width:100%}}

/* v4.9.24: centratura ritratto Ornella nella pagina Chi siamo */
.about-ornella-photo{object-position:center 30%;}

/* v4.9.25 – ingrandimento foto profili Chi siamo */
.em-about-zoom{display:block;cursor:zoom-in;border-radius:8px;outline-offset:4px}
.em-about-zoom .about-person-photo{transition:filter .2s ease}
.em-about-zoom:hover .about-person-photo{filter:brightness(1.08)}
.em-about-photo-modal{position:fixed;inset:0;z-index:100000;background:rgba(4,3,6,.96);display:flex;align-items:center;justify-content:center;padding:62px 22px}
.em-about-photo-modal img{max-width:100%;max-height:calc(100dvh - 100px);object-fit:contain;width:auto;height:auto}
.em-about-photo-close{position:absolute;right:18px;top:16px;border:1px solid #ffffff66;border-radius:50%;width:46px;height:46px;background:#241b27;color:white;font-size:30px;cursor:pointer}

/* v4.9.27 – foto Chi siamo in finestra modale come l'informativa privacy */
.about-card a.em-about-zoom,.about-card a.em-about-zoom:hover,.about-card a.em-about-zoom:focus,.about-card a.em-about-zoom img{cursor:zoom-in!important;}
.em-about-photo-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(94vw,780px);max-width:94vw;max-height:90dvh;overflow:hidden;padding:0;border:1px solid #755264;border-radius:15px;background:#1d151d;color:#fff;box-shadow:0 20px 70px #000b;}
.em-about-photo-dialog::backdrop{background:rgba(0,0,0,.78)}
.em-about-photo-dialog-content{position:relative;display:flex;align-items:center;justify-content:center;padding:45px 16px 16px;max-height:90dvh;box-sizing:border-box}
.em-about-photo-dialog-image{display:block;max-width:100%;max-height:calc(90dvh - 65px);width:auto;height:auto;object-fit:contain;border-radius:7px}
.em-about-photo-dialog-close{position:absolute;right:10px;top:8px;border:0;background:transparent;color:#fff;font-size:32px;line-height:1;cursor:pointer;z-index:1;padding:3px 9px}
@media(max-width:600px){.em-about-photo-dialog{width:96vw;max-width:96vw}.em-about-photo-dialog-content{padding:42px 10px 10px}}

/* v4.9.28 — collaborazione Gianfranco Parisi: immagine discreta e nome in risalto */
.em-collaboration-content{display:flex;align-items:flex-start;gap:26px;margin-top:22px}
.em-collaboration-photo{display:block;flex:0 0 155px;width:155px;height:205px;object-fit:cover;object-position:center 33%;border-radius:9px;border:1px solid rgba(224,166,185,.28);box-shadow:0 10px 30px rgba(0,0,0,.28)}
.em-collaboration-text{flex:1;min-width:0}
.em-collaboration-text p:first-child{margin-top:0}
.em-collaboration-name{color:#f0b3c5;font-weight:800}
@media(max-width:580px){.em-collaboration-content{gap:16px}.em-collaboration-photo{flex-basis:105px;width:105px;height:145px}.em-collaboration-text{font-size:inherit}}
@media(max-width:390px){.em-collaboration-photo{flex-basis:85px;width:85px;height:118px}}

/* v4.9.29 — Chi siamo: paragrafi uniformemente allineati a sinistra.
   Restano invariati titoli, foto, layout e call-to-action centrale. */
.about-page .about-intro p,
.about-page .about-card p,
.about-page .em-collaboration-text p,
.about-page .about-story p,
.about-page .about-editor-content p {
  text-align:left;
  text-align-last:left;
}

/* v4.9.30 — CHI SIAMO: allineamento coerente di tutti i blocchi editoriali.
   Include titoli e soprattitoli, non soltanto i tag p. Esclude la CTA finale. */
.about-page > section.section:not(.about-cta) .wrap,
.about-page > section.section:not(.about-cta) .about-copy,
.about-page > section.section:not(.about-cta) .about-card,
.about-page > section.section:not(.about-cta) .em-collaboration-text,
.about-page > section.section:not(.about-cta) .about-story > div,
.about-page > section.section:not(.about-cta) h2,
.about-page > section.section:not(.about-cta) h3,
.about-page > section.section:not(.about-cta) h4,
.about-page > section.section:not(.about-cta) .eyebrow,
.about-page > section.section:not(.about-cta) p {
  text-align: left !important;
  text-align-last: left !important;
}
/* La fascia di apertura e l'invito finale mantengono il loro layout originale. */

/* v4.9.31 — Un'unica griglia editoriale per le sezioni CHI SIAMO.
   Il problema era la diversa larghezza dei contenitori (.wrap 1180px
   contro .about-copy 960px), non l'allineamento del testo. */
.about-page > section.section:not(.about-cta) > .wrap {
  width: min(960px, calc(100% - 42px));
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* v4.9.32 — Spaziatura leggermente più compatta fra i paragrafi di CHI SIAMO.
   Solo testo editoriale; titoli, foto, griglie e CTA non cambiano. */
.about-page .about-intro p,
.about-page .about-card p:not(.about-role),
.about-page .em-collaboration-text p,
.about-page .about-story p,
.about-page .about-editor-content p {
  margin-bottom: 12px;
}
.about-page .about-intro p + p,
.about-page .about-card p + p,
.about-page .em-collaboration-text p + p,
.about-page .about-story p + p,
.about-page .about-editor-content p + p {
  margin-top: 0;
}

/* Correzione anteprima video senza copertina: nessuna maschera ellittica. */
.em-media-page .em-gallery-alternating .em-video-slot .em-video-tile video.em-circle-preview-video {
  width:100% !important;
  height:100% !important;
  display:block;
  object-fit:cover !important;
  border-radius:0 !important;
  clip-path:none !important;
  -webkit-clip-path:none !important;
  mask-image:none !important;
  -webkit-mask-image:none !important;
}
