.nhk-reference-header { border-top: 4px solid #1285b2; background: #fff; }
.nhk-reference-header-inner { display: flex; min-height: 92px; align-items: center; gap: 28px; }
.nhk-reference-logo { display: block; flex: 0 0 285px; }
.nhk-reference-logo img { display: block; width: 285px; height: auto; }
.nhk-reference-contact { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; color: #555; font: 14px/1.4 Arial, sans-serif; }
.nhk-reference-contact i { width: 18px; color: #078ca5; }
.nhk-reference-contact a { color: #e84b19; font-size: 20px; font-weight: 700; }
.nhk-reference-search { display: flex; flex: 0 0 270px; height: 38px; border: 1px solid #cfd8dc; background: #fff; }
.nhk-reference-search input { min-width: 0; flex: 1 1 auto; border: 0; padding: 0 12px; outline: 0; }
.nhk-reference-search button { width: 42px; border: 0; background: #1285b2; color: #fff; }
.nhk-reference-nav { border-bottom: 3px solid #f58220; background: #087da7; }
.nhk-reference-nav-inner { display: flex; min-height: 44px; align-items: stretch; }
.nhk-reference-nav a { display: flex; align-items: center; padding: 0 14px; border-right: 1px solid rgba(255,255,255,.2); color: #fff; font: 600 14px/1.2 Arial, sans-serif; text-decoration: none; }
.nhk-reference-nav a:hover, .nhk-reference-nav a:focus { background: #f58220; color: #fff; }
.nhk-reference-nav .nhk-reference-cart { margin-left: auto; font-size: 18px; }
.nhk-reference-content-row { margin-top: 10px; }
.nhk-reference-main { min-width: 0; }
.nhk-reference-sidebar { padding-left: 18px; }
.nhk-support-box, .nhk-sidebar-links { margin-bottom: 18px; border: 1px solid #d7e1e6; background: #fff; }
.nhk-support-box h2, .nhk-sidebar-links h2 { margin: 0; padding: 11px 14px; background: #087da7; color: #fff; font: 700 16px/1.3 Arial, sans-serif; text-transform: uppercase; }
.nhk-support-person { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid #e6ecef; }
.nhk-support-person > i { width: 34px; color: #f58220; font-size: 27px; text-align: center; }
.nhk-support-person div { display: flex; flex-direction: column; gap: 3px; }
.nhk-support-person strong { color: #444; font: 600 13px Arial, sans-serif; }
.nhk-support-person a { color: #e84b19; font: 700 17px Arial, sans-serif; }
.nhk-support-box > p { margin: 0; padding: 12px 14px; overflow-wrap: anywhere; }
.nhk-sidebar-links a { display: block; padding: 10px 14px; border-bottom: 1px solid #e6ecef; color: #333; font: 14px/1.35 Arial, sans-serif; }
.nhk-sidebar-links a::before { content: "\f105"; margin-right: 8px; color: #f58220; font-family: FontAwesome; }
.nhk-reference-main #detail > .panel, .nhk-reference-main #detail > .panel > .panel-body { border-radius: 0; }
#news-bodyhtml .BodyToc { float: none !important; clear: both; width: 100% !important; padding: 0; margin: 18px 0 24px; }
#news-bodyhtml .btn-danh-sach-show { display: none !important; }
#news-bodyhtml .danh-sach-box { display: block; width: 100%; margin: 0 !important; }
#news-bodyhtml .danh-sach { position: static !important; right: auto !important; top: auto !important; float: none !important; width: 100%; max-width: 100%; border: 1px solid #d7e1e6; background: #f7fafb; }
#news-bodyhtml .head-danh-sach { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: #087da7; font: 700 15px/1.3 Arial, sans-serif; }
#news-bodyhtml .head-danh-sach .btn-danh-sach-close { margin-left: auto; }
#news-bodyhtml #js-toc { padding: 0 14px 12px; font: 14px/1.6 Arial, sans-serif; }
.nhk-reference-footer { margin-top: 35px; border-top: 4px solid #f58220; background: #087da7; color: #fff; }
.nhk-reference-footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 36px; padding: 32px 0; }
.nhk-reference-footer h2 { margin: 0 0 15px; color: #fff; font: 700 17px/1.3 Arial, sans-serif; }
.nhk-reference-footer p { margin: 0 0 9px; line-height: 1.55; }
.nhk-reference-footer section > a:not(.nhk-footer-call) { display: block; padding: 4px 0; color: #fff; }
.nhk-footer-call { display: inline-flex; margin-top: 8px; align-items: center; gap: 8px; padding: 10px 13px; background: #f58220; color: #fff !important; font-weight: 700; }
.nhk-reference-copyright { padding: 12px 0; background: #055e80; color: #d9edf4; }

@media (max-width: 991px) {
    .nhk-reference-header-inner { gap: 16px; }
    .nhk-reference-logo { flex-basis: 235px; }
    .nhk-reference-logo img { width: 235px; }
    .nhk-reference-contact span { display: none; }
    .nhk-reference-search { flex-basis: 220px; }
    .nhk-reference-nav-inner { overflow-x: auto; }
    .nhk-reference-nav a { flex: 0 0 auto; white-space: nowrap; }
}
@media (max-width: 767px) {
    .nhk-reference-header-inner { min-height: 76px; flex-wrap: wrap; padding: 10px 0; }
    .nhk-reference-logo { flex: 1 1 190px; }
    .nhk-reference-logo img { width: 210px; max-width: 100%; }
    .nhk-reference-contact { flex: 0 0 auto; }
    .nhk-reference-contact a { font-size: 17px; }
    .nhk-reference-search { order: 3; flex: 1 0 100%; }
    .nhk-reference-main, .nhk-reference-sidebar { width: 100%; padding-left: 5px; padding-right: 5px; }
    .nhk-reference-sidebar { margin-top: 18px; }
    .nhk-reference-footer-grid { grid-template-columns: 1fr; gap: 22px; padding: 25px 0; }
}
