/*
Theme Name: HolaItalia
Theme URI: https://holaitalia.it
Author: Redazione HolaItalia
Author URI: https://holaitalia.it
Description: Il portale di notizie e servizi dedicato alla comunit&agrave; latinoamericana in Italia. Grafica moderna ad alta velocit&agrave;, supporto WebP, slider con dissolvenza e footer ricco.
Version: 2.6.0
License: GNU General Public License v2 or later
Text Domain: holaitalia
*/

/* CSS RESET & VARIABLES */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #e11d48;
    --primary-dark: #be123c;
    --primary-light: #f43f5e;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --dark-border: #334155;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --accent-blue: #0284c7;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-subtle: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-elevated: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
}

body {
    font-family: var(--font-sans);
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

img, picture {
    max-width: 100%;
    height: auto;
    display: block;
}

.hi-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.hi-topbar {
    background-color: #0b1120;
    color: #e2e8f0;
    font-size: 12.5px;
    border-bottom: 1px solid #1e293b;
    padding: 7px 0;
}

.hi-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.hi-topbar-date {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
}

.hi-topbar-tagline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hi-tagline-text {
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.3px;
}

.hi-flags-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hi-flag-img {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    object-fit: cover;
}

.hi-topbar-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hi-topbar-socials a {
    color: #94a3b8;
    font-size: 13px;
    transition: color 0.2s, transform 0.2s;
}

.hi-topbar-socials a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.hi-topbar-search-trigger {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 13px;
    margin-left: 6px;
    transition: color 0.2s;
}

.hi-topbar-search-trigger:hover {
    color: #ffffff;
}

/* Language Switcher in Topbar */
.hi-lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 2px 4px;
    gap: 2px;
    margin-left: 4px;
}

.hi-lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    padding: 2px 7px;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.hi-lang-pill img.hi-lang-flag {
    width: 14px;
    height: 10px;
    border-radius: 2px;
    object-fit: cover;
}

.hi-lang-pill:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.1);
}

.hi-lang-pill.active {
    background: #e11d48;
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(225, 29, 72, 0.4);
}

/* ==========================================================================
   HEADER & LOGO
   ========================================================================== */
.hi-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
}

.hi-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hi-logo-link {
    display: inline-block;
    flex-shrink: 0;
}

.hi-logo-img {
    height: 58px;
    width: auto;
    max-width: 270px;
    object-fit: contain;
    display: block;
}

.hi-header-banner {
    position: relative;
    height: 58px;
    width: 100%;
    max-width: 580px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.hi-header-banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hi-header-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 60%, rgba(15,23,42,0.1) 100%);
}

.hi-header-banner-content {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.hi-banner-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.hi-banner-subtitle {
    font-size: 12.5px;
    color: #fde047;
    font-weight: 500;
}

/* ==========================================================================
   MAIN NAVIGATION
   ========================================================================== */
.hi-nav-wrap {
    background-color: var(--dark-bg);
    border-top: 2px solid var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 48px;
    max-height: 48px;
}

.hi-nav-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 48px;
    flex-wrap: nowrap !important;
    gap: 10px;
}

.hi-nav-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    list-style: none !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}

.hi-nav-menu::-webkit-scrollbar {
    display: none !important;
}

.hi-nav-item {
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.hi-nav-link {
    display: inline-block !important;
    padding: 14px 14px !important;
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    line-height: 20px !important;
    position: relative !important;
    white-space: nowrap !important;
    transition: color 0.2s, background-color 0.2s !important;
    text-decoration: none !important;
}

.hi-nav-link:hover, .hi-nav-link.active-home {
    color: #ffffff !important;
    background-color: rgba(255,255,255,0.06) !important;
}

.hi-nav-link.active-home::after, .hi-nav-link:hover::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background-color: var(--primary) !important;
}

.hi-nav-actions {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    gap: 8px !important;
    height: 100% !important;
}

.hi-nav-lang-switcher {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 3px 6px !important;
    gap: 2px !important;
}

