{## Cards ##}

.blog-card__listing {
    display: flex;
    padding: 32px 16px;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

@media(max-width: 1056px) {
    .blog-card__listing {
        padding: 42px 0;
        gap: 32px;
    }

    .blog-card__listing div:nth-child(n+3) {
        display: none;
    }
}

.blog-card {
    display: flex;
    width: 380px;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid #D9DEE8;
    background: #FFF;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.05);
    transition: all 100ms 0s ease;
}

.blog-card.scale-animation {
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.0);
    transform: scale(1.03);
}

@media(max-width: 1056px) {
    .blog-card {
        width: 360px;
    }
}

.blog-card__headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.blog-card__headline img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    display: block;
    border: solid 0px #fff;
    border-radius: 3px 3px 0 0;
}

.blog-card__contents {
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

@media(max-width: 1056px) {
    .blog-card__contents {
        padding: 16px 8px 18px 8px;
        gap: 7px;
    }
}

.blog-card__contents h4 {
    height: 64px;
    align-self: stretch;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 32px;
    font-weight: 700;
    margin: 0;
}

@media(max-width: 1056px) {
    .blog-card__contents h4 {
        height: 56px;
        font-size: 18px;
        line-height: 28px;
    }
}

.blog-card__description {
    display: flex;
    height: 94px;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

@media(max-width: 1056px) {
    .blog-card__description {
        height: 78px;
    }
}

.blog-card__description span {
    align-self: stretch;
    font-weight: 300;
    line-height: 30px;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media(max-width: 1056px) {
    .blog-card__description span {
        font-size: 16px;
        line-height: 26px;
        font-weight: 300;
    }
}

.blog-card__description span p {
    margin: 0;
}