/* Blog Content Typography Enhancements */

.blog-content {
    /* Override Tailwind prose defaults for better readability */
}

/* Simply exclude movie cards from blog image styling */
.blog-content img:not(.not-prose img):not(.not-prose * img) {
    border-radius: 12px !important;
    margin: 2rem auto !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Movie card custom shadow - even on all sides */
.blog-content .not-prose .movie-card-shadow {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4) !important;
}

.blog-content .not-prose .movie-card-shadow:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6) !important;
}

/* Base typography improvements (exclude movie cards) */
.blog-content p:not(.not-prose p):not(.not-prose * p) {
    font-size: 1.125rem !important; /* 18px */
    line-height: 1.5 !important;
    margin-bottom: 1.5rem !important;
    color: #d1d5db !important; /* matches text-gray-300 */
}

/* Enhanced heading styles - Mobile first, responsive */
.blog-content h1:not(.not-prose h1):not(.not-prose * h1) {
    font-size: 1.875rem !important; /* 30px mobile */
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 1.5rem 0 1rem 0 !important;
    color: #ffffff !important;
}

.blog-content h2:not(.not-prose h2):not(.not-prose * h2) {
    font-size: 1.5rem !important; /* 24px mobile */
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 1.5rem 0 1rem 0 !important;
    color: #ffffff !important;
}

.blog-content h3:not(.not-prose h3):not(.not-prose * h3) {
    font-size: 1.25rem !important; /* 20px mobile */
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 1.25rem 0 0.75rem 0 !important;
    color: #ffffff !important;
}

.blog-content h4:not(.not-prose h4):not(.not-prose * h4) {
    font-size: 1.125rem !important; /* 18px mobile */
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 1rem 0 0.75rem 0 !important;
    color: #f1f5f9 !important;
}

.blog-content h5:not(.not-prose h5):not(.not-prose * h5) {
    font-size: 1rem !important; /* 16px mobile */
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 1rem 0 0.5rem 0 !important;
    color: #f1f5f9 !important;
}

.blog-content h6:not(.not-prose h6):not(.not-prose * h6) {
    font-size: 0.875rem !important; /* 14px mobile */
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 0.75rem 0 0.5rem 0 !important;
    color: #f1f5f9 !important;
}

/* Tablet and desktop heading sizes */
@media (min-width: 768px) {
    .blog-content h1:not(.not-prose h1):not(.not-prose * h1) {
        font-size: 2.75rem !important; /* 44px desktop */
        margin: 2.5rem 0 1.5rem 0 !important;
    }

    .blog-content h2:not(.not-prose h2):not(.not-prose * h2) {
        font-size: 2.25rem !important; /* 36px desktop */
        margin: 2rem 0 1.25rem 0 !important;
    }

    .blog-content h3:not(.not-prose h3):not(.not-prose * h3) {
        font-size: 1.75rem !important; /* 28px desktop */
        margin: 1.75rem 0 1rem 0 !important;
    }

    .blog-content h4:not(.not-prose h4):not(.not-prose * h4) {
        font-size: 1.4rem !important; /* 22.4px desktop */
        margin: 1.5rem 0 1rem 0 !important;
    }

    .blog-content h5:not(.not-prose h5):not(.not-prose * h5) {
        font-size: 1.2rem !important; /* 19.2px desktop */
        margin: 1.25rem 0 0.75rem 0 !important;
    }

    .blog-content h6:not(.not-prose h6):not(.not-prose * h6) {
        font-size: 1.1rem !important; /* 17.6px desktop */
        margin: 1rem 0 0.75rem 0 !important;
    }
}

/* Enhanced links - use Tailwind accent colors (exclude movie cards) */
.blog-content a:not(.not-prose a):not(.not-prose * a) {
    color: #F53C7B !important;
    text-decoration: underline !important;
    text-decoration-color: #F53C7B !important;
    text-underline-offset: 3px !important;
    transition: color 0.2s ease !important;
}

.blog-content a:not(.not-prose a):not(.not-prose * a):hover {
    color: #E42B56 !important;
    text-decoration-color: #E42B56 !important;
}

/* Better list styling */
.blog-content ul {
    margin: 1.5rem 0 !important;
    padding-left: 2rem !important;
}

.blog-content ol {
    margin: 1.5rem 0 !important;
    padding-left: 2rem !important;
}

.blog-content li {
    margin: 0.75rem 0 !important;
    line-height: 1.7 !important;
    font-size: 1.1rem !important;
    color: #e2e8f0 !important;
}

/* Enhanced blockquotes */
.blog-content blockquote {
    border-left: 4px solid #60a5fa !important;
    background-color: #334155 !important;
    margin: 2rem 0 !important;
    padding: 1.5rem 2rem !important;
    border-radius: 8px !important;
    font-style: italic !important;
}

.blog-content blockquote p {
    color: #cbd5e1 !important;
    font-size: 1.1rem !important;
    margin: 0.5rem 0 !important;
}

/* Code styling */
.blog-content pre {
    background-color: #0f172a !important;
    border: 1px solid #475569 !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    margin: 1.5rem 0 !important;
    overflow-x: auto !important;
}

.blog-content code {
    background-color: #334155 !important;
    color: #f1f5f9 !important;
    padding: 0.3rem 0.5rem !important;
    border-radius: 4px !important;
    font-size: 0.95rem !important;
}

.blog-content pre code {
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Table improvements */
.blog-content table {
    background-color: #334155 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin: 1.5rem 0 !important;
}

.blog-content th {
    background-color: #475569 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 1rem !important;
}

.blog-content td {
    padding: 1rem !important;
    border-bottom: 1px solid #475569 !important;
}


/* Horizontal rules */
.blog-content hr {
    border: none !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, #475569, transparent) !important;
    margin: 3rem 0 !important;
}

/* Strong and emphasis */
.blog-content strong,
.blog-content b {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.blog-content em,
.blog-content i {
    color: #f1f5f9 !important;
}

/* Mark/highlight */
.blog-content mark {
    background-color: #fbbf24 !important;
    color: #1f2937 !important;
    padding: 0.2rem 0.4rem !important;
    border-radius: 4px !important;
}

/* First paragraph enhancement */
.blog-content > p:first-child {
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    color: #f1f5f9 !important;
    margin-bottom: 2rem !important;
}

