/* Custom Typography Styles for Blog Content */
.blog-content {
    font-family: 'Inter', system-ui, sans-serif;
    color: #374151;
    line-height: 1.8;
    font-size: 1.125rem;
}
.dark .blog-content {
    color: #d1d5db;
}

.blog-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
}
.dark .blog-content h1 { color: #f9fafb; }

.blog-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}
.dark .blog-content h2 { color: #f9fafb; }

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.dark .blog-content h3 { color: #f3f4f6; }

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}
.blog-content a:hover {
    border-bottom-color: #3b82f6;
}

.blog-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid #3b82f6;
    background: #eff6ff;
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
    color: #1e3a8a;
}
.dark .blog-content blockquote {
    background: rgba(59, 130, 246, 0.1);
    color: #bfdbfe;
}

.blog-content ul {
    list-style-type: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.blog-content ul li {
    position: relative;
    margin-bottom: 0.5rem;
}
.blog-content ul li::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.75rem;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background-color: #3b82f6;
}

.blog-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.blog-content ol li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}
.blog-content ol li::marker {
    color: #3b82f6;
    font-weight: 700;
}

.blog-content img {
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin: 2.5rem auto;
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid #f3f4f6;
}
.dark .blog-content img {
    border-color: #374151;
}

/* Tables */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    font-size: 0.95rem;
}
.blog-content th {
    background: #f9fafb;
    color: #374151;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #e5e7eb;
}
.dark .blog-content th {
    background: #374151;
    color: #d1d5db;
    border-bottom-color: #4b5563;
}
.blog-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}
.dark .blog-content td {
    border-bottom-color: #374151;
}

.blog-content pre {
    background: #111827;
    color: #e5e7eb;
    padding: 1.5rem;
    border-radius: 1rem;
    overflow-x: auto;
    margin: 2rem 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #374151;
}

.blog-content code {
    background: #f3f4f6;
    color: #ef4444;
    padding: 0.2rem 0.4rem;
    border-radius: 0.375rem;
    font-size: 0.875em;
    font-family: inherit;
}
.dark .blog-content code {
    background: #374151;
    color: #fca5a5;
}
.blog-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.blog-content hr {
    border: 0;
    height: 1px;
    background: #e5e7eb;
    margin: 3rem 0;
}
.dark .blog-content hr {
    background: #374151;
}
