/* ══════════════════════════════════════════════════════════════
   GAMECAST NEWS HUB — CSS pulito, zero patch
   Struttura: filtri → hero → feed → sidebar → responsive
   Breakpoint: 480 / 768 / 1024
   ══════════════════════════════════════════════════════════════ */

/* ── RESET: neutralizza stili parent che interferiscono ────── */
.page-notizie .news-hero,
.page-notizie .news-hero__main,
.page-notizie .news-hero__secondary,
.page-notizie .news-hero__sec-card,
.page-notizie .news-hero__sec-img,
.page-notizie .news-hero__main-img {
    all: revert;
    box-sizing: border-box;
}

/* ══════════════════════════════════════════════════════════════
   1. FILTRI
   ══════════════════════════════════════════════════════════════ */

.news-filters-v2 {
    position: sticky;
    top: 64px;
    z-index: 90;
    padding: 8px 0;
    margin-bottom: 20px;
    background: rgba(15, 15, 15, .92);
    border-bottom: 1px solid rgba(255,255,255,.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
[data-theme="light"] .news-filters-v2 {
    background: rgba(255,255,255,.92);
    border-bottom-color: rgba(0,0,0,.08);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.news-filters-v2__row {
    display: flex;
    gap: 6px;
    padding: 4px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    align-items: center;
}
.news-filters-v2__row::-webkit-scrollbar { display: none; }

.news-filters-v2__row--secondary {
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: 4px;
    padding-top: 6px;
    flex-wrap: wrap;
    gap: 6px;
}
[data-theme="light"] .news-filters-v2__row--secondary {
    border-top-color: rgba(0,0,0,.06);
}

.nf2-group {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}
.nf2-group + .nf2-group {
    margin-left: 6px;
    padding-left: 10px;
    border-left: 1px solid rgba(255,255,255,.1);
}
[data-theme="light"] .nf2-group + .nf2-group {
    border-left-color: rgba(0,0,0,.1);
}

.nf2-pill {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    height: 32px;
    padding: 0 14px;
    border-radius: 9999px;
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 120ms ease;
}
.nf2-pill:hover {
    color: var(--color-link);
    border-color: var(--color-link);
}
.nf2-pill.is-active {
    background: var(--color-link);
    border-color: var(--color-link);
    color: #fff;
    font-weight: 700;
}
.nf2-pill--section { font-size: 12px; height: 28px; padding: 0 10px; }
.nf2-pill--order   { font-size: 12px; height: 28px; padding: 0 10px; border-style: dashed; }

.nf2-search { flex: 1; min-width: 140px; max-width: 280px; margin-left: auto; }
.nf2-search__input {
    width: 100%;
    height: 32px;
    padding: 0 14px;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 13px;
    box-sizing: border-box;
}
.nf2-search__input::placeholder { color: var(--text-muted); }
.nf2-search__input:focus { border-color: var(--color-link); outline: none; }

/* ══════════════════════════════════════════════════════════════
   2. HERO — struttura da zero
   ══════════════════════════════════════════════════════════════ */

.page-notizie .news-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

/* ── Hero main: cover piena ── */
.page-notizie .news-hero__main {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
    /* Aspect ratio fisso: l'immagine vive dentro */
    aspect-ratio: 16 / 9;
    background: #111;
}

/* Immagine: absolute fill, ignora width/height nativi */
.page-notizie .news-hero__main-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay gradient */
.page-notizie .news-hero__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.85) 0%,
        rgba(0,0,0,.4) 35%,
        transparent 65%
    );
    pointer-events: none;
}

/* Contenuto testo */
.page-notizie .news-hero__content {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-hero__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.news-hero__badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
    background: var(--color-link);
}
.news-hero__badge--platform {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(4px);
}

.page-notizie .news-hero__title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0,0,0,.5);
}

.news-hero__meta {
    display: flex; gap: 8px; align-items: center;
    font-size: 12px; color: rgba(255,255,255,.6);
}
.news-hero__time { color: rgba(255,255,255,.6); }
.news-hero__game { color: rgba(255,255,255,.85); font-weight: 600; }

