/* =========================================================
   GLOBAL VARIABLES & RESET
   ========================================================= */
:root {
    --sa-brand-red: #8b1528; 
    --sa-blue-primary: #0d6efd; 
    --sa-blue-dark: #0a2e5c;
    --sa-brand-green: #0a5c36;
    --sa-green-success: #157347; 
    --sa-blue-gradient: linear-gradient(135deg, #0a2e5c 0%, #154582 100%);
}

body { 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    font-family: 'Poppins', sans-serif !important; 
    color: #333333;
    overflow-x: hidden; 
}
main { flex: 1; }

/* =========================================================
   SA SICUREZZA: DESIGN SYSTEM - CTA & BADGES
   ========================================================= */

/* Base per tutti i pulsanti d'azione (Pillola, Ombra, Transizione) */
.btn-sa-cta, .btn-sa-online, .btn-sa-success, .btn-sa-aula {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.6rem 1.25rem !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none !important;
    color: #ffffff !important;
    text-decoration: none !important;
    cursor: pointer;
}

.btn-sa-cta:hover, .btn-sa-online:hover, .btn-sa-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    color: #ffffff !important;
}

/* 1. Inizia subito (ROSSO) */
.btn-sa-online { background-color: var(--sa-brand-red) !important; }
.btn-sa-online:hover { background-color: #a61a31 !important; }

/* 2. Scegli una data / Iscriviti (VERDE SUCCESS) */
.btn-sa-success { background-color: var(--sa-green-success) !important; }
.btn-sa-success:hover { background-color: #1e965f !important; }

/* Tabella Prezzi: compattezza pulsanti per evitare che vadano a capo */
.prezzi-table td[data-label="Azione"] .btn-sa-cta,
.prezzi-table td[data-label="Azione"] .btn-sa-online,
.prezzi-table td[data-label="Azione"] .btn-sa-success,
.prezzi-table td[data-label="Azione"] .btn-sa-aula {
    padding: 0.4rem 0.85rem !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
}


/* BADGE MODALITÀ NELLA TABELLA PREZZI */
.badge-sa-online {
    background-color: var(--sa-brand-red) !important;
    color: #ffffff !important;
    font-weight: 400 !important;
}
.badge-sa-aula {
    background-color: var(--sa-green-success) !important;
    color: #ffffff !important;
    font-weight: 400 !important;
}

/* STILE NOTE SOTTO IL NOME DEL CORSO */
.row-note {
    display: block;
    font-size: 0.8rem !important;
    font-style: italic !important;
    color: #6c757d !important;
    font-weight: 400 !important;
    margin-top: 2px;
}

/* 3. Badge Prezzo "A partire da" (BIANCO) */
.price-badge-pill {
    background-color: #ffffff !important;
    color: var(--sa-brand-red) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

h1, .h1 { color: var(--sa-brand-red); font-weight: 800; }
h2, .h2 { color: var(--sa-blue-dark); font-weight: 700; }
h3, .h3 { color: var(--sa-blue-dark); font-weight: 600; }

.text-sa-red { color: var(--sa-brand-red) !important; }
.btn-sa-red { background-color: var(--sa-brand-red); color: #ffffff !important; border: none; transition: all 0.3s ease; }
.btn-sa-red:hover { background-color: #6a101e !important; color: #ffffff !important; transform: translateY(-2px); }

/* =========================================================
   NAVIGATION / DROPDOWNS
   ========================================================= */
/* --- STILI BASE LINK TENDINE --- */
.dropdown-toggle::after { display: none !important; }

.dropdown-item {
    padding: 10px 18px !important;
    white-space: normal !important; 
    word-wrap: break-word;
    line-height: 1.4;
    text-align: left !important;
}

.title-ultra {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.glass-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Content Block Cards */
.content-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.03);
}

/* Intro Block 2-Columns */
.intro-block {
    /* Inherits from .content-card if applied together */
}

/* Modern FAQ Accordion */
.faq-modern .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.faq-modern .accordion-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.faq-modern .accordion-button {
    padding: 22px 25px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--sa-blue-dark);
    background: #ffffff;
}

.faq-modern .accordion-button:not(.collapsed) {
    background: #f8fbff;
    color: var(--sa-brand-red);
    box-shadow: none;
}

.faq-modern .accordion-button::after {
    background-size: 1.25rem;
}

.faq-modern .accordion-body {
    padding: 25px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    background: #f8fbff;
}

/* Program Block */
.programma-box {
    background: #fdfdfd;
    border-left: 5px solid var(--sa-brand-red);
    padding: 30px;
    border-radius: 0 20px 20px 0;
}

/* Utils */
.text-sa-blue { color: var(--sa-blue-dark) !important; }
.btn-sa-blue { background-color: var(--sa-blue-dark); color: #fff; border: none; }
.btn-sa-blue:hover { background-color: #0d6efd; color: #fff; }


.toggle-sub i.bi-chevron-right { transition: transform 0.3s ease; }


/* =========================================================
   VERSIONE DESKTOP (Schermi grandi)
   ========================================================= */
@media (min-width: 992px) {
    .dropdown-menu {
        border-radius: 8px;
        padding: 8px 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
        border: 1px solid rgba(0,0,0,0.05);
        margin-top: 0;
        position: absolute; 
    }

    .dropdown-submenu-container { position: static !important; }

    /* LARGHEZZE AUMENTATE PER EVITARE TESTI STRETTI */
    .livello-1-menu { background-color: #ffffff; min-width: 260px; } 
    .livello-1-link { font-size: 1.05rem; font-weight: 600; color: var(--sa-blue-dark) !important; border-bottom: 1px solid #f1f1f1;}
    
    .livello-2-menu { background-color: #f8f9fa !important; min-width: 300px; border: 1px solid #e9ecef;} /* Portato a 300px */
    .livello-2-link { font-size: 0.95rem; font-weight: 500; color: var(--sa-blue-dark) !important; border-bottom: 1px solid #e9ecef; }
    
    .livello-3-menu { 
        background-color: #ffffff !important; 
        min-width: 450px; 
        border-left: 4px solid var(--sa-brand-red) !important; 
        border-right: none !important;
        /* MODIFICA QUI: 20px di padding a destra (Top Right Bottom Left) */
        padding: 10px 20px 10px 0 !important; 
        box-shadow: 8px 12px 30px rgba(0,0,0,0.18) !important; 
    }
    
    .livello-3-menu.menu-due-colonne {
        min-width: 620px; 
        column-count: 2; 
        column-gap: 15px;
        /* MODIFICA QUI: 25px di padding a destra per proteggere le colonne */
        padding: 10px 25px 10px 10px !important;
    }

    .livello-3-menu > li { break-inside: avoid; page-break-inside: avoid; }
    .livello-3-menu > li:first-child { column-span: all; margin-bottom: 5px; }
    .livello-3-link { border-bottom: 1px solid #f1f3f5; margin: 0 10px; padding: 10px !important; }
    .livello-3-menu > li:last-child .livello-3-link { border-bottom: none; }
    .livello-3-link:hover { background-color: #fff5f6; color: var(--sa-brand-red) !important; }

    .dropdown-menu .dropdown-submenu {
        display: none; 
        position: absolute;
        left: 100%;       
        right: auto; 
        top: -1px; 
        min-height: 100%; 
    }
    .dropdown-menu .dropdown-submenu.show { display: block !important; }

    .dropdown-submenu-container:has(> .dropdown-submenu.show) > a.toggle-sub,
    .dropdown-submenu-container:hover > a.toggle-sub {
        background-color: rgba(139, 21, 40, 0.08) !important;
        color: var(--sa-brand-red) !important;
        font-weight: 700 !important;
        border-left: 3px solid var(--sa-brand-red); 
    }
}


/* =========================================================
   VERSIONE MOBILE: ACCORDION A GRADAZIONI DI COLORE
   ========================================================= */
@media (max-width: 991px) {
    .navbar .dropdown-menu {
        border: none !important;
        box-shadow: none !important;
        padding: 0;
        margin: 0;
    }

    .dropdown-submenu-container { position: relative; }
    .dropdown-submenu { display: none; margin-bottom: 5px; }
    
    .dropdown-submenu.show {
        display: block !important;
        position: static !important; 
    }

    /* 1° LIVELLO: BIANCO PURO */
    .livello-1-menu {
        background-color: #ffffff !important;
    }

    /* 2° LIVELLO: GRIGIO CHIARISSIMO */
    .livello-2-menu { 
        background-color: #f8f9fa !important; 
        padding-left: 10px; 
        border-left: 2px solid #ced4da !important; 
        margin-top: 5px;
        border-radius: 4px;
    }
    
    /* 3° LIVELLO: GRIGIO UN PO' PIÙ SCURO PER PROFONDITÀ */
    .livello-3-menu { 
        background-color: #eef1f4 !important; 
        padding-left: 10px; 
        border-left: 2px solid var(--sa-brand-red) !important; 
        margin-top: 5px;
        border-radius: 4px;
        padding-bottom: 5px;
    }

    .livello-1-link { font-weight: 700; color: var(--sa-blue-dark) !important; padding: 12px 15px !important; border-bottom: 1px solid #f1f1f1;}
    .livello-2-link { font-weight: 600; color: #444 !important; padding: 10px 15px !important; border-bottom: 1px dashed #e9ecef;}
    .livello-3-link { font-size: 0.95rem; padding: 10px 15px !important; color: #555 !important; border-bottom: 1px solid #dee2e6;}

    .dropdown-submenu-container:has(> .dropdown-submenu.show) > a.toggle-sub > i.bi-chevron-right {
        transform: rotate(90deg);
    }
    
    .dropdown-submenu-container:has(> .dropdown-submenu.show) > a.toggle-sub {
        color: var(--sa-brand-red) !important;
    }

    .livello-3-menu.menu-due-colonne { column-count: 1; min-width: 100%; padding-right: 15px;}
    .livello-3-menu > li:first-child { display: none; }
}

/* =========================================================
   PAGE SPECIFIC: COURSE PAGE / MODERN DESIGN
   ========================================================= */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

.hero-ultra {
    position: relative;
    background-color: #0a2e5c; /* Blue color */
    padding: 1rem 0 4rem 0 !important; 
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%); 
    overflow: hidden;
    z-index: 1;
}

.hero-ultra-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25; /* Image visibility */
    z-index: -1;
    filter: grayscale(60%) brightness(0.7);
}

.hero-ultra::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 46, 92, 0.9) 0%, rgba(17, 61, 122, 0.7) 100%);
    z-index: 0;
}

.hero-ultra .container-fluid {
    position: relative;
    z-index: 2;
}

.title-ultra {
    font-size: clamp(2rem, 5vw, 3.5rem); 
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff !important;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.glass-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sidebar Ultra */
.sidebar-ultra {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: -120px; 
    position: relative !important; /* Not sticky, not following scroll */
    z-index: 100 !important;
}

/* =========================================================
   PREZZI ACCORDION (FISARMONICA)
   ========================================================= */
.prezzi-accordion .accordion-item {
    background: transparent;
    border-radius: 16px !important;
}

.prezzi-card-titolo {
    padding: 22px 25px !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    color: var(--sa-blue-dark) !important;
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important;
}

.prezzi-card-titolo:not(.collapsed) {
    background: #f8fbff !important;
    color: var(--sa-brand-red) !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

.prezzi-accordion .accordion-collapse {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    overflow: hidden;
}

/* Spaziatura e stile righe Tabella Prezzi */
.prezzi-table tbody td {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
    vertical-align: middle;
}
.prezzi-table tbody tr {
    transition: background-color 0.2s ease;
}
.prezzi-table tbody tr:hover {
    background-color: rgba(10, 46, 92, 0.02);
}

/* =========================================================
   CAROUSEL & REVIEWS OVERFLOW FIX (MOBILE SAFETY)
   ========================================================= */
.reviews-section, 
.reviews-carousel, 
.google-reviews-carousel,
.slick-list, 
.owl-stage-outer {
    max-width: 100% !important;
    overflow: hidden !important;
}

/* =========================================================
   MOBILE & TABLET OPTIMIZATION
   ========================================================= */
@media (max-width: 991px) {
    body {
        overflow-x: hidden; /* Sicurezza extra contro scroll orizzontale */
    }
    .content-card {
        padding: 20px !important;
        margin-bottom: 1.5rem !important;
        border-radius: 16px !important;
    }
    .sidebar-ultra {
        margin-top: 20px !important;
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }
    .hero-ultra {
        clip-path: none !important; /* Rimuoviamo il taglio diagonale su mobile per pulizia */
        padding: 2.5rem 0 !important;
    }
    .title-ultra {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        word-break: break-word; /* Evita che titoli lunghi escano dallo schermo */
    }
}

.course-meta-box {
    background-color: #f8f9fa !important;
    border-left-color: var(--sa-brand-red) !important;
}
.course-meta-box h4 { color: var(--sa-blue-dark); }

/* Content Blocks Styling */
.content-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    margin-bottom: 3rem;
    border: 1px solid rgba(0,0,0,0.02);
}
/* Rich Text Image Alignment - Force override .prose and other defaults */
.rich-text-content img.left,
.rich-text-content .richtext-image.left,
.rich-text-content div.left,
.rich-text-content p.left {
    float: left !important;
    margin: 0 2rem 1.5rem 0 !important;
    max-width: 45% !important;
    display: inline-block !important;
    height: auto !important;
}

.rich-text-content img.right,
.rich-text-content .richtext-image.right,
.rich-text-content div.right,
.rich-text-content p.right {
    float: right !important;
    margin: 0 0 1.5rem 2rem !important;
    max-width: 45% !important;
    display: inline-block !important;
}

/* Clear separator for both frontend and editor */
.rich-text-content hr, .block-rich_text hr {
    clear: both !important;
    border: none !important;
    height: 1px !important;
    margin: 1.5rem 0 !important;
    visibility: hidden !important;
    display: block !important;
}

/* Specific override for Tailwind Typography 'prose' */
.prose .richtext-image.left, .prose img.left {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}

.prose .richtext-image.right, .prose img.right {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}

.rich-text-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Forza il testo ad andare sotto se si inserisce un separatore (HR) */
.rich-text-content hr {
    clear: both !important;
    border: none !important;
    height: 0 !important;
    margin: 1rem 0 !important;
    visibility: hidden !important;
}

@media (max-width: 767px) {
    .rich-text-content img.left,
    .rich-text-content img.right,
    .rich-text-content .richtext-image.left,
    .rich-text-content .richtext-image.right,
    .rich-text-content div.left,
    .rich-text-content div.right {
        float: none !important;
        display: block !important;
        margin: 1.5rem auto !important;
        max-width: 100% !important;
    }
}
.intro-block { /* Specific for intro if needed */ }

/* Modern FAQ Accordion */
.faq-modern .accordion-item {
    border: none;
    margin-bottom: 8px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.faq-modern .accordion-button {
    padding: 12px 20px;
    font-weight: 700;
    color: #0a2e5c;
    background: #fff;
    font-size: 1rem;
}
.faq-modern .accordion-button:not(.collapsed) {
    background: #f8fbff;
    color: #8b1528;
    box-shadow: none;
}
.faq-modern .accordion-body {
    padding: 15px 20px;
    background: #f8fbff;
    color: #444;
    font-size: 0.95rem;
}

.programma-box {
    background: #fdfdfd;
    border-left: 5px solid #8b1528;
    padding: 30px;
    border-radius: 0 20px 20px 0;
}

@media (max-width: 991px) {
    .sidebar-ultra { margin-top: 2rem; position: static !important; }
    .hero-ultra { padding-bottom: 5rem !important; clip-path: polygon(0 0, 100% 0, 100% 96%, 0% 100%); }
    .title-ultra { font-size: 2.2rem; }
}

.content-pro p, .content-pro ul li {
    font-size: 1.15rem; 
    line-height: 1.8; 
    color: #495057; 
    margin-bottom: 1.2rem;
}
.content-pro h2 { font-size: 2rem; font-weight: 800; color: #212529; margin: 0 0 1rem 0; }
.content-pro h3 { font-size: 1.5rem; font-weight: 700; color: #212529; margin: 2rem 0 1rem 0; }

.table-minimal tbody tr { border-bottom: 1px solid #f1f3f5; transition: background-color 0.2s; }
.table-minimal tbody tr:hover { background-color: #f8f9fa; }
.table-minimal tbody td { padding: 1.5rem 0.5rem; vertical-align: middle; }
.table-minimal thead th { color: #6c757d; font-size: 0.85rem; padding-bottom: 1rem; border-bottom: 2px solid #e9ecef; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;}

/* FORMATTAZIONE PROGRAMMA GESTIONALE MIGLIORATA */
.modulo-card { border-left: 5px solid var(--sa-brand-red); transition: all 0.3s ease; }
.modulo-card:hover { transform: translateX(5px); }
.programma-testo { color: #495057; font-size: 1.05rem; line-height: 1.7; }
.programma-testo ul { padding-left: 1.2rem; list-style-type: disc; margin-top: 1rem; }
.programma-testo li { margin-bottom: 0.5rem; }

/* =========================================================
   COMPONENTS: CARD GRID
   ========================================================= */
.hover-card-premium {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}

/* =========================================================
   COMPONENTS: HERO CORSIDIA
   ========================================================= */
.hero-title {
    color: #ffffff !important; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-subtitle {
    color: #ffffff !important; 
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* =========================================================
   COMPONENTS: GENERIC BLOCKS
   ========================================================= */
.blocco-immagine { margin-bottom: 2rem; }
.blocco-immagine img { max-width: 100%; height: auto; }
.blocco-immagine-caption { color: gray; font-size: 0.9em; font-style: italic; }

.blocco-testo { margin-bottom: 2rem; }

/* =========================================================
   UTILITIES
   ========================================================= */
.text-sa-dark { color: var(--sa-blue-dark) !important; }
.icon-large { font-size: 3rem; }

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

.livello-3-menu {
    /* Rimuoviamo la larghezza minima per allinearlo agli altri menu */
}

.livello-3-menu.menu-due-colonne {
    /* Rimuoviamo il layout a due colonne in modo forzato */
    width: auto !important;
    columns: 1 !important;
}

.livello-3-link span {
    font-size: 0.9rem; /* Riduciamo il font */
    font-weight: 400; /* Lo rendiamo meno bold */
}

/* =========================================================
   COURSE PAGE ENHANCEMENTS (FIXED LAYOUT)
   ========================================================= */

.course-meta-box {
    background-color: #f8f9fa !important;
    border-left-color: var(--sa-brand-red) !important;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
}

.course-meta-box h4 {
    color: var(--sa-blue-dark) !important;
}.prezzi-table td[data-label="Corso"] { width: 60%; }

/* =========================================================
   VIDEO EMBED RESPONSIVE (RATIO FALLBACK)
   ========================================================= */
.video-embed-wrapper {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.ratio {
    position: relative;
    width: 100%;
    display: block;
}
.ratio::before {
    display: block;
    content: "";
}
.ratio-16x9::before {
    padding-top: 56.25%; /* 16:9 aspect ratio */
}
.ratio > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}
/* Forza l'iframe annidato dentro l'extra div ad allargarsi */
.ratio iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

