/* News */
.news-card {
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.19);
}

.news-card-image {
    height: 220px;
    object-fit: cover;
    width: 100%;
    position: relative;
}

.news-card-featured {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255,165,0,0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card-header {
    margin-bottom: 0.5rem;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    margin: 0.75rem 0;
    flex-wrap: wrap;
}

.news-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
}

.news-card-date i {
    color: var(--primary-color);
}

.news-card-excerpt {
    flex-grow: 1;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0.5rem 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.news-card-link {
    flex: 1;
}

/* Welcome page news card variant */
.news-card-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.news-date i {
    color: var(--primary-color);
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
    color: #1a1a1a;
}

.news-footer {
    margin-top: auto;
}

/* News detail page */
.news-content {
    font-size: 1.15rem;
    line-height: 1.7;
}

.news-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
