/**
 * Single Post Content Styles
 * Ensures clear distinction between headings, paragraphs, and lists.
 */

.blog-content {
    font-family: 'Lato', sans-serif;
    color: #2D1B45;
    line-height: 1.6;
    font-size: 18px;
}

/* Headings */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    color: #2D1B45;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content h2 { font-size: 2.25rem; } /* ~36px */
.blog-content h3 { font-size: 1.875rem; } /* ~30px */
.blog-content h4 { font-size: 1.5rem; }    /* ~24px */
.blog-content h5 { font-size: 1.25rem; }   /* ~20px */

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

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

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

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

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

.blog-content li::marker {
    color: #BA70C7;
    font-weight: bold;
}

/* Links */
.blog-content a {
    color: #BA70C7;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.blog-content a:hover {
    color: #341852;
}

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

.blog-content figure {
    margin: 2rem 0;
}

.blog-content figcaption {
    text-align: center;
    font-size: 14px;
    color: #868686;
    margin-top: 0.5rem;
}

/* Blockquotes */
.blog-content blockquote {
    border-left: 4px solid #F3B7FD;
    padding: 1rem 0 1rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #341852;
    background: #FFFAFF;
}

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

.blog-content th,
.blog-content td {
    padding: 12px;
    border: 1px solid #DCDCDC;
    text-align: left;
}

.blog-content th {
    background: #F2EEFD;
    color: #341852;
    font-weight: 700;
}
