/*
Theme Name: Fasi Box Carousel Style
Version: 1.2
*/

.fasi-dual-carousel-wrapper {
    padding: 60px 0 0!important;
    overflow: hidden !important;
    font-family: 'Open Sans', sans-serif;
    display: block !important;
}

/* ---- BOX ---- */
.fasi-nav-dots {
    max-width: 1250px;
    margin: 40px auto 40px auto;
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 15px;
    padding: 0 15px;
}

.nav-dot-item {
    cursor: pointer;
    outline: none;
    flex: 1 1 180px; 
    max-width: calc(100% / 6 - 15px); 
    display: flex;
}

.nav-dot-inner {
    opacity: 0.5;
    transition: all 0.4s ease;
    padding: 15px;
    background-color: #fff;
    width: 100%;
    min-height: 70px;
    border-radius: 5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid;
}

.dot-line {
    display: block;
    width: 50px;
    height: 3px;
    background: #f0f3f8;
    margin-bottom: 10px;
    transition: 0.4s;
}

.dot-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

/* Stato Attivo */
.nav-dot-item.active .nav-dot-inner {
    opacity: 1;
    box-shadow: 0 3px 20px rgba(12, 23, 37, .1);
    border-color: #6abb90;
}

.nav-dot-item.active .dot-line {
    width: 100%;
    background: #6abb90;
}

/* ---- CAROSELLO INFERIORE ---- */
.fasi-main-slide {
    padding: 0 20px;
    outline: none;
}

.fasi-row-split {
    display: flex !important;
    height: 400px;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.fasi-col-img {
    width: 65%;
    background-size: cover;
    background-position: center;
}

.fasi-col-info {
    width: 35%;
    background: #f0f3f8;
    padding: 40px;
    display: flex;
    align-items: center;
}

.info-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-content p {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 25px;
}

.fasi-btn-read {
    color: #6abb90;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

/* ---- PROGRESS BAR ---- */
.fasi-progress-container-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    height: 4px;
    background: #e0e6ed;
    position: relative;
    overflow: hidden;
}

.fasi-progress-active {
    width: 0%;
    height: 100%;
    background: #6abb90;
    position: absolute;
    left: 0;
    top: 0;
}

/* ---- RESPONSIVE MOBILE ---- */
@media (max-width: 991px) {
    .fasi-row-split {
        flex-direction: column;
        height: auto;
    }

    .fasi-col-img {
        height: 280px;
        width: 100%;
    }
    
    .fasi-col-info {
        width: 85%;
        padding: 30px 20px;
    }

    .nav-dot-item {
        /* Su mobile, 2 box per riga */
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    
    .fasi-main-slide {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .nav-dot-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}