.prose blockquote {
    border-left-width: 0;
    border-right-width: 0.25rem;
    border-right-color: #bdbdbd;
    padding-left: 0.2em;
    padding-right: 1em;
}

.prose a {
    color: #389fff;
}

.prose ul>li::before {
    right: 0;
    padding-left: 0.25em;
}

.prose ul>li {
    padding-left: 0.1em;
    padding-right: 1.75em;
}

/* TailwindCSS .prose (Typography Plugin) styles */
.prose {
    color: #374151;
    max-width: 65ch;
}

.prose :where(h1):not(:where([class~="not-prose"] *)) {
    font-size: 2.25em;
    margin-top: 0;
    margin-bottom: 0.8888889em;
    font-weight: 800;
    line-height: 1.1111;
}

.prose :where(h2):not(:where([class~="not-prose"] *)) {
    font-size: 1.5em;
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
    line-height: 1.3333;
}

.prose :where(h3):not(:where([class~="not-prose"] *)) {
    font-size: 1.25em;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    font-weight: 600;
    line-height: 1.6;
}

.prose :where(h4):not(:where([class~="not-prose"] *)) {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.5;
}

.prose :where(p):not(:where([class~="not-prose"] *)) {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    line-height: 1.8;
}

.prose :where(a):not(:where([class~="not-prose"] *)) {
    color: #3b82f6;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.prose :where(a):not(:where([class~="not-prose"] *)):hover {
    color: #1d4ed8;
}

.prose :where(strong):not(:where([class~="not-prose"] *)) {
    font-weight: 600;
    color: #111827;
}

.prose :where(ol):not(:where([class~="not-prose"] *)),
.prose :where(ul):not(:where([class~="not-prose"] *)) {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}

.prose :where(li):not(:where([class~="not-prose"] *)) {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 1.75;
}

.prose :where(blockquote):not(:where([class~="not-prose"] *)) {
    font-weight: 500;
    font-style: italic;
    color: #6b7280;
    border-right-width: 0.25rem;
    border-right-color: #e5e7eb;
    quotes: "«" "»";
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    padding-right: 1em;
}

.prose :where(blockquote p):not(:where([class~="not-prose"] *))::before {
    content: open-quote;
}

.prose :where(blockquote p):not(:where([class~="not-prose"] *))::after {
    content: close-quote;
}

.prose :where(img):not(:where([class~="not-prose"] *)) {
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 0.5em;
    max-width: 100%;
    display: block;
}

.prose :where(figcaption):not(:where([class~="not-prose"] *)) {
    color: #6b7280;
    font-size: 0.875em;
    text-align: center;
    margin-top: 0.5em;
}

.prose :where(code):not(:where([class~="not-prose"] *)) {
    color: #111827;
    background: #f3f4f6;
    padding: 0.2em 0.4em;
    border-radius: 0.25em;
    font-size: 0.95em;
}

.prose :where(pre):not(:where([class~="not-prose"] *)) {
    background: #111827;
    color: #f9fafb;
    padding: 1em 1.5em;
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 0.5em;
    overflow-x: auto;
    font-size: 0.95em;
    line-height: 1.8;
}

.prose :where(table):not(:where([class~="not-prose"] *)) {
    width: 100%;
    margin-top: 2em;
    margin-bottom: 2em;
    border-collapse: collapse;
}

.prose :where(th):not(:where([class~="not-prose"] *)),
.prose :where(td):not(:where([class~="not-prose"] *)) {
    border: 1px solid #e5e7eb;
    padding: 0.5em 1em;
}

.prose :where(thead):not(:where([class~="not-prose"] *)) {
    background: #f3f4f6;
}

.prose :where(hr):not(:where([class~="not-prose"] *)) {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 3em 0;
}

.prose :where(dl):not(:where([class~="not-prose"] *)) {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.prose :where(dt):not(:where([class~="not-prose"] *)) {
    font-weight: 600;
}

.prose :where(dd):not(:where([class~="not-prose"] *)) {
    margin-bottom: 1em;
}

.prose :where(mark):not(:where([class~="not-prose"] *)) {
    background-color: #fbbf24;
    color: #111827;
    padding: 0.15em 0.3em;
    border-radius: 0.2em;
}

@media (max-width: 640px) {
    .prose {
        font-size: 0.95rem;
        padding-left: 0.2em;
        padding-right: 0.2em;
    }

    .prose :where(h1):not(:where([class~="not-prose"] *)) {
        font-size: 1.5em;
    }

    .prose :where(h2):not(:where([class~="not-prose"] *)) {
        font-size: 1.2em;
    }

    .prose :where(h3):not(:where([class~="not-prose"] *)) {
        font-size: 1.1em;
    }
}

.fonts-vazir {
    font-family: 'Vazirmatn' !important;
}

[x-cloak] {
    display: none;
}