/**
 * Blaze Sport — Liquid Glass & Premium Animations
 * Effetti glassmorphism raffinato + animazioni CSS di alta qualità
 * Ispirato al design system Venezia FC, evoluto per 3Blaze
 *
 * @package BlazeSport
 * @version 3.0.0
 */

/* =========================================================
   1. PROGRESS BAR DI LETTURA
   ========================================================= */

.blaze-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #FF4500 0%, #FF7A00 50%, #FFB800 100%);
    transition: width 80ms linear;
    border-radius: 0 9999px 9999px 0;
    box-shadow: 0 0 12px rgba(255, 69, 0, 0.6);
    pointer-events: none;
}

/* =========================================================
   2. HEADER LIQUID GLASS
   ========================================================= */

/* UNICA definizione di .blaze-header per tutto il tema (prima ce n'era
   una seconda, diversa, qui e una in theme.css — le due si contendevano
   position/background ad ogni caricamento pagina: a volte vinceva questa
   con position:sticky, riportando indietro il fix a position:fixed fatto
   in theme.css, ed è per questo che il menu ora sembrava sticky ora no,
   e restava sempre vetro scuro invece di trasparente in cima come su
   veneziafc.it). Trasparente a riposo, vetro scuro solo dopo lo scroll. */
.blaze-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition:
        height 350ms cubic-bezier(0.16, 1, 0.3, 1),
        background 350ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 350ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 350ms cubic-bezier(0.16, 1, 0.3, 1),
        backdrop-filter 350ms cubic-bezier(0.16, 1, 0.3, 1);
    height: 80px;
}

.blaze-header.scrolled {
    height: 64px;
    background: rgba(17, 17, 20, 0.94);
    backdrop-filter: blur(24px) saturate(180%) brightness(1.1);
    -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(1.1);
    border-bottom-color: rgba(255, 255, 255, 0.10);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.45),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 -1px 0 rgba(255, 69, 0, 0.08);
}

.blaze-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

/* Logo */
.blaze-header__logo img,
.blaze-header__logo .custom-logo {
    height: clamp(36px, 5vh, 52px);
    width: auto;
    transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 250ms ease;
}

.blaze-header__logo:hover img,
.blaze-header__logo:hover .custom-logo {
    transform: scale(1.04);
    filter: drop-shadow(0 0 12px rgba(255, 69, 0, 0.4));
}

/* ── Ticker barra superiore ────────────────────────────── */
.blaze-ticker {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 8px clamp(16px, 4vw, 48px);
    background: rgba(24, 24, 28, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.78rem;
    font-family: 'Glacial Indifference', sans-serif;
    color: rgba(255, 255, 255, 0.7);
}

.blaze-ticker .blaze-tag--live {
    flex-shrink: 0;
    font-family: 'SUGO Display', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #FF3333;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(255, 51, 51, 0.12);
    border: 1px solid rgba(255, 51, 51, 0.3);
    animation: blaze-live-blink 1.6s ease-in-out infinite;
}

@keyframes blaze-live-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(255,51,51,0.3); }
    50%       { opacity: 0.55; box-shadow: none; }
}

.blaze-ticker__content {
    display: flex;
    gap: 4rem;
    animation: blaze-ticker-scroll 35s linear infinite;
    will-change: transform;
}

.blaze-ticker:hover .blaze-ticker__content {
    animation-play-state: paused;
}

@keyframes blaze-ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =========================================================
   3. NAVIGAZIONE PREMIUM
   ========================================================= */

/* Container nav */
.blaze-nav-primary .wp-block-navigation__container,
.blaze-nav-primary > ul {
    display: flex;
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Link nav */
.blaze-nav-primary a,
.blaze-nav-primary .wp-block-navigation-item__content {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'SUGO Display', 'Arial Black', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.09em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.82) !important;
    text-decoration: none !important;
    padding: 5px 0;
    transition: color 200ms ease;
    white-space: nowrap;
}

/* Underline animata */
.blaze-nav-primary a::after,
.blaze-nav-primary .wp-block-navigation-item__content::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF4500, #FF7A00);
    border-radius: 9999px;
    transition: width 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.blaze-nav-primary a:hover,
.blaze-nav-primary .wp-block-navigation-item__content:hover,
.blaze-nav-primary .current-menu-item > a {
    color: #FF4500 !important;
}

.blaze-nav-primary a:hover::after,
.blaze-nav-primary .wp-block-navigation-item__content:hover::after,
.blaze-nav-primary .current-menu-item > a::after {
    width: 100%;
}

/* ── Dropdown Glassmorphism ──────────────────────────── */
.blaze-nav-primary .wp-block-navigation__submenu-container,
.blaze-nav-primary ul ul {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    min-width: 220px;
    background: rgba(20, 20, 24, 0.96) !important;
    backdrop-filter: blur(32px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 16px !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55),
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
    padding: 10px !important;
    list-style: none;
    animation: blaze-dropdown-in 280ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: top center;
}

@keyframes blaze-dropdown-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* Freccia decorativa dropdown */
.blaze-nav-primary .wp-block-navigation__submenu-container::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 6px;
    background: rgba(20, 20, 24, 0.96);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

