.container .mcon ul li a {
  font-size: 12px;
}
.ndmeet.video iframe {
  height: 145px;
  width: 100%;
}

.homeright .ndmeet {
  height: auto;
}

.gallery-title {
  padding-top: 20px;
}
.gallery-title .pho1 {
  padding-left: 0px !important;
}
.gallery-title .pho1 {
  /* padding: 0; */
}
.gallery-wrapper * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.header.wrapper {
  display: block;
}
.gallery-title {
  font-size: 20px;
  font-weight: 700;
  color: #f47920;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.gallery-wrapper {
  position: relative;
  background: #fff;
  padding: 16px 40px;
  border-radius: 4px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.nav.wrapper {
  display: block;
}
header#siteHeader {
  display: none;
}
.gallery-item {
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
  border: 2px solid #e0e0e0;
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.gallery-item:hover {
  transform: scale(1.03);
  border-color: #f47920;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nav arrows */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 28px;
  color: #f47920;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  user-select: none;
  z-index: 2;
}
.nav-btn.prev {
  left: 6px;
}
.nav-btn.next {
  right: 6px;
}
.nav-btn:hover {
  color: #c95e00;
}

/* Lightbox overlay */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-box img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  z-index: 10000;
  opacity: 0.85;
}
.lightbox-close:hover {
  opacity: 1;
  color: #f47920;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 4px;
  z-index: 10000;
  transition: background 0.2s;
}
.lightbox-prev {
  left: 12px;
}
.lightbox-next {
  right: 12px;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(244, 121, 32, 0.7);
}

