/* Góc nhìn — lớp trình bày riêng, không phụ thuộc mã lệnh. */

main:has(.gn-dau),
main:has(.gn-bai) {
  background: var(--light);
}

.gn-xem-thu {
  position: relative;
  z-index: 260;
  margin-top: 76px;
  border-block: 1px solid rgba(126, 226, 236, .28);
  background: #123c46;
  color: #eefbfc;
  font-size: 13px;
  line-height: 1.5;
}

.gn-xem-thu .container {
  padding-block: 10px;
}

.gn-xem-thu strong {
  color: var(--cyan-hi);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gn-dau,
.gn-bai-dau {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(circle at 82% 12%, rgba(25, 182, 201, .17), transparent 27%),
    linear-gradient(rgba(126, 226, 236, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 226, 236, .035) 1px, transparent 1px),
    var(--bg-0);
  background-size: auto, 72px 72px, 72px 72px, auto;
  color: var(--ink);
}

.gn-dau::after,
.gn-bai-dau::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12vw;
  bottom: -24vw;
  width: 44vw;
  height: 44vw;
  border: 1px solid rgba(126, 226, 236, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(126, 226, 236, .025), 0 0 0 16vw rgba(126, 226, 236, .018);
  pointer-events: none;
}

.gn-dau > .container {
  display: grid;
  min-height: 660px;
  padding-top: 132px;
  padding-bottom: 72px;
  align-content: center;
}

.gn-vet {
  max-width: 100%;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 42px;
  color: var(--ink-3);
}

.gn-vet a {
  color: var(--ink-2);
  text-decoration: none;
}

.gn-vet [aria-current="page"] {
  max-width: min(60ch, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gn-dau h1,
.gn-bai-dau h1 {
  max-width: 16ch;
}

.gn-dau .lead {
  max-width: 50ch;
  margin-bottom: 44px;
}

.gn-chuyen-muc {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.gn-chuyen-muc::-webkit-scrollbar {
  display: none;
}

.gn-chuyen-muc a {
  display: inline-flex;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.gn-chuyen-muc a[aria-current="page"] {
  border-color: var(--cyan-hi);
  background: var(--cyan-hi);
  color: var(--bg-0);
}

.gn-moi,
.gn-ba-muc,
.gn-nguyen-tac,
.gn-cung-muc {
  color: var(--light-body);
}

.gn-moi,
main > .gn-ba-muc,
main > .gn-nguyen-tac,
.gn-cung-muc {
  padding-block: clamp(80px, 8vw, 120px);
}

main > .section.gn-moi,
main > .section.gn-cung-muc {
  background: #f7fbfb;
}

main > .section.gn-ba-muc {
  background: #e8f2f3;
}

main > .section.gn-nguyen-tac {
  background: #dcebed;
}

.gn-moi h2,
.gn-ba-muc h2,
.gn-nguyen-tac h2,
.gn-cung-muc h2,
.gn-the h3 {
  color: var(--light-ink);
}

.gn-tieu-de-khoi {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 46px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(11, 37, 48, .18);
}

.gn-tieu-de-khoi h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
}

.gn-luoi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(11, 37, 48, .18);
}

.gn-the {
  position: relative;
  min-width: 0;
  padding: clamp(28px, 3.6vw, 48px);
  border-right: 1px solid rgba(11, 37, 48, .18);
  border-bottom: 1px solid rgba(11, 37, 48, .18);
  background: rgba(255, 255, 255, .5);
}

.gn-the:nth-child(2n) {
  border-right: 0;
}

.gn-the:only-child {
  grid-column: 1 / -1;
  padding-right: min(28vw, 360px);
}

.gn-the-muc {
  margin-bottom: 22px;
  color: #0a6970;
  font: 500 12px/1.45 "JetBrains Mono", monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.gn-the-muc a {
  color: inherit;
  text-decoration: none;
}

.gn-the h3 {
  max-width: 28ch;
  margin-bottom: 18px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.gn-the h3 a {
  color: inherit;
  text-decoration: none;
}

.gn-the h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.gn-the-tom-tat {
  max-width: 66ch;
  margin-bottom: 30px;
  color: var(--light-body);
  font-size: 16px;
  line-height: 1.7;
}

.gn-the-meta {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  color: #526b74;
  font: 400 13px/1.55 "JetBrains Mono", monospace;
}

.gn-chua-duyet,
.gn-nhan-qc {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #76531a;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: none;
}

.gn-nhan-qc {
  color: #8a3535;
}

.gn-luoi-muc {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gn-luoi-muc .gn-the {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  border-right: 1px solid rgba(11, 37, 48, .18);
}

.gn-luoi-muc .gn-the:last-child {
  border-right: 0;
}

.gn-so-muc {
  display: block;
  margin-bottom: auto;
  padding-bottom: 58px;
  color: #0a6970;
  font: 500 13px/1 "JetBrains Mono", monospace;
}

.gn-luoi-muc .gn-the h3 {
  font-size: clamp(23px, 2vw, 29px);
}

.gn-nguyen-tac-dau {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 52px;
}

.gn-nguyen-tac-dau h2 {
  margin: 0;
}

.gn-rss {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(11, 37, 48, .3);
  border-radius: var(--radius-control);
  color: #075f66;
  font-weight: 500;
  text-decoration: none;
}

.gn-rss::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: #0a747b;
  box-shadow: 0 0 0 5px rgba(10, 116, 123, .12);
}

.gn-nguyen-tac ol {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  counter-reset: nguyen-tac;
}

.gn-nguyen-tac li {
  display: grid;
  min-height: 220px;
  padding: 34px;
  border-top: 1px solid rgba(11, 37, 48, .18);
  border-right: 1px solid rgba(11, 37, 48, .18);
  counter-increment: nguyen-tac;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: start;
  gap: 14px 20px;
}

.gn-nguyen-tac li:nth-child(2n) {
  border-right: 0;
}

.gn-nguyen-tac li::before {
  content: "0" counter(nguyen-tac);
  color: #0a6970;
  font: 500 12px/1.45 "JetBrains Mono", monospace;
}

.gn-nguyen-tac li strong {
  color: var(--light-ink);
  font: 600 21px/1.3 "Space Grotesk", sans-serif;
}

.gn-nguyen-tac li span {
  grid-column: 2;
  color: var(--light-body);
  font-size: 15px;
  line-height: 1.7;
}

.gn-trong {
  display: grid;
  min-height: 240px;
  margin: 0;
  padding: 42px;
  place-items: center;
  border: 1px dashed rgba(11, 37, 48, .28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .48);
  color: var(--light-body);
  font-size: clamp(18px, 2vw, 23px);
  text-align: center;
}

/* Trang bài */
.gn-bai-dau > .container {
  padding-top: 132px;
  padding-bottom: clamp(72px, 8vw, 112px);
}

.gn-bai-dau h1 {
  max-width: 19ch;
  margin-bottom: 28px;
  font-size: clamp(40px, 5.2vw, 72px);
}

.gn-bai-dau .lead {
  max-width: 50ch;
  margin-bottom: 32px;
}

.gn-bai-dau .gn-the-muc a {
  color: var(--cyan-hi);
}

.gn-bai-dau .gn-the-meta {
  color: var(--ink-2);
}

.gn-bai-than {
  width: min(612px, calc(100% - 48px));
  padding-block: clamp(72px, 8vw, 112px);
  color: #203d47;
  font-size: 18px;
  line-height: 1.72;
}

.gn-noi-dung > :first-child {
  color: #173842;
  font-size: 20px;
  line-height: 1.7;
}

.gn-noi-dung p,
.gn-noi-dung ul,
.gn-noi-dung ol {
  margin-block: 0 1.45em;
}

.gn-noi-dung ul,
.gn-noi-dung ol {
  padding-left: 1.45em;
}

.gn-noi-dung li {
  padding-left: .35em;
}

.gn-noi-dung li + li {
  margin-top: .7em;
}

.gn-noi-dung h2,
.gn-noi-dung h3,
.gn-nguon h2,
.gn-dinh-chinh h2 {
  color: var(--light-ink);
}

.gn-noi-dung h2 {
  max-width: none;
  margin: 2.2em 0 .7em;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

.gn-noi-dung h3 {
  margin: 2em 0 .65em;
  font-size: clamp(22px, 2.2vw, 28px);
}

.gn-noi-dung h2,
.gn-noi-dung h3 {
  width: 100%;
  text-wrap: balance;
}

.gn-noi-dung strong {
  color: #0b303b;
  font-weight: 600;
}

.gn-noi-dung a,
.gn-nguon a {
  color: #056b73;
  text-decoration-thickness: 1px;
}

.gn-chu-dan {
  position: relative;
  top: -.1em;
  margin-inline: .06em 0;
  font: 500 .68em/1 "JetBrains Mono", monospace;
}

.gn-chu-dan a {
  display: inline;
  padding: .12em .42em;
  border-radius: 999px;
  background: #d6ecee;
  text-decoration: none;
}

.gn-nguon,
.gn-dinh-chinh {
  margin-top: 72px;
  padding-top: 42px;
  border-top: 2px solid #0a747b;
  scroll-margin-top: 110px;
}

.gn-nguon h2,
.gn-dinh-chinh h2 {
  margin-bottom: 28px;
  font-size: 30px;
}

.gn-nguon ol,
.gn-dinh-chinh ul {
  margin: 0;
  padding-left: 1.5em;
}

.gn-nguon li,
.gn-dinh-chinh li {
  padding-left: .35em;
  scroll-margin-top: 110px;
}

.gn-minh-bach {
  max-width: none;
  margin: 46px 0 0;
  padding: 24px 26px;
  border-left: 4px solid #0a747b;
  background: #e1eff0;
  color: #244650;
  font-size: 15px;
  line-height: 1.7;
}

.gn-minh-bach .gn-chua-duyet {
  margin-left: 6px;
}

.gn-dinh-chinh {
  margin-top: 46px;
  border-top-color: rgba(11, 37, 48, .18);
}

.gn-dinh-chinh p {
  margin-bottom: 0;
}

.gn-cung-muc {
  border-top: 1px solid rgba(11, 37, 48, .14);
}

.gn-cung-muc > .container {
  width: min(612px, calc(100% - 48px));
}

.gn-cung-muc > .container > h2 {
  margin-bottom: 44px;
}

@media (hover: hover) and (pointer: fine) {
  .gn-vet a:hover,
  .gn-the-muc a:hover,
  .gn-the h3 a:hover,
  .gn-noi-dung a:hover,
  .gn-nguon a:hover {
    color: #075f66;
  }

  .gn-chuyen-muc a:hover {
    border-color: var(--cyan-hi);
    color: var(--ink);
  }

  .gn-chuyen-muc a[aria-current="page"]:hover {
    color: var(--bg-0);
  }

  .gn-the {
    transition: background-color .2s, transform .2s;
  }

  .gn-the:hover {
    z-index: 1;
    background: #fff;
    transform: translateY(-3px);
  }

  .gn-rss:hover {
    border-color: #0a747b;
    color: #064f55;
  }
}

@media (max-width: 899px) {
  .gn-xem-thu {
    margin-top: 64px;
  }

  .gn-dau > .container {
    min-height: 610px;
    padding-top: 112px;
    padding-bottom: 56px;
  }

  .gn-dau h1,
  .gn-bai-dau h1 {
    font-size: clamp(38px, 9vw, 56px);
  }

  .gn-luoi,
  .gn-luoi-muc {
    grid-template-columns: 1fr;
  }

  .gn-the,
  .gn-the:nth-child(2n),
  .gn-luoi-muc .gn-the {
    border-right: 0;
  }

  .gn-the:only-child {
    padding-right: clamp(28px, 6vw, 48px);
  }

  .gn-luoi-muc .gn-the {
    min-height: 0;
  }

  .gn-so-muc {
    margin-bottom: 34px;
    padding-bottom: 0;
  }

  .gn-nguyen-tac ol {
    grid-template-columns: 1fr;
  }

  .gn-nguyen-tac li,
  .gn-nguyen-tac li:nth-child(2n) {
    min-height: 0;
    border-right: 0;
  }

  .gn-bai-dau > .container {
    padding-top: 112px;
    padding-bottom: 72px;
  }

  .gn-bai-than {
    width: min(612px, calc(100% - 40px));
  }

  .gn-cung-muc > .container {
    width: min(612px, calc(100% - 40px));
  }
}

@media (max-width: 599px) {
  .gn-xem-thu {
    font-size: 12px;
  }

  .gn-dau > .container {
    min-height: 0;
    padding-top: 96px;
    padding-bottom: 44px;
  }

  .gn-vet {
    margin-bottom: 30px;
    font-size: 12px;
  }

  .gn-vet [aria-current="page"] {
    max-width: 22ch;
  }

  .gn-dau h1,
  .gn-bai-dau h1 {
    margin-bottom: 20px;
    font-size: clamp(34px, 10.2vw, 44px);
    line-height: 1.06;
  }

  .gn-dau .lead {
    margin-bottom: 32px;
    font-size: 17px;
    line-height: 1.6;
  }

  .gn-chuyen-muc {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .gn-chuyen-muc a {
    min-height: 44px;
    padding-inline: 14px;
  }

  .gn-moi,
  main > .section.gn-ba-muc,
  main > .section.gn-nguyen-tac,
  .gn-cung-muc {
    padding-block: 68px;
  }

  .gn-tieu-de-khoi {
    margin-bottom: 30px;
  }

  .gn-tieu-de-khoi h2,
  .gn-nguyen-tac h2 {
    font-size: 32px;
  }

  .gn-the,
  .gn-the:only-child {
    padding: 28px 22px;
  }

  .gn-the h3,
  .gn-luoi-muc .gn-the h3 {
    font-size: 25px;
  }

  .gn-the-tom-tat {
    font-size: 15px;
  }

  .gn-nguyen-tac-dau {
    grid-template-columns: 1fr;
    align-items: start;
    margin-bottom: 34px;
  }

  .gn-rss {
    justify-self: start;
  }

  .gn-nguyen-tac li {
    padding: 28px 8px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px 14px;
  }

  .gn-trong {
    min-height: 200px;
    padding: 28px 22px;
  }

  .gn-bai-dau > .container {
    padding-top: 96px;
    padding-bottom: 58px;
  }

  .gn-bai-dau .lead {
    font-size: 17px;
    line-height: 1.62;
  }

  .gn-bai-dau .gn-the-meta {
    font-size: 12px;
    line-height: 1.7;
  }

  .gn-bai-than {
    width: calc(100% - 40px);
    padding-block: 64px;
    font-size: 17px;
    line-height: 1.68;
  }

  .gn-noi-dung > :first-child {
    font-size: 18px;
    line-height: 1.68;
  }

  .gn-noi-dung h2 {
    margin-top: 2em;
    font-size: 28px;
  }

  .gn-noi-dung h3 {
    font-size: 23px;
  }

  .gn-noi-dung ul,
  .gn-noi-dung ol {
    padding-left: 1.25em;
  }

  .gn-nguon,
  .gn-dinh-chinh {
    margin-top: 56px;
    padding-top: 32px;
  }

  .gn-minh-bach {
    margin-top: 38px;
    padding: 20px;
  }
}

@media print {
  @page {
    margin: 18mm;
    background: #fff;
  }

  .site-header,
  .site-footer,
  a.skip,
  .gn-xem-thu,
  .gn-vet,
  .gn-cung-muc {
    display: none !important;
  }

  html,
  body,
  main,
  .gn-bai,
  .gn-bai-dau,
  .gn-bai-than {
    background: #fff !important;
    color: #000 !important;
  }

  html {
    color-scheme: light;
  }

  .gn-bai-dau > .container,
  .gn-bai-than {
    width: 100%;
    padding: 0;
  }

  .gn-bai-dau::after {
    display: none;
  }

  .gn-bai-dau {
    padding-bottom: 14mm;
    border-bottom: 1px solid #777;
  }

  .gn-bai-dau h1,
  .gn-bai-dau .lead,
  .gn-bai-dau .gn-the-meta,
  .gn-bai-dau .gn-the-muc,
  .gn-bai-dau .gn-the-muc a,
  .gn-noi-dung,
  .gn-noi-dung p,
  .gn-noi-dung > :first-child,
  .gn-noi-dung h2,
  .gn-noi-dung h3,
  .gn-noi-dung strong,
  .gn-nguon h2,
  .gn-dinh-chinh h2 {
    color: #000 !important;
  }

  .gn-bai-than {
    padding-top: 12mm;
    font-size: 11pt;
    line-height: 1.55;
  }

  .gn-noi-dung h2,
  .gn-noi-dung h3,
  .gn-nguon,
  .gn-dinh-chinh,
  .gn-nguon li {
    break-inside: avoid;
  }

  .gn-nguon a[href]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    overflow-wrap: anywhere;
  }

  .gn-minh-bach {
    border: 1px solid #777;
    background: #fff;
    color: #000;
  }
}

/* NOI-MAU 24/10: bat dau */
/* B/E: tin tuc toi-sang va sang-sang deu noi qua sac xanh ngoc sach. */
.gn-dau,.gn-bai-dau{
  background-image:var(--nm-noise),linear-gradient(to bottom,transparent 0,transparent calc(100% - 96px),#68aaac calc(100% - 16px),#68aaac 100%),radial-gradient(circle at 82% 12%,rgba(25,182,201,.17),transparent 27%),linear-gradient(rgba(126,226,236,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(126,226,236,.035) 1px,transparent 1px);
  background-color:#04131b;
  background-size:180px 180px,auto,auto,72px 72px,72px 72px;
}
main>.section.gn-moi{background:var(--nm-noise),linear-gradient(to bottom,#68aaac 0,#68aaac 16px,#f7fbfb 96px,#f7fbfb calc(100% - 80px),#edf6f7 100%)!important}
main>.section.gn-moi:last-child{background:var(--nm-noise),linear-gradient(to bottom,#68aaac 0,#68aaac 16px,#f7fbfb 96px,#f7fbfb calc(100% - 96px),#68aaac calc(100% - 16px),#68aaac 100%)!important}
main>.section.gn-ba-muc{background:var(--nm-noise),linear-gradient(to bottom,#edf6f7 0,#e8f2f3 80px,#e8f2f3 calc(100% - 80px),#e2eef0 100%)!important}
main>.section.gn-nguyen-tac{background:var(--nm-noise),linear-gradient(to bottom,#e2eef0 0,#dcebed 80px,#dcebed calc(100% - 96px),#68aaac calc(100% - 16px),#68aaac 100%)!important}
main:has(.gn-dau)+.site-footer,main:has(.gn-bai)+.site-footer{background:var(--nm-noise),linear-gradient(to bottom,#68aaac 0,#68aaac 16px,#04131b 112px,#04131b 100%)}
.gn-bai{background:var(--nm-noise),linear-gradient(to bottom,#eef6f7 0,#eef6f7 calc(100% - 96px),#68aaac calc(100% - 16px),#68aaac 100%)}
.gn-bai-dau+.gn-bai-than{position:relative;isolation:isolate}
.gn-bai-dau+.gn-bai-than:before{content:"";position:absolute;z-index:-1;top:0;left:50%;width:100vw;height:96px;transform:translateX(-50%);background:linear-gradient(to bottom,#68aaac 0,#68aaac 16px,#eef6f7 96px);pointer-events:none}
@media(max-width:599px){
  .gn-dau,.gn-bai-dau{background-image:var(--nm-noise),linear-gradient(to bottom,transparent 0,transparent calc(100% - 68px),#68aaac calc(100% - 12px),#68aaac 100%),radial-gradient(circle at 82% 12%,rgba(25,182,201,.17),transparent 27%),linear-gradient(rgba(126,226,236,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(126,226,236,.035) 1px,transparent 1px)}
  main>.section.gn-moi{background:var(--nm-noise),linear-gradient(to bottom,#68aaac 0,#68aaac 12px,#f7fbfb 68px,#f7fbfb calc(100% - 56px),#edf6f7 100%)!important}
  main>.section.gn-moi:last-child{background:var(--nm-noise),linear-gradient(to bottom,#68aaac 0,#68aaac 12px,#f7fbfb 68px,#f7fbfb calc(100% - 68px),#68aaac calc(100% - 12px),#68aaac 100%)!important}
  main>.section.gn-ba-muc{background:var(--nm-noise),linear-gradient(to bottom,#edf6f7 0,#e8f2f3 56px,#e8f2f3 calc(100% - 56px),#e2eef0 100%)!important}
  main>.section.gn-nguyen-tac{background:var(--nm-noise),linear-gradient(to bottom,#e2eef0 0,#dcebed 56px,#dcebed calc(100% - 68px),#68aaac calc(100% - 12px),#68aaac 100%)!important}
  main:has(.gn-dau)+.site-footer,main:has(.gn-bai)+.site-footer{background:var(--nm-noise),linear-gradient(to bottom,#68aaac 0,#68aaac 12px,#04131b 80px,#04131b 100%)}
  .gn-bai-dau+.gn-bai-than:before{height:68px;background:linear-gradient(to bottom,#68aaac 0,#68aaac 12px,#eef6f7 68px)}
}
@media print{.gn-dau,.gn-bai-dau,.gn-moi,.gn-ba-muc,.gn-nguyen-tac,.gn-bai,main:has(.gn-dau)+.site-footer,main:has(.gn-bai)+.site-footer{background-image:none!important}}
/* NOI-MAU 24/10: ket thuc */

/* ==== BAN-DOC-BAI 06/11/2026 ==== */
.gn-bai .gn-muc-luc {
  position: relative;
  margin: 0 0 48px;
  padding: 22px 22px 20px;
  border-left: 2px solid var(--light-accent);
  background: #e1eff0;
  color: var(--light-body);
}

.gn-bai .gn-muc-luc > p:first-child,
.gn-bai .gn-ket-nhan {
  margin: 0 0 5px;
  color: var(--light-accent-text);
  font: 600 12px/1.45 "JetBrains Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gn-bai .gn-ml-meta {
  margin: 0 0 15px;
  color: #526b74;
  font: 400 12px/1.5 "JetBrains Mono", monospace;
}

.gn-bai .gn-muc-luc ol,
.gn-bai .gn-ml-bang ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gn-bai .gn-muc-luc a,
.gn-bai .gn-ml-bang a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 10px;
  border-left: 2px solid transparent;
  color: inherit;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.gn-bai .gn-muc-luc a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.gn-bai .gn-muc-luc a[aria-current="true"],
.gn-bai .gn-ml-bang a[aria-current="true"] {
  border-left-color: var(--light-accent);
  color: var(--light-accent-text);
  font-weight: 600;
}

.gn-bai .gn-ml-tien {
  display: none;
}

.gn-bai .gn-thanh-doc {
  position: fixed;
  z-index: 250;
  top: 64px;
  right: 0;
  left: 0;
  height: 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 19, 27, .94);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
}

.gn-bai .gn-thanh-doc.gn-thanh-hien {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity .2s, transform .2s;
}

.gn-bai .gn-thanh-nut {
  display: grid;
  width: min(100% - 32px, 720px);
  min-height: 45px;
  margin: 0 auto;
  padding: 4px 2px 5px;
  border: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 16px 22px;
  column-gap: 14px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.gn-bai .gn-thanh-nhan {
  grid-column: 1;
  color: var(--cyan-hi);
  font: 500 12px/1.3 "JetBrains Mono", monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.gn-bai .gn-thanh-ten {
  overflow: hidden;
  grid-column: 1;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gn-bai .gn-thanh-nut svg {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform .2s;
}

.gn-bai .gn-thanh-nut[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.gn-bai .gn-ml-bang {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  max-height: 70vh;
  padding: 10px max(16px, calc((100% - 720px) / 2));
  overflow-y: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-0);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.gn-bai .gn-ml-bang a {
  color: var(--ink-2);
  font-size: 15px;
}

.gn-bai .gn-ml-bang a[aria-current="true"] {
  border-left-color: var(--cyan-hi);
  color: var(--cyan-hi);
}

.gn-bai .gn-tien-do {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  overflow: hidden;
}

.gn-bai .gn-tien-do i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cyan-hi);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.gn-bai .gn-noi-dung h2[id^="muc-"],
.gn-bai #nguon,
.gn-bai [id^="nguon-"] {
  scroll-margin-top: 132px;
}

.gn-bai .gn-ket {
  margin-top: 64px;
  border: 1px solid var(--light-accent);
  background: #fff;
  color: var(--light-body);
  box-shadow: 0 20px 48px rgba(11, 37, 48, .08);
}

.gn-bai .gn-ket-chia-se,
.gn-bai .gn-ket-moi {
  padding: clamp(26px, 4vw, 38px);
}

.gn-bai .gn-ket h2,
.gn-bai .gn-ket h3 {
  max-width: none;
  color: var(--light-ink);
}

.gn-bai .gn-ket h2 {
  margin-bottom: 22px;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.15;
}

.gn-bai .gn-ket h3 {
  margin: 8px 0 16px;
  font-size: 24px;
  line-height: 1.22;
}

.gn-bai .gn-ket-nut {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gn-bai .gn-ket-nut button,
.gn-bai .gn-ket-nut a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(11, 37, 48, .3);
  border-radius: 999px;
  background: #fff;
  color: var(--light-ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.gn-bai .gn-ket-nut svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gn-bai .gn-ket-live {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--light-accent-text);
  font-size: 13px;
}

.gn-bai .gn-ket-moi {
  border-top: 1px solid rgba(11, 37, 48, .16);
  background: #e1eff0;
}

.gn-bai .gn-ket-moi > p:not(.gn-ket-nhan):not(.note) {
  margin-bottom: 24px;
}

.gn-bai .gn-ket-moi .btn {
  color: var(--bg-0);
}

.gn-bai .gn-ket-moi .note {
  margin: 20px 0 0;
  color: #526b74;
  font-size: 12px;
}

.gn-bai .gn-doc-tiep {
  padding-block: clamp(64px, 7vw, 96px);
  border-top: 1px solid rgba(11, 37, 48, .14);
  background: #f7fbfb !important;
  color: var(--light-body);
}

.gn-bai .gn-doc-tiep > .container {
  width: min(1200px, calc(100% - 48px));
}

.gn-bai .gn-doc-tiep > .container > h2 {
  max-width: none;
  margin-bottom: 36px;
  color: var(--light-ink);
}

.gn-bai .gn-doc-tiep .gn-luoi {
  border-color: rgba(11, 37, 48, .18);
}

.gn-bai .gn-doc-tiep .gn-the {
  display: flex;
  min-height: 0;
  padding: clamp(24px, 2.6vw, 34px);
  flex-direction: column;
  background: #fff;
}

.gn-bai .gn-doc-tiep .gn-the h3 {
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.2;
}

.gn-bai .gn-doc-tiep .gn-the-tom-tat {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 22px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--light-body);
}

.gn-bai .gn-doc-tiep .gn-the-meta {
  color: #526b74;
}

.gn-bai .gn-muc-luc a:focus-visible,
.gn-bai .gn-ket a:focus-visible,
.gn-bai .gn-ket button:focus-visible,
.gn-bai .gn-doc-tiep a:focus-visible {
  outline: 3px solid var(--light-accent);
  outline-offset: 3px;
}

.gn-bai .gn-thanh-nut:focus-visible,
.gn-bai .gn-ml-bang a:focus-visible {
  outline: 3px solid var(--cyan-hi);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .gn-bai .gn-muc-luc a:hover {
    color: var(--light-accent-text);
  }

  .gn-bai .gn-ml-bang a:hover {
    color: var(--cyan-hi);
  }

  .gn-bai .gn-ket-nut button:hover,
  .gn-bai .gn-ket-nut a:hover {
    border-color: var(--light-accent);
    color: var(--light-accent-text);
  }
}

@media (max-width: 1179px) {
  .gn-bai.gn-doc-san-sang .gn-muc-luc {
    display: none;
  }
}

@media (min-width: 900px) {
  .gn-bai .gn-thanh-doc {
    top: 76px;
  }

  .gn-bai .gn-ket {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

  .gn-bai .gn-ket-chia-se {
    display: flex;
    flex-direction: column;
  }

  .gn-bai .gn-ket-nut {
    flex-wrap: nowrap;
    flex-direction: column;
    margin-top: auto;
  }

  .gn-bai .gn-ket-nut button,
  .gn-bai .gn-ket-nut a {
    width: 100%;
    justify-content: flex-start;
  }

  .gn-bai .gn-ket-moi {
    border-top: 0;
    border-left: 1px solid rgba(11, 37, 48, .16);
  }

  .gn-bai .gn-doc-tiep .gn-luoi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gn-bai .gn-doc-tiep .gn-the:nth-child(2n) {
    border-right: 0;
  }
}

@media (min-width: 1100px) {
  .gn-bai .gn-doc-tiep .gn-luoi {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gn-bai .gn-doc-tiep .gn-the,
  .gn-bai .gn-doc-tiep .gn-the:nth-child(2n) {
    border-right: 1px solid rgba(11, 37, 48, .18);
  }

  .gn-bai .gn-doc-tiep .gn-the:last-child {
    border-right: 0;
  }
}

@media (min-width: 1180px) {
  .gn-bai .gn-thanh-doc {
    display: none;
  }

  .gn-bai .gn-bai-than {
    width: min(1200px, calc(100% - 48px));
    display: grid;
    grid-template-columns: minmax(200px, 1fr) 612px minmax(200px, 1fr);
    column-gap: 40px;
    align-items: start;
  }

  .gn-bai .gn-bai-than > :not(.gn-muc-luc) {
    grid-column: 2;
  }

  .gn-bai .gn-muc-luc {
    position: sticky;
    top: 108px;
    width: clamp(200px, 17vw, 260px);
    margin: 0;
    padding: 0 0 0 14px;
    grid-column: 1;
    grid-row: 1 / span 6;
    justify-self: end;
    border: 0;
    background: transparent;
  }

  .gn-bai .gn-muc-luc ol {
    position: relative;
    padding-left: 7px;
  }

  .gn-bai .gn-muc-luc a {
    padding: 7px 9px;
  }

  .gn-bai .gn-ml-tien {
    position: absolute;
    top: 67px;
    bottom: 0;
    left: 14px;
    display: block;
    width: 1px;
    overflow: hidden;
    background: rgba(11, 37, 48, .18);
  }

  .gn-bai .gn-ml-tien i {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--light-accent);
    transform: scaleY(0);
    transform-origin: top;
    will-change: transform;
  }

  .gn-bai .gn-noi-dung h2[id^="muc-"],
  .gn-bai #nguon,
  .gn-bai [id^="nguon-"] {
    scroll-margin-top: 112px;
  }
}

@media (max-width: 599px) {
  .gn-bai .gn-muc-luc {
    padding: 20px 18px 18px;
  }

  .gn-bai .gn-ket {
    margin-top: 56px;
  }

  .gn-bai .gn-ket-chia-se,
  .gn-bai .gn-ket-moi {
    padding: 25px 22px;
  }

  .gn-bai .gn-ket h2 {
    font-size: 27px;
  }

  .gn-bai .gn-ket-nut button,
  .gn-bai .gn-ket-nut a {
    flex: 1 1 auto;
  }

  .gn-bai .gn-doc-tiep > .container {
    width: calc(100% - 40px);
  }

  .gn-bai .gn-doc-tiep {
    padding-block: 48px;
  }

  .gn-bai .gn-doc-tiep > .container > h2 {
    margin-bottom: 28px;
  }

  .gn-bai .gn-doc-tiep .gn-the {
    padding: 20px 18px;
  }

  .gn-bai .gn-doc-tiep .gn-the-muc {
    margin-bottom: 14px;
  }

  .gn-bai .gn-doc-tiep .gn-the h3 {
    margin-bottom: 12px;
    font-size: 24px;
  }

  .gn-bai .gn-doc-tiep .gn-the-tom-tat {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gn-bai .gn-thanh-doc,
  .gn-bai .gn-thanh-doc.gn-thanh-hien,
  .gn-bai .gn-thanh-nut svg {
    transition: none;
  }
}

@media print {
  .gn-bai .gn-thanh-doc,
  .gn-bai .gn-muc-luc,
  .gn-bai .gn-ket {
    display: none !important;
  }
}
