.hidden-artical {
    display: none;
}

.kd-search-posts-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.kd-search-single-post {
    width: 100%;
    /* padding: 15px; */
    -webkit-box-shadow: 0px 0px 24px -7px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 24px -7px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 24px -7px rgba(0, 0, 0, 0.75);
    border: 0px solid;
    border-radius: 5px;
}

#kd-custom-search-first-searh,
#kd-custom-search-second-searh {
    display: flex;
    flex-flow: row wrap;
}

#kd-custom-search-first-searh div,
#kd-custom-search-second-searh div {
    padding: 10px;
    max-width: 25%;
}

#kd-custom-search-first-searh div input,
#kd-custom-search-first-searh div select,
#kd-custom-search-second-searh div input,
#kd-custom-search-second-searh div select {
    padding: 12px;
    ;
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 0;
    display: block;
    width: 100%;
}

#kd-custom-search-first-searh div button,
#kd-custom-search-second-searh div button {
    padding: 12px;
    background-color: #575656;
    color: white;
    display: block;
    border: none;
}

.kd-pposts-pagination {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    list-style: none;
}

.kd-pposts-pagination li {
    padding: 5px;
    margin-top: 5px;
}

.kd-pposts-pagination li a {
    padding: 6px;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.308);
}

@media(max-width:767px) {
    #kd-custom-search-first-searh,
    #kd-custom-search-second-searh {
        flex-flow: column;
    }
    #kd-custom-search-first-searh div,
    #kd-custom-search-second-searh div {
        padding: 10px;
        max-width: 100%;
    }
    .kd-search-single-post {
        width: 100%;
    }
    div#kd-search-posts-wrapper {
        display: flex !important;
    }
}

div#kd-search-posts-wrapper {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 35px;
}

.kd-search-single-post-img {
    overflow: hidden;
    max-height: 200px;
    margin-bottom: 20px;
    border-radius: 5px 5px 0px 0px;
    position: relative;
}

.kd-theme-badge {
    position: absolute;
    background: rgb(255, 230, 0);
    right: 10px;
    top: 10px;
    color: black;
    border-radius: 25px;
    padding: 0 6px;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
}

.kd-search-single-post-content {
    margin-top: 20px;
    padding: 15px;
}

.kd-post-title {
    font-family: "Rubik", Sans-serif;
    font-weight: 600;
    text-decoration: none;
    font-size: 21px;
    color: #54595f;
}

@media(min-width:768px) and (max-width: 1023px) {
    div#kd-search-posts-wrapper {
        align-items: stretch;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 30px;
        grid-row-gap: 35px;
    }
}