@font-face { font-family: 'Open Sauce One'; src: url('open-sauce.one-regular.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }


:root {
    --vh: 1vh;
    --panel:         #ebebeb;
    --text:          #252422; 
    --text-dim:      #403d39;
    --amber:         #5271ff; 
    --aww-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: calc(var(--vh, 1vh) * 100);
    height: 100dvh;
    margin: 0px;
    line-height: 1.4;
    font-family: 'Open Sauce One', sans-serif;
    background-color: #ebebeb;
}


#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
    background: radial-gradient(
        circle at center,
        rgba(82, 113, 255, 0.55) 0%,
        rgba(82, 113, 255, 0.28) 45%,
        rgba(82, 113, 255, 0) 78%
    );
    backdrop-filter: blur(6px) saturate(160%);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: transform;
}


.hero2-nav {
    width: 100%;
    flex-shrink: 0;
    padding: 1.6rem 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero2-nav-brand {
    font-family: 'Open Sauce One', sans-serif;
    font-weight: 800;
    letter-spacing: 0.01em;
    font-size: clamp(1rem, 0.85rem + 0.5vw, 2rem);
    color: #111111;
    text-transform: uppercase;
}

.hero2-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.4rem, 1rem + 2vw, 3rem);
    flex-wrap: wrap;
}

.hero2-nav-links a {
    font-family: 'Open Sauce One', sans-serif;
    font-weight: 700;
    font-size: clamp(0.9rem, 0.8rem + 0.3vw, 1.1rem);
    letter-spacing: 0.01em;
    color: #111111;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding: 0.3rem 0.1rem;
    transition: color 0.3s ease;
}

.hero2-nav-links a:hover,
.hero2-nav-links a.active {
    color: var(--amber);
}

@media (max-width: 760px) {
    .hero2-nav {
        padding: 0.9rem 5vw;
        justify-content: center;
    }
    .hero2-nav-links {
        gap: 1.1rem;
        justify-content: center;
    }
}


body.page-eventi {
    height: auto;
    min-height: calc(var(--vh, 1vh) * 100);
    min-height: 100dvh;
    overflow-y: auto;
}

.evt-page {
    width: 100%;
    padding: 6vh 4vw 8vh;
}






.evt-intro {
    margin-bottom: 5vh;
}

.evt-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-size: clamp(0.85rem, 0.75rem + 0.3vw, 1.1rem);
    color: var(--text-dim);
    margin-bottom: 1.6rem;
}

.evt-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--amber);
    animation: evt-pulse 1.8s ease-in-out infinite;
}

@keyframes evt-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(82, 113, 255, 0.45); }
    50% { box-shadow: 0 0 0 6px rgba(82, 113, 255, 0); }
}

.evt-title {
    margin: 0 0 2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.95;
    font-size: clamp(2.2rem, 1rem + 4.4vw, 5.5rem);
    color: var(--text);
}

.evt-intro-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4vw;
    width: 100%;
}

.evt-desc {
    flex: 1 1 auto;
    max-width: 62ch;
    margin: 0;
    font-weight: 400;
    color: var(--text);
    font-size: clamp(0.95rem, 0.6rem + 0.8vw, 2rem);
    line-height: 1.4;
}

.evt-meta {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.evt-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.evt-meta-value {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(1.1rem, 0.8rem + 1vw, 2rem);
    color: var(--text);
    white-space: nowrap;
}

.evt-meta-label {
    font-size: clamp(0.75rem, 0.65rem + 0.25vw, 1rem);
    color: var(--text-dim);
}

.evt-divider {
    margin-top: 3.5rem;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.5);
}


.evt-live {
    margin-top: 5vh;
    display: flex;
    align-items: flex-start;
    gap: 4vw;
}

.evt-image-col {
    flex: 1 1 62%;
    min-width: 0;
}

.evt-image-frame {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #d8d8d8;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.evt-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.evt-image-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem;
    margin-top: 1.6rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}




.evt-stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.evt-stat-value {
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.6rem);
    color: var(--text);
}

.evt-stat-label {
    font-size: clamp(0.8rem, 0.7rem + 0.25vw, 1rem);
    color: var(--text-dim);
}


.evt-contrib-col {
    flex: 1 1 38%;
    min-width: 0;
}

.evt-contrib-box {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: #f5f5f5;
    padding: 1.8rem 1.8rem 1.6rem;
}

.evt-contrib-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;

}

.evt-contrib-title {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.04em;
    font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem);
    color: var(--text);
}

.evt-contrib-count {
    font-size: clamp(0.85rem, 0.75rem + 0.25vw, 1.05rem);
    color: var(--text-dim);
    white-space: nowrap;
}


.evt-contrib-sub {
    margin: 0.8rem 0 1.8rem;
    font-size: clamp(0.9rem, 0.75rem + 0.4vw, 1.15rem);
    color: var(--text-dim);
    line-height: 1.5;
    max-width: 42ch;
}

.evt-contrib-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.evt-contrib-row {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.evt-row-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.evt-callsign {
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.4rem);
    color: var(--text);

}

.evt-row-pct {
    font-weight: 700;
    font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.4rem);
    color: var(--amber);
}

.evt-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.evt-bar-fill {
    width: 0%;
    height: 100%;
    background-color: var(--amber);
    transition: width 1s var(--aww-ease, ease);
}

.evt-contrib-row:nth-child(1) .evt-bar-fill { transition-delay: 0.05s; }
.evt-contrib-row:nth-child(2) .evt-bar-fill { transition-delay: 0.1s; }
.evt-contrib-row:nth-child(3) .evt-bar-fill { transition-delay: 0.15s; }
.evt-contrib-row:nth-child(4) .evt-bar-fill { transition-delay: 0.2s; }
.evt-contrib-row:nth-child(5) .evt-bar-fill { transition-delay: 0.25s; }
.evt-contrib-row:nth-child(6) .evt-bar-fill { transition-delay: 0.3s; }
.evt-contrib-row:nth-child(7) .evt-bar-fill { transition-delay: 0.35s; }


.evt-live.in-view .evt-bar-fill {
    width: var(--pct);
}

.evt-row-detail {
    display: block;
    margin-top: 0.5rem;
    font-size: clamp(0.78rem, 0.7rem + 0.2vw, 0.95rem);
    color: var(--text-dim);
}

.evt-contrib-note {
    margin: 2rem 0 0;
    font-size: clamp(0.85rem, 0.75rem + 0.3vw, 1.05rem);
    color: var(--text-dim);
    line-height: 1.5;
}

.evt-contrib-note a {
    color: var(--amber);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.evt-intro {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--aww-ease, ease), transform 0.9s var(--aww-ease, ease);
}

.evt-intro.in-view {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 900px) {
    .evt-intro-row {
        flex-direction: column;
        gap: 1.6rem;
    }
    .evt-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.4rem 2rem;
    }
    .evt-live {
        flex-direction: column;
    }
    .evt-contrib-col {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .evt-page {
        padding: 4vh 6vw 6vh;
    }
    .evt-meta {
        gap: 1.4rem 2rem;
    }
    .evt-image-stats {
        gap: 1.4rem;
    }
}