.cards {
    position: relative;
    z-index: 1;
}

.cards--curve {
    padding: 74px 0 60px;
}

.cards__curve {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

.cards--gradient::before {
    content: ''!important;
    position: absolute!important;
    left: 0;
    top: 0px;
    width: 100%;
    height: 311px;
    z-index: -1;
    background: linear-gradient(to bottom, #f5f8fc 50%, #ffffff 100%);
}

.cards__title {
    padding-bottom: 15px;
}

.cards__title h3 {
    font-size: 26px;
    line-height: 1.2em;
    margin-bottom: 1px;
}

.card-item {
    margin-top: 25px;
}

@media (min-width: 600px) and (max-width: 1199px) {
    .card-item.col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
    border: 1px solid rgba(116, 115, 115, 0.4);
    border-radius: 10px;
    overflow: hidden;
}

.card__image {
    width: calc(100% + 2px);
    margin: -1px 0 0 -1px;
    height: 182px;
    overflow: hidden;
    @media( max-width: 767px) {
        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

.card__image img {
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__details {
    padding: 20px 26px 15px;
}

.card__title {
    font-size: 24px;
    color: #222222;
    font-weight: 600;
    line-height: 1.208em;
    text-transform: none;
    letter-spacing: 0.025em;
    margin-bottom: 6px;
}

.card__author {
    font-size: 14px;
    line-height: 1.214em;
    font-weight: 600;
    color: #222222;
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.card__author span {
    position: relative;
}

.card__author span::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #747373;
    top: 50%;
    left: -9px;
    transform: translate(0, -50%);
    border-radius: 50%;
    margin-top: 1px;
}

.card__category ul {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.card__category ul li {
    margin: 0;
    padding: 0;
}

.card__category ul li::before {
    display: none;
}

.card__category ul li a {
    margin: 0;
    padding: 3px 7px 5px;
    border: 1px solid #747373;
    font-size: 13px;
    line-height: 1.230em;
    background: none;
    color: #222222;
    font-weight: 600;
    font-family: "Barlow Condensed", serif;
    border-radius: 14px;
    display: block;
}

.card__description {
    margin: 20px 0 15px 0;
    color: #222222;
    font-size: 16px;
    line-height: 1.5em;
}

.card__bottom {
    padding: 0 26px 35px;
}

.card__cta {
    position: relative;
    display: inline-block;
    font-family: "Barlow Condensed", serif;
    color: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 100px;
    font-size: 18px;
    line-height: 1.13em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 6px 40px 8px 20px;
    vertical-align: middle;
    text-decoration: none;
    transition: all ease-in-out 0.3s;
    background: #367C00;
}

.card__cta::before {
    content: '\e902';
    font-family: 'CEDR-icons';
    position: absolute;
    top: 50%;
    right: 18px;
    font-size: 14px;
    font-weight: normal;
    transform: translate(0, -50%);
}

@media (min-width: 768px) {
    .cards--curve {
        padding: 133px 0 70px;
    }
    .cards--gradient::before {
        height: 638px;
    }
    .cards__headlines {
        padding-bottom: 5px;
    }
    .cards__title {
        padding-bottom: 26px;
    }
    .cards__title h3 {
        font-size: 35px;
    }
    .cards__top-flex {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        flex-wrap: wrap;
    }
    .cards__filter {
        width: 320px;
    }
    .card__details {
        padding: 20px 25px 15px;
    }
    .card__description {
        margin: 20px 0 16px 0;
    }
    .card__bottom {
        padding: 0 25px 35px;
    }
}

@media (min-width: 1200px) {
    .cards--curve {
        padding: 203px 0 98px;
        margin-top: -26px;
    }
    .cards--archive {
        padding-top: 100px;
    }
    .single .cards__curve {
        top: 0;
    }
    .cards--gradient::before {
        height: 638px;
    }
    .cards__headlines {
        padding-bottom: 0;
    }
    .cards__title h3 {
        font-size: 55px;
    }
    .card__category ul li a:hover {
        background: #222222;
        color: #fff;
        border-color: #222222;
    }
    .card__cta {
        font-size: 18px;
        padding: 5px 40px 6px 20px;
    }
    .card__cta:hover {
        background: #235013;
        color: #fff;
    }
    .cards--curve-inner {
        padding: 225px 0 100px;
    }
    .cards--curve-inner::before {
        top: 40px;
    }
    .cards__items {
        justify-content: center;
    }
    .cards__curve {
        top: 25px;
    }
}

@media (min-width: 2048px) {
    .cards--curve-inner {
        padding: 260px 0 100px;
    }
}

@media (min-width: 3072px) {
    .cards--curve-inner {
        padding: 380px 0 100px;
    }
}

.cards .card__category {
    display: none;
}

.admin-bar .cards .card__category {
    display: block;
}