/**
 * News Card Premium Styles
 */
.news-card {
    background: var(--clr-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: rgba(0, 52, 120, 0.1);
}

.news-card__image-wrap {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.news-card__img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}


.news-card__date-pill {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    color: var(--clr-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.news-card__content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__title a {
    color: var(--clr-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card__title a:hover {
    color: var(--clr-primary);
}

.news-card__excerpt {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-card__footer {
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.news-card__more {
    font-size: 13px;
    font-weight: 700;
    color: var(--clr-primary);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.news-card__more i {
    transition: transform 0.3s ease;
}

.news-card__more:hover i {
    transform: translateX(5px);
}

@media (max-width: 767px) {
    .news-card__content {
        padding: 15px;
    }
    .news-card__title {
        font-size: 15px;
        margin-bottom: 8px;
    }
    .news-card__excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 15px;
    }
    .news-card__date-pill {
        padding: 4px 10px;
        font-size: 9px;
        bottom: 10px;
        left: 10px;
    }
    .news-card__more {
        font-size: 11px;
    }
}
