.ns2025-faq {
    display: grid;
    gap: 0.75rem;
    max-width: 100%;
}

.ns2025-faq__item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid var(--wp--preset--color--primary, #2670b4);
    border-radius: 8px;
    overflow: hidden;
    transition: border-left-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ns2025-faq__item[open] {
    border-left-color: var(--wp--preset--color--secondary, #99cd21);
}

.ns2025-faq__question {
    align-items: center;
    color: #000;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    font-weight: 600;
    gap: 1rem;
    justify-content: space-between;
    line-height: 1.35;
    list-style: none;
    margin: 0;
    padding: 1.1rem 1.25rem;
}

.ns2025-faq__question::-webkit-details-marker {
    display: none;
}

.ns2025-faq__question::after {
    color: var(--wp--preset--color--primary, #2670b4);
    content: "+";
    flex: 0 0 auto;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    transition: color 180ms ease, transform 180ms ease;
}

.ns2025-faq__item[open] > .ns2025-faq__question::after {
    color: var(--wp--preset--color--secondary, #99cd21);
    content: "-";
    transform: rotate(180deg);
}

.ns2025-faq__answer {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    overflow: hidden;
    padding: 0 1.25rem 1.25rem;
}

.ns2025-faq__item:not([open]) > .ns2025-faq__answer {
    display: none;
}

.ns2025-faq__answer > :first-child {
    margin-top: 0;
}

.ns2025-faq__answer > :last-child {
    margin-bottom: 0;
}

.ns2025-faq__answer a {
    color: var(--wp--preset--color--primary, #2670b4);
    font-weight: 700;
}

.ns2025-faq__item.is-editor {
    border-left: 5px solid var(--wp--preset--color--primary, #2670b4);
    padding: 1rem;
}

.ns2025-faq__field {
    margin-bottom: 0.9rem;
}

.ns2025-faq__field:last-child {
    margin-bottom: 0;
}

.ns2025-faq__field--question input {
    color: #000;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.ns2025-faq__field--answer textarea {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    min-height: 120px;
    resize: vertical;
}

.ns2025-faq__editor-toolbar {
    align-items: center;
    color: #64748b;
    display: flex;
    font-size: 12px;
    font-weight: 700;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.ns2025-faq__editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
}

.ns2025-faq__add {
    justify-self: start;
}
