/* Wrapper specifico per aumentare specificità */
#attivita-page-wrapper .attivita-section {
    padding: 80px 0 60px;
}

#attivita-page-wrapper .attivita-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Le nostre attività - Tab Section V2 */
.attivita-section {
    padding: 80px 0 60px;
}

.attivita-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.attivita-title {
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    color: #862138;
    text-align: center;
    margin-bottom: 50px;
    text-transform: none;
}

/* Tab Navigation */
.attivita-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 15px 35px;
    background-color: transparent;
    color: #333;
    border: 2px solid #862138;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    margin: 10px;
}

.tab-btn:hover {
    background-color: #862138;
    color: #fff;
}

.tab-btn.active {
    background-color: #862138;
    color: #fff;
    font-weight: 600;
}

/* Tab Content */
.tab-content-wrapper {
    position: relative;
    min-height: 400px;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: center;
    padding: 40px 0;
}

.tab-content-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.infografica-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.tab-content-right {
    padding-right: 120px;
}

.tab-text {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* ============================================
   TAB MAPPA - Mappa Italia e Regioni
   ============================================ */

.mappa-italia-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mappa-italia-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.regioni-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.regioni-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.regione-btn {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #862138;
    background-color: transparent;
    border: none;
    padding: 8px 0;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.regione-bullet {
    color: #862138;
    font-size: 0.8rem;
}

.regione-btn:hover {
    color: #a82a47;
    transform: translateX(5px);
}

.regione-btn:hover .regione-bullet {
    color: #a82a47;
}

.regione-btn.active {
    font-weight: 700;
    color: #862138;
}

/* ============================================
   TAB DATA - Timeline Anni
   ============================================ */

.timeline-container {
    padding: 40px 0;
}

.timeline-years {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 30px;
    margin-bottom: 30px;
}

.year-btn {
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #ccc;
    background-color: transparent;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.year-btn:hover {
    color: #862138;
    font-weight: 600;
    transform: scale(1.1);
}

.year-btn.active {
    color: #862138;
    font-weight: 700;
    font-size: 2.2rem;
}

.year-btn.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #862138;
}

/* ============================================
   Breadcrumb Filtro Attivo
   ============================================ */

.filtro-breadcrumb {
    background-color: #862138;
    color: #fff;
    padding: 15px 25px;
    margin-bottom: 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.filtro-label {
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.filtro-value {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.filtro-reset {
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    font-size: 0.95rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filtro-reset:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

