/* Blog Listing */
main #latestpost {
    padding: 0;
    margin-bottom: 110px;
}
.tmdcategories {
    margin-bottom: -4px;
    background-color: #ffffff;
    z-index: 1;
    position: relative;
}
.tmdcategories.cate-fixed {
    position: sticky;
    top: var(--header-height);
}
.tmdcategories .list-group {
    margin-top: 43px;
    flex-wrap: wrap;
    padding-bottom: 12px;
}
.tmdcategories .list-group .list-group-item {
    border: none;
    padding: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 23.74px;
    margin: 0 50px;
    color: #000000;
}
.tmdcategories .list-group-horizontal > .list-group-item + .list-group-item.active {
    margin: 0 50px;
}
.tmdcategories .list-group .list-group-item.active, 
.tmdcategories .list-group .list-group-item:hover {
    background: transparent;
    color: inherit;
    text-decoration: none;
}
.tmdcategories .list-group .list-group-item.list-group-item:before {
    content: "";
    width: 0;
    height: 1px;
    position: absolute;
    bottom: 2px;
    left: 0;
    border-bottom: 1px solid #000000;
    transition: width .4s;
}
.tmdcategories .list-group .list-group-item.list-group-item:hover:before, 
.tmdcategories .list-group .list-group-item.list-group-item.active:before {
    width: 100%;
}
.blog-latest .row,
#latestpost #content .row {
    margin-left: -16px;
    margin-right: -16px;
}
.blog-latest .row > *,
#latestpost #content .row > * {
    padding-left: 16px;
    padding-right: 16px;
}
#latestpost .product-layout {
    margin-top: 39px;
}
main #latestpost .product-thumb {
    margin: 0;
    padding: 0;
}
main #latestpost .product-thumb .caption {
    padding: 0;
    min-height: 0;
}
#latestpost .product-thumb a {
    text-decoration: none;
}
.product-thumb .image img {
    transition: all 0.75s;
}
.product-thumb:hover .image img {
    transform: scale(1.1);
}
.product-thumb .image {
    overflow: hidden;
}
.blog-latest .product-thumb .image ,
#latestpost .product-thumb .image {
    margin-bottom: 16px;
    padding-bottom: 65.4%;
}
.blog-latest .product-thumb .image img,
#latestpost .product-thumb .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-categories {
    font-size: 14px;
    font-weight: 300;
    line-height: 18.46px;
    min-height: 18.46px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.blog-latest .product-thumb .blog-categories a:hover,
#latestpost .product-thumb .blog-categories a:hover {
    text-decoration: underline;
}
.blog-latest .product-thumb a {
    text-decoration: none;
}

.blog-categories .list-inline {
    margin-bottom: 8px;
}
#latestpost .product-thumb .caption h4 {
    text-transform: capitalize;
    margin-bottom: 11px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 42px;
    max-height: 42px;
}
#latestpost .product-thumb .datebox {
    display: none;
}
#latestpost .pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 0;
}
#latestpost .pagination .page-item .page-link {
    font-size: 16px;
    font-weight: 300;
    line-height: 21.1px;
    padding: 0;
    background: transparent;
    border: none;
    color: #000000;
    min-width: 27px;
    text-align: center;
    outline: none;
    box-shadow: none;
}
#latestpost .pagination .page-item.active .page-link {
    text-decoration: underline;
}
#latestpost .pagination .page-item-dots {
    padding: 0 7px;
}
.feature-posts.hide-featured {
    display: none;
}
#latestpost .feature-posts .product-thumb .image {
    width: 66.031%;
    order: 2;
    margin: 0;
    padding-bottom: 43.334%;
}

#latestpost .feature-posts .product-thumb {
    display: flex;
    flex-wrap: wrap;
}
#latestpost .feature-posts .product-thumb .caption {
    width: 33.969%;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 34px 24px 32px;
}
#latestpost .feature-posts .product-thumb .caption .caption-bottom {
    margin-top: auto;
}
#latestpost .feature-posts .product-thumb .caption a {
    color: #ffffff;
}
#latestpost .feature-posts .product-thumb .caption .btn {
    border-color: #ffffff;
}
#latestpost .feature-posts .product-thumb .caption .btn:hover {
    background-color: #ffffff;
    color: #000000;
}
#latestpost .feature-posts .product-thumb .caption .read-more {
    margin-top: 32px;
}
#latestpost .feature-posts .product-thumb .caption .blog-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 21.1px;
    text-align: left;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
#latestpost .feature-posts .product-thumb .caption .blog-categories {
    font-size: 16px;
    margin-bottom: 19px;
}
#latestpost .feature-posts .product-thumb .caption h5 {
    text-transform: capitalize;
}

