/* ===== NEWS LIST PAGE STYLES (ported from the design blog.html <style> block; loaded on /tin-tuc/ only) ===== */
:root { --gold: linear-gradient(135deg,#06b6d4,#d946ef); --gold-solid: #3F5EFB; --accent:linear-gradient(135deg,#06b6d4,#d946ef);--accent2:#d946ef; }
html,body{background:#0a0628 url('../logo/background.png') center/cover no-repeat fixed}
body{position:relative;width:100%;min-height:100vh;overflow-x:hidden;isolation:isolate;
}
body::before{display:none}
body::after{display:none}
.bg-deco{display:none}

/* Page Hero */
.page-hero {
    padding: 140px 0 60px; text-align: center; position: relative; overflow: hidden;
    background:linear-gradient(160deg,#0c0628,#110840);
}
.page-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,128L48,138.7C96,149,192,171,288,186.7C384,203,480,213,576,197.3C672,181,768,139,864,128C960,117,1056,139,1152,154.7C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 20px;
}
.breadcrumb a { color: var(--accent2); }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; color: #fff; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,.6); max-width: 600px; margin: 0 auto; }

/* Filter Tabs */
.filter-section { padding: 40px 0 20px; }
.filter-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.filter-tab {
    padding: 10px 24px; border-radius: 999px; font-size: 13px; font-weight: 600;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.06); color: rgba(255,255,255,.7);
    cursor: pointer; transition: all .3s;
}
.filter-tab:hover, .filter-tab.active {
    background: var(--accent); color: #fff;
    border-color: transparent;
}

/* Blog Grid */
.blog-section { padding: 20px 0 100px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card {
    border-radius: var(--radius-lg); overflow: hidden;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    transition: all .45s;
}
.blog-card:hover { transform: translateY(-8px); border-color: rgba(217,70,239,.35); }
.blog-image {
    height: 200px; background-size: cover; background-position: center;
    position: relative; overflow: hidden;
}
.blog-image::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(transparent, rgba(3,18,56,.6));
}
.blog-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(160deg,rgba(19,85,255,.1),transparent);
    opacity: 0; transition: opacity .4s;
}
.blog-card:hover .blog-image::after { opacity: 1; }
.blog-tag {
    position: absolute; top: 14px; left: 14px;
    padding: 5px 14px; border-radius: 999px; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px; z-index: 2;
    background: linear-gradient(135deg,rgba(255,195,28,.12),rgba(255,149,0,.08));
    border: 1px solid rgba(255,176,0,.2);
    color: var(--gold-solid);
}
.blog-tag.tin-tuc { background: rgba(91,111,255,.6); border-color: rgba(91,111,255,.2); color: #fff; }
.blog-tag.su-kien { background: rgba(232,52,78,.6); border-color: rgba(232,52,78,.2); color: #fff; }
.blog-tag.hoat-dong { background: rgba(40,167,69,.6); border-color: rgba(40,167,69,.2); color: #fff; }
.blog-tag.moi-truong { background: rgba(136,81,255,.6); border-color: rgba(136,81,255,.2); color: #fff; }
.blog-content { padding: 22px; }
.blog-meta {
    display: flex; align-items: center; gap: 16px; margin-bottom: 12px;
    font-size: 12px; color: rgba(255,255,255,.6);
}
.blog-meta i { margin-right: 4px; color: var(--accent2); opacity: .6; }
.blog-content h3 {
    font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.5;
    color: #fff; transition: color .3s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card:hover .blog-content h3 { color: var(--accent2); }
.blog-excerpt {
    font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--accent2); font-size: 13px; font-weight: 600;
    transition: all .3s;
}
.blog-link:hover { gap: 10px; }

/* Pagination */
.pagination {
    display: flex; justify-content: center; align-items: center; gap: 6px;
    margin-top: 50px;
}
.page-btn {
    width: 42px; height: 42px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.06); color: rgba(255,255,255,.7);
    font-size: 14px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .3s;
}
.page-btn:hover { color: var(--accent2); }
.page-btn.active {
    background: var(--accent); color: #fff; border-color: transparent;
}
.page-btn.disabled { opacity: .4; cursor: not-allowed; }

/* Responsive */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .page-hero { padding: 110px 0 40px; }
    .page-hero h1 { font-size: var(--font-xl); }
    .page-hero p { font-size: var(--font-sm); }
    .blog-grid { grid-template-columns: 1fr; gap: 16px; }
    .blog-image { height: 180px; }
    .filter-tabs { gap: 6px; }
    .filter-tab { padding: 8px 16px; font-size: var(--font-xs); }
}
@media (max-width: 480px) {
    .page-hero { padding: 100px 0 32px; }
    .page-hero h1 { font-size: var(--font-lg); }
    .page-hero p { font-size: var(--font-sm); }
    .filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
    .filter-tab { flex-shrink: 0; padding: 7px 14px; font-size: 11px; }
    .blog-section { padding: 0 0 32px; }
    .blog-image { height: 160px; }
    .blog-content { padding: 16px; }
    .blog-content h3 { font-size: var(--font-sm); }
    .blog-excerpt { font-size: var(--font-xs); }
    .pagination { gap: 4px; }
    .page-btn { width: 36px; height: 36px; font-size: 12px; }
}
