/* ============================================
   IMPORT REDESIGN 
   Includiamo qui le nuove regole per assicurarci 
   che vengano caricate correttamente.
   ============================================ */
@import "redesign.css";

/* ============================================
   TAMBURELLO360 - DESIGN SYSTEM
   Aesthetic: Editorial sport magazine
   Fonts: Bebas Neue (display) + Barlow (body)
   ============================================ */

:root {
    --red: #D62828;
    --red-dark: #9D0208;
    --red-light: #ff4444;
    --navy: #003049;
    --navy-light: #0a4a6e;
    --theme-primary: #D62828;
    --theme-accent: #9D0208;
    --orange: #F77F00;
    --orange-light: #FCBF49;
    --cream: #EAE2B7;
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F0F1F3;
    --gray-200: #E2E4E9;
    --gray-400: #9BA3AF;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    --black: #0D0D0D;
    --text: #1a1a2e;

    --font-display: 'Bebas Neue', sans-serif;
    --font-condensed: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.14);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============ HEADER & NAV ============ */
header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

header.scrolled .nav-container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

header.scrolled .logo-img {
    height: 40px;
    width: 40px;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    gap: 2rem;
    transition: padding var(--transition);
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.logo-img:hover { transform: scale(1.05); border-color: var(--orange); }

.logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    color: white;
    letter-spacing: 2px;
    align-items: center;
}

.logo-text span { color: var(--orange); }

.nav-menu {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: rgba(255,255,255,0.75);
    font-family: var(--font-condensed);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255,255,255,0.1);
}

.nav-link.active {
    color: var(--orange-light);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.admin-btn {
    background: var(--orange);
    color: white;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: var(--transition);
    white-space: nowrap;
}

.admin-btn:hover {
    background: var(--orange-light);
    transform: translateY(-1px);
}

/* ============ HAMBURGER ============ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    transition: var(--transition);
}

.hamburger:hover { background: rgba(255,255,255,0.2); }

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ MOBILE MENU ============ */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
    backdrop-filter: blur(4px);
}

.mobile-overlay.active { opacity: 1; }

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100dvh;
    background: var(--navy);
    z-index: 999;
    padding: 5rem 2rem 2rem;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
}

.mobile-menu.active { right: 0; }

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-menu ul li a {
    display: block;
    color: rgba(255,255,255,0.8);
    font-family: var(--font-condensed);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.mobile-menu ul li a:hover {
    color: white;
    background: rgba(255,255,255,0.08);
    border-left-color: var(--orange);
    padding-left: 1.5rem;
}

.mobile-admin-btn {
    display: block;
    background: var(--orange);
    color: white;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    margin-top: auto;
}

.mobile-admin-btn:hover { background: var(--orange-light); }

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://tamburello360.altervista.org/wp-content/uploads/2025/12/cropped-bk4i8443_20251010_1268349492.jpg') center/cover no-repeat;
    opacity: 0.25;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,48,73,0.95) 0%, rgba(157,2,8,0.7) 60%, rgba(247,127,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}


.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 9rem);
    color: white;
    line-height: 0.9;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--orange);
    font-size: 0.55em;
    vertical-align: super;
    position: relative;
    top: 0.05em;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--orange);
    color: white;
    box-shadow: 0 8px 24px rgba(247,127,0,0.35);
}

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(247,127,0,0.45);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Hero mini classifica */
.hero-classifica {
    position: absolute;
    right: 1.5rem;
    bottom: 3rem;
    z-index: 1;
    background: rgba(0,48,73,0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    min-width: 260px;
    max-width: 300px;
}

.hero-classifica-title {
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange-light);
    margin-bottom: 1rem;
}

.mini-podio {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mini-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-family: var(--font-condensed);
    font-size: 0.95rem;
    font-weight: 600;
}

.mini-pos {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.mini-pos.p1 { background: #FFD700; color: var(--black); }
.mini-pos.p2 { background: #C0C0C0; color: var(--black); }
.mini-pos.p3 { background: #CD7F32; color: white; }

.mini-name { flex: 1; }
.mini-pts { color: var(--orange-light); font-size: 0.85rem; }

.hero-classifica-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    transition: var(--transition);
}

.hero-classifica-link:hover { color: var(--orange-light); }

/* ============ SECTIONS ============ */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--navy); color: white; }
.section-light { background: white; }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--navy);
    letter-spacing: 1px;
    line-height: 1;
}

.section-title.light { color: white; }

