.elementor-kit-7{--e-global-color-primary:#A51D58;--e-global-color-secondary:#D79A16;--e-global-color-text:#27231F;--e-global-color-accent:#8A164A;--e-global-color-sdscrema:#FBF6F3;--e-global-color-sdslatte:#FFFFFF;--e-global-color-sdsneutr:#625A55;--e-global-color-sdssabia:#F8EFE8;--e-global-typography-primary-font-family:"Gelasio";--e-global-typography-primary-font-weight:500;--e-global-typography-primary-line-height:1.15em;--e-global-typography-secondary-font-family:"Playwrite NZ";--e-global-typography-secondary-font-weight:300;--e-global-typography-secondary-line-height:1.35em;--e-global-typography-text-font-family:"Open Sans";--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:1.6em;--e-global-typography-accent-font-family:"Open Sans";--e-global-typography-accent-font-size:13px;--e-global-typography-accent-font-weight:600;--e-global-typography-accent-text-transform:uppercase;--e-global-typography-accent-letter-spacing:2px;--e-global-typography-sdsscript-font-family:"Playwrite NZ";--e-global-typography-sdsscript-font-weight:300;--e-global-typography-sdsscript-line-height:1.35em;}.elementor-kit-7 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:10px;}.elementor-element{--widgets-spacing:10px 10px;--widgets-spacing-row:10px;--widgets-spacing-column:10px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-7{--e-global-typography-accent-font-size:12px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* --- Scuola Danza Salvetti · dinamica --- */
.sds-sticky.elementor-sticky--effects{box-shadow:0 4px 22px rgba(39,35,31,.09);}
.sds-sticky{transition:box-shadow .3s ease, padding .3s ease;}
.elementor-button{transition:transform .25s ease, box-shadow .25s ease;}
.elementor-button:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(165,29,88,.28);}
.sds-card{transition:transform .3s ease, box-shadow .3s ease;}
.sds-card:hover{transform:translateY(-6px);box-shadow:0 14px 30px rgba(39,35,31,.10);}
.elementor-nav-menu .elementor-item{transition:color .2s ease;}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
.elementor-image img{transition:transform .5s ease;}
.elementor-widget-image:hover img{transform:scale(1.02);}
@media(max-width:767px){
  h1{line-height:1.05!important;}
  .elementor-social-icons-wrapper{justify-content:center;}
}

/* --- base widget Social Icons (CSS del widget non caricato nei template inclusi) --- */
.elementor-social-icons-wrapper{display:flex;flex-wrap:wrap;justify-content:var(--justify-content,center);gap:var(--grid-row-gap,0) var(--grid-column-gap,5px);font-size:0;line-height:1}
.elementor-social-icon{display:inline-flex;align-items:center;justify-content:center;text-align:center;cursor:pointer;font-size:var(--icon-size,25px);line-height:var(--icon-size,25px);width:calc(var(--icon-size,25px) + 2*var(--icon-padding,.5em));height:calc(var(--icon-size,25px) + 2*var(--icon-padding,.5em));transition:transform .25s ease,opacity .25s ease}
.elementor-social-icon svg{width:var(--icon-size,25px);height:var(--icon-size,25px);fill:currentColor}
.elementor-social-icon:hover{opacity:.9;transform:translateY(-2px)}
.elementor-shape-circle .elementor-icon.elementor-social-icon{border-radius:50%}

/* --- pulsante contatti flottante --- */
.sds-float .elementor-button{box-shadow:0 8px 24px rgba(39,35,31,.22);}
.sds-float .elementor-button-icon svg{width:1.3em;height:1.3em;fill:currentColor}
.sds-float .elementor-button-content-wrapper{display:flex;align-items:center;gap:8px}
.elementor-sticky__spacer .sds-float{display:none!important}
@media(max-width:767px){.sds-float .elementor-button-text{display:none}.sds-float .elementor-button{padding:15px!important}}


/* --- pagina 404 (template a blocchi con template Elementor) --- */
:is(.error404,.search,.archive,.blog,.single-evento) .wp-site-blocks{padding:0}
:is(.error404,.search,.archive,.blog,.single-evento) .wp-site-blocks>*{margin-block-start:0!important}


