/**
* Theme Name: Stack Child
* Description: This is a child theme of Stack, generated by Merlin WP.
* Author: <a href="http://www.tommusrhodus.com/">Tom Rhodes</a>
* Template: stack
* Version: 10.5.36
*/


/* ============================================
   FONTS GLOBALI
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto+Condensed:wght@300;400;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    color: #333333;
}

/* Titoli */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', sans-serif !important;
    text-transform: uppercase !important;
}

/* Menu */
.menu li a,
.nav-menu li a,
.bar__module a,
nav a {
    font-family: 'Roboto Condensed', sans-serif !important;
    text-transform: uppercase !important;
}

/* Paragrafi e testi generici */
p {
    font-family: 'Poppins', sans-serif;
    color: #333333;
}

/* ============================================
   MIGRAZIONE CSS DAL BACKEND (CUSTOM CSS)
   Corretto e aggiornato con i nuovi colori/font
   ============================================ */

.archive.woocommerce .space--sm + .space--sm { 
    margin-top: -50px; 
}

/* Nota: Questo era un blu standard, mantenuto o aggiornato? Lascio invariato se non specificato */
[data-gradient-bg] { 
    background: #4A90E2; 
}

p.tweet { 
    word-break: break-all; 
}

@media all and (max-width: 768px){ 
    .slider li { 
        width: 100%; 
    } 
}

.slider .image--xxs { 
    max-height: 5.5em; 
}

body:not(.variant-active) nav#menu1 { 
    z-index: 11; 
}

.current-menu-item a { 
    color: #CD0019 !important; /* Corretto da #ab0034 */
}

.card__row-coming-soon { 
    background-color: #CD0019; /* Corretto da red */
    color: white; 
    border-radius: 4px; 
}

.vc_row.vc_column-gap-25 > .vc_column_container{ 
    padding: 80px; 
    margin-left: 70px; 
}

.vc_row.vc_column-gap-25 { 
    background-color: #353a40; 
}

.wpb_wrapper { 
    background-color: white; 
}

hr { 
    display: none; 
}

.btn.btn--sm.type--uppercase { 
    color: #333333; /* Corretto da black */
}

.vc_row-no-padding { 
    position: relative; 
    left: 0; 
    width: auto; 
}

/* CSS custom */
.bar.bar--sm { 
    padding: 0; 
}

.bar .logo { 
    max-height: 118px; 
}

#menu-main-menu > li > a:hover, 
.menu-vertical > li > a:hover { 
    color: #CD0019 !important; /* Corretto da #aa1739 */
}

.menu-toggle i { 
    font-size: 3.6em; 
    top: 0; 
}

.notification .notification-close-cross:before { 
    font-size: 3em; 
}

@media (min-width: 990px) { 
    .bar__module:not(:only-child) .menu-horizontal { 
        font-size: 16px; 
        top: 42px; 
    } 
}

.bar-1 .menu-horizontal > li > a { 
    text-transform: none; 
}

.menu-horizontal > li:not(:hover) > a { 
    opacity: 1; 
}

.homepage-titles h3 { 
    font-size: 40px; 
    font-weight: bold; 
    text-align: center; 
}

.homepage-text { 
    font-size: 18px; 
    line-height: 30px; 
    text-align: justify; 
}

.presentation-header h2 { 
    color: #CD0019; /* Corretto da #AA1739 */
    font-size: 52px; 
    font-weight: bold; 
    line-height: 58px; 
}

.presentation-cta a { 
    color: #CD0019; /* Corretto da #AB0033 */
    font-size: 22px; 
    text-decoration: none; 
}

.homepage-news-feed .label { 
    display: none; 
}

.organizer-col { 
    border: 1px solid #CDCDCD; 
    -webkit-border-radius: 10px; 
    -moz-border-radius: 10px; 
    border-radius: 10px; 
    box-sizing: border-box; 
    padding: 0; 
}

.organizer-name { 
    color: #333333; /* Corretto da #000000 */
    font-size: 22px; 
    font-weight: 600; 
    margin: 26px 10px; 
    text-align: center; 
}

