:root {
  --nyd-ink: #171714;
  --nyd-muted: #67655e;
  --nyd-paper: #f7f5ef;
  --nyd-white: #fffdf7;
  --nyd-gold: #d8aa38;
  --nyd-gold-soft: #f2d982;
  --nyd-dark: #090806;
  --nyd-deep-2: #17140c;
  --nyd-zalo: #0068ff;
  --nyd-line: #dedbd1;
  --nyd-radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body.nyd-blog-page {
  margin: 0;
  background: var(--nyd-paper);
  color: var(--nyd-ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}
body.nyd-blog-page a {
  color: inherit;
  text-decoration: none;
}
body.nyd-blog-page img {
  display: block;
  max-width: 100%;
}
.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 8, 6, 0.9);
  border-bottom: 1px solid rgba(242, 217, 130, 0.22);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--nyd-gold-soft);
}
.brand img {
  width: 150px;
  height: 54px;
  object-fit: cover;
  object-position: center;
}
.brand-text {
  display: none;
  font-size: 13px;
  color: rgba(255, 253, 247, 0.72);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 253, 247, 0.82);
  font-size: 14px;
  font-weight: 600;
}
.nav-links .menu {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links li {
  display: contents;
}
.nav-links a {
  transition: color 160ms ease;
}
.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--nyd-gold-soft);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 150ms ease,
    background 150ms ease,
    border-color 150ms ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn-call {
  background: var(--nyd-gold);
  color: #15100a;
}
.btn-call:hover {
  background: var(--nyd-gold-soft);
}
.btn-zalo {
  background: var(--nyd-zalo);
  color: #fff;
}
.footer {
  padding: 30px 0 110px;
  color: rgba(255, 253, 247, 0.72);
  background: var(--nyd-dark);
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.footer strong,
.footer a {
  color: var(--nyd-gold-soft);
}
.footer a {
  text-decoration: underline;
  text-decoration-color: rgba(242, 217, 130, 0.5);
}
.blog-wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}
.blog-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 8, 6, 0.94);
  border-bottom: 1px solid rgba(216, 184, 78, 0.25);
  backdrop-filter: blur(16px);
}
.blog-nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.blog-brand img {
  width: auto;
  height: 42px;
}
.blog-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #e9e4d7;
  font-size: 14px;
  font-weight: 650;
}
.blog-menu a:hover,
.blog-menu a[aria-current="page"] {
  color: #f2d982;
}
.blog-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--nyd-gold);
  color: #15100a;
  font-size: 14px;
  font-weight: 800;
}
.blog-book:active,
.rating-actions button:active,
.carousel-controls button:active {
  transform: translateY(1px);
}
.blog-main {
  padding: 68px 0 84px;
}
.blog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 44px;
}
.blog-kicker {
  margin: 0 0 10px;
  color: #8b6c05;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.blog-intro .blog-kicker {
  grid-column: 1/-1;
  margin-bottom: -20px;
}
.blog-intro h1,
.single-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 850px;
}
.blog-intro > p:last-child {
  margin: 0;
  color: var(--nyd-muted);
  font-size: 17px;
  line-height: 1.65;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 18px;
}
.post-card {
  min-width: 0;
  background: var(--nyd-white);
  border: 1px solid var(--nyd-line);
  border-radius: var(--nyd-radius) 0 var(--nyd-radius) 0;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: #b9a868;
}
.post-card-media {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #ddd;
}
.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.post-card:hover .post-card-media img {
  transform: scale(1.035);
}
.post-card-body {
  padding: 18px;
}
.post-meta {
  margin: 0 0 8px;
  color: #8b6c05;
  font-size: 12px;
  font-weight: 750;
}
.post-card h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: 0;
}
.post-card h2 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.post-card-body > p:not(.post-meta) {
  margin: 12px 0 18px;
  color: var(--nyd-muted);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.post-read {
  font-size: 13px;
  font-weight: 800;
}
.blog-pagination {
  margin-top: 44px;
}
.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--nyd-ink);
}
.blog-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--nyd-line);
  border-radius: 8px;
  background: var(--nyd-white);
  font-weight: 750;
}
.blog-pagination .current {
  background: var(--nyd-dark);
  border-color: var(--nyd-dark);
  color: #fff;
}
.seo-disclosure {
  margin-top: 34px;
}
.seo-disclosure details {
  border-top: 1px solid var(--nyd-line);
  border-bottom: 1px solid var(--nyd-line);
}
.seo-disclosure summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.seo-disclosure summary::-webkit-details-marker {
  display: none;
}
.seo-disclosure summary span {
  font-size: 22px;
}
.seo-disclosure details[open] summary span {
  transform: rotate(45deg);
}
.seo-copy {
  max-width: 820px;
  padding: 8px 0 34px;
  color: #4f4d47;
  line-height: 1.8;
}
.seo-copy h2,
.seo-copy h3 {
  color: var(--nyd-ink);
  letter-spacing: 0;
}
.seo-copy h2 {
  font-size: 30px;
}
.seo-copy h3 {
  margin-top: 30px;
  font-size: 20px;
}
.blog-empty {
  padding: 70px;
  text-align: center;
  border: 1px solid var(--nyd-line);
  background: var(--nyd-white);
  border-radius: var(--nyd-radius) 0 var(--nyd-radius) 0;
}
.blog-footer {
  padding: 44px 0;
  background: var(--nyd-dark);
  color: #e5dfd1;
}
.blog-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.blog-footer p {
  margin: 0;
  line-height: 1.7;
}
.blog-footer a {
  color: #f2d982;
}
.single-main {
  padding: 58px 0 0;
}
.single-hero {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}
.single-hero h1 {
  margin-inline: auto;
  font-size: clamp(36px, 5.2vw, 64px);
}
.single-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
  color: var(--nyd-muted);
  font-size: 14px;
}
.single-cover {
  margin: 0 0 48px;
  aspect-ratio: 2/1;
  overflow: hidden;
  border-radius: var(--nyd-radius) 0 var(--nyd-radius) 0;
  background: #ddd;
}
.single-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 300px;
  gap: 64px;
  align-items: start;
}
.article-toc {
  margin-bottom: 34px;
  padding: 24px;
  border: 1px solid var(--nyd-line);
  border-radius: var(--nyd-radius) 0 var(--nyd-radius) 0;
  background: var(--nyd-white);
}
.toc-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.toc-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: #806402;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.article-toc ol {
  margin: 0;
  padding-left: 22px;
}
.article-toc li {
  padding: 5px 0;
  color: #4f4d47;
  line-height: 1.45;
}
.article-toc .toc-level-3 {
  margin-left: 18px;
}
.article-toc .toc-extra {
  display: none;
}
.article-toc.is-expanded .toc-extra {
  display: list-item;
}
.article-content {
  font-size: 17px;
  line-height: 1.82;
  color: #36352f;
  overflow-wrap: anywhere;
}
.article-content > * {
  max-width: 100%;
}
.article-content p,
.article-content ul,
.article-content ol {
  margin: 0 0 1.15em;
}
.article-content h2,
.article-content h3,
.article-content h4 {
  scroll-margin-top: 100px;
  color: var(--nyd-ink);
  line-height: 1.16;
  letter-spacing: 0;
}
.article-content h2 {
  position: relative;
  margin: 2.35em 0 0.8em;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 170, 56, 0.34);
  font-size: clamp(28px, 2.7vw, 34px);
  font-weight: 850;
}
.article-content h3 {
  margin: 1.85em 0 0.7em;
  font-size: clamp(23px, 2.2vw, 28px);
  font-weight: 820;
}
.article-content h4 {
  margin: 1.55em 0 0.55em;
  color: #5f4a00;
  font-size: 20px;
  font-weight: 800;
}
.article-content ul,
.article-content ol {
  padding-left: 1.25em;
}
.article-content li {
  margin: 0.35em 0;
}
.article-content img {
  height: auto;
  border-radius: var(--nyd-radius) 0 var(--nyd-radius) 0;
}
.article-content a {
  color: #735a00;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-content blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--nyd-gold);
  font-size: 20px;
  font-weight: 650;
}
.article-content table {
  width: 100%;
  min-width: 620px;
  margin: 28px 0 46px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #d3c8aa;
  border-radius: 12px 0 12px 0;
  background: var(--nyd-white);
  box-shadow: 0 14px 34px rgba(40, 31, 9, 0.06);
  font-size: 15.5px;
  line-height: 1.5;
}
.article-content table + h2,
.article-content table + h3 {
  margin-top: 1.65em;
}
.article-content thead th,
.article-content tbody tr:first-child th {
  background: #f5edcf;
  color: #1d180d;
  font-weight: 850;
}
.article-content th,
.article-content td {
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid #d8cfb8;
  border-bottom: 1px solid #d8cfb8;
  text-align: left;
  vertical-align: top;
}
.article-content th:last-child,
.article-content td:last-child {
  border-right: 0;
}
.article-content tr:last-child th,
.article-content tr:last-child td {
  border-bottom: 0;
}
.article-content tbody tr:nth-child(even) {
  background: #fbf8ee;
}
.article-content tbody tr:hover {
  background: #fff6d8;
}
.post-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 28px;
}
.post-sidebar > section {
  padding-top: 18px;
  border-top: 1px solid var(--nyd-line);
}
.post-sidebar h2 {
  margin: 0 0 16px;
  font-size: 19px;
}
.search-form {
  display: grid;
  grid-template-columns: 1fr 44px;
}
.search-form label {
  min-width: 0;
}
.search-field {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--nyd-line);
  border-radius: 8px 0 0 8px;
  background: #fff;
  font: inherit;
}
.search-submit {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: var(--nyd-dark);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.latest-list {
  display: grid;
}
.latest-list a {
  padding: 13px 0;
  border-top: 1px solid var(--nyd-line);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}
.latest-list a:first-child {
  border-top: 0;
  padding-top: 0;
}
.latest-list span {
  display: block;
  margin-bottom: 5px;
  color: #8b6c05;
  font-size: 11px;
}
.sidebar-cta {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--nyd-radius) 0 var(--nyd-radius) 0;
  background:
    linear-gradient(0deg, rgba(9, 8, 6, 0.94), rgba(9, 8, 6, 0.2)),
    url("../images/mr2yldcl-z7906073768564_bf20d965ff5ddd89ac7db43fc1e5a6da.jpg")
      center/cover;
  color: #fff;
}
.sidebar-cta span {
  color: #f2d982;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.sidebar-cta strong {
  margin: 7px 0;
  font-size: 24px;
  line-height: 1.1;
}
.sidebar-cta small {
  color: #ded8c8;
}
.post-rating {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin: 56px 0 20px;
  padding: 28px;
  border: 1px solid var(--nyd-line);
  border-radius: var(--nyd-radius) 0 var(--nyd-radius) 0;
  background: var(--nyd-white);
}
.post-rating h2 {
  margin: 0;
  font-size: 24px;
}
.rating-actions {
  display: flex;
  gap: 8px;
}
.rating-actions button,
.carousel-controls button {
  height: 42px;
  padding: 0 16px;
  border: 1px solid #bdb9ae;
  border-radius: 8px;
  background: #fff;
  color: var(--nyd-ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.rating-actions button:hover {
  border-color: var(--nyd-dark);
}
.rating-actions button.is-selected {
  background: var(--nyd-dark);
  border-color: var(--nyd-dark);
  color: #fff;
}
.rating-status {
  grid-column: 1/-1;
  margin: 0;
  color: #357148;
  font-size: 13px;
}
.related-section {
  margin-top: 76px;
  padding: 70px 0 84px;
  background: #ece9df;
}
.related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.related-head h2 {
  margin: 0;
  font-size: 36px;
  letter-spacing: 0;
}
.carousel-controls {
  display: flex;
  gap: 8px;
}
.carousel-controls button {
  width: 44px;
  padding: 0;
  font-size: 20px;
}
.related-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.related-carousel::-webkit-scrollbar {
  display: none;
}
.related-card {
  scroll-snap-align: start;
  min-width: 0;
}
.related-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--nyd-radius) 0 var(--nyd-radius) 0;
}
.related-card span {
  display: block;
  margin-top: 13px;
  color: #806402;
  font-size: 12px;
  font-weight: 750;
}
.related-card h3 {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}
@media (max-width: 980px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .single-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .post-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .sidebar-cta {
    grid-column: 1/-1;
  }
  .related-carousel {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
  .blog-menu {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .brand-text {
    display: block;
  }
}
@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .brand img {
    width: 120px;
    height: 42px;
  }
  .brand-text,
  .nav-actions .btn-zalo {
    display: none;
  }
  .nav-actions .btn-call {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .blog-wrap {
    width: calc(100% - 24px);
  }
  .blog-header .blog-nav {
    min-height: 60px;
  }
  .blog-brand img {
    height: 35px;
  }
  .blog-book {
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }
  .blog-main {
    padding: 42px 0 62px;
  }
  .blog-intro {
    display: block;
    margin-bottom: 30px;
  }
  .blog-intro .blog-kicker {
    margin-bottom: 9px;
  }
  .blog-intro h1 {
    font-size: 36px;
  }
  .blog-intro > p:last-child {
    margin-top: 18px;
    font-size: 15px;
  }
  .post-grid {
    gap: 14px 10px;
  }
  .post-card-body {
    padding: 13px;
  }
  .post-card h2 {
    font-size: 16px;
  }
  .post-card-body > p:not(.post-meta) {
    display: none;
  }
  .post-read {
    font-size: 12px;
  }
  .post-card-media {
    aspect-ratio: 4/3;
  }
  .single-main {
    padding-top: 38px;
  }
  .single-hero {
    text-align: left;
  }
  .single-hero h1 {
    font-size: 36px;
  }
  .single-meta {
    justify-content: flex-start;
  }
  .single-cover {
    margin-bottom: 32px;
    aspect-ratio: 4/3;
  }
  .article-toc {
    padding: 19px;
  }
  .article-content {
    font-size: 16px;
    line-height: 1.78;
  }
  .article-content h2 {
    font-size: 26px;
    margin-top: 2em;
    padding-top: 16px;
  }
  .article-content h3 {
    font-size: 22px;
  }
  .article-content table {
    display: table;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-size: 14px;
    table-layout: fixed;
  }
  .article-content th,
  .article-content td {
    padding: 12px 10px;
    overflow-wrap: anywhere;
  }
  .post-sidebar {
    grid-template-columns: 1fr;
  }
  .post-rating {
    grid-template-columns: 1fr;
    padding: 21px;
  }
  .rating-actions {
    width: 100%;
  }
  .rating-actions button {
    flex: 1;
    padding: 0 10px;
  }
  .related-section {
    margin-top: 52px;
    padding: 50px 0 64px;
  }
  .related-head h2 {
    font-size: 28px;
  }
  .related-carousel {
    grid-auto-columns: 82%;
  }
  .blog-footer-inner {
    display: grid;
  }
  .seo-copy {
    font-size: 15px;
  }
}
