.custom-article-page{
    width: 100%;
}

.article-thumbnail{
    flex-grow:1;
}

.article-thumbnail img{
    max-height: 500px;
    object-fit:cover;
}

.article-content-wrapper{
    width: 100%;
    display: flex;
    gap: 40px;
    margin-top: 3rem;
}

.article-thumbnail-wrapper{
    display: flex;
    gap: 40px;
}

.article-sidebar, .article-thumbnail-sidebar{
    flex-shrink: 0;
    width: 285px;
}

.article-content{
    flex-grow: 1;
}

.article-content .wd-delimiter::after{
    content: '>';
}

.article-content .wd-breadcrumbs {
    margin-bottom: 1.5rem;
    font-size: 14px;
}

.article-content .wd-breadcrumbs .wd-last{
    color: #0D6EFD;
}

.article-body{
    padding: 2.5rem;
    border: 1px solid #E8E8E8;
    border-radius: 20px;
    line-height:1.8;
}

.latest-articles-title{
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.latest-articles-list{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-title{
    font-size: 36px;
    font-weight: 700;
    color: #000;
}

.article-meta-below-title{
    margin-bottom: 1.5rem;
}

.article-author-box{
    position: relative;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    color: #000;
}

.author-name{
    font-weight: 700;
    font-size: 16px;
}

.author-bio{
    font-weight: 700;
    font-size: 16px;
    text-align:center;
    max-width: 779px;
    margin-top: 1rem;
}

.article-share-buttons{
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-share-buttons-title{
    font-weight: 700;
    font-size: 16px;
    margin-left: 1rem;
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 5px;
}

.article-share-buttons-list{
    display: flex;
    gap: 10px;
} 

.social-instagram {
    background: #E94A6A1A;
}

.social-linkedin { 
    background-color: #0A66C21A; 
}

.social-twitter {
    background-color: #55ACEE1A;
}

.article-related-slider{
    margin: 2rem 0px;
}

.wd-sidebar-opener{
    display:none !important;
}

.article-tags{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.article-tag-item {
    background-color:#EDEDED;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: #808080;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .article-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .article-sidebar{
        width: 100%;
    }
    
    .latest-articles-list{
        align-items: center;
    }
    .latest-articles-list .tf-post-card{
        max-width: 310px;
    }

    .article-body{
        padding: 1.5rem;
    }

    .article-thumbnail-sidebar,.author-avatar, .author-name, .author-bio{
        display:none;
    }

    .article-share-buttons{
        position: static;
        width: 100%;
        justify-content: space-between;
    }

    .article-tags{
        position: static;
        width: 100%;
        align-items: flex-start;
    }

    .article-author-box{
        align-items: stretch;
        gap: 2rem;
    }

    .article-share-buttons-title{
        font-size: 14px;
    }

    .article-content-wrapper{
        margin-top: 1.5rem;
    }

    .article-related-slider{
        display: none;
    }
}