.organizer-logo { 
    height: 320px; 
    line-height: 320px; 
    padding: 0 10px; 
}

.organizer-logo img { 
    vertical-align: middle; 
}

.organizer-descr { 
    color: #333333; /* Corretto da #000000 */
    padding: 0 20px; 
    text-align: center; 
}

.organizer-site-link { 
    margin-bottom: 0; 
}

.organizer-site-link p { 
    background-color: #343a40; 
    -webkit-border-bottom-right-radius: 10px; 
    -webkit-border-bottom-left-radius: 10px; 
    -moz-border-radius-bottomright: 10px; 
    -moz-border-radius-bottomleft: 10px; 
    border-bottom-right-radius: 10px; 
    border-bottom-left-radius: 10px; 
    text-align: center; 
}

.organizer-site-link p a { 
    color: #ffffff; 
    display: inline-block; 
    height: 100%; 
    font-size: 20px; 
    padding: 14px 20px; 
    text-align: center; 
    text-decoration: none; 
    width: 100%; 
}

.partners-wrapper .vc_separator { 
    margin-bottom: 2px; 
}

.partner-name { 
    margin-bottom: -40px; 
    text-align: center;
}

.partner-logo { 
    height: 190px; 
    line-height: 190px; 
}

.partner-logo img { 
    max-height: 150px; 
    vertical-align: middle; 
    width: auto; 
}

.footer-site-name { 
    font-weight: 600; 
    color: white; 
}

.a-footer { 
    font-size: 18px; 
    margin-bottom: 18px; 
}

.footer-links-wrapper { 
    height: 210px; 
    line-height: 210px; 
    position: relative; 
    display: flex; 
    justify-content: center; 
}

.footer-links { 
    bottom: 0; 
    position: absolute; 
}

.footer-links > li { 
    display: inline-block; 
}

.footer-links > li:not(:last-child) { 
    margin-right: 20px; 
}

.social-and-credits-wrapper { 
    height: 210px; 
    width: 159px; 
}

.col-md-4.col-sm-6:nth-child(3) { 
    display: flex; 
    justify-content: flex-end; 
}

#custom_html-3 { 
    width: 159px; 
    display: flex; 
    justify-content: start; 
}

img.social-img { 
    width: 30px; 
    padding-top: 10px; 
    padding-bottom: 10px; 
}

.social-and-credits { 
    bottom: 0; 
    position: absolute; 
}

.social-and-credits div:first-child { 
    margin-bottom: 12px; 
}

.social-and-credits div:last-child { 
    margin-right: 8px; 
    text-align: right; 
}

#custom_html-2 { 
    position: relative; 
    top: 23px; 
}

.footer-contacts { 
    color: #333333; /* Corretto da black */
}

.footer-contacts a { 
    text-decoration: none; 
}

.footer-links a { 
    color: white !important; 
}

.space--sm.footer-2 { 
    background-color: #343a40; 
    color: white; 
}

footer.footer-2 .row:last-child { 
    margin-top: 0; 
}

section.space--sm, footer.space--sm { 
    padding-top: 0; 
    padding-bottom: 0; 
}

.nav-container .side-menu ul > li { 
    font-size: 15px; 
    margin-bottom: 10px; 
}

.nav-container .side-menu ul> li > a { 
    color: #333333; /* Corretto da #000000 */
    font-weight: 600; 
}

/* Smartphones (portrait and landscape) */ 
li.slide-3785 { 
    width: 300px; 
}