/* Voci dropdown */
.blaze-nav-primary .wp-block-navigation__submenu-container a {
    display: block !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.06em !important;
    color: rgba(255, 255, 255, 0.75) !important;
    transition: background 180ms ease, color 180ms ease !important;
    white-space: nowrap;
}

.blaze-nav-primary .wp-block-navigation__submenu-container a:hover {
    background: rgba(255, 69, 0, 0.10) !important;
    color: #FF7A00 !important;
}

.blaze-nav-primary .wp-block-navigation__submenu-container a::after {
    display: none !important;
}

/* =========================================================
   3b. HAMBURGER + TENDINA MENU (LIQUID GLASS)
   Unica differenza voluta rispetto a veneziafc.it: qui il pannello
   è vero liquid glass (blur+saturate, superficie translucida, bordo
   a specchio) e con raggi più arrotondati, non superficie piatta.
   ========================================================= */

/* Hamburger */
.blaze-hamburger {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    backdrop-filter: blur(var(--blaze-glass-blur, 16px)) saturate(160%);
    -webkit-backdrop-filter: blur(var(--blaze-glass-blur, 16px)) saturate(160%);
    cursor: pointer;
    transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.blaze-hamburger:hover {
    background: rgba(255, 69, 0, 0.15);
    border-color: rgba(255, 69, 0, 0.3);
}
.blaze-hamburger__bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #FFFFFF;
    transition: transform 260ms var(--ease-power-4, cubic-bezier(.16,1,.3,1)), opacity 200ms ease;
}
.blaze-hamburger.is-active .blaze-hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.blaze-hamburger.is-active .blaze-hamburger__bar:nth-child(2) { opacity: 0; }
.blaze-hamburger.is-active .blaze-hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Tendina — backdrop */
.blaze-drawer {
    position: fixed;
    inset: 0;
    z-index: 3200;
    visibility: hidden;
    pointer-events: none;
}
.blaze-drawer.is-open { visibility: visible; pointer-events: auto; }

.blaze-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 8, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 360ms var(--ease-power-4, cubic-bezier(.16,1,.3,1));
}
.blaze-drawer.is-open .blaze-drawer__backdrop { opacity: 1; }

/* Tendina — pannello liquid glass */
.blaze-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: min(420px, 88vw);
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 28px 28px 36px;
    overflow-y: auto;
    background: linear-gradient(165deg, rgba(24,24,28,0.72) 0%, rgba(10,10,11,0.86) 100%);
    border-right: 1px solid rgba(255,255,255,0.14);
    border-radius: 0 32px 32px 0;
    box-shadow: var(--wp--preset--shadow--blaze-xl, 0 20px 60px rgba(0,0,0,0.6));
    backdrop-filter: blur(var(--blaze-glass-blur, 28px)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blaze-glass-blur, 28px)) saturate(180%);
    transform: translateX(-100%);
    transition: transform 420ms var(--ease-power-4, cubic-bezier(.16,1,.3,1));
}
.blaze-drawer.is-open .blaze-drawer__panel { transform: translateX(0); }

/* Riflesso a specchio in alto: firma visiva del liquid glass */
.blaze-drawer__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 30%);
    pointer-events: none;
}

.blaze-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.blaze-drawer__logo img,
.blaze-drawer__logo .custom-logo { max-height: 44px; width: auto; display: block; }
.blaze-drawer__logo--text {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}
.blaze-drawer__close {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    color: #fff;
    cursor: pointer;
    transition: background 200ms ease, transform 300ms ease;
}
.blaze-drawer__close:hover { background: var(--blaze-fire); transform: rotate(90deg); }

.blaze-drawer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.blaze-drawer__nav-list li { position: relative; }
.blaze-drawer__nav-list a {
    display: block;
    padding: 12px 16px;
    border-radius: 14px;
    font-family: var(--wp--preset--font-family--display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    transition: background 200ms ease, color 200ms ease, padding-left 200ms ease;
}
.blaze-drawer__nav-list a:hover,
.blaze-drawer__nav-list a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: var(--blaze-fire);
    padding-left: 22px;
}
.blaze-drawer__nav-list .current-menu-item > a { color: var(--blaze-fire); }

/* Voci con sotto-menu (es. "Squadre", "Biglietti", "Club") → accordion,
   come le tendine di veneziafc.it: chevron che ruota, figli che si aprono
   in altezza senza uscire dal flusso del pannello. */
.blaze-drawer__nav-list .menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.blaze-drawer__nav-list .menu-item-has-children > a::after {
    content: "";
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 260ms var(--ease-power-4, cubic-bezier(.16,1,.3,1));
    opacity: 0.7;
}
.blaze-drawer__nav-list .menu-item-has-children.is-open > a::after {
    transform: rotate(-135deg);
}
.blaze-drawer__nav-list .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 14px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 320ms var(--ease-power-4, cubic-bezier(.16,1,.3,1));
}
.blaze-drawer__nav-list .menu-item-has-children.is-open > .sub-menu {
    max-height: 480px;
}
.blaze-drawer__nav-list .sub-menu a {
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: none;
    color: rgba(255,255,255,0.72);
}
.blaze-drawer__nav-list .sub-menu a:hover { padding-left: 24px; color: var(--blaze-fire); }

.blaze-drawer__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.10);
}

