/* Base styles for the blog content */
.blog-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    line-height: 1.7;
    color: #374151; /* Dark gray text */
    font-size: 1rem;
}

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

/* Headings */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    font-weight: bold;
    color: #111827; /* Very dark gray/black */
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content h2 {
    font-size: 1.75rem;
}

.blog-content h3 {
    font-size: 1.5rem;
}

.blog-content h4 {
    font-size: 1.25rem;
}

/* Paragraphs */
.blog-content p {
    font-size: 1rem;
}

/* Lists */
.blog-content ul,
.blog-content ol {
    margin-left: 1.5rem;
    padding-left: 0;
}

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

.blog-content ol {
    list-style-type: decimal;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

/* Blockquotes */
.blog-content blockquote {
    border-left: 0.25rem solid #cbd5e0; /* Light blue accent */
    padding-left: 1rem;
    font-style: italic;
    color: #718096; /* Medium gray */
    margin-left: 0;
    margin-right: 0;
}

/* Code blocks */
.blog-content pre {
    background-color: #f7fafc; /* Very light gray */
    padding: 1rem;
    border-radius: 0.25rem;
    overflow-x: auto;
    font-size: 0.9rem;
    font-family: monospace;
}

.blog-content code {
    font-family: monospace;
    font-size: 0.9rem;
    background-color: #edf2f7; /* Light gray */
    color: #2d3748; /* Dark gray */
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
}

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

/* Images */
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
    margin: 1rem 0;
}

/* Strong and emphasis */
.blog-content strong {
    font-weight: 600; /* Semi-bold */
}

.blog-content em {
    font-style: italic;
}

/* Links */
.blog-content a {
    color: #3b82f6; /* Blue link color */
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

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

/* Horizontal rules */
.blog-content hr {
    border-top: 1px solid #e0e6ed; /* Light gray border */
    margin: 2rem 0;
}

/* Responsive adjustments (optional, but good practice) */
@media (max-width: 768px) {
    .blog-content {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .blog-content h2 {
        font-size: 1.5rem;
    }

    .blog-content h3 {
        font-size: 1.25rem;
    }
}