.vc_custom_1553705285091 { 
    padding-top: 0; 
    margin-top: 80px !important; 
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { 
    .years-fellini { 
        margin-top: 20px; 
    } 
    .boxed--emphasis { 
        height: 736px !important; /* Aggiunto px che mancava nel codice originale */
    } 
}

[class^="stack-"]::before, [class*=" stack-"]::before { 
    position: relative; 
    top: 0px !important; 
}

.back-to-top [class^="stack-"]::before, .back-to-top [class*=" stack-"]::before { 
    top: 0 !important; 
}

/* iPads (portrait and landscape) */ 
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) { 
    nav#menu1 { 
        font-size: 16px; 
    } 
    .modal-instance.modal-giur.fa { 
        position: relative; 
        top: -42px; 
        margin-top: 0 !important; 
    } 
    .modal-instance.modal-giur.fa-premiati { 
        position: relative; 
        top: 17px; 
        margin-top: 0 !important; 
    } 
    .wpb_text_column.wpb_content_element.h2-adriano { 
        position: relative; 
        top: -6px; 
    } 
    .modal-instance.modal-giur.ml { 
        position: relative; 
        top: -42px; 
    } 
    .wpb_text_column.wpb_content_element.h2-marco { 
        position: relative; 
        top: -10px; 
    } 
    .boxed--emphasis{ 
        height: 565px !important; 
    } 
}

html { 
    overflow-x: visible; 
}

.nav-container { 
    position: -webkit-sticky; 
    position: sticky; 
    top: 0; 
    z-index: 99999; 
}

.nav-container .bar { 
    background: #ffffff; 
    padding-top: 4px; 
    padding-bottom: 12px; 
}

@media only screen and (min-width : 1199px) { 
    .menu-main-menu-container { 
        position: relative !important; 
        left: auto !important; 
        right: auto !important; 
        top: 46px !important; /* Ripristinato top a 46px come richiesto */
        width: 100% !important;
        height: 100%; 
        display: flex; 
        justify-content: flex-end; 
        align-items: center; 
        padding-right: 8px !important; /* Aggiunto padding destro di 8px */
        white-space: nowrap; 
    } 
    #menu-main-menu {
        display: flex;
        flex-wrap: nowrap; 
        align-items: center; /* Centra verticalmente gli elementi li */
        justify-content: flex-end; 
        margin: 0;
        padding: 0;
        width: auto !important; 
        height: 100%;
    }
    #menu-main-menu > li { 
        display: flex !important; /* Flex per centrare il link interno */
        align-items: center; /* Centra verticalmente il testo */
        font-family: inherit; 
        font-size: 18px !important; /* Aumentato a 18px */
        float: none !important;
        margin-left: 30px; 
        height: 100%;
    } 
    #menu-main-menu > li > a {
        display: flex;
        align-items: center;
        height: 100%;
        padding-top: 0 !important; /* Rimuove padding extra che spingono in basso/alto */
        padding-bottom: 0 !important;
        margin-top: 0 !important; /* Rimuove margin-top extra */
        top: 0 !important; /* Rimuove top extra */
        opacity: 1 !important; /* Forza opacità piena */
        color: #333333; /* Colore base */
        font-size: 18px !important; /* Forzatura font size direttamente sul link */
    }
    .menu-toggle.pull-right { 
        display: none; 
    } 
}

@media only screen and (min-width : 993px) and (max-width : 1199px) { 
    .menu-main-menu-container { 
        min-width: 734px; 
    } 
}

@media only screen and (max-width : 1199px) { 
    .menu-main-menu-container { 
        display: none; 
    } 
    .menu-toggle.pull-right { 
        box-shadow: none; 
    } 
}

.page-footer { 
    background-color: #343a40; 
}

.font-weight-bold.text.mt-3.mb-4 { 
    color: white; 
    font-size: 32px; 
}

footer:not(.bg--primary):not(.bg--dark) a { 
    color: white; 
    padding: 2px; 
    display: inline-block; 
    font-size: 18px; 
    margin: 5px; 
}

footer h2, h3 { 
    margin-bottom: 0; 
}

.contacts { 
    padding: 10px; 
    font-size: 18px; 
    display: inline-block; 
}

.contacts.email { 
    margin-top: -10px; 
}

.contacts.number { 
    font-size: 18px; 
}

.webit-credits-neg-color { 
    margin-top: -48px; 
}

section, footer { 
    padding-top: 2.429em; 
    padding-bottom: 0.429em; 
}

.iubenda-nostyle.no-brand.iubenda-embed { 
    font-size: 14px; 
}

.modal-content { 
    margin-top: 150px; 
}

em { 
    color: #808080 !important; 
}

.esg-grid .mainul li.eg-washington-wrapper { 
    background: none!important; 
}