/* Blog Detail */
.journal-detail .blog-categories {
    font-size: 16px;
    line-height: 21.1px;
    letter-spacing: 0.1em;
    margin: -2px 0 21px;
}
#latestpost .headtitle {
    position: static;
    margin-bottom: 49px;
}
.journal-detail .headtitle {
    max-width: 1086px;
    margin-left: auto;
    margin-right: auto;
}
.journal-detail .image.listimg {
    padding-bottom: 43.334%;
}
.journal-detail .image.listimg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#latestpost .headtitle .blog-categories .list-inline {
    margin-bottom: 21px;
}
.journal-detail #content {
    max-width: 858px;
    margin: 46px auto 0;
}
main #latestpost .description {
    font-family: 'Roboto Mono', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    text-align: left;
}
#latestpost .description h5 {
    text-transform: capitalize;
    margin-bottom: 26px;
}
main #latestpost .description p {
    margin-bottom: 24px;
}
main #latestpost .description p > img {
    margin: 26px 0 27px;
    aspect-ratio: 1.63525;
    height: auto !important;
}
main #latestpost .description img {
    object-fit: cover;
    object-position: center;
    max-width: 100%;
}
main #latestpost .description table {
    margin: 40px -10px;
    width: 100% !important;
    border: none;
}
main #latestpost .description table td {
    padding: 10px;
    padding: 10px 10px;
}
main #latestpost .description table td img {
    aspect-ratio: 0.79802;
    height: auto !important;
}
#latestpost .social-icons {
    margin-top: 48px;
}
#latestpost .social-icons h5 {
    display: inline-block;
    text-transform: uppercase;
    line-height: 23.74px;
    margin: 0;
}
#latestpost .social-icons ul.list-inline {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}
#latestpost .social-icons ul.list-inline span,
#latestpost .social-icons ul.list-inline a {
    width: 32px;
    height: 32px;
    display: flex;
    background-color: #000000;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}
#latestpost .social-icons ul.list-inline li {
    vertical-align: top;
    margin: 0 12px;
    position: relative;
}
#latestpost .social-icons ul.list-inline li .link-copied-text {
    position: absolute;
    white-space: nowrap;
    top: 100%;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    display: none;
}
#latestpost .social-icons ul.list-inline li.active .link-copied-text {
    display: block;
}
#latestpost .social-icons ul.list-inline a i {
    width: auto;
    height: auto;
    background: transparent;
    color: #ffffff;
    line-height: 1;
    padding: 0;
    margin: 0;
}
.blog-latest {
    background-color: #F0F0F0;
    margin-top: 122px;
    margin-bottom: -140px;
    padding: 76px 0 124px;
    position: relative;
    z-index: 1;
}
.blog-latest h2 {
    margin-top: 0;
    margin-bottom: 10px;
}
.blog-latest .product-thumb {
    margin-top: 32px;
}
.blog-latest .product-thumb .image {
    position: relative;
    margin-bottom: 16px;
}
.blog-latest .product-thumb h4 {
    text-transform: capitalize;
    margin-bottom: 32px;
}
.blog-overlay,
.list-group-label {
    display: none;
}

