/* Blog Content Styles - Scoped to .blog-content */

/* Images: Full width and responsive */
.blog-content img {
    width: 100%;
    height: 400px;
    max-width: 100%;
    display: block;
    margin: 1.5rem 0;
    object-fit: cover;
}

@media (min-width: 768px) {
    .blog-content img {
        height: auto;
    }
}

/* Paragraphs: Better readability */
.blog-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #374151; /* gray-700 */
}

/* Headings: Proper hierarchy */
.blog-content h1 {
    font-size: 2.25rem; /* 36px */
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: #111827; /* gray-900 */
}

.blog-content h2 {
    font-size: 1.875rem; /* 30px */
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2937; /* gray-800 */
}

.blog-content h3 {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1f2937; /* gray-800 */
}

/* Lists: Better spacing and bullet points */
.blog-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style-type: disc; /* Restore bullet points */
}

.blog-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style-type: decimal; /* Restore numbers */
}

.blog-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    display: list-item; /* Ensure bullets show */
}

/* Nested lists */
.blog-content ul ul {
    list-style-type: circle;
    margin-top: 0.5rem;
}

.blog-content ul ul ul {
    list-style-type: square;
}

/* Links: Styled and accessible */
.blog-content a {
    color: #3b82f6; /* blue-500 */
    text-decoration: underline;
    transition: color 0.2s;
}

.blog-content a:hover {
    color: #2563eb; /* blue-600 */
}

/* Blockquotes: Styled for emphasis */
.blog-content blockquote {
    border-left: 4px solid #3b82f6; /* blue-500 */
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6b7280; /* gray-500 */
}

/* Code blocks: Monospace styling */
.blog-content pre {
    background-color: #f3f4f6; /* gray-100 */
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

/* Tables: Better presentation */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.blog-content th,
.blog-content td {
    border: 1px solid #e5e7eb; /* gray-200 */
    padding: 0.75rem;
    text-align: left;
}

.blog-content th {
    background-color: #f9fafb; /* gray-50 */
    font-weight: 600;
}