.post-content .uk-margin-bottom a { 
    display: none; 
}


.dettaglio-programma-header {
    box-sizing: border-box;
    left: 0;
    margin-top: 35px;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    width: 1905px;
}

.dettaglio-programma h2 {
    font-weight: bold;
    margin-top: 20px;
}

.dettaglio-programma ul {
    list-style: none;
    margin-left: 0 !important;
}

.dettaglio-programma ul > li {
    font-size: 20px;
    list-style: none;
    margin-bottom: 20px;
}

.dati-dettaglio:before {
    font-size: 1.8em;
    vertical-align: middle;
}

.orario-programma:before {
    content: '\f017';
    font-family: FontAwesome, serif;
    margin-right: 12px;
}

.luogo-programma:before {
    content: '\f041';
    font-family: FontAwesome, serif;
    margin-left: 5px;
    margin-right: 16px;
}

.descrizione-programma {
    color: #000000;
    font-size: 18px;
    padding-top: 20px;
}

.immagine-programma {
    padding-bottom: 30px;
    text-align: center;
}

.article__body.post-content p {
    font-size: 18px !important;
    line-height: 38px;
    text-align: justify;
}

.article__share {
    margin-bottom: 50px;
}

.blog-filters > ul > li {
    color: #CD0019 !important;
}

.blog-filters > ul > li > a {
    color: #CD0019;
    font-size: 20px;
}

.archive.category .masonry__container .project-thumb {
    text-align: left;
}

.archive.category .masonry__container .project-thumb a {
    color: #CD0019;
}

/* Label Programma/Categoria nelle card */
.masonry__item .project-thumb span {
    text-transform: uppercase !important;
    color: #CD0019 !important;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    font-size: 14px; /* Opzionale, per pulizia */
}

.uk-text-center{
    text-align:center;
}

.text-white{
    color: #FFF !important;
    text-decoration: underline;
}

/* ============================================
   CALENDARIO NUOVO - DESKTOP & MOBILE
   ============================================ */