.section-label {
    display: block;
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.section-label.light { color: var(--orange-light); }

.view-all {
    font-family: var(--font-condensed);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
    white-space: nowrap;
}

.view-all:hover { color: var(--red-dark); gap: 0.5rem; }
.view-all.light { color: var(--orange-light); }
.view-all.light:hover { color: white; }

/* ============ ARTICLE CARDS ============ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--gray-100);
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image { transform: scale(1.05); }

.article-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--red);
    color: white;
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.article-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-bottom: 0.75rem;
    font-family: var(--font-condensed);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.article-meta-dot { color: var(--gray-200); }

.article-title {
    font-family: var(--font-condensed);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.article-card:hover .article-title { color: var(--red); }

.article-excerpt {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

/* ============ STATS BAR ============ */
.stats-bar {
    background: var(--red);
    padding: 0;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    divide: var(--red-dark);
}

.stat-item {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
    position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}

/* ============ QUICK LINKS ============ */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.link-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--orange);
    transform: translateY(-3px);
}

.link-icon {
    font-size: 2rem;
    line-height: 1;
}

.link-card h3 {
    font-family: var(--font-condensed);
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.link-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}

/* ============ CLASSIFICHE ============ */
.classifiche-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(214, 40, 40, 0.14), transparent 34%),
        radial-gradient(circle at top right, rgba(0, 48, 73, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(248,249,250,0.96) 100%);
}

.classifiche-page.section {
    padding-top: clamp(0.25rem, 1vw, 0.85rem);
}

.classifiche-page::before,
.classifiche-page::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(14px);
    pointer-events: none;
}

.classifiche-page::before {
    width: clamp(180px, 24vw, 320px);
    height: clamp(180px, 24vw, 320px);
    top: clamp(2.5rem, 8vw, 6rem);
    left: clamp(-8rem, -6vw, -2.5rem);
    background: rgba(214, 40, 40, 0.1);
}

.classifiche-page::after {
    width: clamp(160px, 20vw, 260px);
    height: clamp(160px, 20vw, 260px);
    right: clamp(-5rem, -4vw, -1.5rem);
    bottom: clamp(1.5rem, 5vw, 4rem);
    background: rgba(0, 48, 73, 0.08);
}

.classifiche-page[data-mode="indoor"] {
    background:
        radial-gradient(circle at top left, rgba(63, 76, 197, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(10, 74, 110, 0.16), transparent 32%),
        linear-gradient(180deg, rgba(244,245,255,0.94) 0%, rgba(238,243,250,0.98) 100%);
}

.classifiche-page[data-mode="indoor"]::before {
    background: rgba(78, 91, 218, 0.12);
}

.classifiche-page[data-mode="indoor"]::after {
    background: rgba(10, 74, 110, 0.12);
}

.classifiche-page .container {
    position: relative;
    z-index: 1;
}

.classifiche-controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(0.65rem, 1.8vw, 1rem);
    margin: 0 auto clamp(1.65rem, 4vw, 2.45rem);
}

.classifiche-controls-center {
    grid-column: 2;
    justify-self: center;
    width: min(100%, clamp(16rem, 34vw, 21.875rem));
}

.classifiche-controls--single {
    grid-template-columns: 1fr;
    justify-items: end;
}

.classifiche-mode-switch,
.classifiche-year-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: clamp(0.25rem, 0.8vw, 0.45rem);
    padding: clamp(0.25rem, 0.8vw, 0.45rem);
    border-radius: 999px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.65);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.85),
        0 18px 45px rgba(15, 23, 42, 0.09);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.classifiche-mode-switch {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    isolation: isolate;
    overflow: hidden;
}

.classifiche-mode-thumb {
    position: absolute;
    top: clamp(0.25rem, 0.8vw, 0.45rem);
    left: clamp(0.25rem, 0.8vw, 0.45rem);
    z-index: 0;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.24) 0%, rgba(255,255,255,0.08) 100%),
        linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-accent) 100%);
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.28),
        inset 0 -8px 18px rgba(0,0,0,0.08);
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease,
        box-shadow 0.35s ease;
    will-change: transform, width, height;
    pointer-events: none;
}

.classifiche-mode-thumb::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.02) 100%);
    opacity: 0.9;
}

.classifiche-mode-btn,
.classifiche-year-trigger,
.classifiche-year-option {
    position: relative;
    z-index: 1;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--gray-600);
    font-family: var(--font-condensed);
    font-size: clamp(0.74rem, 1.35vw, 0.86rem);
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: clamp(0.72rem, 1.7vw, 0.9rem) clamp(1rem, 2.4vw, 1.45rem);
    cursor: pointer;
    transition: color var(--transition), transform var(--transition), background var(--transition);
}

.classifiche-mode-btn:hover,
.classifiche-year-trigger:hover,
.classifiche-year-option:hover {
    color: var(--navy);
    transform: translateY(-1px);
}

.classifiche-mode-btn {
    width: 100%;
    min-height: clamp(46px, 5vw, 52px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    transition:
        color 0.28s ease,
        transform 0.28s ease,
        opacity 0.28s ease;
}

.classifiche-mode-btn span {
    display: block;
}

.classifiche-mode-btn:not(.is-active) {
    opacity: 0.78;
}

.classifiche-mode-btn.is-active {
    color: white;
    opacity: 1;
}

.classifiche-year-trigger.is-open,
.classifiche-year-option.is-active {
    color: white;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-accent) 100%);
    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.25);
}

