.amquestions-container {
    margin: 2rem 0;
    padding: 0;
    background-color: transparent;
}

.amquestions-header {
    margin-bottom: 1.5rem;
}

.amquestions-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
}

.amquestions-description {
    margin: 0;
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.6;
}

.amquestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amquestions-item {
    margin-bottom: 0;
    border: none;
    padding: 0;
    border: 1px solid #e0e0e0;
    padding: .5rem;
    border-radius: 0.25rem;
}

.amquestions-item + .amquestions-item {
    margin-top: 1rem;
}

.amquestions-question-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amquestions-question-toggle:hover {
    background-color: #fafafa;
}

.amquestions-question-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #333;
    flex: 1;
    padding-right: 0.9375rem;
}

.amquestions-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #999;
    transition: transform 0.3s ease;
}

.amquestions-toggle-icon.open {
    transform: rotate(180deg);
}

/* Accordéon uniquement si JS : sans classe sur html, les réponses restent visibles */
html.amquestions-js .amquestions-answer,
html.js-enabled .amquestions-answer {
    display: none !important;
}

html.amquestions-js .amquestions-answer.is-expanded,
html.js-enabled .amquestions-answer.is-expanded {
    display: block !important;
}

.amquestions-toggle-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.amquestions-answer {
    padding: 1rem 0;
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.8;
    animation: slideDown 0.3s ease;
}

.amquestions-answer p {
    margin: 0.625rem 0;
}

.amquestions-answer p:first-child {
    margin-top: 0;
}

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

.amquestions-answer ul,
.amquestions-answer ol {
    margin: 0.625rem 0;
    padding-left: 1.25rem;
}

.amquestions-answer li {
    margin: 0.3125rem 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-0.625rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
