.qnews-faq-section {
    width: 100%;
    max-width: 988px;
    padding-top: 48px;
}

.qnews-faq-section__heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qnews-faq-section__title {
    margin: 0;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 13px;
    line-height: 19.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    color: #5b6472;
    white-space: nowrap;
}

.qnews-faq-section__line {
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.qnews-faq {
    margin-top: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.qnews-faq__item + .qnews-faq__item {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.qnews-faq__question {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    text-align: left;
    cursor: pointer;
}

.qnews-faq__question-text {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    color: #12161d;
}

.qnews-faq__icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5b6472;
    transition: transform 0.2s ease;
    flex: 0 0 16px;
}

.qnews-faq__item.is-expanded .qnews-faq__icon {
    transform: rotate(180deg);
}

.qnews-faq__answer {
    padding: 0 20px 20px;
}

.qnews-faq__answer p {
    margin: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #5b6472;
}

.qnews-faq-editor {
    border: 1px solid #d9dfe9;
    border-radius: 10px;
    background: #fff;
    padding: 16px;
}

.qnews-faq-editor__note {
    margin: 0 0 12px;
    font-size: 12px;
    color: #5b6472;
}

.qnews-faq-editor__item {
    border-top: 1px solid #edf1f7;
    padding-top: 12px;
    margin-top: 12px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.qnews-faq-editor__drag-help {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 16px;
    color: #5b6472;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: grab;
}

.qnews-faq-editor__item-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.qnews-faq-editor__drag-handle {
    border: 1px dashed #b7c5ec;
    background: #f7f9ff;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 16px;
    color: #3d4350;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: grab;
}

.qnews-faq-editor__drag-handle:active {
    cursor: grabbing;
}

.qnews-faq-editor__move-buttons {
    display: inline-flex;
    gap: 6px;
}

.qnews-faq-editor__item.is-dragging {
    opacity: 0.7;
    border-color: #b7c5ec;
    background: #f5f8ff;
}

.qnews-faq-editor__item.is-drop-target {
    border-color: #7f9ae6;
    box-shadow: 0 0 0 2px rgba(127, 154, 230, 0.15);
}

.qnews-faq-prefooter .qnews-faq-section {
    margin-left: auto;
    margin-right: auto;
}

html[data-theme='dark'] .qnews-faq-section__title {
    color: #aab3c3;
}

html[data-theme='dark'] .qnews-faq-section__line {
    background: rgba(255, 255, 255, 0.12);
}

html[data-theme='dark'] .qnews-faq {
    background: #141a24;
    border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme='dark'] .qnews-faq__item + .qnews-faq__item {
    border-top-color: rgba(255, 255, 255, 0.12);
}

html[data-theme='dark'] .qnews-faq__question-text {
    color: #e4e9f2;
}

html[data-theme='dark'] .qnews-faq__icon {
    color: #aab3c3;
}

html[data-theme='dark'] .qnews-faq__answer p {
    color: #aab3c3;
}

@media (max-width: 767.98px) {
    .qnews-faq-section {
        max-width: 361.152px;
    }

    .qnews-faq__answer {
        padding-bottom: 20px;
    }

    .qnews-faq__answer p {
        max-width: 320px;
    }
}