/* Bottoni esterni 3Blaze (3blaze.net / WebTV / Academy) */
.blaze-drawer__ext-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 10px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background 200ms ease, transform 200ms ease;
}
.blaze-drawer__ext-btn:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.blaze-drawer__ext-btn img { width: 20px; height: 20px; object-fit: contain; border-radius: 6px; }

/* Bottoni squadra (personalizzabili da Personalizza) */
.blaze-drawer__team-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--blaze-fire) 0%, var(--blaze-ember, var(--blaze-fire)) 100%);
    color: #fff;
    text-decoration: none;
    font-family: var(--wp--preset--font-family--display);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(255,105,0,0.28);
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.blaze-drawer__team-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,105,0,0.4); }

/* Social */
.blaze-drawer__social { gap: 8px; }
.blaze-drawer__social-link {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.blaze-drawer__social-link:hover {
    background: var(--blaze-fire);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .blaze-drawer__panel { border-radius: 0 24px 24px 0; padding: 22px 20px 28px; }
}

/* =========================================================
   4. CARDS E GRIGLIA POST — GLASS EFFECT
   ========================================================= */

/* Card base wp-block-post */
.wp-block-post {
    position: relative;
    border-radius: 16px !important;
    overflow: hidden;
    background: rgba(24, 24, 28, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    transition:
        transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 300ms ease;
    will-change: transform, box-shadow;
}

.wp-block-post:hover {
    transform: translateY(-7px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55),
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 69, 0, 0.15);
    border-color: rgba(255, 69, 0, 0.18) !important;
}

/* Immagine card con zoom */
.wp-block-post .wp-block-post-featured-image img,
.wp-block-post .wp-post-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.wp-block-post:hover .wp-block-post-featured-image img,
.wp-block-post:hover .wp-post-image {
    transform: scale(1.07);
}

/* Overlay gradiente immagine card */
.blaze-card .blaze-card__image::after,
.wp-block-post .wp-block-post-featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 40%,
        rgba(24, 24, 28, 0.6) 80%,
        rgba(24, 24, 28, 0.9) 100%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 400ms ease;
}

.wp-block-post:hover .wp-block-post-featured-image::after {
    opacity: 1;
}

/* Categoria / Tag sul post */
.wp-block-post .wp-block-post-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.wp-block-post .wp-block-post-terms a {
    display: inline-flex;
    align-items: center;
    font-family: 'SUGO Display', sans-serif !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #FF7A00 !important;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(255, 122, 0, 0.10);
    border: 1px solid rgba(255, 122, 0, 0.22);
    text-decoration: none !important;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.wp-block-post .wp-block-post-terms a:hover {
    background: rgba(255, 69, 0, 0.18);
    border-color: rgba(255, 69, 0, 0.38);
    color: #FF4500 !important;
}

/* Titolo del post */
.wp-block-post-title,
.wp-block-post-title a {
    font-family: 'SUGO Display', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.12 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: color 200ms ease;
}

.wp-block-post-title a:hover {
    color: #FF7A00 !important;
}

/* Data post */
.wp-block-post-date,
.wp-block-post-date time {
    font-family: 'Glacial Indifference', sans-serif !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    color: #8E8E93 !important;
}

/* Excerpt */
.wp-block-post-excerpt {
    font-family: 'Glacial Indifference', sans-serif !important;
    color: #C7C7CC !important;
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
}

/* Leggi di più */
.wp-block-read-more {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #FF4500 !important;
    text-decoration: none !important;
    transition: color 200ms ease, gap 200ms ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wp-block-read-more:hover {
    color: #FF7A00 !important;
    gap: 10px;
}

/* ── Stile Glass Card (block style) ─────────────────── */
.is-style-glass-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
    border-radius: 20px !important;
}

/* =========================================================
   5. PULSANTI — EFFETTI PREMIUM
   ========================================================= */

/* Base */
.wp-block-button__link,
.wp-element-button {
    position: relative;
    overflow: hidden;
    transition:
        transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
        background-color 200ms ease,
        border-color 200ms ease,
        color 200ms ease !important;
    will-change: transform;
}

/* Effetto ripple magnetico (controllato da JS) */
.wp-block-button__link::before,
.wp-element-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.16) 0%,
        transparent 65%
    );
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}

.wp-block-button__link:hover::before,
.wp-element-button:hover::before {
    opacity: 1;
}

/* Hover globale */
.wp-block-button__link:hover,
.wp-element-button:hover {
    transform: translateY(-3px) scale(1.015);
}