/* ── Hero secondarie ── */
.page-notizie .news-hero__secondary {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.page-notizie .news-hero__secondary::-webkit-scrollbar { display: none; }

.page-notizie .news-hero__sec-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 200px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    text-decoration: none;
    transition: border-color 120ms ease;
}
.page-notizie .news-hero__sec-card:hover {
    border-color: var(--color-link);
}

/* Immagine secondaria: ratio fisso, cover */
.page-notizie .news-hero__sec-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.page-notizie .news-hero__sec-body {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.news-hero__sec-badges { display: flex; gap: 4px; flex-wrap: wrap; }
.news-hero__sec-badge {
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    color: var(--color-link);
}
.news-hero__sec-badge--platform {
    color: var(--text-secondary);
    background: var(--bg-elevated, rgba(255,255,255,.06));
    padding: 1px 6px; border-radius: 3px;
}

.page-notizie .news-hero__sec-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-hero__sec-meta { display: flex; gap: 6px; font-size: 11px; }
.news-hero__sec-time { color: var(--text-muted); }
.news-hero__sec-game { color: var(--color-link); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════
   3. SECTION HEADER
   ══════════════════════════════════════════════════════════════ */

.news-section-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}
.news-section-header__title {
    font-size: 18px; font-weight: 800;
    color: var(--text-primary); margin: 0;
    padding-left: 12px;
    border-left: 4px solid var(--color-link);
}
.news-section-header__count {
    font-size: 12px; color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   4. FEED + CARDS
   ══════════════════════════════════════════════════════════════ */

.news-feed {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.news-feed__empty {
    grid-column: 1/-1; text-align: center;
    padding: 40px 0; color: var(--text-muted); font-size: 14px;
}

/* Card */
.news-card-v2 {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 120ms ease, box-shadow 200ms ease;
}
.news-card-v2:hover {
    border-color: var(--color-link);
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

/* Card media */
.news-card-v2__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
}
.news-card-v2__img {
    position: absolute;
    top: 0; left: 0;
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}
.news-card-v2:hover .news-card-v2__img { transform: scale(1.04); }
.news-card-v2__placeholder { width: 100%; height: 100%; background: #1a1a1a; }

/* Badge piattaforma overlay */
.news-card-v2__platform {
    position: absolute;
    top: 8px; left: 8px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: #fff; z-index: 1;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(4px);
}
.news-card-v2__platform--playstation-5  { background: #006FCD; }
.news-card-v2__platform--xbox-series-xs { background: #107C10; }
.news-card-v2__platform--pc            { background: #555; }
.news-card-v2__platform--nintendo,
.news-card-v2__platform--switch,
.news-card-v2__platform--switch-2      { background: #E60012; }
.news-card-v2__platform--mobile        { background: #7B61FF; }

/* Card body */
.news-card-v2__body {
    flex: 1; display: flex; flex-direction: column;
    gap: 6px; padding: 12px;
}

/* Badge tipo */
.news-card-v2__type {
    align-self: flex-start;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--color-link);
}
.news-card-v2__type--notizia    { color: var(--color-link); }
.news-card-v2__type--editoriale { color: #ef9e40; }
.news-card-v2__type--anteprima  { color: #a78bfa; }
.news-card-v2__type--recensione { color: #ef9e40; }
.news-card-v2__type--speciale   { color: #60a5fa; }
.news-card-v2__type--leak       { color: #f87171; }
.news-card-v2__type--gameback   { color: #34d399; }

/* Titolo */
.news-card-v2__title {
    font-size: 15px; font-weight: 700;
    line-height: 1.3; color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-v2__title a { color: inherit; text-decoration: none; }
.news-card-v2__title a:hover { color: var(--color-link); }

/* Excerpt */
.news-card-v2__deck {
    font-size: 12px; line-height: 1.5;
    color: var(--text-secondary); margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.news-card-v2__meta {
    display: flex; gap: 8px; align-items: center;
    margin-top: auto; font-size: 11px;
}
.news-card-v2__time { color: var(--text-muted); }
.news-card-v2__game {
    color: var(--color-link); text-decoration: none;
    font-weight: 600; font-size: 11px;
}
.news-card-v2__game:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   4b. FEED CARD v3 — lista editoriale compatta (.nf-item)
   ══════════════════════════════════════════════════════════════ */

.nf-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    background: var(--bg-1, #1a1f2e);
    border: 1px solid var(--border, rgba(255,255,255,.06));
    transition: background .15s, border-color .15s, transform .15s;
}

.nf-item:hover {
    background: var(--bg-hover, rgba(255,255,255,.06));
    border-color: rgba(129, 140, 248, .25);
    transform: translateX(3px);
}

/* Thumbnail */
.nf-item__thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-2, #0d1117);
}

.nf-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nf-item__thumb-ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1f2e, #0d1117);
}

/* Body */
.nf-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Label ricca */
.nf-item__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    line-height: 1.3;
    color: #818cf8;
}

.nf-item__label--review  { color: #00ade2; }
.nf-item__label--guide   { color: #818cf8; }
.nf-item__label--retro   { color: #34d399; }
.nf-item__label--preview { color: #a78bfa; }
.nf-item__label--news    { color: #ef9e40; }
.nf-item__label--default { color: #94a3b8; }

/* Titolo */
.nf-item__title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #e2e8f0);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tempo — sempre visibile sotto il titolo */
.nf-item__time {
    display: block;
    font-size: 10px;
    color: var(--text-muted, #64748b);
    margin-top: 1px;
    line-height: 1.2;
}

/* Verdict badge — firma editoriale GC */
.nf-item__verdict {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    padding: 7px 12px 5px;
    border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
}

.nf-item__verdict-val {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
}

.nf-item__verdict-sig {
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 3px;
}

/* Piattaforma — notizie */
.nf-item__verdict--platform {
    border-color: rgba(239, 158, 64, .28);
    background: rgba(239, 158, 64, .06);
    padding: 6px 10px;
}
.nf-item__verdict--platform .nf-item__verdict-val {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #d4a04a;
    white-space: nowrap;
}

/* Colori per livello */
.nf-item__verdict--high {
    border-color: rgba(70, 195, 215, .35);
    background: rgba(70, 195, 215, .08);
}
.nf-item__verdict--high .nf-item__verdict-val { color: #5cc8db; }
.nf-item__verdict--high .nf-item__verdict-sig { color: rgba(92, 200, 219, .50); }

.nf-item__verdict--mid {
    border-color: rgba(210, 175, 90, .35);
    background: rgba(210, 175, 90, .07);
}
.nf-item__verdict--mid .nf-item__verdict-val { color: #d4b45a; }
.nf-item__verdict--mid .nf-item__verdict-sig { color: rgba(212, 180, 90, .50); }

.nf-item__verdict--low {
    border-color: rgba(190, 80, 80, .30);
    background: rgba(190, 80, 80, .07);
}
.nf-item__verdict--low .nf-item__verdict-val { color: #c06060; }
.nf-item__verdict--low .nf-item__verdict-sig { color: rgba(192, 96, 96, .50); }

.nf-item__verdict--spoke {
    border-color: rgba(129, 140, 248, .30);
    background: rgba(129, 140, 248, .07);
    padding: 6px 10px;
}
.nf-item__verdict--spoke .nf-item__verdict-val {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #a5b4fc;
    white-space: nowrap;
}

.nf-item__verdict--retro {
    border-color: rgba(52, 211, 153, .30);
    background: rgba(52, 211, 153, .07);
}
.nf-item__verdict--retro .nf-item__verdict-val {
    color: #5ecea0;
    font-size: 16px;
    letter-spacing: -.02em;
}
.nf-item__verdict--retro .nf-item__verdict-sig { color: rgba(94, 206, 160, .50); }

/* Light mode */
[data-theme="light"] .nf-item__verdict {
    background: #f8fafc;
    border-color: rgba(0,0,0,.10);
}

[data-theme="light"] .nf-item__verdict--high {
    background: rgba(30, 140, 160, .06);
    border-color: rgba(30, 140, 160, .22);
}
[data-theme="light"] .nf-item__verdict--high .nf-item__verdict-val { color: #1a7a8a; }
[data-theme="light"] .nf-item__verdict--high .nf-item__verdict-sig { color: rgba(26, 122, 138, .55); }

[data-theme="light"] .nf-item__verdict--mid {
    background: rgba(160, 130, 40, .06);
    border-color: rgba(160, 130, 40, .22);
}
[data-theme="light"] .nf-item__verdict--mid .nf-item__verdict-val { color: #8a6a1a; }
[data-theme="light"] .nf-item__verdict--mid .nf-item__verdict-sig { color: rgba(138, 106, 26, .55); }

[data-theme="light"] .nf-item__verdict--low {
    background: rgba(160, 50, 50, .06);
    border-color: rgba(160, 50, 50, .18);
}
[data-theme="light"] .nf-item__verdict--low .nf-item__verdict-val { color: #983030; }
[data-theme="light"] .nf-item__verdict--low .nf-item__verdict-sig { color: rgba(152, 48, 48, .55); }

[data-theme="light"] .nf-item__verdict--platform {
    background: rgba(180, 120, 30, .06);
    border-color: rgba(180, 120, 30, .20);
}
[data-theme="light"] .nf-item__verdict--platform .nf-item__verdict-val { color: #8a6a1a; }

[data-theme="light"] .nf-item__verdict--spoke {
    background: rgba(79, 70, 200, .06);
    border-color: rgba(79, 70, 200, .20);
}
[data-theme="light"] .nf-item__verdict--spoke .nf-item__verdict-val { color: #4f46c8; }

[data-theme="light"] .nf-item__verdict--retro {
    background: rgba(20, 120, 80, .06);
    border-color: rgba(20, 120, 80, .20);
}
[data-theme="light"] .nf-item__verdict--retro .nf-item__verdict-val { color: #1a7a50; }
[data-theme="light"] .nf-item__verdict--retro .nf-item__verdict-sig { color: rgba(26, 122, 80, .55); }

/* ─── Feed grid: lista verticale ─────────────────────────────── */
.news-feed {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ─── Light mode ─────────────────────────────────────────────── */
[data-theme="light"] .nf-item {
    background: #ffffff;
    border-color: rgba(0,0,0,.08);
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

[data-theme="light"] .nf-item:hover {
    background: #f8fafc;
    border-color: rgba(99,102,241,.2);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

[data-theme="light"] .nf-item__title {
    color: #1e293b;
}

[data-theme="light"] .nf-item__thumb {
    background: #f1f5f9;
}

/* ─── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .nf-item {
        padding: 8px 10px;
        gap: 10px;
    }

    .nf-item__thumb {
        width: 48px;
        height: 48px;
    }

    .nf-item__title {
        font-size: 13px;
    }

    .nf-item__time {
        font-size: 9px;
    }
}

/* ══════════════════════════════════════════════════════════════
   5. LAYOUT (desktop = feed + sidebar)
   ══════════════════════════════════════════════════════════════ */

.news-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ══════════════════════════════════════════════════════════════
   6. SIDEBAR
   ══════════════════════════════════════════════════════════════ */

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Sidebar review block — editoriale ── */
.sidebar-posts { gap: 16px !important; }

.sidebar-post--review {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,.03) 0%, transparent 100%);
    border: 1px solid var(--border);
    transition: border-color 120ms ease, background 120ms ease;
}
.sidebar-post--review:hover {
    border-color: var(--color-link);
    background: rgba(0,173,226,.04);
}
[data-theme="light"] .sidebar-post--review {
    background: linear-gradient(135deg, rgba(0,0,0,.02) 0%, transparent 100%);
    border-color: rgba(0,0,0,.08);
}
[data-theme="light"] .sidebar-post--review:hover {
    background: rgba(239,158,64,.04);
}

/* Immagine review: più grande */
.sidebar-post--review .sidebar-post__thumb-wrap {
    position: relative;
    flex-shrink: 0;
}
.sidebar-post--review .sidebar-post__img {
    width: 64px !important;
    height: 64px !important;
    border-radius: 8px !important;
    object-fit: cover;
    display: block;
}

/* Badge voto: posizionato meglio */
.sidebar-post--review .sidebar-post__score {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: var(--color-link);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    line-height: 1.3;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    border: 2px solid var(--bg-card);
}

/* Info wrapper */
.sidebar-post__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

/* Titolo review: 2 righe */
.sidebar-post--review .sidebar-post__title {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta sotto titolo */
.sidebar-post__meta {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ── Trending v2 — editoriale ── */
.str2 {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.str2__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 120ms ease;
    position: relative;
}
.str2__item::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 3px;
    border-radius: 2px;
    background: transparent;
    transition: background 120ms ease;
}
.str2__item:hover {
    background: rgba(0,173,226,.05);
    border-color: var(--border);
}
.str2__item:hover::before {
    background: var(--color-link);
}
[data-theme="light"] .str2__item:hover {
    background: rgba(239,158,64,.04);
}

/* Primo item: spicca */
.str2__item--first {
    padding: 12px;
    background: linear-gradient(135deg, rgba(0,173,226,.06) 0%, transparent 100%);
    border-color: rgba(0,173,226,.12);
    border-radius: 12px;
    margin-bottom: 4px;
}
.str2__item--first::before {
    background: var(--color-link);
    top: 15%; bottom: 15%;
    width: 4px;
}
[data-theme="light"] .str2__item--first {
    background: linear-gradient(135deg, rgba(239,158,64,.05) 0%, transparent 100%);
    border-color: rgba(239,158,64,.12);
}

/* Numero: badge forte */
.str2__num {
    flex-shrink: 0;
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-link);
    background: rgba(0,173,226,.1);
    border-radius: 8px;
    line-height: 1;
}
.str2__item--first .str2__num {
    width: 36px; height: 36px;
    font-size: 16px;
    background: rgba(0,173,226,.15);
}
[data-theme="light"] .str2__num {
    background: rgba(239,158,64,.1);
}
[data-theme="light"] .str2__item--first .str2__num {
    background: rgba(239,158,64,.15);
}

/* Body */
.str2__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

/* Link titolo */
.str2__link {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 120ms ease;
}
.str2__item:hover .str2__link { color: var(--color-link); }
.str2__item--first .str2__link {
    font-size: 14px;
    font-weight: 700;
}

/* Meta: categoria + tempo */
.str2__meta {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: .02em;
}

/* ── Giochi del momento v2 — editoriale ── */
.sidebar-games-v2 {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sg2 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 120ms ease;
    position: relative;
}
.sg2::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 3px;
    border-radius: 2px;
    background: transparent;
    transition: background 120ms ease;
}
.sg2:hover {
    background: rgba(0,173,226,.05);
    border-color: var(--border);
}
.sg2:hover::before {
    background: var(--color-link);
}
[data-theme="light"] .sg2:hover {
    background: rgba(239,158,64,.04);
}

/* Primo item: più grande e forte */
.sg2--first {
    padding: 12px;
    background: linear-gradient(135deg, rgba(0,173,226,.06) 0%, transparent 100%);
    border-color: rgba(0,173,226,.12);
    border-radius: 12px;
    margin-bottom: 4px;
}
[data-theme="light"] .sg2--first {
    background: linear-gradient(135deg, rgba(239,158,64,.05) 0%, transparent 100%);
    border-color: rgba(239,158,64,.12);
}
.sg2--first::before {
    background: var(--color-link);
    top: 15%; bottom: 15%;
    width: 4px;
}

/* Immagine: box fisso, overflow hidden, cover */
.sg2__img {
    width: 56px; height: 56px;
    min-width: 56px; min-height: 56px;
    max-width: 56px; max-height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    background: var(--bg-elevated);
    overflow: hidden;
}
.sg2--first .sg2__img {
    width: 68px; height: 68px;
    min-width: 68px; min-height: 68px;
    max-width: 68px; max-height: 68px;
    border-radius: 12px;
}
.sg2__img--empty {
    background: var(--bg-elevated, #222);
}

/* Info */
.sg2__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

/* Nome */
.sg2__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 120ms ease;
}
.sg2:hover .sg2__name { color: var(--color-link); }
.sg2--first .sg2__name {
    font-size: 15px;
    font-weight: 800;
}

/* Count badge */
.sg2__count {
    display: inline-block;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-link);
    background: rgba(0,173,226,.1);
    padding: 1px 8px;
    border-radius: 9999px;
    letter-spacing: .02em;
}
[data-theme="light"] .sg2__count {
    background: rgba(239,158,64,.1);
}

/* ══════════════════════════════════════════════════════════════
   7. LOAD MORE / LOADING
   ══════════════════════════════════════════════════════════════ */

.news-feed.is-loading { opacity: .3; pointer-events: none; min-height: 200px; }

.gc-load-more-wrap { margin-top: 28px; text-align: center; }
.gc-load-more {
    height: 40px; padding: 0 28px;
    border-radius: 9999px; border: 2px solid var(--border);
    background: transparent; color: var(--text-primary);
    font-size: 14px; font-weight: 700; cursor: pointer;
    transition: all 120ms ease;
}
.gc-load-more:hover { border-color: var(--color-link); color: var(--color-link); }
.gc-load-more:disabled { opacity: .5; cursor: wait; }

/* ══════════════════════════════════════════════════════════════
   8. RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── < 480px: telefono piccolo ── */
@media (max-width: 479px) {
    .news-card-v2__deck { display: none; }
    .page-notizie .news-hero__title { font-size: 18px; }
    .page-notizie .news-hero__content { padding: 12px; }
    .page-notizie .news-hero__sec-card { flex: 0 0 180px; }
    .nf2-search { min-width: 100%; max-width: 100%; margin-left: 0; order: 10; }
    .nf2-group + .nf2-group { margin-left: 0; padding-left: 0; border-left: none; }
}

/* ── 480–767px: telefono grande ── */
@media (min-width: 480px) and (max-width: 767px) {
    .news-card-v2__deck { display: none; }
    .page-notizie .news-hero__title { font-size: 20px; }
    .nf2-search { max-width: 200px; }
}

/* ── 768px+: tablet e su ── */
@media (min-width: 768px) {
    /* Hero: 2 colonne, altezza fissata dalla main */
    .page-notizie .news-hero {
        grid-template-columns: 3fr 2fr;
    }
    .page-notizie .news-hero__main {
        aspect-ratio: auto;
        min-height: 320px;
    }

    /* Secondarie: colonna verticale che riempie l'altezza */
    .page-notizie .news-hero__secondary {
        flex-direction: column;
        overflow: hidden;
    }
    .page-notizie .news-hero__sec-card {
        flex: 1; flex-basis: 0;
    }
    /* Immagine secondaria su tablet: nascosta, card solo testo per entrare in altezza */
    .page-notizie .news-hero__sec-img {
        aspect-ratio: auto;
        height: 80px;
        flex-shrink: 0;
    }

    .page-notizie .news-hero__title { font-size: 24px; }
    .page-notizie .news-hero__content { padding: 20px; }

    /* Feed: 2 colonne */
    .news-feed { grid-template-columns: repeat(2, 1fr); }

    .news-card-v2__title { font-size: 16px; }
    .news-card-v2__body { padding: 14px; gap: 8px; }
}

/* ── 1024px+: desktop ── */
@media (min-width: 1024px) {
    /* Layout: feed + sidebar affiancati */
    .news-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
    }
    .news-main { flex: 1; min-width: 0; }
    .news-sidebar {
        flex-shrink: 0;
        width: 300px;
        position: sticky;
        top: 180px; /* header 64 + filtri ~100 + margine */
        max-height: calc(100vh - 200px);
        overflow-y: auto;
        scrollbar-width: thin;
        margin-top: 10px;
    }

    /* Hero: piu alto */
    .page-notizie .news-hero__main { min-height: 380px; }
    .page-notizie .news-hero__title { font-size: 26px; }
    .page-notizie .news-hero__sec-title { font-size: 14px; }

    /* Secondarie: immagini piu alte */
    .page-notizie .news-hero__sec-img { height: 100px; }

    /* Feed: 2 colonne, gap maggiore */
    .news-feed { gap: 24px; }
    .news-card-v2__title { font-size: 17px; }
    .news-card-v2__body { padding: 16px; }
}