.lightbox-counter {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-top: 10px;
}
@media screen and (max-width: 1024px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 600px) {
  .news_detail_content.c .gallery-wrapper {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-wrapper .gallery-item {
    width: auto;
}
  .news_detail_content iframe {
    width: 100%;
    height: 240px;
}
  .content-right {
   
    width: 100%;
  }
  .content-right .btuong {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* khoảng cách giữa các cột */
}

.content-right .btuong a.cot {
    width: 100% !important;
    background-position: top center;
}
.footer-widget .cot-item {
    width: 33.33333%;
   
    margin-right: 0;
}
.news_detail_content {
    padding: 0;
}

.content-left table td input[type="text"] {
    width: 100%;
}
.ndmeet.video iframe {
    height: 245px;
}
   /* Nút Tìm Kiếm */
      .btn-search-submit {
        flex-shrink: 0;
        height: 30px;
        padding: 0 12px;
        background: #f5821f;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        letter-spacing: 0.3px;
        transition: background 0.15s;
        white-space: nowrap;
      }

      .btn-search-submit:hover {
        background: #e06e10;
      }

      .btn-search-submit:active {
        background: #c85e0a;
      }
  .homecenter {
    width: 100%;
}
  ul.tabs {
    margin: 20px 0;
    padding: 0 !important;
    display: flex;
    width: 100%;
    gap: 5px;
  }

  ul.tabs li a {
    font-size: 13px;
    width: auto !important;
  }
  .content-left .searchlist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 22px;
    gap: 10px;
    height: auto;
    background: none;
  }

  .content-left .searchlist input {
    width: auto !important;
  }

  .content-left .bang .tt {
    font-size: 14px;
  }
  .news_detail_content form#frmContact table tbody tr td:nth-of-type(1) {
    width: 40%;
  }
  .content-left table td input {
    width: 100%;
  }
  .content-left table td select {
    width: 100%;
  }
  .content-left table td textarea {
    width: 100%;
  }
  .content-left table td input.btn {
    width: 100%;
    margin-right: 0;
  }
  .catItemImageBlock {
    margin-bottom: 0;
  }
  .others li a {
    white-space: normal;
  }
  .news_detail_content.c ul.album {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* khoảng cách giữa các cột */
  }

  .news_detail_content.c ul.album li {
    margin: 0;
  }
  body .catItemImageBlock img {
    width: 132px !important;
    object-fit: cover;
  }

  div#doc-content .K2ItemsRow {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-wrapper {
    padding: 12px 28px;
  }
  .header.wrapper {
    display: none;
  }

  .nav.wrapper {
    display: none;
  }
  header#siteHeader {
    display: block;
  }
  img {
    max-width: 100%;
  }
  .content-left {
    width: 100%;
  }
  .content-right.nho {
    width: 100%;
  }

  .doc-content img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }
  body {
    min-width: auto !important;

    background: #ffffff;
  }

  .wrapper {
    width: 100% !important;
  }

  .netviet {
    width: 100% !important;
  }

  .homeleft {
    width: 100%;
  }

  .home_products.photoimg {
    width: 100%;
  }

  .cot1 {
    width: 100%;
  }

  .cot2 {
    width: 100%;
  }

  .cot3 {
    width: 100%;
  }

  .gallery-title .pho1 {
    padding-left: 10px !important;
  }
  .homeright {
    padding-top: 10px;
  }

  .homeright .ndmeet img {
    height: 144px;
    width: 100%;
    object-fit: cover;
  }

  .homeright .meeting {
    flex-basis: 100%;
    max-width: 100%;
  }
  .homeright {
    width: 100%;
    display: flex;
    gap: 10px;
  }

  .footer-widget .row {
    /* display: flex; */
  }

  .footer-widget .cot3 {
    width: 100%;
  }

  /* ── STICKY HEADER ─────────────────────────── */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  }

  /* ── TOP BAR ───────────────────────────────── */
  .top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #fff;
  }

  /* ── LOGO ───────────────────────────────────── */
  .logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
  }

  /* SVG logo nhúng trực tiếp */
  .logo-svg {
    height: 44px;
    width: auto;
  }

  /* ── CONTROLS ────────────────────────────────── */
  .header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* 3 cờ nhỏ */
  .flags {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 5px;
  }

  .flag-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    line-height: 1;
    border-radius: 2px;
    overflow: hidden;
    opacity: 0.9;
    transition:
      opacity 0.15s,
      transform 0.15s;
  }

  .flag-btn:hover {
    opacity: 1;
    transform: scale(1.1);
  }
  .flag-btn.active {
    outline: 2px solid #f5821f;
    border-radius: 3px;
    opacity: 1;
  }

  .flag-btn img {
    width: 26px;
    height: 18px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
  }

  /* Divider */
  .divider {
    width: 1px;
    height: 22px;
    background: #e0e0e0;
  }

  /* Search icon button */
  .btn-icon {
    width: 34px;
    height: 34px;
    background: #ffffff;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
  }

  .btn-icon:hover {
    background: #ebebeb;
  }

  .btn-icon svg {
    width: 17px;
    height: 17px;
    stroke: #555;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Hamburger button */
  .btn-hamburger {
    width: 38px;
    height: 38px;
    background: #03645d;
    border: none;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.5px;
    cursor: pointer;
    padding: 9px;
    transition: background 0.2s;
    flex-shrink: 0;
  }

  .btn-hamburger:hover {
    background: #03645d;
  }
  .btn-hamburger.active {
    background: #14a89d;
  }

  .btn-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
    transform-origin: center;
  }

  .btn-hamburger.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .btn-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .btn-hamburger.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* ── TITLE STRIP ─────────────────────────────── */
  .title-strip {
    background: #289dd8;
    padding: 8px 14px;
  }

  .title-strip p {
    font-size: 10.5px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.4;
  }

  /* ── SEARCH BOX (collapsible) ────────────────── */
  .search-box {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    background: #fafafa;
    border-bottom: 0.5px solid #eeeeee;
  }

  .search-box.open {
    max-height: 56px;
  }

  .search-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
  }

  .search-inner svg {
    width: 16px;
    height: 16px;
    stroke: #aaa;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
  }

  .search-inner input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    color: #333;
  }

  .search-inner input::placeholder {
    color: #bbb;
  }

  /* ── NAV DRAWER ──────────────────────────────── */
  .nav-drawer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    border-top: 0.5px solid #f0f0f0;
  }

  .nav-drawer.open {
    max-height: 800px;
  }

  .nav-list {
    list-style: none;
    padding: 4px 0;
  }

  .nav-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.3px;
    border-bottom: 0.5px solid #f5f5f5;
    transition:
      background 0.15s,
      color 0.15s;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-list li a:hover,
  .nav-list li a:active {
    background: #fff8f0;
    color: #f5821f;
  }

  .nav-list li.active a {
    color: #f5821f;
    background: #fff8f0;
  }

  .nav-list li a .nav-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ddd;
    flex-shrink: 0;
    transition: background 0.15s;
  }

  .nav-list li.active a .nav-dot,
  .nav-list li a:hover .nav-dot {
    background: #f5821f;
  }

  .nav-list li a .nav-arrow {
    margin-left: auto;
    font-size: 14px;
    color: #ccc;
    font-weight: 400;
  }

  /* ── LANG BAR ────────────────────────────────── */
  .lang-bar {
    display: flex;
    gap: 8px;
    padding: 10px 18px 14px;
    background: #fafafa;
    border-top: 0.5px solid #f0f0f0;
  }

  .lang-btn {
    flex: 1;
    padding: 9px 0;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition:
      background 0.15s,
      border-color 0.15s;
  }

  .lang-btn img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
  }

  .lang-btn.active {
    background: #f5821f;
    color: #fff;
    border-color: #f5821f;
  }

  .lang-btn:not(.active):hover {
    background: #f5f5f5;
    border-color: #ddd;
  }

  /* ── NAV ITEM VỚI SUBMENU ────────────────────── */

  /* Row có submenu: tách link và nút toggle */
  .nav-list li.has-sub > .nav-row {
    display: flex;
    align-items: center;
    border-bottom: 0.5px solid #f5f5f5;
  }

  .nav-list li.has-sub > .nav-row > a {
    flex: 1;
    border-bottom: none; /* border do .nav-row quản lý */
    padding-right: 6px;
  }

  /* Nút mũi tên toggle */
  .sub-toggle {
    width: 40px;
    height: 46px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #aaa;
    transition: background 0.15s;
    border-left: 0.5px solid #f0f0f0;
  }

  .sub-toggle:hover {
    background: #fff8f0;
  }

  .sub-toggle svg {
    width: 14px;
    height: 14px;
    stroke: #aaa;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition:
      transform 0.25s ease,
      stroke 0.15s;
  }

  /* Khi mở: mũi tên xoay 180° và đổi màu cam */
  .nav-list li.has-sub.sub-open > .nav-row .sub-toggle svg {
    transform: rotate(180deg);
    stroke: #f5821f;
  }

  .nav-list li.has-sub.sub-open > .nav-row .sub-toggle {
    background: #fff8f0;
  }

  /* Parent active khi sub-open */
  .nav-list li.has-sub.sub-open > .nav-row > a {
    color: #f5821f;
  }
  .nav-list li.has-sub.sub-open > .nav-row > a .nav-dot {
    background: #f5821f;
  }

  /* Submenu container */
  .sub-menu {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff8f4;
    border-bottom: 0.5px solid #f0f0f0;
  }

  .sub-menu.open {
    max-height: 400px;
  }

  /* Submenu list */
  .sub-menu ul {
    list-style: none;
    padding: 4px 0 4px 0;
  }

  .sub-menu ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px 11px 38px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    color: #555;
    border-bottom: 0.5px solid #f5ede8;
    transition:
      background 0.15s,
      color 0.15s;
  }

  .sub-menu ul li:last-child a {
    border-bottom: none;
  }

  .sub-menu ul li a:hover {
    background: #fff0e8;
    color: #f5821f;
  }

  .sub-menu ul li a:hover .sub-dash {
    background: #f5821f;
  }

  .sub-menu ul li.active a {
    color: #f5821f;
  }
  .sub-menu ul li.active a .sub-dash {
    background: #f5821f;
  }

  /* Gạch nhỏ thay cho dot trong submenu */
  .sub-dash {
    width: 12px;
    height: 2px;
    background: #ccc;
    border-radius: 2px;
    flex-shrink: 0;
    transition: background 0.15s;
  }

  /* ── BANNER (UFI + cityscape) ────────────────── */
  .hero-banner {
    background: linear-gradient(135deg, #f7f7f7 0%, #ebebeb 100%);
    padding: 18px 16px 0;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }

  .ufi-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 10px;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    z-index: 2;
  }

  .ufi-logo-circle {
    width: 36px;
    height: 36px;
    background: #2c5f8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: -0.5px;
    flex-shrink: 0;
  }

  .ufi-text .ufi-title {
    font-size: 11px;
    font-weight: 800;
    color: #2c5f8a;
    display: block;
    line-height: 1.2;
  }

  .ufi-text .ufi-sub {
    font-size: 9px;
    color: #888;
    display: block;
    line-height: 1.4;
    margin-top: 1px;
  }

  /* Cityscape SVG */
  .cityscape {
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 220px;
    height: 130px;
  }

  /* ── PAGE BODY DEMO ──────────────────────────── */
  .page-body {
    padding: 24px 16px;
    text-align: center;
    color: #aaa;
    font-size: 13px;
    line-height: 1.8;
  }
  .logo-wrap img {
    max-width: 100%;
    width: 98px;
    height: auto;
  }
  .netviet .nvslide .slide img {
    height: 367px;
    object-fit: cover;
  }

  .homeleft .btuong {
    display: flex;
  }

  .homeleft .btuong .cothome .titbtuong a {
    font-size: 13px;
  }

  .footer-widget .cot1 {
    width: 100%;
    border: none;
  }

  .footer-widget .cot2 {
    width: 100%;
    border: none;
  }

  .footercontain.wrapper .r {
    width: 100%;
    text-align: center;
    padding-top: 20px;
  }
}
