.emts-post-item {
    /* margin-bottom: 20px; */
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 5px;
}
.emts-post-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
}
.emts-post-title {
    font-size: 18px;
    margin: 10px 0;
}
.emts-post-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 0;
}
.emts-post-tags a {
    display: inline-block;
    margin-right: 5px;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
}
.emts-read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #0073e6;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

.emts-posts-grid {
    display: grid;
}

.emts-grid-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media screen and (max-width: 1024px) {
    .emts-grid-columns-2 {
        grid-template-columns: repeat(1, 1fr);
    }
    
}

.emts-grid-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.emts-grid-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.emts-grid-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.emts-posts-list {
    display: block;
}

.emts-post-item {
    border: 1px solid #ddd;
    padding: 15px;
}

.emts-posts-list .emts-post-item {
    margin-bottom: 30px;
}
.emts-posts-list .emts-post-item:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 479px) {
    .emts-post-meta {
        display: flex;
        align-items: start;
        flex-direction: column;
        justify-content: flex-start;
        text-align: start;
    }

    .emts-post-meta .meta-date {
        margin-left: 60px;
    }

    .emts-post-meta .meta-divider {
        display: none;
    }

    .emts-comment-list .comment .reply {
        margin-top: 0;
    }

    .emts-comment-list>li.comment .comment-body+.children {
        padding: 0
    }

    .emts-comment-list .children .comment {
        padding: 20px 0;
    }

    .comment .comment-author img {
        width: 30px;
    }

    .emts-comment-list .comment .reply a {
        line-height: 1;
    }
}





/* Blog Style */
.emts-posts-widget.one .emts-post-item { background-color: var(--primarycolor); position: relative; padding: 30px; border-radius: 0; border-color: #f5f3ef80; }
.emts-posts-widget.one .emts-post-item .emts-post-category > a { font-size: 14px; font-family: var(--secondaryfont); border: 1px solid #f5f3ef80; padding: 10px 30px; border-radius: 10px;  }
.emts-posts-widget.one .emts-post-item .emts-post-category { line-height: 1; display: flex; }
.emts-posts-widget.one .emts-post-item .emts-post-meta-author { display: flex; align-items: center; gap: 10px; }
.emts-posts-widget.one .emts-post-item .emts-post-meta-group .emts-post-meta-author .emts-author-name { font-family: var(--secondaryfont) !important; }
.emts-posts-widget.one .emts-post-item .emts-post-title a { font-family: var(--secondaryfont); font-size: clamp(1.375rem, 1.2596rem + 0.5128vw, 1.875rem); /* 30px to 22px */ line-height: 1.2; }
.emts-posts-widget.one .emts-post-item .emts-post-meta-group .emts-post-meta-author > img { border-radius: 50%; }
.emts-posts-widget.one .emts-post-item .emts-post-title { margin: 0; }
.emts-posts-widget.one .emts-post-item .emts-post-excerpt { color: var(--accenttxtcolor); transition: all 0.3s ease-out;  }
.emts-posts-widget.one .emts-post-item:hover .emts-post-excerpt { color: var(--primarycolor); }
.emts-posts-widget.one .emts-post-item .emts-read-more {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 15px;
    position: relative;
    background-color: var(--accenttxtcolor);
    color: var(--primarycolor);
    /* position: absolute;
    font-size: 0;
    width: clamp(2.5rem, 1.9952rem + 2.2436vw, 4.6875rem);
    height: clamp(2.5rem, 1.9952rem + 2.2436vw, 4.6875rem);
    border-radius: clamp(0.625rem, 0.4808rem + 0.641vw, 1.25rem);
    right: 60px;
    top: auto;
    bottom: 12%;
    left: auto;
    margin: auto; */
}

/* .emts-posts-widget.one .emts-post-item .emts-read-more:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: calc(100% - clamp(1.5625rem, 1.4183rem + 0.641vw, 2.1875rem));
    height: calc(100% - clamp(1.5625rem, 1.4183rem + 0.641vw, 2.1875rem));
    background-color: currentColor;
    -webkit-mask-image: url("https://yellowgreen-spoonbill-134365.hostingersite.com/wp-content/uploads/2025/08/right-1.webp");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    -webkit-mask-size: cover;
    mask-image: url("https://yellowgreen-spoonbill-134365.hostingersite.com/wp-content/uploads/2025/08/right-1.webp");
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: cover;
    transition: all 0.3s ease-out; 
}    */

.emts-posts-widget.one .emts-post-item:hover .emts-read-more {
    background-color: var(--primarycolor);
    color: var(--accenttxtcolor);
}

/* @media screen and (min-width:480px) {
    .emts-posts-widget.one .emts-post-item>*:not(.emts-post-image):not(.emts-read-more) {
        padding-right: 8rem;
    }
} */

.emts-posts-widget.one .emts-post-item .emts-post-image {
    margin-bottom: 30px;
}

.emts-posts-widget.one .emts-post-item .emts-post-title a,
.emts-posts-widget.one .emts-post-item .emts-post-category>a,
.emts-posts-widget.one .emts-post-item .emts-post-meta-group .emts-post-meta-author .emts-author-name {
    color: var(--accenttxtcolor);
    transition: all 0.3s ease-out;
}

.emts-posts-widget.one .emts-post-item {
    transition: all 0.3s ease-out;
}

.emts-posts-widget.one .emts-post-item:hover {
    background-color: var(--accenttxtcolor);
    border-color: var(--primarycolor);
}

.emts-posts-widget.one .emts-post-item:hover .emts-post-title a,
.emts-posts-widget.one .emts-post-item:hover .emts-post-category>a,
.emts-posts-widget.one .emts-post-item:hover .emts-post-meta-group .emts-post-meta-author .emts-author-name {
    color: var(--primarycolor);
}

.emts-posts-widget.one .emts-post-item:hover .emts-post-category>a {
    border-color: var(--primarycolor);
}

.elementor-widget-emts_recent_posts .emts-post-item .emts-post-category { display: none !important; }

.emts-posts-widget.one .emts-post-item:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    background-color: #F5F3EF08;
    backdrop-filter: blur(5.55px);
    z-index: -1;
}

@media screen and (max-width:479px) {
    .emts-posts-widget.one .emts-post-item {
        padding-right: 30px;
    }

    .emts-posts-widget.one .emts-post-item .emts-read-more {
        right: 30px;
        bottom: 30px;
        top: auto;
    }

    .gform-theme--foundation .gform_fields {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}