/* Menu IELTS xổ xuống (02/11/2026, thầy duyệt bản mẫu outputs/trang-ielts/menu-ielts-xo.png).
   Dùng chung cho trang chủ venglish.org (.site-nav), các khu trang tĩnh (.topnav) và /tu-vung (React).
   Máy tính: rê chuột hoặc Tab vào "IELTS" hiện bảng 5 lối tắt; bấm chữ IELTS vào trang /ielts/.
   Màn hẹp: trong menu ☰ có mục IELTS bấm để bung danh sách con (details.nav-sub). */
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-drop > .nav-drop-btn {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  background: #fdeee6; color: #c2481c;
}
.nav-drop > .nav-drop-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-drop:hover > .nav-drop-btn, .nav-drop:focus-within > .nav-drop-btn, .nav-drop > .nav-drop-btn[aria-current] { background: #fbdccb; }
.nav-drop-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 8px; display: none; z-index: 80; }
.nav-drop:hover > .nav-drop-menu, .nav-drop:focus-within > .nav-drop-menu { display: block; }
.nav-drop-box { width: 390px; background: #fff; border: 2px solid #1e2d4c; border-radius: 12px; box-shadow: 5px 6px 0 rgba(30, 45, 76, .12); padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.nav-drop-box a {
  display: grid; grid-template-columns: 30px 1fr auto; column-gap: 10px; align-items: center;
  padding: 7px 10px; border-radius: 9px; text-decoration: none; color: #1e2d4c; min-height: 0; white-space: normal;
}
.nav-drop-box a:hover, .nav-drop-box a:focus-visible { background: #e9f1f8; }
.nav-drop-box a.dau { background: #fdeee6; grid-template-columns: 30px 1fr; }
.nav-drop-box a.dau:hover { background: #fbdccb; }
.nav-drop-box a.dau i { grid-row: span 2; }
.nav-drop-box a.dau small { grid-column: 2; white-space: normal; }
.nav-drop-box i { width: 30px; height: 30px; border: 2px solid #1e2d4c; border-radius: 9px; display: grid; place-items: center; background: #fff; font-style: normal; }
.nav-drop-box i svg { width: 16px; height: 16px; fill: none; stroke: #1e2d4c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-drop-box b { font-size: 14.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.nav-drop-box small { font-size: 12.5px; color: #5d6a7e; white-space: nowrap; line-height: 1.35; }

/* Menu ☰ màn hẹp: IELTS bấm để bung */
.nav-sub > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; border-radius: 10px; }
.nav-sub > summary::-webkit-details-marker { display: none; }
.nav-sub > summary::after { content: "▾"; font-size: 13px; }
.nav-sub[open] > summary::after { content: "▴"; }
.nav-sub > summary, .nav-sub[open] > summary { background: #fdeee6; color: #c2481c; }
.topnav .nav-menu .nav-sub > summary { width: auto; min-height: 44px; padding: 0 12px; border: 0; font-size: 15px; }
.site-nav .nav-sub > summary { min-height: 48px; padding: 0 14px; font-size: 15px; }
.nav-sub > a { padding-left: 28px !important; font-weight: 500 !important; }
.nav-sub > a.dau { font-weight: 700 !important; }

/* Trang chủ venglish.org: .site-nav vừa là menu máy tính vừa là menu ☰ */
@media (max-width: 999px) { .site-nav .nav-drop { display: none; } }
@media (min-width: 1000px) { .site-nav .nav-sub { display: none; } }

/* Luyện tập ▾ xổ ra các lớp (03/11/2026): nút giống mục menu thường (không tô cam như IELTS), bảng chọn lớp THCS / THPT */
.nav-drop-lt > .nav-drop-btn { background: none; color: inherit; }
.nav-drop-lt:hover > .nav-drop-btn, .nav-drop-lt:focus-within > .nav-drop-btn { background: #eef3f9; }
.nav-drop-lt > .nav-drop-btn[aria-current] { background: #e3edf7; color: #2f6fae; }
.nav-drop-box.lop-box { width: 330px; gap: 6px; padding: 12px; }
.lop-box .lb-h { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #5d6a7e; margin-top: 2px; }
.lop-box .lb-r { display: flex; flex-wrap: wrap; gap: 6px; }
.lop-box .lb-r a { display: inline-block; padding: 5px 11px; border-radius: 999px; border: 1.5px solid #cfd8e3; font-weight: 700; font-size: 14px; color: #1e2d4c; text-decoration: none; min-height: 0; }
.lop-box .lb-r a:hover { border-color: #2f6fae; background: #eef5fb; }
.lop-box a.lb-all { display: block; margin-top: 4px; font-weight: 700; font-size: 14px; color: #22894f; text-decoration: none; padding: 4px 2px; min-height: 0; }
.nav-sub-lt > summary, .nav-sub-lt[open] > summary { background: none; color: inherit; }
.nav-sub-lt .lb-nho { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px 8px 28px; }
.nav-sub-lt .lb-nho a { display: inline-block !important; width: auto !important; min-height: 0 !important; padding: 4px 10px !important; border: 1.5px solid #cfd8e3; border-radius: 999px; font-size: 13.5px; font-weight: 600 !important; }
