.cdng-news-grid-module,
.cdng-news-grid-module * {
    box-sizing: border-box;
}

.cdng-news-grid-module {
    width: 100%;
    margin-top: 50px;
}

.cdng-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.cdng-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #1d1f1b;
}

.cdng-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f1f1f1;
}

.cdng-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, opacity .25s ease;
}

.cdng-card:hover .cdng-card__image {
    transform: scale(1.03);
    opacity: .08;
}

.cdng-card__body {
    position: absolute;
    z-index: 2;
    left: 7%;
    right: 7%;
    bottom: 24px;
    height: 164px;
    padding: 22px 24px 26px;
    border-radius: 28px;
    background: rgba(255, 253, 248, .94);
    overflow: hidden;
    transition:
        left .5s cubic-bezier(.22, .61, .36, 1),
        right .5s cubic-bezier(.22, .61, .36, 1),
        bottom .5s cubic-bezier(.22, .61, .36, 1),
        height .5s cubic-bezier(.22, .61, .36, 1),
        padding .5s cubic-bezier(.22, .61, .36, 1),
        border-radius .5s cubic-bezier(.22, .61, .36, 1),
        background .5s cubic-bezier(.22, .61, .36, 1);
}

.cdng-card:hover .cdng-card__body {
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    padding: 24px 26px 28px;
    border-radius: 0;
    background: rgba(255, 253, 248, .98);
}

.cdng-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 10px;
    line-height: 1.2;
    color: #111;
}

.cdng-card__type {
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.cdng-card__date {
    font-weight: 400;
    text-transform: none;
}

.cdng-card__title {
    margin: 0;
    padding: 0;
    font-size: 24px;
    line-height: 1.17;
    font-weight: 400;
    color: #050505;
}

.cdng-card__title a {
    color: inherit;
    text-decoration: none;
}

.cdng-card__excerpt {
    display: -webkit-box;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #111;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    transition: max-height .35s ease, margin-top .35s ease, opacity .12s ease;
}

.cdng-card:hover .cdng-card__excerpt {
    max-height: 160px;
    margin-top: 15px;
    opacity: 1;
}

.cdng-card__button {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #2cb6c3 !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .12s ease, transform .12s ease;
}

.cdng-card:hover .cdng-card__button {
    opacity: 1;
    transform: translateY(0);
}

.cdng-card__button-icon {
    display: inline-flex;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #2cb6c3;
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    line-height: 0.75;
}

.cdng-empty {
    margin: 0;
    padding: 20px;
    background: #fff3cd;
    border-radius: 10px;
}

@media (max-width: 1200px) {
    .cdng-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cdng-news-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .cdng-card {
        height: 400px;
    }

    .cdng-card__body {
        left: 7%;
        right: 7%;
        bottom: 24px;
        height: 164px;
        padding: 20px 22px 24px;
        border-radius: 26px;
    }

    .cdng-card:hover .cdng-card__body {
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        padding: 20px;
        border-radius: 0;
    }

    .cdng-card__title {
        font-size: 25px;
    }
}
