.entry-title {
    margin-bottom: 28px;
    font-weight: 700 ;
    color: var(--color-9);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5 {
    color: var(--color-9);
}

.entry-content h3 {
    font-size: 20px;
}

.entry-content a {
    color: var(--color-9);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 2px;
    transition: color 0.3s ease-out, text-decoration-color 0.3s ease-out;
}

.entry-content a:hover {
    color: var(--color-9);
    text-decoration-color: currentColor;
}

.single-post-wrap {
    padding-top: 31px;
}

.single-post-wrap .entry-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.entry-meta .author-avatar {
    width: 48px;
    font-size: 0;
}

.single-post-wrap .meta-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-post-wrap .meta-details .author {
    font-weight: 500;
    font-size: 16px;
}

.single-post-wrap .meta-details .author a {
    color: var(--color-5);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 1px;
    transition: color 0.3s ease-out, text-decoration-color 0.3s ease-out;
}

.single-post-wrap .meta-details .author a:hover {
    text-decoration-color: currentColor;
}

.single-post-wrap .meta-details .date-read-time {
    font-weight: 500;
    font-size: 14px;
    color: rgba(134, 134, 134, 1);
}

.post-thumbnail {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    border-radius: 24px;
}

.entry-content img {
    border-radius: 24px;
}

.entry-content .wp-block-image.size-full img {
    aspect-ratio: 4 / 2.74;
    object-fit: cover;
}

.entry-content .wp-block-group .wp-block-image img {
    aspect-ratio: 1 / 2.28;
    object-fit: cover;
}

.post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

.post-thumbnail .post-categories-overlay {
    position: absolute;
    top: 32px;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 2;
}

.post-thumbnail .category-badge {
    min-height: 33px;
    align-content: center;
    display: inline-block;
    padding: 6px 17px 5px;
    border-radius: 50px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    background: linear-gradient(0deg, #006C57, #006C57), linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.post-thumbnail .category-badge:hover {
    transform: scale(1.05);
    opacity: 0.9;
    color: #ffffff;
}

.article-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.post-content {
    grid-area: 2 / 1 / 3 / 3;
}

.toc-sidebar {
    flex-shrink: 0;
    position: sticky;
    top: 200px;
}

.toc-title {
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 600;
}

.toc-track {
    position: relative;
    padding: 2px 0 0 24px;
}

.toc-track::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--color-2);
}

.toc-indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 20px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    background-color: var(--color-6);
    transition: top 0.3s ease;
    z-index: 1;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 24px;
}

.toc-list a {
    display: block;
    font: 700 16px 'Garbata', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.2px;
    color: var(--color-9);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 2px;
    transition: color 0.3s ease-out, text-decoration-color 0.3s ease-out;
}

.toc-list a:hover {
    color: var(--color-9);
    text-decoration-color: currentColor;
}

.entry-content .wp-block-group {
    margin-bottom: 46px;
}

.entry-content li {
    position: relative;
    padding-left: 22px;
}

.entry-content ul li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-7);
}

.entry-content ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.entry-content ol li {
    position: relative;
    padding-left: 20px;
}

.entry-content ol li::before {
    counter-increment: item;
    content: counter(item) ".";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--color-7);
}

.entry-content p,
.entry-content li {
    font-size: 16px;
    line-height: 1.36;
}

.entry-content li:not(:nth-last-child(1)),
.entry-content p:not(:nth-last-child(1)) {
    margin-bottom: 22px;
}

.post-content .entry-content ul li,
.post-content .entry-content ol li {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-2);
}

.post-content .entry-content ol li strong:nth-child(1),
.post-content .entry-content ul li strong:nth-child(1) {
    display: inline-block;
    margin-bottom: 9px;
}

.wp-block-image {
    margin-bottom: 37px;
}

.wp-block-heading {
    margin-bottom: 14px;
}

h2.wp-block-heading:nth-child(2) {
    margin-bottom: 42px;
}

.wp-block-list {
    margin-bottom: 24px;
}

.wp-block-quote {
    position: relative;
    padding: 25px 32px;
    font-weight: 700;
    border-radius: 16px;
    background: var(--color-3);
}

.wp-block-quote:not(:nth-last-child(1)) {
    margin-bottom: 24px;
}

.wp-block-list + .wp-block-quote {
    margin-top: 48px;
}

.wp-block-quote::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 20px;
    width: 1px;
    height: calc(100% - 48px);
    background: var(--color-9);
}

.nav-links {
    display: flex;
    gap: 8px;
    margin-top: 46px;
}

.nav-links > div,
.nav-links a {
    width: 100%;
}

.posts-navigation span {
    min-height: 65px;
    font-size: 18px;
}

.social-share {
    margin-top: 45px;
}

.social-share .toc-title {
    margin-bottom: 18px;
}

.social-share .heateor_sss_sharing_container .heateor_sss_sharing_ul {
    display: flex;
    gap: 12px;
}

.social-share .heateor_sss_sharing_container .heateor_sss_sharing_ul a {
    width: 42px;
    height: 42px;
    margin: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--color-6) !important;
    transition: 0.3s all;
}

.social-share .heateor_sss_sharing_container .heateor_sss_sharing_ul a:hover {
    background: var(--color-6) !important;
}

