.el-post-block-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .el-post-block-wrap {
        grid-template-columns: 1fr;
    }
}

.el-post-block-small .el-post-block-card {
    display: block;
}

.el-post-block-small .el-post-block-card:not(:last-of-type) {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.el-post-block-card:not(.is-large-post) {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    gap: 20px;
}

.el-post-card-thumb {
    display: block;
    width: 100%;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
}

.el-post-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05) translateX(0);
    transition: all .8s cubic-bezier(.5, 1, .89, 1);
}

.el-post-block-card:hover .el-post-card-thumb img {
    transform: scale(1.05) translateX(2%);
}

.el-post-card-content {
    position: relative;
}

.el-post-card-content .el-post-date {
    position: absolute;
    right: 20px;
    top: -20px;
}

.el-post-card-content .el-post-date time {
    background-color: #F8C32C;
    color: #164333;
    height: 40px;
    display: inline-flex;
    align-items: center;
    column-gap: 15px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding-right: 15px;
    border-radius: 2px;
    overflow: hidden;
}

body.rtl .el-post-card-content .el-post-date time{
    padding-right: 0;
    padding-left: 15px;
}

.el-post-card-content .el-post-date time.updated{
    display: none;
}

.el-post-card-content .el-post-date time span {
    background-color: var(--agrox-primary-color, #43aa5c);
    color: var(--agrox-white-color, #fff);
    font-size: 24px;
    font-weight: 600;
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.el-post-card-title {
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
}

.el-post-block-card:not(.is-large-post) .el-post-card-title {
    font-size: 22px;
}

.el-post-card-title a {
    color: var(--agrox-dark-color, #164333);
}

.el-post-card-title a:hover {
    color: var(--agrox-primary-color, #43aa5c);
}

.el-post-card-content .post-meta {
    line-height: 1;
    margin-bottom: 15px;
}

.el-post-card-content .post-meta a {
    font-family: var(--agrox-secodary-font, 'DM Sans');
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    text-transform: capitalize;
    color: var(--agrox-grey-color, #666);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease-in-out;
}

.el-post-card-content .post-meta a:not(:last-of-type) {
    margin-right: 15px;
}

body.rtl .el-post-card-content .post-meta a:not(:last-of-type) {
    margin-left: 15px;
    margin-right: 0;
}

.el-post-card-content .post-meta a:hover {
    color: var(--agrox-primary-color, #43aa5c);
}

.el-post-card-content .post-meta a i {
    color: var(--agrox-primary-color, #43aa5c);
    font-size: 15px;
    margin-top: -2px;
}

/* Large Post */
.is-large-post .el-post-card-thumb {
    height: 300px;
}

.is-large-post .el-post-card-content {
    padding-top: 30px;
}

@media (max-width: 767px) {
    .is-large-post .el-post-card-thumb {
        height: 230px;
    }
}

@media (max-width: 600px) {
    .el-post-block-card:not(.is-large-post){
        grid-template-columns: 1fr;
    }
    .el-post-block-card:not(.is-large-post) .el-post-card-thumb{
        height: 180px;
    }
}