.main-menu {
  display: flex;
  list-style: none;
  flex-direction: column;
}

.main-menu .menu-item-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-menu .submenu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  margin-right: 0.35rem;
}

/* Menu item có submenu */
.main-menu .menu-item.has-children {
  position: relative;
}

/* Mega menu mặc định ẩn */
.main-menu .mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-subtle-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 1111000;
}

/* Desktop: hover thì mở */
@media (min-width: 992px) {
  .main-menu .menu-item.has-children:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background: var(--color-subtle-dark);
  }

  .main-menu .menu-item.has-children:hover .icon-dropdown {
    transform: rotate(180deg);
    stroke: var(--color-primary);
  }
}

/* Mobile: dùng class .open (thêm bằng JS) */
@media (max-width: 991px) {
  .main-menu .mega-menu {
    position: static;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: solid 1.1px var(--color-subtle-dark);
    border-bottom: solid 1.1px var(--color-subtle-dark);
    background: none;
  }
  .main-menu .mega-menu.open {
    max-height: 500px; /* set lớn hơn chiều cao thật */
    opacity: 1;
    visibility: visible;
  }
}

/*.main-menu li {
  position: relative;
}
.main-menu .mega-menu {
  top: 100%;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    all 0.3s ease,
    transform 0.3s ease;
   border-top:solid 1.1px var(--color-subtle-dark);
   border-bottom:solid 1.1px var(--color-subtle-dark);
  background: var(--color-subtle-dark);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
}

.main-menu .mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 500px;
}

.main-menu li:hover > .mega-menu {
  display:block;
}*/

.main-menu .mega-menu .menu-link {
  margin-left: 1.25rem;
  display: block;
  flex: 1;
}

.menu-link {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.7rem;
  transition: color 0.3s ease;
  flex: 1;
}

.menu-link:hover {
  color: var(--color-primary);
  background: var(--color-subtle-dark);
}
.icon-dropdown {
  width: 1.65em;
  height: 1.65em;
  stroke-width: 1.4;
  display: block;
  transition: transform 0.3s ease; /* mượt mà */
  transform-origin: center;
}

.icon-dropdown:hover {
  transform: rotate(180deg);
  stroke: var(--color-primary);
}

.sub-menu {
}

.search-header {
  max-width: 100%;
  position: relative;
  color: #fff;
  min-height: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 2rem;
}

.search-header .overlay {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* --- Container --- */
.search-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  color: #fff;
}