.social-share .heateor_sss_sharing_container .heateor_sss_sharing_ul a::after {
    content: "";
    width: 20px;
    height: 20px;
    display: block;
    filter: invert(31%) sepia(100%) saturate(3880%) hue-rotate(349deg) brightness(95%) contrast(98%);
}

.social-share .heateor_sss_sharing_container .heateor_sss_sharing_ul a:hover::after {
    filter: invert(100%) sepia(42%) saturate(341%) hue-rotate(102deg) brightness(122%) contrast(99%);
}
.social-share .heateor_sss_sharing_container .heateor_sss_sharing_ul a.heateor_sss_facebook::after {
    background: url("../../images/icon-facebook.svg") no-repeat center/contain;
}

.social-share .heateor_sss_sharing_container .heateor_sss_sharing_ul a.heateor_sss_button_instagram::after {
    background: url("../../images/icon-instagram.svg") no-repeat center/contain;
}

.social-share .heateor_sss_sharing_container .heateor_sss_sharing_ul a.heateor_sss_button_pinterest::after {
    background: url("../../images/icon-pinterest.svg") no-repeat center/contain;
}

.social-share .heateor_sss_sharing_container .heateor_sss_sharing_ul a.heateor_sss_whatsapp::after {
    background: url("../../images/icon-whatsapp.svg") no-repeat center/contain;
}

.social-share .heateor_sss_sharing_container .heateor_sss_sharing_ul a.heateor_sss_button_facebook_messenger::after {
    background: url("../../images/icon-messenger.svg") no-repeat center/contain;
}

.social-share .heateor_sss_sharing_container .heateor_sss_sharing_ul a span {
    display: none !important;
}

.related-posts-swiper .swiper-slide {
    height: auto;
}

.related-posts-swiper .post-card {
    height: 100%;
}

@media screen and (min-width: 420px) {
    .social-share .heateor_sss_sharing_container .heateor_sss_sharing_ul a {
        width: 52px;
        height: 52px;
    }
}

@media screen and (min-width: 750px) {

    .entry-content h3 {
        font-size: 28px;
    }

    .single-post-wrap {
        padding-top: 47px;
    }
    
    .wp-block-quote {
        padding: 36px 48px;
    }

    .wp-block-quote::before {
        top: 36px;
        left: 36px;
        height: calc(100% - 72px);
    }

    .entry-content .wp-block-image.size-full img {
        aspect-ratio: 4 / 2.15;
    }

    .entry-content .wp-block-group .wp-block-image img {
        aspect-ratio: 1 / 1.11;
    }

    .related-posts {
        padding: 98px 0 15px;
    }

    .related-posts .related-posts-swiper {
        margin: 11px -24px 0;
        padding: 0 24px;
    }

    .related-posts-swiper .post-card {
        padding-bottom: 0;
    }

    .related-posts-swiper .post-card-thumbnail {
        padding-top: 72%;
    }

    .related-posts-swiper .post-card-title {
        margin: 0 0 19px 0;
    }

    .meta-text--time-read {
        display: inline;
    }

    .post-card-body {
        padding-bottom: 18px;
    }

    .social-share {
        margin-top: 63px;
    }
}

@media screen and  (min-width: 990px) {
    .post-content,
    .article-post {
        display: grid;
        grid-template-columns: 352px minmax(0, 1fr);
        gap: 50px 48px;
    }

    .social-share .heateor_sss_sharing_container .heateor_sss_sharing_ul {
        gap: 8px;
    }

    .entry-content .wp-block-image.size-full img,
    .entry-content .wp-block-group img {
        aspect-ratio: none;
    }

    .related-posts .related-posts-swiper {
        margin: 18px 0 0;
        padding: 0;
    }
}

@media screen and (max-width: 989px) {
    .breadcrumbs {
        margin-bottom: 39px;
    }

    .article-post > header {
        margin-bottom: 31px;
    }

    .entry-meta .author-avatar img {
        width: 48px;
        height: 48px;
    }

    .post-thumbnail {
        margin-bottom: 35px;
    }

    .post-thumbnail img {
        aspect-ratio: 4 / 2.31;
        object-fit: cover;
    }

    .entry-content {
        padding-top: 68px;
    }

    .related-posts-swiper .swiper-slide {
        max-width: 297px;
    }

    .related-posts__header {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    .related-posts__nav {
        display: flex;
        gap: 8px;
        padding-bottom: 9px;
    }

    .related-posts__nav .slider-nav-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        color: #ffffff;
        background-color: #ee3b24;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .related-posts__nav .slider-nav-btn:hover:not(.swiper-button-disabled) {
        background-color: #d82c16;
    }

    .related-posts__nav .slider-nav-btn.swiper-button-disabled {
        cursor: not-allowed;
        color: #a0a0a0;
        background-color: #f0f0ea;
        opacity: 1;
    }

    .related-posts__nav .slider-nav-btn span {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

}

@media screen and (max-width: 749px) {
    .article-post > header {
        margin-bottom: 24px;
    }

    .post-thumbnail {
        margin-bottom: 28px;
    }

    .post-thumbnail img {
        aspect-ratio: 4 / 2.96;
    }

    .related-posts {
        display: none;
    }

    .wp-block-group.is-nowrap {
        flex-wrap: wrap;
    }

    .entry-content .wp-block-group .wp-block-image img {
        aspect-ratio: 4 / 2.74;
        width: 100%;
    }
}