/* ── Stile PRIMARY — Gradiente Fire ─────────────────── */
.is-style-primary .wp-block-button__link,
.wp-block-button.is-style-primary .wp-element-button {
    background: linear-gradient(135deg, #CC3700 0%, #FF4500 55%, #FF7A00 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    font-family: 'SUGO Display', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
}

.is-style-primary .wp-block-button__link:hover,
.wp-block-button.is-style-primary .wp-element-button:hover {
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

/* ── Stile OUTLINE ─────────────────────────────────── */
.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-element-button {
    background: transparent !important;
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(8px);
    font-family: 'SUGO Display', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
}

.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-element-button:hover {
    border-color: #FF4500 !important;
    color: #FF4500 !important;
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.25) !important;
}

/* ── Stile GLASS ───────────────────────────────────── */
.is-style-glass .wp-block-button__link,
.wp-block-button.is-style-glass .wp-element-button {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    font-family: 'SUGO Display', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
}

.is-style-glass .wp-block-button__link:hover,
.wp-block-button.is-style-glass .wp-element-button:hover {
    background: rgba(255, 255, 255, 0.11) !important;
    border-color: rgba(255, 69, 0, 0.3) !important;
}

/* ── Stile GHOST ───────────────────────────────────── */
.is-style-ghost .wp-block-button__link,
.wp-block-button.is-style-ghost .wp-element-button {
    background: transparent !important;
    border: none !important;
    color: #FF4500 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-family: 'SUGO Display', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.is-style-ghost .wp-block-button__link::after {
    content: ' →';
    transition: margin-left 200ms ease;
}

.is-style-ghost .wp-block-button__link:hover::after {
    margin-left: 4px;
}

/* =========================================================
   6. ANIMAZIONI SCROLL — INTERSECTION OBSERVER
   ========================================================= */

/* Stato iniziale (hidden) */
.blaze-animate {
    opacity: 0;
    will-change: transform, opacity;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    transition-duration: 750ms;
    transition-property: opacity, transform;
}

/* Varianti iniziali */
.blaze-animate.blaze-animate--fade-up     { transform: translateY(48px); }
.blaze-animate.blaze-animate--fade-in     { transform: none; }
.blaze-animate.blaze-animate--fade-down   { transform: translateY(-48px); }
.blaze-animate.blaze-animate--slide-left  { transform: translateX(60px); }
.blaze-animate.blaze-animate--slide-right { transform: translateX(-60px); }
.blaze-animate.blaze-animate--scale-in    { transform: scale(0.88); }
.blaze-animate.blaze-animate--zoom-in     { transform: scale(0.75); }
.blaze-animate.blaze-animate--rotate-in   { transform: rotate(-6deg) scale(0.95); }

/* Stato visibile */
.blaze-animate.is-visible {
    opacity: 1;
    transform: none !important;
}

/* Classi delay */
.blaze-delay-0   { transition-delay: 0ms; }
.blaze-delay-100 { transition-delay: 100ms; }
.blaze-delay-150 { transition-delay: 150ms; }
.blaze-delay-200 { transition-delay: 200ms; }
.blaze-delay-300 { transition-delay: 300ms; }
.blaze-delay-400 { transition-delay: 400ms; }
.blaze-delay-500 { transition-delay: 500ms; }
.blaze-delay-600 { transition-delay: 600ms; }
.blaze-delay-700 { transition-delay: 700ms; }
.blaze-delay-800 { transition-delay: 800ms; }

/* Auto-stagger per griglie */
.blaze-query-grid .wp-block-post:nth-child(1) { transition-delay: 0ms; }
.blaze-query-grid .wp-block-post:nth-child(2) { transition-delay: 80ms; }
.blaze-query-grid .wp-block-post:nth-child(3) { transition-delay: 160ms; }
.blaze-query-grid .wp-block-post:nth-child(4) { transition-delay: 240ms; }
.blaze-query-grid .wp-block-post:nth-child(5) { transition-delay: 320ms; }
.blaze-query-grid .wp-block-post:nth-child(6) { transition-delay: 400ms; }
.blaze-query-grid .wp-block-post:nth-child(7) { transition-delay: 480ms; }
.blaze-query-grid .wp-block-post:nth-child(8) { transition-delay: 560ms; }
.blaze-query-grid .wp-block-post:nth-child(9) { transition-delay: 640ms; }

/* =========================================================
   7. HERO / COVER CINEMATICO
   ========================================================= */

/* Cover hero fullscreen */
.wp-block-cover.blaze-hero,
.blaze-single__cover.wp-block-cover {
    min-height: 100svh;
    position: relative;
    overflow: hidden;
}

/* Zoom-out sull'immagine hero */
.wp-block-cover.blaze-hero .wp-block-cover__image-background,
.wp-block-cover.blaze-hero video.wp-block-cover__video-background {
    animation: blaze-hero-ken-burns 14s ease-out forwards;
    transform-origin: center center;
}

@keyframes blaze-hero-ken-burns {
    from { transform: scale(1.09); }
    to   { transform: scale(1.0); }
}

/* Overlay fire gradient hero */
.wp-block-cover.blaze-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(0deg,   rgba(10, 10, 11, 0.95) 0%, transparent 45%),
        linear-gradient(90deg,  rgba(10, 10, 11, 0.6) 0%, transparent 70%),
        radial-gradient(ellipse at 60% 40%, rgba(255, 69, 0, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.wp-block-cover.blaze-hero .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
}

/* Hero content fadeIn */
.wp-block-cover.blaze-hero .wp-block-heading,
.wp-block-cover.blaze-hero .wp-block-paragraph,
.wp-block-cover.blaze-hero .wp-block-buttons {
    animation: blaze-hero-content-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wp-block-cover.blaze-hero .wp-block-heading {
    animation-delay: 0.3s;
}

.wp-block-cover.blaze-hero .wp-block-paragraph {
    animation-delay: 0.5s;
}

.wp-block-cover.blaze-hero .wp-block-buttons {
    animation-delay: 0.7s;
}

@keyframes blaze-hero-content-in {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testo hero */
.wp-block-cover.blaze-hero .wp-block-heading {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: clamp(3.5rem, 9vw, 9rem) !important;
    font-weight: 700 !important;
    line-height: 0.95 !important;
    letter-spacing: -0.03em !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

/* Scroll hint */
.blaze-hero__scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'SUGO Display', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    animation: blaze-scroll-bounce 2.5s ease-in-out infinite;
}

@keyframes blaze-scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.45; }
    50%       { transform: translateY(8px); opacity: 0.7; }
}

/* =========================================================
   8. SEZIONI CON FILIGRANA (STILE VFC)
   Definizione .blaze-watermark unificata in assets/css/theme.css
   (sezione "REPLICA VENEZIA FC"). Qui restava una versione
   precedente con SVG inesistente e ::after conflittuale — rimossa.
   ========================================================= */

/* Watermark testo */
.blaze-watermark-text {
    position: relative;
    overflow: hidden;
}

.blaze-watermark-text::before {
    content: attr(data-watermark);
    position: absolute;
    font-family: 'SUGO Display', sans-serif;
    font-size: clamp(5rem, 18vw, 16rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
    white-space: nowrap;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    letter-spacing: -0.04em;
}

/* =========================================================
   9. INTESTAZIONE SEZIONE STILE VFC
   ========================================================= */

.blaze-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 2rem;
    position: relative;
}

/* Linea accent fire sotto il titolo */
.blaze-section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, #FF4500, #FF7A00);
    border-radius: 9999px;
    box-shadow: 0 0 12px rgba(255, 69, 0, 0.4);
}

.blaze-section-header__title {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: clamp(1.75rem, 3vw, 2.75rem) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.025em !important;
    color: #FFFFFF !important;
}

.blaze-section-header__link {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #FF4500 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: gap 250ms cubic-bezier(0.34, 1.56, 0.64, 1), color 200ms ease;
}

.blaze-section-header__link:hover {
    gap: 12px;
    color: #FF7A00 !important;
}

/* =========================================================
   10. QUOTE BLOCKS PREMIUM
   ========================================================= */

/* Quote Editoriale Blaze */
.wp-block-quote.is-style-blaze-editorial {
    position: relative;
    border-left: 4px solid #FF4500 !important;
    border-radius: 0 16px 16px 0 !important;
    background: rgba(255, 69, 0, 0.05) !important;
    padding: 28px 36px !important;
    overflow: visible;
}

.wp-block-quote.is-style-blaze-editorial::before {
    content: '\201C';
    position: absolute;
    top: -0.3em;
    left: 20px;
    font-family: 'SUGO Display', sans-serif;
    font-size: 5rem;
    color: rgba(255, 69, 0, 0.25);
    line-height: 1;
    pointer-events: none;
}

.wp-block-quote.is-style-blaze-editorial p {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: clamp(1.125rem, 2.5vw, 1.625rem) !important;
    font-style: normal !important;
    line-height: 1.35 !important;
    color: #FFFFFF !important;
}

.wp-block-quote.is-style-blaze-editorial cite {
    font-family: 'Glacial Indifference', sans-serif !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #FF4500 !important;
    font-style: normal !important;
    margin-top: 16px !important;
    display: block;
}

/* Pullquote */
.wp-block-pullquote {
    border-top: 2px solid rgba(255, 69, 0, 0.4) !important;
    border-bottom: 2px solid rgba(255, 69, 0, 0.4) !important;
    border-left: none !important;
    border-right: none !important;
    background: rgba(255, 69, 0, 0.04) !important;
    text-align: center;
}

.wp-block-pullquote blockquote {
    border: none !important;
    margin: 0;
}

.wp-block-pullquote p {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem) !important;
    line-height: 1.2 !important;
    font-style: normal !important;
    color: #FFFFFF !important;
}

