/* =========================================
   NEWS ARTICLE – MAIN STYLE (DARK THEME)
   Used for all /news/*.html article pages
========================================= */

.news-article {
    background: #121829;
    color: #e5e5e5;
    padding: 70px 20px;
}

/* Article container */
.news-article article {
    max-width: 900px;
    margin: 0 auto;
    background: #1C1F2A;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Main title (SEO H1) */
.news-article h1 {
    font-size: 36px;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Meta info */
.article-meta {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 25px;
}

/* Featured image */
.article-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
    background: #000;
    object-fit: contain;
}

/* Paragraphs */
.news-article p {
    font-size: 17px;
    line-height: 1.8;
    color: #d6d6d6;
    margin-bottom: 20px;
}

/* Section headings (H2) */
.news-article h2 {
    font-size: 26px;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 4px solid red;
}

/* Lists */
.news-article ul {
    padding-left: 22px;
    margin-bottom: 25px;
}

.news-article ul li {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Emphasis */
.news-article strong {
    color: #ffffff;
}

/* Links inside article */
.news-article a {
    color: red;
    text-decoration: none;
    font-weight: 600;
}

.news-article a:hover {
    text-decoration: underline;
}

/* Divider (optional) */
.news-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 40px 0;
}

/* Back to news button */
.back-to-news {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 22px;
    border: 2px solid red;
    color: red;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.back-to-news:hover {
    background: red;
    color: #fff;
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.25);
}

/* =========================================
   RESPONSIVE
========================================= */

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .news-section {
        padding: 40px 15px;
    }

    .news-section .section-title {
        font-size: 28px;
    }

    .news-grid {
        gap: 20px;
    }

    /* ✅ Allow slightly taller image for better appearance on mobile */
    .news-card img {
        max-height: 240px;
    }

    .news-card h3 {
        font-size: 18px;
    }

    .news-card p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .read-more {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* ✅ Slightly increase image size on small devices */
    .news-card img {
        max-height: 280px;
    }
}
