/* TINTUC */

@media (max-width:767.98px){
    .section-breadcrumb{
        display:none !important;
    }
}


:root{
    --primary:#e57e24;
    --text:#0f172a;
    --muted:#64748b;
    --border:#e5e7eb;
    --shadow:0 10px 30px rgba(15,23,42,.05);
}

.nap-wrap,.news-wrap{max-width:1450px;margin:0 auto;padding:0 24px}
.section-breadcrumb{margin-bottom:14px}

.breadcrumb{
    display:flex;align-items:center;gap:8px;
    margin:0;padding:0;list-style:none;background:transparent
}
.breadcrumb-item{
    font-size:14px;font-weight:400;color:#0f172a;line-height:1.5
}
.breadcrumb-item + .breadcrumb-item::before{
    content:"/";margin-right:8px;color:#94a3b8;font-weight:400
}
.breadcrumb-item a{
    color:#0f172a;text-decoration:none;font-weight:400 !important
}
.breadcrumb-item a:hover{color:#0f172a;text-decoration:none}
.breadcrumb-item.active{color:#0f172a;font-weight:700 !important}

#main{
    background:linear-gradient(180deg,#fff 0%,#fffaf5 24%,#f8fafc 100%);
    padding:12px 0 52px
}

.news-section-title{
    margin:0;
    font-size:20px;
    line-height:1.35;
    font-weight:800;
    color:var(--text)
}
.news-section-sub{
    margin-top:6px;
    font-size:13px;
    color:var(--muted)
}

.news-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:22px;
    box-shadow:var(--shadow)
}

.news-back-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:46px;
    padding:0 16px;
    border:1px solid var(--border);
    border-radius:14px;
    background:#fff;
    color:var(--text);
    font-size:14px;
    font-weight:700;
    text-decoration:none;
    transition:.18s ease
}
.news-back-btn:hover{
    background:#fff7ed;
    border-color:#fed7aa;
    color:var(--primary);
    text-decoration:none
}

.news-page-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    margin-bottom:22px
}

.news-search-toggle{
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--border);
    border-radius:999px;
    background:#fff;
    color:var(--text);
    cursor:pointer;
    box-shadow:var(--shadow);
    transition:.18s ease
}
.news-search-toggle:hover{
    color:var(--primary);
    border-color:#fed7aa;
    background:#fff7ed
}

.news-search-form{position:relative}
.news-search-input{
    width:100%;
    height:46px;
    padding:0 14px;
    border:1px solid #dbe2ea;
    border-radius:14px;
    background:#fff;
    outline:none;
    color:var(--text);
    font-size:14px;
    box-shadow:var(--shadow)
}
.news-search-input:focus{
    border-color:#fdba74;
    box-shadow:0 0 0 4px rgba(229,126,36,.12)
}

.news-featured,
.news-item{
    overflow:hidden;
    text-decoration:none;
    transition:.2s ease
}
.news-featured{display:flex;flex-direction:column}
.news-featured:hover,
.news-item:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 36px rgba(15,23,42,.08);
    text-decoration:none
}

.news-featured-img{
    width:100%;
    height:320px;
    object-fit:cover;
    background:#f8fafc
}
.news-featured-body{padding:22px}
.news-featured-title{
    margin:0 0 10px;
    font-size:24px;
    line-height:1.4;
    font-weight:800;
    color:var(--text)
}
.news-featured-desc{
    margin:0 0 12px;
    font-size:14px;
    line-height:1.7;
    color:var(--muted)
}

.news-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    font-size:12px;
    color:#94a3b8
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px
}

.news-item-thumb{
    width:100%;
    height:190px;
    object-fit:cover;
    background:#f8fafc
}
.news-item-body{padding:16px 16px 18px}
.news-item-title{
    margin:0 0 8px;
    font-size:16px;
    font-weight:800;
    line-height:1.5;
    color:var(--text);
    transition:.18s ease
}
.news-item:hover .news-item-title{color:var(--primary)}
.news-item-desc{
    margin:0 0 10px;
    font-size:13px;
    line-height:1.65;
    color:var(--muted)
}

.news-empty{
    padding:32px 20px;
    text-align:center;
    background:#fff8e8;
    border:1px solid #fcd59b;
    border-radius:20px;
    color:#92400e;
    font-weight:700
}

.article-shell{width:100%;max-width:none;margin:0}
.article-top{
    display:flex;
    align-items:flex-start;
    gap:20px;
    margin-bottom:18px
}
.article-cover-wrap{
    width:220px;
    min-width:220px;
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:22px;
    background:#fff;
    box-shadow:var(--shadow)
}
.article-cover{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block
}
.article-main{min-width:0;flex:1}
.article-title{
    margin:0 0 10px;
    font-size:28px;
    line-height:1.32;
    font-weight:800;
    letter-spacing:-.01em;
    color:var(--text)
}
.article-body{padding:24px 26px}
.article-main .news-meta{margin-bottom:14px}
.article-content-full{margin-top:18px}
.article-related{margin-top:24px}

.article-main .news-article-content,
.news-article-content,
.news-article-intro{
    font-size:16px;
    line-height:1.85;
    word-break:break-word;
    color:#1e293b
}
.article-main .news-article-content>*:first-child{margin-top:0 !important}

.news-article-content p,
.news-article-intro p{margin:0 0 1.1em}

.news-article-content h1,
.news-article-content h2,
.news-article-content h3,
.news-article-content h4{
    margin:1.2em 0 .7em;
    line-height:1.4;
    font-weight:800;
    color:#0f172a
}
.news-article-content h1{font-size:26px}
.news-article-content h2{font-size:22px}
.news-article-content h3{font-size:19px}
.news-article-content h4{font-size:17px}

