/* Card stile moderno per articoli in formato Blog */
.blog .blog-item,
.blog .items-row .item,
.com-content-category__item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Effetto di elevazione al passaggio del mouse */
.blog .blog-item:hover,
.blog .items-row .item:hover,
.com-content-category__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Arrotonda gli angoli delle immagini negli articoli */
.blog img, .article-details img, .com-content-article img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

/* Colore di sfondo della barra di navigazione principale */
.container-header {
    background: linear-gradient(135deg, #1b365d 0%, #2b5488 100%) !important;
    padding: 15px 0;
}

/* Colore e stile dei link del menu Principale (primo livello) */
.mod-menu.nav > li > a,
.navbar-nav > li > a {
    color: #ffffff !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

/* Evidenziazione voce di menu attiva o hover (primo livello) */
.mod-menu.nav > li > a:hover,
.mod-menu.nav > li.active > a {
    background-color: rgba(255, 255, 255, 0.15) !important;
    text-decoration: none;
}

/* Stile per i Sottomenu a Tendina (Dropdown) */
.mod-menu .dropdown-menu a {
    color: #333333 !important;
}

.mod-menu .dropdown-menu a:hover {
    background-color: #f8f9fa !important;
    color: #1b365d !important;
}

/* Leggibilità del corpo testo */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333333;
    line-height: 1.7;
}

/* Stile dei titoli principali H1 e H2 */
h1, h2, .page-header h1 {
    color: #1b365d;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Sfondo scuro elegante per il Footer */
.container-footer {
    background-color: #111e2e !important;
    color: #d1d5db !important;
    padding: 40px 0 20px 0;
    margin-top: 50px;
}

.container-footer a {
    color: #60a5fa !important;
}

.container-footer a:hover {
    text-decoration: underline;
}

/* Pulsanti di azione */
.btn-primary, .readmore a {
    background-color: #1b365d !important;
    border-color: #1b365d !important;
    color: #ffffff !important;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover, .readmore a:hover {
    background-color: #2b5488 !important;
    border-color: #2b5488 !important;
    color: #ffffff !important;
}