/* /news/* — list & chi tiết kiếm hiệp */

html.tlbb2-news-page body {
  margin: 0 !important;
  padding: 0 !important;
  background: #0c0906 !important;
  overflow-x: hidden !important;
}

html.tlbb2-news-page .wrapper,
html.tlbb2-news-page #main-home,
html.tlbb2-news-page #main-action,
html.tlbb2-news-page #main-sect {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
}

.tlbb2-news {
  --ink: #0c0906;
  --smoke: #1a140f;
  --bronze: #d4a84b;
  --gold: #f0d78c;
  --vermillion: #b42822;
  --vermillion-deep: #8a1a16;
  --paper: #fff6e4;
  --paper-dim: #f0e2c4;
  --mist: #e8dcc0;
  --line: rgba(240, 215, 140, 0.55);
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Be Vietnam Pro', 'Segoe UI', sans-serif;
  color: var(--paper);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse at 15% 0%, rgba(154, 31, 26, 0.16), transparent 45%),
    linear-gradient(180deg, #0c0906 0%, #14100c 50%, #0c0906 100%);
  min-height: 100vh;
}

.tlbb2-news a { color: inherit; text-decoration: none; }
.tlbb2-news * { box-sizing: border-box; }

/* Nav */
.tl2n-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 4vw;
  background: rgba(12, 9, 6, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.tl2n-brand {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tl2n-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tl2n-menu a,
.tl2n-drop > summary {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.tl2n-menu a:hover,
.tl2n-menu a.is-active,
.tl2n-drop > summary:hover {
  color: var(--gold);
}

.tl2n-drop { position: relative; }
.tl2n-drop > summary::-webkit-details-marker { display: none; }

.tl2n-drop-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 10rem;
  padding: 0.45rem 0;
  background: var(--smoke);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 20;
}

.tl2n-drop-panel a {
  padding: 0.5rem 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.88rem;
  color: var(--paper-dim);
}

.tl2n-drop-panel a:hover { color: var(--gold); background: rgba(184, 149, 58, 0.08); }

.tl2n-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.tl2n-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--gold);
}

/* Hero strip */
.tl2n-hero {
  padding: 2.5rem 4vw 1.5rem;
  border-bottom: 1px solid rgba(184, 149, 58, 0.2);
  background:
    linear-gradient(105deg, rgba(12, 9, 6, 0.85), rgba(12, 9, 6, 0.55)),
    center/cover no-repeat;
}

.tl2n-hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.tl2n-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}

.tl2n-hero h1 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.02em;
}

.tl2n-hero p {
  margin: 0;
  max-width: 34rem;
  color: var(--mist);
  line-height: 1.55;
  font-size: 0.98rem;
}

/* Tabs */
.tl2n-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-width: 960px;
  margin: 1.25rem auto 0;
  padding: 0 4vw;
  list-style: none;
}

.tl2n-tabs a {
  padding: 0.55rem 0.95rem;
  border: 1px solid #f0d78c;
  background: rgba(8, 6, 4, 0.55);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff6e4;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tl2n-tabs a:hover {
  color: #fff;
  background: rgba(240, 215, 140, 0.18);
  border-color: #ffe9a8;
}

.tl2n-tabs a.is-active {
  color: #fff8ea;
  background: linear-gradient(180deg, #c9332c, #8a1a16);
  border-color: #f0d78c;
}

/* Main panel */
.tl2n-main {
  max-width: 960px;
  margin: 1.25rem auto 3rem;
  padding: 0 4vw;
}

.tl2n-panel {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(26, 20, 15, 0.96), rgba(12, 9, 6, 0.98));
  padding: 0.35rem 0;
}

.tl2n-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tl2n-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid rgba(184, 149, 58, 0.16);
  transition: background 0.2s ease;
}

.tl2n-list li:last-child { border-bottom: 0; }

.tl2n-list li:hover {
  background: rgba(184, 149, 58, 0.06);
}

.tl2n-list a {
  flex: 1;
  font-size: 1rem;
  line-height: 1.45;
  color: #fff6e4;
  transition: color 0.2s ease;
}