.hi-nav-lang-btn {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 5px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #cbd5e1 !important;
    padding: 3px 8px !important;
    border-radius: 14px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.hi-nav-lang-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

.hi-nav-lang-btn.active {
    background: #e11d48 !important;
    color: #ffffff !important;
    box-shadow: 0 1px 4px rgba(225, 29, 72, 0.4) !important;
}

.hi-flag-img {
    width: 14px !important;
    height: 10px !important;
    object-fit: cover !important;
    border-radius: 2px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.hi-nav-lang-sep {
    display: inline-block !important;
    width: 1px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    margin: 0 2px !important;
    flex-shrink: 0 !important;
}

.hi-nav-search-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    background: none !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 15px !important;
    padding: 8px 10px !important;
    cursor: pointer !important;
    transition: color 0.2s !important;
    height: 100% !important;
}

.hi-nav-search-btn:hover {
    color: var(--primary) !important;
}

/* ==========================================================================
   MOBILE HAMBURGER BUTTON & FULLSCREEN MENU DRAWER
   ========================================================================== */
.hi-hamburger-trigger {
    display: none;
}

@media (max-width: 991px) {
    .hi-hamburger-trigger {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        border-radius: 8px !important;
        color: #ffffff !important;
        padding: 6px 12px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        height: 34px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    }

    .hi-hamburger-trigger:hover, .hi-hamburger-trigger:active {
        background: rgba(225, 29, 72, 0.25) !important;
        border-color: #e11d48 !important;
        color: #ffffff !important;
    }

    .hi-hamburger-bars {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 15px !important;
        height: 11px !important;
    }

    .hi-hamburger-bars span {
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        background-color: #ffffff !important;
        border-radius: 2px !important;
    }

    .hi-hamburger-label {
        font-size: 11px !important;
        font-weight: 800 !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
        line-height: 1 !important;
    }

    /* Hide the overflowing horizontal text menu on screens <= 991px */
    .hi-nav-menu {
        display: none !important;
    }

    .hi-nav-inner {
        justify-content: space-between !important;
    }
}

/* Fullscreen Mobile Menu Overlay */
.hi-fullscreen-menu {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
}

.hi-fullscreen-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.hi-fullscreen-menu-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.hi-fullscreen-menu-container {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, #090f1d 0%, #0d1728 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 16px 18px 40px !important;
    transform: translateY(-16px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hi-fullscreen-menu.active .hi-fullscreen-menu-container {
    transform: translateY(0) !important;
}

body.hi-menu-open {
    overflow: hidden !important;
    touch-action: none !important;
}

/* Fullscreen Header */
.hi-fullscreen-menu-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-bottom: 16px !important;
}

.hi-fullscreen-logo-img {
    height: 32px !important;
    width: auto !important;
    display: block !important;
}

.hi-fullscreen-head-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.hi-fullscreen-close-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.hi-fullscreen-close-btn:hover, .hi-fullscreen-close-btn:active {
    background: #e11d48 !important;
    border-color: #e11d48 !important;
    transform: rotate(90deg) !important;
}

/* Fullscreen Search */
.hi-fullscreen-search {
    margin-bottom: 18px !important;
}

.hi-fullscreen-search-form {
    display: flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 12px !important;
    padding: 3px 5px 3px 12px !important;
    gap: 10px !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
}

.hi-fullscreen-search-form:focus-within {
    border-color: #38bdf8 !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.hi-fullscreen-search-icon {
    color: #94a3b8 !important;
    font-size: 14px !important;
}

.hi-fullscreen-search-input {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    padding: 8px 0 !important;
}

.hi-fullscreen-search-input::placeholder {
    color: #64748b !important;
}

.hi-fullscreen-search-submit {
    background: #e11d48 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.hi-fullscreen-search-submit:hover {
    background: #be123c !important;
}

/* Fullscreen Navigation Cards */
.hi-fullscreen-section-title {
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.hi-fullscreen-section-title::after {
    content: '' !important;
    flex: 1 !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.hi-fullscreen-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.hi-fullscreen-nav-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    color: #ffffff !important;
    transition: all 0.2s ease !important;
    position: relative !important;
}

.hi-fullscreen-nav-card:active, .hi-fullscreen-nav-card:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(225, 29, 72, 0.4) !important;
    transform: translateX(3px) !important;
}

.hi-fullscreen-nav-card.active {
    background: rgba(225, 29, 72, 0.15) !important;
    border-color: #e11d48 !important;
}

.hi-fullscreen-nav-card.highlight {
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
    border-color: rgba(244, 63, 94, 0.35) !important;
}

.hi-card-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    flex-shrink: 0 !important;
}

.icon-home { background: rgba(56, 189, 248, 0.15) !important; color: #38bdf8 !important; }
.icon-econ { background: rgba(16, 185, 129, 0.15) !important; color: #10b981 !important; }
.icon-cult { background: rgba(245, 158, 11, 0.15) !important; color: #f59e0b !important; }
.icon-show { background: rgba(236, 72, 153, 0.15) !important; color: #ec4899 !important; }
.icon-tv   { background: rgba(139, 92, 246, 0.15) !important; color: #8b5cf6 !important; }
.icon-music{ background: rgba(244, 63, 94, 0.15) !important; color: #f43f5e !important; }
.icon-sport{ background: rgba(6, 182, 212, 0.15) !important; color: #06b6d4 !important; }
.icon-guide{ background: rgba(99, 102, 241, 0.15) !important; color: #818cf8 !important; }
.icon-gastro{ background: rgba(249, 115, 22, 0.15) !important; color: #f97316 !important; }

.hi-card-meta {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.hi-card-name {
    font-size: 12.5px !important;
    font-weight: 800 !important;
    color: #f8fafc !important;
    letter-spacing: 0.3px !important;
    line-height: 1.2 !important;
}

.hi-card-sub {
    font-size: 11px !important;
    color: #94a3b8 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.hi-card-arrow {
    color: #64748b !important;
    font-size: 11px !important;
    margin-left: auto !important;
    transition: transform 0.2s, color 0.2s !important;
}

.hi-fullscreen-nav-card:hover .hi-card-arrow {
    color: #ffffff !important;
    transform: translateX(2px) !important;
}

.hi-card-badge-hot {
    background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    letter-spacing: 0.5px !important;
    margin-right: 6px !important;
}

/* Fullscreen Quick Links */
.hi-fullscreen-quick-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
}

.hi-quick-link-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
}

.hi-quick-link-btn.wa {
    background: rgba(34, 197, 94, 0.15) !important;
    border-color: rgba(34, 197, 94, 0.35) !important;
    color: #4ade80 !important;
}

.hi-quick-link-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

/* Fullscreen Socials & Note */
.hi-fullscreen-socials {
    text-align: center !important;
    margin-top: 24px !important;
}

.hi-fullscreen-socials-title {
    font-size: 11.5px !important;
    color: #94a3b8 !important;
    display: block !important;
    margin-bottom: 10px !important;
}

.hi-fullscreen-social-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}

.hi-fullscreen-social-icons a {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.hi-fullscreen-social-icons a:hover {
    background: #e11d48 !important;
    border-color: #e11d48 !important;
    transform: translateY(-2px) !important;
}

.hi-fullscreen-footer-note {
    text-align: center !important;
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin-top: 20px !important;
}

/* ==========================================================================
   SMARTPHONE APP BOTTOM NAVIGATION BAR
   ========================================================================== */
.hi-app-bottom-bar {
    display: none !important;
}

@media (max-width: 991px) {
    body {
        padding-bottom: calc(62px + env(safe-area-inset-bottom, 0)) !important;
    }

    .hi-app-bottom-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: calc(56px + env(safe-area-inset-bottom, 0)) !important;
        padding-bottom: env(safe-area-inset-bottom, 0) !important;
        background: rgba(9, 15, 29, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        z-index: 9900 !important;
    }

    .hi-app-tab {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        color: #94a3b8 !important;
        text-decoration: none !important;
        background: none !important;
        border: none !important;
        padding: 6px 0 !important;
        cursor: pointer !important;
        position: relative !important;
        height: 100% !important;
        transition: color 0.2s ease, transform 0.15s ease !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .hi-app-tab:active {
        transform: scale(0.92) !important;
    }

    .hi-app-tab-icon {
        font-size: 17px !important;
        height: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: transform 0.2s ease, color 0.2s ease !important;
    }

    .hi-app-tab-label {
        font-size: 9.5px !important;
        font-weight: 700 !important;
        letter-spacing: 0.2px !important;
        line-height: 1 !important;
    }

    .hi-app-tab.active {
        color: #ffffff !important;
    }

    .hi-app-tab.active .hi-app-tab-icon {
        color: #e11d48 !important;
        transform: translateY(-2px) !important;
    }

    .hi-app-tab.active .hi-app-tab-label {
        color: #ffffff !important;
        font-weight: 800 !important;
    }

    .hi-app-tab.active::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 26px !important;
        height: 3px !important;
        background: #e11d48 !important;
        border-radius: 0 0 4px 4px !important;
        box-shadow: 0 2px 8px rgba(225, 29, 72, 0.8) !important;
    }
}

/* ==========================================================================
   BREAKING NEWS TICKER
   ========================================================================== */
.hi-ticker-wrap {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0;
}

.hi-ticker-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hi-ticker-label {
    background-color: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 9px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.hi-ticker-pulse {
    width: 7px;
    height: 7px;
    background-color: #ffffff;
    border-radius: 50%;
    animation: hiPulse 1.5s infinite;
}

@keyframes hiPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.hi-ticker-content {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    color: #334155;
}

.hi-ticker-text strong {
    color: #0f172a;
}

/* ==========================================================================
   HERO SECTION: DISSOLVENZA (CROSS-FADE) CAROUSEL
   ========================================================================== */
.hi-hero-section {
    margin: 20px 0;
}

.hi-hero-slider {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    background-color: #0f172a;
}

/* Each slide occupies entire container, cross-fades with opacity */
.hi-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hi-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hi-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 6s ease-out;
}

.hi-hero-slide.active .hi-slide-img {
    transform: scale(1);
}

.hi-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.6) 50%, rgba(15,23,42,0.95) 100%);
}

.hi-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 40px;
    color: #ffffff;
    z-index: 3;
    max-width: 900px;
}

.hi-slide-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.hi-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 4px;
}

.badge-red { background-color: var(--primary); color: #fff; }
.badge-amber { background-color: var(--accent-amber); color: #0f172a; }
.badge-cyan { background-color: var(--accent-blue); color: #fff; }
.badge-emerald { background-color: var(--accent-emerald); color: #fff; }
.badge-dark { background-color: rgba(15,23,42,0.7); backdrop-filter: blur(4px); color: #e2e8f0; }

.hi-slide-title {
    font-family: var(--font-heading);
    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hi-slide-title a:hover {
    color: #fde047;
}

.hi-slide-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 18px;
    max-width: 820px;
}

.hi-slide-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12.5px;
    color: #94a3b8;
}

.hi-slide-btn {
    display: inline-block;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background-color 0.2s, transform 0.2s;
}

.hi-slide-btn:hover {
    background-color: var(--primary-dark);
    transform: translateX(2px);
    color: #ffffff;
}

/* Slider navigation arrows */
.hi-slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s, transform 0.2s;
}

.hi-slider-nav-btn:hover {
    background-color: var(--primary);
    transform: translateY(-50%) scale(1.08);
}

.hi-slider-prev { left: 16px; }
.hi-slider-next { right: 16px; }

/* Slider Dots */
.hi-hero-dots {
    position: absolute;
    bottom: 18px;
    right: 40px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hi-hero-dot {
    width: 28px;
    height: 5px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, width 0.3s;
}

.hi-hero-dot.active {
    background-color: var(--primary);
    width: 40px;
}

/* ==========================================================================
   SUBHERO 3-COLUMN HIGHLIGHTS
   ========================================================================== */
.hi-subhero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.hi-subhero-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hi-subhero-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
}

.hi-subhero-thumb {
    position: relative;
    height: 170px;
    overflow: hidden;
}

.hi-subhero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hi-subhero-card:hover .hi-subhero-thumb img {
    transform: scale(1.05);
}

.hi-card-badge-floating {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(15,23,42,0.8);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 4px;
}

.hi-subhero-body {
    padding: 16px;
}

.hi-subhero-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #0f172a;
}

.hi-subhero-title a:hover {
    color: var(--primary);
}

.hi-subhero-snip {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   LAYOUT 2-COLUMN: MAIN & SIDEBAR
   ========================================================================== */
.hi-layout-2col {
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.hi-section-block {
    margin-bottom: 36px;
}

.hi-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.hi-section-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hi-bar {
    width: 6px;
    height: 22px;
    border-radius: 3px;
    display: inline-block;
}

.hi-bar.red { background-color: var(--primary); }
.hi-bar.amber { background-color: var(--accent-amber); }
.hi-bar.emerald { background-color: var(--accent-emerald); }

.hi-section-viewall {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
}

.hi-section-viewall:hover {
    text-decoration: underline;
}

/* News Featured Row */
.hi-news-featured-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

.hi-lead-news-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-subtle);
}

.hi-lead-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.hi-lead-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hi-lead-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}

.hi-lead-body {
    padding: 18px;
}

.hi-lead-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 10px;
}

.hi-lead-title a:hover {
    color: var(--primary);
}

.hi-lead-text {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 12px;
}

.hi-post-meta {
    font-size: 12px;
    color: var(--text-light);
}

/* Sublist items */
.hi-lead-sublist {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hi-sublist-item {
    display: flex;
    gap: 12px;
    background-color: #ffffff;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s;
}

.hi-sublist-item:hover {
    transform: translateX(3px);
}

.hi-sublist-thumb {
    width: 90px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.hi-sublist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hi-sublist-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hi-sublist-cat {
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 3px;
}

.hi-sublist-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 4px;
}

.hi-sublist-title a:hover {
    color: var(--primary);
}

.hi-sublist-date {
    font-size: 11px;
    color: var(--text-light);
}

/* 3-Card Grid */
.hi-grid-3cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.hi-news-box {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
}

.hi-box-thumb {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.hi-box-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hi-news-box:hover .hi-box-thumb img {
    transform: scale(1.05);
}

.hi-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}

.hi-box-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hi-box-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.hi-box-title a:hover {
    color: var(--primary);
}

.hi-box-text {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}

.hi-box-meta {
    font-size: 11.5px;
    color: var(--text-light);
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

/* Horizontal card */
.hi-horizontal-card {
    display: flex;
    gap: 20px;
    background-color: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    padding: 18px;
    align-items: center;
}

.hi-horiz-img-box {
    width: 240px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.hi-horiz-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hi-horiz-content {
    flex: 1;
}

.hi-horiz-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    margin: 8px 0;
}

.hi-horiz-title a:hover {
    color: var(--primary);
}

.hi-horiz-text {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 10px;
}

/* ==========================================================================
   SIDEBAR WIDGETS
   ========================================================================== */
.hi-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hi-widget-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-subtle);
}

.hi-widget-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
}

/* Weather Widget */
.hi-weather-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.hi-weather-city {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.hi-weather-sub {
    font-size: 11.5px;
    color: #64748b;
}

.hi-weather-main-temp {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
}

.hi-weather-cities-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hi-weather-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #334155;
    padding: 4px 0;
}

.hi-w-val {
    font-weight: 700;
    color: #0f172a;
}

/* Quicklinks */
.hi-quicklink-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: background-color 0.2s, transform 0.2s;
}

.hi-quicklink-btn:hover {
    background-color: #f1f5f9;
    transform: translateX(3px);
}

.hi-ql-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    flex-shrink: 0;
}

.c-blue { background-color: #0284c7; }
.c-green { background-color: #10b981; }
.c-red { background-color: #e11d48; }

.hi-ql-text-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.hi-ql-text-sub {
    font-size: 11.5px;
    color: #64748b;
}

/* WhatsApp Card */
.hi-wa-card {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    color: #ffffff;
    border: none;
}

.hi-wa-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hi-wa-icon {
    font-size: 32px;
    color: #4ade80;
}

.hi-wa-title {
    font-size: 16px;
    font-weight: 800;
}

.hi-wa-status {
    font-size: 12px;
    color: #a7f3d0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hi-wa-online {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    animation: hiPulse 1.5s infinite;
}

.hi-wa-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #d1fae5;
    margin-bottom: 14px;
}

.hi-wa-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #22c55e;
    color: #ffffff;
    font-weight: 800;
    font-size: 13.5px;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background-color 0.2s, transform 0.2s;
}

.hi-wa-action-btn:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
    color: #ffffff;
}

/* Newsletter Widget */
.hi-newsletter-card {
    background-color: #f8fafc;
}

.hi-nl-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.hi-nl-icon {
    font-size: 26px;
    color: var(--primary);
}

.hi-nl-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.hi-nl-sub {
    font-size: 12px;
    color: #64748b;
}

.hi-nl-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hi-nl-input {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

.hi-nl-btn {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.hi-nl-btn:hover {
    background-color: var(--primary-dark);
}

/* Instagram widget */
.hi-insta-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.hi-insta-icon {
    font-size: 24px;
    color: #e1306c;
}

.hi-insta-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.hi-insta-handle {
    font-size: 12px;
    color: #64748b;
}

.hi-insta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.hi-insta-thumb {
    height: 85px;
    border-radius: 6px;
    overflow: hidden;
}

.hi-insta-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hi-insta-thumb:hover img {
    transform: scale(1.08);
}

.hi-insta-btn {
    display: block;
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.hi-insta-btn:hover {
    background-color: #f1f5f9;
}

/* Promo Banner */
.hi-promo-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 220px;
    box-shadow: var(--shadow-subtle);
}

.hi-promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hi-promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
}

.hi-promo-text {
    position: absolute;
    bottom: 50px;
    left: 16px;
    right: 16px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.hi-promo-btn {
    position: absolute;
    bottom: 14px;
    left: 16px;
    background-color: #ffffff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.hi-promo-btn:hover {
    background-color: var(--primary);
    color: #ffffff;
}

/* ==========================================================================
   RICH 4-COLUMN FOOTER
   ========================================================================== */
.hi-footer {
    background-color: #0b1120;
    color: #cbd5e1;
    border-top: 4px solid var(--primary);
    font-size: 13.5px;
    position: relative;
}

.hi-footer-main {
    padding: 60px 0 45px;
}

.hi-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr;
    gap: 40px;
}

.hi-footer-col {
    display: flex;
    flex-direction: column;
}

.hi-footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
}

.hi-footer-logo-img {
    height: 48px;
    width: auto;
}

.hi-footer-desc {
    font-size: 13px;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 16px;
}

.hi-footer-desc strong {
    color: #f1f5f9;
}

.hi-footer-reg {
    font-size: 11.5px;
    color: #64748b;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.hi-footer-social-row {
    display: flex;
    gap: 10px;
}

.hi-foot-soc-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #1e293b;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.hi-foot-soc-icon:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.hi-foot-soc-icon.wa:hover {
    background-color: #22c55e;
}

