.news-page {
    background-color: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%); 
    min-height: 100vh;
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
}

.news-container {
    max-width: 900px; /* Slightly narrower for readability */
    margin: 0 auto;
}

.page-title {
    font-size: 3.5rem; 
    font-weight: 900;
    margin: 1.5rem;
    text-align: center;
    line-height: 1.1;
    background: linear-gradient(135deg, #4ade80, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* COMPACT CARD DESIGN */
.news-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    height: 160px; /* Reduced height since no text */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(43, 182, 115, 0.15);
    border-color: #4ade80;
}

/* Image Side - Smaller Square */
.card-image {
    width: 200px; /* Fixed width */
    flex-shrink: 0;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

/* Content Side */
.card-content {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    width: 100%;
}

.top-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #888;
}

.source-badge {
    background: #e6f7ef;
    color: #2bb673;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.7rem;
}

.article-title {
    color: #222;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
    
    /* Ensure title doesn't overflow */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    display: inline-block;
    color: #2bb673;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.read-more-btn:hover {
    transform: translateX(5px);
    text-decoration: underline;
}

/* Responsive: Stack on mobile */
@media (max-width: 920px) {
    .news-card {
        flex-direction: column;
        height: auto;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    
    .card-image {
        width: 100%;
        height: 180px;
    }
    
    .card-content {
        padding: 20px;
        height: auto;
    }

    .page-title {
        font-size: 2.3rem;
    }

    .article-title {
        font-size: 1rem;
    }
}

.no-news-state {
    text-align: center;
    padding: 40px;
    color: #666;
}