.template-5221 .card-5221 {
    color: #2b2b2b;
}

.template-5221 .card-5221--featured,
.template-5221 .card-5221--grid,
.template-5221 .card-5221--side {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.template-5221 .card-5221__media {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #e7e2da;
}

.template-5221 .card-5221__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.template-5221 .card-5221--featured .card-5221__media img,
.template-5221 .card-5221--side .card-5221__media img,
.template-5221 .card-5221--grid .card-5221__media img {
    aspect-ratio: 16 / 10;
}

.template-5221 .card-5221--side + .card-5221--side {
    margin-top: 1.25rem;
}

.template-5221 .card-5221__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: 0.85rem;
}

.template-5221 .template__list {
    list-style: none;
    margin: 0 0 0.35rem;
    padding: 0;
}

.template-5221 .template__list small {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a847c;
}

.template-5221 a {
    color: inherit;
    text-decoration: none;
}

.template-5221 a:hover {
    color: inherit;
    text-decoration: none;
}

.template-5221 .card-5221__subtitle {
    margin: 0 0 0.35rem;
    color: #6f6a64;
    font-size: 0.95rem;
    line-height: 1.4;
}

.template-5221 .template__title {
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
    color: #1c1c1c;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.template-5221 .card-5221--featured .template__title {
    font-size: 1.65rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.template-5221 .card-5221--side .template__title,
.template-5221 .card-5221--grid .template__title {
    font-size: 1.05rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.template-5221 .template__description {
    margin-top: 0.55rem;
    color: #6f6a64;
    font-size: 0.95rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.template-5221 .card-5221__date {
    display: block;
    margin-top: auto;
    padding-top: 0.85rem;
    color: #8a847c;
    font-size: 0.875rem;
}

.template-5221 .template__btn {
    display: inline-block;
    margin-top: 0.75rem;
}

.template-5221 > [class*="col-"] {
    margin-bottom: 1.75rem;
}

@media (min-width: 991.92px) {
    .template-5221 .card-5221:hover .card-5221__media img {
        transform: scale(1.04);
    }

    .template-5221__side {
        display: flex;
        flex-direction: column;
        align-self: stretch;
    }
}