.hi-footer-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.hi-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--primary);
}

.hi-footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hi-footer-menu li a {
    color: #94a3b8;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, transform 0.2s;
}

.hi-footer-menu li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.hi-footer-menu li a i {
    font-size: 11px;
    color: var(--primary);
}

.hi-footer-contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #94a3b8;
}

.hi-footer-contact-info i {
    color: #38bdf8;
    margin-top: 3px;
}

.hi-footer-nl-box {
    margin-top: 14px;
    background-color: #1e293b;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #334155;
}

.hi-footer-nl-head {
    font-weight: 800;
    color: #ffffff;
    font-size: 13px;
}

.hi-footer-nl-form {
    display: flex;
    gap: 6px;
}

.hi-footer-nl-input {
    flex: 1;
    padding: 8px 12px;
    background-color: #0f172a;
    border: 1px solid #475569;
    border-radius: 6px;
    color: #ffffff;
    font-size: 12px;
    outline: none;
}

.hi-footer-nl-btn {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.hi-footer-nl-btn:hover {
    background-color: var(--primary-dark);
}

/* Middle Ribbon */
.hi-footer-middle {
    background-color: #070d18;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
    padding: 14px 0;
}

.hi-footer-middle-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.hi-footer-tagline-wrap {
    display: flex;
    align-items: center;
}

.hi-footer-motto {
    font-family: var(--font-heading);
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.hi-footer-flags-list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hi-foot-flag {
    width: 22px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}

.hi-foot-flag:hover {
    transform: translateY(-2px) scale(1.15);
}

/* Bottom Bar */
.hi-footer-bottom {
    background-color: #050912;
    padding: 16px 0;
    font-size: 12px;
    color: #64748b;
}

.hi-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.hi-footer-copyright strong {
    color: #94a3b8;
}

.hi-footer-legal-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hi-footer-legal-links a {
    color: #94a3b8;
    transition: color 0.2s;
}

.hi-footer-legal-links a:hover {
    color: #ffffff;
}

.hi-scroll-top-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: #1e293b;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background-color 0.2s, transform 0.2s;
}

.hi-scroll-top-btn:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   SINGLE ARTICLE STYLING
   ========================================================================== */
.hi-breadcrumb {
    font-size: 12.5px;
    color: #64748b;
    margin: 16px 0 20px;
}

.hi-breadcrumb a {
    color: #334155;
}

.hi-breadcrumb a:hover {
    color: var(--primary);
}

.hi-single-article {
    background-color: #ffffff;
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-subtle);
}

