/* Blog Listing */
main #latestpost {
    padding: 0 0 164px;
    padding-top: 195px;
}
.tmdcategories h1 {
    margin: 0;
    text-align: center;
    letter-spacing: 0;
    color: #000F2D;
}
.tmdcategories {
    z-index: 1;
    position: relative;
}
.tmdcategories.cate-fixed {
    position: sticky;
    background: #fff;
    top: var(--header-height);
    z-index: 3;
}
.tmdcategories.cate-fixed:after {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    left: 0;
    background: #F0E6E159;
    pointer-events: none;
}
.tmdcategories .list-group {
    margin-top: 34px;
    flex-wrap: wrap;
    padding-bottom: 33px;
}
.tmdcategories .list-group .list-group-item {
    border: none;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.5px;
    letter-spacing: 0.05em;
    margin: 0 43.5px;
    color: #000F2D;
    background: transparent;
}
.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: #000F2D;
    text-decoration: none;
}
.tmdcategories .list-group .list-group-item.list-group-item:before {
    content: "";
    width: 0;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #000F2D;
    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: -12px;
    margin-right: -12px;
}
.blog-latest .row > *,
#latestpost #content .row > * {
    padding-left: 12px;
    padding-right: 12px;
}
#latestpost .product-layout .short-desc p {
    margin-bottom: 0;
}
#latestpost .product-layout .short-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 16px;
    color: #000F2D;
    font-size: 14px;
    font-weight: 300;
    line-height: 17.07px;
    letter-spacing: 0.05em;
}
main #latestpost .product-thumb {
    margin: 0;
    padding: 0;
    position: static;
}
main #latestpost .product-thumb .caption {
    padding: 0 12px;
    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: 21px;
    padding-bottom: 59.19%;
}
.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: 17.07px;
    letter-spacing: 0.05em;
    color: #000F2D;
}
.blog-latest .product-thumb .blog-categories a:hover,
#latestpost .product-thumb .blog-categories a:hover {
    text-decoration: underline;
}
#latestpost .product-layout .blog-full-link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}
.blog-latest .product-thumb a {
    text-decoration: none;
}

.blog-categories .list-inline {
    margin-bottom: 8px;
}
#latestpost .product-thumb .caption .blog-title {
    margin: 8px 0 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #000F2D;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.05em;
    text-transform: none;
}
#latestpost .product-thumb .datebox {
    display: none;
}
#latestpost .pagination {
    display: flex;
    justify-content: center;
    margin-top: 123px;
    gap: 20px;
    margin-bottom: 0;
}
#latestpost .pagination .page-item .page-link::before {
    content: '';
    background: currentColor;
    width: 0%;
    height: 1px;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all 0.3s ease;
}
#latestpost .pagination .page-item:hover .page-link::before,
#latestpost .pagination .page-item.active .page-link::before {
    width: 100%;
}
#latestpost .pagination .page-item .page-link {
    font-size: 16px;
    font-weight: 300;
    line-height: 19.5px;
    letter-spacing: 0.05em;
    padding: 0 3.53px;
    background: transparent;
    border: none;
    color: #1D1D1D;
    min-width: 13.5px;
    text-align: center;
    outline: none;
    box-shadow: none;
    position: relative;
}
/* #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 .btn:hover {
    background-color: #ffffff;
    color: #000000;
}
#latestpost .blog-item:hover .button.secondary:after {
    right: -10px;
}
#latestpost .blog-item {
    position: relative;
    padding-bottom: 55px;
    margin-top: 61px;
}
#latestpost .product-thumb .caption .read-more {
    position: absolute;
    bottom: 0;
    right: 22px;
}
#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 */
.insider-blog-detail .blog-detail-bottom {
    margin-top: -3px;
}
.insider-blog-detail .blog-info {
    display: flex;
    gap: 16px;
}
main #latestpost.insider-blog-detail::after,
.insider-blog-detail .blog-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    max-width: 1376px;
    width: 100%;
    height: 1px;
    left: 50%;
    transform: translateX(-50%);
    background: #D9D9D9;
}
.insider-blog-detail .blog-heading {
    position: relative;
    padding-bottom: 24px;
}
.insider-blog-detail .date-publish,
.insider-blog-detail .blog-categories {
    font-size: 14px;
    font-weight: 300;
    line-height: 17.07px;
    letter-spacing: 0.05em;
    color: #000F2D;
}
.insider-blog-detail .blog-categories a {
    letter-spacing: inherit;
}
.insider-blog-detail .date-publish{
    color: #878A8C;
}
main #latestpost.insider-blog-detail {
    padding: 229px 0 60px;
    overflow: hidden;
    position: relative;
    margin-bottom: 118px;
}
#latestpost .headtitle {
    position: static;
    margin-bottom: 49px;
    background: transparent;
}
#latestpost.insider-blog-detail .headtitle {
    text-align: left;
    margin: 23px 0 0;
}
.insider-blog-detail h1 {
    margin: 0;
    color: #000F2D;
}
.insider-blog-detail .image.listimg {
    padding-bottom: 43.334%;
}
.insider-blog-detail .blog-navigation a.link::before {
    display: none;
}
.insider-blog-detail .blog-navigation a:hover span::before {
    transform: scaleX(1);
    transform-origin: left;
}
.insider-blog-detail .blog-navigation a span {
    position: relative;
}
.insider-blog-detail .blog-navigation a span::before {
    content: '';
    background: currentColor;
    width: 100%;
    height: 1px;
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .75s cubic-bezier(.19,1,.22,1);
}
.insider-blog-detail .blog-navigation a {
    font-size: 14px;
    font-weight: 400;
    line-height: 17.07px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 16px;
}
.insider-blog-detail .blog-navigation {
    display: flex;
    align-items: center;
    gap: 60px;
}
.insider-blog-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;
}
.insider-blog-detail #content {
    margin: 60px 0 0;
}
main #latestpost .description {
    font-family: 'Montserrat', 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: 20px;
}
main #latestpost .description p > img {
    margin: 60px 0 61px;
    width: 100%;
    display: block;
    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 h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 17.07px;
    letter-spacing: 0.05em;
    color: #000F2D;
    margin: 0;
    margin-top: 3px;
}
#latestpost.insider-blog-detail .social-icons {
    display: flex;
    align-items: center;
    gap: 32px;
}
#latestpost .social-icons ul.list-inline {
    display: inline-flex;
    align-items: center;
}
#latestpost .social-icons ul.list-inline span,
#latestpost .social-icons ul.list-inline a {
    display: flex;
    background: transparent;
    align-items: center;
    justify-content: center;
}
#latestpost .social-icons ul.list-inline a:hover {
    transform: scale(1.15);
    transition: all .3s;
}
#latestpost .social-icons ul.list-inline li {
    vertical-align: top;
    margin: 0 8px;
    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 (min-width: 1600px) {
    main #latestpost.insider-blog-detail::after, 
    .insider-blog-detail .blog-heading::after {
        max-width: 1776px;
    }
}

