/* === Pagina Domande Frequenti === */

/* Rimuovi padding-top da #main sulla pagina Domande Frequenti */
#main.domande-frequenti-page {
    padding-top: 0 !important;
}

body.page-template-page-domande-frequenti #main,
body.page-domande-frequenti #main {
    padding-top: 0 !important;
}

/* Rimuovi padding-top da .main-content sulla pagina Domande Frequenti */
body.page-template-page-domande-frequenti .main-content,
body.page-domande-frequenti .main-content,
body.page-template-page-domande-frequenti .main-content.col-lg-12,
body.page-domande-frequenti .main-content.col-lg-12,
body.page-template-page-domande-frequenti .no-breadcrumbs .main-content,
body.page-domande-frequenti .no-breadcrumbs .main-content,
body.page-template-page-domande-frequenti .no-breadcrumbs .main-content.col-lg-12,
body.page-domande-frequenti .no-breadcrumbs .main-content.col-lg-12 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.domande-frequenti-page-content {
    margin: 0 auto;
}

.domande-frequenti-page-title {
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111;
    margin: 0 0 50px 0;
    padding: 0;
    text-align: center;
}

.domande-frequenti-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.domande-frequenti-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.domande-frequenti-item:hover {
    border-color: #d0d0d0;
}

.domande-frequenti-item.active {
    border-color: #111;
}

.domande-frequenti-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s ease;
}

.domande-frequenti-item.active .domande-frequenti-question {
    background: #f8f8f8;
}

.domande-frequenti-question span {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.domande-frequenti-question i {
    font-size: 14px;
    color: #666;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.domande-frequenti-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.domande-frequenti-answer p {
    padding: 10px 25px;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* Responsive */
@media (max-width: 767px) {
    .domande-frequenti-page-content {
        padding: 40px 15px;
    }
    
    .domande-frequenti-page-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .domande-frequenti-question {
        padding: 18px 20px;
    }
    
    .domande-frequenti-question span {
        font-size: 16px;
    }
    
    .domande-frequenti-answer p {
        font-size: 15px;
    }
}