.tl2n-list a::before {
  content: '';
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.7rem;
  background: #f0d78c;
  vertical-align: 0.15rem;
}

.tl2n-list a:hover { color: #ffe9a8; }

.tl2n-list time {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: #ffb4a8;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.tl2n-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--mist);
}

/* Article detail */
.tl2n-article {
  padding: 1.5rem 1.4rem 2rem;
}

.tl2n-article-head {
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.tl2n-article-head h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.tl2n-back {
  display: inline-flex;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe9a8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tl2n-back:hover { color: #fff; }

.tl2n-body {
  color: #fff6e4;
  font-size: 1rem;
  line-height: 1.75;
}

.tl2n-body .ContentBlock,
.tl2n-body .content-detail {
  color: #fff6e4 !important;
  font-family: inherit !important;
}

.tl2n-body img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border: 1px solid rgba(184, 149, 58, 0.25);
}

.tl2n-body a {
  color: #ffe9a8 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tl2n-body p,
.tl2n-body li,
.tl2n-body span,
.tl2n-body font,
.tl2n-body td,
.tl2n-body div {
  color: #fff6e4 !important;
  font-family: inherit !important;
}

.tl2n-body h1,
.tl2n-body h2,
.tl2n-body h3,
.tl2n-body h4 {
  font-family: var(--font-display);
  color: var(--gold);
  margin: 1.4rem 0 0.6rem;
}

.tl2n-body p { margin: 0 0 0.9rem; }

.tl2n-body table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 1rem 0;
  font-size: 0.92rem;
}

.tl2n-body table,
.tl2n-body td,
.tl2n-body th {
  border: 1px solid rgba(184, 149, 58, 0.35) !important;
}

.tl2n-body th {
  background: rgba(154, 31, 26, 0.45) !important;
  color: var(--paper) !important;
  padding: 0.55rem 0.65rem;
}

.tl2n-body td {
  padding: 0.5rem 0.65rem;
  color: var(--paper-dim);
  background: rgba(0, 0, 0, 0.2);
}

.tl2n-body span,
.tl2n-body font {
  font-family: inherit !important;
}

.tl2n-missing {
  padding: 3rem 1.5rem;
  text-align: center;
}

.tl2n-missing h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  color: var(--gold);
}

/* Footer + dock */
.tl2n-footer {
  padding: 2rem 4vw 2.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: #050403;
}

.tl2n-footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.tl2n-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--paper-dim);
}

.tl2n-dock {
  position: fixed;
  right: 1rem;
  bottom: 1.2rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tl2n-dock a,
.tl2n-dock button {
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid #f0d78c;
  background: rgba(8, 6, 4, 0.92);
  color: #fff6e4;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.tl2n-dock a:hover,
.tl2n-dock button:hover {
  background: #b42822;
  color: #fff;
  border-color: #ffe9a8;
}

@media (max-width: 768px) {
  .tl2n-toggle { display: inline-flex; }

  .tl2n-menu {
    position: absolute;
    inset: 3.55rem 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.1rem;
    background: rgba(12, 9, 6, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .tl2n-menu.is-open { display: flex; }

  .tl2n-menu > li > a,
  .tl2n-drop > summary {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(184, 149, 58, 0.14);
  }

  .tl2n-drop-panel {
    position: static;
    border: 0;
    background: transparent;
    padding: 0 0 0.4rem 0.7rem;
  }

  .tl2n-list li {
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
  }

  .tl2n-article { padding: 1.15rem 1rem 1.5rem; }
}

/* Focus indicator rõ ràng cho người dùng bàn phím */
.tl2n-menu a:focus-visible,
.tl2n-tabs a:focus-visible,
.tl2n-list a:focus-visible,
.tl2n-dock a:focus-visible,
.tl2n-dock button:focus-visible,
.tl2n-toggle:focus-visible,
.tl2n-drop summary:focus-visible {
  outline: 2px solid var(--gold, #f0d78c);
  outline-offset: 2px;
}

/* Tôn trọng cài đặt giảm chuyển động của hệ điều hành (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  .tlbb2-news *,
  .tlbb2-news *::before,
  .tlbb2-news *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
