/* Native CMS elements supplement the shared Sites visual system. */
.nnx-site .nav-links { list-style: none; margin: 0; padding: 0; }
.nnx-site .nav-links li { position: relative; }
.nnx-site .nav-links .sub-menu { position: absolute; top: 100%; left: 0; min-width: 250px; max-width: 340px; padding: 12px; margin: 0; list-style: none; background: #fff; border: 1px solid #e1e4e6; box-shadow: 0 12px 32px #182d4512; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s; z-index: 30; }
.nnx-site .nav-links .sub-menu a { display: block; padding: 10px 12px; line-height: 1.5; white-space: normal; font-size: 13px; }
.nnx-site .nav-links .sub-menu .sub-menu { top: 0; left: 100%; }
.nnx-site .nav-links li:hover > .sub-menu,
.nnx-site .nav-links li:focus-within > .sub-menu,
.nnx-site .nav-links li.submenu-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nnx-site .submenu-toggle { display: none; }
.nnx-site .entry-content { overflow-wrap: anywhere; }
.nnx-site .entry-content > *:first-child { margin-top: 0; }
.nnx-site .entry-content img { max-width: 100%; height: auto; }
.nnx-site .entry-content figure { max-width: 100%; margin-left: 0; margin-right: 0; }
.nnx-site .entry-content iframe { max-width: 100%; }
.nnx-site .entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nnx-site .entry-content th,.nnx-site .entry-content td { border: 1px solid #dfe3e7; padding: 12px; text-align: left; }
.nnx-site .entry-content .wp-block-table { overflow-x: auto; }
.nnx-site .entry-content h2,.nnx-site .entry-content h3 { scroll-margin-top: 130px; }
.nnx-site .entry-content a { text-underline-offset: 4px; }
.nnx-site .aligncenter { display: block; margin: 24px auto; }
.nnx-site .alignleft { float: left; margin: 8px 24px 18px 0; }
.nnx-site .alignright { float: right; margin: 8px 0 18px 24px; }
.nnx-site .wp-caption-text,.nnx-site figcaption { font-size: 12px; color: #66717e; line-height: 1.7; text-align: center; margin-top: 10px; }
.nnx-site .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nnx-site .pagination { margin-top: 42px; }
.nnx-site .nav-links .current-menu-item > a,.nnx-site .nav-links .current-menu-ancestor > a { color: #145fbd; }
.nnx-site .pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nnx-site .page-numbers { display: inline-flex; justify-content: center; align-items: center; min-width: 42px; min-height: 42px; padding: 10px 14px; border: 1px solid #dfe3e7; text-decoration: none; }
.nnx-site .page-numbers.current { background: #182d45; color: #fff; border-color: #182d45; }
.nnx-site .article-cover { margin: 0 0 34px; }
.nnx-site .article-cover img { width: 100%; height: auto; display: block; }
.nnx-site .article-tags,.nnx-site .article-share { border-top: 1px solid #dfe3e7; margin-top: 32px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.nnx-site .inquiry-phone { display: block; margin-top: 18px; }
.nnx-site .search-form { max-width: 680px; margin: 30px 0; }
.nnx-site .search-form > div { display: flex; gap: 10px; }
.nnx-site .search-form label { display: block; margin-bottom: 10px; font-size: 13px; }
.nnx-site input[type="text"],.nnx-site input[type="email"],.nnx-site input[type="tel"],.nnx-site input[type="search"],.nnx-site input[type="url"],.nnx-site textarea,.nnx-site select { width: 100%; max-width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #cad1d8; border-radius: 6px; background: #fff; color: #182d45; font: inherit; font-size: 14px; box-sizing: border-box; }
.nnx-site textarea { min-height: 130px; resize: vertical; }
.nnx-site .wpcf7 label { display: block; font-size: 13px; line-height: 1.8; }
.nnx-site .wpcf7-submit { background: #145fbd; color: #fff; border: 0; padding: 15px 24px; font: inherit; font-size: 13px; cursor: pointer; }
.nnx-site .wpcf7-not-valid-tip { font-size: 12px; line-height: 1.7; margin-top: 6px; }
.nnx-site .wpcf7-response-output { font-size: 13px; }
.nnx-site .contact-details { margin-top: 30px; }
.nnx-site .contact-details p { line-height: 1.9; }
.nnx-site .comments-area { margin-top: 50px; padding-top: 35px; border-top: 1px solid #dfe3e7; }
.nnx-site .comment-list { list-style: none; padding-left: 0; }
.nnx-site .comment-body { padding: 20px 0; border-bottom: 1px solid #dfe3e7; font-size: 14px; line-height: 1.8; }
.nnx-site .comment-meta { font-size: 12px; }
.nnx-site .comment-meta .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.nnx-site .comment-reply-title { font-family: Georgia,serif; font-size: 30px; font-weight: 400; }
.nnx-site .comment-form label { display: block; margin-bottom: 7px; }
.nnx-site .comment-form-cookies-consent label { display: inline; }
.nnx-site .sknn-popup-overlay { position: fixed; inset: 0; z-index: 1000; background: #182d45b3; display: none; align-items: center; justify-content: center; padding: 20px; }
.nnx-site .sknn-popup-overlay.is-visible { display: flex; }
.nnx-site .sknn-popup-dialog { width: min(560px,100%); background: #fff; padding: 35px; max-height: 90vh; overflow-y: auto; position: relative; }
.nnx-site .sknn-close-btn { position: absolute; right: 10px; top: 6px; font-size: 30px; border: 0; background: none; cursor: pointer; }
.nnx-site .sknn-btn-trigger { background: #145fbd; color: #fff; border: 0; padding: 15px 24px; font: inherit; cursor: pointer; }
@media (max-width: 960px) {
  .nnx-site .main-nav .nav-links { display: flex; flex-direction: column; align-items: stretch; }
  .nnx-site .main-nav .nav-links > li { border-bottom: 1px solid #e1e4e6; }
  .nnx-site .main-nav .nav-links > li > a { display: block; padding: 14px 45px 14px 0; }
  .nnx-site .main-nav .sub-menu,.nnx-site .main-nav .sub-menu .sub-menu { position: static; min-width: 0; max-width: none; padding: 0 0 8px 12px; box-shadow: none; border: 0; display: none; opacity: 1; visibility: visible; transform: none; }
  .nnx-site .main-nav li.submenu-open > .sub-menu { display: block; }
  .nnx-site .submenu-toggle { display: inline-flex; position: absolute; right: 0; top: 8px; justify-content: center; align-items: center; width: 36px; height: 36px; border: 1px solid #dfe3e7; color: #182d45; background: transparent; cursor: pointer; }
  .nnx-site .submenu-toggle[aria-expanded="true"] { transform: rotate(180deg); }
}
@media (max-width: 600px) {
  .nnx-site .search-form > div { flex-direction: column; }
  .nnx-site .alignleft,.nnx-site .alignright { float: none; margin: 24px 0; }
  .nnx-site .entry-content table { font-size: 12px; }
  .nnx-site .entry-content th,.nnx-site .entry-content td { padding: 8px; }
}

.nnx-site .card-media { display: block; }
.nnx-site .section-top .eyebrow { margin-bottom: 23px; max-width: none; font-size: 10px; color: var(--blue); }
.nnx-site .page-hero > .container > p:not(.eyebrow) { max-width: 640px; font-size: 13px; color: var(--muted); line-height: 1.9; }
.nnx-site .image-caption > span:first-child { font-size: 10px; letter-spacing: .1em; }
@media (max-width: 720px) { .nnx-site .hero-footnote { flex-wrap: wrap; } .nnx-site .image-caption > span:first-child { font-size: 8px; } }

/* === TOPBAR ENHANCEMENTS === */
.nnx-site .topbar { background: #142234; color: #fff; font-size: 11px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nnx-site .topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nnx-site .topbar-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 11px; }
.nnx-site .topbar-tagline { font-weight: 600; letter-spacing: 0.05em; color: #72a9e8; }
.nnx-site .topbar-sep { opacity: 0.3; }
.nnx-site .topbar-email, .nnx-site .topbar-address { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.85); transition: color .2s; }
.nnx-site .topbar-email:hover { color: #fff; text-decoration: underline; }
.nnx-site .topbar-right { display: flex; align-items: center; gap: 16px; }
.nnx-site .topbar-hotline { display: inline-flex; align-items: center; gap: 7px; color: #ffd152; font-size: 12px; }
.nnx-site .topbar-hotline:hover { color: #fff; }
.nnx-site .dot-pulse { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 0 rgba(34,197,94,0.7); animation: nnx-pulse 1.8s infinite; display: inline-block; }
@keyframes nnx-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); } 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* Social Icons */
.nnx-site .social-links, .nnx-site .topbar-social, .nnx-site .footer-social { display: inline-flex; align-items: center; gap: 8px; }
.nnx-site .topbar-social a, .nnx-site .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; transition: all .2s ease; }
.nnx-site .topbar-social a:hover, .nnx-site .footer-social a:hover { background: #145fbd; color: #fff; transform: translateY(-2px); }

/* === FLOATING SUPPORT BAR (.supports) === */
.nnx-site .supports { position: fixed; right: 20px; bottom: 85px; z-index: 999; }
.nnx-site .supports ul { margin: 0; padding: 0; list-style: none; }
.nnx-site .supports li { margin-bottom: 12px; position: relative; list-style: none; }
.nnx-site .supports li a { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: #00adef; box-shadow: 0 4px 15px rgba(0,0,0,0.22); transition: transform .25s ease, box-shadow .25s ease; cursor: pointer; }
.nnx-site .supports li a:hover { transform: scale(1.12); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.nnx-site .supports .btn-popup { background: #145fbd; }
.nnx-site .supports li a svg { vertical-align: middle; animation: nnx-phonering 1.4s infinite ease-in-out; }
.nnx-site .supports li a:hover svg { animation: none; }
@keyframes nnx-phonering {
  0% { transform: rotate(0) scale(1); }
  10% { transform: rotate(-15deg) scale(1.05); }
  20% { transform: rotate(15deg) scale(1.05); }
  30% { transform: rotate(-15deg) scale(1.05); }
  40% { transform: rotate(15deg) scale(1.05); }
  50% { transform: rotate(0) scale(1); }
  100% { transform: rotate(0) scale(1); }
}
.nnx-site .supports .tooltip-text { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); height: 30px; line-height: 28px; padding: 0 12px; font-size: 11px; font-weight: 500; color: #fff; background: #182d45; border-radius: 6px; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transition: all .2s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.18); }
.nnx-site .supports .tooltip-text:after { content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border-width: 5px; border-style: solid; border-color: transparent transparent transparent #182d45; }
.nnx-site .supports li a:hover .tooltip-text { opacity: 1; visibility: visible; right: 52px; }

/* === POPUP FORM MODAL (#popupform) === */
.nnx-site .popupform { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.nnx-site .popupform.is-open { display: flex !important; }
.nnx-site .popupform .darklayer { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.72); backdrop-filter: blur(4px); }
.nnx-site .popupform .popup_wrapper { position: relative; max-width: 680px; width: 100%; background: #fff; border-radius: 12px; padding: 40px 45px; box-shadow: 0 25px 60px rgba(0,0,0,0.3); z-index: 2; max-height: 90vh; overflow-y: auto; background-size: cover; background-position: center; border: 1px solid rgba(255,255,255,0.4); }
.nnx-site .popupform .close_popup { position: absolute; top: 16px; right: 20px; width: 36px; height: 36px; border-radius: 50%; background: #f0f4f8; border: 0; font-size: 26px; line-height: 34px; color: #182d45; cursor: pointer; transition: all .2s; display: grid; place-items: center; }
.nnx-site .popupform .close_popup:hover { background: #e2e8f0; transform: rotate(90deg); }
.nnx-site .popup_inner .heading { font-family: Georgia, serif; font-size: 24px; font-weight: 600; color: #182d45; margin: 0 0 8px; text-align: center; }
.nnx-site .popup_inner .sub-heading { font-size: 12px; color: #68737c; margin: 0 0 24px; text-align: center; line-height: 1.6; }
.nnx-site .nnx-quick-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.nnx-site .nnx-quick-form .form-group:nth-child(3), .nnx-site .nnx-quick-form .form-group:nth-child(4) { grid-column: 1 / -1; }
.nnx-site .nnx-quick-form label { display: block; font-size: 11px; font-weight: 600; margin-bottom: 5px; color: #24354b; }
.nnx-site .nnx-quick-form input, .nnx-site .nnx-quick-form select, .nnx-site .nnx-quick-form textarea { width: 100%; padding: 11px 13px; border: 1px solid #cad1d8; border-radius: 6px; font-size: 13px; font-family: inherit; background: #fbfcfd; transition: border-color .2s; }
.nnx-site .nnx-quick-form input:focus, .nnx-site .nnx-quick-form select:focus, .nnx-site .nnx-quick-form textarea:focus { border-color: #145fbd; outline: none; background: #fff; }
.nnx-site .nnx-quick-form .btn-submit { width: 100%; padding: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; border-radius: 6px; justify-content: center; }

/* === SEARCH MODAL (#search-dialog) === */
.nnx-site .search-modal { position: fixed; inset: 0; z-index: 99998; display: flex; align-items: flex-start; justify-content: center; padding: 100px 20px 40px; }
.nnx-site .search-modal.is-open { display: flex !important; }
.nnx-site .search-modal .darklayer { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(3px); }
.nnx-site .search-modal-box { position: relative; max-width: 620px; width: 100%; background: #fff; border-radius: 10px; padding: 30px; box-shadow: 0 20px 45px rgba(0,0,0,0.25); z-index: 2; }
.nnx-site .search-modal-box .dialog-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 26px; color: #68737c; cursor: pointer; }
.nnx-site .search-modal-heading { font-family: Georgia, serif; font-size: 20px; margin: 0 0 16px; color: #182d45; }
.nnx-site .search-modal-form .search-input-wrap { display: flex; gap: 8px; }
.nnx-site .search-modal-form .search-field { flex: 1; padding: 12px 16px; border: 1px solid #cad1d8; border-radius: 6px; font-size: 14px; }
.nnx-site .search-modal-form .search-submit { padding: 0 18px; background: #145fbd; color: #fff; border: 0; border-radius: 6px; cursor: pointer; display: grid; place-items: center; }

/* === STATS / TRUST BAR === */
.nnx-site .stats-section { background: #fff; border-top: 1px solid #e5e9ec; border-bottom: 1px solid #e5e9ec; padding: 38px 0; }
.nnx-site .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.nnx-site .stat-item { text-align: center; padding: 0 15px; border-right: 1px solid #eef2f5; }
.nnx-site .stat-item:last-child { border-right: 0; }
.nnx-site .stat-number { display: block; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 44px); font-weight: 700; color: #145fbd; line-height: 1.1; margin-bottom: 6px; }
.nnx-site .stat-label { font-size: 11px; color: #68737c; line-height: 1.5; display: block; }

/* === SINGLE ARTICLE ENHANCEMENTS === */
.nnx-site .article-header .article-info { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: #68737c; font-size: 12px; margin-top: 14px; }
.nnx-site .article-header .article-info span { display: inline-flex; align-items: center; gap: 6px; }
.nnx-site .article-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid #dfe3e7; font-size: 12px; }
.nnx-site .article-tags .tags-label { font-weight: 600; color: #182d45; display: inline-flex; align-items: center; gap: 6px; }
.nnx-site .article-tags a { display: inline-block; padding: 5px 12px; border-radius: 20px; background: #eef3f8; color: #145fbd; font-size: 12px; transition: all .2s; }
.nnx-site .article-tags a:hover { background: #145fbd; color: #fff; }
.nnx-site .article-share { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid #dfe3e7; font-size: 13px; }
.nnx-site .article-share .share-title { font-weight: 600; color: #182d45; }
.nnx-site .share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.nnx-site .share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 5px; font-size: 11px; font-weight: 500; text-decoration: none !important; border: 1px solid #d5dce2; background: #fff; color: #24354b; cursor: pointer; transition: all .2s; }
.nnx-site .share-btn:hover { border-color: #145fbd; color: #145fbd; transform: translateY(-1px); }
.nnx-site .share-fb:hover { background: #1877f2; color: #fff !important; border-color: #1877f2; }
.nnx-site .share-zalo:hover { background: #0088ff; color: #fff !important; border-color: #0088ff; }
.nnx-site .sidebar-support-card { background: #fff; border: 1px solid #e1e7ec; border-radius: 8px; padding: 22px; margin-top: 22px; }
.nnx-site .sidebar-support-card .support-title { font-weight: 600; font-size: 14px; color: #182d45; margin: 0 0 8px; }
.nnx-site .sidebar-support-card .support-desc { font-size: 11px; color: #68737c; line-height: 1.6; margin: 0 0 14px; }
.nnx-site .sidebar-support-card .support-phone { font-family: Georgia, serif; font-size: 20px; font-weight: 700; color: #145fbd; display: block; }

/* === BACK TO TOP BUTTON === */
.nnx-site .back-top { position: fixed; right: 22px; bottom: 25px; z-index: 998; }
.nnx-site .back-top[hidden] { display: none !important; }
.nnx-site .back-top button { width: 42px; height: 42px; border-radius: 50%; background: #182d45; color: #fff; border: 0; box-shadow: 0 4px 15px rgba(0,0,0,0.18); display: grid; place-items: center; cursor: pointer; transition: all .25s ease; }
.nnx-site .back-top button:hover { background: #145fbd; transform: translateY(-3px); }

/* === FOOTER ENHANCEMENTS === */
.nnx-site .footer-brand .company-name { font-size: 12px; color: #182d45; margin: 12px 0 6px; }
.nnx-site .footer-brand .company-desc { font-size: 11px; line-height: 1.7; color: #68737c; margin: 0 0 10px; max-width: 320px; }
.nnx-site .footer-brand .company-tax { font-size: 11px; color: #24354b; margin: 0 0 14px; }
.nnx-site .cta-band .cta-desc { max-width: 580px; font-size: 12px; color: #b9c6d4; line-height: 1.8; margin-top: 12px; }

/* === RESPONSIVE OVERRIDES === */
@media (max-width: 960px) {
  .nnx-site .topbar-hide-md { display: none !important; }
  .nnx-site .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .nnx-site .stat-item:nth-child(2) { border-right: 0; }
  .nnx-site .stat-item { border-bottom: 1px solid #eef2f5; padding-bottom: 18px; }
  .nnx-site .supports { bottom: 70px; right: 15px; }
  .nnx-site .supports li a { width: 40px; height: 40px; }
}

@media (max-width: 600px) {
  .nnx-site .topbar-inner { flex-direction: column; padding: 6px 0; gap: 4px; }
  .nnx-site .topbar-left { justify-content: center; }
  .nnx-site .topbar-right { justify-content: center; gap: 12px; }
  .nnx-site .stats-grid { grid-template-columns: 1fr; }
  .nnx-site .stat-item { border-right: 0; }
  .nnx-site .nnx-quick-form .form-grid { grid-template-columns: 1fr; }
  .nnx-site .popupform .popup_wrapper { padding: 30px 20px; }
}
