/**
* 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.14
*/


.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: #ab0034 !important;
}

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

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

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

.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;
}

/* Responsive - mobile */
@media (max-width: 768px) {
    .logo-container {
        gap: 12px;
    }

    .logo-container .logo-dark,
    .logo-container .logo-light,
    .logo-container .logo-mobile {
        max-height: 40px;
    }

    .logo-container .logo-secondary {
        max-height: 28px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        gap: 8px;
    }

    .logo-container .logo-dark,
    .logo-container .logo-light,
    .logo-container .logo-mobile {
        max-height: 32px;
    }

    .logo-container .logo-secondary {
        max-height: 22px;
    }
}