/* --- Title --- */
.search-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* --- Search Form --- */
.search-form {
  display: flex;
  align-items: center;
  background: #161616;
  border-radius: 999px;
  overflow: hidden;
  padding: 5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.search-form input {
  flex: 1;
  border: none;
  padding: 14px 18px;
  font-size: 1rem;
  outline: none;
  max-width: 80%;
}
.search-form .search-btn {
  background: var(--color-primary);
  border: none;
  padding: 14px 28px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 50px;
  transition: background 0.3s;
}
.search-form .search-btn:hover {
  background: #007f8c;
}

/* --- Popular Topics --- */
.popular-topics {
  margin-top: 2rem;
}
.popular-topics ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.popular-topics a {
  padding: 8px 18px;
  border: solid 1.3px #c5c5c5;
  color: #c5c5c5;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.popular-topics a:hover {
  background: #c5c5c5;
  color: var(--color-primary);
  border-color: #c5c5c5;
}

/* --- Accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.tab-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #222;
}

.tab-btn {
  background: none;
  border: none;
  font-weight: 500;
  padding: 0.5rem 0;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  color: #a9a9a9;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  border-color: #fff;
  color: #fff;
  border-bottom: 3px solid #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.top-videos .video-list {
  grid-template-columns: repeat(2, 1fr);
}

.featured-section {
  margin-bottom: 1.3rem;
  position: relative;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.featured-header h2 {
  margin: 0;
}

.video-nav {
  display: inline-flex;
  column-gap: 0.5rem;
  align-items: center;
}

.nav-btn {
  background: var(--color-subtle-dark);
  border: solid 1px #1f1f1f;
  border-radius: 50%;
  padding: 5px;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-size: 1.25rem;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: #1f1f1f;
}

.nav-btn:hover .icon-svg {
  stroke: var(--color-primary);
}

.nav-btn .icon-svg {
  stroke-width: 1.3;
}

.video-slider-wrapper {
  /*overflow: hidden;
  position: relative;*/
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.video-slider-wrapper .video-list {
  display: flex;
  column-gap: 0.55rem;
  transition: transform 0.3s ease;
  will-change: transform;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  padding-bottom: 0.5rem;
}

.video-slider-wrapper .video-list::-webkit-scrollbar {
  display: none;
}

.video-slider-wrapper .video-item {
  max-width: 250px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.video-slider-wrapper .video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.video-slider-wrapper .video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Title đè lên overlay */
.video-slider-wrapper .video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.3rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  padding: 0.85rem;
  display: block;
}

/* Đảm bảo link bao quanh title + thumb vẫn SEO-friendly */
.video-slider-wrapper .video-link {
  position: relative;
  display: block;
  text-decoration: none;
}

.video-duration {
  left: auto;
  right: 6px;
}

.video-link.hero {
  position: relative;
}

/* Container quảng cáo chung */
.ad-container {
  max-width: 100%;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.ads {
  display: block;
  background: repeating-linear-gradient(
    45deg,
    #f2f2f2,
    #f2f2f2 10px,
    #e0e0e0 10px,
    #e0e0e0 20px
  );
  color: #999;
  font-size: 1.6rem;
  font-weight: 500;
  text-transform: uppercase;
  border: 1px solid #ddd;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Kích thước Ads phổ biến (Desktop) */
.ad-728x90 {
  width: 728px;
  height: 90px;
} /* Leaderboard */
.ad-970x250 {
  width: 970px;
  height: 250px;
} /* Billboard */
.ad-300x250 {
  width: 300px;
  height: 250px;
} /* MPU */
.ad-336x280 {
  width: 336px;
  height: 280px;
} /* Large Rectangle */
.ad-160x600 {
  width: 160px;
  height: 600px;
} /* Wide Skyscraper */
.ad-300x600 {
  width: 300px;
  height: 600px;
} /* Half Page */

.ad-300x150 {
  width: 300px;
  height: 150px;
}

/* Mobile Popular Sizes */
.ad-320x100 {
  width: 320px;
  height: 100px;
} /* Large Mobile Banner */
.ad-300x100 {
  width: 300px;
  height: 100px;
} /* Mobile Banner */
.ad-320x50 {
  width: 320px;
  height: 50px;
} /* Mobile Leaderboard */

/* Responsive - Mobile first */
@media (max-width: 767px) {
  .ad-container {
    width: 100% !important;
    height: auto !important;
  }
}

.category-grid {
}

.category-grid .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.category-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-link:hover .card-title {
  color: var(--color-primary);
}

.card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
}

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

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
}

.card-count {
  font-size: 0.8rem;
  color: #c0bebd;
  font-style: italic;
}

.toggle-categories {
  display: block;
  margin: 1rem auto 0;
  border: none;
  background: none;
  cursor: pointer;
}

.toggle-categories svg {
  width: 32px;
  height: 32px;
  color: #ff9500;
  transition: transform 0.3s ease;
}

.more-card {
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}

.more-card .card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
}

.plus-icon {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
}

.category-header {
  background: #000;
  color: #fff;
  border-bottom: 1px solid #222;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
}

/*.category-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
*/
.category-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #fff;
}

.category-description,
.section-des {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1rem;
  max-width: 700px;
  line-height: 1.5;
}

.category-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  overflow-x: auto;
  padding: 0;
  margin: 0;
  scrollbar-width: none; /* Ẩn scrollbar Firefox */
}

