.cal-apertura {
  position: relative;
  margin-top: -119px;
  padding-top: calc(119px + 3rem);
  background-image: url(../img/calendario-neve.webp), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480'%3E%3Ccircle cx='68' cy='464' r='1.5' fill='%23fff' fill-opacity='0.28'/%3E%3Ccircle cx='446' cy='110' r='1.2' fill='%23B2D7E7' fill-opacity='0.18'/%3E%3Ccircle cx='300' cy='46' r='1.2' fill='%23B2D7E7' fill-opacity='0.16'/%3E%3Ccircle cx='158' cy='265' r='0.9' fill='%23fff' fill-opacity='0.19'/%3E%3Ccircle cx='281' cy='245' r='0.8' fill='%23fff' fill-opacity='0.17'/%3E%3Ccircle cx='415' cy='427' r='1.8' fill='%23fff' fill-opacity='0.16'/%3E%3Ccircle cx='75' cy='461' r='1.0' fill='%23B2D7E7' fill-opacity='0.17'/%3E%3Ccircle cx='101' cy='83' r='1.1' fill='%23B2D7E7' fill-opacity='0.19'/%3E%3Ccircle cx='424' cy='261' r='2.1' fill='%23fff' fill-opacity='0.18'/%3E%3Ccircle cx='22' cy='151' r='0.8' fill='%23B2D7E7' fill-opacity='0.18'/%3E%3Ccircle cx='327' cy='381' r='1.0' fill='%23fff' fill-opacity='0.12'/%3E%3Ccircle cx='339' cy='275' r='0.9' fill='%23fff' fill-opacity='0.16'/%3E%3Ccircle cx='338' cy='216' r='1.5' fill='%23fff' fill-opacity='0.17'/%3E%3Ccircle cx='11' cy='94' r='1.1' fill='%23fff' fill-opacity='0.20'/%3E%3Ccircle cx='450' cy='338' r='1.2' fill='%23B2D7E7' fill-opacity='0.15'/%3E%3Ccircle cx='67' cy='428' r='1.5' fill='%23fff' fill-opacity='0.18'/%3E%3Ccircle cx='145' cy='215' r='1.1' fill='%23fff' fill-opacity='0.15'/%3E%3Ccircle cx='232' cy='207' r='0.9' fill='%23fff' fill-opacity='0.14'/%3E%3Ccircle cx='120' cy='244' r='0.9' fill='%23fff' fill-opacity='0.13'/%3E%3Ccircle cx='392' cy='425' r='1.4' fill='%23fff' fill-opacity='0.18'/%3E%3Ccircle cx='187' cy='125' r='1.0' fill='%23B2D7E7' fill-opacity='0.18'/%3E%3Ccircle cx='349' cy='51' r='1.0' fill='%23B2D7E7' fill-opacity='0.19'/%3E%3Ccircle cx='376' cy='466' r='1.3' fill='%23B2D7E7' fill-opacity='0.14'/%3E%3Ccircle cx='259' cy='185' r='1.2' fill='%23fff' fill-opacity='0.11'/%3E%3Ccircle cx='55' cy='5' r='1.1' fill='%23fff' fill-opacity='0.15'/%3E%3Ccircle cx='476' cy='394' r='1.0' fill='%23B2D7E7' fill-opacity='0.13'/%3E%3Ccircle cx='183' cy='479' r='1.3' fill='%23fff' fill-opacity='0.11'/%3E%3Ccircle cx='283' cy='218' r='1.0' fill='%23B2D7E7' fill-opacity='0.15'/%3E%3Ccircle cx='147' cy='68' r='1.0' fill='%23B2D7E7' fill-opacity='0.14'/%3E%3Ccircle cx='375' cy='176' r='1.2' fill='%23B2D7E7' fill-opacity='0.11'/%3E%3Ccircle cx='431' cy='388' r='1.5' fill='%23fff' fill-opacity='0.25'/%3E%3Ccircle cx='331' cy='404' r='1.1' fill='%23fff' fill-opacity='0.18'/%3E%3Ccircle cx='275' cy='390' r='1.0' fill='%23fff' fill-opacity='0.11'/%3E%3Ccircle cx='22' cy='93' r='0.9' fill='%23B2D7E7' fill-opacity='0.16'/%3E%3Ccircle cx='300' cy='308' r='1.1' fill='%23fff' fill-opacity='0.13'/%3E%3Ccircle cx='61' cy='163' r='0.9' fill='%23fff' fill-opacity='0.19'/%3E%3Ccircle cx='66' cy='41' r='1.5' fill='%23B2D7E7' fill-opacity='0.23'/%3E%3Ccircle cx='477' cy='148' r='0.8' fill='%23B2D7E7' fill-opacity='0.15'/%3E%3Ccircle cx='386' cy='414' r='0.9' fill='%23fff' fill-opacity='0.16'/%3E%3Ccircle cx='215' cy='292' r='1.1' fill='%23B2D7E7' fill-opacity='0.11'/%3E%3Ccircle cx='188' cy='306' r='1.1' fill='%23fff' fill-opacity='0.11'/%3E%3Ccircle cx='461' cy='84' r='1.2' fill='%23B2D7E7' fill-opacity='0.14'/%3E%3Ccircle cx='87' cy='434' r='1.0' fill='%23fff' fill-opacity='0.14'/%3E%3Ccircle cx='231' cy='58' r='1.3' fill='%23B2D7E7' fill-opacity='0.13'/%3E%3Ccircle cx='144' cy='41' r='1.2' fill='%23fff' fill-opacity='0.14'/%3E%3Ccircle cx='423' cy='350' r='1.9' fill='%23fff' fill-opacity='0.17'/%3E%3Ccircle cx='435' cy='61' r='1.1' fill='%23fff' fill-opacity='0.18'/%3E%3Ccircle cx='402' cy='309' r='0.9' fill='%23fff' fill-opacity='0.17'/%3E%3Ccircle cx='281' cy='211' r='1.3' fill='%23B2D7E7' fill-opacity='0.17'/%3E%3Ccircle cx='221' cy='424' r='1.3' fill='%23fff' fill-opacity='0.14'/%3E%3Ccircle cx='233' cy='77' r='0.8' fill='%23fff' fill-opacity='0.18'/%3E%3Ccircle cx='67' cy='384' r='2.1' fill='%23fff' fill-opacity='0.27'/%3E%3Ccircle cx='252' cy='86' r='1.3' fill='%23fff' fill-opacity='0.17'/%3E%3Ccircle cx='33' cy='273' r='1.2' fill='%23fff' fill-opacity='0.16'/%3E%3Ccircle cx='188' cy='159' r='0.9' fill='%23B2D7E7' fill-opacity='0.13'/%3E%3Ccircle cx='62' cy='303' r='1.3' fill='%23fff' fill-opacity='0.12'/%3E%3Ccircle cx='149' cy='462' r='1.8' fill='%23fff' fill-opacity='0.27'/%3E%3Ccircle cx='430' cy='411' r='1.7' fill='%23fff' fill-opacity='0.19'/%3E%3Ccircle cx='9' cy='441' r='1.4' fill='%23fff' fill-opacity='0.20'/%3E%3Ccircle cx='112' cy='61' r='1.7' fill='%23B2D7E7' fill-opacity='0.25'/%3E%3Ccircle cx='51' cy='4' r='1.1' fill='%23fff' fill-opacity='0.19'/%3E%3Ccircle cx='322' cy='70' r='1.0' fill='%23fff' fill-opacity='0.19'/%3E%3Ccircle cx='123' cy='351' r='1.2' fill='%23fff' fill-opacity='0.17'/%3E%3Ccircle cx='138' cy='61' r='2.0' fill='%23B2D7E7' fill-opacity='0.23'/%3E%3Ccircle cx='360' cy='293' r='1.1' fill='%23fff' fill-opacity='0.13'/%3E%3Ccircle cx='446' cy='411' r='0.9' fill='%23fff' fill-opacity='0.19'/%3E%3Ccircle cx='453' cy='52' r='1.6' fill='%23B2D7E7' fill-opacity='0.21'/%3E%3Ccircle cx='136' cy='180' r='1.1' fill='%23fff' fill-opacity='0.15'/%3E%3Ccircle cx='366' cy='421' r='1.2' fill='%23B2D7E7' fill-opacity='0.17'/%3E%3Ccircle cx='213' cy='117' r='1.0' fill='%23fff' fill-opacity='0.15'/%3E%3Ccircle cx='381' cy='199' r='2.0' fill='%23fff' fill-opacity='0.20'/%3E%3Ccircle cx='300' cy='253' r='0.8' fill='%23B2D7E7' fill-opacity='0.12'/%3E%3Ccircle cx='37' cy='166' r='1.0' fill='%23fff' fill-opacity='0.14'/%3E%3Ccircle cx='320' cy='213' r='1.1' fill='%23fff' fill-opacity='0.15'/%3E%3Ccircle cx='314' cy='178' r='1.0' fill='%23fff' fill-opacity='0.18'/%3E%3Ccircle cx='109' cy='327' r='1.5' fill='%23fff' fill-opacity='0.17'/%3E%3Ccircle cx='425' cy='289' r='1.0' fill='%23fff' fill-opacity='0.14'/%3E%3Ccircle cx='284' cy='388' r='0.9' fill='%23B2D7E7' fill-opacity='0.10'/%3E%3Ccircle cx='97' cy='306' r='0.9' fill='%23fff' fill-opacity='0.11'/%3E%3Ccircle cx='392' cy='307' r='0.9' fill='%23fff' fill-opacity='0.15'/%3E%3Ccircle cx='461' cy='376' r='0.8' fill='%23fff' fill-opacity='0.15'/%3E%3Ccircle cx='200' cy='0' r='0.9' fill='%23fff' fill-opacity='0.15'/%3E%3Ccircle cx='66' cy='122' r='1.6' fill='%23B2D7E7' fill-opacity='0.21'/%3E%3Ccircle cx='46' cy='251' r='1.7' fill='%23B2D7E7' fill-opacity='0.19'/%3E%3Ccircle cx='363' cy='432' r='1.2' fill='%23B2D7E7' fill-opacity='0.11'/%3E%3Ccircle cx='143' cy='420' r='0.9' fill='%23fff' fill-opacity='0.13'/%3E%3Ccircle cx='81' cy='202' r='1.2' fill='%23B2D7E7' fill-opacity='0.17'/%3E%3Ccircle cx='371' cy='291' r='1.3' fill='%23fff' fill-opacity='0.12'/%3E%3Ccircle cx='375' cy='98' r='0.8' fill='%23fff' fill-opacity='0.18'/%3E%3Ccircle cx='134' cy='23' r='1.2' fill='%23fff' fill-opacity='0.20'/%3E%3Ccircle cx='227' cy='101' r='0.9' fill='%23fff' fill-opacity='0.19'/%3E%3Ccircle cx='199' cy='28' r='1.3' fill='%23fff' fill-opacity='0.18'/%3E%3Ccircle cx='409' cy='207' r='1.9' fill='%23fff' fill-opacity='0.16'/%3E%3Ccircle cx='376' cy='281' r='0.8' fill='%23fff' fill-opacity='0.17'/%3E%3Ccircle cx='448' cy='456' r='1.5' fill='%23B2D7E7' fill-opacity='0.15'/%3E%3Ccircle cx='160' cy='65' r='1.9' fill='%23fff' fill-opacity='0.19'/%3E%3Ccircle cx='116' cy='96' r='2.0' fill='%23B2D7E7' fill-opacity='0.21'/%3E%3Ccircle cx='252' cy='289' r='0.9' fill='%23fff' fill-opacity='0.16'/%3E%3Ccircle cx='95' cy='143' r='1.2' fill='%23fff' fill-opacity='0.15'/%3E%3Ccircle cx='365' cy='22' r='2.1' fill='%23fff' fill-opacity='0.18'/%3E%3Ccircle cx='355' cy='417' r='0.9' fill='%23B2D7E7' fill-opacity='0.10'/%3E%3Ccircle cx='385' cy='73' r='1.0' fill='%23fff' fill-opacity='0.12'/%3E%3Ccircle cx='161' cy='270' r='1.6' fill='%23B2D7E7' fill-opacity='0.21'/%3E%3Ccircle cx='136' cy='22' r='1.3' fill='%23fff' fill-opacity='0.12'/%3E%3Ccircle cx='273' cy='54' r='2.0' fill='%23fff' fill-opacity='0.26'/%3E%3Ccircle cx='237' cy='288' r='1.0' fill='%23fff' fill-opacity='0.20'/%3E%3Ccircle cx='22' cy='219' r='2.0' fill='%23fff' fill-opacity='0.14'/%3E%3Ccircle cx='40' cy='276' r='1.8' fill='%23fff' fill-opacity='0.23'/%3E%3Ccircle cx='405' cy='106' r='1.2' fill='%23B2D7E7' fill-opacity='0.15'/%3E%3Ccircle cx='190' cy='2' r='1.9' fill='%23fff' fill-opacity='0.16'/%3E%3C/svg%3E");
  background-position: center top, 0 0;
  background-size: cover, 480px 480px;
  background-repeat: no-repeat, repeat;
}
@media (min-width: 62rem) {
  .cal-apertura {
    margin-top: -148px;
    padding-top: calc(148px + 2.5rem);
  }
}
.cal-apertura {
  overflow: hidden;
  isolation: isolate;
}
.cal-apertura::before, .cal-apertura::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
.cal-apertura::before {
  top: -320px;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Ccircle cx='62' cy='118' r='1.3' fill='%23fff' fill-opacity='0.36'/%3E%3Ccircle cx='299' cy='37' r='1.8' fill='%23fff' fill-opacity='0.40'/%3E%3Ccircle cx='279' cy='229' r='1.5' fill='%23fff' fill-opacity='0.39'/%3E%3Ccircle cx='106' cy='273' r='1.4' fill='%23fff' fill-opacity='0.50'/%3E%3Ccircle cx='316' cy='83' r='1.5' fill='%23fff' fill-opacity='0.36'/%3E%3Ccircle cx='73' cy='185' r='1.2' fill='%23fff' fill-opacity='0.41'/%3E%3Ccircle cx='124' cy='241' r='1.7' fill='%23fff' fill-opacity='0.44'/%3E%3Ccircle cx='136' cy='276' r='1.6' fill='%23fff' fill-opacity='0.57'/%3E%3Ccircle cx='17' cy='151' r='1.5' fill='%23fff' fill-opacity='0.58'/%3E%3Ccircle cx='202' cy='68' r='1.7' fill='%23fff' fill-opacity='0.54'/%3E%3Ccircle cx='145' cy='184' r='1.2' fill='%23fff' fill-opacity='0.43'/%3E%3Ccircle cx='142' cy='197' r='1.8' fill='%23fff' fill-opacity='0.40'/%3E%3Ccircle cx='280' cy='290' r='1.3' fill='%23fff' fill-opacity='0.38'/%3E%3Ccircle cx='224' cy='11' r='1.6' fill='%23fff' fill-opacity='0.52'/%3E%3Ccircle cx='64' cy='271' r='1.4' fill='%23fff' fill-opacity='0.38'/%3E%3Ccircle cx='34' cy='117' r='1.0' fill='%23fff' fill-opacity='0.48'/%3E%3Ccircle cx='112' cy='166' r='1.4' fill='%23fff' fill-opacity='0.52'/%3E%3Ccircle cx='154' cy='222' r='1.2' fill='%23fff' fill-opacity='0.59'/%3E%3Ccircle cx='216' cy='242' r='1.7' fill='%23fff' fill-opacity='0.38'/%3E%3Ccircle cx='287' cy='26' r='1.7' fill='%23fff' fill-opacity='0.45'/%3E%3Ccircle cx='126' cy='106' r='1.5' fill='%23fff' fill-opacity='0.35'/%3E%3Ccircle cx='76' cy='210' r='1.2' fill='%23fff' fill-opacity='0.40'/%3E%3Ccircle cx='239' cy='78' r='1.2' fill='%23fff' fill-opacity='0.50'/%3E%3Ccircle cx='244' cy='5' r='1.4' fill='%23fff' fill-opacity='0.57'/%3E%3Ccircle cx='282' cy='84' r='1.7' fill='%23fff' fill-opacity='0.60'/%3E%3Ccircle cx='223' cy='155' r='1.3' fill='%23fff' fill-opacity='0.40'/%3E%3Ccircle cx='281' cy='179' r='1.5' fill='%23fff' fill-opacity='0.47'/%3E%3Ccircle cx='36' cy='9' r='1.8' fill='%23fff' fill-opacity='0.49'/%3E%3Ccircle cx='176' cy='279' r='1.1' fill='%23fff' fill-opacity='0.56'/%3E%3Ccircle cx='95' cy='40' r='1.1' fill='%23fff' fill-opacity='0.52'/%3E%3Ccircle cx='134' cy='240' r='1.5' fill='%23fff' fill-opacity='0.50'/%3E%3Ccircle cx='188' cy='87' r='1.5' fill='%23fff' fill-opacity='0.58'/%3E%3Ccircle cx='61' cy='89' r='1.1' fill='%23fff' fill-opacity='0.36'/%3E%3Ccircle cx='204' cy='224' r='1.1' fill='%23fff' fill-opacity='0.46'/%3E%3C/svg%3E") 0 0/320px 320px repeat;
  animation: cal-neve-lontana 22s linear infinite;
}
.cal-apertura::after {
  top: -520px;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520'%3E%3Ccircle cx='177' cy='8' r='2.3' fill='%23fff' fill-opacity='0.67'/%3E%3Ccircle cx='492' cy='167' r='2.9' fill='%23fff' fill-opacity='0.78'/%3E%3Ccircle cx='511' cy='13' r='2.6' fill='%23fff' fill-opacity='0.65'/%3E%3Ccircle cx='480' cy='286' r='2.6' fill='%23fff' fill-opacity='0.81'/%3E%3Ccircle cx='426' cy='16' r='2.1' fill='%23fff' fill-opacity='0.85'/%3E%3Ccircle cx='486' cy='274' r='2.6' fill='%23fff' fill-opacity='0.63'/%3E%3Ccircle cx='99' cy='98' r='3.1' fill='%23fff' fill-opacity='0.63'/%3E%3Ccircle cx='501' cy='266' r='2.4' fill='%23fff' fill-opacity='0.84'/%3E%3Ccircle cx='68' cy='71' r='2.4' fill='%23fff' fill-opacity='0.72'/%3E%3Ccircle cx='377' cy='493' r='2.8' fill='%23fff' fill-opacity='0.64'/%3E%3Ccircle cx='424' cy='82' r='2.4' fill='%23fff' fill-opacity='0.76'/%3E%3Ccircle cx='418' cy='300' r='3.1' fill='%23fff' fill-opacity='0.84'/%3E%3Ccircle cx='83' cy='429' r='2.8' fill='%23fff' fill-opacity='0.61'/%3E%3Ccircle cx='286' cy='221' r='3.4' fill='%23fff' fill-opacity='0.83'/%3E%3Ccircle cx='122' cy='467' r='3.3' fill='%23fff' fill-opacity='0.78'/%3E%3Ccircle cx='246' cy='61' r='2.4' fill='%23fff' fill-opacity='0.57'/%3E%3Ccircle cx='446' cy='50' r='3.0' fill='%23fff' fill-opacity='0.65'/%3E%3Ccircle cx='497' cy='364' r='2.7' fill='%23fff' fill-opacity='0.62'/%3E%3C/svg%3E") 0 0/520px 520px repeat;
  animation: cal-neve-vicina 14s linear infinite;
}
@keyframes cal-neve-lontana {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, 320px, 0);
  }
}
@keyframes cal-neve-vicina {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, 520px, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cal-apertura::before,
  .cal-apertura::after {
    animation: none;
  }
}
.cal-scena {
  position: relative;
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  aspect-ratio: 936/906;
}
.cal-scena__fondo {
  display: block;
  width: 100%;
  height: auto;
}
.cal-scena__casella {
  position: absolute;
  top: 12.5%;
  left: 22.6%;
  width: 55.6%;
  aspect-ratio: 4/5;
  container-type: inline-size;
  border-radius: 16px;
  overflow: hidden;
  color: #1e396a;
  background: #fff url(../img/casella-white.webp) center/cover no-repeat;
  transform: rotate(-4deg);
  box-shadow: 0 1.5rem 2.75rem rgba(0, 0, 0, 0.32);
}
.cal-scena__casella--blu {
  color: #fff;
  background-color: #169FDB;
  background-image: url(../img/casella-blue.webp);
}
.cal-scena__num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  font-family: "Space Grotesk";
  font-size: 38cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #EB0052;
}
.cal-scena__casella--blu .cal-scena__num {
  color: #fff;
}
.cal-scena__stato {
  position: absolute;
  top: 69%;
  left: 15%;
  right: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-family: "Space Grotesk";
  font-size: 6cqw;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.cal-scena__fiocco {
  position: absolute;
  top: 1%;
  left: 61%;
  width: 26%;
  height: auto;
}
.cal-conto {
  position: relative;
  gap: 1rem;
  max-width: 30.5rem;
  min-height: 4.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.875rem;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 1.3px, transparent 1.8px);
  background-size: 16px 16px;
  background-position: 1px 1px;
}
.cal-conto__fiocco {
  position: absolute;
  top: -1.6rem;
  left: -1.4rem;
  width: 3.5rem;
  transform: rotate(-14deg);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}
