.rkit-post-grid-body {
    padding: 20px 30px 30px 30px;
    z-index: 2;
    position: relative;
    width: 100%;
}

.rkit-post-block-card {
    background-color: #F7F7F7;
}

.rkit-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.rkit-image-link {
    display: block;
    width: 100%;
}

.rkit-post-grid-card {
    background-color: #e9e9e9;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.rkit-w-50 {
    width: 50%;
}

.rkit-image-container {
    position: relative;
}

.rkit-post-grid-img {
    transition: all 0.5s;
    object-fit: cover;
    object-position: center;
    width: 100% !important;
    height: 100% !important;
}

.rkit-post-grid-card:hover .rkit-post-grid-img {
    transform: scale(1.1);
    overflow: hidden;
}

.rkit-metadata,
.rkit-metadata a {
    color: gray;
}

.rkit-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;

}

.rkit-float-metawrapper-date {
    position: absolute;
    bottom: -10px;
    right: 10px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    width: 3rem;
    background-color: #00cea6;
}

.rkit-float-metawrapper-date>span {
    display: flex;
    justify-content: center;
    flex-direction: column;
    line-height: 1;

}

.rkit-float-metawrapper-date>span>strong {
    font-size: large;
}

.rkit-floating-category {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    font-size: 12px;
    z-index: 2;
    gap: 0.5rem;
}

.rkit-readmore-div {
    display: flex;
}

.rkit-readmore-div .rkit-readmore-btn .rkit-icon-readmore {
    width: unset;
    height: unset;
    margin: 0;
}

.rkit-post-grid .has-animation {
    overflow: hidden;
    position: relative;
}

.rkit-post-grid .has-animation::before {
    transition: all 0.3s ease;
}


/* 1.hover-filled-slide-down */
.rkit-post-grid .rkit-readmore-btn.hover-filled-slide-down::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    height: 0%;
    width: 100%;
}

.rkit-post-grid .rkit-readmore-btn.hover-filled-slide-down:hover::before {
    height: 100%;
}

/* 2.hover-filled-slide-up */
.rkit-post-grid .rkit-readmore-btn.hover-filled-slide-up::before {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    width: 100%;
}

.rkit-post-grid .rkit-readmore-btn.hover-filled-slide-up:hover::before {
    height: 100%;
}

/* 3.hover-filled-slide-left */
.rkit-post-grid .rkit-readmore-btn.hover-filled-slide-left::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 0%;
}

.rkit-post-grid .rkit-readmore-btn.hover-filled-slide-left:hover::before {
    width: 100%;
}

/* 4. hover-filled-slide-right */
.rkit-post-grid .rkit-readmore-btn.hover-filled-slide-right::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 0%;
}

.rkit-post-grid .rkit-readmore-btn.hover-filled-slide-right:hover::before {
    width: 100%;
}

.rkit-post-grid .rkit-readmore-btn.hover-filled-opacity::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 1;
}

.rkit-post-grid .rkit-readmore-btn.hover-filled-opacity:hover::before {
    opacity: 0;
}

.rkit-post-grid .has-animation .btn-text,
.rkit-post-grid .has-animation .rkit-icon-readmore  {
    position: relative;
    z-index: 2;
}


.rkit-post-grid .btn-text,
.rkit-post-grid .rkit-icon-readmore  {
    transition: inherit;
}

.rkit-post-grid .rkit-readmore-btn:not(.has-animation):hover
/* , .rkit-post-grid [type=button].rkit-readmore-btn:not(.has-animation):hover  */
{
    background-color: #00cea6;
    color: black;
}

.rkit-post-grid .rkit-readmore-btn {
    background-color: #535353;
    border-radius: 0;
    padding: 16px 32px 16px 32px;
    text-align: center;
    font-size: 15px;
    color: white;
    transition: all 0.5s;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.rkit-post-grid .rkit-readmore-btn.has-animation::before {
    background-color: #00cea6;
    color: black;
}


.rkit-metadata-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}


.rkit-post-grid .rkit-post-grid-body.rkit-post-grid-highlight-border::before {
    content: "";
    display: block;
    height: 50%;
    width: 2px;
    background: #ff712b;
    position: absolute;
    z-index: 999;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    left: 0;
}

.rkit-post-grid-title-container {
    margin: 10px 0px 10px 0px;
}

.rkit-post-grid-title {
    font-size: 20px;
    font-weight: 700;
    color: black;
}

.rkit-post-grid-paragraph {
    margin: 0px 0px 30px 0px;
}

@media only screen and (max-width:1024px) {
    .rkit-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width:767px) {
    .rkit-post-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .rkit-post-grid-card {
        flex-direction: column !important;
    }

    .rkit-w-50 {
        width: 100%;
    }
}