.news-article-content ul,
.news-article-content ol{
    margin:0 0 1.2em 1.3em;
    padding:0
}
.news-article-content ul{
    list-style:disc !important;
    padding-left:20px !important
}
.news-article-content ol{
    list-style:decimal !important;
    padding-left:20px !important
}
.news-article-content li{margin:.4em 0}

.news-article-content img,
.news-article-intro img{
    width:auto;
    height:auto;
    max-width:min(100%,720px)
}

/* icon nhỏ giữ nguyên */
.news-article-content img[width],
.news-article-content img[height],
.news-article-intro img[width],
.news-article-intro img[height]{
    display:inline-block !important;
    margin:0 !important;
    vertical-align:middle;
    border-radius:0 !important;
    max-width:none !important
}

/* ảnh lớn */
.news-article-content p > img:only-child,
.news-article-intro p > img:only-child,
.news-article-content > img,
.news-article-intro > img{
    display:block !important;
    margin:18px auto !important;
    max-width:min(100%,720px) !important;
    border-radius:16px !important;
    object-fit:contain !important
}

.news-article-content blockquote{
    margin:18px 0;
    padding:14px 16px;
    border-left:4px solid var(--primary);
    border-radius:0 14px 14px 0;
    background:#fff7ed;
    color:#7c2d12
}
.news-article-content a{
    color:var(--primary);
    font-weight:700;
    text-decoration:none
}
.news-article-content a:hover{text-decoration:underline}

.news-pagination{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    margin-top:26px
}
.news-pagination a,
.news-pagination span{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:40px;
    height:40px;
    padding:0 12px;
    border:1px solid var(--border);
    border-radius:12px;
    background:#fff;
    color:var(--text);
    font-size:14px;
    font-weight:700;
    text-decoration:none;
    transition:.18s ease
}
.news-pagination a:hover{
    background:#fff7ed;
    border-color:#fed7aa;
    color:var(--primary)
}
.news-pagination span{
    background:linear-gradient(135deg,var(--primary) 0%,#f59e0b 100%);
    border-color:transparent;
    color:#fff
}

@media (max-width:991.98px){
    .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .article-title{font-size:26px}
    .news-featured-img{height:260px}
}


@media (max-width:767.98px){
    #main{padding:14px 0 34px}
    .nap-wrap,.news-wrap{padding:0 10px}

    .news-grid{
        grid-template-columns:1fr;
        gap:8px;
    }

    .news-latest-grid .news-item{
        display:grid !important;
        grid-template-columns:84px minmax(0,1fr) !important;
        align-items:start !important;
        column-gap:12px !important;
        padding:10px !important;
        border-radius:16px !important;
    }

    .news-latest-grid .news-item-thumb-wrap{
        width:84px !important;
        min-width:84px !important;
        max-width:84px !important;
        height:84px !important;
        border-radius:12px !important;
        overflow:hidden !important;
        background:#eef2f7 !important;
    }

    .news-latest-grid .news-item-thumb{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
        border-radius:0 !important;
        display:block !important;
        margin:0 !important;
    }

    .news-latest-grid .news-item-body{
        min-width:0 !important;
        padding:0 !important;
        display:flex !important;
        flex-direction:column !important;
        justify-content:flex-start !important;
    }

    .news-meta-mobile{
        margin:0 0 4px !important;
        font-size:11px !important;
        gap:5px !important;
        line-height:1.3 !important;
    }

    .news-latest-grid .news-item-title{
        margin:0 0 4px !important;
        font-size:15px !important;
        line-height:1.38 !important;
        display:-webkit-box !important;
        -webkit-line-clamp:2 !important;
        -webkit-box-orient:vertical !important;
        overflow:hidden !important;
    }

    .news-latest-grid .news-item-desc{
        margin:0 !important;
        font-size:12.5px !important;
        line-height:1.5 !important;
        color:var(--muted) !important;
        display:-webkit-box !important;
        -webkit-line-clamp:2 !important;
        -webkit-box-orient:vertical !important;
        overflow:hidden !important;
    }

    .news-featured-img{height:210px}
    .news-featured-body{padding:16px}
    .news-featured-title{font-size:20px}
    .article-top{flex-direction:column;gap:14px}
    .article-cover-wrap{width:100%;min-width:100%;border-radius:18px}
    .article-cover{width:100%;height:210px}
    .article-body{padding:18px 16px}
    .article-title{font-size:24px;line-height:1.35}
    .news-article-content,
    .news-article-intro{font-size:15px;line-height:1.8}
    .news-article-content h1{font-size:22px}
    .news-article-content h2{font-size:19px}
    .news-article-content h3{font-size:17px}
    .news-article-content h4{font-size:16px}
}
.news-card,
.article-cover-wrap,
.news-empty{
    border-radius:14px !important;
}

.news-back-btn,
.news-search-input,
.news-pagination a,
.news-pagination span,
.news-search-toggle{
    border-radius:10px !important;
}

.news-article-content p > img:only-child,
.news-article-intro p > img:only-child,
.news-article-content > img,
.news-article-intro > img{
    border-radius:12px !important;
}

@media (max-width:767.98px){
    .news-latest-grid .news-item{
        border-radius:12px !important;
    }

    .news-latest-grid .news-item-thumb-wrap{
        border-radius:10px !important;
    }

    .article-cover-wrap{
        border-radius:14px !important;
    }
}