/* Blog Post Page Styles */

/* Force solid black background — no gradients, no interpolation */
html,
body,
main,
article,
section,
header,
footer {
    background-color: #0A0A0A !important;
    background-image: none !important;
}

/* Prose/Content Styling */
.prose {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.prose h2,
.prose h3,
.prose h4 {
    font-family: 'Cormorant Garamond', serif;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #ffffff;
}

.prose h2 {
    font-size: 2em;
    font-weight: 600;
}

.prose h3 {
    font-size: 1.5em;
    font-weight: 600;
}

.prose h4 {
    font-size: 1.25em;
    font-weight: 600;
}

.prose p {
    line-height: 1.75;
    margin-bottom: 1.25em;
    color: #d1d5db;
}

.prose strong {
    font-weight: 600;
    color: #ffffff;
}

.prose a {
    color: #dc2626;
    text-decoration: none;
    transition: all 0.3s ease;
}

.prose a:hover {
    color: #ef4444;
    text-decoration: underline;
}

.prose ul,
.prose ol {
    margin-bottom: 1.25em;
    padding-left: 1.625em;
}

.prose li {
    margin-bottom: 0.5em;
    color: #d1d5db;
}

.prose code {
    background: #27272a !important;
    padding: 0.25em 0.5em;
    border-radius: 0.25em;
    font-size: 0.9em;
    color: #ffffff;
    font-family: 'Space Mono', monospace;
}

.prose blockquote {
    border-left: 4px solid #dc2626;
    padding-left: 1em;
    font-style: italic;
    margin: 1.5em 0;
    color: #d1d5db;
    background-color: transparent !important;
}

.prose table {
    border-collapse: collapse;
    width: 100%;
    margin: 2em 0;
}

.prose th {
    border: 1px solid #3f3f46;
    padding: 0.75em;
    text-align: left;
    background: #27272a !important;
    font-weight: 600;
    color: #ffffff;
}

.prose td {
    border: 1px solid #3f3f46;
    padding: 0.75em;
    color: #d1d5db;
    background-color: transparent !important;
}

/* Breadcrumb */
nav {
    margin-bottom: 1.5rem;
}

/* Featured Post Image */
.post-featured-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-load {
    animation: none;
}

.animate-on-load.animated {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Related Posts */
.blog-post-card {
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
    .prose h2 {
        font-size: 1.75em;
    }

    .prose h3 {
        font-size: 1.25em;
    }

    .prose p {
        font-size: 1rem;
    }
}
