/**
 * Widget: faq|full-list — FAQ filtrabili in accordion + box assistenza.
 * Sidebar assistenza a sinistra (desktop/tablet), sotto le FAQ su mobile.
 */

.faq-full-list.faqfl {
    padding: var(--website-padding-top-bottom) 0;
}

.faq-full-list .faqfl-inner {
    box-sizing: border-box;
}

.faq-full-list .faqfl-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

/* Sidebar assistenza (destra) */
.faq-full-list .faqfl-side {
    width: 240px;
    flex: none;
    order: 2;
}
.faq-full-list .faqfl-help {
    padding: 16px;
    background: #fff;
    border-radius: 14px;
}
.faq-full-list .faqfl-help + .faqfl-help {
    margin-top: 16px;
}
.faq-full-list .faqfl-help-title {
    margin: 0;
    color: #1E2939;
    font-family: var(--icotea-font-heading);
    font-size: .75rem;    /* 12px — eyebrow */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    line-height: 1.33;
}
.faq-full-list .faqfl-help-list {
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-full-list .faqfl-help-row {
    margin: 0;
}
.faq-full-list .faqfl-help-label {
    color: #6A7282;
    font-family: var(--icotea-font-body);
    font-size: .625rem;   /* 10px — micro-label */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.33;
}
.faq-full-list .faqfl-help-value {
    margin: 4px 0 0;
    color: #364153;
    font-family: var(--icotea-font-body);
    font-size: 1rem;      /* 16px */
    line-height: 1.4;
    word-break: break-word;
}
.faq-full-list .faqfl-help-value--stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.faq-full-list .faqfl-help-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #364153;
    text-decoration: none;
}
a.faqfl-help-line {
    color: #1447E6;
}
.faq-full-list .faqfl-help-ico {
    flex: none;
    width: 16px;
    height: 16px;
    color: #6A7282;
}
.faq-full-list .faqfl-help-ico--mail {
    color: var(--icotea-accent);
}
.faq-full-list .faqfl-help-ico--whats {
    color: var(--icotea-second-title);
}
.faq-full-list .faqfl-help-ico--phone {
    color: var(--icotea-brand-blue);
}
.faq-full-list .faqfl-help-ico--time {
    color: var(--icotea-color-uni);
}
.faq-full-list a.faqfl-help-line:hover span,
.faq-full-list a.faqfl-help-line:focus span {
    text-decoration: underline;
}

/* Colonna FAQ (sinistra) */
.faq-full-list .faqfl-main {
    flex: 1 1 0;
    min-width: 0;
    order: 1;
}

/* Filtri categoria */
.faq-full-list .faqfl-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.faq-full-list .faqfl-pill {
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #fff;
    color: #4A5565;
    font-family: var(--icotea-font-body);
    font-size: .875rem;   /* 14px — controllo/badge */
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.faq-full-list .faqfl-pill:hover {
    border-color: var(--icotea-brand-blue);
}
.faq-full-list .faqfl-pill.is-active {
    background: #1C398E;
    border-color: #1C398E;
    color: #fff;
}
.faq-full-list .faqfl-pill:focus-visible {
    outline: 2px solid var(--icotea-brand-blue);
    outline-offset: 2px;
}

/* Conteggio */
.faq-full-list .faqfl-count {
    margin: 16px 0 0;
    color: #6A7282;
    font-family: var(--icotea-font-body);
    font-size: .875rem;   /* 14px — meta */
    line-height: 1.4;
}

/* Gruppi */
.faq-full-list .faqfl-groups {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.faq-full-list .faqfl-group-title {
    margin: 0 0 8px;
    color: #193CB8;
    font-family: var(--icotea-font-heading);
    font-size: 1rem;      /* 16px */
    line-height: 1.5;
    font-weight: 700;
}

/* Accordion — meccanica open/close (indipendente dal CSS del componente) */
.faq-full-list .accordion-collapse {
    overflow: hidden;
    transition: height .3s ease-out;
}
.faq-full-list .accordion-collapse.collapse {
    display: none;
}
.faq-full-list .accordion-collapse.collapse.show {
    display: block;
}

/* Accordion */
.faq-full-list .faqfl-accordion {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.faq-full-list .faqfl-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}
.faq-full-list .faqfl-item-header {
    margin: 0;
}
.faq-full-list .faqfl-item-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: #fff;
    border: 0;
    text-align: left;
    cursor: pointer;
}
.faq-full-list .faqfl-item-q {
    color: #1E2939;
    font-family: var(--icotea-font-heading);
    font-size: 1rem;      /* 16px */
    font-weight: 500;
    line-height: 1.4;
}
.faq-full-list .faqfl-item-icon {
    flex: none;
    width: 24px;
    text-align: center;
    color: #6A7282;
    font-family: var(--icotea-font-heading);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
}
.faq-full-list .faqfl-item-icon::before {
    content: '+';
}
.faq-full-list .faqfl-item-btn[aria-expanded="true"] .faqfl-item-icon::before {
    content: '\2212'; /* − */
}
.faq-full-list .faqfl-item-btn:focus-visible {
    outline: 2px solid var(--icotea-brand-blue);
    outline-offset: -2px;
}

/* Risposta */
.faq-full-list .faqfl-item-a {
    padding: 0 16px 16px;
    color: #364153;
    font-family: var(--icotea-font-body);
    font-size: 1rem;      /* 16px */
    line-height: 1.625;
}
.faq-full-list .faqfl-item-a p {
    margin: 0 0 .75em;
}
.faq-full-list .faqfl-item-a :last-child {
    margin-bottom: 0;
}
.faq-full-list .faqfl-item-a ul,
.faq-full-list .faqfl-item-a ol {
    margin: .5em 0;
    padding-left: 20px;
}
.faq-full-list .faqfl-item-a li {
    margin-bottom: .4em;
}
.faq-full-list .faqfl-item-a a {
    color: #1447E6;
    font-weight: 600;
    text-decoration: underline;
}

/* Desktop/tablet: sidebar sticky a sinistra */
@media (min-width: 768px) {
    .faq-full-list .faqfl-side {
        position: sticky;
        top: 24px;
    }
}

/* Mobile: FAQ sopra, assistenza sotto */
@media (max-width: 767px) {
    .faq-full-list.faqfl {
        padding: var(--website-padding-top-bottom-mini) 0;
    }
    .faq-full-list .faqfl-layout {
        flex-direction: column;
    }
    .faq-full-list .faqfl-main {
        order: -1;
    }
    .faq-full-list .faqfl-side {
        width: 100%;
    }
}
