﻿/* ===== News Detail Banner ===== */
.news-detail-banner {
    position: relative;
    height: clamp(180px, 25vw, 350px);
    overflow: hidden;
}

.news-detail-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.news-detail-banner .banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-detail-banner .banner-title {
    color: #fff;
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 600;
    letter-spacing: 4px;
}

/* ===== News Detail Section ===== */
.news-detail-section {
    padding: clamp(40px, 6vh, 80px) 0;
}

/* ===== Article Header ===== */
.article-header {
    margin-bottom: clamp(20px, 3vw, 40px);
    border-bottom: 1px solid #e5e5e5;
}

.article-title {
    font-size: clamp(22px, 2vw, 32px);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: clamp(12px, 1.5vw, 20px);
    line-height: 1.4;
    text-align: center;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #EEEEEE;
    padding: 10px 0;
}

.publish-date {
    font-size: clamp(13px, 1vw, 15px);
    color: var(--text-gray);
}

.back-to-list {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: clamp(13px, 1vw, 15px);
    transition: all 0.3s;
    background: #fff;
}

.back-to-list:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.back-to-list i {
    font-size: 12px;
}

/* ===== Article Body ===== */
.article-body {
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: clamp(20px, 3vw, 40px);
}

.article-body p {
    margin-bottom: clamp(15px, 2vw, 25px);
    text-indent: 2em;
    text-align: justify;
}

/* ===== Article Image ===== */
.article-image {
    margin: clamp(25px, 4vw, 50px) 0;
    overflow: hidden;
    border-radius: 8px;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* ===== Responsive - Mobile (≤991.98px) ===== */
@media (max-width: 991.98px) {
    .news-detail-banner {
        height: clamp(140px, 28vw, 200px);
    }

    .news-detail-banner .banner-title {
        font-size: clamp(22px, 5vw, 32px);
        letter-spacing: 2px;
    }

    .news-detail-section {
        padding: 30px 0;
    }

    .article-title {
        font-size: clamp(18px, 4vw, 24px);
    }


    .article-body {
        font-size: 15px;
        line-height: 1.7;
    }

    .article-body p {
        text-indent: 0;
        text-align: left;
    }
}

/* ===== Responsive - Small Mobile (≤767.98px) ===== */
@media (max-width: 767.98px) {
    .news-detail-banner {
        height: 140px;
    }

    .news-detail-banner .banner-title {
        font-size: 24px;
    }

    .news-detail-section .container {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    .article-header {
        margin-bottom: 20px;
    }

    .article-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .article-meta {
        gap: 10px;
    }

    .publish-date {
        font-size: 13px;
    }

    .back-to-list {
        padding: 6px 14px;
        font-size: 13px;
    }

    .article-body {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .article-image {
        margin: 25px 0;
    }
}
