/* ==========================================
   VARIABILI GLOBALI E RESET
   ========================================== */
@font-face {
    font-family: 'Josefin';
    src: url('../fonts/JosefinSans-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Josefin';
    src: url('../fonts/JosefinSans-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --burgundy: #6c1034;
    --burgundy-dark: #4a0b24;
    --dusty-blue: #7498AE;
    --light-bg: #f8f9fa;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
    font-family: 'Josefin';
}

body {
    font-family: 'Josefin';
    margin: 0;
    padding: 0;
    background-color: #fff;
}

/* ==========================================
   NAVBAR (comune a tutte le pagine)
   ========================================== */
.navbar {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--burgundy) !important;
    letter-spacing: 2px;
}

.navbar-brand span {
    color: var(--dusty-blue);
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 15px !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--burgundy) !important;
}

.nav-link.active {
    color: var(--burgundy) !important;
    border-bottom: 2px solid var(--burgundy);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0;
}

.dropdown-item {
    font-family: 'Josefin';
    font-weight: 500;
    padding: 8px 20px;
}

.dropdown-item:hover {
    background-color: var(--burgundy);
    color: #fff;
}

.btn-call {
    background-color: var(--burgundy);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.btn-call:hover {
    background-color: var(--burgundy-dark);
    color: #fff;
}

.lang-switch {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 8px 15px;
}

.lang-switch img {
    width: 20px;
    height: auto;
    margin-left: 5px;
}

.nav-divider {
    color: #ccc;
    margin: 0 5px;
}

@media (max-width: 992px) {
    .dropdown{
        text-align: center;
    }

    .dropdown-menu{
        box-shadow: none;
    }

    .dropdown-menu{
        text-align: center;
    }
}

/* ==========================================
   BREADCRUMB (pagina tag)
   ========================================== */
.breadcrumb-section {
    background-color: var(--light-bg);
    padding: 15px 0;
    margin-top: 84px;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-custom {
    margin: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: var(--burgundy-dark);
}

.breadcrumb-custom .breadcrumb-item.active {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

.breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before {
    color: #999;
}

/* ==========================================
   HERO SECTION (pagina principale)
   ========================================== */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(60, 70, 80, 0.7), rgba(60, 70, 80, 0.7)),
        url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1920') center/cover no-repeat;
    min-height: 450px;
    display: flex;
    align-items: center;
    padding: 80px 0;
    margin-top: 70px;
}

.hero-section h1 {
    color: #fff;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-section p {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-section .btn-call {
    margin-top: 20px;
    padding: 14px 30px;
    font-size: 0.9rem;
}

/* ==========================================
   TAG HEADER SECTION (pagina tag)
   ========================================== */
.tag-header {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    padding: 60px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.tag-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.tag-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.tag-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.tag-icon-wrapper i {
    font-size: 2rem;
    color: #fff;
}

.tag-header h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.tag-count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.tag-count i {
    margin-right: 8px;
}

.tag-description {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 600px;
    margin-top: 15px;
}

/* ==========================================
   CARDS SECTION (pagina principale)
   ========================================== */
.cards-section {
    background: linear-gradient(180deg, #e8edf0 0%, #d5dde2 100%);
    padding: 80px 0;
}

.info-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.info-card .icon-wrapper {
    margin-bottom: 20px;
}

.info-card .icon-wrapper i {
    font-size: 3rem;
    color: var(--burgundy);
}

.info-card h3 {
    color: var(--burgundy);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.info-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.btn-hub {
    background-color: var(--burgundy);
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: background-color 0.3s;
    width: 100%;
}

.btn-hub:hover {
    background-color: var(--burgundy-dark);
    color: #fff;
}

.btn-hub-half {
    width: 48%;
}

/* ==========================================
   CONTENT SECTION (pagina tag)
   ========================================== */
.content-section {
    padding: 60px 0;
    background-color: #fff;
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-bg);
    flex-wrap: wrap;
    gap: 15px;
}

.results-info h3 {
    color: var(--burgundy);
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
}

.results-info h3 i {
    margin-right: 10px;
    color: var(--dusty-blue);
}

.results-info span {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==========================================
   CONTENT GRID (pagina tag)
   ========================================== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* ==========================================
   CONTENT CARD (pagina tag)
   ========================================== */
.content-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: fadeInUp 0.5s ease forwards;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.content-card:nth-child(1) {
    animation-delay: 0.1s;
}

.content-card:nth-child(2) {
    animation-delay: 0.2s;
}

.content-card:nth-child(3) {
    animation-delay: 0.3s;
}

.content-card:nth-child(4) {
    animation-delay: 0.4s;
}

.content-card:nth-child(5) {
    animation-delay: 0.5s;
}

.content-card:nth-child(6) {
    animation-delay: 0.6s;
}

.content-thumb {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 50%;
}

.content-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.content-card:hover .content-thumb::after {
    opacity: 1;
}

.content-type-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--burgundy);
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}

.content-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.content-date {
    color: var(--dusty-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-date i {
    margin-right: 6px;
}

.content-title {
    color: var(--burgundy);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.content-excerpt {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.content-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.content-tag {
    background: var(--light-bg);
    color: #666;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.content-tag:hover {
    background: var(--dusty-blue);
    color: #fff;
    border-color: var(--dusty-blue);
}

.content-tag.active {
    background: var(--burgundy);
    color: #fff;
    border-color: var(--burgundy);
}

.content-link {
    color: var(--burgundy);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.content-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.content-link:hover {
    color: var(--burgundy-dark);
}

.content-link:hover i {
    transform: translateX(5px);
}

/* ==========================================
   STATS SECTION (pagina principale)
   ========================================== */
.stats-section {
    background-color: var(--dusty-blue);
    padding: 60px 0;
    color: #fff;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item .stat-label {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-item .stat-sub {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

/* ==========================================
   PAGINATION (pagina tag)
   ========================================== */
.pagination-section {
    padding: 40px 0;
    background-color: var(--light-bg);
}

.pagination {
    justify-content: center;
    margin: 0;
}

.pagination .page-item {
    margin: 0 5px;
}

.pagination .page-link {
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination .page-link:hover {
    background-color: var(--dusty-blue);
    color: #fff;
}

.pagination .page-item.active .page-link {
    background-color: var(--burgundy);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    background: transparent;
}

/* ==========================================
   FOOTER (comune a tutte le pagine)
   ========================================== */
.footer {
    background-color: var(--burgundy);
    color: #fff;
    padding: 50px 0 30px;
}

.footer h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.footer ul li a:hover {
    opacity: 0.7;
    color: #fff;
}

.footer .contact-info {
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer .contact-info a {
    color: #fff;
    text-decoration: none;
}

.footer .contact-info a:hover {
    opacity: 0.7;
}

/* ==========================================
   ANIMAZIONI
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .tag-header h1 {
        font-size: 1.8rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .results-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat-item {
        margin-bottom: 30px;
    }

    .btn-hub-half {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* ==========================================
   ARTICLE HERO (pagina interna)
   ========================================== */
.article-hero {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    padding: 80px 0 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.article-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.article-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.article-hero h1 {
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.95;
}

.article-meta-item i {
    font-size: 1rem;
    color: var(--dusty-blue);
    background: rgba(255, 255, 255, 0.15);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   ARTICLE WRAPPER (pagina interna)
   ========================================== */
.article-wrapper {
    padding: 60px 0 80px;
    background-color: #fff;
}

.article-main {
    background: #fff;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.article-content .lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: #555;
    line-height: 1.7;
    margin-bottom: 35px;
    padding-left: 20px;
    border-left: 4px solid var(--burgundy);
    font-style: italic;
}

.article-content h2 {
    color: var(--burgundy);
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 45px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--dusty-blue);
}

.article-content h3 {
    color: var(--burgundy);
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 35px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 0;
    color: #444;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
    color: #444;
}

.article-content strong {
    color: var(--burgundy);
    font-weight: 600;
}

.article-content a {
    color: var(--burgundy);
    text-decoration: underline;
    transition: color 0.3s;
}

.article-content a:hover {
    color: var(--burgundy-dark);
}

/* ==========================================
   ARTICLE QUOTE
   ========================================== */
.article-quote {
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8edf0 100%);
    border-left: 5px solid var(--burgundy);
    padding: 30px 35px;
    margin: 35px 0;
    position: relative;
    border-radius: 0 8px 8px 0;
}

.article-quote .quote-icon {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: var(--burgundy);
    opacity: 0.15;
}

.article-quote p {
    font-size: 1.25rem;
    font-style: italic;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 500;
}

.article-quote footer {
    color: var(--burgundy);
    font-weight: 600;
    font-size: 0.95rem;
}

.article-quote footer::before {
    content: '— ';
}

/* ==========================================
   IMAGE SINGLE
   ========================================== */
.image-single {
    margin: 35px 0;
    text-align: center;
}

.image-single img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    max-width: 100%;
    height: auto;
}

.image-single a:hover img {
    transform: scale(1.01);
}

.image-caption {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    text-align: center;
    padding: 0 20px;
}

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery-section {
    margin: 45px 0;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 8px;
}

.gallery-section h3 {
    color: var(--burgundy);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dusty-blue);
    margin-top: 0;
}

.gallery-section h3 i {
    margin-right: 10px;
    color: var(--dusty-blue);
}

.swiper-main-gallery {
    /* padding-bottom: 50px; */
    position: relative;
}

.swiper-main-gallery .swiper-slide {
    height: auto;
}

.gallery-item {
     position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    width: 100%;
    padding-bottom: 66%;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s;
    display: block;
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(108, 16, 52, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

.didascalia {
    padding: 12px 15px;
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
    text-align: center;
    background: #fff;
}

/* Video gallery */
.gallery-item .video {
    position: relative;
    overflow: hidden;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(108, 16, 52, 0.9);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s;
    cursor: pointer;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
}

.gallery-item:hover .play-btn {
    background: var(--burgundy);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Swiper custom */
.swiper-main-gallery .swiper-button-next,
.swiper-main-gallery .swiper-button-prev {
    color: #fff;
    background: var(--burgundy);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.3s;
}

.swiper-main-gallery .swiper-button-next:hover,
.swiper-main-gallery .swiper-button-prev:hover {
    background: var(--burgundy-dark);
}

.swiper-main-gallery .swiper-button-next::after,
.swiper-main-gallery .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: bold;
}

.swiper-pagination-gallery-1 .swiper-pagination-bullet,
.swiper-pagination-gallery-2 .swiper-pagination-bullet {
    background: #999;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiper-pagination-gallery-1 .swiper-pagination-bullet-active,
.swiper-pagination-gallery-2 .swiper-pagination-bullet-active {
    background: var(--burgundy);
    opacity: 1;
    border-radius: 5px;
}

/* ==========================================
   ARTICLE TAGS
   ========================================== */
.article-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--light-bg);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.article-tags h4 {
    color: var(--burgundy);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.article-tags h4 i {
    margin-right: 8px;
    color: var(--dusty-blue);
}

/* ==========================================
   RELATED ARTICLES
   ========================================== */
.related-articles {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 3px solid var(--light-bg);
}

.related-articles h3 {
    color: var(--burgundy);
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 35px;
    text-align: center;
}

.related-articles h3 i {
    margin-right: 10px;
    color: var(--dusty-blue);
}

.related-articles .content-grid {
    margin-bottom: 0;
}

/* ==========================================
   RESPONSIVE - AGGIORNAMENTI
   ========================================== */
@media (max-width: 992px) {
    .article-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .article-hero {
        padding: 60px 0 40px;
    }

    .article-hero h1 {
        font-size: 1.8rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 12px;
    }

    .article-content .lead {
        font-size: 1.1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-quote {
        padding: 20px 25px;
    }

    .article-quote p {
        font-size: 1.1rem;
    }

    .gallery-section {
        padding: 20px 15px;
    }

    .gallery-item img {
        height: 220px;
    }

    .article-tags {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================
   WORKSHOPS SECTION (Homepage)
   ========================================== */
.workshops-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    color: var(--burgundy);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--dusty-blue);
    margin: 0 auto 15px;
}

.section-subtitle {
    color: #666;
    font-size: 1.05rem;
    font-weight: 400;
}

/* Workshop Card Specifics */
.workshop-card .content-thumb {
    position: relative;
}

.workshop-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--burgundy);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(108, 16, 52, 0.3);
    z-index: 2;
}

.workshop-date-badge .day {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
}

.workshop-date-badge .month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.workshop-meta {
    color: var(--dusty-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.workshop-meta i {
    margin-right: 4px;
}

/* Pulsante "Vedi tutti" */
.btn-outline-custom {
    border: 2px solid var(--burgundy);
    color: var(--burgundy);
    background: transparent;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-outline-custom:hover {
    background-color: var(--burgundy);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 16, 52, 0.2);
}

.btn-outline-custom i {
    transition: transform 0.3s ease;
}

.btn-outline-custom:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .workshops-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

/* ==========================================
   TABELLE (dentro article-content)
   ========================================== */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
    font-size: 0.95rem;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8edf0;
}

/* Caption della tabella */
.article-content table caption {
    caption-side: top;
    text-align: left;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--burgundy);
    background-color: var(--light-bg);
    border-bottom: 1px solid #e8edf0;
}

/* Header della tabella */
.article-content table thead {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: #fff;
}

.article-content table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    white-space: nowrap;
}

/* Corpo della tabella */
.article-content table tbody tr {
    border-bottom: 1px solid #e8edf0;
    transition: background-color 0.2s ease;
}

.article-content table tbody tr:last-child {
    border-bottom: none;
}

/* Righe alternate (zebra striping) */
.article-content table tbody tr:nth-child(even) {
    background-color: #f8fafb;
}

.article-content table tbody tr:nth-child(odd) {
    background-color: #fff;
}

/* Hover sulle righe */
.article-content table tbody tr:hover {
    background-color: rgba(116, 152, 154, 0.08);
}

/* Celle del corpo */
.article-content table tbody td {
    padding: 14px 20px;
    color: #444;
    vertical-align: middle;
    border: none;
}

/* Footer della tabella (totali, note) */
.article-content table tfoot {
    background-color: var(--light-bg);
    font-weight: 600;
}

.article-content table tfoot td,
.article-content table tfoot th {
    padding: 14px 20px;
    color: var(--burgundy);
    border-top: 2px solid var(--dusty-blue);
}

/* Allineamenti specifici */
.article-content table th.text-center,
.article-content table td.text-center {
    text-align: center;
}

.article-content table th.text-right,
.article-content table td.text-right {
    text-align: right;
}

/* Tabella con bordi completi (variante) */
.article-content table.table-bordered {
    border: 1px solid #e8edf0;
}

.article-content table.table-bordered th,
.article-content table.table-bordered td {
    border: 1px solid #e8edf0;
}

/* Tabella compatta */
.article-content table.table-sm th,
.article-content table.table-sm td {
    padding: 10px 14px;
    font-size: 0.9rem;
}

/* Wrapper responsive per tabelle larghe */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 35px 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    -webkit-overflow-scrolling: touch;
}

.table-responsive-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-responsive-wrapper::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 4px;
}

.table-responsive-wrapper::-webkit-scrollbar-thumb {
    background: var(--dusty-blue);
    border-radius: 4px;
}

.table-responsive-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy);
}

/* Badge/etichette dentro le tabelle */
.article-content table .badge-cell {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-success {
    background-color: rgba(39, 174, 96, 0.15);
    color: #27ae60;
}

.badge-warning {
    background-color: rgba(243, 156, 18, 0.15);
    color: #d68910;
}

.badge-danger {
    background-color: rgba(231, 76, 60, 0.15);
    color: #c0392b;
}

.badge-info {
    background-color: rgba(116, 152, 154, 0.15);
    color: var(--dusty-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .article-content table {
        font-size: 0.85rem;
        margin: 25px 0;
    }

    .article-content table thead th,
    .article-content table tbody td,
    .article-content table tfoot td {
        padding: 10px 12px;
    }

    .article-content table thead th {
        font-size: 0.8rem;
    }
}

/* ==========================================
   PRELOADER
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: fadeInScale 0.6s ease forwards;
}

/* Logo animato */
.preloader-logo {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: 3px;
    color: var(--burgundy);
    margin-bottom: 25px;
}

.preloader-logo span {
    color: var(--dusty-blue);
    animation: pulse 1.5s ease-in-out infinite;
}

/* Tre puntini animati */
.preloader-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.preloader-dots span {
    width: 10px;
    height: 10px;
    background-color: var(--burgundy);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite;
}

.preloader-dots span:nth-child(1) {
    animation-delay: 0s;
}

.preloader-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.preloader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Animazioni */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Preloader su sfondo scuro (opzionale, per hero scuri) */
#preloader.dark {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
}

#preloader.dark .preloader-logo {
    color: #fff;
}

#preloader.dark .preloader-logo span {
    color: var(--dusty-blue);
}

#preloader.dark .preloader-dots span {
    background-color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .preloader-logo {
        font-size: 2rem;
    }
    
    .preloader-dots span {
        width: 8px;
        height: 8px;
    }
}
/* ==========================================
   EU DISCLAIMER SECTION (Footer)
   ========================================== */
.eu-disclaimer-section {
    margin-top: 50px;
    padding-top: 40px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.eu-disclaimer-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.eu-flag-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: auto;
}

.eu-flag {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.eu-disclaimer-text {
    flex: 1;
}

.eu-disclaimer-main {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.eu-disclaimer-main strong {
    color: #fff;
    font-weight: 600;
}

/* Responsive per EU Disclaimer */
@media (max-width: 768px) {
    .eu-disclaimer-section {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .eu-disclaimer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .eu-flag-wrapper {
        width: 100px;
        margin: 0 auto;
    }
    
    .eu-disclaimer-main {
        font-size: 0.8rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .eu-flag-wrapper {
        width: 80px;
    }
    
    .eu-disclaimer-main {
        font-size: 0.75rem;
        line-height: 1.5;
    }
}