.customfaq-block {
    margin: 2rem 0;
}

.customfaq-block-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.customfaq-accordion {
    border-top: 1px solid #e0e0e0;
}

.customfaq-item {
    border-bottom: 1px solid #e0e0e0;
}

.customfaq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    background: none;
    border: 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.customfaq-question:hover,
.customfaq-question:focus {
    background-color: #f7f7f7;
    outline: none;
}

.customfaq-question-text {
    flex: 1;
    padding-right: 1rem;
}

.customfaq-toggle {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    position: relative;
    transition: transform 0.2s ease;
}

.customfaq-toggle::before,
.customfaq-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: currentColor;
    transform: translate(-50%, -50%);
}

.customfaq-toggle::before {
    width: 14px;
    height: 2px;
}

.customfaq-toggle::after {
    width: 2px;
    height: 14px;
    transition: opacity 0.2s ease;
}

.customfaq-question[aria-expanded="true"] .customfaq-toggle::after {
    opacity: 0;
}

.customfaq-answer {
    padding: 0 1.25rem 1rem;
}

.customfaq-answer[hidden] {
    display: none;
}

.customfaq-answer-inner {
    line-height: 1.6;
}

.customfaq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* Mode "all" : tout est déplié, pas de toggle cliquable */
.customfaq-mode-all .customfaq-question {
    cursor: default;
}

.customfaq-mode-all .customfaq-question:hover,
.customfaq-mode-all .customfaq-question:focus {
    background-color: transparent;
}

.customfaq-mode-all .customfaq-toggle {
    display: none;
}
