.news-card {
    position: relative;
    aspect-ratio: .8;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 15px -5px #000;
    transition: translate .3s ease;
}

.news-card__img {
    transition: scale .3s ease;
}

.news-card__title,
.news-card__text,
.news-card__date {
    margin: 0;
    font-family: var(--primary-text-font);
}

.news-card__title {
    font-size: 1.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    font-family: var(--secondary-text-font);
}

.news-card__text {
    font-size: .9rem;
    line-height: 1.2rem;
    height: calc(1.2rem * 2);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #606060;
}

.news-card__date {
    font-size: .85rem;
    line-height: 1;
    color: #a0a0a0;
}

.news-card__highlighted-mark {
    position: absolute;
    left: 10px; top: 10px;
    padding: 7.5px 15px;
    background-color: var(--primary-color);
    font-family: var(--primary-text-font);
    color: white;
    border-radius: 30px;
    font-size: .8rem;
    font-weight: 600;
}

.news-card__img-border {
    position: relative;
}

.news-card__category {
    position: absolute;
    left: 10px; bottom: 10px;
    padding: 7.5px 15px;
    font-size: .8rem;
    font-weight: 600;
    margin: 0;
    color: white;
    border: 1px solid white;
    border-radius: 30px;
    font-family: var(--primary-text-font);
}

/* Hover Animations */
.news-card:hover {
    translate: 0 -10px;
}

.news-card:hover .news-card__img {
    scale: 1.05;
}

/* Category Button */
.category-btn {
    border-style: none;
    background-color: var(--page-background-darker);
    color: var(--text-color);
    padding: 20px 50px;
    border-radius: 100px;
    font-family: var(--secondary-text-font);
    font-weight: 500;
    transition: background-color .3s ease,
                color .3s ease,
                translate .3s ease;
}

.category-btn:hover {
    background-color: var(--primary-color);
    color: white;
    translate: 0 -5px;
}