.wp-block-pullquote cite {
    font-family: 'Glacial Indifference', sans-serif !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #FF4500 !important;
    font-style: normal !important;
}

/* =========================================================
   11. SEPARATORI PREMIUM
   ========================================================= */

/* Fire Line */
.wp-block-separator.is-style-fire-line {
    border: none !important;
    height: 2px !important;
    background: linear-gradient(90deg,
        transparent 0%,
        #FF4500 20%,
        #FF7A00 50%,
        #FF4500 80%,
        transparent 100%) !important;
    opacity: 0.55;
    max-width: 100% !important;
}

/* Default separator override */
.wp-block-separator {
    border-color: rgba(255, 255, 255, 0.07) !important;
    opacity: 1 !important;
}

/* =========================================================
   12. PAGINAZIONE
   ========================================================= */

.wp-block-query-pagination {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 3rem;
}

.wp-block-query-pagination-numbers {
    display: flex;
    gap: 6px;
    align-items: center;
}

.wp-block-query-pagination-numbers a,
.wp-block-query-pagination-numbers span,
.wp-block-query-pagination-previous a,
.wp-block-query-pagination-next a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    font-family: 'SUGO Display', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    color: #C7C7CC !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.wp-block-query-pagination-numbers a:hover,
.wp-block-query-pagination-previous a:hover,
.wp-block-query-pagination-next a:hover {
    background: rgba(255, 69, 0, 0.10);
    border-color: rgba(255, 69, 0, 0.28);
    color: #FF4500 !important;
    transform: translateY(-2px);
}

