.hamta-gride-posts {
    display: flex;
    overflow: hidden;
    border-radius: 10px;
    border: 0 solid #2e333d
}

.right-side-gride-post {
    flex: 1.2;
    height: 484px;
    border-left: 2px solid #2e333d
}

.left-side-gride-post {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 484px;
}

.container-gride-post {
    display: flex;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: 0.3s;
    overflow: hidden
}

.container-gride-post .background-thumbnial {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: 0.5s
}

.container-gride-post:hover .background-thumbnial {
    transform: scale(1.05)
}

.container-gride-post img {
    width: 100%;
    display: block
}

.container-gride-post a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2
}

.bottom-left-gride-post {
    display: flex;
    height: 242px;
    border-top: 2px solid #2e333d
}

.bottom-left-gride-post .container-gride-post {
    flex: 1
}

.bottom-left-gride-post .container-gride-post:nth-child(1) {
    border-left: 2px solid #2e333d
}

.details-gride-post {
    position: absolute;
    right: 0;
    width: 100%;
    padding: 100px 20px 10px 10px;
    bottom: 0;
    color: #fff;
    background: linear-gradient(180deg,#ffffff00 0,#000000bd 50%)
}

.details-gride-post h2 {
    margin-bottom: 10px;
    line-height: 25px;
    font-size: 16px
}

.details-gride-post .post-details {
    margin-bottom: 0
}

.details-gride-post .post-details li {
    font-size: 12px;
    white-space: nowrap;
}

.hamta-last-posts-cat {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
}

.article-last-posts-cat {
    width: 31.7%;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.article-last-posts-cat .wp-post-image {
    display: block;
    border-radius: 10px
}

.article-last-posts-cat .post-details {
    background: #f6f8fb;
    border-radius: 16px;
    padding: 4px;
    width: fit-content
}

.bottom-last-posts-cat {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.article-last-posts-cat .post-details {
    margin-bottom: 0
}

.article-last-posts-cat-title {
    margin: 20px 0 30px 0;
    line-height: 26px
}

.article-last-posts-cat-title a {
    transition: 0.3s
}

.article-last-posts-cat-title:hover a {
    color: #000
}

.article-post-author {
    display: flex;
    align-items: center
}

.article-post-author img {
    border-radius: 50%!important;
    margin-left: 8px
}

.article-post-author strong {
    font-size: 14px;
    font-weight: 600;
    color: #666
}

.archive-button-last-posts-cat {
    border-radius: 16px;
    width: 155px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #fff;
    background-color: #3b82f6;
    margin-bottom: 50px;
    transition: 0.3s
}

.archive-button-last-posts-cat:hover {
    background-color: #1169f6
}

.archive-button-last-posts-cat svg {
    margin-right: 5px
}

#hamta-title-box-home .elementor-heading-title {
    position: relative;
    padding: 0 0 10px 0
}

#hamta-title-box-home .elementor-heading-title:before {
    content: '';
    position: absolute;
    width: 8px;
    height: 4px;
    bottom: 0;
    right: 0;
    border-radius: 10px;
    background-color: #3b82f6
}

#hamta-title-box-home .elementor-heading-title:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    bottom: 0;
    right: 10px;
    border-radius: 10px;
    background-color: #3b82f6
}

@media only screen and (max-width: 768px) {
    .hamta-gride-posts {
        flex-direction:column
    }

    .right-side-gride-post {
        flex: inherit
    }

    .left-side-gride-post {
        flex: 1;
        height: auto
    }

    .right-side-gride-post,.left-side-gride-post .container-gride-post,.bottom-left-gride-post {
        height: 180px
    }
    .bottom-left-gride-post .time-reading{display:None;}
    .hamta-last-posts-cat {
        flex-wrap: nowrap;
        overflow: hidden;
        overflow-x: scroll;
        margin-bottom: 10px
    }
    .details-gride-post h2{
    font-size: 14px;
}
    .article-last-posts-cat {
        min-width: 240px;
        margin-left: 25px;
        margin-bottom: 10px
    }

    .article-last-posts-cat .post-details li:nth-child(1) {
        display: none
    }

    .article-last-posts-cat:last-child {
        margin-left: 0
    }

    .article-post-author strong {
        font-size: 12px;
        font-weight: 500
    }

    .archive-button-last-posts-cat {
        transform: scale(.8);
        margin-bottom: 40px
    }
}