.hi-article-cat a {
    color: var(--primary);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hi-article-title {
    font-family: var(--font-heading);
    font-size: 34px;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
    margin: 10px 0 14px;
}

.hi-article-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.hi-article-featured-img {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.hi-article-featured-img img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.hi-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}

.hi-sh-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
}

.hi-sh-btn.fb { background-color: #1877f2; }
.hi-sh-btn.wa { background-color: #22c55e; }
.hi-sh-btn.tw { background-color: #0f172a; }

.hi-article-body {
    font-size: 16.5px;
    line-height: 1.8;
    color: #334155;
}

.hi-article-body p {
    margin-bottom: 18px;
}

.hi-article-body h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin: 28px 0 14px;
    color: #0f172a;
}

.hi-article-body h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin: 22px 0 12px;
    color: #0f172a;
}

.hi-article-tags {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
}

.hi-article-tags a {
    display: inline-block;
    background-color: #f1f5f9;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 3px;
    color: #475569;
}

.hi-article-tags a:hover {
    background-color: var(--primary);
    color: #fff;
}

.hi-article-source-box {
    margin-top: 24px;
    padding: 14px 18px;
    background-color: #f1f5f9;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    font-size: 13.5px;
    color: #475569;
}

.hi-article-source-box a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .hi-layout-2col {
        grid-template-columns: 1fr;
    }
    .hi-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .hi-news-featured-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hi-topbar-tagline {
        display: none;
    }
    .hi-header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hi-header-banner {
        display: none;
    }
    .hi-hero-slider {
        height: 380px;
    }
    .hi-slide-title {
        font-size: 22px;
    }
    .hi-slide-excerpt {
        display: none;
    }
    .hi-slide-content {
        padding: 20px;
    }
    .hi-subhero-grid {
        grid-template-columns: 1fr;
    }
    .hi-grid-3cards {
        grid-template-columns: 1fr;
    }
    .hi-horizontal-card {
        flex-direction: column;
    }
    .hi-horiz-img-box {
        width: 100%;
        height: 180px;
    }
    .hi-footer-grid {
        grid-template-columns: 1fr;
    }
    .hi-footer-middle-inner, .hi-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   LIVE CURRENCY EXCHANGE BAR (CAMBI VALUTA)
   ========================================================================== */
.hi-currency-bar {
    background: linear-gradient(90deg, #091224 0%, #0f1e36 100%);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    color: #ffffff;
    font-size: 13px;
    overflow: hidden;
    position: relative;
    padding: 7px 0;
}

.hi-currency-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hi-currency-badge {
    background: #0284c7;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    text-transform: uppercase;
    z-index: 2;
}

.hi-currency-live-dot {
    width: 7px;
    height: 7px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: hi-pulse-green 1.8s infinite;
}

@keyframes hi-pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Common Marquee Ticker Track Wrappers */
.hi-ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-width: 0;
    mask-image: linear-gradient(to right, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
}

.hi-ticker-track-inner {
    display: flex;
    width: max-content;
    will-change: transform;
}

.hi-ticker-track-wrap:hover .hi-ticker-track-inner {
    animation-play-state: paused;
}

.hi-marquee-currencies {
    animation: hi-marquee-scroll 65s linear infinite;
}

.hi-marquee-stocks {
    animation: hi-marquee-scroll 75s linear infinite;
}

.hi-marquee-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 12px;
    flex-shrink: 0;
}

@keyframes hi-marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hi-currency-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 9px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s, border-color 0.2s;
    font-size: 12px;
    white-space: nowrap;
}

