#kd-cs-cats {
    display: flex;
    justify-content: center;
    gap: 33px;
    margin-bottom: 82px;
}
.kd-cs-cat-btn {
    border-radius: 5px;
    border: 1px solid #A40000;
    padding: 13px 30px;
    background-color: transparent;
    color: #A40000;
    text-align: center;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.18px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .3s ease;
}
.kd-cs-cat-btn-active,
.kd-cs-cat-btn:hover {
    color: #fff;
    background-color: #A40000;
}
#kd-cs-container.loading {
    opacity: 0.5;
    pointer-events: none;
}
.kd-cs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.kd-cs-post {
    flex: 0 1 calc(33.3333% - 17px);
}
.kd-cs-thumb {
    display: block;
    height: 221px;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    border: 1px solid #E8E8E8;
    border-bottom: none;
    overflow: hidden;
}
.kd-cs-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s ease;
}
.kd-cs-thumb:hover img {
    transform: scale(1.1);
}
.kd-cs-details {
    height: calc(100% - 221px);
    border-radius: 0 0 5px 5px;
    border: 1px solid #E8E8E8;
    background: #FFF;
    padding: 25px 25px 98px;
    position: relative;
}

.kd-cs-meta {
    color: #A40000;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.12px;
    color: #3A3A3A;
    margin-bottom: 14px;
}

.kd-cs-meta span {
    color: #A40000;
}
.kd-cs-post .kd-cs-details .kd-cs-title {
    color: #000;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.2px;
}
.kd-cs-post .kd-cs-details .kd-cs-title a {
    color: #000;
}
.kd-cs-post .kd-cs-details .kd-cs-title a:hover {
    color: #A40000;
}
.kd-cs-excerpt {
    color: #3A3A3A;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}
.kd-cs-button {
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal; /* 27px */
    text-transform: uppercase;
    border-radius: 5px;
    background: #A40000;
    display: inline-block;
    padding: 8px 50px 7px;
    position: absolute;
    bottom: 32px;
    border: 1px solid #a40000;
}
.kd-cs-button:hover {
    color: #A40000;
    background-color: #fff;
}
.kd-cs-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 13px;
    align-items: center;
}
.kd-cs-page-btn {
    color: #000;
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    background-color: transparent;
    outline: none;
    padding: 0;
    border: 1px solid #E5E5E5;
    width: 29px;
    height: 33px;
    cursor: pointer;
    transition: .3s ease;
}
.kd-cs-page-btn:not(.kd-cs-page-btn-next):not(.kd-cs-page-btn-prev):hover,
.kd-cs-page-btn-active {
    background: #000;
    color: #fff;
}
.kd-cs-page-btn-next,
.kd-cs-page-btn-prev {
    width: auto;
    border: none;
}
.kd-cs-podcast .kd-cs-thumb {
    height: 378px;
}
.kd-cs-podcast .kd-cs-details {
    height: calc(100% - 378px);
}
@media (max-width: 1024px) {
    #kd-cs-cats {
        gap: 15px;
    }
    .kd-cs-grid {
        justify-content: center;
    }
    .kd-cs-post {
        flex: 0 1 calc(50% - 13px);
    }
}
@media (max-width: 767px) {
    #kd-cs-cats {
        flex-direction: column;
        margin-bottom: 50px;
    }
    .kd-cs-grid {
        flex-direction: column;
    }
    .kd-cs-thumb {
        height: 50vw;
        min-height: 170px;
    }
    .kd-cs-details {
        height: auto;
    }
    .kd-cs-podcast .kd-cs-thumb {
        height: 85vw;
    }
}