/* === Post Content + TOC Section === */
html {
    scroll-behavior: smooth;
}

.post-content {
    padding-bottom: 44px;
}

.post-content .container {
    display: flex;
    gap: 131px;
}

.post-content__body {
    flex: 1 1 873px;
    min-width: 0;
    border-top: 1px solid #85A6A5;

    padding-top: 50px;
    padding-bottom: 108px;
    border-bottom: 1px solid #85A6A5;
}

.post-content__toc {
    flex: 0 0 316px;
    position: sticky;
    top: -10px;
    align-self: flex-start;
    padding-top: 111px;
}

.toc-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 155%;
    color: black;
    margin-bottom: 8px;
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav li {
    margin: 0;
}

.toc-nav a {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 155%;
    color: black;
    padding: 4px 0;
    text-decoration: none;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.toc-nav a:hover {
    color: var(--color-jungle-green);
}

.toc-nav a.active {
    color: var(--color-jungle-green);
    font-weight: 600;
}

/* Entry Content — styles for the_content() output */
.entry-content h2 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 28px;
    line-height: 137%;
    color: black;
    margin-top: 44px;
    margin-bottom: 22px;
}

.entry-content h2:first-child {
    margin-top: 0;
}

.entry-content h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 137%;
    color: black;
    margin-top: 32px;
    margin-bottom: 16px;
    color: #3A5E5D;
}

.entry-content p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 170%;
    color: black;
    margin-bottom: 22px;
}

.entry-content ul,
.entry-content ol {
    padding-left: 24px;
    margin-bottom: 22px;
    list-style: revert;
    color: black;

}

.entry-content li {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 170%;
    color: black;
    margin-bottom: 8px;
}

.entry-content strong {
    font-weight: 600;
}

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

.entry-content img {
    border-radius: 20px;
    margin: 32px 0;
    height: auto!important;
    max-height: 480px !important;
    width: auto;
}

.entry-content blockquote {
    border-left: 3px solid var(--color-jungle-green);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
}

.entry-content blockquote p {
    margin-bottom: 0;
}

.entry-content a {
    color: var(--color-jungle-green);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.entry-content a:hover {
    opacity: 0.8;
}

.entry-content figure {
    margin: 32px 0;
}

.entry-content figcaption {
    font-size: 14px;
    color: #3A5E5D;
    margin-top: 8px;
    text-align: center;
}

@media (max-width: 1024px){
    .post-content__toc{
        border-bottom: none!important;
        border-top: 1px solid rgba(21, 58, 57, 0.2);
        width: 100%;
        padding: 40px 0 0 0!important;
    }
}

@media (max-width: 680px){
    section.bottom-content-single-post {
        .meta-box {
            align-items: flex-start;
            gap: 20px;
            img{
                width: 100px;
                height: 100px;
            }
        }
    }
}

@media (max-width:  550px){
    section.bottom-content-single-post {
        .meta-box {
            img{
                width: 60px;
                height: 60px;
            }
        }
    }

    section.bottom-content-single-post {
        & .bio {
            .author-box__bio {
                margin-top: 10px;
            }
        }
    }
}