/* ==========================================================================
   Home: blocco News ([hero_news])
   "Game On" (novembre 2026), come nel mockup: a sinistra la card "leggendaria" (fondo granata, cornice oro,
   trofeo) con le notizie in evidenza che scorrono; a destra le altre notizie come pannelli e il link a tutte.
   Nella card la foto della notizia, sotto una sfumatura granata che tiene leggibili i testi.
   ========================================================================== */

.hero-news-home {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    font-family: var(--rsc-font-testo);
    color: #FFF4E6;
}

/* --- Card leggendaria --- */
.hero-news-section {
    grid-column: span 8;
    position: relative;
    min-height: 440px;
    background: linear-gradient(160deg, #C0284A 0%, #5A0E1F 55%, #3A0A16 100%);
    border: 2px solid #FFD978;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    overflow: hidden;
}
.hero-news-swiper {
    position: absolute !important;
    inset: 0;
    overflow: hidden;
    z-index: 2;
}
.hero-news-swiper .swiper-slide { height: 100%; position: relative; }
/* Foto della notizia a tutta card, con un leggero zoom lento sulla slide attiva */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 20%;
    transform: scale(1);
    transition: transform 6s ease-out;
}
.swiper-slide-active .hero-slide-bg { transform: scale(1.05); }
/* Sfumatura granata: scura in basso e a sinistra dove stanno etichetta e titolo (contrasto AA sul crema) */
.hero-slide-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(30, 5, 11, .96) 0%, rgba(58, 10, 22, .8) 38%, rgba(90, 14, 31, .25) 70%, rgba(90, 14, 31, .1) 100%),
        linear-gradient(90deg, rgba(30, 5, 11, .5) 0%, transparent 60%);
}
/* barrette degli indicatori leggibili anche sulla foto */
.hero-news-section::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 70px;
    background: linear-gradient(180deg, rgba(30, 5, 11, .55), transparent);
    z-index: 3;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide-bg, .swiper-slide-active .hero-slide-bg { transition: none; transform: none; }
}

.hero-slide-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
}
.hero-main-news > div:first-child { display: inline-block; vertical-align: middle; }
.hero-main-news > div:first-child + div { display: inline; }
/* Etichetta oro come "Trofeo sbloccato · Leggendario"; la data accanto */
.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, #FFE7A1, #E6B84A);
    color: #1E050B;
    padding: 5px 10px;
    font-family: var(--rsc-font-titolo);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}
.hero-date {
    display: inline-block;
    margin: 0 0 0 8px;
    vertical-align: middle;
    color: #FFD978;
    font-family: var(--rsc-font-titolo);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hero-title {
    display: block;
    margin: 12px 0 0;
    font-family: var(--rsc-font-display) !important;
    font-size: 40px !important;
    font-weight: 900 !important;
    font-style: italic;
    letter-spacing: -.01em;
    line-height: 1 !important;
    text-transform: uppercase;
    color: #FFF4E6 !important;
}
.hero-excerpt { display: none; }
/* "Leggi": invisibile, copre tutta la card (il titolo completo è nell'aria-label) */
.hero-btn-read {
    position: absolute;
    inset: 0;
    z-index: 3;
    font-size: 0;
    color: transparent !important;
    background: none;
    border: 0;
}
.hero-news-section:has(.hero-btn-read:focus-visible) { outline: 3px solid #FFF4E6; outline-offset: -5px; }

/* Indicatori delle notizie in evidenza: barrette in alto nella card (i titoli restano per i lettori di schermo) */
.hero-swiper-pagination {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 18px !important;
    bottom: auto !important;
    width: auto !important;
    z-index: 4;
    display: flex;
    gap: 6px;
}
.hero-swiper-pagination .swiper-pagination-bullet {
    flex: 1 1 0;
    width: auto;
    height: 4px;
    margin: 0 !important;
    padding: 10px 0;
    background: none;
    border-radius: 0;
    opacity: 1;
    position: relative;
    cursor: pointer;
}
.hero-swiper-pagination .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    height: 4px;
    background: rgba(255, 244, 230, .3);
}
.hero-swiper-pagination .swiper-pagination-bullet-active::before { background: #FFD978; }
.hero-nav-cat, .hero-nav-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* --- Altre notizie: pannelli con angolo tagliato, link a tutte le news --- */
.hero-news-home > .hero-related-section {
    grid-column: span 4;
    display: flex;
    min-width: 0;
}
.hero-news-home .hero-related-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}
.hero-news-home .hero-related-title {
    margin: 0;
    font-family: var(--rsc-font-titolo);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #FFD978;
}
.hero-news-home .hero-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 auto;
}
.hero-news-home .hero-related-list li { flex: 1 1 0; margin: 0; display: flex; }
.hero-news-home .hero-related-list a {
    display: flex;
    align-items: flex-end;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: linear-gradient(180deg, rgba(255, 244, 230, .07), rgba(255, 244, 230, .03));
    border: 1px solid rgba(230, 184, 74, .28);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    color: #FFF4E6;
    font-family: var(--rsc-font-display);
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -.01em;
    line-height: 1.05;
    text-transform: uppercase;
    text-decoration: none;
}
.hero-news-home .hero-related-list a:hover, .hero-news-home .hero-related-list a:focus-visible { border-color: #E6B84A; color: #FFD978; }
.hero-news-home .hero-btn-all {
    align-self: flex-start;
    color: #FFD978;
    font-family: var(--rsc-font-display);
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -.01em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.hero-news-home .hero-btn-all:hover { color: #FFF4E6; }

@media (max-width: 1024px) {
    .hero-news-section, .hero-news-home > .hero-related-section { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .hero-news-home { gap: 16px; }
    .hero-news-section { min-height: 300px; }
    .hero-slide-content { left: 16px; right: 16px; bottom: 16px; }
    .hero-title { font-size: 24px !important; }
    .hero-news-home .hero-related-list a { padding: 16px; font-size: 20px; }
    .hero-news-home .hero-btn-all { font-size: 20px; }
}
