.news{
    padding:80px 0;
    background:#f8fafc;
}

.news-grid{
    display:grid;
    grid-template-columns:1fr;
    margin-top:50px;
}

.news-card{
    display:grid;
    grid-template-columns:420px 1fr;
    overflow:hidden;
    background:#fff;
    border-radius:16px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    transition:.35s;
}

.news-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.news-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.news-content{
    padding:40px;
}

.news-content span{
    display:inline-block;
    margin-bottom:12px;
    color:#f5b82e;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
}

.news-content h3{
    margin-bottom:20px;
    color:#082544;
    font-size:34px;
    line-height:1.3;
}

.news-content p{
    margin-bottom:30px;
    color:#555;
    font-size:18px;
    line-height:1.8;
}

.news-content a{
    display:inline-block;
    padding:14px 30px;
    color:#fff;
    background:#082544;
    border-radius:8px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.news-content a:hover{
    background:#f5b82e;
    color:#082544;
}

@media(max-width:900px){

.news-card{
    grid-template-columns:1fr;
}

.news-card img{
    height:260px;
}

.news-content{
    padding:25px;
}

.news-content h3{
    font-size:26px;
}

.news-content p{
    font-size:16px;
}

}
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
/* =========================
   TRANG CHI TIẾT BÀI VIẾT
========================= */

.article-page {
    padding: 70px 0 90px;
    background: #f6f8fb;
}

.article-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 50px 60px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(6, 27, 50, 0.08);
}

.article-category {
    display: block;
    margin-bottom: 14px;
    color: #f4a900;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
}

.article-container > h1 {
    max-width: 850px;
    margin: 0 auto 12px;
    color: #082544;
    font-size: clamp(34px, 4.5vw, 54px);
    line-height: 1.2;
    text-align: center;
}

.article-date {
    margin-bottom: 35px;
    color: #64748b;
    font-size: 15px;
    text-align: center;
}

.article-container > p,
.article-container li {
    color: #334155;
    font-size: 17px;
    line-height: 1.85;
}

.article-container > p {
    margin: 0 0 22px;
}

.article-container h2 {
    margin: 45px 0 18px;
    color: #082544;
    font-size: 30px;
    line-height: 1.35;
}

.article-container ul {
    margin: 0 0 28px;
    padding-left: 24px;
}

.article-container li {
    margin-bottom: 9px;
}

/* Ảnh ngang đầu bài */
.article-cover {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: none;
    margin: 30px auto 35px;
    object-fit: contain;
    border-radius: 14px;
}

/* Ảnh chèn trong nội dung */
.article-image {
    display: block;
    width: auto;
    max-width: 760px;
    max-height: 620px;
    margin: 30px auto 12px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(6, 27, 50, 0.12);
}

/* Ảnh giấy chứng nhận dạng dọc */
.article-image-portrait {
    display: block;
    width: auto;
    max-width: 520px;
    max-height: 720px;
    margin: 30px auto 12px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(6, 27, 50, 0.12);
}

.article-caption {
    max-width: 760px;
    margin: 0 auto 32px;
    color: #64748b;
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
    text-align: center;
}

.article-contact {
    margin-top: 45px;
    padding: 30px;
    color: #ffffff;
    background: #082544;
    border-radius: 14px;
}

.article-contact h3 {
    margin: 0 0 12px;
    color: #f5b82e;
}

.article-contact p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

/* Điện thoại */
@media screen and (max-width: 768px) {
    .article-page {
        padding: 35px 0 55px;
    }

    .article-container {
        width: calc(100% - 24px);
        padding: 30px 18px;
        border-radius: 12px;
    }

    .article-container > h1 {
        font-size: 32px;
    }

    .article-container h2 {
        margin-top: 36px;
        font-size: 25px;
    }

    .article-container > p,
    .article-container li {
        font-size: 16px;
        line-height: 1.75;
    }

    .article-cover {
        width: 100%;
        max-height: 300px;
        margin-bottom: 28px;
    }

    .article-image,
    .article-image-portrait {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
    }
}