.classifiche-mode-switch:hover .classifiche-mode-thumb {
    box-shadow:
        0 16px 36px rgba(15, 23, 42, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.32),
        inset 0 -8px 18px rgba(0,0,0,0.1);
}

.classifiche-mode-switch:focus-within {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.85),
        0 18px 45px rgba(15, 23, 42, 0.12),
        0 0 0 4px rgba(255,255,255,0.36);
}

.classifiche-year-switch {
    grid-column: 3;
    justify-self: end;
    width: fit-content;
    gap: clamp(0.35rem, 1vw, 0.55rem);
    padding: clamp(0.2rem, 0.6vw, 0.28rem) clamp(0.2rem, 0.6vw, 0.28rem) clamp(0.2rem, 0.6vw, 0.28rem) clamp(0.45rem, 1.2vw, 0.7rem);
    min-width: 0;
    overflow: visible;
    white-space: nowrap;
}

.classifiche-year-label {
    font-family: var(--font-condensed);
    font-size: clamp(0.58rem, 0.95vw, 0.68rem);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-400);
    padding-left: 0.15rem;
}

.classifiche-year-dropdown {
    position: relative;
    width: min(100%, clamp(5.4rem, 9vw, 6.125rem));
    min-width: clamp(5.4rem, 9vw, 6.125rem);
}

.classifiche-year-trigger {
    min-width: clamp(5.4rem, 9vw, 6.125rem);
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.35rem, 0.9vw, 0.55rem);
    padding: clamp(0.58rem, 1.4vw, 0.72rem) clamp(0.65rem, 1.4vw, 0.85rem);
    color: var(--navy);
    background: rgba(255,255,255,0.7);
    font-size: clamp(0.68rem, 1.2vw, 0.78rem);
    transition:
        color 0.28s ease,
        transform 0.28s ease,
        background 0.28s ease,
        box-shadow 0.28s ease;
}

.classifiche-year-chevron {
    width: clamp(0.5rem, 0.8vw, 0.58rem);
    height: clamp(0.5rem, 0.8vw, 0.58rem);
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.28s ease;
    flex-shrink: 0;
}

.classifiche-year-trigger[aria-expanded="true"] .classifiche-year-chevron {
    transform: rotate(225deg) translateY(-1px);
}

.classifiche-year-menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    left: auto;
    min-width: 100%;
    width: max-content;
    max-width: min(48vw, 10rem);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.45rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.82);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 18px 45px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition:
        opacity 0.24s ease,
        transform 0.24s ease,
        visibility 0.24s ease;
    pointer-events: none;
    z-index: 10;
}

.classifiche-year-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.classifiche-year-option {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
    color: var(--gray-600);
    background: transparent;
    font-size: clamp(0.68rem, 1.2vw, 0.78rem);
    padding: clamp(0.62rem, 1.3vw, 0.75rem) clamp(0.72rem, 1.5vw, 0.9rem);
}

.classifiche-year-option:not(.is-active) {
    box-shadow: none;
}

.classifiche-year-option.is-active {
    transform: none;
}

.classifiche-year-empty {
    font-family: var(--font-condensed);
    font-size: 0.88rem;
    color: var(--gray-400);
    padding: 0.65rem 0.35rem 0.65rem 0;
}

.classifiche-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.4vw, 1.75rem);
    align-items: start;
}

.classifiche-board--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 56rem;
    margin: 0 auto;
}

.classifiche-column {
    display: flex;
    flex-direction: column;
    gap: clamp(0.85rem, 1.6vw, 1.1rem);
}

.classifiche-column-header {
    position: relative;
    padding: clamp(1.2rem, 2.8vw, 1.8rem) clamp(1rem, 2.5vw, 1.6rem) clamp(1.1rem, 2.4vw, 1.6rem);
    min-height: clamp(132px, 22vw, 180px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 34px;
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.22), transparent 22%),
        linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-accent) 100%);
    box-shadow:
        0 26px 70px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.classifiche-column--a .classifiche-column-header {
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.22), transparent 22%),
        linear-gradient(135deg, #eb7b2d 0%, #cf5d24 52%, #9f3f1e 100%);
}

.classifiche-column--b .classifiche-column-header {
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.2), transparent 24%),
        linear-gradient(135deg, #19a463 0%, #12805a 48%, #0c5c47 100%);
}

.classifiche-page[data-mode="indoor"] .classifiche-column--a .classifiche-column-header {
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.2), transparent 22%),
        linear-gradient(135deg, #635bff 0%, #4b4fd4 52%, #30398d 100%);
}

.classifiche-page[data-mode="indoor"] .classifiche-column--b .classifiche-column-header {
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.2), transparent 24%),
        linear-gradient(135deg, #28a38b 0%, #1d7e84 50%, #184f73 100%);
}

