/* =============================================
   ventidiguerra.it — Layout V2
   Tema chiaro, full-width top, angoli squadrati
   ============================================= */

:root {
    --bg: #f5f5f7;
    --surface: #ffffff;
    --border: rgba(0,0,0,0.08);
    --border-hover: rgba(0,0,0,0.18);
    --text: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #555555;
    --text-dim: #555555;
    --accent: #c62828;
    --accent-light: #e53935;
    --accent-bg: rgba(198,40,40,0.08);
    --accent-border: rgba(198,40,40,0.18);
    --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --card-shadow-hover: 0 8px 25px rgba(0,0,0,0.1);
}

/* Override base style.css dark theme */
body {
    background: var(--bg) !important;
    color: var(--text) !important;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
a { color: var(--accent-light) !important; }
a:hover { color: var(--accent) !important; }

/* Ticker links must stay white */
.ticker-track a { color: white !important; }
.ticker-track a:hover { color: white !important; text-decoration: none !important; }

/* Override header — full width */
.header {
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom-color: var(--border) !important;
    width: 100%;
}
.header-inner { max-width: none !important; height: 88px !important; }
.logo-text { color: var(--text) !important; font-size: 26px !important; }
.logo-svg { height: 48px; width: auto; }
.logo-sub { color: var(--text-muted) !important; font-size: 9px !important; }
.logo-icon { width: 40px !important; height: 40px !important; font-size: 19px !important; }
.hamburger span { background: rgba(0,0,0,0.5) !important; }

/* Override ticker — full width */
.ticker {
    background: #d50000 !important;
    border-radius: 0 !important;
    max-width: none !important;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    padding: 16px 0 !important;
    font-size: 16px !important;
    position: sticky !important;
    top: 88px !important;
    z-index: 99 !important;
}
.ticker-label { font-size: 13px !important; padding: 16px 16px !important; color: white !important; }
.ticker-track { padding-left: 120px !important; }
.ticker-track a { color: white !important; }
.ticker-track a:hover { color: white !important; text-decoration: none !important; }
.ticker-source { font-size: 13px !important; opacity: 0.8 !important; }
.ticker:hover .ticker-track { animation-play-state: paused !important; }

/* ── CRUSCOTTO V2: full width ── */
.cruscotto-v2-wrap {
    background: #222222;
    border-bottom: none;
    box-shadow: none;
    position: relative;
    width: 100%;
}
.cruscotto-v2-wrap .cr2-label { color: rgba(255,255,255,0.45) !important; }
.cruscotto-v2-wrap .cr2-big-num { color: #fff !important; }
.cruscotto-v2-wrap .cr2-sev-level { color: #ef5350 !important; }
.cruscotto-v2-wrap .cr2-gauge-val { color: #ef5350 !important; }
.cruscotto-v2-wrap .cr2-gauge-bg { stroke: rgba(255,255,255,0.08) !important; }
.cruscotto-v2-wrap .cr2-v-num { color: #fff !important; }
.cruscotto-v2-wrap .cr2-v-lbl { color: rgba(255,255,255,0.45) !important; }
.cruscotto-v2-wrap .cr2-meta { color: rgba(255,255,255,0.3) !important; }
.cruscotto-v2-wrap .cr2-dmg-sub { color: rgba(255,255,255,0.45) !important; }
.cruscotto-v2-wrap .cr2-brent-val { color: #fff !important; }
.cruscotto-v2-wrap .cr2-brent-unit { color: rgba(255,255,255,0.45) !important; }
.cruscotto-v2-wrap .cr2-trend-up { background: rgba(239,83,80,0.15) !important; color: #ef5350 !important; }
.cruscotto-v2-wrap .cr2-trend-down { background: rgba(76,175,80,0.15) !important; color: #66bb6a !important; }
.cruscotto-v2-wrap .cr2-brent-change.up { background: rgba(239,83,80,0.15) !important; color: #ef5350 !important; }
.cruscotto-v2-wrap .cr2-brent-change.down { background: rgba(76,175,80,0.15) !important; color: #66bb6a !important; }
.cruscotto-v2-wrap .cr2-block:not(:last-child)::after { background: rgba(255,255,255,0.06) !important; }
.cruscotto-v2-wrap::before {
    display: none;
}
.cruscotto-v2 {
    display: flex; align-items: stretch;
    padding: 0 32px;
}
.cr2-block {
    flex: 1; padding: 56px 28px 40px;
    display: flex; align-items: center; gap: 16px;
    position: relative;
}
.cr2-block:not(:last-child)::after {
    content: ''; position: absolute;
    right: 0; top: 12%; bottom: 12%;
    width: 1px; background: var(--border);
}
.cr2-label {
    font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
    text-transform: uppercase; color: var(--text-muted);
    margin-bottom: 5px; white-space: nowrap;
}

/* Gauge */
.cr2-gauge { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.cr2-gauge svg { display: block; }
.cr2-gauge-bg, .cr2-gauge-fill { fill: none; stroke-width: 5.5; stroke-linecap: round; }
.cr2-gauge-bg { stroke: rgba(0,0,0,0.06); }
.cr2-gauge-fill {
    stroke: var(--accent-light);
    transition: stroke-dashoffset 2s ease-out;
    filter: drop-shadow(0 0 6px rgba(229,57,53,0.3));
}
.cr2-gauge-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; }
.cr2-gauge-val {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 42px; font-weight: 600; color: var(--accent); line-height: 1;
}
.cr2-gauge-unit { font-size: 10px; color: rgba(255,255,255,0.45) !important; font-weight: 600; }
.cr2-sev-level {
    font-size: 64px; font-weight: 600; text-transform: uppercase;
    color: var(--accent); line-height: 1;
    font-family: 'Barlow Semi Condensed', sans-serif;
}
.cr2-trend {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 700; padding: 2px 7px;
    width: fit-content; margin-top: 4px;
}
.cr2-trend-up { background: var(--accent-bg); color: var(--accent); }
.cr2-trend-down { background: rgba(76,175,80,0.1); color: #2e7d32; }

/* Block icons */
.cr2-icon {
    width: 38px; height: 38px; flex-shrink: 0;
    opacity: 0.25;
}

/* Big numbers */
.cr2-big-num {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 64px; font-weight: 600; color: var(--text); line-height: 1;
}
.cr2-v-row { display: flex; align-items: center; gap: 16px; }
.cr2-v-break { display: flex; flex-direction: column; gap: 4px; }
.cr2-v-line { display: flex; align-items: center; gap: 6px; }
.cr2-v-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cr2-v-num { font-weight: 700; font-size: 18px; font-family: 'Barlow Semi Condensed', sans-serif; }
.cr2-v-lbl { color: var(--text-muted); font-size: 14px; }
.cr2-meta { font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.cr2-dmg-sub { font-size: 14px; color: var(--text-muted); margin-top: 3px; }

/* Brent */
.cr2-brent-block {
    display: flex; align-items: center; gap: 16px;
}
.cr2-brent-info { flex-shrink: 0; }
.cr2-brent-val {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 64px; font-weight: 600; color: var(--text); line-height: 1;
}
.cr2-brent-sub {
    display: flex; align-items: center; gap: 8px; margin-top: 4px;
}
.cr2-brent-unit { font-size: 13px; color: rgba(255,255,255,0.45); }
.cr2-brent-change {
    font-size: 12px; font-weight: 700; padding: 2px 7px;
    display: inline-block;
}
.cr2-brent-change.up { color: #c62828; background: rgba(198,40,40,0.08); }
.cr2-brent-change.down { color: #2e7d32; background: rgba(76,175,80,0.1); }
.cr2-brent-right {
    flex: 1; min-width: 0;
    align-self: stretch;
    display: flex; flex-direction: column; justify-content: space-around;
}
.cr2-brent-chart { height: 60px; }
.cr2-brent-source { font-size: 13px; text-align: right; }
.cr2-brent-source a {
    color: rgba(255,255,255,0.45) !important;
    text-decoration: none;
}
.cr2-brent-source a:hover {
    color: rgba(255,255,255,0.7) !important;
}

/* Info text cruscotto */
.cr2-info-text {
    position: absolute;
    top: 16px; left: 32px;
    font-size: 14px; color: rgba(255,255,255,0.25);
}

/* ── FILTRI AFFIANCATI ── */
.v2-filters { display: inline-flex; gap: 8px; margin-left: auto; }

/* ── CLUSTER BADGE ── */
.card-cluster-badge {
    display: inline-block;
    background: rgba(239,83,80,0.15); color: #ef5350;
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px; border-radius: 3px;
    margin-left: 8px; text-decoration: none;
    border: 1px solid rgba(239,83,80,0.25);
    transition: all 0.2s;
}
.card-cluster-badge:hover {
    background: rgba(239,83,80,0.3);
    color: #fff;
}

/* ── TIMELINE AI ── */
.v2-tl-detail {
    font-size: 12px; color: rgba(255,255,255,0.5);
    margin-top: 4px; line-height: 1.4;
}
.v2-tl-badge-breaking {
    font-size: 9px; font-weight: 800; letter-spacing: 1px;
    background: #c62828; color: #fff;
    padding: 2px 6px; border-radius: 3px;
    animation: livePulse 2s ease-in-out infinite;
}
.v2-tl-card.high { border-left: 2px solid #ef5350; }
@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ── COMPOSIZIONE SCORE BARS ── */
.cr2-scores-block { flex-direction: column; align-items: flex-start; }
.cr2-scores-block .cr2-icon { display: none; }
.cr2-scores-detail { width: 100%; }
.cr2-scores-detail .cr2-label { margin-bottom: 8px; }
.cr2-score-row {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 5px; font-size: 12px;
}
.cr2-score-name {
    width: 70px; flex-shrink: 0;
    color: rgba(255,255,255,0.5); font-weight: 600;
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
}
.cr2-score-bar {
    flex: 1; height: 6px; border-radius: 3px;
    background: rgba(255,255,255,0.06); overflow: hidden;
}
.cr2-score-bar > div {
    height: 100%; border-radius: 3px;
    transition: width 1.5s ease-out;
    min-width: 2px;
}
.cr2-score-val {
    width: 28px; text-align: right; flex-shrink: 0;
    font-weight: 700; font-size: 12px; color: rgba(255,255,255,0.7);
    font-family: 'Barlow Semi Condensed', system-ui, sans-serif;
}

/* ── TIMELINE — full width ── */
.v2-timeline-wrap {
    background: #222222;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
    width: 100%;
    padding: 18px 0 22px;
}
.v2-timeline-wrap .v2-section-title { color: #fff !important; }
.v2-timeline-inner { padding: 0 32px; }
.v2-timeline-scroll {
    display: flex; gap: 14px;
    overflow-x: auto; padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.v2-timeline-scroll::-webkit-scrollbar { display: none; }
.v2-tl-card {
    min-width: 250px; max-width: 250px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    padding: 18px;
    flex-shrink: 0; scroll-snap-align: start;
    box-shadow: none; transition: all 0.2s;
    text-decoration: none; color: inherit; display: block;
}
.v2-tl-card:hover { box-shadow: none; transform: none; color: inherit; }
.v2-tl-card:hover .v2-tl-title { color: #ef5350 !important; }
.v2-tl-card.latest { border-color: rgba(255,255,255,0.08); border-left: 3px solid var(--accent); }
.v2-tl-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.v2-tl-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.15); flex-shrink: 0;
}
.v2-tl-card.latest .v2-tl-dot {
    background: #e53935; box-shadow: 0 0 6px rgba(229,57,53,0.4);
    animation: livePulse 1.5s infinite;
}
.v2-tl-time {
    font-size: 16px; font-weight: 800; color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px; font-family: 'Barlow Semi Condensed', sans-serif;
}
.v2-tl-card.latest .v2-tl-time { color: #ef5350; }
.v2-tl-source {
    font-size: 11px; color: rgba(255,255,255,0.25);
    text-transform: uppercase; letter-spacing: 0.3px;
    margin-left: auto; font-weight: 600;
}
.v2-tl-title {
    font-size: 16px; font-weight: 700;
    color: rgba(255,255,255,0.6); line-height: 1.35;
}
.v2-tl-card.latest .v2-tl-title { color: #fff; }
.v2-tl-summary {
    font-size: 14px; color: var(--text-muted);
    line-height: 1.45; margin-top: 6px;
}

/* Timeline arrows */
.v2-tl-arrows {
    display: inline-flex; gap: 6px;
    margin-left: auto;
}
.v2-tl-arrow {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    padding: 0;
    line-height: 1;
}
.v2-tl-arrow:hover {
    background: #c62828;
    color: #fff;
}

/* Timeline card links — inherit colors */
.v2-tl-card { color: inherit !important; }
.v2-tl-card:hover { color: inherit !important; }
.v2-tl-summary { color: rgba(255,255,255,0.3); }

/* ── CONTAINER ── */
.v2-container { max-width: 1200px; margin: 0 auto; padding: 0; }
.v2-section { padding: 18px 0; }
.v2-section-title {
    font-size: 14px; font-weight: 700; color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 1.2px;
    margin-bottom: 14px; padding: 0 4px;
    display: flex; align-items: center; gap: 8px;
}

/* ── SELETTORE TESTATE ── */
.v2-fonte-select {
    margin-left: auto;
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 8px 30px 8px 12px;
    font-size: 14px;
    color: #555;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    text-transform: none;
    letter-spacing: 0;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(0,0,0,0.3)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.v2-fonte-select:hover { border-color: rgba(0,0,0,0.2); }
.v2-fonte-select:focus { border-color: rgba(0,0,0,0.3); }
.v2-fonte-select option { background: #fff; color: #1a1a1a; }

/* ── WEBCAM — rounded, overlay name ── */
.v2-webcam-grid { display: flex; gap: 12px; }
.v2-webcam-card {
    flex: 1; overflow: hidden; border-radius: 8px;
    background: var(--surface); border: 1px solid var(--border);
    box-shadow: none; transition: all 0.2s;
    text-decoration: none; color: inherit;
}
.v2-webcam-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
.v2-webcam-img {
    width: 100%; aspect-ratio: 16/9;
    background-size: cover; background-position: center;
    background-color: #e8e0f0; position: relative;
    display: flex; align-items: center; justify-content: center;
}
.v2-webcam-live {
    position: absolute; top: 8px; right: 8px;
    background: #e53935; color: white;
    font-size: 10px; font-weight: 800; letter-spacing: 1px;
    padding: 3px 8px;
    animation: livePulse 1.5s infinite;
}
.v2-webcam-name {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 18px 10px 8px;
    font-size: 13px; font-weight: 700;
    color: white; text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* ── NEWS MASONRY 3 COLONNE ── */
.v2-news-grid {
    columns: 3;
    column-gap: 18px;
    column-rule: none;
    border: none;
    overflow: visible;
    padding: 12px;
    margin: -12px;
}

/* ── CARD UNIFORME ── */
.card {
    background: var(--surface) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 0 !important;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 18px;
    vertical-align: top;
    box-shadow: none;
    transition: none !important;
    animation: none !important;
    transform: none !important;
}
.card:hover,
.v2-news-grid .card:hover,
.card.featured:hover {
    box-shadow: none !important;
    border-color: rgba(0,0,0,0.2) !important;
    transform: none !important;
}

/* Featured — full-width 16:9 */
.card.featured {
    contain: none !important;
    display: block !important;
    overflow: hidden;
    column-span: none !important;
    opacity: 1 !important;
    margin-bottom: 18px;
}
.card.featured .card-inner {
    position: relative; overflow: hidden;
    width: 100%; padding-bottom: 56.25%; /* 16:9 */
}
.card.featured .card-image {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #222; height: auto; padding-bottom: 0;
}
.card.featured .card-body {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 40px 32px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.4) 90%, transparent 100%);
}
.card.featured .featured-label {
    background: #d50000 !important;
    color: #fff;
    top: 24px !important;
    left: 32px !important;
}
.card.featured .card-date { color: rgba(255,255,255,0.7); }
.card.featured .card-title { font-size: 48px; font-weight: 500; color: #fff; }
.card.featured .card-title a { color: #fff !important; }
.card.featured .card-title a:hover { color: rgba(255,255,255,0.8) !important; }
.card.featured .card-summary { color: rgba(255,255,255,0.75); -webkit-line-clamp: 2; }
.card.featured .card-source { color: rgba(255,255,255,0.6); }

.card-inner { display: flex; flex-direction: column; position: relative; }
.card-image {
    height: 175px; background-size: cover; background-position: center;
    background-color: #e8e0f0; flex-shrink: 0;
    position: relative;
}

/* BADGE TIPOLOGIA — stile identico a LIVE */
.card-cat {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #333;
    padding: 5px 12px !important;
    display: inline-block;
    line-height: 1;
    transition: background 0.2s ease;
}
.card-cat:hover {
    background: #c62828 !important;
    color: #fff !important;
}
.card-image .card-cat {
    position: absolute;
    top: 8px;
    left: 8px;
}
.card-body > .card-cat {
    margin-bottom: 2px;
    align-self: flex-start;
}

.card-body {
    padding: 18px;
    display: flex; flex-direction: column; gap: 6px;
}
.card-date { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.card-title { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.3; }
.card-title a { color: var(--text) !important; text-decoration: none; }
.card-title a:hover { color: var(--accent) !important; }
.card-summary {
    font-size: 15px; color: var(--text-secondary); line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-source { font-size: 13px; color: var(--text-muted); font-weight: 500; padding-top: 4px; }
.card-image-cat { display: none; }

/* ── VIDEO SCROLL STRIP ── */
.v2-video-wrap {
    background: var(--bg);
    border-top: none;
    width: 100%;
    padding: 32px 0 36px;
}
.v2-video-wrap .v2-section-title { color: var(--text-secondary) !important; }
.v2-video-inner { padding: 0 32px; }
.v2-video-scroll {
    display: flex; gap: 18px;
    overflow-x: auto; padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.v2-video-scroll::-webkit-scrollbar { display: none; }
.v2-video-card {
    min-width: calc(33.333% - 12px); max-width: calc(33.333% - 12px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04); transition: all 0.2s ease;
    flex-shrink: 0; scroll-snap-align: start;
}
.v2-video-card { text-decoration: none; color: inherit; display: block; }
.v2-video-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04); transform: none; }
.v2-video-player {
    position: relative; width: 100%; padding-top: 56.25%;
    background: #000; overflow: hidden;
}
.v2-video-player iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; border: none;
}
.v2-video-thumb {
    position: relative; width: 100%; padding-top: 56.25%;
    background-size: cover; background-position: center;
    background-color: #000;
}
.v2-video-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,0,0,0.85);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff; padding-left: 3px;
    transition: background 0.2s;
}
.v2-video-card:hover .v2-video-play { background: rgba(255,0,0,1); }
.v2-video-wrap .v2-tl-arrow {
    background: rgba(0,0,0,0.06);
    color: rgba(0,0,0,0.5);
}
.v2-video-wrap .v2-tl-arrow:hover {
    background: #c62828;
    color: #fff;
}

/* Override footer */
.site-footer {
    border-top-color: var(--border) !important;
    color: var(--text-muted) !important;
    background: transparent !important;
    font-size: 13px !important;
}
.footer-links a { color: var(--text-muted) !important; font-size: 14px !important; }
.footer-links a:hover { color: var(--accent) !important; }

/* Override pagination */
.pagination a, .pagination span {
    border-color: var(--border) !important;
    color: var(--text-secondary) !important;
    background: var(--surface) !important;
}
.pagination a:hover {
    background: var(--bg) !important;
    border-color: var(--border-hover) !important;
    color: var(--text) !important;
}
.pagination .current {
    background: #d50000 !important;
    color: #fff !important;
    border-color: #d50000 !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
    .v2-news-grid { columns: 2; }
    .card.featured .card-title { font-size: 36px; }
    .card.featured .card-body { padding: 36px 28px 22px; }
    .card.featured .featured-label { left: 28px !important; top: 20px !important; }
    .cr2-block { padding: 40px 16px 32px; gap: 12px; }
    .cr2-big-num { font-size: 44px; }
    .cr2-sev-level { font-size: 44px; }
    .cr2-brent-val { font-size: 44px; }
    .cr2-gauge { width: 90px; height: 90px; }
    .cr2-gauge svg { width: 90px; height: 90px; }
    .cr2-gauge-val { font-size: 30px; }
    .cr2-icon { width: 32px; height: 32px; }
    .cr2-brent-right { display: none; }
    .cr2-dmg-sub { font-size: 12px; }
    .cr2-label { font-size: 10px; }
    .cr2-info-text { font-size: 12px; top: 12px; left: 16px; }
    .v2-tl-card { min-width: 230px; max-width: 230px; padding: 16px; }
    .v2-video-card { min-width: calc(40% - 10px); max-width: calc(40% - 10px); }
}
@media (max-width: 1000px) {
    .cruscotto-v2 { flex-wrap: wrap; padding: 0 16px; gap: 0; }
    .cr2-block { flex: 1 1 45%; padding: 28px 16px 22px; }
    .cr2-block::after { display: none; }
    .cr2-big-num { font-size: 42px; }
    .cr2-sev-level { font-size: 42px; }
    .cr2-brent-val { font-size: 42px; }
    .cr2-gauge { width: 80px; height: 80px; flex-shrink: 0; }
    .cr2-gauge svg { width: 80px; height: 80px; }
    .cr2-gauge-val { font-size: 28px; }
    .cr2-block:first-child { align-items: center; }
    .cr2-trend { background: none !important; padding: 0; }
    .cr2-brent-change { background: none !important; padding: 0; }
    .cr2-icon { width: 80px; height: 80px; padding: 21px; opacity: 0.15; }
    .cr2-brent-chart { display: none; }
    .cr2-brent-source { display: none; }
    .cr2-brent-right { display: none; }
    .cr2-info-text {
        position: static;
        font-size: 11px;
        padding: 4px 16px 16px;
        text-align: left;
    }
    .cruscotto-v2-footer { padding: 7px 16px; }
    .v2-timeline-inner { padding: 0 16px; }
    .v2-news-grid { columns: 2; }
    .v2-webcam-grid { flex-wrap: wrap; }
    .v2-webcam-card { flex: 1 1 30%; }
    .v2-video-inner { padding: 0 16px; }
    .v2-video-card { min-width: calc(50% - 9px); max-width: calc(50% - 9px); }
    .v2-container { padding: 0 16px; }
    .header { padding: 0 16px !important; }
}
@media (max-width: 768px) {
    .v2-news-grid { columns: 1; }
    .card.featured .card-title { font-size: 28px; }
    .card.featured .card-body { padding: 30px 20px 18px; }
    .card.featured .card-inner { padding-bottom: 65%; }
    .card.featured .featured-label { left: 20px !important; top: 16px !important; }
    .v2-webcam-grid { flex-wrap: wrap; }
    .v2-webcam-card { flex: 1 1 45%; }
    .v2-video-card { min-width: 75%; max-width: 75%; }
    .v2-tl-card { min-width: 200px; max-width: 200px; padding: 14px; }
    .v2-tl-title { font-size: 14px; }
    .v2-tl-summary { font-size: 12px; }
    .v2-section-title { font-size: 13px; }
    .v2-filters { gap: 6px; }
    .v2-fonte-select { font-size: 12px; max-width: 180px; padding: 6px 26px 6px 10px; }
    .ticker { font-size: 14px !important; padding: 12px 0 !important; }
    .ticker-label { font-size: 11px !important; padding: 12px 12px !important; }
    .cr2-block { padding: 22px 14px 18px; }
    .cr2-big-num { font-size: 36px; }
    .cr2-sev-level { font-size: 36px; }
    .cr2-brent-val { font-size: 36px; }
    .cr2-gauge { width: 68px; height: 68px; }
    .cr2-gauge svg { width: 68px; height: 68px; }
    .cr2-gauge-val { font-size: 24px; }
    .cr2-icon { width: 68px; height: 68px; padding: 18px; }
    .cr2-dmg-sub { font-size: 11px; }
    .cr2-brent-unit { font-size: 11px; }
    .cr2-brent-change { font-size: 10px; }
    .cr2-trend { font-size: 10px; }
}
@media (max-width: 600px) {
    /* Cruscotto: 2x2, no icone, no gauge SVG */
    .cruscotto-v2 { display: grid; grid-template-columns: 1fr 1fr; padding: 0; gap: 0; }
    .cr2-block { padding: 16px 14px; gap: 0; }
    .cr2-block::after { display: none; }
    .cr2-icon { display: none; }
    .cr2-gauge { display: none; }
    .cr2-big-num { font-size: 42px; }
    .cr2-sev-level { font-size: 42px; }
    .cr2-brent-val { font-size: 42px; }
    .cr2-label { font-size: 12px; letter-spacing: 1px; margin-bottom: 4px; }
    .cr2-dmg-sub { font-size: 14px; }
    .cr2-brent-unit { font-size: 14px; }
    .cr2-brent-change { font-size: 13px; padding: 0; background: none !important; }
    .cr2-brent-sub { gap: 6px; margin-top: 3px; }
    .cr2-trend { font-size: 13px; padding: 0; background: none !important; margin-top: 4px; }
    .cr2-info-text { position: static; font-size: 13px; padding: 6px 14px 14px; grid-column: 1 / -1; }
    /* Header */
    .header-inner { height: 56px !important; }
    .logo-svg { height: 36px; }
    /* Ticker */
    .ticker { top: 56px !important; padding: 12px 0 !important; font-size: 15px !important; }
    .ticker-label { font-size: 12px !important; padding: 12px 12px !important; }
    /* Featured */
    .card.featured .card-title { font-size: 26px; }
    .card.featured .card-inner { padding-bottom: 75%; }
    .card.featured .card-body { padding: 28px 16px 16px; }
    .card.featured .featured-label { left: 16px !important; top: 14px !important; }
    .card-title { font-size: 18px; }
    .card-summary { font-size: 15px; }
    .card-date { font-size: 14px; }
    .card-source { font-size: 14px; }
    /* Webcam & Video */
    .v2-webcam-card { flex: 1 1 45%; }
    .v2-video-card { min-width: 85%; max-width: 85%; }
    /* Filtri */
    .v2-fonte-select { font-size: 11px; max-width: 140px; padding: 5px 24px 5px 8px; }
    .v2-filters { gap: 4px; }
    /* Timeline */
    .v2-tl-card { min-width: 220px; max-width: 220px; padding: 16px; }
    .v2-tl-title { font-size: 16px; }
    .v2-tl-summary { font-size: 14px; }
    .v2-tl-time { font-size: 16px; }
    .v2-tl-source { font-size: 11px; }
    .v2-section-title { font-size: 14px; }
    .v2-tl-arrow { width: 30px; height: 30px; font-size: 14px; }
    /* Footer */
    .site-footer { padding: 18px 16px; font-size: 11px !important; }
}
@media (max-width: 480px) {
    .cr2-block { padding: 14px 12px; }
    .cr2-big-num { font-size: 36px; }
    .cr2-sev-level { font-size: 36px; }
    .cr2-brent-val { font-size: 36px; }
    .cr2-label { font-size: 11px; }
    .cr2-dmg-sub { font-size: 13px; }
    .cr2-brent-unit { font-size: 13px; }
    .cr2-brent-change { font-size: 12px; }
    .cr2-trend { font-size: 12px; background: none !important; padding: 0; }
    .cr2-brent-change { background: none !important; padding: 0; }
    .card.featured .card-title { font-size: 22px; }
    .card.featured .card-inner { padding-bottom: 130%; }
    .card.featured .card-body { padding: 24px 14px 14px; }
    .card.featured .featured-label { left: 14px !important; top: 12px !important; }
    .card-title { font-size: 17px; }
    .card-summary { font-size: 14px; }
    .card-body { padding: 16px; }
    .card-date { font-size: 13px; }
    .card-source { font-size: 13px; }
    .v2-section-title { font-size: 13px; }
    .v2-filters { display: none; }
    .ticker { font-size: 12px !important; padding: 14px 0 !important; }
    .ticker-label { font-size: 12px !important; padding: 14px 10px !important; }
    .ticker-source { font-size: 12px !important; }
    .v2-container { padding: 0 12px; }
    .header { padding: 0 12px !important; }
    .v2-tl-card { min-width: 200px; max-width: 200px; padding: 14px; }
    .v2-tl-title { font-size: 15px; }
    .v2-tl-summary { font-size: 13px; }
    .v2-tl-time { font-size: 15px; }
    .pagination a, .pagination span { padding: 6px 10px; font-size: 12px; }
}