/*
 * Dynamic Blog Content Styles
 * Theme: BindasLook.com (Modern Minimalist)
 * Fonts: 'DM Sans', 'Playfair Display'
 */

/* Main Wrapper */
.blog-content {
    font-family: 'DM Sans', sans-serif;
    color: #475569;
    /* slate-600 */
    line-height: 1.8;
    font-size: 1.125rem;
    /* 18px */
}

/* Dark Mode Overrides */
.dark .blog-content {
    color: #cbd5e1;
    /* slate-300 */
}

/* Headings */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    font-family: 'Playfair Display', serif;
    color: #0f172a;
    /* slate-900 */
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.dark .blog-content h1,
.dark .blog-content h2,
.dark .blog-content h3,
.dark .blog-content h4,
.dark .blog-content h5,
.dark .blog-content h6 {
    color: #f8fafc;
    /* slate-50 */
}

.blog-content h1 {
    font-size: 2.25rem !important;
}

.blog-content h2 {
    font-size: 1.875rem !important;
}

.blog-content h3 {
    font-size: 1.5rem !important;
}

.blog-content h4 {
    font-size: 1.25rem !important;
}

/* Links */
.blog-content a {
    color: #ea580c;
    /* orange-600 (Primary) */
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.blog-content a:hover {
    color: #c2410c;
    /* orange-700 */
}

.dark .blog-content a {
    color: #f97316;
    /* orange-500 */
}

.dark .blog-content a:hover {
    color: #fb923c;
    /* orange-400 */
}

/* Images */
.blog-content img {
    border-radius: 1rem;
    margin: 2rem auto;
    display: block;
    max-width: 100%;
    height: auto;
}

/* Lists */
.blog-content ul,
.blog-content ol {
    margin: 1.5em 0 1.5em 2em;
    padding-left: 0;
}

.blog-content ul {
    list-style: disc outside;
}

.blog-content ol {
    list-style: decimal outside;
}

.blog-content li {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}

.blog-content ul li::marker,
.blog-content ol li::marker {
    color: #ea580c;
    /* Primary marker */
}

.dark .blog-content ul li::marker,
.dark .blog-content ol li::marker {
    color: #f97316;
}

/* Blockquotes */
.blog-content blockquote {
    border-left: 4px solid #ea580c;
    background: #f8fafc;
    /* slate-50 */
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 0.5rem 0.5rem 0;
    color: #334155;
    /* slate-700 */
}

.dark .blog-content blockquote {
    background: #1e293b;
    /* slate-800 */
    color: #cbd5e1;
    /* slate-300 */
    border-left-color: #f97316;
}

/* Tables */
.blog-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    /* slate-200 */
    border-radius: 0.5rem;
    overflow: hidden;
}

.dark .blog-content table {
    border-color: #334155;
    /* slate-700 */
}

.blog-content table th,
.blog-content table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.dark .blog-content table th,
.dark .blog-content table td {
    border-bottom-color: #334155;
}

.blog-content table th {
    background-color: #f1f5f9;
    /* slate-100 */
    font-weight: 700;
    color: #334155;
}

.dark .blog-content table th {
    background-color: #1e293b;
    /* slate-800 */
    color: #cbd5e1;
}

/* Code Blocks */
.blog-content pre {
    background: #1e293b;
    /* slate-800 */
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    color: #f8fafc;
    font-family: monospace;
}

.dark .blog-content pre {
    background: #0f172a;
    /* slate-900 */
    border: 1px solid #334155;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-content>* {
    animation: fadeInUp 0.6s ease-out;
}