/* Single News Article (tin-tuc) UX Styles - UI/UX Pro Max Editorial Layout */
.hl-ns-page {
    background: #f8fafc;
    padding: 24px 0 64px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
}
.hl-ns-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

/* Top Breadcrumb & Back to List Bar */
.hl-ns-topbar {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: 14px; margin-bottom: 22px; padding: 12px 18px;
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}
.hl-ns-breadcrumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    font-size: 13.5px; color: #64748b; line-height: 1.4;
}
.hl-ns-breadcrumb a { color: #334155; font-weight: 700; text-decoration: none; }
.hl-ns-breadcrumb a:hover { color: #c21a1b; text-decoration: underline; }
.hl-ns-crumb-current { color: #0f172a; font-weight: 600; max-width: 440px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hl-ns-back-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
    border-radius: 999px; border: 1px solid rgba(194, 26, 27, 0.3); background: #fff5f5;
    color: #b91c1c !important; font-size: 13.5px; font-weight: 800; text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.hl-ns-back-btn:hover { background: #c21a1b; border-color: #c21a1b; color: #ffffff !important; transform: translateX(-2px); }
.hl-ns-back-btn--solid { background: #0f172a; border-color: #0f172a; color: #ffffff !important; }
.hl-ns-back-btn--solid:hover { background: #1e293b; border-color: #1e293b; color: #ffffff !important; }

/* 2-Column Editorial Layout */
.hl-ns-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 32px; align-items: start; }

/* Main Article Card */
.hl-ns-article {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 18px;
    padding: 34px 36px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.hl-ns-eyebrow {
    display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
    background: #fef2f2; color: #b91c1c; font-size: 12px; font-weight: 800; letter-spacing: 0.2px;
    margin-bottom: 14px;
}
.hl-ns-eyebrow--svc { background: #eff6ff; color: #1d4ed8; margin-bottom: 10px; }
.hl-ns-title {
    color: #0f172a; font-size: clamp(24px, 3vw, 32px); font-weight: 900;
    line-height: 1.28; margin: 0 0 16px;
}
.hl-ns-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
    padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid #e2e8f0;
    font-size: 13.5px; color: #475569; font-weight: 600;
}
.hl-ns-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hl-ns-meta i { color: #c21a1b; }
.hl-ns-meta a { color: #0f172a; font-weight: 700; text-decoration: none; }
.hl-ns-meta a:hover { color: #c21a1b; }

.hl-ns-hero-img { margin: 0 0 28px; border-radius: 14px; overflow: hidden; background: #f1f5f9; border: 1px solid #e2e8f0; }
.hl-ns-hero-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

/* Prose Typography */
.hl-ns-prose { font-size: 16.5px; line-height: 1.78; color: #1e293b; overflow-wrap: break-word; }
.hl-ns-prose p { margin: 0 0 18px; }
.hl-ns-prose h2 {
    font-size: 22px; font-weight: 800; color: #0f172a; line-height: 1.35;
    margin: 30px 0 14px; padding-left: 14px; border-left: 4px solid #c21a1b;
}
.hl-ns-prose h3 { font-size: 18px; font-weight: 800; color: #0f172a; line-height: 1.4; margin: 22px 0 10px; }
.hl-ns-prose ul, .hl-ns-prose ol { margin: 0 0 18px; padding-left: 22px; }
.hl-ns-prose li { margin-bottom: 8px; }
.hl-ns-prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 14px 0; }
.hl-ns-prose blockquote {
    margin: 22px 0; padding: 16px 20px; border-left: 4px solid #c21a1b;
    background: #f8fafc; border-radius: 0 12px 12px 0; color: #334155; font-style: italic;
}
.hl-ns-prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.hl-ns-prose th, .hl-ns-prose td { border: 1px solid #e2e8f0; padding: 10px 12px; text-align: left; }
.hl-ns-prose th { background: #f8fafc; font-weight: 800; color: #0f172a; }

.hl-ns-bottom-bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 14px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #e2e8f0;
}
.hl-ns-hotline-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 10px 20px;
    border-radius: 999px; background: #c21a1b; color: #ffffff !important;
    font-size: 14px; font-weight: 800; text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(194, 26, 27, 0.24);
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.hl-ns-hotline-btn:hover { background: #991b1b; transform: translateY(-1px); }

/* Right Sticky Sidebar */
.hl-ns-sidebar-sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.hl-ns-related-card {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 22px 20px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}
.hl-ns-side-title {
    display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 900;
    color: #0f172a; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid #f1f5f9;
}
.hl-ns-side-title i { color: #c21a1b; }
.hl-ns-related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hl-ns-rel-item { padding-bottom: 14px; border-bottom: 1px solid #f1f5f9; margin: 0; }
.hl-ns-rel-item:last-child { padding-bottom: 0; border-bottom: 0; }
.hl-ns-rel-link { display: flex; align-items: flex-start; gap: 12px; text-decoration: none !important; color: inherit; }
.hl-ns-rel-thumb {
    flex: 0 0 88px; width: 88px; height: 62px; border-radius: 10px; overflow: hidden;
    background: #f1f5f9; border: 1px solid #e2e8f0; display: block;
}
.hl-ns-rel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.hl-ns-rel-link:hover .hl-ns-rel-thumb img { transform: scale(1.05); }
.hl-ns-rel-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.hl-ns-rel-title {
    color: #0f172a; font-size: 13.8px; font-weight: 700; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color 0.2s ease;
}
.hl-ns-rel-link:hover .hl-ns-rel-title { color: #c21a1b; }
.hl-ns-rel-date { font-size: 12px; color: #64748b; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

.hl-ns-side-all {
    margin-top: 16px; padding-top: 14px; border-top: 1px solid #f1f5f9;
    display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800;
    color: #c21a1b !important; text-decoration: none !important;
}
.hl-ns-side-all:hover { color: #991b1b !important; text-decoration: underline !important; }

.hl-ns-cta-card {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff; border-radius: 18px; padding: 22px 20px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}
.hl-ns-cta-pill {
    display: inline-block; padding: 4px 10px; border-radius: 999px;
    background: rgba(194, 26, 27, 0.28); border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fecaca; font-size: 11px; font-weight: 800; margin-bottom: 10px;
}
.hl-ns-cta-card h3 { color: #ffffff; font-size: 18px; font-weight: 900; line-height: 1.35; margin: 0 0 8px; }
.hl-ns-cta-card p { color: #cbd5e1; font-size: 13.5px; line-height: 1.55; margin: 0 0 16px; }
.hl-ns-cta-actions { display: flex; flex-direction: column; gap: 10px; }
.hl-ns-cta-tel, .hl-ns-cta-survey {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 42px; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 800;
    text-decoration: none !important; transition: background-color 0.2s ease, transform 0.2s ease;
}
.hl-ns-cta-tel { background: #c21a1b; color: #ffffff !important; }
.hl-ns-cta-tel:hover { background: #dc2626; transform: translateY(-1px); }
.hl-ns-cta-survey { background: #ffffff; color: #0f172a !important; }
.hl-ns-cta-survey:hover { background: #f1f5f9; }

/* Bottom Matching Services Section */
.hl-ns-services-section { margin-top: 48px; padding-top: 38px; border-top: 1px solid #e2e8f0; }
.hl-ns-svc-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.hl-ns-svc-head h2 { color: #0f172a; font-size: clamp(22px, 2.5vw, 28px); font-weight: 900; margin: 0; line-height: 1.25; }
.hl-ns-svc-all {
    display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 800;
    color: #c21a1b !important; text-decoration: none !important;
}
.hl-ns-svc-all:hover { color: #991b1b !important; text-decoration: underline !important; }

.hl-ns-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hl-ns-svc-card {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column; box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hl-ns-svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09); border-color: rgba(194, 26, 27, 0.35); }
.hl-ns-svc-thumb { display: block; aspect-ratio: 16 / 10; background: #f1f5f9; overflow: hidden; }
.hl-ns-svc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.hl-ns-svc-card:hover .hl-ns-svc-thumb img { transform: scale(1.04); }
.hl-ns-svc-body { padding: 20px; display: flex; flex-direction: column; flex: 1 1 auto; }
.hl-ns-svc-pill {
    display: inline-block; width: fit-content; padding: 4px 10px; border-radius: 999px;
    background: #fef2f2; color: #b91c1c; font-size: 11.5px; font-weight: 800; margin-bottom: 10px;
}
.hl-ns-svc-title { font-size: 16.5px; font-weight: 800; line-height: 1.4; margin: 0 0 10px; }
.hl-ns-svc-title a { color: #0f172a; text-decoration: none; }
.hl-ns-svc-title a:hover { color: #c21a1b; }
.hl-ns-svc-desc {
    color: #475569; font-size: 13.8px; line-height: 1.6; margin: 0 0 16px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hl-ns-svc-more {
    margin-top: auto; display: inline-flex; align-items: center; gap: 7px;
    font-size: 13.8px; font-weight: 800; color: #c21a1b !important; text-decoration: none !important;
}
.hl-ns-svc-more:hover { color: #991b1b !important; }

.hl-ns-back-btn:focus-visible, .hl-ns-hotline-btn:focus-visible, .hl-ns-rel-link:focus-visible,
.hl-ns-cta-tel:focus-visible, .hl-ns-cta-survey:focus-visible, .hl-ns-svc-all:focus-visible,
.hl-ns-svc-more:focus-visible, .hl-ns-svc-title a:focus-visible {
    outline: 3px solid #c21a1b; outline-offset: 2px;
}

@media (max-width: 1024px) {
    .hl-ns-layout { grid-template-columns: 1fr; }
    .hl-ns-sidebar-sticky { position: static; }
    .hl-ns-svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .hl-ns-page { padding: 16px 0 48px; }
    .hl-ns-topbar { padding: 12px 14px; }
    .hl-ns-crumb-current { max-width: 200px; }
    .hl-ns-article { padding: 22px 18px; border-radius: 14px; }
    .hl-ns-svc-grid { grid-template-columns: 1fr; }
    .hl-ns-bottom-bar { flex-direction: column; align-items: stretch; }
    .hl-ns-bottom-bar .hl-ns-back-btn, .hl-ns-bottom-bar .hl-ns-hotline-btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .hl-ns-back-btn, .hl-ns-hotline-btn, .hl-ns-rel-thumb img, .hl-ns-cta-tel, .hl-ns-svc-card, .hl-ns-svc-thumb img { transition: none; }
}