.classifiche-column-header h2 {
    font-family: var(--font-display);
    position: relative;
    z-index: 2;
    font-size: clamp(3rem, 8vw, 6.1rem);
    line-height: 0.82;
    letter-spacing: 0.08em;
    color: white;
    text-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

.classifiche-column-header::before {
    content: '';
    position: absolute;
    inset: auto auto -18% -8%;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.16);
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 68%);
    filter: blur(0.5px);
}

.classifiche-column-header::after {
    content: '';
    position: absolute;
    top: 16px;
    right: -24px;
    width: 180px;
    height: 180px;
    border-radius: 36px;
    border: 1px solid rgba(255,255,255,0.12);
    transform: rotate(28deg);
    background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.02) 100%);
}

.classifiche-column-noise,
.classifiche-column-orbit,
.classifiche-column-slash {
    position: absolute;
    pointer-events: none;
}

.classifiche-column-noise {
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(115deg, rgba(255,255,255,0.2) 0 8%, transparent 8% 16%, rgba(255,255,255,0.1) 16% 20%, transparent 20% 100%);
    mix-blend-mode: screen;
}

.classifiche-column-orbit {
    top: clamp(14px, 2vw, 20px);
    right: clamp(18px, 3vw, 34px);
    width: clamp(84px, 12vw, 120px);
    height: clamp(84px, 12vw, 120px);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.26);
    box-shadow: 0 0 0 14px rgba(255,255,255,0.05);
}

.classifiche-column-slash {
    bottom: clamp(16px, 2vw, 24px);
    right: 18%;
    width: clamp(58px, 8vw, 84px);
    height: clamp(8px, 1vw, 10px);
    border-radius: 999px;
    background: rgba(255,255,255,0.68);
    transform: rotate(-34deg);
    box-shadow:
        0 16px 0 -2px rgba(255,255,255,0.18),
        24px -26px 0 -1px rgba(255,255,255,0.22);
}

.classifiche-column-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.classifica-card,
.classifica-empty-panel {
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: clamp(20px, 3vw, 28px);
    box-shadow:
        0 18px 50px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.classifiche-page[data-mode="indoor"] .classifica-card,
.classifiche-page[data-mode="indoor"] .classifica-empty-panel {
    background: rgba(246, 248, 255, 0.86);
    border-color: rgba(214, 223, 255, 0.95);
    box-shadow:
        0 18px 50px rgba(49, 62, 141, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.92);
}

.classifica-card {
    overflow: hidden;
}

.classifica-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem;
}

.classifica-card-head h3 {
    font-family: var(--font-condensed);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 0.3px;
}

.classifica-card-head p,
.classifica-updated {
    font-family: var(--font-condensed);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-400);
}

.classifica-updated {
    white-space: nowrap;
    text-align: right;
}

.classifica-card-table {
    padding: clamp(0.75rem, 1.6vw, 1rem);
}

.classifica-head-row,
.classifica-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 66px 120px;
    align-items: center;
    gap: 0.85rem;
}

.classifica-head-row {
    padding: 0 clamp(0.2rem, 0.8vw, 0.5rem) clamp(0.55rem, 1.3vw, 0.75rem);
    border-bottom: 1px solid rgba(155, 163, 175, 0.16);
}

.classifica-head-row span {
    font-family: var(--font-condensed);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--gray-400);
}

.classifiche-page[data-mode="indoor"] .classifica-head-row span {
    color: #66739a;
}

.classifica-head-row span:nth-child(3),
.classifica-head-row span:nth-child(4) {
    text-align: right;
}

.classifica-body {
    display: flex;
    flex-direction: column;
}

.classifica-row {
    padding: clamp(0.68rem, 1.6vw, 0.8rem) clamp(0.2rem, 0.8vw, 0.5rem);
    border-bottom: 1px solid rgba(155, 163, 175, 0.12);
    transition: background var(--transition), transform var(--transition);
}

.classifica-row:last-child {
    border-bottom: 0;
}

.classifica-row:hover {
    background: rgba(255,255,255,0.6);
}

.classifiche-page[data-mode="indoor"] .classifica-row:hover {
    background: rgba(234, 239, 255, 0.72);
}

.classifica-row.is-relegated {
    background: rgba(214, 40, 40, 0.08);
}

.classifiche-page[data-mode="indoor"] .classifica-row.is-relegated {
    background: rgba(86, 101, 214, 0.1);
}

.classifica-row.is-relegated .classifica-team-name {
    color: var(--text);
}

.classifica-pos {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-condensed);
    font-size: 0.95rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #eb7b2d 0%, #cf5d24 52%, #9f3f1e 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}

.classifica-pos.is-top-1 {
    background: #FFD700;
    color: #4b3b00;
}

.classifica-pos.is-top-2 {
    background: #C0C0C0;
    color: #2f2f2f;
}