@media (max-width: 1415px) {
    main #latestpost.insider-blog-detail::after, 
    .insider-blog-detail .blog-heading::after {
        max-width: calc(100% - 40px);
    }
}
@media (max-width: 1024px) {
    main #latestpost {
        padding: 150px 0 110px;
    }
    main #latestpost.insider-blog-detail {
        padding: 180px 0 50px;
        margin-bottom: 90px;
    }
    .tmdcategories .list-group {
        margin-top: 28px;
        padding-bottom: 25px;
    }
    #latestpost .blog-item {
        padding-bottom: 50px;
        margin-top: 55px;
    }
    main #latestpost .description p > img {
        margin: 50px 0;
    }
    .insider-blog-detail #content {
        margin: 50px 0 0;
    }
    #latestpost .pagination {
        margin-top: 80px;
    }
}

@media (max-width: 767.98px) {
    .tmdcategories.is-sticky {
        opacity: 0;
    }
    .scroll-up .tmdcategories.is-sticky + .tmdcategories-sticky {
        top: 61px;
    }
    .tmdcategories.is-sticky + .tmdcategories-sticky {
        opacity: 1;
    }
    .tmdcategories-sticky {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0 20px;
        border-top: 1px solid #D9D9D9;
        background: #fff;
        opacity: 0;
        transition: all .3s;
    }
    .tmdcategories .list-group {
        margin-top: 0;
        padding: 20px 0;
        gap: 15px;
    }
    .tmdcategories .list-group .list-group-item {
        margin: 0;
    }
    main #latestpost .product-thumb .caption {
        padding: 0;
    }
    main #latestpost {
        padding: 132px 0 119px;
    }
    .tmdcategories h1 {
        margin: 0 0 21px;
    }
    #latestpost .product-layout .short-desc {
        -webkit-line-clamp: 3;
    }
    #latestpost .blog-item {
        padding-bottom: 55px;
        margin-top: 35px;
    }
    main #latestpost #content {
        margin-top: 4px;
    }
    #latestpost .product-thumb .caption .read-more {
        right: 10px;
    }
    #latestpost .pagination {
        margin-top: 45px;
    }
    main #latestpost.insider-blog-detail {
        padding: 121px 0 59px;
        margin-bottom: 147px;
    }
    .insider-blog-detail h1 {
        font-size: 32px;
        line-height: 39.01px;
    }
    main #latestpost.insider-blog-detail #content {
        margin: 61px 0 0;
    }
    main #latestpost .description p > img {
        margin: 59px 0 61px;
    }
    #latestpost.insider-blog-detail .social-icons {
        gap: 24px;
    }
    .insider-blog-detail .blog-detail-bottom {
        margin-top: -2px;
    }
    .insider-blog-detail .blog-navigation {
        margin-top: 41px;
        justify-content: space-between;
    }
    .tmdcategories .list-group-horizontal > .list-group-item + .list-group-item.active {
        margin: 0;
    }
}