.article-title {
    font-family: 'Anek Bangla', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin: 1.25rem 0 1.25rem;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: 0.05em;
    word-spacing: 0.5em;
    position: relative;
    padding-left: 1rem;
}

.article-summary {
    font-family: 'Anek Bangla', sans-serif;
    font-size: 1.15rem;
    line-height: 1.3;
    letter-spacing: 0.05em;
    word-spacing: 0.5em;
}


#post-content-article-html {
    color: #1a1a1a;
    line-height: 2.0;
    font-size: 1.25rem;
    font-family: 'Anek Bangla', sans-serif;
    word-spacing: 0.5em;
    letter-spacing: 0.05em;
    max-width: 100%;
    overflow-wrap: break-word;
}

#post-content-article-html h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 2.5rem 0 1.5rem;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.025em;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

#post-content-article-html h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 2.25rem 0 1.25rem;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: -0.02em;
    position: relative;
    padding-left: 1rem;
}

#post-content-article-html > h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    width: 4px;
    background: #1f1f1f;
    border-radius: 2px;
    opacity: 0.8;
}

#post-content-article-html h3 {
    font-size: 1.575rem; /* slightly smaller for long-article readability */
    font-weight: 600;
    color: #1f2937; /* slate-800 for better contrast */
    line-height: 1.35;
    letter-spacing: -0.01em;
    display: inline-block;
    background: #f8fafc; /* subtle background tag */
    border: 1px solid #e5e7eb; /* light border */
    border-radius: 8px;
    padding: 0.35rem 0.6rem; /* compact tag padding */
}



#post-content-article-html h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.75rem 0 1rem;
    color: #2d2d2d;
    line-height: 1.4;
}

#post-content-article-html h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: #2d2d2d;
    line-height: 1.4;
}

#post-content-article-html h6 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.75rem;
    color: #2d2d2d;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#post-content-article-html p {
    margin: 1.5rem 0;
    color: #4a4a4a;
    line-height: 1.8;
    text-align: justify;
}


/* Images and figures inside post content */
#post-content-article-html img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem auto; /* center images */
}

#post-content-article-html figure {
    margin: 1.25rem 0; /* vertical rhythm for figures */
}

#post-content-article-html figure > img {
    width: 100%;
    height: auto;
}

#post-content-article-html figcaption {
    text-align: center;
    color: #666;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}


@media (max-width: 768px) {
    #post-content-article-html {
        font-size: 1.16rem;
        line-height: 1.6;
    }

    #post-content-article-html h1 {
        font-size: 2rem;
        margin: 2rem 0 1.25rem;
    }

    #post-content-article-html h2 {
        font-size: 1.75rem;
        margin: 1.75rem 0 1rem;
    }

    #post-content-article-html h3 {
        font-size: 1.25rem; /* smaller on mobile */
        margin: 1.25rem 0 0.75rem;
        padding: 0.25rem 0.5rem; /* tighter padding for small screens */
    }

    #post-content-article-html h4 {
        font-size: 1.25rem;
        margin: 1.25rem 0 0.75rem;
    }

    #post-content-article-html h5,
    #post-content-article-html h6 {
        font-size: 1.125rem;
        margin: 1rem 0 0.625rem;
    }

    #post-content-article-html p {
        margin: 2rem 0;
    }

    /* Slightly tighter image margins on small screens */
    #post-content-article-html img {
        margin: 0.75rem auto;
        border-radius: 8px;
    }
}