/* Reset di base */
.calendario-new,
.calendario-new-mobile {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ============================================
   DESKTOP STYLES
   ============================================ */

/* Header Giorno */
.calendario-new .calendario-day-header {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.calendario-new .calendario-day-header h2 {
    margin: 0 !important;
    font-size: 28px !important;
    font-weight: 700;
    color: #fff !important;
    background: none !important;
    padding: 0 !important;
    border: none !important;
}

.calendario-new .day-events-count {
    font-size: 16px;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

/* Tabella - Override settimarte.css */
.calendario-new table.calendario-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    table-layout: auto !important;
}

/* Header Tabella - Override settimarte.css */
.calendario-new table.calendario-table thead {
    background: #f9fafb !important;
}

.calendario-new table.calendario-table thead th {
    padding: 16px 20px !important;
    text-align: left !important;
    font-weight: 600 !important;
    color: #374151 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #f9fafb !important;
    border-bottom: 2px solid #e5e7eb !important;
    border-color: #e5e7eb !important;
    vertical-align: middle !important;
}

.calendario-new table.calendario-table .col-orario {
    width: 140px !important;
}

.calendario-new table.calendario-table .col-evento {
    width: auto !important;
}

/* Body Tabella */
.calendario-new table.calendario-table tbody tr {
    border-bottom: 1px solid #e5e7eb !important;
}

.calendario-new table.calendario-table tbody tr:last-child {
    border-bottom: none !important;
}

.calendario-new table.calendario-table tbody tr:hover {
    background-color: #f9fafb !important;
}

.calendario-new table.calendario-table tbody td {
    padding: 0 !important;
    vertical-align: top !important;
    border: 1px solid #e5e7eb !important;
}

/* Time Badge - Override settimarte.css */
.calendario-new table.calendario-table td.evento-orario {
    width: 140px !important;
    padding: 25px 20px !important;
    vertical-align: top !important;
    background-color: #fff !important;
    font-weight: normal !important;
}

.calendario-new .time-badge {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    text-align: center;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 90px;
}

.calendario-new .time-badge i {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.calendario-new .time-badge span {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

/* Lista Eventi */
.calendario-new table.calendario-table td.evento-lista {
    padding: 20px !important;
    background-color: #fff !important;
}

.calendario-new .calendario-new-evento {
    display: flex !important;
    gap: 20px;
    padding: 18px;
    background: #f9fafb;
    border-radius: 6px;
    margin-bottom: 18px;
    transition: all 0.2s ease;
    border-left: 3px solid #d1d5db;
}

.calendario-new .calendario-new-evento:last-child {
    margin-bottom: 0;
}

.calendario-new .calendario-new-evento:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-left-color: #6b7280;
    background: #f3f4f6;
}

/* Immagine Evento */
.calendario-new .calendario-new-evento__img {
    flex-shrink: 0;
    width: 180px !important;
    height: 135px !important;
    border-radius: 6px;
    overflow: hidden;
    background-color: #e5e7eb;
}

.calendario-new .calendario-new-evento__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content Evento */
.calendario-new .calendario-new-evento__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Luogo */
.calendario-new .calendario-new-evento__luogo {
    font-weight: 600;
    font-size: 14px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calendario-new .calendario-new-evento__luogo i {
    font-size: 14px;
    color: #9ca3af;
}

.calendario-new .calendario-new-evento__luogo a {
    color: #6b7280 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.calendario-new .calendario-new-evento__luogo a:hover {
    color: #374151 !important;
    text-decoration: underline;
}

/* Categorie */
.calendario-new .calendario-new-evento__cat {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.calendario-new .cat-tag {
    background: #fff;
    color: #6b7280;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

/* Titolo */
.calendario-new .evento-title {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.calendario-new .evento-title a {
    color: #1f2937 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.calendario-new .evento-title a:hover {
    color: #6b7280 !important;
}

/* Orario */
.calendario-new .calendario-new-evento__time {
    font-size: 13px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calendario-new .calendario-new-evento__time i {
    font-size: 13px;
}

/* Streaming */
.calendario-new .calendario-new-evento__streaming {
    background: #dbeafe;
    color: #1e40af;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    border: 1px solid #bfdbfe;
}

.calendario-new .calendario-new-evento__streaming i {
    font-size: 12px;
}

/* Bottone Dettagli */
.calendario-new .btn-dettagli {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.2s ease;
    width: fit-content;
}

.calendario-new .btn-dettagli:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(107, 114, 128, 0.3);
    color: #fff !important;
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

.calendario-new .btn-dettagli i {
    font-size: 11px;
}

/* Note */
.calendario-new .calendario-note {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 14px 18px;
    margin: 20px 0 40px 0;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #92400e;
}

.calendario-new .calendario-note i {
    color: #d97706;
    font-size: 16px;
    margin-top: 2px;
}

/* ============================================
   MOBILE STYLES
   ============================================ */

.calendario-new-mobile {
    padding: 15px;
}

/* Header Giorno Mobile */
.calendario-new-mobile .calendario-mobile-day-header {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: #fff;
    padding: 18px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

.calendario-new-mobile .calendario-mobile-day-header h2 {
    margin: 0 !important;
    font-size: 19px !important;
    font-weight: 700;
    color: #fff !important;
    text-align: center;
}

/* Eventi Mobile Container */
.calendario-new-mobile .calendario-mobile-events {
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

/* Time Group Mobile */
.calendario-new-mobile .mobile-time-group {
    border-bottom: 2px solid #e5e7eb;
    padding: 15px;
}

.calendario-new-mobile .mobile-time-group:last-child {
    border-bottom: none;
}

.calendario-new-mobile .mobile-time-badge {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.calendario-new-mobile .mobile-time-badge i {
    font-size: 16px;
}

.calendario-new-mobile .mobile-time-badge span {
    font-size: 17px;
    font-weight: 700;
}

/* Evento Card Mobile */
.calendario-new-mobile .calendario-mobile-evento {
    background: #f9fafb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    border-left: 3px solid #d1d5db;
}

.calendario-new-mobile .calendario-mobile-evento:last-child {
    margin-bottom: 0;
}

.calendario-new-mobile .mobile-evento__img {
    width: 100%;
    height: 170px;
    overflow: hidden;
    background-color: #e5e7eb;
}

.calendario-new-mobile .mobile-evento__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.calendario-new-mobile .mobile-evento__content {
    padding: 15px;
}

.calendario-new-mobile .mobile-evento__luogo {
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calendario-new-mobile .mobile-evento__luogo i {
    font-size: 13px;
    color: #9ca3af;
}

.calendario-new-mobile .mobile-evento__luogo a {
    color: #6b7280 !important;
    text-decoration: none;
}

.calendario-new-mobile .mobile-evento__cat {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.calendario-new-mobile .mobile-evento__title {
    margin: 0 0 10px 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.calendario-new-mobile .mobile-evento__title a {
    color: #1f2937 !important;
    text-decoration: none;
}

.calendario-new-mobile .mobile-evento__time {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calendario-new-mobile .mobile-evento__streaming {
    background: #dbeafe;
    color: #1e40af;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #bfdbfe;
}

.calendario-new-mobile .btn-dettagli-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: #fff !important;
    padding: 11px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 500;
    text-align: center;
    font-size: 13px;
    transition: transform 0.2s ease;
}

.calendario-new-mobile .btn-dettagli-mobile:active {
    transform: scale(0.98);
}

.calendario-new-mobile .calendario-mobile-note {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 12px 15px;
    margin: 15px;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #92400e;
}

.calendario-new-mobile .calendario-mobile-note i {
    color: #d97706;
    font-size: 15px;
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
    .calendario-new .calendario-new-evento {
        flex-direction: column;
    }

    .calendario-new .calendario-new-evento__img {
        width: 100% !important;
        height: 200px !important;
    }
}

@media (max-width: 768px) {
    .calendario-new .calendario-day-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 18px;
    }

    .calendario-new .calendario-day-header h2 {
        font-size: 20px !important;
    }
}

/* Logo Header - Due loghi affiancati */
.logo-container {
    display: inline-flex !important;
    align-items: center;
    gap: 20px;
    text-decoration: none !important;
}

.logo-container .logo {
    height: auto;
}

/* Logo principale - più grande */
.logo-container .logo-dark,
.logo-container .logo-light,
.logo-container .logo-mobile {
    max-height: 50px;
    width: auto;
}

/* Logo secondario Confindustria - più piccolo ma visibile */
.logo-container .logo-secondary {
    max-height: 35px;
    width: auto;
    opacity: 0.95;
}

/* ============================================
   HEADER MOBILE FIX - LOGHI GRANDI
   ============================================ */
@media (max-width: 991px) {
    /* Rimuove limiti di altezza che rimpiccioliscono i loghi */
    .bar--sm .logo-container .logo {
        max-height: 40px !important; /* Ridotto a 40px come richiesto */
        height: 40px !important;
        width: auto !important;
    }

    /* Assicura che il contenitore dei loghi usi tutto lo spazio */
    .bar--sm .logo-container {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* Allinea verticalmente il menu hamburger */
    .bar--sm .menu-toggle {
        top: auto !important;
        position: relative !important;
        float: right;
    }
    
    /* Rimuove padding extra dalle colonne */
    .bar--sm .col-xs-9, 
    .bar--sm .col-xs-3 {
        padding-left: 10px;
        padding-right: 10px;
        display: flex;
        align-items: center;
        height: 70px; /* Altezza fissa per la barra mobile */
    }
}
/* FINE MOBILE FIX - Le regole seguenti sono per Desktop e non devono interferire */

/* ============================================
   MODERN MENU STYLES
   ============================================ */

/* 1. Effetto Sottolineatura Animata e Font Weight */
.menu-horizontal > li > a {
    position: relative;
    overflow: hidden;
    padding-bottom: 5px; /* Spazio per la linea */
    font-weight: 700 !important; /* Aumentato peso font */
}

.menu-horizontal > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #CD0019;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
}

.menu-horizontal > li:hover > a::after {
    transform: scaleX(1);
    transform-origin: left;
}
