/* Componenti del tema che sostituiscono funzioni prima svolte da Elementor */
.slx-lb{position:fixed;inset:0;z-index:100000;background:rgba(10,12,16,.92);display:flex;align-items:center;justify-content:center;padding:24px}
.slx-lb[hidden]{display:none}
.slx-lb img{max-width:min(1400px,92vw);max-height:86vh;width:auto;height:auto;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.slx-lb button{position:absolute;background:rgba(255,255,255,.12);border:0;color:#fff;width:48px;height:48px;border-radius:50%;font-size:26px;line-height:48px;cursor:pointer;padding:0}
.slx-lb button:hover{background:rgba(255,255,255,.25)}
.slx-lb .slx-x{top:18px;right:18px}.slx-lb .slx-p{left:18px;top:50%;margin-top:-24px}.slx-lb .slx-n{right:18px;top:50%;margin-top:-24px}
.slx-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
/* Campo data nativo alto come gli altri campi (prima Elementor usava un calendario JS) */
.elementor-field-type-date input[type=date]::-webkit-datetime-edit-fields-wrapper{padding:0}.elementor-field-type-date input[type=date]::-webkit-datetime-edit{padding:0!important}.elementor-field-type-date input[type=date]::-webkit-calendar-picker-indicator{padding:0;height:1.2em;margin:0}
/* Animazioni d'ingresso (prima di Elementor) */
.elementor-invisible{visibility:hidden}
.animated{animation-duration:1.25s}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}.fadeIn{animation-name:fadeIn}
@keyframes fadeInUp{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:none}}.fadeInUp{animation-name:fadeInUp}
@keyframes fadeInDown{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:none}}.fadeInDown{animation-name:fadeInDown}
@keyframes fadeInLeft{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:none}}.fadeInLeft{animation-name:fadeInLeft}
@keyframes fadeInRight{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:none}}.fadeInRight{animation-name:fadeInRight}
@keyframes zoomIn{from{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIn{animation-name:zoomIn}


/* M1 leggibilita: etichette grigie piu scure (contrasto AA) */
.qb a small,.l3-ls a small,.l3-info small,.l3-meta span{color:#6B6963!important}
/* M1 mobile: niente testi sotto i 12 px, contatti facili da toccare */
@media (max-width:767px){
  .k,.l3-l,.l3-lk,.ct,.lab{font-size:12.5px!important}
  .qb a small,.l3-ls a small,.l3-info small,.l3-meta span{font-size:12px!important}
  .elementor-button-text{font-size:13px!important}
  a.telefono_contatti,a.email_contatti{display:inline-block;padding-block:10px}
}

/* M2 mobile: priorita alta sulle regole congelate (font shorthand !important) */
@media (max-width:767px){
  html body .k:not(#z1):not(#z2):not(#z3),html body .l3-l:not(#z1):not(#z2):not(#z3),html body .l3-lk:not(#z1):not(#z2):not(#z3),html body .ct:not(#z1):not(#z2):not(#z3),html body .lab:not(#z1):not(#z2):not(#z3),html body .qb a.go:not(#z1):not(#z2):not(#z3),html body figure figcaption:not(#z1):not(#z2):not(#z3),html body .l3-bx:not(#z1):not(#z2):not(#z3),html body .l3-bx.sm:not(#z1):not(#z2):not(#z3),html body button.menu:not(#z1):not(#z2):not(#z3){font-size:12.5px!important}
  html body a.pv small:not(#z1):not(#z2):not(#z3),html body a.nx small:not(#z1):not(#z2):not(#z3),html body .qb a small:not(#z1):not(#z2):not(#z3),html body .l3-ls a small:not(#z1):not(#z2):not(#z3),html body .l3-info small:not(#z1):not(#z2):not(#z3),html body .l3-meta span:not(#z1):not(#z2):not(#z3){font-size:12px!important}
  html body a.l3-lk:not(#z1):not(#z2):not(#z3){display:inline-flex!important;align-items:center;min-height:44px}
}

/* M3 header mobile: dimensioni originali dei bottoni in testata */
@media (max-width:767px){html body header.l3-hd .l3-bx:not(#z1):not(#z2):not(#z3):not(#z4),html body header.l3-hd button.menu:not(#z1):not(#z2):not(#z3):not(#z4){font-size:11px!important}}

/* M4 header telefoni stretti: Book now non tocca il logo */
@media (max-width:420px){html body header.l3-hd .l3-bx:not(#z1):not(#z2):not(#z3):not(#z4),html body header.l3-hd button.menu:not(#z1):not(#z2):not(#z3):not(#z4){letter-spacing:.12em!important;padding-left:12px!important;padding-right:12px!important}html body header.l3-hd .r:not(#z1):not(#z2):not(#z3):not(#z4){gap:10px!important}}

/* A capo: paragrafi senza parole orfane */
main p,.site-main p,#content p{text-wrap:pretty}

/* Eventi dal Network (Experience Network) */
.l3-evt{background:#F6F2EC;padding:clamp(64px,8vw,120px) 20px;color:#1F2A33}
.l3-evt .in{max-width:1320px;margin:0 auto}
.l3-evt .l3-evt-k{font:500 12.5px/1.4 Archivo,sans-serif;letter-spacing:.28em;text-transform:uppercase;color:#A11F1A;margin:0 0 18px}
.l3-evt h2{font:300 clamp(40px,5vw,66px)/1.05 Fraunces,Georgia,serif;letter-spacing:-.01em;margin:0 0 18px;color:#1F2A33}
.l3-evt h2 em{font-style:italic}
.l3-evt .l3-evt-p{font:400 17px/1.65 Archivo,sans-serif;color:#4A4F55;max-width:40em;margin:0 0 clamp(32px,4vw,48px)}
.l3-evt .pnen{margin:0}
.l3-evt .pnen-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media (max-width:900px){.l3-evt .pnen-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.l3-evt .pnen-list{grid-template-columns:1fr}}
.l3-evt .pnen-card{background:#fff;border:0;padding:0}
.l3-evt .pnen-image{aspect-ratio:4/3}
.l3-evt .pnen-body{padding:22px 24px 26px;gap:10px}
.l3-evt .pnen-category{font:500 12px/1.4 Archivo,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:#A11F1A}
.l3-evt .pnen .pnen-name{font:300 28px/1.15 Fraunces,Georgia,serif;color:#1F2A33}
.l3-evt .pnen-summary{font:400 16px/1.6 Archivo,sans-serif;color:#4A4F55}
.l3-evt .pnen .pnen-link{font:500 12.5px/1 Archivo,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#A11F1A;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:6px;min-height:0;margin-top:10px}
.l3-evt .pnen .pnen-credit{font:400 14px/1.6 Archivo,sans-serif;color:#4A4F55}
.l3-evt .pnen .pnen-credit a{color:#A11F1A}

/* Eventi dal Network: priorita sulle regole congelate */
html body .l3-evt .l3-evt-k:not(#z1):not(#z2):not(#z3){color:#A11F1A!important;margin:0 0 18px!important;font:500 12.5px/1.4 Archivo,sans-serif!important;letter-spacing:.28em!important}
html body .l3-evt .l3-evt-p:not(#z1):not(#z2):not(#z3){margin:0 0 clamp(32px,4vw,48px)!important;font:400 17px/1.65 Archivo,sans-serif!important;color:#4A4F55!important}
html body .l3-evt .pnen-category:not(#z1):not(#z2):not(#z3){color:#A11F1A!important}
html body .l3-evt h2:not(#z1):not(#z2):not(#z3){margin:0 0 18px!important}
html body .l3-evt .pnen-image:not(#z1):not(#z2):not(#z3){aspect-ratio:auto!important;height:auto!important;overflow:hidden}
html body .l3-evt .pnen-image img:not(#z1):not(#z2):not(#z3){display:block;width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:cover}

/* Eventi del borgo come calendario (12/11, richiesta utente): fascia rossa, righe senza foto, Prenota verso pratonevoso.com */
html body .l3-cal:not(#z1):not(#z2):not(#z3){background:#B5201B!important;color:#fff!important;padding:clamp(80px,9vw,140px) 0!important;margin:0!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-in{max-width:1400px!important;margin:0 auto!important;padding:0 clamp(20px,4vw,48px)!important;display:grid!important;grid-template-columns:minmax(0,5fr) minmax(0,7fr)!important;gap:clamp(40px,6vw,110px)!important;align-items:start!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-h{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:22px!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-k{margin:0!important;font:500 11.5px/1.2 Archivo,sans-serif!important;letter-spacing:.28em!important;text-transform:uppercase!important;color:#FFC9C2!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) h2{margin:0!important;font-family:Fraunces,Georgia,serif!important;font-weight:300!important;font-size:clamp(40px,4.6vw,66px)!important;line-height:1.06!important;letter-spacing:-.01em!important;color:#fff!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) h2 em{font-style:italic!important;font-weight:300!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-p{margin:0!important;max-width:34em!important;font:400 16px/1.65 Archivo,sans-serif!important;color:rgba(255,255,255,.86)!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) a.l3-cal-lk{display:inline-block!important;margin-top:8px!important;padding-bottom:7px!important;border-bottom:1px solid #fff!important;font:500 11.5px/1.2 Archivo,sans-serif!important;letter-spacing:.22em!important;text-transform:uppercase!important;color:#fff!important;text-decoration:none!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) a.l3-cal-lk:hover{color:#FFC9C2!important;border-color:#FFC9C2!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-l{list-style:none!important;margin:0!important;padding:0!important;border-top:1px solid rgba(255,255,255,.3)!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-r{display:grid!important;grid-template-columns:clamp(90px,8vw,120px) minmax(0,1fr) auto!important;gap:clamp(16px,2vw,28px)!important;align-items:center!important;margin:0!important;padding:clamp(22px,2.4vw,30px) 0!important;border-bottom:1px solid rgba(255,255,255,.3)!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-d{display:flex!important;flex-direction:column!important;gap:8px!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-d b{font-family:Fraunces,Georgia,serif!important;font-weight:300!important;font-size:clamp(44px,4vw,58px)!important;line-height:.9!important;color:#fff!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-d small,html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-n small{font:500 11.5px/1.2 Archivo,sans-serif!important;letter-spacing:.22em!important;text-transform:uppercase!important;color:#FFC9C2!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-n{display:flex!important;flex-direction:column!important;gap:9px!important;min-width:0!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-t{font-family:Fraunces,Georgia,serif!important;font-weight:300!important;font-size:clamp(24px,2.2vw,32px)!important;line-height:1.12!important;color:#fff!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) a.l3-cal-b{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:0 24px!important;border:1px solid #fff!important;background:transparent!important;font:500 11.5px/1 Archivo,sans-serif!important;letter-spacing:.22em!important;text-transform:uppercase!important;color:#fff!important;text-decoration:none!important;white-space:nowrap!important;transition:background .2s,color .2s!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) a.l3-cal-b:hover,html body .l3-cal:not(#z1):not(#z2):not(#z3) a.l3-cal-b:focus-visible{background:#fff!important;color:#B5201B!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-vuoto{margin:0!important;font:400 16px/1.6 Archivo,sans-serif!important;color:rgba(255,255,255,.86)!important}
@media (max-width:900px){html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-in{grid-template-columns:minmax(0,1fr)!important}}
@media (max-width:560px){html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-r{grid-template-columns:72px minmax(0,1fr)!important}html body .l3-cal:not(#z1):not(#z2):not(#z3) a.l3-cal-b{grid-column:2!important;justify-self:start!important;min-height:44px!important}html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-d b{font-size:42px!important}}

html body .l3-cal:not(#z1):not(#z2):not(#z3) .l3-cal-h > *{width:auto!important;grid-template-columns:none!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) h2 em{display:inline!important;color:#fff!important;font-size:inherit!important}
html body .l3-cal:not(#z1):not(#z2):not(#z3) p{display:block!important}
html body .b8 .l3-cal:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7):not(#z8) *{-webkit-text-fill-color:currentColor!important}
html body .b8 .l3-cal:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7):not(#z8) .l3-cal-h > p,html body .b8 .l3-cal:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7):not(#z8) .l3-cal-h > h2{display:block!important;width:auto!important;margin:0!important}
html body .b8 .l3-cal:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7):not(#z8) h2 em{display:inline!important;margin:0!important;padding:0!important}
html body .b8 .l3-cal:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7):not(#z8) .l3-cal-r > span,html body .b8 .l3-cal:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7):not(#z8) .l3-cal-n > *{margin:0!important}
html body .b8 .l3-cal:not(#z1):not(#z2):not(#z3):not(#z4):not(#z5):not(#z6):not(#z7):not(#z8) a.l3-cal-lk{margin:8px 0 0!important;padding:0 0 7px!important;transform:none!important;position:static!important}