/* --- ottimizzazione layout 30/09/2026 --- */
.sds-poster-ph{height:380px;display:flex;align-items:center;justify-content:center}
.elementor-button{white-space:nowrap}
@media(max-width:1024px){.elementor-32 .elementor-button{padding-left:22px!important;padding-right:22px!important}}
@media(max-width:400px){.elementor-button{white-space:normal}}
.elementor-widget-wrap>.elementor-widget__width-auto{display:inline-block;width:auto;vertical-align:top}
.elementor-nav-menu--dropdown.elementor-nav-menu__container{box-shadow:0 14px 28px rgba(39,35,31,.14)}

/* --- ricerca / archivi (template a blocchi) --- */
.sds-listing{font-family:"Open Sans",sans-serif;font-size:17px;color:#27231F}
.sds-listing .wp-block-query .wp-block-post-template{display:grid;gap:16px;margin-top:30px;padding:0}
.sds-listing .wp-block-post-title a{color:#A51D58;text-decoration:none}
.sds-listing .wp-block-post-title a:hover{color:#8A164A}
.sds-listing .wp-block-post-excerpt__more-link{display:none}
.sds-search{margin-top:24px}
.sds-search .wp-block-search__input{border:1px solid #EADFD7;border-radius:40px;padding:12px 20px;font-family:"Open Sans",sans-serif}
.sds-search .wp-block-search__button{background:#A51D58;color:#FFFDF9;border:0;border-radius:40px;padding:12px 26px;font-family:"Open Sans",sans-serif;font-weight:600;text-transform:uppercase;letter-spacing:2px;font-size:13px}
.sds-listing a{color:#A51D58}
.elementor-column[id]{scroll-margin-top:120px}
html{scroll-behavior:smooth}

/* --- testo giustificato + bottoni centrati su mobile --- */
.sds-just{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word}
.sds-just p{text-align:justify}
@media(max-width:767px){.elementor-widget-wrap:has(>.elementor-widget__width-auto.elementor-widget-button){text-align:center}
.elementor-widget-button.elementor-widget__width-auto{margin-left:6px!important;margin-right:6px!important}}
@media(max-width:767px){.sds-card .sds-just,.sds-card .sds-just p{text-align:left!important}}

/* --- eventi dinamici --- */
.sds-hide,.sds-script-eventi{display:none!important}
.sds-next-grid .e-loop-item{display:none}
.sds-next-grid .e-loop-item.sds-active,.sds-next-grid:not(.sds-ready) .e-loop-item:first-child{display:block}
.sds-stage{position:relative;border-radius:14px;overflow:hidden;background:#F8EFE8;aspect-ratio:707/1000}
.sds-stage-img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:contain;opacity:0;transition:opacity 1.2s ease}
.sds-stage-img.is-on{opacity:1}
.sds-dots{display:flex;justify-content:center;gap:8px;margin-top:12px}
.sds-dots button{width:10px;height:10px;border-radius:50%;border:0;background:#EADFD7;padding:0;cursor:pointer}
.sds-dots button.is-on{background:#A51D58}
.sds-slide-gal{display:none}
.sds-next-section:not(:has(.e-loop-item)){display:none}
.sds-center-inline .elementor-widget-wrap{text-align:center}
.sds-card-grid .e-loop-item>.elementor-section,.sds-card-grid .e-loop-item .elementor-container,.sds-card-grid .e-loop-item .elementor-column{height:100%}
.sds-excerpt{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.elementor-widget-theme-post-content a{color:#A51D58;text-decoration:underline;font-weight:600}

/* sds-footer-wa: il pulsante WhatsApp fisso non copre il link Privacy */
@media (max-width:767px){.elementor-element-986203d{padding-bottom:80px!important}}

/* --- restyling 15/10/2026 --- */
/* header bianco con filo magenta, come nel progetto Canva */
.sds-header,.elementor-element-b0cb29b{border-bottom:2px solid rgba(165,29,88,.85)}
/* foto in stile polaroid */
.sds-polaroid{padding:10px 8px 26px}
.sds-polaroid .elementor-widget-container{line-height:0}
.sds-polaroid img{background:#fff;padding:14px 14px 58px;border-radius:2px!important;box-sizing:border-box;box-shadow:0 22px 44px -12px rgba(39,35,31,.30),0 3px 10px rgba(39,35,31,.10);transition:transform .45s ease,box-shadow .45s ease!important}
.sds-polaroid--l img{transform:rotate(-2.4deg)}
.sds-polaroid--r img{transform:rotate(2.2deg)}
.elementor-widget-image.sds-polaroid:hover img{transform:rotate(0) scale(1.015);box-shadow:0 28px 54px -14px rgba(39,35,31,.34),0 3px 10px rgba(39,35,31,.10)}
@media(max-width:767px){.sds-polaroid img{padding:10px 10px 40px}.sds-polaroid--l img{transform:rotate(-1.5deg)}.sds-polaroid--r img{transform:rotate(1.5deg)}}
/* motto "movimento · musica · scena" */
.sds-motto .elementor-heading-title{letter-spacing:.5px}
/* pulsanti: stessa forma ovunque */
.elementor-button{font-weight:600}
.elementor-button:hover{box-shadow:0 10px 24px rgba(138,22,74,.25)}

/* --- fine restyling --- */

/* --- canva 15/10/2026 --- */
/* titoli come nel Canva: corsivo + serif */
.sds-serif{font-family:"Gelasio",Georgia,serif;font-weight:400;color:#A51D58;font-size:1.06em;line-height:1.05;display:inline-block;margin-top:.12em}
.sds-mag{color:#A51D58}
.sds-em em{font-style:italic;color:#A51D58}
/* hero: la foto dell'altalena parte dal filo del menu e arriva in fondo */
.sds-hero>.elementor-container{align-items:stretch}
.sds-hero-imgcol>.elementor-widget-wrap{padding:0!important;align-content:flex-start}
.sds-hero-img,.sds-hero-img .elementor-widget-container{margin:0!important;line-height:0}
.sds-hero-img img{display:block;width:100%;height:auto;border-radius:0!important}
@media(min-width:768px){
.sds-hero-imgcol{position:relative;min-height:600px}
.sds-hero-imgcol>.elementor-widget-wrap{position:absolute!important;inset:0;overflow:visible}
.sds-hero-img{position:absolute!important;inset:0;width:100%!important}
.sds-hero-img .elementor-widget-container{height:100%}
.sds-hero-img img{height:100%;width:auto;max-width:none;position:absolute;top:0;left:50%;transform:translateX(-50%)!important}
.elementor-widget-image.sds-hero-img:hover img{transform:translateX(-50%)!important}
}
@media(max-width:767px){.sds-hero-img img{max-width:440px;margin:0 auto}.elementor-widget-image.sds-hero-img:hover img{transform:none!important}}
/* icone delle discipline */
.sds-ico-w{margin-bottom:6px!important}
.sds-ico{display:inline-flex;width:62px;height:62px;border-radius:50%;background:#F8EFE8;align-items:center;justify-content:center;transition:background .3s ease}
.sds-ico svg{width:42px;height:42px;fill:none;stroke:#A51D58;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:stroke .3s ease}
.sds-card:hover .sds-ico{background:#A51D58}
.sds-card:hover .sds-ico svg{stroke:#fff}

/* --- fine canva --- */

/* --- hero canva 22/10/2026 --- */
/* home (Canva p.7): sfondo fucsia che sfuma nel giallino e chiude in bianco, ballerina scontornata a sinistra */
.sds-hero--rosa{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(180deg,#8C0D3A 0%,#961F45 8%,#A03555 16%,#B45E74 32%,#C88893 47%,#DDB1B2 63%,#EDD6D4 78%,#F5E7E1 88%,#FBF3EA 96%,#FFFFFF 100%)}
.sds-hero--rosa>.elementor-container{position:relative;z-index:2}
.sds-hero--rosa .sds-hero-img img{border-radius:0!important;filter:drop-shadow(0 26px 34px rgba(90,15,48,.22));transform-origin:50% -45%;animation:sdsSwing 6.5s ease-in-out infinite alternate}
@keyframes sdsSwing{from{rotate:-2deg}to{rotate:2deg}}
@media(min-width:1025px){
.sds-hero--rosa .sds-hero-img img{top:calc(-1 * var(--sds-h,0px));height:calc(100% + var(--sds-h,0px) - 46px);width:auto;max-width:none;left:auto;right:-70px;transform:none!important}
.elementor-widget-image.sds-hero-img:hover img{transform:none!important}
}
@media(min-width:768px) and (max-width:1024px){.sds-hero--rosa .sds-hero-imgcol{min-height:0}.sds-hero--rosa .sds-hero-imgcol>.elementor-widget-wrap,.sds-hero--rosa .sds-hero-img{position:relative!important;inset:auto}.sds-hero--rosa .sds-hero-img img{position:relative;top:auto;left:auto;height:auto;transform:none!important}}
@media(max-width:1024px){.sds-hero--rosa .sds-hero-img img{width:100%;max-width:400px;margin:calc(-1 * var(--sds-h,0px) - 40px) auto 0}
.sds-hero--rosa{background:linear-gradient(180deg,#8C0D3A 0,#961F45 160px,#A03555 calc(100% - 520px),#A8425F calc(100% - 290px),#DDB1B2 calc(100% - 205px),#F5E7E1 calc(100% - 110px),#FBF3EA calc(100% - 30px),#FFFFFF 100%)}
.sds-hero--rosa .sds-serif{color:#F4C861!important}}
.sds-hero--rosa .sds-serif{color:#A51D58;font-size:.98em}
.sds-hero--rosa .sds-hero-claim .elementor-heading-title{text-shadow:0 2px 22px rgba(90,15,48,.25)}
@media(min-width:1025px){.sds-hero--rosa .sds-hero-cta,.sds-hero--rosa .sds-hero-quote{margin-left:28%!important;width:72%!important}}
.sds-hero--rosa .sds-hero-quote p{margin:0 auto;max-width:400px}
@media(prefers-reduced-motion:reduce){.sds-hero--rosa .sds-hero-img img{animation:none}}

/* pagine interne: foto vera (img con alt e srcset) + velo fucsia che chiude in bianco, titolo H1 dentro */
.sds-hero-page{position:relative;overflow:hidden;isolation:isolate;background:#8C0D3A}
.sds-hero-page>.elementor-container,.sds-hero-page .elementor-column,.sds-hero-page .elementor-widget-wrap{position:static!important}
.sds-hero-page .elementor-widget-wrap>.elementor-element:not(.sds-hero-bg){position:relative;z-index:2}
.sds-hero-page .sds-hero-bg{position:absolute!important;inset:0;z-index:0;margin:0!important;width:100%!important;max-width:none!important}
.sds-hero-page .sds-hero-bg .elementor-widget-container{height:100%;margin:0!important}
.sds-hero-page .sds-hero-bg img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;border-radius:0!important;box-shadow:none!important;transform:none!important}
.sds-hero-page::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(140,13,58,.93) 0%,rgba(150,31,69,.84) 28%,rgba(160,53,85,.70) 55%,rgba(200,136,147,.62) 76%,rgba(245,231,225,.9) 91%,#FFFFFF 100%)}
.sds-hero-page .elementor-heading-title,.sds-hero-page .elementor-widget-text-editor{text-shadow:0 2px 18px rgba(70,8,32,.35)}
.sds-hero-page .elementor-widget-text-editor p{max-width:680px;margin-left:auto;margin-right:auto}
/* breadcrumb Rank Math */
.sds-breadcrumb .rank-math-breadcrumb p{margin:0;font-family:"Open Sans",sans-serif;font-size:13px;letter-spacing:.04em;color:rgba(255,255,255,.85);text-align:center}
.sds-breadcrumb .rank-math-breadcrumb a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4)}
.sds-breadcrumb .rank-math-breadcrumb a:hover{border-bottom-color:#F4C861}
.sds-breadcrumb .rank-math-breadcrumb .separator{margin:0 .5em;opacity:.7}

/* header trasparente sopra gli hero (home e pagine), bianco con testi fucsia dopo lo scroll */
body:has(.sds-sticky ~ .sds-tophero){--sds-h:113px}
@media(max-width:1024px){body:has(.sds-sticky ~ .sds-tophero){--sds-h:101px}}
@media(max-width:767px){body:has(.sds-sticky ~ .sds-tophero){--sds-h:86px}}
body:has(.sds-sticky ~ .sds-tophero) .sds-sticky{margin-bottom:calc(-1 * var(--sds-h))!important;z-index:99}
.sds-sticky ~ .sds-tophero>.elementor-container{padding-top:var(--sds-h)}
body:has(.sds-sticky ~ .sds-tophero) .sds-sticky .elementor-element-b0cb29b{transition:background-color .35s ease,border-color .35s ease,padding .35s ease}
body:has(.sds-sticky ~ .sds-tophero) .sds-sticky:not(.elementor-sticky--effects) .elementor-element-b0cb29b{background-color:transparent!important;border-bottom-color:transparent!important}
body:has(.sds-sticky ~ .sds-tophero) .sds-sticky:not(.elementor-sticky--effects){box-shadow:none}
body:has(.sds-sticky ~ .sds-tophero) .sds-sticky:not(.elementor-sticky--effects) .elementor-nav-menu--main .elementor-item,
body:has(.sds-sticky ~ .sds-tophero) .sds-sticky:not(.elementor-sticky--effects) .elementor-nav-menu--main .elementor-item:hover,
body:has(.sds-sticky ~ .sds-tophero) .sds-sticky:not(.elementor-sticky--effects) .elementor-menu-toggle{color:#FFFFFF!important;fill:#FFFFFF!important}
body:has(.sds-sticky ~ .sds-tophero) .sds-sticky:not(.elementor-sticky--effects) .elementor-menu-toggle svg{fill:#FFFFFF!important}
body:has(.sds-sticky ~ .sds-tophero) .sds-sticky:not(.elementor-sticky--effects) .elementor-nav-menu--main .elementor-item:after{background-color:#F4C861!important}
body:has(.sds-sticky ~ .sds-tophero) .sds-sticky .elementor-nav-menu--main .elementor-item{transition:color .35s ease}
/* logo quadrato come nel Canva: grande sopra l'hero, piccolo nell'header bianco */
body:has(.sds-sticky ~ .sds-tophero) .elementor-element.elementor-element-b0cb29b>.elementor-container{max-width:none!important;width:100%;padding-left:14px;padding-right:14px}
body:has(.sds-sticky ~ .sds-tophero) .elementor-element-af85722 a{display:inline-block;transform-origin:left top;transition:transform .35s ease}
body:has(.sds-sticky ~ .sds-tophero) .sds-sticky:not(.elementor-sticky--effects) .elementor-element-af85722 a{transform:scale(1.5)}
body:has(.sds-sticky ~ .sds-tophero) .sds-sticky.elementor-sticky--effects .elementor-element-af85722 a{transform:scale(.8)}
body:has(.sds-sticky ~ .sds-tophero) .sds-sticky.elementor-sticky--effects .elementor-element-b0cb29b{padding-top:6px!important;padding-bottom:6px!important}
@media(max-width:767px){body:has(.sds-sticky ~ .sds-tophero) .sds-sticky:not(.elementor-sticky--effects) .elementor-element-af85722 a{transform:scale(1.25)}
body:has(.sds-sticky ~ .sds-tophero) .elementor-element-b0cb29b>.elementor-container{padding-left:8px;padding-right:8px}}
/* --- fine hero canva --- */

/* --- carosello eventi 22/10/2026: scorre la scheda intera (locandina + testo) --- */
.sds-carousel .elementor-loop-container{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
.sds-carousel .e-loop-item{display:block!important;grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .8s ease,visibility .8s}
.sds-carousel .e-loop-item.is-on{opacity:1;visibility:visible;z-index:1}
.sds-carousel .e-loop-item.sds-off{display:none!important}
.sds-carousel .sds-slide-main img{width:100%;aspect-ratio:707/1000;object-fit:contain;background:#F8EFE8;border-radius:14px}
.sds-car-nav{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:26px}
.sds-car-nav .sds-dots{margin:0}
.sds-car-arrow{width:42px;height:42px;border-radius:50%;border:2px solid #A51D58;background:#fff;color:#A51D58;font-size:26px;line-height:1;padding:0 0 3px;cursor:pointer;transition:background .25s,color .25s}
.sds-car-arrow:hover,.sds-car-arrow:focus-visible{background:#A51D58;color:#fff}
.sds-dots button{width:12px;height:12px}
@media(prefers-reduced-motion:reduce){.sds-carousel .e-loop-item{transition:none}}
/* --- fine carosello eventi --- */
/* --- carosello eventi su mobile 17/11/2026: si scorre col dito (scroll-snap), si vede un pezzo della scheda dopo --- */
@media (max-width:767px){
.sds-carousel.sds-swipe .elementor-loop-container{display:flex!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;gap:14px;padding:4px 7% 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.sds-carousel.sds-swipe .elementor-loop-container::-webkit-scrollbar{display:none}
.sds-carousel.sds-swipe .e-loop-item{grid-area:auto;flex:0 0 86%;min-width:0;opacity:1;visibility:visible;scroll-snap-align:center;scroll-snap-stop:always}
.sds-carousel.sds-swipe .sds-car-arrow{display:none}
.sds-carousel.sds-swipe .sds-car-nav{margin-top:14px}
}
/* --- fine carosello mobile --- *//* End custom CSS */