.hi-currency-item:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
}

.hi-curr-flag {
    font-size: 14px;
}

.hi-curr-pair {
    font-weight: 700;
    color: #93c5fd;
}

.hi-curr-val {
    font-weight: 800;
    color: #f8fafc;
    font-family: 'SF Mono', Consolas, Menlo, Monaco, monospace;
    font-size: 12.5px;
}

.hi-curr-name {
    color: #94a3b8;
    font-size: 11px;
    margin-left: 2px;
}

.hi-currency-updated {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
}

/* ==========================================================================
   LIVE STOCK MARKET BAR (ANDAMENTO BORSE MONDIALI)
   ========================================================================== */
.hi-stock-bar {
    background: linear-gradient(90deg, #070d18 0%, #0d1728 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 12.5px;
    overflow: hidden;
    position: relative;
    padding: 6px 0;
}

.hi-stock-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hi-stock-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 3px 9px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    text-transform: uppercase;
    z-index: 2;
}

.hi-stock-live-dot {
    width: 7px;
    height: 7px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: hi-pulse-white 1.8s infinite;
}

@keyframes hi-pulse-white {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hi-stock-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    white-space: nowrap;
    transition: background-color 0.2s, border-color 0.2s;
}

.hi-stock-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.hi-stock-flag {
    font-size: 13px;
}

.hi-stock-region {
    font-size: 9.5px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 1px 4px;
    border-radius: 3px;
    letter-spacing: 0.3px;
}

.hi-stock-symbol {
    font-weight: 700;
    color: #e2e8f0;
}

.hi-stock-price {
    font-weight: 800;
    color: #f8fafc;
    font-family: 'SF Mono', Consolas, Menlo, Monaco, monospace;
    font-size: 12px;
}

.hi-stock-chg {
    font-weight: 700;
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.hi-stock-item.up .hi-stock-chg {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.15);
}

.hi-stock-item.down .hi-stock-chg {
    color: #f87171;
    background: rgba(239, 68, 68, 0.15);
}

.hi-stock-updated {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
}

@media (max-width: 640px) {
    .hi-currency-updated,
    .hi-stock-updated {
        display: none;
    }
}

/* ==========================================================================
   TV & CINEMA LATINO SECTION
   ========================================================================== */
.hi-tv-cinema-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hi-tv-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.hi-tv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.1);
}

.hi-tv-thumb-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #0f172a;
}

.hi-tv-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hi-tv-card:hover .hi-tv-thumb-wrap img {
    transform: scale(1.05);
}

