.w100 {
    width: 100%;
}
.h100 {
    height: 100%;
}
.mb50 {
    margin-bottom: 50px;
}
.mt20 {
    margin-top: 20px;
}
.pt0 {
    padding-top: 0;
}
.zindex0 {
    z-index: 0;
}
.tacentro {
    text-align: center;
}
a { text-decoration: none; color:var(--waves-library--grigio);}
.card_body_small.text-color_inverse a {color:#fff;}
.sponsor img { width:100%;height: auto;}
.waves-tile-team-1:hover .giorno-home{color:var(--waves-library--dark-elevation);}
.waves-link-footer-2,.waves---paragraph-small-2 {text-align:left}
.waves---paragraph-big-3.descrizione { line-height:150%;}
/* Hero background video */
.hero-video-landscape,
.hero-video-portrait {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-landscape {
    display: block;
}

.hero-video-portrait {
    display: none;
}

@media screen and (orientation: portrait) and (max-width: 991px) {
    .hero-video-landscape {
        display: none;
    }
    .hero-video-portrait {
        display: block;
    }
}

/* Card Reel Verticali (Proporzioni 9:16 piu alte) */
.image-ratio_2x3 {
    aspect-ratio: 9 / 16;
    min-height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: .75rem;
}

.reel-card {
    cursor: pointer;
    position: relative;
}

.reel-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reel-play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(19, 19, 19, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
    pointer-events: none;
    z-index: 3;
}

.reel-play-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-left: 2px;
}

.reel-card.is-playing .reel-play-btn {
    opacity: 0;
    transform: scale(0.85);
}

.reel-card:hover .reel-play-btn {
    transform: scale(1.08);
    background: rgba(139, 58, 51, 0.85);
}
.waves---nav-link.w-nav-link.w--current, .waves---dropdown-link.w-dropdown-link.w--current, .waves---subtitle-3 a { color:#8b3a33}
.intsponsor { font-size:14px; color:#333}
.header.sponsor {
    border-top: 1px solid #13131333;
    padding-top: 20px;
    margin-top: 10px;
    margin-bottom: 0;
}
.logo {height:auto;}
/* Pulsante interattivo Mute/Unmute */
.reel-sound-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(19, 19, 19, 0.75);
    color: #ffffff;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    font-family: Scoutie Sans, sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 4;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.reel-sound-btn:hover {
    background: rgba(139, 58, 51, 0.9);
    transform: scale(1.05);
}

.reel-sound-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.reel-sound-btn .icon-muted {
    display: none;
}

.reel-sound-btn.is-muted .icon-unmuted {
    display: none;
}

.reel-sound-btn.is-muted .icon-muted {
    display: block;
}

/* Allineamento icona check in alto per elementi multiriga */
.waves---single-check-item {
    align-items: flex-start;
}

.waves---single-check-item .waves---check-icon {
    flex-shrink: 0;
    margin-top: 0px;
}

/* ===================================================================
   CAROSELLO IMMAGINI EVENTI A SCORRIMENTO AUTOMATICO
   =================================================================== */
.event-carousel-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
}

/* Stile per il box immagine nella pagina evento (halves) */
.event-carousel-box.waves-image-halves-box {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
}

@media screen and (min-width: 992px) {
    .event-carousel-box.waves-image-halves-box {
        min-height: 480px;
    }
}

.event-carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.event-carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.event-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.event-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Indicatori pallini (dots) */
.event-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 12px;
    pointer-events: auto;
}

.event-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-carousel-dot.is-active {
    background: #ffffff;
    width: 16px;
    border-radius: 4px;
}

/* ===================================================================
   BOX DATA SOVRAPPOSTO ALL'IMMAGINE EVENTO
   =================================================================== */
.date-badge-box {
    z-index: 10 !important;
    padding: 0.6rem !important;
    top: 0;
    right: 0;
}

.date-badge-card {
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.date-badge-inner {
    padding: 0.4rem 0.6rem !important;
    min-width: 58px;
}

.date-badge-abbr {
    font-size: 0.7rem !important;
    letter-spacing: 0.5px;
    line-height: 1.1 !important;
    color: #666;
}

.date-badge-num {
    font-size: 1.35rem !important;
    line-height: 1.15 !important;
    margin: 2px 0 !important;
    color: #111;
}

.date-badge-date {
    font-size: 0.68rem !important;
    line-height: 1.1 !important;
    color: #666;
}