.wp-block-query-pagination-numbers .current,
.wp-block-query-pagination-numbers span.current {
    background: #FF4500 !important;
    border-color: #FF4500 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(255, 69, 0, 0.35);
}

/* =========================================================
   13. FOOTER PREMIUM
   ========================================================= */

.blaze-footer {
    position: relative;
    overflow: hidden;
}

/* Decorazione fire sopra il footer */
.blaze-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 69, 0, 0.3) 30%,
        rgba(255, 122, 0, 0.3) 70%,
        transparent 100%);
}

/* Logo footer */
.blaze-footer__logo img,
.blaze-footer__logo .custom-logo {
    height: auto;
    max-height: 56px;
    width: auto;
    filter: brightness(0.85);
    transition: filter 300ms ease;
}

.blaze-footer__logo:hover img,
.blaze-footer__logo:hover .custom-logo {
    filter: brightness(1);
}

/* Nav footer */
.blaze-footer__menu .wp-block-navigation__container,
.blaze-footer__menu > ul {
    flex-direction: column !important;
    gap: 12px !important;
}

.blaze-footer__menu a {
    font-family: 'Glacial Indifference', sans-serif !important;
    font-size: 0.875rem !important;
    color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none !important;
    transition: color 200ms ease, padding-left 200ms ease;
    display: block;
}

.blaze-footer__menu a:hover {
    color: #FF4500 !important;
    padding-left: 4px;
}

/* Titoli colonne footer */
.blaze-footer__nav-title {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    margin-bottom: 20px !important;
}

/* Social links */
.blaze-footer__social .wp-block-social-link {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    transition: background 200ms ease, border-color 200ms ease, transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.blaze-footer__social .wp-block-social-link:hover {
    background: rgba(255, 69, 0, 0.15) !important;
    border-color: rgba(255, 69, 0, 0.3) !important;
    transform: translateY(-3px) !important;
}

/* Copyright — striscia BIANCA in fondo al footer (non più dark come in
   una versione precedente): testo scuro, non bianco-su-bianco. */
.blaze-footer__copy {
    font-family: 'Glacial Indifference', sans-serif !important;
    font-size: 0.78rem !important;
    color: rgba(0, 0, 0, 0.75) !important;
}

/* Legal nav */
.blaze-footer__legal a {
    font-family: 'Glacial Indifference', sans-serif !important;
    font-size: 0.75rem !important;
    color: rgba(0, 0, 0, 0.6) !important;
    text-decoration: underline !important;
    transition: color 200ms ease;
}

.blaze-footer__legal a:hover {
    color: #000 !important;
}

/* =========================================================
   14. FORM — RICERCA, COMMENTI, NEWSLETTER
   ========================================================= */

/* Search form glass */
.blaze-search-form .wp-block-search__inside-wrapper,
.wp-block-search__inside-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 9999px !important;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: border-color 250ms ease, box-shadow 250ms ease;
}

.blaze-search-form .wp-block-search__inside-wrapper:focus-within,
.wp-block-search__inside-wrapper:focus-within {
    border-color: rgba(255, 69, 0, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.10) !important;
}

.wp-block-search__input {
    background: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    padding: 12px 20px !important;
    font-family: 'Glacial Indifference', sans-serif !important;
    font-size: 0.9375rem !important;
    outline: none !important;
    flex: 1;
}

.wp-block-search__input::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

