.nav-groups[data-cus-rework="true"] .nav-main{font-size:13px;text-transform:uppercase;letter-spacing:.07em;font-weight:950}
.nav-groups[data-cus-rework="true"] .dropdown{min-width:250px}
.nav-groups[data-cus-rework="true"] .dropdown button{display:flex;justify-content:space-between;gap:14px;align-items:center}
.nav-groups[data-cus-rework="true"] .dropdown button:after{content:"›";opacity:.4;font-weight:1000}
.cus-rework-page{background:var(--bg)}
.cus-rework-page-intro{padding:56px 0 18px;background:var(--bg)}
.cus-rework-page-intro .container{max-width:1240px}
.cus-rework-page-intro .cus-rework-kicker{background:#fee2e2;color:var(--red);box-shadow:none}
.cus-rework-page-intro .cus-rework-title{color:var(--ink);font-size:clamp(42px,6vw,76px)}
.cus-rework-page-intro .cus-rework-lead{color:var(--muted);max-width:820px}
.cus-rework-kicker{display:inline-flex;align-items:center;border-radius:999px;background:#fff;color:#09090b;padding:8px 13px;font-size:11px;font-weight:1000;letter-spacing:.18em;text-transform:uppercase;margin-bottom:18px}
.cus-rework-title{font-size:clamp(42px,7vw,86px);line-height:.88;letter-spacing:-.075em;margin:0;font-weight:1000;color:#fff}
.cus-rework-lead{max-width:760px;color:rgba(255,255,255,.74);font-size:18px;line-height:1.65;margin:22px 0 0}
.cus-rework-section{padding:52px 0}
.cus-rework-section.compact{padding-top:26px}
.cus-rework-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}
.cus-rework-head h2{font-size:clamp(32px,4vw,56px);line-height:.94;letter-spacing:-.06em;margin:0;font-weight:1000}
.cus-rework-head p{margin:8px 0 0;color:var(--muted);font-weight:750;line-height:1.55;max-width:680px}
.cus-rework-grid{display:grid;gap:22px}
.cus-rework-grid.two{grid-template-columns:repeat(2,1fr)}
.cus-rework-grid.three{grid-template-columns:repeat(3,1fr)}
.cus-rework-grid.four{grid-template-columns:repeat(4,1fr)}
.cus-rework-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden}
.cus-rework-card-pad{padding:24px}
.cus-rework-card h3{font-size:28px;line-height:.96;letter-spacing:-.055em;margin:0 0 12px;font-weight:1000}
.cus-rework-card p{color:var(--muted);line-height:1.58;font-weight:750;margin:0}
.cus-rework-media{height:240px;background:#e7e1d7;overflow:hidden}
.cus-rework-media img{width:100%;height:100%;object-fit:cover}
.cus-rework-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}
.cus-rework-metric{background:#f4f4f5;border-radius:18px;padding:14px}
.cus-rework-metric b{display:block;font-size:30px;line-height:1;font-weight:1000;letter-spacing:-.06em}
.cus-rework-metric span{display:block;margin-top:5px;color:#71717a;font-size:10px;font-weight:1000;text-transform:uppercase;letter-spacing:.08em}
.cus-rework-band{background:linear-gradient(135deg,#09090b,#4c0d12 58%,#b91c1c);color:#fff;border-radius:34px;padding:30px;box-shadow:var(--shadow)}
.cus-rework-band h2,.cus-rework-band h3{color:#fff}
.cus-rework-band p{color:rgba(255,255,255,.75)}
.cus-rework-list{display:grid;gap:12px}
.cus-rework-list li{list-style:none;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;font-weight:850;color:#3f3f46}
.cus-rework-list li b{display:block;color:#09090b;margin-bottom:4px}
.cus-rework-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:30px;overflow:hidden;box-shadow:var(--shadow)}
.cus-rework-table th{background:#09090b;color:#fff;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.1em}
.cus-rework-table th,.cus-rework-table td{padding:14px;border-bottom:1px solid var(--line);font-weight:850}
.cus-rework-table tr:last-child td{border-bottom:0}
.cus-rework-event-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}
.cus-rework-event-tabs button{border-radius:999px;background:#fff;color:#3f3f46;border:1px solid var(--line);padding:10px 14px;font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.06em}
.cus-rework-event-tabs button.active{background:#09090b;color:#fff}
.cus-event-card{display:grid;grid-template-rows:auto 1fr;min-height:310px}
.cus-event-top{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:16px;background:#f4f4f5}
.cus-event-date{width:70px;height:70px;border-radius:20px;background:#09090b;color:#fff;display:grid;place-items:center;text-align:center;flex:0 0 auto}
.cus-event-date b{font-size:28px;line-height:.9;font-weight:1000}
.cus-event-date span{font-size:10px;font-weight:1000;text-transform:uppercase;color:rgba(255,255,255,.65)}
.cus-event-type{border-radius:999px;background:#fee2e2;color:#b91c1c;padding:7px 10px;font-size:10px;font-weight:1000;text-transform:uppercase;letter-spacing:.08em}
.cus-event-card h3{font-size:25px}
.cus-event-card small{display:block;margin-top:15px;color:#71717a;font-weight:900}
.cus-event-card button,.cus-rework-action{margin-top:18px;border-radius:999px;background:#09090b;color:#fff;padding:12px 16px;font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.08em}
.cus-rework-action.red{background:var(--red)}
.cus-rework-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:26px;align-items:start}
.cus-rework-anchor{scroll-margin-top:105px}
@media (max-width:1100px){
  .nav-groups[data-cus-rework="true"] .nav-main{font-size:12px;padding:9px 10px}
  .cus-rework-grid.four{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:980px){
  .cus-rework-grid.two,.cus-rework-grid.three,.cus-rework-grid.four,.cus-rework-split{grid-template-columns:1fr}
  .cus-rework-head{display:block}
}
@media (max-width:640px){
  .cus-rework-section{padding:38px 0}
  .cus-rework-metrics{grid-template-columns:1fr}
  .cus-rework-table{font-size:13px}
  .cus-rework-table th,.cus-rework-table td{padding:11px}
}

.cus-rework-kicker{box-shadow:0 12px 32px rgba(0,0,0,.22);}
.mobile-menu[data-cus-rework="true"]{display:none;position:fixed;z-index:70;left:12px;right:12px;top:86px;max-height:calc(100vh - 106px);overflow:auto;background:rgba(255,255,255,.98);border:1px solid var(--line);border-radius:24px;padding:12px;box-shadow:0 30px 90px rgba(9,9,11,.22);backdrop-filter:blur(18px);}
.mobile-menu[data-cus-rework="true"].open{display:block;}
.cus-mobile-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 4px 10px;border-bottom:1px solid var(--line);margin-bottom:10px;}
.cus-mobile-menu-head span{font-size:12px;font-weight:1000;letter-spacing:.14em;text-transform:uppercase;color:var(--red);}
.cus-mobile-menu-head button{width:38px;height:38px;border-radius:999px;background:#09090b;color:#fff;font-size:24px;line-height:1;}
.mobile-menu[data-cus-rework="true"] details{background:#f8f7f5;border:1px solid var(--line);border-radius:18px;margin:8px 0;padding:8px;}
.mobile-menu[data-cus-rework="true"] details[open]{background:#fff;box-shadow:0 14px 34px rgba(9,9,11,.07);}
.mobile-menu[data-cus-rework="true"] summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;font-size:13px;font-weight:1000;text-transform:uppercase;letter-spacing:.08em;cursor:pointer;padding:10px 10px;color:#18181b;}
.mobile-menu[data-cus-rework="true"] summary::-webkit-details-marker{display:none;}
.mobile-menu[data-cus-rework="true"] summary:after{content:"+";font-size:18px;color:var(--red);}
.mobile-menu[data-cus-rework="true"] details[open] summary:after{content:"−";}
.mobile-menu[data-cus-rework="true"] button{display:block;width:100%;text-align:left;background:#f4f4f5;border-radius:14px;padding:11px 12px;margin-top:7px;font-size:14px;font-weight:850;color:#3f3f46;}
.mobile-menu[data-cus-rework="true"] button.active,.mobile-menu[data-cus-rework="true"] .cus-mobile-link.active{background:#09090b;color:#fff;}
.mobile-menu[data-cus-rework="true"] .cus-mobile-link{margin:8px 0;background:#fff;border:1px solid var(--line);font-weight:1000;text-transform:uppercase;letter-spacing:.08em;}

/* v4: hero SOLO homepage con split trasversale: 1/3 gradient verticale, 2/3 immagine. Cambia --cus-home-hero-image quando carichi la nuova immagine. */
:root{--cus-home-hero-image:url('https://custrentocalcioa5.it/img/uploads/bg.jpeg');}
.home-structure>.hero{background:#09090b;isolation:isolate;overflow:hidden;}
.home-structure>.hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:34%;height:auto;background:linear-gradient(180deg,var(--red) 0%,#5f1115 42%,#09090b 100%);opacity:1;z-index:0;}
.home-structure>.hero:after{content:"";position:absolute;left:34%;right:0;top:0;bottom:0;width:66%;height:auto;background:linear-gradient(90deg,rgba(9,9,11,.78) 0%,rgba(9,9,11,.26) 24%,rgba(9,9,11,.54) 100%),var(--cus-home-hero-image) center/cover no-repeat;opacity:1;z-index:0;}
.home-structure>.hero .hero-grid{position:relative;z-index:1;}
.home-structure>.hero .hero-grid>div:first-child{max-width:620px;}
@media (max-width:980px){.home-structure>.hero:before{width:42%;}.home-structure>.hero:after{left:42%;width:58%;}}
@media (max-width:640px){.home-structure>.hero{min-height:660px}.home-structure>.hero:before{width:100%;height:42%;bottom:auto}.home-structure>.hero:after{left:0;top:42%;width:100%;height:58%}}

/* v6: homepage hero content locked into the 1/3 gradient column; right match card removed. */
.home-structure>.hero{min-height:850px;display:grid;align-items:center;background:#09090b;}
.home-structure>.hero:before{width:34%;background:#010102;}
.home-structure>.hero:after{left:34%;width:66%;background:linear-gradient(90deg,rgba(9,9,11,.34) 0%,rgba(9,9,11,.06) 42%,rgba(9,9,11,.50) 100%),var(--cus-home-hero-image) center/cover no-repeat;}
.home-structure>.hero .hero-grid{grid-template-columns:minmax(292px,34%) 1fr;gap:0;align-items:center;width:100%;padding-top:72px;padding-bottom:150px;}
.home-structure>.hero .hero-grid>div:first-child{grid-column:1;max-width:none;min-width:0;padding-right:22px;}
.home-structure>.hero .hero-grid>div:nth-child(2){display:none!important;}
.home-structure>.hero h1{font-size:clamp(42px,4.7vw,70px);line-height:.88;letter-spacing:-.075em;}
.home-structure>.hero .lead{display:none;}
.home-structure>.hero .btns{margin-top:28px;gap:10px;}
.home-structure>.hero .btn{padding:12px 16px;font-size:14px;white-space:nowrap;}
@media (min-width:1280px){.home-structure>.hero h1{font-size:72px}.home-structure>.hero .hero-grid>div:first-child{padding-right:30px}}
@media (max-width:980px){
  .home-structure>.hero{min-height:680px;}
  .home-structure>.hero:before{width:46%;}
  .home-structure>.hero:after{left:46%;width:54%;}
  .home-structure>.hero .hero-grid{grid-template-columns:minmax(280px,46%) 1fr;padding-bottom:136px;}
  .home-structure>.hero h1{font-size:clamp(40px,7vw,58px);max-width:340px;}
  .home-structure>.hero .btns{align-items:flex-start;flex-direction:column;}
}
@media (max-width:640px){
  .home-structure>.hero{min-height:720px;align-items:start;}
  .home-structure>.hero:before{width:100%;height:52%;bottom:auto;}
  .home-structure>.hero:after{left:0;top:52%;width:100%;height:48%;}
  .home-structure>.hero .hero-grid{display:block;padding-top:64px;padding-bottom:170px;}
  .home-structure>.hero .hero-grid>div:first-child{max-width:360px;padding-right:0;}
  .home-structure>.hero h1{font-size:clamp(44px,13vw,58px);max-width:360px;}
}

/* v7: homepage hero layout full-bleed. The gradient/text column now uses the full viewport instead of the standard site container. */
.home-structure>.hero .container.hero-grid{
  max-width:none;
  width:100%;
  margin:0;
  padding-left:clamp(22px,4.8vw,78px);
  padding-right:0;
  box-sizing:border-box;
  grid-template-columns:minmax(300px,34vw) minmax(0,66vw);
}
.home-structure>.hero .hero-grid>div:first-child{
  width:100%;
  max-width:min(390px,calc(34vw - clamp(22px,4.8vw,78px) - 18px));
  padding-right:18px;
}
@media (max-width:980px){
  .home-structure>.hero .container.hero-grid{
    grid-template-columns:minmax(292px,46vw) minmax(0,54vw);
    padding-left:clamp(20px,4.5vw,48px);
  }
  .home-structure>.hero .hero-grid>div:first-child{
    max-width:min(360px,calc(46vw - clamp(20px,4.5vw,48px) - 18px));
  }
}
@media (max-width:640px){
  .home-structure>.hero .container.hero-grid{
    display:block;
    max-width:none;
    width:100%;
    padding-left:22px;
    padding-right:22px;
  }
  .home-structure>.hero .hero-grid>div:first-child{
    max-width:360px;
    padding-right:0;
  }
}

/* v9: restore original homepage match-card and mini-grid while keeping text/buttons in the left gradient column. */
.home-structure>.hero .hero-grid>div:nth-child(2){
  display:block!important;
  grid-column:2;
  width:min(560px,52vw);
  margin-left:auto;
  margin-right:clamp(22px,4.8vw,78px);
  align-self:center;
}
.home-structure>.hero .match-card,
.home-structure>.hero .mini-grid{
  position:relative;
  z-index:2;
}
@media (max-width:980px){
  .home-structure>.hero{
    min-height:760px;
  }
  .home-structure>.hero .hero-grid>div:nth-child(2){
    width:min(430px,48vw);
    margin-right:clamp(18px,3.2vw,38px);
  }
}
@media (max-width:640px){
  .home-structure>.hero{
    min-height:880px;
  }
  .home-structure>.hero:before{
    height:58%;
  }
  .home-structure>.hero:after{
    top:58%;
    height:42%;
  }
  .home-structure>.hero .container.hero-grid{
    display:block;
    padding-top:58px;
    padding-bottom:128px;
  }
  .home-structure>.hero .hero-grid>div:first-child{
    max-width:360px;
  }
  .home-structure>.hero .hero-grid>div:nth-child(2){
    width:100%;
    max-width:390px;
    margin:24px 0 0;
  }
  .home-structure>.hero .match-card{
    border-radius:22px;
  }
  .home-structure>.hero .mini-grid{
    grid-template-columns:1fr;
    gap:10px;
  }
}
@media (max-width:420px){
  .home-structure>.hero{
    min-height:910px;
  }
  .home-structure>.hero h1{
    font-size:clamp(40px,12vw,52px);
  }
  .home-structure>.hero .btns{
    gap:8px;
  }
  .home-structure>.hero .btn{
    white-space:normal;
  }
}


/* v11: allinea tutto il sito al full-width della hero home. */
:root{--cus-site-edge:clamp(22px,4.8vw,78px);}
body .container,
body .cus-rework-page-intro .container,
body .cus-rework-section .container,
body .home-structure .section .container,
body .footer .container{
  max-width:none!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:var(--cus-site-edge)!important;
  padding-right:var(--cus-site-edge)!important;
  box-sizing:border-box;
}
.home-structure>.hero .container.hero-grid{
  max-width:none!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:var(--cus-site-edge)!important;
  box-sizing:border-box;
}
.nav .container.nav-inner{
  max-width:none!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:var(--cus-site-edge)!important;
  padding-right:var(--cus-site-edge)!important;
}
@media (max-width:820px){
  :root{--cus-site-edge:20px;}
}
@media (max-width:520px){
  :root{--cus-site-edge:16px;}
  .home-structure>.hero .container.hero-grid{
    padding-left:var(--cus-site-edge)!important;
    padding-right:var(--cus-site-edge)!important;
  }
  .home-structure>.hero .hero-grid>div:nth-child(2){
    max-width:100%;
  }
}


/* v13: homepage hero copy and image refresh */
.home-structure>.hero h1{
  font-size:clamp(46px,4vw,72px);
  line-height:.9;
  letter-spacing:-.075em;
  margin:14px 0 0;
}
.home-structure>.hero .lead{
  display:block;
  margin:0;
  color:rgba(255,255,255,.82);
}
.home-structure>.hero .lead-strong{
  margin-top:16px;
  font-size:clamp(21px,2vw,32px);
  line-height:1.1;
  font-weight:950;
  letter-spacing:-.035em;
  color:#fff;
}
.home-structure>.hero .lead + .lead{
  margin-top:14px;
  font-size:19px;
  line-height:1.55;
  font-weight:760;
}
.home-structure>.hero .btns{
  margin-top:24px;
}
.home-structure>.hero:after{
  background:linear-gradient(90deg,rgba(9,9,11,.16) 0%,rgba(9,9,11,.08) 28%,rgba(9,9,11,.46) 100%),var(--cus-home-hero-image) center/cover no-repeat;
}
@media (max-width:980px){
  .home-structure>.hero h1{max-width:360px;}
  .home-structure>.hero .lead{max-width:360px;}
  .home-structure>.hero .lead-strong{font-size:24px;}
  .home-structure>.hero .lead + .lead{font-size:14px;line-height:1.5;}
}
@media (max-width:640px){
  .home-structure>.hero h1{font-size:clamp(38px,11vw,52px);max-width:none;}
  .home-structure>.hero .lead,.home-structure>.hero .lead-strong{max-width:none;}
  .home-structure>.hero .lead-strong{margin-top:14px;font-size:22px;line-height:1.15;}
  .home-structure>.hero .lead + .lead{margin-top:12px;font-size:14px;line-height:1.48;}
}


/* v14: widen homepage hero text column */
.home-structure>.hero .hero-grid>div:first-child{
  width:100%!important;
  max-width:min(518px,calc(34vw - clamp(22px,4.8vw,78px) - 18px))!important;
  padding-right:18px!important;
}
@media (max-width:980px){
  .home-structure>.hero .hero-grid>div:first-child{
    max-width:min(518px,calc(46vw - clamp(20px,4.5vw,48px) - 18px))!important;
  }
}
@media (max-width:640px){
  .home-structure>.hero .hero-grid>div:first-child{
    max-width:none!important;
    padding-right:0!important;
  }
}


/* v15: homepage hero 50/50 split, CTA actions and social rail */
.home-structure>.hero:before{
  width:50%!important;
}
.home-structure>.hero:after{
  left:50%!important;
  width:50%!important;
}
.home-structure>.hero .container.hero-grid{
  grid-template-columns:minmax(0,50vw) minmax(0,50vw)!important;
  align-items:center!important;
}
.home-structure>.hero .hero-grid>div:first-child{
  grid-column:1!important;
  width:100%!important;
  max-width:min(640px,calc(50vw - var(--cus-site-edge) - 24px))!important;
  padding-right:24px!important;
}
.home-structure>.hero .hero-grid>div:nth-child(2),
.home-structure>.hero .home-hero-socials{
  display:flex!important;
  grid-column:2!important;
  width:auto!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:var(--cus-site-edge)!important;
  align-self:center!important;
}
.home-structure>.hero .home-hero-socials{
  position:relative;
  z-index:3;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:12px;
}
.home-structure>.hero .home-hero-socials a,
.home-structure>.hero .home-hero-socials button{
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(9,9,11,.42);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:19px;
  text-decoration:none;
  backdrop-filter:blur(8px);
}
.home-structure>.hero .home-hero-socials a:hover,
.home-structure>.hero .home-hero-socials button:hover{
  background:#fff;
  color:#09090b;
}
.home-structure>.hero .home-hero-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.home-structure>.hero .home-hero-actions .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
}
.home-structure>.hero .home-hero-actions .btn i{
  font-size:14px;
}
@media (max-width:980px){
  .home-structure>.hero:before{width:58%!important;}
  .home-structure>.hero:after{left:58%!important;width:42%!important;}
  .home-structure>.hero .container.hero-grid{
    grid-template-columns:minmax(0,58vw) minmax(0,42vw)!important;
  }
  .home-structure>.hero .hero-grid>div:first-child{
    max-width:min(610px,calc(58vw - var(--cus-site-edge) - 22px))!important;
  }
  .home-structure>.hero .home-hero-socials{
    margin-right:var(--cus-site-edge)!important;
  }
}
@media (max-width:640px){
  .home-structure>.hero:before{width:100%!important;height:58%!important;}
  .home-structure>.hero:after{left:0!important;top:58%!important;width:100%!important;height:42%!important;}
  .home-structure>.hero .container.hero-grid{
    display:block!important;
    padding-top:58px!important;
    padding-bottom:150px!important;
  }
  .home-structure>.hero .hero-grid>div:first-child{
    max-width:none!important;
    padding-right:0!important;
  }
  .home-structure>.hero .home-hero-actions{
    flex-direction:column;
    align-items:flex-start;
  }
  .home-structure>.hero .home-hero-actions .btn{
    width:auto;
  }
  .home-structure>.hero .home-hero-socials{
    position:absolute;
    right:var(--cus-site-edge);
    top:64%;
    margin:0!important;
    gap:9px;
  }
  .home-structure>.hero .home-hero-socials a,
  .home-structure>.hero .home-hero-socials button{
    width:40px;
    height:40px;
    font-size:17px;
  }
}


/* v16: text column widened to 50%, while the visual hero split stays 34% gradient / 66% image */
.home-structure>.hero:before{
  width:34%!important;
}
.home-structure>.hero:after{
  left:34%!important;
  width:66%!important;
}
.home-structure>.hero .container.hero-grid{
  grid-template-columns:minmax(0,50vw) minmax(0,50vw)!important;
}
.home-structure>.hero .hero-grid>div:first-child{
  width:100%!important;
  max-width:min(650px,calc(50vw - var(--cus-site-edge) - 24px))!important;
  padding-right:24px!important;
}
@media (max-width:980px){
  .home-structure>.hero:before{
    width:42%!important;
  }
  .home-structure>.hero:after{
    left:42%!important;
    width:58%!important;
  }
  .home-structure>.hero .container.hero-grid{
    grid-template-columns:minmax(0,58vw) minmax(0,42vw)!important;
  }
  .home-structure>.hero .hero-grid>div:first-child{
    max-width:min(610px,calc(58vw - var(--cus-site-edge) - 22px))!important;
  }
}
@media (max-width:640px){
  .home-structure>.hero:before{
    width:100%!important;
    height:58%!important;
  }
  .home-structure>.hero:after{
    left:0!important;
    top:58%!important;
    width:100%!important;
    height:42%!important;
  }
  .home-structure>.hero .container.hero-grid{
    display:block!important;
  }
  .home-structure>.hero .hero-grid>div:first-child{
    max-width:none!important;
    padding-right:0!important;
  }
}


/* v18: mobile hero fixes.
   Vertical mobile: social rail above Serie/Stagione, image starts at 42%.
   Landscape/narrow-height mobile: CTA in row, hero 600px, image pushed wide/right. */
@media (max-width:640px) and (orientation:portrait){
  .home-structure>.hero{
    min-height:820px!important;
  }
  .home-structure>.hero:before{
    width:100%!important;
    height:42%!important;
  }
  .home-structure>.hero:after{
    left:0!important;
    top:42%!important;
    width:100%!important;
    height:58%!important;
  }
  .home-structure>.hero .container.hero-grid{
    padding-top:98px!important;
    padding-bottom:150px!important;
  }
  .home-structure>.hero .home-hero-socials{
    position:absolute!important;
    left:var(--cus-site-edge,16px)!important;
    right:auto!important;
    top:56px!important;
    display:flex!important;
    flex-direction:row!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:8px!important;
    margin:0!important;
    z-index:5!important;
  }
  .home-structure>.hero .home-hero-socials a,
  .home-structure>.hero .home-hero-socials button{
    width:36px!important;
    height:36px!important;
    font-size:15px!important;
  }
  .home-structure>.hero .home-hero-actions{
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:7px!important;
    width:100%!important;
    overflow-x:auto!important;
    scrollbar-width:none!important;
  }
  .home-structure>.hero .home-hero-actions::-webkit-scrollbar{
    display:none!important;
  }
  .home-structure>.hero .home-hero-actions .btn{
    flex:0 0 auto!important;
    width:auto!important;
    padding:10px 11px!important;
    font-size:10px!important;
    white-space:nowrap!important;
  }
  .home-structure>.hero .home-hero-actions .btn i{
    font-size:12px!important;
  }
}
@media (max-width:900px) and (orientation:landscape), (max-width:900px) and (max-height:520px){
  .home-structure>.hero{
    min-height:600px!important;
  }
  .home-structure>.hero:before{
    width:34%!important;
    height:100%!important;
  }
  .home-structure>.hero:after{
    left:15%!important;
    top:0!important;
    width:110%!important;
    height:100%!important;
  }
  .home-structure>.hero .container.hero-grid{
    display:grid!important;
    grid-template-columns:minmax(0,62vw) minmax(0,38vw)!important;
    padding-top:46px!important;
    padding-bottom:118px!important;
  }
  .home-structure>.hero .hero-grid>div:first-child{
    max-width:min(620px,calc(62vw - var(--cus-site-edge,20px) - 18px))!important;
    padding-right:18px!important;
  }
  .home-structure>.hero .home-hero-actions{
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:8px!important;
    overflow-x:auto!important;
    scrollbar-width:none!important;
  }
  .home-structure>.hero .home-hero-actions::-webkit-scrollbar{
    display:none!important;
  }
  .home-structure>.hero .home-hero-actions .btn{
    flex:0 0 auto!important;
    width:auto!important;
    padding:10px 12px!important;
    font-size:10px!important;
    white-space:nowrap!important;
  }
  .home-structure>.hero .home-hero-socials{
    position:absolute!important;
    right:var(--cus-site-edge,20px)!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    margin:0!important;
    display:flex!important;
    flex-direction:column!important;
  }
}


/* v32: mobile portrait hero CTA stack and social spacing */
@media (max-width:640px) and (orientation:portrait){
  .home-structure>.hero .home-hero-socials{
    top:48px!important;
  }
  .home-structure>.hero .home-hero-actions{
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:8px!important;
    width:auto!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  .home-structure>.hero .home-hero-actions .btn{
    width:min(230px,100%)!important;
    flex:0 0 auto!important;
    justify-content:flex-start!important;
    padding:11px 14px!important;
    font-size:11px!important;
    white-space:nowrap!important;
  }
}

/* v45: Impianto page equal 500px cards/media */
.cus-venue-card{height:500px}
.cus-venue-media{height:500px}
@media(max-width:980px){.cus-venue-card{height:auto;min-height:500px}.cus-venue-media{height:500px}}
