﻿
:root {
    --card-bg: #ffffff;
    --text-main: #002d4b;
    --text-muted: #6b7280;
    --accent-bg: #fff1e2;
    --accent-text: #e67e22;
    --border-radius: 20px;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.news-card {
    background: var(--card-bg);
    width: 100%;
    max-width: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
}

    .news-card:hover {
        transform: translateY(-4px);
    }

.news-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.news-card-content {
    padding: 24px;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.badge {
    background-color: var(--accent-bg);
    color: var(--accent-text);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 14px;
}

.calendar-icon {
    opacity: 0.6;
}

.news-card-title {
    color: var(--text-main);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.news-card-description {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}
