/**
 * Stili pagina: squadre
 */

/* â”€â”€ Base â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        .sq-page {
            font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
            color: oklch(15% 0.01 22);
            background: oklch(97% 0.004 22);
        }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

        /* ── Hero ────────────────────────────────────────────── */
        .sq-hero {
           min-height: 26vh;
            background-color: oklch(10% 0.02 22);
            background-image: url('../../images/teams/divisione-regionale-1-1750109016.jpeg');
            background-size: cover;
            background-position: center 30%;
            display: flex;
            align-items: flex-end;
            padding: 120px 0 72px;
            position: relative;
            overflow: hidden;
        }

        .sq-hero::after {
            content: '';
            position: absolute; inset: 0;
            background: linear-gradient(100deg,
                oklch(10% 0.02 22 / 0.92) 0%,
                oklch(12% 0.02 22 / 0.75) 55%,
                oklch(10% 0.02 22 / 0.60) 100%);
            z-index: 0;
        }

        .sq-hero::before {
            content: '1998';
            position: absolute;
            right: -20px; top: 50%;
            transform: translateY(-50%);
            font-family: 'Oswald', sans-serif;
            font-size: clamp(10rem, 22vw, 20rem);
            font-weight: 700;
            color: oklch(100% 0.005 22 / 0.05);
            line-height: 1;
            pointer-events: none;
            letter-spacing: -4px;
            z-index: 1;
        }

        .sq-hero .container { position: relative; z-index: 2; }

        .sq-hero-eyebrow {
            display: block;
            font-size: 0.58rem;
            font-weight: 700;
            letter-spacing: 3.5px;
            text-transform: uppercase;
            color: oklch(68% 0.18 22);
            margin-bottom: 18px;
        }

        .sq-hero-title {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(3rem, 7vw, 6rem);
            font-weight: 700;
            color: oklch(96% 0.005 22);
            line-height: 1.0;
            letter-spacing: -1px;
        }

        /* ── Numbered section header ──────────────────────────── */
        .sq-section-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 48px;
            padding-bottom: 20px;
            border-bottom: 1px solid oklch(0% 0.005 22 / 0.1);
        }

        .sq-section-num {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(3.5rem, 6vw, 5rem);
            font-weight: 700;
            color: oklch(54% 0.20 22 / 0.12);
            line-height: 1;
            letter-spacing: -2px;
            flex-shrink: 0;
        }

        .sq-section-heading {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(1.6rem, 3vw, 2.2rem);
            font-weight: 700;
            color: oklch(15% 0.01 22);
            letter-spacing: -0.3px;
            line-height: 1.1;
        }

        /* ── Prima Squadra ────────────────────────────────────── */
        .sq-senior { background: oklch(99% 0.004 22); padding: 88px 0; }

        .sq-senior-split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 72px;
            align-items: center;
        }

        .sq-senior-image { position: relative; }

        .sq-senior-image::after {
            content: '';
            position: absolute;
            bottom: -16px; right: -16px;
            width: 45%; height: 45%;
            background: oklch(54% 0.20 22);
            z-index: 0;
        }

        .sq-senior-image img {
            width: 100%;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            display: block;
            position: relative;
            z-index: 1;
        }

        .sq-senior-eyebrow {
            display: block;
            font-size: 0.58rem;
            font-weight: 700;
            letter-spacing: 3.5px;
            text-transform: uppercase;
            color: oklch(54% 0.20 22 / 0.9);
            margin-bottom: 14px;
        }

        .sq-senior-name {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(2.2rem, 4vw, 3.4rem);
            font-weight: 700;
            color: oklch(15% 0.01 22);
            line-height: 1.05;
            letter-spacing: -0.5px;
            margin-bottom: 22px;
        }

        .sq-senior-desc {
            font-size: 0.95rem;
            color: oklch(38% 0.01 22);
            line-height: 1.78;
            margin-bottom: 28px;
        }

        .sq-info-rows { margin-bottom: 32px; }

        .sq-info-row {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            padding: 12px 0;
            border-bottom: 1px solid oklch(0% 0.005 22 / 0.08);
        }

        .sq-info-row:last-child { border-bottom: none; }

        .sq-info-label {
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: oklch(50% 0.01 22);
        }

        .sq-info-value {
            font-size: 0.88rem;
            font-weight: 600;
            color: oklch(20% 0.01 22);
        }

        .sq-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

        .sq-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 11px 24px;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            text-decoration: none;
            transition: background-color 0.22s ease-out, transform 0.22s ease-out, color 0.22s ease-out;
        }

        .sq-btn-primary { background: oklch(54% 0.20 22); color: oklch(97% 0.005 22); }
        .sq-btn-primary:hover { background: oklch(48% 0.20 22); transform: translateY(-2px); color: oklch(97% 0.005 22); }

        .sq-btn-ghost {
            background: transparent;
            color: oklch(54% 0.20 22);
            border: 1.5px solid oklch(54% 0.20 22 / 0.5);
        }
        .sq-btn-ghost:hover { border-color: oklch(54% 0.20 22); color: oklch(48% 0.20 22); }

        /* ── Photo strip ──────────────────────────────────────── */
        .sq-youth { background: oklch(97% 0.004 22); padding: 88px 0; }
        .sq-mini  { background: oklch(99% 0.004 22); padding: 88px 0; }

        .sq-photo-strip { display: grid; gap: 3px; }
        .sq-photo-strip--four { grid-template-columns: repeat(4, 1fr); }
        .sq-photo-strip--two  { grid-template-columns: repeat(2, 1fr); }

        .sq-team-frame { position: relative; overflow: hidden; }
        .sq-photo-strip--four .sq-team-frame { aspect-ratio: 3 / 4; }
        .sq-photo-strip--two  .sq-team-frame { aspect-ratio: 4 / 3; }

        .sq-team-frame img {
            width: 100%; height: 100%;
            object-fit: cover; display: block;
            transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        .sq-team-frame:not(.sq-team-frame--static):hover img { transform: scale(1.04); }

        .sq-team-frame--static {
            cursor: default;
            pointer-events: none;
        }
        .sq-team-frame--static:hover img { transform: none; }
        .sq-team-frame--static .sq-team-link { display: none !important; }

        .sq-team-frame-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(to top,
                oklch(10% 0.02 22 / 0.88) 0%,
                oklch(10% 0.02 22 / 0.15) 55%,
                transparent 100%);
            transition: background 0.3s ease-out;
        }
        .sq-team-frame:not(.sq-team-frame--static):hover .sq-team-frame-overlay {
            background: linear-gradient(to top,
                oklch(10% 0.02 22 / 0.95) 0%,
                oklch(10% 0.02 22 / 0.30) 60%,
                transparent 100%);
        }

        .sq-team-frame-content {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            padding: 24px 20px;
            z-index: 2;
        }

        .sq-team-category {
            display: block;
            font-size: 0.5rem;
            font-weight: 700;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: oklch(68% 0.18 22);
            margin-bottom: 6px;
        }

        .sq-team-name-frame {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(1.1rem, 2vw, 1.5rem);
            font-weight: 700;
            color: oklch(96% 0.005 22);
            line-height: 1.1;
            margin-bottom: 8px;
            letter-spacing: -0.3px;
        }

        .sq-team-training {
            font-size: 0.68rem;
            color: oklch(80% 0.005 22 / 0.85);
            font-weight: 500;
            display: block;
            margin-bottom: 14px;
        }

        .sq-team-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.58rem;
            font-weight: 700;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            color: oklch(96% 0.005 22 / 0.6);
            text-decoration: none;
            opacity: 0;
            transform: translateY(6px);
            transition: opacity 0.25s ease-out, transform 0.25s ease-out, color 0.2s;
        }
        .sq-team-link::after { content: '\2192'; }
        .sq-team-frame:not(.sq-team-frame--static):hover .sq-team-link {
            opacity: 1;
            transform: translateY(0);
            color: oklch(96% 0.005 22);
        }

        /* ── CTA ──────────────────────────────────────────────── */
        .sq-cta { background: oklch(11% 0.01 22); padding: 96px 24px; text-align: center; }

        .sq-cta-eyebrow {
            display: block;
            font-size: 0.58rem;
            font-weight: 700;
            letter-spacing: 3.5px;
            text-transform: uppercase;
            color: oklch(54% 0.20 22 / 0.9);
            margin-bottom: 16px;
        }

        .sq-cta-title {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(2.4rem, 5vw, 4rem);
            font-weight: 700;
            color: oklch(96% 0.005 22);
            letter-spacing: -1px;
            line-height: 1.05;
            margin-bottom: 16px;
        }

        .sq-cta-sub {
            font-size: 0.95rem;
            color: oklch(75% 0.005 22 / 0.8);
            margin-bottom: 36px;
            max-width: 480px;
            margin-left: auto; margin-right: auto;
            line-height: 1.7;
        }

        .sq-cta-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: oklch(96% 0.005 22);
            text-decoration: none;
            border-bottom: 1px solid oklch(96% 0.005 22 / 0.4);
            padding-bottom: 3px;
            transition: border-color 0.2s, color 0.2s;
        }
        .sq-cta-link::after { content: '\2192'; font-size: 1rem; }
        .sq-cta-link:hover { color: oklch(68% 0.18 22); border-color: oklch(68% 0.18 22); }

        /* ── Responsive ───────────────────────────────────────── */
        @media (max-width: 900px) {
            .sq-senior-split { grid-template-columns: 1fr; gap: 40px; }
            .sq-senior-image::after { display: none; }
        }
        @media (max-width: 768px) {
            .sq-photo-strip--four { grid-template-columns: repeat(2, 1fr); }
            .sq-photo-strip--four .sq-team-frame { aspect-ratio: 1 / 1; }
            .sq-photo-strip--two  .sq-team-frame { aspect-ratio: 1 / 1; }
            .sq-hero { min-height: 60vh; padding: 100px 0 56px; }
            .sq-senior, .sq-youth, .sq-mini { padding: 64px 0; }
            .sq-section-header { margin-bottom: 32px; }

            /* Testi descrittivi nascosti: restano label/eyebrow, titolo e CTA */
            .sq-page .page-seo-intro__text,
            .sq-senior-desc,
            .sq-senior .sq-info-rows,
            .sq-cta-sub {
                display: none;
            }

            .sq-page .page-seo-intro {
                padding-bottom: 0;
            }

            .sq-page .page-seo-intro__title {
                margin-bottom: 0;
            }

            .sq-senior-split {
                gap: 24px;
            }

            .sq-senior-content {
                display: flex;
                flex-direction: column;
            }

            .sq-senior-eyebrow {
                margin-bottom: 10px;
            }

            .sq-senior-name {
                margin-bottom: 20px;
            }

            .sq-actions {
                flex-direction: column;
                gap: 12px;
                margin-top: 0;
            }

            .sq-btn {
                width: 100%;
                justify-content: center;
            }

            /* Settore giovanile e minibasket: solo titolo + link roster (no categoria/orari) */
            .sq-youth .sq-team-category,
            .sq-youth .sq-team-training,
            .sq-mini .sq-team-category,
            .sq-mini .sq-team-training {
                display: none !important;
            }

            .sq-youth .sq-team-name-frame,
            .sq-mini .sq-team-name-frame {
                margin-bottom: 6px;
                font-size: clamp(0.95rem, 3.5vw, 1.15rem);
            }

            .sq-youth .sq-team-frame:not(.sq-team-frame--static) .sq-team-link,
            .sq-mini .sq-team-frame:not(.sq-team-frame--static) .sq-team-link {
                display: inline-flex !important;
                opacity: 1;
                transform: none;
                color: oklch(96% 0.005 22 / 0.9);
                margin-top: 2px;
            }

            .sq-youth .sq-team-frame-content,
            .sq-mini .sq-team-frame-content {
                padding: 14px 12px 16px;
            }

            .sq-youth .sq-team-frame-overlay,
            .sq-mini .sq-team-frame-overlay {
                background: linear-gradient(to top,
                    oklch(10% 0.02 22 / 0.82) 0%,
                    oklch(10% 0.02 22 / 0.25) 45%,
                    transparent 100%);
            }
        }
        @media (max-width: 480px) {
            .sq-photo-strip--four,
            .sq-photo-strip--two { grid-template-columns: 1fr 1fr; }
            .sq-team-frame { aspect-ratio: 4 / 3 !important; }
            .sq-team-frame:not(.sq-team-frame--static) .sq-team-link { opacity: 1; transform: none; }
            .sq-actions { flex-direction: column; }
            .sq-btn { width: 100%; justify-content: center; }
        }