.classifica-pos.is-top-3 {
    background: #CD7F32;
    color: white;
}

.classifica-pos.is-last {
    background: #D62828;
    color: white;
}

.classifica-team {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.classifica-team-logo,
.classifica-team-placeholder {
    width: clamp(36px, 4vw, 42px);
    height: clamp(36px, 4vw, 42px);
    border-radius: 50%;
    flex-shrink: 0;
}

.classifica-team-logo {
    object-fit: cover;
    background: white;
    border: 1px solid rgba(155, 163, 175, 0.18);
    padding: 0.2rem;
}

.classifica-team-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 48, 73, 0.08);
    color: var(--navy);
    font-family: var(--font-condensed);
    font-size: 1rem;
    font-weight: 800;
}

.classifiche-page[data-mode="indoor"] .classifica-team-placeholder {
    background: rgba(86, 101, 214, 0.1);
    color: #3640a3;
}

.classifica-team-name {
    min-width: 0;
    font-family: var(--font-condensed);
    font-size: clamp(0.88rem, 1.5vw, 1rem);
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.classifica-points {
    text-align: right;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 2rem);
    line-height: 1;
    letter-spacing: 1px;
    color: var(--theme-primary);
}

.classifica-form {
    display: inline-flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: clamp(0.22rem, 0.8vw, 0.38rem);
}

.classifica-form-dot {
    width: clamp(9px, 1vw, 11px);
    height: clamp(9px, 1vw, 11px);
    border-radius: 50%;
    display: inline-block;
    background: rgba(155, 163, 175, 0.32);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}

.classifica-form-dot.is-w {
    background: linear-gradient(180deg, #29c973 0%, #118c53 100%);
}

.classifica-form-dot.is-l {
    background: linear-gradient(180deg, #f16b6b 0%, #d62828 100%);
}

.classifica-form-dot.is-d {
    background: linear-gradient(180deg, #ffd166 0%, #e6a700 100%);
}

.classifica-form-dot.is-n {
    background: rgba(155, 163, 175, 0.32);
}

.classifiche-page[data-mode="indoor"] .classifica-form-dot.is-w {
    background: linear-gradient(180deg, #3ab8a0 0%, #226c92 100%);
}

.classifiche-page[data-mode="indoor"] .classifica-form-dot.is-l {
    background: linear-gradient(180deg, #7a6bff 0%, #4553d6 100%);
}

.classifiche-page[data-mode="indoor"] .classifica-form-dot.is-d {
    background: linear-gradient(180deg, #78a9ff 0%, #4d77d8 100%);
}

.classifiche-page[data-mode="indoor"] .classifica-form-dot.is-n {
    background: rgba(108, 129, 198, 0.28);
}

.classifica-empty {
    padding: 1.2rem 1.5rem 1.5rem;
    font-family: var(--font-condensed);
    color: var(--gray-400);
}

.classifica-empty-panel {
    padding: 2.4rem 1.8rem;
    text-align: center;
    font-size: 1rem;
    color: var(--gray-600);
}

.classifiche-page[data-mode="indoor"] .classifiche-column-kicker {
    color: var(--navy-light);
}

/* ============ RISULTATI ============ */
.risultati-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}

.risultato-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--orange);
    transition: var(--transition);
}

.risultato-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--red);
}

.risultato-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.risultato-serie {
    background: var(--navy);
    color: var(--orange-light);
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
}

.risultato-data { color: var(--gray-400); }

.match-display {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.match-team {
    font-family: var(--font-condensed);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: capitalize;
}

.match-team.winner { color: var(--red); }

.match-score {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--red);
    letter-spacing: 2px;
    white-space: nowrap;
    padding: 0.25rem 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}

.match-notes {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--gray-400);
    font-style: italic;
}

/* Filtro risultati per serie */
.filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    font-family: var(--font-condensed);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    border: 2px solid var(--gray-200);
    background: white;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.filter-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}

/* ============ SQUADRE ============ */
.squadre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.team-card {
    position: relative;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    border-radius: 52px;
    padding: clamp(1rem, 2vw, 1.3rem);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
    isolation: isolate;
    transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.28), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    pointer-events: none;
}

.team-card > * {
    position: relative;
    z-index: 1;
}

.team-card-main {
    display: flex;
    align-items: center;
    gap: clamp(0.7rem, 1.8vw, 1rem);
}

.team-logo-wrap {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.team-logo {
    width: clamp(48px, 7vw, 62px);
    height: clamp(48px, 7vw, 62px);
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.22);
    flex-shrink: 0;
}

.team-logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-condensed);
    font-size: 1.15rem;
    font-weight: 800;
}

.team-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: white;
    font-family: var(--font-condensed);
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.4px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.team-series-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    color: white;
    font-family: var(--font-condensed);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.team-card-divider {
    height: 1px;
    margin: 1rem 0 0.85rem;
    background: rgba(255,255,255,0.52);
}