.cal-conto__testo {
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.35;
}
@media (min-width: 36rem) {
  .cal-conto__testo {
    font-size: 1rem;
  }
}
.cal-conto__tempo {
  position: relative;
  flex: 0 0 auto;
  padding-left: 1.125rem;
  font-size: clamp(1.5rem, 5vw, 2.125rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cal-conto__tempo::before {
  content: "";
  position: absolute;
  top: -0.375rem;
  bottom: -0.375rem;
  left: 0;
  border-left: 2px dotted rgba(255, 255, 255, 0.7);
}
.cal-conto__tempo:empty {
  display: none;
}
.cal-griglia {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: 1rem;
}
@media (min-width: 48rem) {
  .cal-griglia {
    grid-auto-flow: row;
  }
}
@media (min-width: 62rem) {
  .cal-griglia {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
@media (min-width: 88rem) {
  .cal-griglia {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.cal-card {
  position: relative;
  aspect-ratio: 4/5;
  perspective: 1600px;
  container-type: inline-size;
  transition: transform 0.25s ease;
}
@media (max-width: 47.98rem) {
  .cal-card.is-oggi {
    grid-column: 1/-1;
  }
}
.cal-card__inner {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.is-girata .cal-card__inner {
  transform: rotateY(180deg);
}
.cal-card__fronte,
.cal-card__retro {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 16px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.cal-card__fronte {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: #1e396a;
  background: #fff url(../img/casella-white.webp) center/cover no-repeat;
  box-shadow: 0 0.25rem 1.5rem rgba(30, 57, 106, 0.12);
  transition: box-shadow 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}
.cal-card--regalo .cal-card__fronte,
.cal-card--finale .cal-card__fronte {
  color: #fff;
  background-color: #169FDB;
  background-image: url(../img/casella-blue.webp);
}
.cal-card__num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  font-family: "Space Grotesk";
  font-size: clamp(3rem, 9vw, 7rem);
  font-size: 38cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #EB0052;
}
.cal-card--regalo .cal-card__num, .cal-card--finale .cal-card__num {
  color: #fff;
}
.cal-card__stato {
  position: absolute;
  top: 69%;
  left: 15%;
  right: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-family: "Space Grotesk";
  font-size: 0.75rem;
  font-size: clamp(0.625rem, 5.5cqw, 1rem);
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}
.cal-card__freccia {
  position: absolute;
  top: 91%;
  left: 50.3%;
  width: 8.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.is-futura .cal-card__fronte {
  cursor: not-allowed;
  opacity: 0.7;
}
.is-scaduta .cal-card__fronte {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.45;
}
.is-oggi .cal-card__fronte {
  cursor: pointer;
  box-shadow: 0 0 0 3px #00C8FF, 0 0 1.5rem rgba(0, 200, 255, 0.45);
  animation: cal-luce 2.4s ease-in-out infinite;
}
.is-oggi .cal-card__freccia {
  animation: cal-anello 1.6s ease-out infinite;
}
.is-oggi:not(.is-girata):hover {
  transform: scale(1.03);
  z-index: 2;
}
.is-oggi:not(.is-girata):hover .cal-card__fronte {
  animation: none;
  box-shadow: 0 0 0 3px #00C8FF, 0 0 2.5rem rgba(0, 200, 255, 0.7);
}
@keyframes cal-luce {
  0%, 100% {
    box-shadow: 0 0 0 3px #00C8FF, 0 0 1rem rgba(0, 200, 255, 0.35);
  }
  50% {
    box-shadow: 0 0 0 3px #00C8FF, 0 0 2rem rgba(0, 200, 255, 0.7);
  }
}
@keyframes cal-anello {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 200, 255, 0.8);
  }
  100% {
    box-shadow: 0 0 0 0.75rem rgba(0, 200, 255, 0);
  }
}
.cal-card__fronte:focus-visible {
  outline: 3px solid #00C8FF;
  outline-offset: 3px;
}
.cal-card__retro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  padding-right: 3rem;
  overflow-y: auto;
  color: #fff;
  background: linear-gradient(180deg, rgba(30, 57, 106, 0.93) 0%, rgba(45, 83, 153, 0.93) 100%), #169FDB url(../img/casella-blue.webp) center/cover no-repeat;
  box-shadow: 0 0 0 3px #00C8FF;
  transform: rotateY(180deg);
}
.cal-card__retro p {
  margin-top: 0;
}
@media (min-width: 62rem) {
  .cal-card__retro {
    padding: 1.5rem;
    padding-right: 3rem;
  }
}
.cal-card__titolo:focus {
  outline: none;
}
.cal-card__cta {
  margin-top: auto;
}
.cal-card__chiudi {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  font-size: 0.625rem;
}
.cal-card__codice {
  padding: 0.375rem 0.375rem 0.375rem 0.75rem;
  border: 2px dashed rgba(0, 200, 255, 0.8);
  border-radius: 10px;
  letter-spacing: 0.08em;
}
.cal-card__chiudi:focus-visible,
.cal-card__copia:focus-visible,
.cal-card__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
#cal-griglia {
  scroll-margin-top: 8rem;
}
.cal-card {
  scroll-margin-top: 9rem;
}
@media (prefers-reduced-motion: reduce) {
  .cal-card,
  .cal-card__inner {
    transition: none;
  }
  .is-oggi .cal-card__fronte,
  .is-oggi .cal-card__freccia {
    animation: none;
  }
  .is-oggi:not(.is-girata):hover {
    transform: none;
  }
  .cal-card__inner,
  .is-girata .cal-card__inner {
    transform: none;
  }
  .cal-card__retro {
    transform: none;
    visibility: hidden;
  }
  .is-girata .cal-card__retro {
    visibility: visible;
  }
  .is-girata .cal-card__fronte {
    visibility: hidden;
  }
}