﻿/* News Detail Page Styles */

.news-detail-section {
    padding: 120px 0 100px;
}

/* Header & Intro */
.news-detail-header {
    text-align: left;
    margin-bottom: 60px;
}

.news-main-title {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 48px;
    letter-spacing: -1px;
    color: var(--text-black);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.news-teaser {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    max-width: 900px;
    margin: 0;
    text-align: justify;
}

/* Main Featured Image */
.news-featured-image {
    width: 100%;
    aspect-ratio: 16 / 7;
    background-color: #eee;
    border-radius: 40px;
    overflow: hidden;
    margin: 60px 0 40px;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-meta-info {
    text-align: center;
    margin-bottom: 80px;
}

.news-category {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 5px;
}

.news-date {
    font-size: 20px;
    color: var(--primary-blue);
    font-weight: 500;
}

/* Article Content Layout */
.article-body {
    max-width: 1000px;
    margin: 0 auto;
}

.article-section {
    margin-bottom: 80px;
}

.article-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-black);
}

.article-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.article-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.article-text li {
    margin-bottom: 10px;
}

/* Split Layout (Text + Image) */
.article-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.article-grid.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.article-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #eee;
    border-radius: 30px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .news-main-title {
        font-size: 38px;
    }

    .article-grid,
    .article-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-grid .article-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .news-detail-section {
        padding: 100px 0 60px;
    }

    .news-detail-header {
        text-align: center;
    }

    .news-main-title {
        font-size: 32px;
    }

    .news-teaser {
        font-size: 15px;
        margin: 0 auto;
    }

    .news-featured-image {
        border-radius: 20px;
        margin: 40px 0 30px;
    }

    .news-category {
        font-size: 20px;
    }

    .news-date {
        font-size: 18px;
    }

    .article-section {
        margin-bottom: 60px;
    }

    .article-section h2 {
        font-size: 24px;
    }
}


