/* Description List (аккордеон)  */
.fi-fo-rich-editor-content dl {
    border: 2px dashed #8b5cf6;
    border-radius: 8px;
    padding: 1rem;
    margin: 2rem 0;
    margin-top: 2.5rem;
    margin-bottom: 3rem;
    background-color: rgba(139, 92, 246, 0.05);
    position: relative;
}

.fi-fo-rich-editor-content dl::before {
    content: "Аккордеон";
    position: absolute;
    top: -22px;
    left: 0;
    background: #ede9fe;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #8b5cf6;
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid #c4b5fd;
}

.fi-fo-rich-editor-content dt {
    font-weight: 700;
    color: #1f2937;
    padding: 0.5rem 0.75rem;
    background-color: rgba(243, 244, 246, 0.8);
    border-left: 3px solid #8b5cf6;
    margin-bottom: 0.25rem;
    border-radius: 4px;
}

.fi-fo-rich-editor-content dd {
    padding: 0.75rem;
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
    border-left: 2px solid rgba(139, 92, 246, 0.2);
    background-color: white;
    border-radius: 4px;
}

.fi-fo-rich-editor-content dd + dt {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(209, 213, 219, 0.5);
}

.fi-fo-rich-editor-content dl:hover {
    background-color: rgba(139, 92, 246, 0.1);
}

.dark .fi-fo-rich-editor-content dl {
    background-color: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
}

.dark .fi-fo-rich-editor-content dl::before {
    background: #1f2937;
}

.dark .fi-fo-rich-editor-content dt {
    background-color: rgba(31, 41, 55, 0.8);
    color: #f3f4f6;
}

.dark .fi-fo-rich-editor-content dd {
    background-color: #1f2937;
}