.hi-tv-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 4px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.tv-badge-telenovela {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.tv-badge-series {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.tv-badge-film {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.hi-tv-rating {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hi-tv-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hi-tv-origin {
    font-size: 12px;
    font-weight: 600;
    color: #8b5cf6;
    margin-bottom: 6px;
    display: block;
}

.hi-tv-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 8px 0;
}

.hi-tv-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 14px 0;
    flex: 1;
}

.hi-tv-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.hi-tv-season {
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 4px;
    color: #475569;
}

@media (max-width: 640px) {
    .hi-tv-cinema-grid {
        grid-template-columns: 1fr;
    }
    .hi-currency-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
}

/* ==========================================================================
   RELATED ARTICLES ("POTREBBE INTERESSARTI ANCHE...")
   ========================================================================== */
.hi-related-posts-section {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px dashed #e2e8f0;
}

.hi-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hi-related-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.hi-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.hi-related-thumb-link {
    display: block;
    width: 100%;
    height: 130px;
    overflow: hidden;
    background: #0f172a;
}

.hi-related-thumb-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hi-related-card:hover .hi-related-thumb-link img {
    transform: scale(1.06);
}

.hi-related-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hi-related-cat {
    font-size: 10.5px;
    font-weight: 800;
    color: #e11d48;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.hi-related-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px 0;
    flex: 1;
}

.hi-related-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.hi-related-title a:hover {
    color: #e11d48;
}

.hi-related-date {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 640px) {
    .hi-related-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   TV & CINEMA TABS
   ========================================================================== */
.hi-tv-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hi-tv-tab {
    background: #f1f5f9;
    color: #475569;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hi-tv-tab:hover, .hi-tv-tab.active {
    background: #8b5cf6;
    color: #ffffff;
    border-color: #8b5cf6;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

/* ==========================================================================
   TOP 10 VIDEO MUSICALI LATINI
   ========================================================================== */
.hi-top10-hero {
    background: linear-gradient(135deg, #090e1a 0%, #1e1b4b 50%, #431407 100%);
    border-radius: 14px;
    padding: 32px 30px;
    margin-bottom: 30px;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
}

.hi-top10-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e11d48;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hi-top10-hero-title {
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 10px 0;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

.hi-top10-hero-sub {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 800px;
    margin: 0;
}

/* Embedded Main Video Player Box */
.hi-player-sticky-box {
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.1);
}

.hi-player-header {
    background: #1e293b;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hi-player-left-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hi-player-yt-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ff0000;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}

.hi-player-yt-link:hover {
    background: #cc0000;
    transform: translateY(-1px);
    color: #ffffff !important;
}

.hi-player-live-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.5px;
}

.hi-live-indicator {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: hi-pulse-red 1.5s infinite;
}

@keyframes hi-pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hi-player-now-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}

.hi-player-iframe-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000000;
}

.hi-player-iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hi-player-footer {
    background: #1e293b;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 10px;
}

.hi-player-footer strong {
    color: #ffffff;
}

/* Top 10 Track Items */
.hi-top10-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hi-top10-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.hi-top10-item:hover {
    border-color: #e11d48;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.08);
}

.hi-top10-item.active-playing {
    border-color: #e11d48;
    background: #fff1f2;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.12);
}

.hi-top10-rank {
    font-size: 24px;
    font-weight: 900;
    color: #cbd5e1;
    width: 44px;
    text-align: center;
    flex-shrink: 0;
    font-family: 'Playfair Display', serif;
}

.hi-top10-item:nth-child(1) .hi-top10-rank { color: #f59e0b; }
.hi-top10-item:nth-child(2) .hi-top10-rank { color: #94a3b8; }
.hi-top10-item:nth-child(3) .hi-top10-rank { color: #d97706; }

.hi-top10-thumb-link {
    position: relative;
    width: 130px;
    height: 78px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0f172a;
}

.hi-top10-thumb-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hi-top10-item:hover .hi-top10-thumb-link img {
    transform: scale(1.08);
}

.hi-top10-play-btn {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    transition: background 0.2s;
}

.hi-top10-item:hover .hi-top10-play-btn {
    background: rgba(225, 29, 72, 0.7);
}

.hi-top10-info {
    flex: 1;
    min-width: 0;
}

.hi-top10-meta-tags {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
}

.hi-top10-country {
    font-size: 11px;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 2px 7px;
    border-radius: 4px;
}

.hi-top10-genre {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.hi-top10-song-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hi-top10-song-artist {
    font-size: 13.5px;
    font-weight: 700;
    color: #e11d48;
    margin-bottom: 4px;
}

.hi-top10-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hi-top10-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.hi-top10-views {
    color: #94a3b8;
    font-size: 11.5px;
}

.hi-top10-play-action {
    background: #f1f5f9;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hi-top10-buttons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hi-top10-external-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background: #fee2e2;
    color: #dc2626;
    font-size: 13px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.hi-top10-external-link:hover {
    background: #dc2626;
    color: #ffffff;
}

.hi-top10-item:hover .hi-top10-play-action,
.hi-top10-item.active-playing .hi-top10-play-action {
    background: #e11d48;
    color: #ffffff;
}

@media (max-width: 768px) {
    .hi-top10-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .hi-top10-rank {
        width: auto;
    }
    .hi-top10-thumb-link {
        width: 100%;
        height: 160px;
    }
    .hi-top10-hero-title {
        font-size: 24px;
    }
}

/* ==========================================================================
   TV & CINEMA DETAILS MODAL
   ========================================================================== */
.hi-tv-card {
    cursor: pointer;
}

.hi-tv-thumb-wrap, .hi-tv-title {
    cursor: pointer;
}

.hi-tv-card:hover .hi-tv-title {
    color: #8b5cf6;
}

.hi-tv-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: hi-fade-in 0.25s ease;
}

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

.hi-tv-modal-dialog {
    background: #ffffff;
    border-radius: 16px;
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    animation: hi-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hi-slide-up {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.hi-tv-modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
}

.hi-tv-modal-close-btn:hover {
    background: #e11d48;
    transform: scale(1.1);
}

.hi-tv-modal-cover-wrap {
    position: relative;
    height: 300px;
    width: 100%;
    background: #0f172a;
    overflow: hidden;
}

.hi-tv-modal-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hi-tv-modal-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0f172a 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
}

.hi-tv-modal-badges {
    position: absolute;
    bottom: 16px;
    left: 24px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.hi-tv-modal-body {
    padding: 24px 28px;
    color: #334155;
}

.hi-tv-modal-title {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    font-family: 'Playfair Display', serif;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.hi-tv-modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 13px;
}

.hi-tv-modal-meta-item strong {
    display: block;
    color: #0f172a;
    font-size: 13.5px;
    margin-top: 2px;
}

.hi-tv-modal-meta-label {
    color: #64748b;
    font-size: 11.5px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hi-tv-modal-synopsis {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 22px;
}

.hi-tv-modal-details-box {
    border-top: 1px solid #e2e8f0;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
}

.hi-tv-modal-row {
    display: flex;
    gap: 10px;
}

.hi-tv-modal-row-label {
    font-weight: 700;
    color: #0f172a;
    min-width: 130px;
    flex-shrink: 0;
}

.hi-tv-modal-row-val {
    color: #475569;
}

.hi-tv-modal-footer {
    border-top: 1px solid #e2e8f0;
    margin-top: 24px;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.hi-tv-modal-cta {
    background: #8b5cf6;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.hi-tv-modal-cta:hover {
    background: #7c3aed;
}

@media (max-width: 640px) {
    .hi-tv-modal-meta-grid {
        grid-template-columns: 1fr;
    }
    .hi-tv-modal-row {
        flex-direction: column;
        gap: 2px;
    }
    .hi-tv-modal-cover-wrap {
        height: 200px;
    }
    .hi-tv-modal-title {
        font-size: 21px;
    }
}


﻿
/* ==========================================================================
   HOLAITALIA WOW EDITORIAL STYLESHEET (NEWSPAPER SUITE - MOBILE & DESKTOP)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700;8..60,800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --hi-navy: #10203d;
    --hi-red: #c8262c;
    --hi-paper: #f7f4ee;
    --hi-ink: #191919;
    --hi-sub: #4a4a4a;
    --hi-line: #d8d2c4;
}

.hi-article-body, .hi-editorial-prose {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--hi-ink);
}

.hi-article-body p, .hi-editorial-prose p {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--hi-ink);
    margin-bottom: 18px;
}

.hi-article-body p b, .hi-article-body p strong,
.hi-editorial-prose p b, .hi-editorial-prose p strong {
    font-weight: 700;
    color: var(--hi-navy);
}

/* Drop Cap (Capolettera grande sul primo paragrafo) */
.hi-article-body p:first-of-type::first-letter,
.hi-editorial-prose p:first-of-type::first-letter,
.hi-article-body p.hi-editorial-lead:first-of-type::first-letter,
.hi-editorial-prose p.hi-editorial-lead:first-of-type::first-letter {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 800;
    font-size: 54px;
    float: left;
    line-height: 0.85;
    padding: 6px 8px 0 0;
    color: var(--hi-red);
}

/* Editorial Dek (Sottotitolo autorevole) */
.hi-editorial-dek {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 18px;
    line-height: 1.5;
    color: var(--hi-sub);
    margin: 12px 0 22px 0;
    font-weight: 400;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hi-line);
}

/* Pullquote (Citazione d'impatto) */
.hi-article-body blockquote,
.hi-editorial-prose blockquote {
    border-left: 3px solid var(--hi-red);
    background: #fbeceb;
    padding: 16px 20px;
    margin: 22px 0;
    font-family: 'Source Serif 4', Georgia, serif;
    font-style: italic;
    font-size: 16.5px;
    line-height: 1.55;
    color: #5a2020;
    border-radius: 0 8px 8px 0;
}

/* Infobox con Punti Chiave a Step (.hi-editorial-box) */
.hi-editorial-box {
    margin: 24px 0;
    border: 1px solid var(--hi-line);
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.hi-editorial-box .hi-box-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #eef1f6;
    border-bottom: 1px solid var(--hi-line);
}
.hi-editorial-box .hi-box-head .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--hi-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.hi-editorial-box .hi-box-head h3 {
    font-family: 'Inter', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: var(--hi-navy) !important;
    margin: 0 !important;
    letter-spacing: 0.2px;
}
.hi-editorial-box .hi-steps {
    padding: 14px 18px;
}
.hi-editorial-box .hi-step {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.48;
    color: var(--hi-ink);
    border-bottom: 1px dashed rgba(216, 210, 196, 0.6);
}
.hi-editorial-box .hi-step:last-child {
    border-bottom: none;
}
.hi-editorial-box .hi-step .n {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--hi-navy);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

/* WIDGET STATISTICO & GRAFICI WOW (.hi-stat-widget) */
.hi-stat-widget {
    background: #ffffff;
    border: 1px solid var(--hi-line);
    border-radius: 12px;
    padding: 20px;
    margin: 26px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.hi-stat-widget-header {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--hi-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hi-line);
}
.hi-stat-widget-header i {
    color: var(--hi-red);
}
.hi-stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.hi-stat-card {
    background: var(--hi-paper);
    border: 1px solid var(--hi-line);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hi-stat-card .hi-stat-num {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--hi-navy);
    line-height: 1.1;
}
.hi-stat-card .hi-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: var(--hi-sub);
    font-weight: 500;
}
.hi-stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    margin-top: 6px;
    align-self: flex-start;
}
.hi-stat-trend.up {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.hi-stat-trend.down {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.hi-stat-trend.neutral {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Grafici a Barre di Confronto Orizzontali (.hi-stat-bars) */
.hi-stat-bars {
    background: #fdfdfc;
    border: 1px solid var(--hi-line);
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hi-bar-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.hi-bar-meta {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: var(--hi-ink);
}
.hi-bar-meta strong {
    font-weight: 800;
    color: var(--hi-navy);
}
.hi-bar-track {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}
.hi-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.8s ease-in-out;
}
.hi-bar-fill.fill-up {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}
.hi-bar-fill.fill-down {
    background: linear-gradient(90deg, #f87171 0%, #dc2626 100%);
}
.hi-bar-fill.fill-neutral {
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
}

/* Box Istituzionale / Avviso Utile (.hi-editorial-warn) */
.hi-editorial-warn {
    background: var(--hi-navy);
    color: #ffffff;
    border-radius: 10px;
    padding: 18px 20px;
    margin: 24px 0;
}
.hi-editorial-warn h3 {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 0 8px 0 !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hi-editorial-warn h3 span {
    color: #f87171;
}
.hi-editorial-warn p {
    font-family: 'Inter', sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: #d6dbe6 !important;
    margin: 0 0 14px 0 !important;
}
.hi-editorial-warn .hi-emergency {
    background: var(--hi-red);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
}
.hi-editorial-warn .hi-emergency .num {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .hi-stat-cards {
        grid-template-columns: 1fr;
    }
    .hi-article-body, .hi-editorial-prose {
        font-size: 16px;
    }
    .hi-article-body p:first-of-type::first-letter,
    .hi-editorial-prose p:first-of-type::first-letter {
        font-size: 46px;
        padding: 4px 6px 0 0;
    }
}

/* ===== FRAUNCES + INTER EDITORIAL WOW NEWSPAPER STYLE ===== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,800;0,9..144,900;1,9..144,500&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0c1830;
  --navy-2: #162545;
  --alarm: #c81f2b;
  --gold: #c79a3d;
  --paper: #f6f1e6;
  --paper-2: #efe8d8;
  --ink: #181a1f;
  --muted: #5c5f6b;
  --line: #ded4bd;

  /* Aliases */
  --hi-navy: #0c1830;
  --hi-red: #c81f2b;
  --hi-paper: #f6f1e6;
  --hi-ink: #181a1f;
  --hi-sub: #5c5f6b;
  --hi-line: #ded4bd;
}

/* Masthead */
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 24px 36px 18px;
  border-bottom: 3px solid var(--navy);
  background: var(--paper);
}
.logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: 34px;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.logo em {
  font-style: normal;
  color: var(--alarm);
}
.rubric {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
}
.masthead .date {
  text-align: right;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
}

/* Headline & Dek */
.headline-block {
  padding: 32px 36px 8px;
  background: var(--paper);
}
h1, .hi-article-title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-weight: 800 !important;
  font-size: 44px !important;
  line-height: 1.1 !important;
  color: var(--navy) !important;
  letter-spacing: -0.5px !important;
}
.dek, .hi-editorial-dek {
  font-family: 'Fraunces', Georgia, serif !important;
  font-weight: 400 !important;
  font-style: italic !important;
  font-size: 19px !important;
  line-height: 1.55 !important;
  color: var(--muted) !important;
  margin-top: 14px !important;
  max-width: 700px;
}

/* Stat Strip (Horizontal KPI & Numbers) */
.stat-strip {
  display: flex;
  gap: 0;
  margin: 24px 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.stat {
  flex: 1;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border-right: none;
}
.stat .num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--alarm);
  line-height: 1;
}
.stat .lbl {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: .2px;
}

/* Content Grid: Main Column (2-Cols) + Sidebar */
.hi-article-body {
  display: block !important;
  columns: unset !important;
  column-count: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.content {
  display: grid !important;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) !important;
  background: var(--paper) !important;
  border-top: 1px solid var(--line) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.main-col {
  min-width: 0 !important;
  padding: 32px 36px 48px !important;
  border-right: 1px solid var(--line) !important;
  box-sizing: border-box !important;
}
.article {
  columns: 2 !important;
  column-gap: 36px !important;
  font-family: 'Fraunces', Georgia, serif !important;
  color: var(--ink) !important;
  min-width: 0 !important;
}
.article p {
  font-family: 'Fraunces', Georgia, serif !important;
  font-weight: 400 !important;
  font-size: 16.5px !important;
  line-height: 1.66 !important;
  color: var(--ink) !important;
  margin-bottom: 16px !important;
  break-inside: avoid !important;
}
.article p:first-of-type::first-letter,
.article p.hi-editorial-lead:first-of-type::first-letter {
  font-family: 'Fraunces', Georgia, serif !important;
  font-weight: 900 !important;
  font-size: 64px !important;
  float: left !important;
  line-height: .8 !important;
  padding: 6px 8px 0 0 !important;
  color: var(--navy) !important;
}
.article b,
.article strong {
  font-weight: 700 !important;
  color: var(--navy) !important;
}

/* Pullquote */
.pullquote {
  column-span: all !important;
  margin: 12px 0 24px !important;
  padding: 22px 0 !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  border-left: none !important;
  background: transparent !important;
  font-family: 'Fraunces', Georgia, serif !important;
  font-style: italic !important;
  font-weight: 500 !important;
  font-size: 24px !important;
  line-height: 1.35 !important;
  color: var(--navy) !important;
  border-radius: 0 !important;
}
.pullquote span {
  color: var(--alarm) !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

/* Sidebar: Timeline & Callout */
.sidebar {
  padding: 32px 28px 40px;
  background: #faf7f0;
}
.side-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--navy);
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--navy);
  text-transform: uppercase;
}
.timeline {
  position: relative;
  padding-left: 2px;
  margin-bottom: 32px;
}
.tl-item {
  position: relative;
  display: flex;
  gap: 14px;
  padding-bottom: 24px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: -2px;
  width: 1.5px;
  background: var(--line);
}
.tl-item:last-child::before {
  display: none;
}
.tl-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 1;
}
.tl-icon i, .tl-icon svg {
  color: #fff;
  font-size: 13px;
}
.tl-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  padding-top: 4px;
}
.tl-text b, .tl-text strong {
  color: var(--navy);
  font-weight: 700;
}

/* Callout & SOS Box */
.callout {
  background: var(--navy);
  color: #fff;
  padding: 24px;
  border-radius: 4px;
}
.callout h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 10px;
  color: #fff;
}
.callout h3 em {
  color: var(--gold);
  font-style: normal;
}
.callout p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  color: #c3cadf;
  margin-bottom: 18px;
}
.sos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--alarm);
  padding: 12px 16px;
  border-radius: 4px;
  color: #fff;
}
.sos .label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}
.sos .number {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  color: #fff;
}

