/* Contenitore principale */
.janus-faq-container {
    background-color: transparent;
    position: relative;
    /* Linea superiore sfumata */
    background-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, cyan 50%, rgba(0,0,0,0) 100%);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: top center;
}

/* Singolo elemento FAQ */
.janus-faq-item {
    /* Linea inferiore sfumata */
    background-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, cyan 50%, rgba(0,0,0,0) 100%);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: bottom center;
}

/* La domanda (titolo) */
.janus-faq-question {
    color: #fff;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: background 0.3s ease; /* Transizione morbida per l'hover */
}

/* --- QUI C'È LA MODIFICA PER L'HOVER SFUMATO AI LATI --- */
.janus-faq-question:hover {
    background: linear-gradient(90deg, 
        rgba(0,0,0,0) 0%, 
        rgba(0, 255, 255, 0.15) 50%, 
        rgba(0,0,0,0) 100%
    );
}

/* L'icona della freccia */
.janus-faq-toggle-icon {
    width: 10px;
    height: 10px;
    border-right: 1px solid cyan;
    border-bottom: 1px solid cyan;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 15px;
}

/* Stato attivo: ruota la freccia */
.janus-faq-item.active .janus-faq-toggle-icon {
    transform: rotate(-135deg);
}

/* La risposta (contenuto) */
.janus-faq-answer {
    color: #ddd;
    padding: 0 20px 20px 20px;
    font-size: 14px;
    line-height: 1.6;
    display: none;
}

.janus-faq-answer p:last-child {
    margin-bottom: 0;
}