/* trang giới thiệu (2404) và liên hệ (2406): bỏ cột meta trống, nội dung full-width */
body.page-id-2404 .post-inner, body.page-id-2406 .post-inner, article.page.post-2404 .post-inner, article.page.post-2406 .post-inner {
  float: none;
  width: 100%;
  margin-left: 0;
  padding-left: 0;
}

/* Mobile header compact - 2026-10-16 */
@media (max-width: 850px) {
  /* Thu gọn link menu top */
  .header-top-menu > li > a {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
  /* Ẩn hàng icon mạng xã hội trong header (chỉ trong top-nav) */
  .top-nav .social-menu {
    display: none;
  }
  /* Thu nhỏ logo */
  .site-logo-link img {
    max-height: 56px;
    width: auto;
  }
  /* Giảm padding khối header */
  .header {
    padding: 12px 0;
  }
}

/* Ghi chú: đoạn CSS cũ lặp lại ngay bên dưới được giữ nguyên vẹn (không xoá) để bảo toàn nội dung gốc. */
406 .post-inner {
  float: none;
  width: 100%;
  margin-left: 0;
  padding-left: 0;
}

/* Mobile hamburger drawer - 2026-10-16 */
@media (max-width: 850px) {
  /* 1. Ẩn menu top dài trên mobile (giữ nguyên thanh top-nav để nút tìm kiếm còn chỗ hiển thị) */
  .top-nav .header-top-menu {
    display: none;
  }

  /* 2. Giữ nút tìm kiếm hiển thị + bấm được trên mobile.
        a.search-toggle nằm trong ul.social-menu mà khối "Mobile header compact"
        đã ẩn (display:none) — ghi đè lại CHỈ cho mục tìm kiếm, các icon
        mạng xã hội khác vẫn ẩn như cũ. */
  .top-nav .social-menu {
    display: block;
  }
  .top-nav .social-menu > li {
    display: none;
  }
  .top-nav .social-menu > li.menu-item-151,
  .top-nav .social-menu > li:has(> a.search-toggle) {
    display: block;
    float: right;
    margin-left: 0;
  }

  /* 3. Nút hamburger: XÓA rule display:none của khối cũ để nút hiện lại
        theo mặc định của theme (theme tự display:block + định vị nút trong
        @media (max-width: 850px)); click nút toggle class .active và
        slideToggle ul.header-bottom-menu theo global.js của theme. */

  /* 4. Panel drawer khi mở: danh sách dọc, full-width, nền navy */
  nav.navigation .section-inner {
    width: 100%;
    max-width: 100%;
    background: #0D1B2A;
  }
  .header-bottom-menu {
    margin: 0;
    padding: 0;
    background: #0D1B2A;
    list-style: none;
  }
  .header-bottom-menu > li {
    display: block;
    float: none;
    border: none;
  }
  .header-bottom-menu > li > a {
    display: block;
    padding: 14px 20px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.4;
    text-decoration: none;
    text-transform: none;
    text-shadow: none;
  }
  .header-bottom-menu > li > a:hover,
  .header-bottom-menu > li.current-menu-item > a,
  .header-bottom-menu > li.current_page_item > a,
  .header-bottom-menu > li.current-menu-ancestor > a {
    color: #F97316;
    background: rgba(255, 255, 255, 0.05);
  }
  /* Submenu con (Series, chuyển ngôn ngữ): tĩnh, thụt vào trong */
  .header-bottom-menu .sub-menu {
    position: static;
    display: block;
    left: auto;
    top: auto;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.28);
    list-style: none;
    opacity: 1;
  }
  .header-bottom-menu .sub-menu a {
    display: block;
    padding: 12px 20px 12px 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
  }
  .header-bottom-menu .sub-menu a:hover,
  .header-bottom-menu .sub-menu .current-menu-item > a,
  .header-bottom-menu .sub-menu .current_page_item > a {
    color: #F97316;
  }
}

@media (min-width: 851px) {
  /* Ẩn menu bottom + nút toggle trên desktop để giữ giao diện như hiện tại */
  nav.navigation,
  .header .nav-toggle {
    display: none;
  }
}/* Submenu sentence case - 2026-10-17 */ @media (max-width: 850px) {   .header-bottom-menu .sub-menu a,   .header-bottom-menu ul.sub-menu li a {     text-transform: none;   } }

/* Archives filter styling - 2026-10-17 */
.sidebar .widget .wp-block-archives-dropdown select,
.sidebar .widget select[name="archive-dropdown"] {
  width: 100%;
  margin: 8px 0 4px;
  padding: 10px 36px 10px 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0D1B2A;
  background-color: #ffffff;
  border: 1px solid #c9d4de;
  border-radius: 8px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230D1B2A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px 14px;
}
.sidebar .widget .wp-block-archives-dropdown select:hover,
.sidebar .widget select[name="archive-dropdown"]:hover {
  border-color: #F97316;
}
.sidebar .widget .wp-block-archives-dropdown select:focus,
.sidebar .widget select[name="archive-dropdown"]:focus {
  border-color: #F97316;
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}