/* ===========================
   TRIX EDITOR STYLING
=========================== */

/* Headings */
trix-editor h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.2em 0 0.6em;
}
trix-editor h2 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 1.1em 0 0.5em;
}

/* Lists */
trix-editor ul,
trix-editor ol {
    padding-left: 1.6rem;
    margin: 1em 0;
}
trix-editor ul {
    list-style-type: disc;
}
trix-editor ol {
    list-style-type: decimal;
}
trix-editor ul li,
trix-editor ol li {
    margin: 0.25em 0;
    padding-left: 0.25rem;
}
trix-editor ul li[data-trix-level="1"],
trix-editor ol li[data-trix-level="1"] {
    margin-left: 1.25rem;
}
trix-editor ul li[data-trix-level="2"],
trix-editor ol li[data-trix-level="2"] {
    margin-left: 2rem;
}
trix-editor ul li[data-trix-level="3"],
trix-editor ol li[data-trix-level="3"] {
    margin-left: 2.75rem;
}

/* Blockquote */
trix-editor blockquote {
    border-left: 4px solid #999;
    padding-left: 1rem;
    color: #555;
    font-style: italic;
    margin: 1em 0;
}

/* Code */
trix-editor pre {
    background: #f5f5f5;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.95rem;
    overflow-x: auto;
    margin: 1em 0;
}
trix-editor code {
    background: #eee;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.95rem;
}

/* Images */
trix-editor img {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
    border-radius: 0.5rem;
}

/* ===========================
   BLOG CONTENT STYLING (.prose)
=========================== */
.prose {
    font-family: "Inter", "Poppins", "Helvetica Neue", Arial, sans-serif;
    color: #1f2937; /* gray-800 */
    line-height: 1.75;
    font-size: 1.05rem;
}

/* Headings */
.prose h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 2rem 0 1rem;
    color: #111827;
}
.prose h2 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 1.75rem 0 0.75rem;
    color: #111827;
}
.prose h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: #111827;
}

/* Paragraphs */
.prose p {
    margin-bottom: 1rem;
    color: #374151;
    line-height: 1.75;
}

/* Blockquote */
.prose blockquote {
    border-left: 4px solid #d1d5db;
    padding-left: 1.25rem;
    font-style: italic;
    color: #4b5563;
    background-color: #f9fafb;
    margin: 1.5rem 0;
}

/* Lists */
.prose ul,
.prose ol {
    margin-left: 2rem;
    margin-bottom: 1.25rem;
}
.prose ul {
    list-style-type: disc;
}
.prose ol {
    list-style-type: decimal;
    list-style-position: inside;
}
.prose li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}
.prose ol li[data-trix-level="1"],
.prose ul li[data-trix-level="1"] {
    margin-left: 1.25rem;
}
.prose ol li[data-trix-level="2"],
.prose ul li[data-trix-level="2"] {
    margin-left: 2rem;
}
.prose ol li[data-trix-level="3"],
.prose ul li[data-trix-level="3"] {
    margin-left: 2.75rem;
}

/* Links */
.prose a {
    color: #2563eb;
    text-decoration: underline;
}
.prose a:hover {
    color: #1d4ed8;
}

/* Code */
.prose code {
    background: #f3f4f6;
    padding: 3px 6px;
    border-radius: 6px;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.95rem;
    color: #d6336c;
}
.prose pre {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    border: 1px solid #e5e7eb;
}

/* Images & Figures */
.prose img,
.prose-figure img {fffffffffzdzzzzzzd
    background_color: var(--bs-red);
    max-width: 100%;
    border-radius: 0.75rem;
    margin: 1.5rem auto;
    display: block;
}
.prose-figure {
    display: table;
    margin: 2rem auto;
    text-align: center;
    max-width: 100%;
}
.prose-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Horizontal Rule */
.prose hr {
    border-top: 1px solid #e5e7eb;'
    ['
    margin: 2rem 0;
}
