:root {
    --orange: #E57F19;
    --orange-dark: #cc6f15;
}

/* ---------------- NEWS PAGE TYPOGRAPHY ---------------- */
.news-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    font-family: 'Roboto Slab', serif;  /* English default */
    background-color: #f9f9f9;
    letter-spacing: 0.15px;
    line-height: 1.75;
    color: #2c2c2c;
}

/* Individual news card */
.news-card {
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 30px;
    background-color: #fff;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Row 1: Header (title + date) */
.news-card .news-header {
    grid-column: 1 / -1;
}

.news-card .news-header h1,
.news-card .news-header h2 {
    font-family: 'Roboto Slab', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--orange);
    margin-bottom: 5px;
}

.news-card .news-header h1 {
    font-size: 2.2rem;
}

.news-card .news-header h2 {
    font-size: 1.8rem;
}

.news-card .news-header .news-date {
    font-style: italic;
    font-weight: normal;
    color: #555;
    font-size: 0.95rem;
}

/* Row 2: Intro paragraph */
.news-card .news-intro {
    grid-column: 1;
}

.news-card .news-intro p {
    margin: 0;
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    line-height: 1.75;
    font-size: 16px;
}

/* Row 2: Image */
.news-card .news-image {
    grid-column: 2;
}

.news-card .news-image img {
    width: 100%;
    max-height: 200px;    /* <-- added max-height */
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card .news-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}


/* Row 3: Full content */
.news-card .news-full {
    grid-column: 1 / -1;
}

.news-card .news-full p {
    margin-top: 10px;
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    line-height: 1.85;
    font-size: 16px;
}

/* Read More link */
.read-more {
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
    color: var(--orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--orange-dark);
    text-decoration: underline;
}

/* Responsive: stack columns on small screens */
@media (max-width: 768px) {
    .news-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .news-card .news-image {
        grid-column: 1;
    }
}

/* ---------------- LANGUAGE-SPECIFIC TYPOGRAPHY ---------------- */
.news-page-container :lang(ml),
.news-page-container :lang(ta),
.news-page-container :lang(te),
.news-page-container :lang(kn),
.news-page-container :lang(hi),
.news-page-container :lang(mr) {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    line-height: 1.95;
    letter-spacing: 0;
}

.news-page-container :lang(en) {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    letter-spacing: 0.15px;
    line-height: 1.75;
    font-size: 16px;
}
