
.news-card {
    padding: 0 4px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.news-card .card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 24px;
}

.news-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .card-image img {
    transform: scale(1.05);
}

.news-card .card-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
}

.news-card .card-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 16px 0;
    line-height: 1.3;
    overflow: hidden;
    display: block;
    max-height: 4rem;
    -webkit-line-clamp: 2;
    display: box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
}

.news-card .card-title a {
    font-weight: 600;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.news-card .card-title a:hover {
    color: #005a77;
}

.news-card .card-excerpt {
    font-size: 0.82rem;
    font-weight: 500;
    color: #666;
    line-height: 1.5;
    margin-bottom: 40px;
    overflow: hidden;
    display: block;
    max-height: 4rem;
    -webkit-line-clamp: 2;
    display: box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
}