@media (max-width: 767px) {
    #latestpost #content .row.feature-posts {
        margin-left: -20px;
        margin-right: -20px;
    }

    .product-thumb .btn {
        transition: none;
    }
    
    #latestpost #content .row.feature-posts > div {
        padding: 0;
    }
    
    #latestpost .feature-posts .product-thumb .image {
        width: 100%;
        order: -1;
    }
    
    #latestpost .feature-posts .product-thumb .caption {
        width: 100%;
        padding: 12px 20px 18px;
    }
    
    #latestpost .feature-posts .product-thumb .image {
        padding-bottom: 65.385%;
    }
    
    #latestpost .feature-posts .product-thumb .caption .blog-categories {
        font-size: 14px;
        line-height: 18.46px;
        margin-bottom: 9px;
    }
    
    #latestpost .feature-posts .product-thumb .caption h5 {
        font-size: 18px;
        line-height: 23.74px;
        margin-bottom: 10px;
    }
    
    #latestpost .feature-posts .product-thumb .caption .blog-description {
        font-size: 14px;
        font-weight: 300;
        line-height: 18.46px;
    }
    
    #latestpost .feature-posts .product-thumb .caption .btn {
        font-size: 16px;
        font-weight: 400;
        line-height: 21.1px;
        padding: 7px 15.5px;
    }
    
    #latestpost .feature-posts .product-thumb .caption .read-more {
        margin-top: 22px;
    }
    #latestpost .feature-posts .product-layout {
        margin-bottom: 40px;
        margin-top: 0;
    }    
    #latestpost .product-layout {
        margin-bottom: 30px;
    }
    #latestpost .product-thumb .caption h4 {
        margin-bottom: 17px;
    }
    main #latestpost {
        margin-bottom: 88px;
    }
    #latestpost .pagination {
        margin-top: 50px;
        margin-bottom: 0;
    }
    .list-group-label {
        display: flex;
        justify-content: center;
        font-size: 16px;
        font-weight: 400;
        line-height: 21.1px;
        text-align: center;
        margin: 25px 0 0;
        border-top: 1px solid #000000;
        border-bottom: 1px solid #000000;
        padding: 15px 35px 12px;
        height: 50px;
        position: relative;
    }
    .list-group-label:after {
        content: '';
        width: 12px;
        height: 9px;
        position: absolute;
        right: 20px;
        top: 50%;
        margin-top: -4px;
        background-image: url(../../images/arrow-down.svg);
        background-repeat: no-repeat;
        background-position: center;
        z-index: 1;
        transition: all 0.35s;
    }
    .list-group-label.active:after {
        transform: rotate(-180deg);
    }
    .list-group-label .list-group-item:not(.active) {
        display: none;
    }
    
    .tmdcategories .list-group .list-group-item.active {
        display: none;
    }
    .list-group-wrapper {
        position: relative;
    }
    .tmdcategories .list-group {
        margin: 0;
        flex-direction: column;
        padding: 8px 0 13px;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-radius: 0;
    }
    .overlay-container .blog-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
        display: block;
    }
    .overlay-container {
        position: relative;
    }
    .tmdcategories .list-group .list-group-item {
        display: block;
        padding: 12px 0;
        font-size: 14px;
        font-weight: 300;
        line-height: 18.46px;
    }    
    .tmdcategories .list-group .list-group-item,
    .tmdcategories .list-group-horizontal > .list-group-item + .list-group-item.active {
        margin: 0 20px;
    }
    .tmdcategories {
        margin: 0 -20px;
    }
    .blog-categories {
        font-size: 12px;
        line-height: 15.83px;
    }
    .product-thumb .btn {
        font-size: 14px;
        font-weight: 300;
        line-height: 18.46px;
        text-align: center;
        padding: 2.8px 7.2px;
    }    
    .blog-latest .product-thumb h4 {
        padding-right: 0;
        margin-bottom: 16px;
    }
    .journal-detail .blog-categories {
        margin-top: -6px;
        font-size: 14px;
        line-height: 18.46px;
        margin-bottom: 17px;
    }
    
    #latestpost .headtitle .blog-categories .list-inline {
        margin-bottom: 17px;
    }
    #latestpost.journal-detail {
        margin-bottom: 64px;
    }
    .journal-detail  h1 {
        line-height: 36.93px;
    }
    
    .journal-detail .image.listimg {
        margin: 0 -20px;
        padding-bottom: 48.3%;
    }
    
    #latestpost.journal-detail .headtitle {
        margin-bottom: 27px;
    }
    
    #latestpost .description h5 {
        font-size: 14px;
        line-height: 18.46px;
        margin-bottom: 24px;
        text-align: left;
    }
    
    .journal-detail #content {
        margin: 32px auto 0;
    }
    
    main #latestpost .description {
        font-size: 14px;
        line-height: 21px;
    }
    main #latestpost .description p {
        margin-bottom: 21px;
    }
    main #latestpost .description p br {
        display: none;
    }
    main #latestpost .description p > img {
        margin: 33px 0 31px;
    }
    
    main #latestpost .description table {
        margin: 21px 0;
    }
    
    main #latestpost .description table td {
        display: block;
        padding: 10px 0;
    }
    
    #latestpost .social-icons ul.list-inline span, 
    #latestpost .social-icons ul.list-inline a {
        width: 24px;
        height: 24px;
    }
    
    #latestpost .social-icons ul.list-inline svg {
        max-width: 14px;
        max-height: 14px;
    }
    #latestpost .social-icons ul.list-inline a.copy_link svg {
        max-width: 16.5px;
    }
    #latestpost .social-icons ul.list-inline a.email svg {
        max-width: 12px;
    }
    #latestpost .social-icons ul.list-inline a.addthis_button_facebook svg {
        max-height: 15px;
    }
    #latestpost .social-icons ul.list-inline a.addthis_button_twitter svg {
        max-width: 13px;
    }
    #latestpost .social-icons ul.list-inline {
        margin-left: 6px;
    }
    
    #latestpost .social-icons ul.list-inline li {
        margin: 0 10px;
    }
    
    #latestpost .social-icons {
        margin-top: 46px;
    }

    .blog-latest {
        margin-top: 63px;
        margin-bottom: -88px;
        padding: 43px 0 87px;
    }
    .blog-latest h2 {
        margin-bottom: 4px;
    }
}