.category-nav ul::-webkit-scrollbar {
  display: none; /* Ẩn scrollbar Chrome/Safari */
}

.category-nav a {
  display: block;
  padding: 6px 15px;
  border-radius: 6px;
  border: solid 1px #1a1a1a;
  color: #c5c5c5;
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.category-nav a.active,
.category-nav a:hover {
  background: #212121;
  color: #fff;
}

/* Responsive */
/*@media (max-width: 768px) {
  .category-title {
    font-size: 1.6rem;
  }
  .category-description {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  .category-nav a {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}
*/

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 10px;
  background: #000;
}

.pagination .page-wrapper {
  overflow-x: auto;
  scrollbar-width: none; /* Ẩn thanh cuộn trên Firefox */
  -ms-overflow-style: none; /* Ẩn thanh cuộn trên IE */
}

.pagination .page-wrapper::-webkit-scrollbar {
  display: none; /* Ẩn thanh cuộn trên Chrome/Safari */
}

.pagination ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li a,
.pagination .prev,
.pagination .next,
.dots,
.pagination .active .current {
  display: block;
  padding: 2px 16px;
  border-radius: 6px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  border: 2px solid #1a1a1a;
}

.pagination .prev,
.pagination .next {
  background: var(--color-primary);
  color: #000000;
  border-color: var(--color-primary);
}

.pagination .active .current {
  border-color: var(--color-primary);
}

.pagination li a:hover {
  background: var(--color-primary);
  color: #000;
}

.pagination button:hover:not(:disabled) {
  background: var(--color-primary);
  color: #000;
}

.pagination .prev.disabled,
.pagination .next.disabled {
  border-color: #111;
  background: #111;
  color: #555;
  cursor: not-allowed;
}

:root {
  /*--color-primary: #ffa31a;*/
  --color-primary: #e63946;
  /* --color-primary: #e02500; */
  --color-accent: #f72585; /* Hồng neon sexy, nổi bật */
  --color-highlight: #ffd6e0; /* Hồng pastel nhạt - tạo điểm nhấn dịu dàng */
  --color-dark: #0a0a0a; /* Đen sâu - nền chính */
  --color-subtle-dark: #161616; /* Đen phụ - dùng cho các box / khối */
  --color-text: #cccccc; /* Xám trắng dễ đọc - text */
  --color-muted: #888888; /* Xám mờ - phụ */
  --color-highlight-gold: #ffb347;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: var(--font-size-base);
  background: #000000;
  color: #fff;
  line-height: 1.6;
  font-weight: var(--font-weight-base);
}

html,
body,
header,
footer,
main,
nav,
section,
article,
aside,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
form,
fieldset,
legend,
figure,
figcaption,
div {
  display: block;
}

ul,
ol {
  list-style: none;
}

/* Link reset */
a {
  color: inherit;
  text-decoration: none;
}

/* Ảnh và video tự co theo khung */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Input / button nhất quán */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

.sections {
  margin-bottom: 2rem;
}

.icon-svg {
  display: block;
  stroke-width: 2;
  stroke: #f5f5f5;
  width: 27px;
  height: 27px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  border: none;
  text-decoration: none;
  cursor: pointer;
  background: none;
}

.section-title,
.taxonomy-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #0052b3;
  flex-shrink: 0;
  padding: 3px;
}

.icon-wrap .icon-svg {
  display: block;
  width: 13px;
  height: 13px;
  stroke: #fff;
}

.text-h2 {
  font-weight: 500;
  font-size: 0.5rem;
}

.title-h1 {
  font-weight: 500;
  font-size: 1.2rem;
}

.site-header {
  padding: 0 0.6rem;
  border-bottom: solid 1px var(--color-subtle-dark);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 996;
  background: #0e0e0e;
}

.in-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 55px;
}

.header-logo a {
  display: block;
}

.header-logo img {
  display: block;
  max-height: 35px;
  height: auto;
  width: auto;
  object-fit: contain;
}