.team-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card-orbit {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 18%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.26);
    box-shadow: 0 0 0 8px rgba(255,255,255,0.05);
    pointer-events: none;
}

.team-card-slash {
    position: absolute;
    bottom: 52%;
    right: 20%;
    width: 20%;
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    transform: rotate(-34deg);
    box-shadow: 0 10px 0 -2px rgba(255,255,255,0.18), 18px -20px 0 -1px rgba(255,255,255,0.22);
    pointer-events: none;
}

.team-card-rect {
    position: absolute;
    top: 2%;
    right: -8%;
    width: 30%;
    aspect-ratio: 1;
    border-radius: 36px;
    border: 1px solid rgba(255,255,255,0.12);
    transform: rotate(28deg);
    background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.02) 100%);
    pointer-events: none;
}

.team-card-ring {
    position: absolute;
    bottom: -5%;
    left: -25%;
    width: 75%;
    aspect-ratio: 1;
    border-radius: 90%;
    border: 1px solid rgba(255,255,255,0.16);
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 68%);
    pointer-events: none;
}

.team-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-action--left {
    border-right: 1px solid rgba(255,255,255,0.3);
}

.team-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: white;
    font-family: var(--font-condensed);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition);
}

.team-action-link:hover {
    color: var(--orange-light);
    transform: translateY(-1px);
}

.team-action-link--pill {
    background: transparent;
    border: 2.5px solid rgba(255,255,255,0.7);
    border-radius: 999px;
    font-size: 0.80rem;
    padding: 0.45rem 1.1rem;
    letter-spacing: 2px;
    gap: 0.25rem;
    color: white;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    flex-direction: row;
    align-items: center;
}

.team-action-link--pill svg {
    flex-shrink: 0;
    margin-top: 0;
    align-self: center;
    min-width: 10px;
}


.team-action-link--pill:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
    color: white;
}

/* ============ BLOG PAGE ============ */
.blog-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-100);
}

/* ============ POST ARTICLE ============ */
.post-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.post-hero-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    margin-bottom: 2.5rem;
}

.post-header {
    margin-bottom: 2.5rem;
}

.post-meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.post-category {
    background: var(--red);
    color: white;
    font-family: var(--font-condensed);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
}

.post-meta-text {
    font-family: var(--font-condensed);
    font-size: 0.85rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--navy);
    line-height: 1.05;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
}

.post-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--navy);
    margin: 2.5rem 0 1rem;
    letter-spacing: 0.5px;
}

.post-content h3 {
    font-family: var(--font-condensed);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--red);
    margin: 2rem 0 0.75rem;
}

.post-content p { margin-bottom: 1.5rem; }

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li { margin-bottom: 0.5rem; }

.post-content strong { color: var(--navy); }

.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-100);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    background: var(--navy);
    color: white;
    border-radius: 50px;
    transition: var(--transition);
}

.back-btn:hover {
    background: var(--red);
    transform: translateX(-4px);
}

/* ============ MAPPA ============ */
.mappa-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

#map {
    height: 65vh;
    min-height: 400px;
    width: 100%;
}

/* ============ PAGE HEADER ============ */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--red-dark) 100%);
    padding: 3.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--gray-50);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5rem);
    color: white;
    letter-spacing: 2px;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

/* ============ FOOTER ============ */
footer {
    background: var(--black);
    color: white;
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 5rem;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    align-items: start;
}

.footer-brand .footer-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-brand .footer-logo sup {
    font-size: 0.55em;
    color: var(--orange);
}

.footer-brand p {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-col h4 {
    font-family: var(--font-condensed);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover { color: var(--orange-light); }

.footer-bottom {
    max-width: 1280px;
    margin: 1.5rem auto 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
}

/* ============ UTILITY ============ */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-200);
}

.empty-state p {
    color: var(--gray-400);
    font-family: var(--font-condensed);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ============ PARTITE ============ */
.partite-page.section {
    padding-top: 0.5rem;
}

.partite-page,
.partite-info-page {
    --partite-primary: #eb7b2d;
    --partite-accent: #9f3f1e;
}

.partite-page[data-serie="B"] {
    --partite-primary: #19a463;
    --partite-accent: #0c5c47;
}

.partite-page .classifiche-mode-thumb {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.24) 0%, rgba(255,255,255,0.08) 100%),
        linear-gradient(135deg, var(--partite-primary) 0%, var(--partite-accent) 100%);
}

.partite-serie-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(1rem, 2vw, 1.4rem);
}

.partite-serie-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--partite-primary) 0%, var(--partite-accent) 100%);
    color: white;
    font-family: var(--font-condensed);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.partite-round-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto 1.5rem;
    width: min(100%, 40rem);
}

.partite-round-label {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    font-family: var(--font-condensed);
    font-size: clamp(1rem, 2vw, 1.18rem);
    font-weight: 800;
    letter-spacing: 1.6px;
    color: var(--navy);
}

