/* Home-page Latest-News strip */
.home-news {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 56px 0 64px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.home-news .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.home-news .section-header .title-block h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    color: #0f172a;
    font-weight: 800;
}
.home-news .section-header .title-block .sub {
    color: #64748b;
    font-size: 0.95rem;
    margin: 4px 0 0;
}
.home-news .view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid #059669;
    color: #065f46;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.home-news .view-all:hover {
    background: #059669;
    color: #fff;
    transform: translateY(-2px);
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}
.home-news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(15,23,42,0.04);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.home-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15,23,42,0.10);
    border-color: #a7f3d0;
}
.home-news-card .media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #ecfdf5 0%, #ccfbf1 100%);
}
.home-news-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.home-news-card:hover .media img { transform: scale(1.04); }

.home-news-card .body {
    padding: 18px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.home-news-card .body .meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #64748b;
}
.home-news-card .body .cat {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #ecfdf5;
    color: #065f46;
}
.home-news-card .body .cat.cat-Events { background: #ede9fe; color: #6d28d9; }
.home-news-card .body .cat.cat-Announcements { background: #dbeafe; color: #1d4ed8; }
.home-news-card .body .cat.cat-Achievements { background: #fef3c7; color: #92400e; }
.home-news-card .body h3 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin: 0;
    color: #0f172a;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-news-card .body p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #475569;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-news-card .body .read {
    margin-top: auto;
    padding-top: 8px;
    color: #059669;
    font-weight: 600;
    font-size: 0.88rem;
}

/* Featured (first) card spans 2 cols on wide screens */
@media (min-width: 900px) {
    .home-news-grid.has-featured {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .home-news-grid.has-featured .home-news-card.featured {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }
    .home-news-grid.has-featured .home-news-card.featured .media { aspect-ratio: 16 / 10; }
    .home-news-grid.has-featured .home-news-card.featured .body h3 { font-size: 1.4rem; -webkit-line-clamp: 3; }
}