.header-nav {
  position: absolute;
  top: 0;
  height: 100vh;
  left: -70%;
  width: 70%;
  display: block;
  background: var(--color-dark);
  z-index: 998;
  transition: left 0.2s ease;
}

.header-nav.active {
  left: 0;
}

.list-menu {
  margin-top: 0.6rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.list-menu a {
  padding: 10px 0.8rem;
  display: block;
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.list-menu a:hover {
  background: var(--color-subtle-dark);
  color: var(--color-primary);
}

.close-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: inherit;
  font-size: 0.7rem;
  cursor: pointer;
  margin: 0.6rem;
}

.close-btn > .close-text {
  color: var(--color-text);
}

.menu-btn > .icon-svg,
.close-btn > .icon-svg {
  stroke: var(--color-primary);
  transition: transform 0.4s ease;
  transform-origin: center;
}

.menu-btn:hover > .icon-svg {
  transform: rotateY(180deg);
}

.menu-btn {
  order: 1;
}

.close-search .icon-svg {
  stroke-width: 1;
}

.close-search:hover .icon-svg {
  stroke: var(--color-primary);
}

.header-logo {
  order: 2;
}

.search-btn {
  order: 3;
}

.header-form {
  display: flex;
  align-items: center;
  height: 55px;
  /* max-width: 100%;*/
  gap: 0.5rem;
  position: absolute;
  top: -55px;
  background: var(--color-dark);
  left: 0;
  padding: 5px 0.6rem;
  width: 100%;
  z-index: 998;
  transition: top 0.2s ease;
}

.header-form.active {
  top: 0;
}

.in-search {
  flex: 1;
  display: flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
  /*background: var(--color-subtle-dark);*/
  padding: 0.3em 0.7em;
  column-gap: 13px;
}

.in-search > button .icon-svg {
  width: 24px;
  height: 24px;
  stroke-width: 1;
}

.header-form input[type="search"] {
  flex: 1;
  /* padding: 0.6em 1em;*/
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
  background: none;
  border: none;
  color: #fff;
}

.header-form input:focus {
  border-color: #e50914;
}

/* .header-form button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6em 1em;
  background: #e50914;
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease;
} */

.search-form button:hover {
  background: #b20710;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
}

.overlay {
  position: fixed;
  opacity: 0;
  visibility: hidden;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  transition: all 0.2s ease;
  z-index: 997;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.site-main {
  margin-top: 3.7rem;
  padding: 0.6rem;
}

.section-latest-videos {
  /*padding: 10px 0;*/
}

.video-list {
  display: grid;
  column-gap: 0.6rem;
  row-gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}

.video-link {
  text-decoration: none;
  color: inherit;
  display: block;
  /*-webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;*/
}

.video-link:hover .video-title {
  color: var(--color-primary);
}

.video-link .video-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    color-mix(in srgb, var(--color-primary) 70%, white)
  );
  transition: width 0.5s ease;
}

.video-link:hover .video-thumb::after {
  width: 100%;
}