.partite-round-arrow {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: white;
    color: var(--navy);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    font-family: var(--font-condensed);
    font-size: 1.4rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.partite-round-arrow:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    color: var(--partite-primary);
}

.partite-round-arrow.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

.partite-list {
    display: grid;
    gap: 1rem;
}

.partita-card {
    position: relative;
    overflow: hidden;
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    border-radius: 52px;
    padding: clamp(1rem, 2vw, 1.3rem);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
    isolation: isolate;
}

.partita-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.28), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    pointer-events: none;
}

.partita-card > * {
    position: relative;
    z-index: 1;
}

.partita-card-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(0.7rem, 1.8vw, 1rem);
}

.partita-team-wrap {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.partita-team-wrap--away {
    justify-content: flex-end;
    text-align: right;
}

.partita-team-logo {
    width: clamp(48px, 7vw, 62px);
    height: clamp(48px, 7vw, 62px);
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.22);
    flex-shrink: 0;
}

.partita-team-logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-condensed);
    font-size: 1.15rem;
    font-weight: 800;
}

.partita-team-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: white;
    font-family: var(--font-condensed);
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.4px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.partita-card-center {
    min-width: clamp(82px, 13vw, 120px);
    text-align: center;
    color: white;
}

.partita-score {
    font-family: var(--font-condensed);
    font-size: clamp(1.45rem, 3.4vw, 2.2rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
    text-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.partita-date-block {
    display: grid;
    gap: 0.15rem;
    font-family: var(--font-condensed);
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    text-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.partita-date-block span:first-child {
    font-size: clamp(0.88rem, 1.8vw, 1rem);
    letter-spacing: 0.06em;
}

.partita-date-block span:last-child {
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    letter-spacing: 0.08em;
}

.partita-card-divider {
    height: 1px;
    margin: 1rem 0 0.85rem;
    background: rgba(255,255,255,0.52);
}

.partita-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partita-action {
    display: flex;
    align-items: center;
}

.partita-action--left {
    justify-content: center;
    padding-right: 0.75rem;
    border-right: 1px solid rgba(255,255,255,0.3);
}

.partita-action--right {
    justify-content: center;
    padding-left: 0.75rem;
}

.partita-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: white;
    font-family: var(--font-condensed);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.partita-action-link.is-disabled {
    opacity: 0.68;
    cursor: default;
}

.partita-card--compact {
    margin-bottom: 1.5rem;
}

.partite-info-container {
    display: grid;
    gap: 1.15rem;
}

.partite-info-banner {
    width: fit-content;
    max-width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
    color: white;
    font-family: var(--font-condensed);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 16px 32px rgba(215, 87, 31, 0.22);
}

.partite-info-section {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    padding: 1.35rem;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.partite-info-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.partite-info-section-head h2 {
    font-family: var(--font-condensed);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
}

.partite-info-section-head span {
    color: var(--gray-400);
    font-family: var(--font-condensed);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.partite-stats-grid {
    display: grid;
    gap: 0.7rem;
}

.partite-stats-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    background: var(--gray-50);
    font-family: var(--font-condensed);
}

.partite-stats-row span {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy);
}

.partite-stats-row span:first-child {
    text-align: left;
}

.partite-stats-row span:last-child {
    text-align: right;
}

.partite-stats-row strong {
    color: var(--gray-600);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.partite-lineups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.partite-lineup-card {
    background: var(--gray-50);
    border-radius: 22px;
    padding: 1rem;
}

.partite-lineup-card h3 {
    margin-bottom: 0.85rem;
    color: var(--navy);
    font-family: var(--font-condensed);
    font-size: 1.05rem;
    font-weight: 800;
}

.partite-lineup-card ol {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--gray-600);
}

.partite-lineup-card li + li {
    margin-top: 0.4rem;
}

.partite-events {
    display: grid;
    gap: 0.7rem;
}

.partite-event-item {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    background: var(--gray-50);
}

.partite-event-minute,
.partite-event-type {
    font-family: var(--font-condensed);
    font-weight: 800;
}

.partite-event-minute {
    color: var(--navy);
}

.partite-event-type {
    color: var(--partite-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.partite-event-player,
.partite-notes-box {
    color: var(--gray-600);
}

.partite-notes-box {
    padding: 1rem;
    border-radius: 20px;
    background: var(--gray-50);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .hero-classifica { display: none; }
    .classifiche-board { grid-template-columns: 1fr; }
    .classifica-card-head { flex-direction: column; }
    .classifica-updated { text-align: left; }
    .classifiche-controls {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .classifiche-controls--single {
        justify-items: center;
    }
    .classifiche-controls-center,
    .classifiche-year-switch {
        grid-column: auto;
        justify-self: center;
    }
    .classifiche-year-dropdown {
        width: min(100%, 7rem);
    }
    .partite-lineups {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .articles-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: repeat(3, 1fr); }
    .stat-number { font-size: 2.5rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-links { gap: 2rem; }
    .page-header { padding: 2.5rem 1.5rem; }
    .risultati-grid { grid-template-columns: 1fr; }
    .squadre-grid { grid-template-columns: 1fr; }
    .links-grid { grid-template-columns: repeat(2, 1fr); }
    .classifiche-controls { margin-bottom: 2rem; }
    .classifiche-page.section { padding-top: 0.4rem; }
    .classifiche-controls-center,
    .classifiche-mode-switch {
        width: 100%;
    }
    .classifiche-year-switch {
        width: fit-content;
        max-width: none;
        justify-self: center;
        padding-left: 0.45rem;
    }
    .classifiche-mode-btn,
    .classifiche-year-trigger,
    .classifiche-year-option {
        padding: 0.85rem 1.1rem;
    }
    .classifiche-year-dropdown {
        width: 100%;
        min-width: 0;
    }
    .classifiche-year-trigger {
        min-width: 0;
    }
    .classifiche-year-menu {
        right: 0;
        left: auto;
        width: 100%;
        min-width: 100%;
        max-width: none;
    }
    .classifica-head-row,
    .classifica-row {
        grid-template-columns: 38px minmax(0, 1fr) 56px;
        gap: 0.7rem;
    }
    .classifica-head-row span:nth-child(4),
    .classifica-form {
        display: none;
    }
    .classifica-points {
        font-size: 1.7rem;
    }
    .classifiche-column-header {
        min-height: 152px;
        padding: 1.35rem 1.2rem 1.2rem;
    }
    .classifiche-column-header h2 {
        font-size: clamp(3.2rem, 13vw, 5.2rem);
    }
    .partita-card {
        border-radius: 36px;
        padding: 0.95rem;
    }
    .partita-card-main {
        grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr);
        gap: 0.55rem;
    }
    .partita-team-wrap {
        gap: 0.6rem;
    }
    .partita-card-actions {
        gap: 0.6rem;
    }
    .partita-action--left,
    .partita-action--right {
        padding: 0;
        border: 0;
        justify-content: center;
    }
    .partita-action-link {
        font-size: 0.84rem;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 3.5rem; }
    .stats-inner { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .stat-item:last-child { border-bottom: none; }
    .links-grid { grid-template-columns: 1fr; }
    .footer-links { flex-direction: column; gap: 1.5rem; }
    .hero-actions { flex-direction: column; }
    .btn { justify-content: center; }
    .classifiche-mode-switch,
    .classifiche-year-switch {
        padding: 0.35rem;
    }
    .classifiche-year-switch {
        width: fit-content;
        max-width: none;
    }
    .classifiche-page.section { padding-top: 0.25rem; }
    .classifiche-mode-btn,
    .classifiche-year-trigger,
    .classifiche-year-option {
        width: 100%;
    }
    .classifiche-column-header {
        min-height: 132px;
        border-radius: 28px;
    }
    .classifiche-column-orbit {
        width: 92px;
        height: 92px;
        right: 20px;
    }
    .classifiche-column-slash {
        right: 16%;
        width: 64px;
    }
    .classifica-card-head,
    .classifica-card-table {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }
    .classifica-row {
        padding-left: 0.15rem;
        padding-right: 0.15rem;
    }
    .classifica-team {
        gap: 0.65rem;
    }
    .classifica-team-logo,
    .classifica-team-placeholder {
        width: 38px;
        height: 38px;
    }
    .classifica-team-name {
        font-size: 0.94rem;
    }
    .partite-round-nav {
        grid-template-columns: auto 1fr auto;
        gap: 0.55rem;
    }
    .partite-round-arrow {
        width: 48px;
        height: 48px;
    }
    .partite-round-label {
        min-height: 48px;
        padding: 0.65rem 0.8rem;
        font-size: 0.95rem;
    }
    .partita-card {
        border-radius: 30px;
    }
    .partita-card-main {
        justify-items: stretch;
        gap: 0.8rem;
    }
    .partita-team-wrap,
    .partita-team-wrap--away {
        justify-content: space-between;
        text-align: left;
    }
    .partita-team-wrap--away {
        flex-direction: row-reverse;
    }
    .partita-card-center {
        min-width: 0;
    }
    .partita-team-name {
        font-size: 0.98rem;
    }
    .partita-card-actions {
        grid-template-columns: 1fr;
    }
    .partita-action--left,
    .partita-action--right {
        justify-content: center;
    }
    .partite-info-section {
        border-radius: 24px;
        padding: 1rem;
    }
    .partite-info-section-head {
        display: grid;
        gap: 0.35rem;
    }
    .partite-event-item {
        grid-template-columns: 1fr;
    }
    .partite-stats-row {
        padding: 0.85rem;
    }
}
