html,body{
  width:100%!important;
  min-height:100%!important;
  height:auto!important;
  margin:0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
html.frhf-final-lock,body.frhf-final-lock{overflow:hidden!important}

.fr-events-page,.fr-events-page *{box-sizing:border-box}
.fr-events-page{
  --green:#063f31;
  --green-dark:#032d23;
  --green-soft:#0b5744;
  --cream:#f5f1e8;
  --paper:#fffefa;
  --gold:#d8b867;
  --ink:#171c19;
  --muted:#6c726e;
  width:100vw;
  max-width:100vw;
  min-height:100vh;
  height:auto;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  overflow-x:clip;
  overflow-y:visible;
  color:var(--ink);
  background:var(--paper);
  font-family:"Montserrat",Arial,sans-serif;
}
.fr-events-page a{color:inherit;text-decoration:none}
.fr-events-page img{display:block;width:100%}
.fr-events-container{width:min(1180px,calc(100% - 48px));margin:0 auto}

.fr-events-script{
  display:block;
  color:var(--gold);
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:28px;
  font-weight:500;
  font-style:italic;
  line-height:1;
}

.fr-reveal{
  opacity:0;
  transform:translateY(34px);
  transition:opacity .85s ease,transform .85s cubic-bezier(.22,.61,.36,1);
}
.fr-reveal.fr-visible{opacity:1;transform:none}
.fr-delay-1{transition-delay:.12s}
.fr-delay-2{transition-delay:.24s}

/* HERO APPROVATO */
.fr-events-hero{
  position:relative;
  min-height:580px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  color:#fff;
  background-image:var(--fr-events-hero);
  background-size:cover;
  background-position:center 48%;
}
.fr-events-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(1,42,31,.96) 0%,rgba(1,42,31,.72) 31%,rgba(1,42,31,.33) 54%,rgba(1,42,31,.08) 100%),
    linear-gradient(180deg,rgba(2,28,22,.08) 0%,rgba(2,28,22,.05) 60%,rgba(2,28,22,.44) 100%);
}
.fr-events-hero-inner{
  position:relative;
  z-index:2;
  width:100%;
  padding:155px 0 63px;
}
.fr-events-hero-copy{
  max-width:610px;
  margin-left:0;
}
.fr-events-hero h1{
  margin:14px 0 22px;
  color:#fff;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:clamp(72px,6.7vw,104px);
  font-weight:500;
  line-height:.78;
  letter-spacing:-.045em;
}
.fr-events-hero p{
  max-width:555px;
  margin:0 0 24px;
  color:rgba(255,255,255,.87);
  font-size:13px;
  line-height:1.7;
}
.fr-events-button{
  min-height:49px;
  padding:0 25px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid transparent;
  font-size:8px;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
  transition:transform .25s ease,background .25s ease,color .25s ease;
}
.fr-events-button:hover{transform:translateY(-2px)}
.fr-events-button--cream{color:var(--green)!important;background:var(--cream)}
.fr-events-button--cream:hover{background:var(--gold)}
.fr-events-button--green{color:#fff!important;background:var(--green)}
.fr-events-button--green:hover{background:var(--green-dark)}

.fr-events-scroll-cue{
  position:absolute;
  z-index:3;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color:#fff!important;
  font-size:8px;
  font-weight:600;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.fr-events-scroll-cue i{
  width:1px;
  height:28px;
  background:rgba(255,255,255,.65);
  animation:frEventsScroll 1.8s ease-in-out infinite;
}
@keyframes frEventsScroll{
  0%,100%{transform:scaleY(.55);transform-origin:top;opacity:.45}
  50%{transform:scaleY(1);opacity:1}
}

/* EVENT TYPES — icon cards */
.fr-events-occasions{
  scroll-margin-top:100px;
  padding:36px 0 52px;
  background:linear-gradient(180deg,#faf8f3 0%,#fffefa 100%);
}
.fr-events-section-head--center{
  max-width:850px;
  margin:0 auto 34px;
  text-align:center;
}
.fr-events-section-head--center .fr-events-script{font-size:26px}
.fr-events-section-head--center h2{
  margin:7px 0 11px;
  color:var(--green-dark);
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:clamp(54px,5.3vw,78px);
  font-weight:500;
  line-height:.92;
  letter-spacing:-.04em;
}
.fr-events-section-head--center p{
  margin:0 auto;
  color:#8a8c87;
  font-size:10px;
  line-height:1.65;
}
.fr-events-card-scroller{
  position:relative;
}

.fr-events-card-scroll-cue{
  display:none;
}

.fr-events-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px;
}
.fr-events-card{
  min-height:268px;
  padding:18px 22px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
  border:1px solid rgba(216,184,103,.25);
  border-radius:8px;
  background:rgba(255,254,250,.72);
}
.fr-events-card-icon-wrap{
  height:100px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.fr-events-card-icon-blob{
  position:relative;
  width:108px;
  height:82px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.fr-events-card-icon-blob::before{
  content:"";
  position:absolute;
  inset:2px 3px;
  background:
    radial-gradient(circle at 48% 50%,rgba(216,184,103,.38) 0 44%,rgba(216,184,103,.16) 65%,transparent 69%);
  border-radius:44% 56% 52% 48% / 50% 45% 55% 50%;
  transform:rotate(-4deg);
}
.fr-events-icon{
  position:relative;
  z-index:1;
  width:58px;
  height:58px;
  color:#0a2f27;
}
.fr-events-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:center;
}
.fr-events-card-body h3{
  margin:5px 0 7px;
  color:var(--green-dark);
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:25px;
  font-weight:500;
  line-height:1;
}
.fr-events-card-body p{
  margin:0;
  color:#626761;
  font-size:10px;
  line-height:1.5;
}
.fr-events-card-link{
  min-height:39px;
  margin-top:auto;
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:4px;
  color:#fff!important;
  background:var(--green);
  font-size:8px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  transition:transform .25s ease,background .25s ease;
}
.fr-events-card-link:hover{
  transform:translateY(-2px);
  background:var(--green-dark);
}

/* NEXT EVENT */
.fr-events-featured{
  padding:86px 0 105px;
  background:var(--cream);
}
.fr-events-section-head{
  margin-bottom:42px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:45px;
}
.fr-events-section-head h2{
  margin:10px 0 0;
  color:var(--green-dark);
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:clamp(54px,6vw,82px);
  font-weight:500;
  line-height:.84;
}
.fr-events-section-head>p{
  max-width:390px;
  margin:0;
  color:var(--muted);
  font-size:10px;
  line-height:1.7;
}
.fr-events-featured-card{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:520px;
  background:var(--paper);
}
.fr-events-featured-image{
  min-height:520px;
  padding:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eee8dc;
}
.fr-events-featured-image img{
  width:100%;
  height:100%;
  max-height:470px;
  object-fit:contain;
}
.fr-events-featured-content{
  padding:55px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.fr-events-date{
  color:var(--gold);
  font-size:9px;
  font-weight:700;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.fr-events-featured-content h3{
  margin:12px 0 16px;
  color:var(--green-dark);
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:clamp(48px,4.5vw,68px);
  font-weight:500;
  line-height:.9;
}
.fr-events-lead{
  margin:0;
  color:var(--muted);
  font-size:11px;
  line-height:1.7;
}
.fr-events-details{
  margin:28px 0 31px;
  padding:21px 0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  border-top:1px solid rgba(6,63,49,.13);
  border-bottom:1px solid rgba(6,63,49,.13);
}
.fr-events-details span{
  display:block;
  margin-bottom:5px;
  color:var(--muted);
  font-size:8px;
  font-weight:600;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.fr-events-details strong{
  color:var(--green);
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:17px;
  font-weight:600;
  line-height:1.2;
}

/* Footer = Home master */
.fr-events-footer{
  padding:36px 0 22px;
  color:#fff;
  background:#043b2f;
  border-top:1px solid rgba(255,255,255,.08);
}
.fr-events-footer-grid{
  display:grid;
  grid-template-columns:1.05fr .9fr .85fr 1fr;
  gap:0;
  align-items:start;
}
.fr-events-footer-grid>*{
  min-width:0;
  padding:0 30px;
  border-left:1px solid rgba(255,255,255,.10);
}
.fr-events-footer-grid>*:first-child{padding-left:0;border-left:0}
.fr-events-footer-logo{width:105px;margin-bottom:14px;display:block}
.fr-events-footer-logo img{
  width:105px;
  max-width:105px;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 5px 15px rgba(0,0,0,.22));
}
.fr-events-footer p,.fr-events-footer li{
  margin:0;
  color:rgba(255,255,255,.59);
  font-size:9px;
  line-height:1.75;
}
.fr-events-footer h4{
  margin:0 0 13px;
  color:var(--gold);
  font-size:8px;
  font-weight:600;
  line-height:1.4;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.fr-events-footer ul{margin:0;padding:0;list-style:none}
.fr-events-footer a{color:inherit}
.fr-events-footer-cernobbio-kicker{
  display:block;
  margin-bottom:9px;
  color:var(--gold);
  font-size:8px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.fr-events-footer-cernobbio p{margin:0 0 11px}
.fr-events-footer-cernobbio a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding-bottom:4px;
  border-bottom:1px solid rgba(216,184,103,.48);
  color:var(--gold)!important;
  font-size:7px;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.fr-events-footer-bottom{
  margin-top:27px;
  padding-top:17px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  border-top:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.44);
  font-size:9px;
  line-height:1.6;
}
.fr-events-to-top{
  position:fixed;
  z-index:2147481000;
  right:22px;
  bottom:22px;
  width:46px;
  height:46px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  color:var(--green-dark);
  background:var(--gold);
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:22px;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:opacity .3s ease,visibility .3s ease,transform .3s ease,background .3s ease;
  cursor:pointer;
}
.fr-events-to-top.is-show{opacity:1;visibility:visible;transform:none}
.fr-events-to-top:hover{background:#fff}

.fr-events-scroll-host{
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}

@media(max-width:1050px){
  .fr-events-container{width:min(1180px,calc(100% - 48px))}
  .fr-events-card-grid{gap:18px}
  .fr-events-featured-card{grid-template-columns:1fr}
  .fr-events-featured-image{min-height:450px}
  .fr-events-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px}
  .fr-events-footer-grid>*:nth-child(3){border-left:0;padding-left:0}
}

@media(max-width:680px){
  .fr-events-container{width:min(100% - 30px,1180px)}

  .fr-events-hero{
    min-height:650px;
    background-position:58% center;
  }
  .fr-events-hero-inner{padding:132px 0 72px}
  .fr-events-hero-copy{max-width:92%}
  .fr-events-hero .fr-events-script{font-size:24px}
  .fr-events-hero h1{
    margin-top:12px;
    font-size:clamp(58px,17vw,76px);
    line-height:.8;
  }
  .fr-events-hero p{font-size:11px;line-height:1.65}
  .fr-events-scroll-cue{display:none}

  .fr-events-occasions{padding:48px 0 58px}
  .fr-events-section-head--center{margin-bottom:31px}
  .fr-events-section-head--center .fr-events-script{font-size:23px}
  .fr-events-section-head--center h2{font-size:48px;line-height:.92}
  .fr-events-section-head--center p{font-size:9px}
  .fr-events-desktop-break{display:none}

  .fr-events-card-scroller{
    width:calc(100% + 15px);
    margin-right:-15px;
    position:relative;
    overflow:visible;
  }

  .fr-events-card-grid{
    width:100%;
    margin:0;
    padding:0 34px 0 0;
    display:flex;
    gap:14px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .fr-events-card-grid::-webkit-scrollbar{display:none}

  .fr-events-card{
    flex:0 0 84%;
    min-height:285px;
    scroll-snap-align:start;
  }

  .fr-events-card-scroll-cue{
    position:absolute;
    z-index:8;
    top:50%;
    right:3px;
    width:34px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    transform:translateY(-50%);
    border-radius:20px 0 0 20px;
    color:var(--green);
    background:rgba(245,241,232,.94);
    box-shadow:0 6px 22px rgba(3,45,35,.13);
    font-family:"Cormorant Garamond",Georgia,serif;
    font-size:34px;
    line-height:1;
    pointer-events:none;
    transition:opacity .25s ease,visibility .25s ease;
    animation:frEventsHorizontalCue 1.7s ease-in-out infinite;
  }

  @keyframes frEventsHorizontalCue{
    0%,100%{transform:translate(-2px,-50%);opacity:.62}
    50%{transform:translate(3px,-50%);opacity:1}
  }

  .fr-events-featured{padding:72px 0 82px}
  .fr-events-section-head{display:block;margin-bottom:34px}
  .fr-events-section-head h2{font-size:52px}
  .fr-events-section-head>p{margin-top:15px}
  .fr-events-featured-image{min-height:0;height:auto;padding:16px}
  .fr-events-featured-image img{height:auto;max-height:none}
  .fr-events-featured-content{padding:38px 23px 42px}
  .fr-events-featured-content h3{font-size:48px}
  .fr-events-details{grid-template-columns:1fr;gap:14px}
  .fr-events-details>div+div{padding-top:14px;border-top:1px solid rgba(6,63,49,.10)}

  .fr-events-footer{padding:34px 0 22px}
  .fr-events-footer-grid{grid-template-columns:1fr;gap:30px}
  .fr-events-footer-grid>*{padding:0;border-left:0}
  .fr-events-footer-cernobbio{padding-top:20px;border-top:1px solid rgba(255,255,255,.10)}
  .fr-events-footer-logo,.fr-events-footer-logo img{width:110px;max-width:110px}
  .fr-events-footer-bottom{gap:12px;font-size:8px}
  .fr-events-to-top{right:14px;bottom:max(14px,env(safe-area-inset-bottom));width:42px;height:42px}
}

@media(prefers-reduced-motion:reduce){
  .fr-reveal{opacity:1;transform:none;transition:none}
  .fr-events-scroll-cue i{animation:none}
}


/* V1.0.2 — alignment fix */
@media(min-width:1051px){
  .fr-events-hero-inner{
    padding-left:0 !important;
    padding-right:0 !important;
  }
  .fr-events-hero-copy{
    margin-left:0 !important;
  }
}


/* =========================================================
   V1.0.3 — DESKTOP/TABLET ALIGNMENT FIX
   Mobile invariato.
========================================================= */

@media (min-width:681px){

  /* HERO:
     il bug era .fr-events-hero-inner { width:100% } che annullava
     la larghezza centrata del container e portava il testo quasi
     sul bordo sinistro. Ora usa ESATTAMENTE il container MASTER Home. */
  .fr-events-hero .fr-events-hero-inner{
    width:min(1180px,calc(100% - 48px)) !important;
    max-width:1180px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .fr-events-hero-copy{
    margin-left:0 !important;
    margin-right:auto !important;
  }

  /* SEZIONE "IL TUO EVENTO":
     kicker sopra, titolo centrato, descrizione subito sotto.
     Blocca la regola flex generica che la spezzava in tre colonne. */
  .fr-events-section-head.fr-events-section-head--center{
    width:100% !important;
    max-width:850px !important;
    margin:0 auto 34px !important;
    display:block !important;
    text-align:center !important;
  }

  .fr-events-section-head.fr-events-section-head--center .fr-events-script{
    display:block !important;
    width:100% !important;
    margin:0 0 8px !important;
    text-align:center !important;
  }

  .fr-events-section-head.fr-events-section-head--center h2{
    display:block !important;
    width:100% !important;
    margin:0 0 12px !important;
    text-align:center !important;
  }

  .fr-events-section-head.fr-events-section-head--center > p{
    display:block !important;
    width:100% !important;
    max-width:650px !important;
    margin:0 auto !important;
    text-align:center !important;
  }
}

/* Tablet: stesso ordine e centratura del desktop */
@media (min-width:681px) and (max-width:1050px){
  .fr-events-hero .fr-events-hero-inner{
    width:min(1180px,calc(100% - 48px)) !important;
  }

  .fr-events-section-head.fr-events-section-head--center{
    max-width:760px !important;
    margin-bottom:34px !important;
  }
}


/* =========================================================
   GLOBAL FOOTER MASTER — IDENTICO HOME PREMIUM v1.8.6
========================================================= */
.fr-events-footer{
  padding:36px 0 22px !important;
  color:#fff !important;
  background:#043b2f !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
}

.fr-events-container{
  width:min(1180px,calc(100% - 48px));
  margin-left:auto;
  margin-right:auto;
}

.fr-events-footer-grid{
  display:grid !important;
  grid-template-columns:1.05fr .9fr .85fr 1fr !important;
  gap:0 !important;
  align-items:start !important;
}

.fr-events-footer-grid > *{
  min-width:0 !important;
  padding:0 30px !important;
  border-left:1px solid rgba(255,255,255,.10) !important;
}

.fr-events-footer-grid > *:first-child{
  padding-left:0 !important;
  border-left:0 !important;
}

.fr-events-footer-logo{
  width:105px !important;
  margin-bottom:14px !important;
  display:block !important;
}

.fr-events-footer-logo img{
  display:block !important;
  width:105px !important;
  max-width:105px !important;
  height:auto !important;
  object-fit:contain !important;
  filter:drop-shadow(0 5px 15px rgba(0,0,0,.22));
}

.fr-events-footer-brand p,
.fr-events-footer p,
.fr-events-footer li{
  margin:0 !important;
  color:rgba(255,255,255,.59) !important;
  font-family:"Montserrat",Arial,sans-serif !important;
  font-size:9px !important;
  font-weight:400 !important;
  line-height:1.75 !important;
}

.fr-events-footer h4{
  margin:0 0 13px !important;
  color:#d8b867 !important;
  font-family:"Montserrat",Arial,sans-serif !important;
  font-size:8px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
  letter-spacing:.17em !important;
  text-transform:uppercase !important;
}

.fr-events-footer ul{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}

.fr-events-footer a{
  color:inherit !important;
  text-decoration:none !important;
}

.fr-events-footer a:hover{
  color:#fff !important;
}

.fr-events-footer-cernobbio-kicker{
  display:block !important;
  margin-bottom:9px !important;
  color:#d8b867 !important;
  font-family:"Montserrat",Arial,sans-serif !important;
  font-size:8px !important;
  font-weight:700 !important;
  letter-spacing:.16em !important;
  text-transform:uppercase !important;
}

.fr-events-footer-cernobbio p{
  margin:0 0 11px !important;
}

.fr-events-footer-cernobbio a{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  padding-bottom:4px !important;
  border-bottom:1px solid rgba(216,184,103,.48) !important;
  color:#d8b867 !important;
  -webkit-text-fill-color:#d8b867 !important;
  font-size:7px !important;
  font-weight:700 !important;
  letter-spacing:.13em !important;
  text-transform:uppercase !important;
}

.fr-events-footer-cernobbio a span{
  font-family:Arial,sans-serif !important;
}

.fr-events-footer-bottom{
  margin-top:27px !important;
  padding-top:17px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:25px !important;
  border-top:1px solid rgba(255,255,255,.10) !important;
  color:rgba(255,255,255,.44) !important;
  font-family:"Montserrat",Arial,sans-serif !important;
  font-size:9px !important;
  line-height:1.6 !important;
}

@media(max-width:1050px){
  .fr-events-footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    row-gap:32px !important;
  }

  .fr-events-footer-grid > *:nth-child(3){
    border-left:0 !important;
    padding-left:0 !important;
  }
}

@media(max-width:680px){
  .fr-events-container{
    width:min(100% - 30px,1180px);
  }

  .fr-events-footer{
    padding:40px 0 24px !important;
  }

  .fr-events-footer-grid{
    grid-template-columns:1fr !important;
    gap:28px !important;
  }

  .fr-events-footer-grid > *{
    padding:0 !important;
    border-left:0 !important;
  }

  .fr-events-footer-logo,
  .fr-events-footer-logo img{
    width:110px !important;
    max-width:110px !important;
  }

  .fr-events-footer-cernobbio{
    padding-top:23px !important;
    border-top:1px solid rgba(255,255,255,.10) !important;
  }

  .fr-events-footer-bottom{
    margin-top:28px !important;
    display:flex !important;
    justify-content:space-between !important;
    gap:12px !important;
  }
}


/* V1.1.0 managed events */
.fr-events-managed-list{
  display:grid;
  gap:28px;
}
.fr-events-featured-card--managed + .fr-events-featured-card--managed{
  margin-top:0;
}
.fr-events-empty{
  padding:46px 28px;
  border:1px solid rgba(6,63,49,.12);
  border-radius:22px;
  text-align:center;
  background:#f7f4eb;
}
.fr-events-empty span{
  display:block;
  color:var(--green);
  font-family:"Cormorant Garamond",serif;
  font-size:36px;
  font-weight:600;
}
.fr-events-empty p{
  margin:8px 0 0;
  color:#74746d;
}
@media(max-width:767px){
  .fr-events-managed-list{gap:18px}
  .fr-events-empty{padding:34px 18px}
  .fr-events-empty span{font-size:30px}
}

/* =========================================================
   V1.2.0 — UPCOMING EVENTS / MULTI EVENT
========================================================= */
.fr-events-next-label{
  margin:0 0 14px;
  color:var(--gold);
  font-size:10px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.fr-events-featured-card--primary{
  box-shadow:0 18px 55px rgba(8,52,40,.06);
}
.fr-events-more-head{
  margin:54px 0 22px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  padding-top:34px;
  border-top:1px solid rgba(6,63,49,.12);
}
.fr-events-more-head>span{
  color:var(--green-dark);
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:44px;
  font-weight:500;
  line-height:1;
}
.fr-events-more-head p{
  margin:0;
  color:var(--muted);
  font-size:11px;
  line-height:1.6;
}
.fr-events-upcoming-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.fr-events-upcoming-card{
  min-width:0;
  border:1px solid rgba(6,63,49,.11);
  background:var(--paper);
  overflow:hidden;
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.fr-events-upcoming-card:hover{
  transform:translateY(-4px);
  border-color:rgba(6,63,49,.20);
  box-shadow:0 18px 42px rgba(8,52,40,.08);
}
.fr-events-upcoming-open{
  width:100%;
  margin:0;
  padding:0;
  border:0 !important;
  border-radius:0 !important;
  color:inherit !important;
  background:transparent !important;
  box-shadow:none !important;
  font:inherit;
  text-align:left;
  cursor:pointer;
  -webkit-appearance:none;
  appearance:none;
}
/* Impedisce ai colori globali di WordPress/tema di tingere la card al passaggio o al focus. */
.fr-events-upcoming-open:hover,
.fr-events-upcoming-open:focus,
.fr-events-upcoming-open:focus-visible,
.fr-events-upcoming-open:active{
  color:inherit !important;
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
  outline:none !important;
}
.fr-events-upcoming-open:focus-visible .fr-events-upcoming-body{
  box-shadow:inset 0 0 0 1px rgba(6,63,49,.28);
}
.fr-events-upcoming-media{
  position:relative;
  display:flex;
  height:250px;
  align-items:center;
  justify-content:center;
  padding:16px;
  overflow:hidden;
  background:#eee8dc;
}
.fr-events-upcoming-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform .4s ease;
}
.fr-events-upcoming-card:hover .fr-events-upcoming-media img{transform:scale(1.025)}
.fr-events-upcoming-datebox{
  position:absolute;
  top:16px;
  left:16px;
  min-width:58px;
  padding:10px 9px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:#f6e6a7;
  color:var(--green-dark);
  box-shadow:0 9px 24px rgba(8,52,40,.08);
}
.fr-events-upcoming-datebox strong{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:28px;
  font-weight:600;
  line-height:.85;
}
.fr-events-upcoming-datebox small{
  margin-top:5px;
  font-size:8px;
  font-weight:700;
  letter-spacing:.14em;
}
.fr-events-upcoming-body{
  min-height:235px;
  padding:25px 25px 24px;
  display:flex;
  flex-direction:column;
  background:var(--paper) !important;
}
.fr-events-upcoming-title{
  margin:10px 0 12px;
  display:block;
  color:var(--green-dark);
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:34px;
  font-weight:500;
  line-height:.98;
}
.fr-events-upcoming-excerpt{
  color:var(--muted);
  font-size:11px;
  line-height:1.65;
}
.fr-events-upcoming-cta{
  margin-top:auto;
  padding-top:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--green);
  font-size:9px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.fr-events-upcoming-cta i{font-style:normal;font-size:15px}

/* Event detail modal — compact adaptive sheet */
.fr-events-modal{
  position:fixed;
  inset:0;
  z-index:2147483000;
  isolation:isolate;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  padding:max(20px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .22s ease,visibility .22s ease;
}
.fr-events-modal.is-open{opacity:1;visibility:visible;pointer-events:auto}
.fr-events-modal-backdrop{
  position:absolute;
  inset:0;
  z-index:0;
  background:rgba(3,35,27,.80);
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}
.fr-events-modal-dialog{
  position:relative;
  z-index:2;
  width:min(980px,100%);
  max-height:min(760px,calc(var(--fr-events-modal-vh,100dvh) - 40px));
  display:grid;
  grid-template-columns:minmax(320px,.92fr) minmax(0,1.08fr);
  overflow:hidden;
  border:1px solid rgba(212,185,103,.24);
  border-radius:20px;
  background:#fffdf9;
  box-shadow:0 32px 100px rgba(0,0,0,.34);
  transform:translateY(10px) scale(.99);
  transition:transform .22s ease;
}
.fr-events-modal.is-open .fr-events-modal-dialog{transform:none}
.fr-events-modal-close{
  position:absolute;
  top:14px;
  right:14px;
  z-index:50;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  margin:0;
  padding:0;
  border:1px solid rgba(6,63,49,.18)!important;
  border-radius:999px;
  background:#fff!important;
  color:var(--green-dark)!important;
  -webkit-text-fill-color:var(--green-dark)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.16);
  font:300 30px/1 Arial,sans-serif;
  cursor:pointer;
}
.fr-events-modal-close:hover,.fr-events-modal-close:focus,.fr-events-modal-close:active{
  background:#fff!important;color:var(--green-dark)!important;-webkit-text-fill-color:var(--green-dark)!important;border-color:rgba(6,63,49,.42)!important;outline:none
}
.fr-events-modal-image{
  min-width:0;
  min-height:0;
  height:100%;
  padding:26px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#eee8dc;
}
.fr-events-modal-image img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
}
.fr-events-modal-image.is-empty{display:none}
.fr-events-modal-dialog.image-empty{grid-template-columns:1fr;width:min(680px,100%)}
.fr-events-modal-content{
  min-width:0;
  min-height:0;
  padding:58px 50px 44px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.fr-events-modal-content h3{
  margin:12px 0 16px;
  color:var(--green-dark);
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:clamp(40px,4vw,58px);
  font-weight:500;
  line-height:.96;
  overflow-wrap:anywhere;
}
.fr-events-modal-description{margin:0;color:var(--muted);font-size:13px;line-height:1.72;white-space:pre-line;overflow-wrap:anywhere}
.fr-events-modal-details{grid-template-columns:repeat(2,minmax(0,1fr))}
html.fr-events-modal-lock{overflow:hidden!important}
body.fr-events-modal-lock{overflow:hidden!important;width:100%!important}

@media(max-width:1040px){
  .fr-events-modal-dialog{width:min(900px,100%);grid-template-columns:minmax(290px,.9fr) minmax(0,1.1fr)}
  .fr-events-modal-image{padding:20px}
  .fr-events-modal-content{padding:52px 34px 36px}
}

@media(max-width:860px){
  .fr-events-modal{padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
  .fr-events-modal-dialog{
    width:min(680px,100%);
    max-height:calc(var(--fr-events-modal-vh,100dvh) - 28px);
    grid-template-columns:1fr;
    grid-template-rows:auto minmax(0,1fr);
  }
  .fr-events-modal-image{height:clamp(190px,31vh,300px);padding:16px 58px 14px 16px}
  .fr-events-modal-image.is-portrait{height:clamp(210px,34vh,320px)}
  .fr-events-modal-image.is-landscape{height:clamp(180px,27vh,260px)}
  .fr-events-modal-content{justify-content:flex-start;padding:28px 28px 30px}
  .fr-events-modal-content h3{font-size:clamp(38px,7vw,48px)}
}

@media(max-width:767px){
  .fr-events-more-head{margin:38px 0 18px;align-items:flex-start;flex-direction:column;gap:8px;padding-top:28px}
  .fr-events-more-head>span{font-size:38px}
  .fr-events-upcoming-grid{grid-template-columns:1fr;gap:16px}
  .fr-events-upcoming-media{height:260px}
  .fr-events-upcoming-body{min-height:205px;padding:22px 20px 20px}
  .fr-events-upcoming-title{font-size:34px}
}

/* Mobile = bottom sheet. The sheet itself never exceeds the usable Safari viewport. */
@media(max-width:680px){
  .fr-events-modal{
    align-items:flex-end;
    padding:0;
  }
  .fr-events-modal-dialog{
    width:100%;
    max-height:min(88dvh,calc(var(--fr-events-modal-vh,100dvh) - max(8px,env(safe-area-inset-top))));
    grid-template-columns:1fr;
    grid-template-rows:auto minmax(0,1fr);
    border-left:0;
    border-right:0;
    border-bottom:0;
    border-radius:22px 22px 0 0;
  }
  .fr-events-modal-close{
    top:10px;
    right:max(10px,env(safe-area-inset-right));
    width:44px;
    height:44px;
    font-size:28px;
  }
  .fr-events-modal-image{
    width:100%;
    height:clamp(150px,25vh,220px);
    padding:16px 60px 12px 16px;
  }
  .fr-events-modal-image.is-portrait{height:clamp(175px,29vh,250px)}
  .fr-events-modal-image.is-landscape{height:clamp(145px,23vh,205px)}
  .fr-events-modal-content{
    min-height:0;
    padding:22px 20px max(24px,calc(env(safe-area-inset-bottom) + 16px));
    overflow-y:auto;
  }
  .fr-events-modal-content h3{margin:8px 0 12px;font-size:clamp(34px,10.5vw,42px);line-height:.98}
  .fr-events-modal-description{font-size:12px;line-height:1.62}
  .fr-events-modal-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .fr-events-modal-whatsapp{width:100%}
}

@media(max-width:390px){
  .fr-events-modal-dialog{max-height:min(90dvh,calc(var(--fr-events-modal-vh,100dvh) - 4px))}
  .fr-events-modal-image{height:145px;padding:12px 56px 10px 12px}
  .fr-events-modal-image.is-portrait{height:185px}
  .fr-events-modal-image.is-landscape{height:140px}
  .fr-events-modal-content{padding:18px 16px max(20px,calc(env(safe-area-inset-bottom) + 12px))}
  .fr-events-modal-content h3{font-size:34px}
}

@media(max-height:620px) and (min-width:681px){
  .fr-events-modal-dialog{max-height:calc(var(--fr-events-modal-vh,100dvh) - 16px)}
  .fr-events-modal-image{padding:16px}
  .fr-events-modal-content{padding-top:34px;padding-bottom:26px}
  .fr-events-modal-content h3{font-size:38px}
}



/* v1.2.4 — event modal compact on every device */
.fr-events-modal{
  padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));
}
.fr-events-modal-dialog{
  width:min(840px,92vw);
  max-height:min(74dvh,calc(var(--fr-events-modal-vh,100dvh) - 44px));
  grid-template-columns:minmax(250px,.82fr) minmax(0,1.18fr);
  border-radius:16px;
}
.fr-events-modal-close{
  top:10px;
  right:10px;
  width:38px;
  height:38px;
  font-size:24px;
}
.fr-events-modal-image{
  padding:18px;
}
.fr-events-modal-content{
  padding:40px 34px 30px;
}
.fr-events-modal-content h3{
  margin:8px 0 12px;
  font-size:clamp(34px,3.2vw,46px);
  line-height:1;
}
.fr-events-modal-description{
  font-size:12px;
  line-height:1.55;
}
.fr-events-modal-details{
  margin-top:18px;
}
.fr-events-modal-details > div{
  padding:14px 0;
}
.fr-events-modal-details span{font-size:8px}
.fr-events-modal-details strong{font-size:15px}
.fr-events-modal-whatsapp{
  min-height:46px;
  margin-top:18px;
}

@media(max-width:860px){
  .fr-events-modal-dialog{
    width:min(620px,90vw);
    max-height:min(76dvh,calc(var(--fr-events-modal-vh,100dvh) - 34px));
    grid-template-columns:1fr;
    grid-template-rows:auto minmax(0,1fr);
  }
  .fr-events-modal-image{
    height:clamp(130px,20vh,190px);
    padding:12px 50px 10px 12px;
  }
  .fr-events-modal-image.is-portrait{height:clamp(145px,22vh,205px)}
  .fr-events-modal-image.is-landscape{height:clamp(120px,18vh,170px)}
  .fr-events-modal-content{
    padding:20px 22px 22px;
  }
  .fr-events-modal-content h3{
    font-size:clamp(30px,5.8vw,38px);
  }
}

@media(max-width:680px){
  .fr-events-modal{
    align-items:center;
    justify-content:center;
    padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
  }
  .fr-events-modal-dialog{
    width:min(92vw,430px);
    max-height:min(72dvh,calc(var(--fr-events-modal-vh,100dvh) - 28px));
    border:1px solid rgba(212,185,103,.24);
    border-radius:16px;
    grid-template-rows:auto minmax(0,1fr);
  }
  .fr-events-modal-close{
    top:8px;
    right:8px;
    width:36px;
    height:36px;
    font-size:23px;
  }
  .fr-events-modal-image{
    height:120px;
    padding:10px 46px 8px 10px;
  }
  .fr-events-modal-image.is-portrait{height:150px}
  .fr-events-modal-image.is-landscape{height:110px}
  .fr-events-modal-image.is-square{height:132px}
  .fr-events-modal-content{
    padding:15px 16px max(16px,calc(env(safe-area-inset-bottom) + 8px));
  }
  .fr-events-modal .fr-events-date{
    font-size:8px;
    letter-spacing:.12em;
  }
  .fr-events-modal-content h3{
    margin:6px 0 8px;
    font-size:28px;
    line-height:.98;
  }
  .fr-events-modal-description{
    font-size:11px;
    line-height:1.45;
  }
  .fr-events-modal-details{
    margin-top:12px;
    gap:8px;
  }
  .fr-events-modal-details > div{
    padding:10px 0;
  }
  .fr-events-modal-details span{font-size:7px}
  .fr-events-modal-details strong{font-size:13px}
  .fr-events-modal-whatsapp{
    min-height:42px;
    margin-top:12px;
    padding:0 12px;
    font-size:8px;
    letter-spacing:.12em;
  }
}

@media(max-width:390px){
  .fr-events-modal-dialog{
    width:94vw;
    max-height:min(70dvh,calc(var(--fr-events-modal-vh,100dvh) - 24px));
  }
  .fr-events-modal-image{height:105px}
  .fr-events-modal-image.is-portrait{height:135px}
  .fr-events-modal-image.is-landscape{height:96px}
  .fr-events-modal-image.is-square{height:118px}
  .fr-events-modal-content{padding:13px 14px max(14px,calc(env(safe-area-inset-bottom) + 7px))}
  .fr-events-modal-content h3{font-size:25px}
  .fr-events-modal-description{font-size:10.5px}
  .fr-events-modal-details strong{font-size:12px}
}

/* v1.2.5 — mobile event image larger without growing the modal */
@media(max-width:680px){
  .fr-events-modal-dialog{
    max-height:min(76dvh,calc(var(--fr-events-modal-vh,100dvh) - 28px));
  }
  .fr-events-modal-image{
    height:160px;
    padding:12px 44px 10px 12px;
  }
  .fr-events-modal-image.is-landscape{height:170px}
  .fr-events-modal-image.is-square{height:175px}
  .fr-events-modal-image.is-portrait{height:195px}
  .fr-events-modal-image img{
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    object-position:center;
  }
  .fr-events-modal-content{
    padding-top:14px;
  }
}

@media(max-width:390px){
  .fr-events-modal-dialog{
    max-height:min(76dvh,calc(var(--fr-events-modal-vh,100dvh) - 24px));
  }
  .fr-events-modal-image{height:150px}
  .fr-events-modal-image.is-landscape{height:158px}
  .fr-events-modal-image.is-square{height:165px}
  .fr-events-modal-image.is-portrait{height:185px}
}


/* =========================================================
   FEDERICO GLOBAL FOOTER MASTER 2026 — compact + Instagram
========================================================= */
.fr-global-footer{background:#004a3b!important;color:rgba(255,255,255,.68)!important;padding:42px 0 22px!important;border:0!important}
.fr-global-footer *{box-sizing:border-box}
.fr-global-footer-inner{width:min(1180px,calc(100% - 56px));margin:0 auto}
.fr-global-footer-grid{display:grid;grid-template-columns:1.15fr .85fr 1fr;gap:0;align-items:start}
.fr-global-footer-grid>div{min-width:0;padding:0 34px;border-left:1px solid rgba(255,255,255,.10)}
.fr-global-footer-grid>div:first-child{padding-left:0;border-left:0}
.fr-global-footer-brand-logo{display:block;width:104px;margin:0 0 14px}
.fr-global-footer-brand-logo img{display:block;width:104px!important;max-width:104px!important;height:auto!important;object-fit:contain!important}
.fr-global-footer p,.fr-global-footer li{margin:0;color:rgba(255,255,255,.58)!important;font:400 12px/1.7 Inter,Arial,sans-serif!important}
.fr-global-footer h4{margin:0 0 13px;color:#c7a45b!important;font:600 10px/1.2 Montserrat,Arial,sans-serif!important;letter-spacing:.16em;text-transform:uppercase}
.fr-global-footer ul{list-style:none;margin:0;padding:0}.fr-global-footer a{color:rgba(255,255,255,.66)!important;text-decoration:none!important}.fr-global-footer a:hover{color:#fff!important}
.fr-global-footer-contact-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.fr-global-footer-contact-head h4{margin:0}
.fr-global-footer-instagram{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;max-width:32px!important;max-height:32px!important;padding:0!important;margin:0!important;border-radius:9px!important;background:transparent!important;border:1px solid rgba(199,164,91,.35)!important;overflow:hidden!important;line-height:0!important;flex:0 0 32px!important}
.fr-global-footer-instagram svg{display:block!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important}
.fr-global-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:36px;padding-top:18px;border-top:1px solid rgba(255,255,255,.10);color:rgba(255,255,255,.38);font:500 9px/1.3 Montserrat,Arial,sans-serif;letter-spacing:.02em}
@media(max-width:820px){.fr-global-footer-inner{width:min(100% - 34px,720px)}.fr-global-footer-grid{grid-template-columns:1fr 1fr}.fr-global-footer-brand{grid-column:1/-1;padding:0 0 20px!important;border:0!important}.fr-global-footer-grid>div:nth-child(2){padding:20px 18px 0 0!important;border-left:0!important;border-top:1px solid rgba(255,255,255,.10)}.fr-global-footer-grid>div:nth-child(3){padding:20px 0 0 18px!important;border-left:1px solid rgba(255,255,255,.10)!important;border-top:1px solid rgba(255,255,255,.10)}.fr-global-footer-brand-logo{width:94px;margin-bottom:9px}.fr-global-footer-brand-logo img{width:94px!important;max-width:94px!important}.fr-global-footer-bottom{margin-top:24px}}
@media(max-width:520px){.fr-global-footer{padding:26px 0 16px!important}.fr-global-footer-inner{width:calc(100% - 28px)}.fr-global-footer-brand{display:flex;align-items:center;gap:12px;padding-bottom:14px!important}.fr-global-footer-brand-logo{width:78px!important;min-width:78px;margin:0!important}.fr-global-footer-brand-logo img{width:78px!important;max-width:78px!important}.fr-global-footer-brand p{font-size:9.5px!important;line-height:1.45!important}.fr-global-footer-grid>div:nth-child(2),.fr-global-footer-grid>div:nth-child(3){padding-top:14px!important}.fr-global-footer-grid>div:nth-child(2){padding-right:12px!important}.fr-global-footer-grid>div:nth-child(3){padding-left:12px!important}.fr-global-footer h4{font-size:8px!important;margin-bottom:7px!important}.fr-global-footer p,.fr-global-footer li{font-size:9px!important;line-height:1.5!important}.fr-global-footer-contact-head{margin-bottom:7px}.fr-global-footer-instagram{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;max-width:28px!important;max-height:28px!important;border-radius:8px!important}.fr-global-footer-instagram svg{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important}.fr-global-footer-bottom{margin-top:16px;padding-top:12px;font-size:7.5px}.fr-global-footer-bottom span:last-child{padding-right:52px}}



/* =========================================================
   V1.2.11 — ALTRI EVENTI: SLIDER ORIZZONTALE STILE HOME
   Dinamico: il numero di card segue gli eventi pubblicati.
========================================================= */
.fr-events-featured{overflow:hidden}
.fr-events-upcoming-grid{
  display:flex !important;
  grid-template-columns:none !important;
  gap:18px !important;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:0;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
  padding:0 0 10px;
}
.fr-events-upcoming-grid::-webkit-scrollbar{display:none}
.fr-events-upcoming-card{
  flex:0 0 clamp(330px,31vw,430px) !important;
  width:clamp(330px,31vw,430px) !important;
  min-width:clamp(330px,31vw,430px) !important;
  margin:0 !important;
  scroll-snap-align:start;
  scroll-snap-stop:normal;
  background:var(--paper);
  box-shadow:0 16px 46px rgba(4,45,36,.09);
  border:0;
}
.fr-events-upcoming-media{
  height:310px;
  padding:0;
  background:#eee8dc;
}
.fr-events-upcoming-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:18px;
}
.fr-events-upcoming-body{
  height:238px;
  min-height:238px;
  padding:29px 29px 31px;
}
.fr-events-upcoming-title{
  min-height:68px;
  margin:11px 0 10px;
  font-size:31px;
  line-height:1.03;
}
.fr-events-upcoming-excerpt{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  font-size:12px;
  line-height:1.75;
}
.fr-events-upcoming-cta{padding-top:15px}

@media(max-width:767px){
  .fr-events-more-head{
    margin:38px 0 18px;
    padding-top:28px;
  }
  .fr-events-upcoming-grid{
    display:flex !important;
    gap:16px !important;
    margin-right:calc((100vw - 100%) * -1);
    width:calc(100vw - max(15px, env(safe-area-inset-right)));
    padding-right:30px;
  }
  .fr-events-upcoming-card{
    flex:0 0 min(82vw,430px) !important;
    width:min(82vw,430px) !important;
    min-width:min(82vw,430px) !important;
  }
  .fr-events-upcoming-media{height:310px}
  .fr-events-upcoming-body{
    height:238px;
    min-height:238px;
    padding:29px 29px 31px;
  }
  .fr-events-upcoming-title{font-size:31px}
}

@media(max-width:430px){
  .fr-events-upcoming-card{
    flex-basis:84vw !important;
    width:84vw !important;
    min-width:84vw !important;
  }
  .fr-events-upcoming-media{height:290px}
}


/* =========================================================
   v1.2.13 — EVENT CARD TITLES RESPONSIVE / NO CLIPPING
========================================================= */

/* Le card devono permettere al titolo di andare a capo in base
   alla larghezza reale disponibile, senza essere tagliato. */
.fr-events-page .fr-event-card,
.fr-events-page .fr-event-card *,
.fr-events-section .fr-event-card,
.fr-events-section .fr-event-card *{
  min-width:0;
}

.fr-events-page .fr-event-card h2,
.fr-events-page .fr-event-card h3,
.fr-events-page .fr-event-card .fr-event-title,
.fr-events-page .fr-event-card .fr-events-card-title,
.fr-events-page .fr-event-card [class*="title"],
.fr-events-section .fr-event-card h2,
.fr-events-section .fr-event-card h3,
.fr-events-section .fr-event-card .fr-event-title,
.fr-events-section .fr-event-card .fr-events-card-title,
.fr-events-section .fr-event-card [class*="title"]{
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
  hyphens:auto;
  max-width:100% !important;
}

/* Anche nello slider Home-style: niente titolo su una sola riga. */
.fr-events-slider .fr-event-card h2,
.fr-events-slider .fr-event-card h3,
.fr-events-slider .fr-event-card .fr-event-title,
.fr-events-slider .fr-event-card .fr-events-card-title,
.fr-events-slider .fr-event-card [class*="title"],
[class*="events-slider"] [class*="event-card"] h2,
[class*="events-slider"] [class*="event-card"] h3,
[class*="events-slider"] [class*="event-card"] [class*="title"]{
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  overflow-wrap:anywhere !important;
  max-width:100% !important;
}

/* Mobile/tablet: font fluido per evitare clipping sui titoli lunghi. */
@media (max-width: 1024px){
  .fr-events-page .fr-event-card h2,
  .fr-events-page .fr-event-card h3,
  .fr-events-page .fr-event-card .fr-event-title,
  .fr-events-page .fr-event-card .fr-events-card-title,
  .fr-events-slider .fr-event-card h2,
  .fr-events-slider .fr-event-card h3,
  .fr-events-slider .fr-event-card .fr-event-title,
  .fr-events-slider .fr-event-card .fr-events-card-title{
    font-size:clamp(29px, 5.7vw, 46px) !important;
    line-height:1.08 !important;
  }
}

@media (max-width: 700px){
  .fr-events-page .fr-event-card h2,
  .fr-events-page .fr-event-card h3,
  .fr-events-page .fr-event-card .fr-event-title,
  .fr-events-page .fr-event-card .fr-events-card-title,
  .fr-events-slider .fr-event-card h2,
  .fr-events-slider .fr-event-card h3,
  .fr-events-slider .fr-event-card .fr-event-title,
  .fr-events-slider .fr-event-card .fr-events-card-title{
    font-size:clamp(28px, 8vw, 40px) !important;
    line-height:1.06 !important;
    letter-spacing:-.015em !important;
  }
}


/* =========================================================
   V1.2.14 — ALTRI EVENTI: TITOLI DAVVERO RESPONSIVE
   Il titolo resta dentro la card e va a capo naturalmente.
========================================================= */

.fr-events-upcoming-open,
.fr-events-upcoming-body,
.fr-events-upcoming-title,
.fr-events-upcoming-excerpt{
  min-width:0 !important;
  max-width:100% !important;
}

.fr-events-upcoming-open{
  overflow:hidden !important;
}

.fr-events-upcoming-body{
  box-sizing:border-box !important;
  width:100% !important;
  height:250px !important;
  min-height:250px !important;
  overflow:hidden !important;
}

.fr-events-upcoming-title{
  display:block !important;
  width:100% !important;
  min-height:0 !important;
  max-width:100% !important;
  margin:10px 0 12px !important;

  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  overflow-wrap:break-word !important;
  word-break:normal !important;
  hyphens:auto !important;

  font-size:29px !important;
  line-height:1.03 !important;
  letter-spacing:-.015em !important;
}

/* La descrizione cede spazio ai titoli lunghi senza allungare le card */
.fr-events-upcoming-excerpt{
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  line-clamp:2 !important;
  overflow:hidden !important;
}

/* Tablet */
@media(max-width:1024px){
  .fr-events-upcoming-title{
    font-size:28px !important;
    line-height:1.04 !important;
  }
}

/* Mobile */
@media(max-width:767px){
  .fr-events-upcoming-body{
    height:248px !important;
    min-height:248px !important;
    padding:26px 24px 27px !important;
  }

  .fr-events-upcoming-title{
    font-size:27px !important;
    line-height:1.04 !important;
    margin:9px 0 11px !important;
  }

  .fr-events-upcoming-excerpt{
    font-size:11px !important;
    line-height:1.6 !important;
  }

  .fr-events-upcoming-cta{
    padding-top:12px !important;
  }
}

/* iPhone stretti */
@media(max-width:430px){
  .fr-events-upcoming-body{
    padding-left:22px !important;
    padding-right:22px !important;
  }

  .fr-events-upcoming-title{
    font-size:26px !important;
    line-height:1.04 !important;
  }
}


/* =========================================================
   V1.2.15 — TITOLI SLIDER: WRAP FORZATO A PAROLE
   Non dipende più dal white-space ereditato dal button.
========================================================= */
.fr-events-upcoming-title{
  display:flex !important;
  flex-wrap:wrap !important;
  align-content:flex-start !important;
  align-items:baseline !important;
  column-gap:.22em !important;
  row-gap:0 !important;

  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;

  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;

  font-size:28px !important;
  line-height:1.02 !important;
  margin:9px 0 12px !important;
}

.fr-events-upcoming-title-word{
  display:inline-block !important;
  flex:0 0 auto !important;
  min-width:0 !important;
  max-width:100% !important;
  white-space:nowrap !important;
}

@media(max-width:767px){
  .fr-events-upcoming-title{
    font-size:26px !important;
    line-height:1.03 !important;
    column-gap:.20em !important;
  }

  .fr-events-upcoming-body{
    height:264px !important;
    min-height:264px !important;
    padding:25px 23px 26px !important;
  }

  .fr-events-upcoming-excerpt{
    -webkit-line-clamp:2 !important;
    line-clamp:2 !important;
  }
}

@media(max-width:390px){
  .fr-events-upcoming-title{
    font-size:24px !important;
  }
}
