.faqs-section {
    margin-top: 7rem;
    margin-bottom: 7rem;
}

.faq-accordion {
    max-width: 100%;
    margin: 0 auto;
}

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

.faq-item:first-child {
    border-top: 1px solid #e0e0e0;
}

/* Reset button styles that theme.json may inject */
.faq-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    color: inherit;
    font: inherit;
    text-decoration: none !important;
}

.faq-trigger:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.faq-question {
    text-transform: none;
}

.faq-icon {
    width: 14px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

/* Panel animation */
.faq-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

/* Keep display:block so the max-height transition fires,
   but hide it visually and from the a11y tree until open */
.faq-panel[hidden] {
    display: block;
    visibility: hidden;
}

.faq-panel.is-open {
    visibility: visible;
}

.faq-answer {
    padding: 0 0 1.25rem;
    line-height: 1.7;
    color: inherit;
}
