/* 
    Created on : Sep 27, 2021, 6:54:44 PM
    Author     : duongca
*/
section.irow{
    background-color: #fff;
}
.header-section .post-image{
    height: 445px;
    background-position: center;
    background-size: cover;
    margin-top: 60px;
}
.back-to-main {
    padding: 20px 1rem;
}
.back-to-main a{
    display: none;
}
.header-section .post-title{
    color: var(--colors-base-black);
    font-style: normal;
    font-weight: 600;
    letter-spacing: -1.2px;
    padding: 0;
    margin: 0;
    word-break: break-word;
}
.blog-detail-page{
    background: #fff;
}
.blog-detail-page section.irow .section-inner {
    padding: 0 2rem;
}
.post-content-wrap {
    display: flex;
    gap: 60px;
    margin-top: 96px;
    padding: 0 50px;
    color: #666;
    line-height: 28px;
}
.post-intro-sidebar{display: none;}
.post-intro-content{
    margin-bottom: 30px;
}
.post-content-sidebar {
    position: relative;
}
.post-content-sidebar .post-content-sidebar-inner{
    flex: 0 0 auto;
    width: 280px;
    display: flex;
    gap: 32px;
    flex-direction: column;
    position: sticky;
    top: 32px;
    padding-bottom: 135px;
}
.person-info{
    display: flex;
    gap: 10px;
    align-items: center;
}
.header-section .person-info,
.post-content-inner ul.social-share-items{
    display: none;
}
.post-content-inner ul.social-share-items{
    margin-bottom: 100px;
}
.avatar{
    width: 36px;
    height: 36px;
    overflow: hidden;
    position: relative;
    border-radius: 50%;
    color: var(--colors-grey-200);
}
.avatar .avatar-img{
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}
.person-info .info-name{
    color: var(--colors-grey-900);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
}
.person-info .info-date{
    color: var(--colors-grey-600);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}
ul.social-share-items{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
}
ul.social-share-items li a{
    width: 40px;
    height: 40px;
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid var(--colors-grey-300);
    background: var(--colors-base-white);
    font-size: 20px;
    color: var(--colors-grey-400);
}
.post-content-sidebar  .divider-line{
    border-top: solid 1px var(--colors-grey-200);
}
.post-content-sidebar .table-content{
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px 0;
    border-top: solid 1px var(--colors-grey-200);
    border-bottom: solid 1px var(--colors-grey-200);
}
.post-content-sidebar .table-content .table-content-title{
    color: var(--colors-base-black);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    margin: 0;
}
.post-content-sidebar .table-content .t-item{
    color: var(--colors-base-black);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    display: flex;
    gap: 10px;
    align-items: baseline;
}
.post-content-sidebar .table-content a{
    color: var(--colors-base-black);
    text-decoration: underline;
}
.post-content-sidebar .table-content .t-item:hover,
.post-content-sidebar .table-content a:hover,
.post-content-sidebar .table-content a.active{
    color: var(--colors-primary-500);
}
.post-content-inner{
    flex-grow: 1;
    font-style: normal;
    font-weight: 300;
    line-height: 35px;
    width: calc(100% - 340px);
    font-size: 15px;
}
.post-content-inner ul li {
    margin: 10px 0;
}
.post-content-inner a{
    font-weight: 600;
    text-decoration: underline;
}
.post-content-inner .post-cats{
    display: flex;
    gap: 8px;
    margin: 48px 0 135px;
    padding: 24px 0 0;
    border-top: 1px solid var(--colors-grey-200);
    flex-wrap: wrap;
}
.post-content-inner .post-cats li{
    display: flex;
    padding: 2px 8px;
    align-items: center;
    border-radius: 16px;
    background: var(--colors-grey-100);
    mix-blend-mode: multiply;
    color: var(--colors-grey-700);
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
}
.post-content-inner hr{
    margin: 32px 0;
}
.post-content-inner h2,
.post-content-inner h3,
.post-content-inner h4,
.post-content-inner h5,
.post-content-inner h6{
    color: var(--colors-darkgrey-800);
    font-style: normal;
    font-weight: 600;
    margin: 40px 0 20px;
    font-size: 20px;
    line-height: 24px;
}
.post-content-inner h1{
    font-size: 24px;
    line-height: 38px;
}
.post-content-inner h3{
    font-size: 17px;
}
.post-content-inner img{
    border-radius: 12px;
}
.post-content-inner figure{
    padding: 48px 0;
}
.post-content-inner .wp-caption .wp-caption-text{
    color: var(--colors-darkgrey-500);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    background: transparent;
    padding: 16px 0 0;
}
.page-blog-sidebar{
    display: none;
}
.related-post{
    padding-bottom: 50px;
    margin-top: 75px;
}
.related-post .block-title{
    color: var(--colors-darkgrey-800);
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: -0.96px;
    margin-bottom: 44px;
}
.related-post .owl-theme .owl-nav{
    justify-content: center;
}
.related-post .owl-theme .owl-nav [class*=owl-]{
    font-size: 20px;
}

@media (max-width: 980px){
    .header-section .post-image{
        height: 250px;
    }
}
@media (max-width: 720px){
    .back-to-main{
        position: sticky;
        top: 0;
        background: #fff;
    }
    .post-intro-sidebar{display: block;}
    .post-intro-content{display: none;}
    .back-to-main a{
        display: flex;
    }
    .page-blog-sidebar{
        display: flex;
        margin: 0 0 50px 0;
    }
    .post-content-wrap{
        flex-direction: column;
        padding: 0;
    }
    .post-content-wrap.no-table-content{
        margin-top: 0;
    }
    .post-content-wrap.no-table-content .post-content-sidebar-inner{
        display: none;
    }
    .post-content-sidebar .post-content-sidebar-inner, .post-content-inner{
        width: 100%;
        padding-bottom: 0;
    }
    .blog-detail-page section.irow .section-inner{
        padding: 0 1rem;
    }
    .blog-detail-page .wp-caption.alignnone{
        margin: 0;
        max-width: 100%;
    }
    .header-section .person-info,
    .post-content-inner ul.social-share-items{
        display: flex;
    }
    .header-section .person-info{
        margin: 32px 0 40px;
    }
    .post-content-sidebar-inner .person-info,
    .post-content-sidebar-inner ul.social-share-items{
        display: none;
    }
    .post-content-inner .post-cats{
        margin-bottom: 24px;
    }
    .header-section .post-image{
        margin-top: 0;
    }
    .post-content-sidebar .table-content{
        padding: 32px 20px;
        background: var(--colors-grey-50);
        border: solid 1px var(--colors-grey-50);
        border-radius: 5px;
    }
}
@media (max-width: 480px){
    .header-section .post-image{
        height: 200px;
    }
    .related-post-items{
        flex-direction: column;
    }
}