.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    background-color: var(--content-bg);
    border-radius: var(--border-radius-md);
    padding: 0;
    transition: box-shadow 0.18s;
    box-shadow: none;
    aspect-ratio: 16/9;
    width: 100%;
}

.card-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: #f0f0f0;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) brightness(0.92);
    transition: all 0.3s ease-in-out;
}

.news-card-link:hover .card-img-wrapper img {
    filter: grayscale(0%) brightness(1);
}

.card-title-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay-bottom);
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md) var(--spacing-md);
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    min-height: 80px;
    display: flex;
    align-items: flex-end;
}

.card-title {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    margin: 0;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 72px;
    padding-bottom: 4px;
}

.card-author {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm);
    z-index: 3;
    background: var(--gradient-overlay-top);
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.author-name-small,
.date-small {
    font-size: 12px;
    color: var(--text-semi-light);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.author-name-small {
    max-width: 180px;
}

.date-small {
    flex-shrink: 0;
    margin-left: auto;
}

@media (max-width: 576px) {
    .card-title {
        font-size: 13px;
        line-height: 16px;
        -webkit-line-clamp: 5;
        max-height: 80px;
        padding-bottom: 6px;
    }
    
    .card-title-overlay {
        padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-sm) var(--spacing-sm);
        min-height: 70px;
    }
    
    .author-name-small {
        max-width: 120px;
        font-size: 11px;
    }
    
    .date-small {
        font-size: 11px;
    }
} 