/* Trang danh sách tin tức */
.nl { max-width: 1200px; margin: 0 auto; padding: 28px 16px 64px; color: #111827; }
.nl a { text-decoration: none; }

/* Đầu trang gọn: breadcrumb, tiêu đề, tìm kiếm, chuyên mục */
.nl-head { border-bottom: 1px solid #e5e7eb; padding-bottom: 18px; margin-bottom: 28px; }
.nl-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: #6b7280; margin-bottom: 14px; }
.nl-crumb a { color: #6b7280; }
.nl-crumb a:hover { color: var(--vf-blue, #004bb5); }
.nl-crumb [aria-current] { color: #111827; font-weight: 600; }
.nl-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.nl-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 6px; color: #0f172a; }
.nl-desc { margin: 0; color: #4b5563; font-size: .98rem; max-width: 640px; line-height: 1.55; }
.nl-search { position: relative; width: 300px; max-width: 100%; }
.nl-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9ca3af; font-size: .9rem; }
.nl-search input { width: 100%; box-sizing: border-box; padding: 11px 14px 11px 38px; border: 1px solid #d1d5db; border-radius: 10px; font-size: .95rem; background: #fff; color: #111827; transition: border-color .15s, box-shadow .15s; }
.nl-search input:focus { outline: none; border-color: var(--vf-blue, #004bb5); box-shadow: 0 0 0 3px rgba(0, 75, 181, .12); }
.nl-cats { display: flex; gap: 6px; margin-top: 18px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nl-cats::-webkit-scrollbar { display: none; }
.nl-cats a { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #374151; background: #f3f4f6; border: 1px solid transparent; transition: background .15s, color .15s; }
.nl-cats a:hover { background: #e5e7eb; }
.nl-cats a.is-active { background: #0f172a; color: #fff; }
.nl-cats a:focus-visible, .nl-pager a:focus-visible, .nl-btn:focus-visible { outline: 3px solid #93b4f5; outline-offset: 2px; }
.nl-result { margin: -10px 0 22px; color: #4b5563; font-size: .92rem; }
.nl-result a { color: var(--vf-blue, #004bb5); font-weight: 600; }

/* Bài nổi bật */
.nl-featured { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: center; margin-bottom: 40px; }
.nl-featured-media { display: block; border-radius: 16px; overflow: hidden; background: #f3f4f6; aspect-ratio: 16 / 9; }
.nl-featured-media img, .nl-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.nl-featured:hover .nl-featured-media img, .nl-card:hover .nl-card-media img { transform: scale(1.03); }
.nl-kicker { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--vf-blue, #004bb5); margin-bottom: 12px; }
.nl-tag { background: var(--vf-blue, #004bb5); color: #fff; padding: 3px 9px; border-radius: 6px; letter-spacing: .02em; }
.nl-featured-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.25; margin: 0 0 12px; letter-spacing: -.01em; }
.nl-featured-title a, .nl-card-title a { color: #0f172a; }
.nl-featured-title a:hover, .nl-card-title a:hover { color: var(--vf-blue, #004bb5); }
.nl-featured-excerpt { color: #4b5563; font-size: 1rem; line-height: 1.65; margin: 0 0 14px; }
.nl-meta { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: #6b7280; }
.nl-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--vf-blue, #004bb5); }
.nl-more i { transition: transform .2s; }
.nl-more:hover i { transform: translateX(3px); }

/* Lưới bài viết */
.nl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; padding-top: 32px; border-top: 1px solid #e5e7eb; }
.nl-card { display: flex; flex-direction: column; }
.nl-card-media { display: block; border-radius: 12px; overflow: hidden; background: #f3f4f6; aspect-ratio: 16 / 9; margin-bottom: 14px; }
.nl-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--vf-blue, #004bb5); margin-bottom: 6px; display: block; }
.nl-card-title { font-size: 1.08rem; font-weight: 700; line-height: 1.4; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nl-card-excerpt { color: #4b5563; font-size: .92rem; line-height: 1.6; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nl-card .nl-meta { margin-top: auto; }

/* Phân trang */
.nl-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 44px; }
.nl-pager a, .nl-pager span { min-width: 40px; height: 40px; padding: 0 12px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: #374151; border: 1px solid #e5e7eb; background: #fff; }
.nl-pager a:hover { border-color: #9ca3af; }
.nl-pager .is-active { background: #0f172a; color: #fff; border-color: #0f172a; }

/* Trạng thái rỗng & CTA */
.nl-empty { text-align: center; padding: 56px 20px; border: 1px dashed #d1d5db; border-radius: 16px; color: #4b5563; }
.nl-empty i { font-size: 2.4rem; color: #9ca3af; }
.nl-empty h2 { font-size: 1.2rem; margin: 12px 0 6px; color: #111827; }
.nl-empty p { margin: 0 0 18px; }
.nl-btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: .95rem; background: var(--vf-blue, #004bb5); color: #fff !important; border: 1px solid var(--vf-blue, #004bb5); transition: background .15s; white-space: nowrap; }
.nl-btn:hover { background: var(--vf-blue-hover, #003a8c); }
.nl-btn-ghost { background: #fff; color: var(--vf-blue, #004bb5) !important; }
.nl-btn-ghost:hover { background: #f0f5ff; }
.nl-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding: 24px 28px; border-radius: 16px; background: #f0f5ff; border: 1px solid #d6e4ff; }
.nl-cta-title { font-weight: 800; font-size: 1.1rem; margin: 0 0 4px; color: #0f172a; }
.nl-cta-text { margin: 0; color: #4b5563; font-size: .93rem; max-width: 620px; }
.nl-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 991px) {
    .nl-featured { grid-template-columns: 1fr; gap: 18px; }
    .nl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .nl { padding-top: 18px; }
    .nl-head-row { align-items: stretch; }
    .nl-search { width: 100%; }
    .nl-grid { grid-template-columns: 1fr; gap: 28px; }
    .nl-cta { padding: 20px; }
    .nl-cta-actions, .nl-cta-actions .nl-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .nl-featured-media img, .nl-card-media img, .nl-more i { transition: none; }
}

/* Ô nền khi bài không có ảnh */
.nl-ph { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 16px; box-sizing: border-box; background: linear-gradient(135deg, #0b3a8c 0%, #004bb5 55%, #2f7bff 100%); }
.nl-ph span { color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase; opacity: .92; }