.wp-block-search__button {
    background: linear-gradient(135deg, #CC3700, #FF4500) !important;
    border: none !important;
    color: #FFFFFF !important;
    padding: 12px 24px !important;
    font-family: 'SUGO Display', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    border-radius: 9999px !important;
    transition: background 200ms ease, box-shadow 200ms ease;
    margin: 4px;
    flex-shrink: 0;
}

.wp-block-search__button:hover {
    background: linear-gradient(135deg, #FF4500, #FF7A00) !important;
    box-shadow: 0 4px 16px rgba(255, 69, 0, 0.35) !important;
}

/* Commenti form */
.comment-respond {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
}

.comment-respond .comment-reply-title {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin-bottom: 1.5rem !important;
}

.comment-respond input,
.comment-respond textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 12px !important;
    color: #FFFFFF !important;
    padding: 12px 16px !important;
    font-family: 'Glacial Indifference', sans-serif !important;
    font-size: 0.9375rem !important;
    width: 100% !important;
    transition: border-color 250ms ease, box-shadow 250ms ease !important;
    outline: none !important;
}

.comment-respond input:focus,
.comment-respond textarea:focus {
    border-color: rgba(255, 69, 0, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.08) !important;
}

.comment-respond .submit {
    background: linear-gradient(135deg, #CC3700, #FF4500) !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 12px 32px !important;
    border-radius: 9999px !important;
    font-family: 'SUGO Display', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: box-shadow 250ms ease, transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.comment-respond .submit:hover {
    box-shadow: 0 6px 24px rgba(255, 69, 0, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* =========================================================
   15. SIDEBAR GLASS
   ========================================================= */

.blaze-single__sidebar,
.blaze-widget,
.widget {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem;
}

.blaze-widget__title,
.widget-title {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #8E8E93 !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================================================
   16. TABELLE SPORT (CLASSIFICHE)
   ========================================================= */

.blaze-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 0.875rem;
}

.blaze-table thead tr {
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.blaze-table thead th {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.13em !important;
    text-transform: uppercase !important;
    color: #636368 !important;
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
}

.blaze-table thead th:first-child { width: 40px; text-align: center; }

.blaze-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background-color 180ms ease;
}

.blaze-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.blaze-table tbody tr.is-highlighted {
    background-color: rgba(255, 69, 0, 0.06);
    border-left: 3px solid #FF4500;
}

.blaze-table tbody td {
    padding: 10px 12px;
    color: #C7C7CC;
    vertical-align: middle;
}

.blaze-table tbody td:first-child {
    font-family: 'SUGO Display', sans-serif;
    font-weight: 700;
    color: #636368;
    text-align: center;
    font-size: 0.875rem;
}

.blaze-table .blaze-table__team {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #FFFFFF;
}

.blaze-table .blaze-table__team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.blaze-table .blaze-table__points {
    font-family: 'SUGO Display', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #FFFFFF;
}

/* Indicatori zona classifica */
.blaze-table tbody tr.zone-champions { border-left: 3px solid #43A4FF; }
.blaze-table tbody tr.zone-conference { border-left: 3px solid #FFB800; }
.blaze-table tbody tr.zone-relegation { border-left: 3px solid #FF3333; }

/* =========================================================
   17. SCOREBOARD / TABELLINO PARTITA
   ========================================================= */

.blaze-scoreboard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 3vw, 2.5rem);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.blaze-scoreboard__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.blaze-scoreboard__logo {
    width: clamp(52px, 7vw, 90px);
    height: clamp(52px, 7vw, 90px);
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.blaze-scoreboard__team-name {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: clamp(0.8rem, 1.8vw, 1.1rem) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    text-align: center !important;
    color: #FFFFFF !important;
}

.blaze-scoreboard__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.blaze-scoreboard__score {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.blaze-scoreboard__number {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: clamp(3rem, 8vw, 5.5rem) !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    line-height: 1 !important;
    min-width: 60px;
    text-align: center;
}

.blaze-scoreboard__dash {
    font-family: 'SUGO Display', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
    line-height: 1;
}

.blaze-scoreboard__status {
    font-family: 'SUGO Display', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #FF4500;
    margin-top: 8px;
    padding: 3px 12px;
    border-radius: 9999px;
    background: rgba(255, 69, 0, 0.12);
    border: 1px solid rgba(255, 69, 0, 0.25);
}

/* =========================================================
   18. CARD GIOCATORE
   ========================================================= */

.blaze-player-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(24, 24, 28, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.blaze-player-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55),
                0 0 0 1px rgba(255, 69, 0, 0.2);
}

.blaze-player-card__number {
    position: absolute;
    top: -0.15em;
    right: -0.05em;
    font-family: 'SUGO Display', sans-serif;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    transition: color 300ms ease, -webkit-text-stroke-color 300ms ease;
}

.blaze-player-card:hover .blaze-player-card__number {
    -webkit-text-stroke-color: rgba(255, 69, 0, 0.15);
}

.blaze-player-card__image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.blaze-player-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.blaze-player-card:hover .blaze-player-card__image img {
    transform: scale(1.06);
}

.blaze-player-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 11, 0.98) 0%,
        rgba(10, 10, 11, 0.5) 40%,
        transparent 75%
    );
    z-index: 1;
}

.blaze-player-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1.25rem;
}

.blaze-player-card__name {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: clamp(1rem, 2.5vw, 1.375rem) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    line-height: 1.1 !important;
    color: #FFFFFF !important;
    margin-bottom: 4px;
}

.blaze-player-card__role {
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FF7A00;
}

/* =========================================================
   19. SPONSOR BAR
   ========================================================= */

.blaze-sponsor-bar {
    padding: 2rem clamp(1rem, 4vw, 3rem);
    background: rgba(24, 24, 28, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blaze-sponsor {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blaze-sponsor img {
    max-height: 40px;
    width: auto;
    filter: grayscale(1) brightness(0.6);
    transition: filter 350ms ease, transform 300ms ease;
    opacity: 0.7;
}

.blaze-sponsor:hover img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.08);
    opacity: 1;
}

/* =========================================================
   20. BREADCRUMBS
   ========================================================= */

.blaze-breadcrumbs {
    padding: 10px clamp(16px, 4vw, 48px);
    background: rgba(24, 24, 28, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blaze-breadcrumbs__nav {
    max-width: var(--content-width, 1240px);
    margin: 0 auto;
}

.blaze-breadcrumbs__list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.blaze-breadcrumbs__item {
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 0.78rem;
    color: #636368;
}

.blaze-breadcrumbs__item--current {
    color: #C7C7CC;
}

.blaze-breadcrumbs__link {
    color: #636368;
    text-decoration: none;
    transition: color 180ms ease;
}

.blaze-breadcrumbs__link:hover {
    color: #FF4500;
}

.blaze-breadcrumbs__separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}

/* =========================================================
   21. TAG / CATEGORY CLOUD
   ========================================================= */

.wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wp-block-tag-cloud a {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 9999px;
    font-family: 'Glacial Indifference', sans-serif !important;
    font-size: 0.8125rem !important;
    color: #C7C7CC !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-decoration: none !important;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease !important;
}

.wp-block-tag-cloud a:hover {
    background: rgba(255, 69, 0, 0.12) !important;
    border-color: rgba(255, 69, 0, 0.3) !important;
    color: #FF4500 !important;
}

/* =========================================================
   22. BLOCCO MEDIA+TESTO
   ========================================================= */

.wp-block-media-text {
    border-radius: 20px !important;
    overflow: hidden;
    background: rgba(24, 24, 28, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(12px);
}

.wp-block-media-text .wp-block-media-text__media img {
    border-radius: 0 !important;
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.wp-block-media-text:hover .wp-block-media-text__media img {
    transform: scale(1.04);
}

/* =========================================================
   23. BLOCCO COVER — STILI GLOBALI
   ========================================================= */

.wp-block-cover {
    border-radius: 20px;
    overflow: hidden;
}

/* Cover fullwidth (align=full) */
.wp-block-cover.alignfull {
    border-radius: 0;
}

/* =========================================================
   24. IMMAGINI ROUNDED
   ========================================================= */

.wp-block-image.is-style-rounded-lg img {
    border-radius: 20px !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   25. RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
    .blaze-header { padding: 0 24px; }
    .blaze-scoreboard { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 768px) {
    .blaze-header { height: 64px; }
    .blaze-header.scrolled { height: 56px; }

    .wp-block-query .wp-block-post-template.is-flex-container {
        grid-template-columns: 1fr !important;
    }

    .blaze-scoreboard__number {
        font-size: 3.5rem !important;
    }

    .blaze-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .blaze-player-card__number {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .blaze-scoreboard {
        padding: 1.25rem;
    }

    .blaze-scoreboard__number {
        font-size: 2.75rem !important;
    }
}

/* =========================================================
   26. KEYFRAMES GLOBALI
   ========================================================= */

@keyframes blaze-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes blaze-fade-up {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes blaze-scale-in {
    from { opacity: 0; transform: scale(0.90); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes blaze-slide-from-left {
    from { opacity: 0; transform: translateX(-48px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes blaze-slide-from-right {
    from { opacity: 0; transform: translateX(48px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes blaze-glow-pulse {
    0%,  100% { box-shadow: 0 0 20px rgba(255, 69, 0, 0.2); }
    50%        { box-shadow: 0 0 40px rgba(255, 69, 0, 0.45); }
}

@keyframes blaze-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes blaze-float {
    0%,  100% { transform: translateY(0); }
    50%        { transform: translateY(-8px); }
}

/* Skeleton loading */
.blaze-skeleton {
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.04) 0%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0.04) 100%
    );
    background-size: 200% auto;
    animation: blaze-shimmer 1.5s linear infinite;
    border-radius: 8px;
}

/* =========================================================
   27. PLACEHOLDER IMMAGINI
   ========================================================= */

.blaze-image-placeholder {
    display: block;
    background: rgba(24, 24, 28, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.blaze-image-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* =========================================================
   28. BLOCCO AUTORE
   ========================================================= */

.blaze-author-box,
.wp-block-post-author-biography {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.wp-block-post-author__avatar img,
.wp-block-post-author-biography .wp-block-post-author__avatar img {
    border-radius: 50% !important;
    border: 2px solid rgba(255, 69, 0, 0.3);
}

.wp-block-post-author__name {
    font-family: 'SUGO Display', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin-bottom: 6px !important;
}

.wp-block-post-author__bio {
    font-family: 'Glacial Indifference', sans-serif !important;
    font-size: 0.875rem !important;
    color: #8E8E93 !important;
    line-height: 1.6 !important;
}

/* =========================================================
   29. LOAD MORE BUTTON
   ========================================================= */

.blaze-load-more {
    display: flex;
    justify-content: center;
    padding-top: 3rem;
}

.blaze-load-more__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    border-radius: 9999px;
    font-family: 'SUGO Display', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 250ms var(--ease, cubic-bezier(0.16,1,0.3,1));
    backdrop-filter: blur(8px);
}

.blaze-load-more__btn:hover {
    background: rgba(255, 69, 0, 0.12);
    border-color: rgba(255, 69, 0, 0.3);
    color: #FF4500;
}

.blaze-load-more__btn.is-loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Spinner per load more */
.blaze-load-more__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FF4500;
    border-radius: 50%;
    animation: blaze-spin 0.7s linear infinite;
    display: none;
}

.blaze-load-more__btn.is-loading .blaze-load-more__spinner {
    display: block;
}

@keyframes blaze-spin {
    to { transform: rotate(360deg); }
}

/* =========================================================
   30. ACCESSIBILITÀ — RIDUZIONE MOVIMENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .blaze-animate,
    .wp-block-post,
    .wp-block-button__link,
    .blaze-player-card,
    .blaze-header {
        transition: none !important;
        animation: none !important;
    }

    .blaze-animate {
        opacity: 1 !important;
        transform: none !important;
    }

    .wp-block-cover.blaze-hero .wp-block-cover__image-background {
        animation: none !important;
    }

    .blaze-ticker__content {
        animation: none !important;
    }
}
