/* ==========================
   Tenders Page CSS
   (reuses news-card styles)
   ========================== */

.page-content-section {
    padding: 60px 0;
    background: #fff;
}

/* News card grid (shared with tenders) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.news-card {
    background: #fff;
    border: 1px solid #e8f4fd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(109, 191, 232, 0.2);
}

.news-card-img-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
}

.news-card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-img-link img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.news-date {
    font-size: 0.82rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-date i { color: #6dbfe8; }

.news-category {
    font-size: 0.78rem;
    background: #e8f4fd;
    color: #1a3a5c;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.45;
}

.news-card-title a {
    color: #1a3a5c;
    text-decoration: none;
    transition: color 0.2s;
}

.news-card-title a:hover { color: #6dbfe8; }

.news-card-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 18px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6dbfe8;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
    margin-top: auto;
}

.news-read-more:hover { color: #1a3a5c; gap: 10px; }

@media (max-width: 768px) {
    .page-content-section { padding: 40px 0; }
    .news-grid { grid-template-columns: 1fr; }
}