.lang-dropdown {
    width: 220px;
}

.lang-dropdown__list {
    max-height: 288px;
}

.content :is(h1, h2, h3, h4, h5, h6) {
    margin-top: 32px !important;
    margin-bottom: 14px !important;
    color: #1f1f1f;
    line-height: 1.3;
}

.content :is(h1, h2, h3, h4, h5, h6):first-child {
    margin-top: 0 !important;
}

.content h4 {
    font-size: 18px !important;
    font-weight: 600 !important;
}

.content h5 {
    font-size: 16px !important;
    font-weight: 600 !important;
}

.content h6 {
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.content p {
    margin-bottom: 16px !important;
    line-height: 1.6;
}

.content :is(strong, b) {
    font-weight: 700;
    color: inherit;
}

.content :is(em, i) {
    font-style: italic;
}

.content mark {
    background: #fde68a;
    padding: 0 4px;
    border-radius: 4px;
}

.content small {
    font-size: 14px;
}

.content :is(sub, sup) {
    font-size: 12px;
}

.content del {
    text-decoration: line-through;
    color: #888;
}

.content :is(ul, ol) {
    margin: 16px 0 16px 1.5em !important;
    padding: 0 !important;
}

.content :is(ul) {
    list-style-type: disc !important;
}

.content :is(ol) {
    list-style-type: decimal !important;
}

.content li {
    font-size: 18px;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.6;
}

.content li::marker {
    color: var(--primary-color);
}

.content li > :is(ul, ol) {
    margin-top: 8px !important;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    overflow-x: auto;
    display: block;
    border-radius: 8px;
}

.content table :is(thead, tbody) {
    display: table;
    width: 100%;
}

.content table th,
.content table td {
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    font-size: 16px;
    color: #000;
    text-align: left;
    vertical-align: top;
}

.content table th {
    background: #9334ea0d;
    font-weight: 600;
    color: #1f1f1f;
}

.content table tr:nth-child(even) td {
    background: #fafafa;
}

.content blockquote {
    border-left: 4px solid var(--primary-color);
    background: #9334ea0d;
    margin: 20px 0;
    padding: 12px 20px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #333;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}

.content :is(code) {
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 16px;
}

.content pre {
    background: #1f1f1f;
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 32px 0;
}