.video-thumb {
  border-radius: 5px;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

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

.lazy-img {
  width: 100%;
  height: auto;
  display: block;
  filter: blur(20px);
  transition:
    filter 0.4s ease,
    transform 0.3s ease;
  object-fit: cover;
}

.lazy-img.loaded {
  filter: blur(0);
  transform: scale(1);
}

.video-duration {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
}

.video-label {
  border-left: solid 3.5px var(--color-primary);
  position: absolute;
  left: 6px;
  top: 6px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 0 3px 3px 0;
}

.hot-tag {
  z-index: 5;
  --f: 0.5em;
  position: absolute;
  top: 0;
  right: 0;
  line-height: 1.8;
  padding-inline: 1lh;
  padding-bottom: var(--f);
  border-image: conic-gradient(#0008 0 0) 51% / var(--f);
  clip-path: polygon(
    100% calc(100% - var(--f)),
    100% 100%,
    calc(100% - var(--f)) calc(100% - var(--f)),
    var(--f) calc(100% - var(--f)),
    0 100%,
    0 calc(100% - var(--f)),
    999px calc(100% - var(--f) - 999px),
    calc(100% - 999px) calc(100% - var(--f) - 999px)
  );
  transform: translate(calc((1 - cos(45deg)) * 100%), -100%) rotate(45deg);
  transform-origin: 0% 100%;
  background: linear-gradient(45deg, #ff0000, #ff7300);
  pointer-events: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

/* Tùy chỉnh chữ cho đẹp */
.hot-tag::before,
.hot-tag::after {
  content: "";
  position: absolute;
  bottom: -4px;
  border-top: 4px solid #b30000;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.hot-tag::before {
  left: 0;
}

.hot-tag::after {
  right: 0;
}

.video-title {
  font-size: 1rem;
  font-weight: 400;
  margin-top: 0.5rem;
  line-height: 1.4;
  text-align: center;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}

/*.video-label {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #999;
}*/

.video-container {
  overflow: hidden;
  display: block;
  width: 100%;
}

.entry-video,
.entry-header,
.video-description {
  margin-bottom: 0.6rem;
}

.entry-header {
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.4;
}
.video-container iframe,
#easy3xplay {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}

.server-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.server-btn {
  position: relative;
  padding: 6px 18px;
  background: var(--color-subtle-dark, #222);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s;
  white-space: nowrap;
  font-weight: 400;
}

.server-btn:hover {
  background: #333;
}

.server-btn.active {
  background: var(--color-primary);
  color: #fff;
}

.server-btn.active::before {
  content: "";
  position: absolute;
  right: 0;
  /*top: 50%;
  transform: translateY(-50%);*/
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px 2px var(--color-accent);
  animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-50%) scale(1.6);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}

.pagination {
  text-align: center;
  margin-top: 30px;
}
.pagination-list {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination-list li a {
  padding: 6px 12px;
  background: #f5f5f5;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
}
.pagination-list .active-page span {
  padding: 6px 12px;
  background: #0073aa;
  color: #fff;
  border-radius: 4px;
}
.pagination-list .dots {
  padding: 6px 8px;
  color: #999;
}

.tag-slider-section {
  padding: 0 0;
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}

.tag-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.tag-slider {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0;
  scrollbar-width: none;
}
.tag-slider::-webkit-scrollbar {
  display: none;
}

.tag-item {
  flex-shrink: 0;
  background: var(--color-subtle-dark);
  color: #fff;
  padding: 7px 16px;
  border-radius: 999px;
  border: solid 1.3px #1f1f1f;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.tag-item:hover {
  background: #1f1f1f;
}

/* Nút điều hướng cho desktop */
.tag-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 50;
  display: none;
  width: 40px;
  height: 40px;
}

.tag-nav .icon-svg {
  width: 25px;
  height: 25px;
}
.tag-nav.prev {
  left: -10px;
}
.tag-nav.next {
  right: -10px;
}

/* Gradient viền mờ 2 bên cho mobile */
.tag-gradient {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 5;
  pointer-events: none;
}
.tag-gradient.left {
  left: -5px;
  background: linear-gradient(to right, #000000, transparent);
}
.tag-gradient.right {
  right: -5px;
  background: linear-gradient(to left, #000000, transparent);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
  gap: 5px;
  color: var(--color-text);
  /*background-color: #181818;
 padding: 10px;
  border-radius:5px;*/
  margin-bottom: 0.75rem;
}
.breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 400;
  white-space: nowrap;
}
.breadcrumb a:hover {
  /* text-decoration: underline;*/
}
.breadcrumb .bc-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  stroke-width: 1.3;
  stroke: var(--color-muted);
  flex-shrink: 0;
}

.bc-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.breadcrumb-current {
  color: var(--color-text);
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}

.video-tag strong,
.video-cat strong {
  display: inline-block;
  font-weight: 500;
  font-size: 1.1rem;
  color: #959595;
  margin-bottom: 0.65rem;
}

.video-tags,
.video-cats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0.25rem;
  row-gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.video-tag a,
.video-cat a {
  display: inline-block;
  background: var(--color-subtle-dark);
  padding: 5px 15px;
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none;
  color: #f2f2f2;
}

.single-video {
  margin-bottom: 0.75rem;
}

.entry-meta {
  font-weight: 500;
  font-size: 0.75rem;
  color: #999;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.entry-meta > * {
  position: relative;
  white-space: nowrap;
}

.entry-meta > *:not(:first-child)::before {
  content: "|"; /* hoặc "|" */
  color: #999;
  margin: 0 5px;
}

.readmore-container {
  position: relative;
  border-bottom: solid 1px var(--color-subtle-dark);
  padding-bottom: 24px;
  margin-bottom: 1.95rem;
}

.readmore-content {
  height: 0;
  overflow: hidden;
  /* transition: height 0.1s ease;*/
}

.readmore-content.expanded {
  height: 100%;
}

.readmore-toggle {
  display: inline-block;
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  background: #000000;
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.seo-expand-block {
  /* border: 1px solid #ddd;*/
  border: solid 1.3px #1f1f1f;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.65rem;
  transition: all 0.3s ease;
}

.seo-toggle-btn {
  all: unset;
  cursor: pointer;
  width: 100%;
  background: var(--color-subtle-dark);
  display: flex;
  align-items: center;
}

.seo-heading {
  padding: 6px 15px;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  gap: 15px;
  margin: 0;
}

.seo-content {
  padding: 1rem;
  display: none;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.6;
}

.seo-expand-block[aria-expanded="true"] .seo-content {
  display: block;
}

/* Xoay icon SVG khi mở rộng */
.seo-expand-block .icon-svg {
  transition: transform 0.3s ease;
  width: 35px;
  height: 35px;
}

.seo-expand-block[aria-expanded="true"] .icon-svg {
  transform: rotate(180deg);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.3rem;
  justify-content: flex-start;
  align-items: center;
}

.filter-item {
  display: inline-block;
  padding: 6px 15px;
  background: #1c1c1c;
  border: 1px solid #333;
  color: #eee;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.filter-item:hover {
  background: var(--color-primary, #e50914);
  color: #fff;
  border-color: var(--color-primary, #e50914);
}

.filter-item.active {
  background: var(--color-primary, #e50914);
  color: #fff;
  border-color: var(--color-primary, #e50914);
}

.video-action-bar {
  display: inline-flex;
  align-items: center;
  background: var(--color-subtle-dark);
  border-radius: 999px;
}

.action-btn {
  flex-shrink: 0;
  column-gap: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  color: var(--color-text);
  font-size: 12px;
  position: relative;
}

.action-btn:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25%;
  right: 0;
  width: 0.2px;
  height: 50%;
  background: var(--color-text);
}

.action-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.action-btn svg,
.action-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  stroke: var(--color-text);
  transition: stroke 0.2s ease;
}

.action-btn .count {
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 400;
}

.action-btn.share,
.action-btn.report {
  background: var(--color-subtle-dark, #222);
  border-radius: 999px;
}

/* Khi đã bấm */
.action-btn.active {
  color: #e11d48;
  font-weight: 500;
}

.action-btn.active svg {
  fill: #e11d48;
  stroke: none;
}

.action-btn.active.like svg,
.action-btn.active {
  stroke: #3a88ea;
}

.action-btn.active.dislike svg {
  stroke: #e44645;
}

#action-alert {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f1f1f;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  border-left: 5px solid #3b82f6; /* điểm nhấn xanh dương */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  font-size: 1rem;
  max-width: 90%;
  width: fit-content;
  transition:
    bottom 0.4s ease,
    opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

#action-alert.active {
  bottom: 15px;
  opacity: 1;
  pointer-events: auto;
}

.video-action-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 0.95rem;
}

.video-action-scroll {
  flex-wrap: nowrap;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  column-gap: 8px;
  scrollbar-width: none; /* Firefox */
}

.video-action-scroll::-webkit-scrollbar {
  display: none; /* Chrome */
}

.video-action-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
  z-index: 1;
}

.video-action-fade.left {
  left: -30px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent);
}

.video-action-fade.right {
  right: -30px;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.6), transparent);
}

.res-area {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.left-area,
.right-area {
  flex: 0 0 100%;
  max-width: 100%;
}

.popular-tags .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.popular-tags .tag-item {
  padding: 0;
}

.popular-tags .tag-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #ccc;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.popular-tags .tag-link:hover {
  background: #222;
  color: #fff;
}

.popular-tags .tag-icon {
  stroke: currentColor;
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

.oops-header {
  margin-bottom: 1rem;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.oops-title {
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    #ff4ecd 0%,
    /* Hồng neon */ #3acbf0 30%,
    /* Xanh cyan sáng */ #7d5fff 60%,
    /* Tím ánh sáng */ #ff4ecd 100% /* Quay lại hồng */
  );
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 4s ease infinite;
  position: relative;
}

oops-title::after {
  content: "404";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(12px);
  opacity: 0.6;
  z-index: -1;
  animation: gradientMove 4s ease infinite;
}

/* Chuyển động gradient */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.oops-description {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-group .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-group .primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-group .primary:hover {
  background: #00bcd4;
}
.btn-group .secondary {
  border: 2px solid #00bcd4;
  color: var(--secondary);
  background: transparent;
}
.btn-group .secondary:hover {
  background: #00bcd4;
  color: #fff;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin: 0;
}

.section-header .btn-more {
  font-size: 0.8rem;
  color: var(--color-primary);
}

.comments__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.comments__title {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

/*.comment {
    border: 1px solid var(--border, #222);
    border-radius: 10px;
    background: var(--card, #111)
  }*/

.children {
  margin-left: 2rem;
  border-top: solid 1px #222;
  padding-top: 1rem;
}

.comment__body {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.comment__avatar .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
}

.comment__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: #aaa;
}

.comment__author {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.comment-respond {
  max-width: 100%;
  margin-bottom: 3rem;
}

.comment__time a {
  color: #aaa;
  text-decoration: none;
}

.comment__text {
  margin-top: 0.25rem;
  color: #ddd;
  line-height: 1.6;
}

.comment__toolbar {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.cbtn {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  border: 1px solid #2a2a2a;
  background: #1a1a1a;
  color: #ddd;
  padding: 0.35rem 0.6rem;
  font-size: 0.875rem;
}

.cbtn svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}

.cbtn[aria-pressed="true"] {
  border-color: #ff9500;
  color: #fff;
}

.cbtn--reply {
  border: none;
  background: transparent;
  color: #bbb;
  padding: 0 0.25rem;
}

.comments__pagination {
  margin-top: 1rem;
}

.comments__pagination ul {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.comments__pagination a,
.comments__pagination span {
  display: block;
  padding: 0.4rem 0.6rem;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  text-decoration: none;
}

.comment-form.is-clean p {
  margin: 0 0 0.75rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  max-width: 100%;
  width: 100%;
  background: #111;
  border: 1px solid #2a2a2a;
  color: #eee;
  padding: 0.65rem 0.8rem;
}

.comments__form-title {
  margin-bottom: 1rem;
}

.comment-form .btn {
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  font-size: 1rem;
  border: 0;
  color: #000;
  padding: 0.6rem 1rem;
  font-weight: 500;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.comments__form-title > small {
  margin-left: 1rem;
  font-size: 1rem;
  color: #cf142b;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #ddd;
  /* màu chữ clean */
}

/* Ẩn checkbox gốc mặc định */
.comment-form-cookies-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  /* hình tròn */
  display: grid;
  place-content: center;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 2px;
  position: relative;
  padding: 5px;
}

/* Hover glow nhẹ */
.comment-form-cookies-consent input[type="checkbox"]:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 4px rgba(255, 71, 87, 0.5);
}

/* Khi check thì đổi viền */
.comment-form-cookies-consent input[type="checkbox"]:checked {
  border-color: var(--color-primary);
}

/* Chấm tròn bên trong khi được check */
.comment-form-cookies-consent input[type="checkbox"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: scale(0);
  transition: transform 0.2s ease;
}

/* Hiện chấm tròn khi check */
.comment-form-cookies-consent input[type="checkbox"]:checked::before {
  transform: scale(1);
}

/* Label */
.comment-form-cookies-consent label {
  cursor: pointer;
  user-select: none;
}

.site-footer {
  background: #0e0e0e;
  color: var(--color-text);
  padding: 1rem 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1.2rem;
}

.footer-container {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #fff;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu ul li {
  margin-bottom: 0.5rem;
}

.footer-menu a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: var(--color-primary);
}

.footer-menus {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-bottom {
  padding-top: 1rem;
  text-align: center;
  margin-top: 1.75rem;
  font-size: 1.1rem;
  color: #888;
  border-top: solid 1px var(--color-subtle-dark);
}

.footer-bottom small {
}

.scroll-to-top {
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: -20px;
  right: 20px;
  z-index: 999;
  padding: 5px;
  background: var(--color-primary);
  color: #000;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.scroll-to-top .icon-svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
  stroke: #000;
}

.scroll-to-top.active {
  bottom: 20px;
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 640px) {
  .footer-container {
    grid-template-columns: 1fr 2fr;
  }

  .footer-menus {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .video-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .submenu-toggle {
    margin-left: -0.7em;
  }
  .main-menu .menu-item.has-children:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background: var(--color-subtle-dark);
  }

  .sub-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 6px;
    background: var(--color-subtle-dark);
    max-width: 350px;
  }
  .main-menu .mega-menu {
    position: absolute;
    overflow: unset;
    background: var(--color-subtle-dark);
  }
  .main-menu {
    flex-direction: row;
  }

  .main-menu .mega-menu .menu-link {
    margin-left: 0;
  }
  .menu-link {
    font-weight: 500;
    white-space: nowrap;
  }
  .res-area {
    flex-direction: row;
  }

  .left-area {
    flex: 0 0 70%;
    max-width: 70%;
  }

  .right-area {
    flex: 0 0 30%;
    max-width: 30%;
  }

  .in-search > button .icon-svg {
    width: 20px;
    height: 20px;
  }
  .tag-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .tag-gradient {
    display: none;
  }

  .header-logo {
    order: 1;
  }

  .header-nav {
    order: 2;
  }

  .header-form {
    order: 3;
  }
  .footer-container {
    grid-template-columns: 1fr 3fr;
  }

  .footer-menus {
    grid-template-columns: repeat(4, 1fr);
  }
  .in-search {
    flex: 0 0 150px;
    background: var(--color-subtle-dark);
    padding: 6px 9px;
  }
  .header-form input[type="search"] {
    max-width: 150px;
  }
  .header-form {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    display: inline-block;
  }
  .list-menu {
    flex-direction: row;
    margin: 0;
    column-gap: 0.75rem;
  }

  .list-menu a {
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    background-color: transparent;
  }

  .list-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
  }

  /* Hover: đổi màu chữ + gạch dưới mượt */
  .list-menu a:hover {
    color: var(--color-primary);
    background: transparent;
  }

  .list-menu a:hover::after {
    width: 100%;
  }
  .video-list {
    grid-template-columns: repeat(4, 1fr);
  }
  .header-nav {
    background: none;
    position: static;
    width: auto;
    height: auto;
  }
  .menu-btn,
  .search-btn,
  .close-btn,
  .close-search {
    display: none;
  }
}

@media (min-width: 1280px) {
  /* CSS here */
}