/* Footer Strip */
.footer-strip {
  background: var(--navy);
  color: #fff;
  padding: 22px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 3px solid var(--gold);
}
.footer-strip .slogan {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  color: #fff;
}
.footer-strip .sub {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: #9aa5c2;
  margin-top: 3px;
}

/* Backward compatibility for older generated components */
.hi-editorial-box {
  margin: 22px 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.hi-editorial-box .hi-box-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.hi-editorial-box .hi-box-head .icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.hi-editorial-box .hi-box-head h3 {
  font-family: 'Inter', sans-serif !important; font-size: 13.5px !important; font-weight: 700 !important; color: var(--navy) !important;
}
.hi-editorial-box .hi-steps { padding: 12px 16px; }
.hi-editorial-box .hi-step {
  display: flex; gap: 10px; padding: 8px 0; font-family: 'Inter', sans-serif; font-size: 13.5px; line-height: 1.45; color: var(--ink); border-bottom: 1px dashed var(--line);
}
.hi-editorial-box .hi-step:last-child { border-bottom: none; }
.hi-editorial-box .hi-step .n {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

.hi-stat-widget {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 22px 0;
}
.hi-stat-widget-header {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--alarm);
  padding-bottom: 6px;
}
.hi-stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.hi-stat-card {
  background: #fbf9f4;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  text-align: center;
}
.hi-stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--alarm);
  line-height: 1;
  margin-bottom: 4px;
}
.hi-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}
.hi-stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  margin-top: 6px;
}
.hi-stat-trend.up { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.hi-stat-trend.down { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* WOW Broadsheet Layout (Full-width 1200px when article has WOW layout) */
html, body {
  overflow-x: clip !important;
  max-width: 100vw !important;
}
.hi-layout-2col.hi-single-has-wow {
  display: block !important;
  max-width: 1200px !important;
  margin: 0 auto 50px !important;
  width: 100% !important;
}
.hi-layout-2col.hi-single-has-wow .hi-content-col {
  width: 100% !important;
  max-width: 1200px !important;
}
.hi-layout-2col.hi-single-has-wow .hi-sidebar-col {
  display: none !important;
}

/* Responsive (Mobile <= 900px) */
@media (max-width: 900px) {
  .content {
    grid-template-columns: 1fr !important;
  }
  .main-col {
    border-right: none !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 24px 18px !important;
  }
  .article {
    columns: 1 !important;
  }
  .sidebar {
    padding: 24px 18px !important;
  }
  h1, .hi-article-title {
    font-size: 32px !important;
  }
  .stat-strip {
    flex-wrap: wrap !important;
  }
  .stat {
    flex: 1 1 50% !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 14px 16px !important;
  }
  .pullquote {
    font-size: 20px !important;
  }
  .masthead {
    padding: 20px 18px 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .masthead .date {
    text-align: left !important;
  }
  .headline-block {
    padding: 24px 18px 8px !important;
  }
  .footer-strip {
    padding: 20px 18px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
}

/* Grid 8 Card In Primo Piano & Sidebar Ultimi Articoli */
.hi-lead-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}
@media (max-width: 900px) {
    .hi-lead-bottom-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 520px) {
    .hi-lead-bottom-grid {
        grid-template-columns: 1fr !important;
    }
}
.hi-latest-sidebar-card .hi-latest-sb-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.hi-latest-sidebar-card .hi-latest-sb-item:hover h4 a {
    color: #e11d48 !important;
}
.hi-latest-sidebar-card .hi-latest-sb-item:hover img {
    transform: scale(1.06);
}
.hi-latest-sidebar-card img {
    transition: transform 0.25s ease;
}

/* MOBILE SINGLE ARTICLE OPTIMIZATION - Eliminazione spazi laterali vuoti */
@media (max-width: 900px) {
  .hi-container {
    padding: 0 8px !important;
  }
  .hi-main-content {
    padding: 6px 0 20px !important;
  }
  .hi-breadcrumb {
    margin: 6px 4px 10px !important;
    font-size: 11.5px !important;
  }
  .hi-single-article {
    padding: 16px 12px !important;
    border-radius: 10px !important;
  }
  .hi-single-has-wow .hi-single-article {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .hi-article-body {
    font-size: 17px !important;
    line-height: 1.65 !important;
  }
}

@media (max-width: 480px) {
  .hi-container {
    padding: 0 4px !important;
  }
  .hi-single-article {
    padding: 12px 8px !important;
  }
  .hi-single-has-wow .hi-single-article {
    padding: 0 !important;
  }
}
