/* Article layout adapted to a dense Vietnamese SEO-reading pattern. */
.article-utility {
  min-height: 34px;
  display: flex;
  align-items: center;
  color: #f7d66e;
  background: var(--navy-950);
  font-size: .76rem;
  font-weight: 700;
}

.article-utility .shell,
.article-utility .shell > div,
.article-utility a {
  display: flex;
  align-items: center;
}

.article-utility .shell { justify-content: space-between; }
.article-utility .shell > div { gap: 24px; }
.article-utility a { gap: 6px; color: #fff; }

body:has(.article-utility) .site-header { top: 0; }

main > article {
  width: min(calc(100% - 48px), 1240px);
  display: grid;
  grid-template-columns: minmax(0, 870px) minmax(300px, 332px);
  column-gap: 38px;
  align-items: start;
  margin: 30px auto 82px;
}

.article-header {
  grid-column: 1;
  grid-row: 1;
  padding: 0 0 20px;
  border-bottom: 1px solid #d8e0dd;
  background: #fff;
}

.article-header-inner { width: 100%; max-width: none; }
.article-header .breadcrumbs { margin-bottom: 18px; font-size: .78rem; }
.article-header .editorial-kicker { margin-bottom: 8px; }

.article-header h1 {
  max-width: 900px;
  margin: 0 0 16px;
  color: var(--navy-950);
  font-family: "Be Vietnam Pro", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 42px;
  font-weight: 850;
  line-height: 47.88px;
  letter-spacing: -.025em;
}

.article-deck { display: none; }

.article-author {
  display: flex;
  align-items: center;
  margin-top: 16px;
  color: var(--ink-soft);
}

.article-author img { display: none; }
.article-author div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.article-author strong { color: var(--navy-950); font-size: .84rem; }
.article-author span { color: var(--muted); font-size: .8rem; }

.article-main { display: contents; }

.article-prose {
  grid-column: 1;
  grid-row: 2;
  padding-top: 22px;
  color: #263247;
  font-family: Inter, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 30.525px;
}

.article-thumbnail {
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0 0 24px;
  border-radius: 16px;
}

.article-prose > p:first-of-type {
  margin: 0 0 18px;
  padding: 0;
  border-left: 0;
  color: var(--navy-900);
  background: transparent;
  font-size: inherit;
  font-weight: 600;
  font-style: italic;
  line-height: inherit;
}

.article-prose h2 {
  margin: 34px 0 14px;
  color: var(--navy-950);
  font-family: "Be Vietnam Pro", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 32.5px;
  letter-spacing: -.015em;
}

.article-prose h3 {
  margin: 28px 0 12px;
  color: var(--navy-900);
  font-family: "Be Vietnam Pro", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 26px;
}

.article-prose p { margin: 0 0 18px; }
.article-prose figure { max-width: 760px; margin: 24px auto; }
.article-prose figure img { max-height: none; border-radius: 12px; }
.article-prose blockquote { margin: 24px 0; font: 600 16.5px/30.525px Inter, -apple-system, "Segoe UI", Arial, sans-serif; }

.article-toc {
  margin: 0 0 22px;
  padding: 16px 20px 18px;
  border: 1px solid #d5e2dc;
  border-left: 4px solid #315c4f;
  border-radius: 10px;
  background: #f8fbfa;
}

.article-toc-head { align-items: center; margin-bottom: 13px; }
.article-toc h2 {
  font-size: 15px;
  line-height: 20px;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.article-toc-list {
  list-style: none;
  counter-reset: article-toc;
  gap: 9px;
  padding-left: 0;
}
.article-toc-list li {
  counter-increment: article-toc;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}
.article-toc-list li::before {
  content: counter(article-toc);
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #c7d9d1;
  border-radius: 5px;
  color: #76500a;
  background: #fff;
  font: 800 12px/1 "Be Vietnam Pro", -apple-system, "Segoe UI", Arial, sans-serif;
}
.article-toc-list a {
  padding-top: 2px;
  font-size: 15px;
  font-weight: 650;
  line-height: 23px;
}
.article-toc.is-expanded li { display: grid; }
.toc-toggle { color: #76500a; }

.article-sidebar {
  position: sticky;
  top: 90px;
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sidebar-block {
  padding: 20px;
  border: 1px solid #d9e2df;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 38px rgb(16 24 42 / .055);
}

.sidebar-block:last-of-type { border-bottom: 1px solid #d9e2df; }
.sidebar-title { color: var(--navy-950); font-size: 1rem; }

.sidebar-cta {
  min-height: 225px;
  order: -1;
  border-radius: 14px;
  background: var(--navy-950);
  box-shadow: 0 16px 38px rgb(16 24 42 / .12);
}

.sidebar-cta img { opacity: .42; object-position: center 20%; }
.sidebar-cta::after { background: linear-gradient(180deg, rgb(10 18 34 / .18), rgb(10 18 34 / .98)); }
.sidebar-cta-content { padding: 22px; }
.sidebar-cta h3 { max-width: 250px; font-size: 1.25rem; }

.interest-list { gap: 12px; }
.interest-item { grid-template-columns: 64px 1fr; gap: 11px; }
.interest-item img { width: 64px; height: 54px; }
.interest-item strong { font-size: .8rem; line-height: 1.3; }

.article-feedback {
  margin-top: 38px;
  border-color: #e2c668;
  border-left: 4px solid #c88b08;
  background: #fff9e7;
}

.article-feedback h2 {
  margin: 0;
  font-family: "Be Vietnam Pro", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
}

.rating-stars button {
  color: #a7afba;
  transition: color 140ms cubic-bezier(.23, 1, .32, 1), transform 140ms cubic-bezier(.23, 1, .32, 1);
}
.rating-stars button:hover,
.rating-stars button:focus-visible { transform: translateY(-1px); }
.rating-stars button.is-active { color: #d49808; }
.feedback-status {
  position: static;
  grid-column: 1 / -1;
  min-height: 0;
  margin: -8px 0 0 !important;
  color: #72530b;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}
.feedback-status:empty { display: none; }

.comment-section { margin-top: 30px; }
.comment-trigger { min-height: 56px; border-color: #d2dcda; }

.related-articles {
  padding: 54px 0 68px;
  border-top: 1px solid var(--line);
  background: #f8faf9;
}

.related-articles .editorial-heading h2 { font-size: clamp(1.65rem, 2.4vw, 2rem); }
.related-track .news-card-media { border-radius: 12px; }

.article-mobile-dock { display: none; }

@media (max-width: 1050px) {
  main > article { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
}

@media (max-width: 760px) {
  .article-utility { display: none; }
  main > article { width: min(calc(100% - 32px), 680px); display: block; margin: 22px auto 56px; }
  .article-header { padding-bottom: 18px; }
  .article-header .breadcrumbs { margin-bottom: 15px; overflow: hidden; white-space: nowrap; }
  .article-header h1 { font-size: 27px; line-height: 30.78px; }
  .article-author { margin-top: 13px; }
  .article-author div { gap: 4px 12px; }
  .article-main { display: block; }
  .article-prose { padding-top: 20px; font-size: 16px; line-height: 29.6px; }
  .article-sidebar { display: none; }
  .article-thumbnail { border-radius: 14px; margin-bottom: 20px; }
  .article-toc { padding: 15px; }
  .article-prose h2 { font-size: 25px; line-height: 32.5px; }
  .article-prose h3 { font-size: 20px; line-height: 26px; }
  .article-toc h2 { font-size: 14px; }
  .article-toc-list { gap: 8px; }
  .article-toc-list li { grid-template-columns: 25px minmax(0, 1fr); gap: 9px; }
  .article-toc-list li::before { width: 25px; height: 25px; }
  .article-toc-list a { padding-top: 1px; font-size: 14px; line-height: 22px; }
  .article-prose > p:first-of-type { padding: 0; }
  .article-prose blockquote { font-size: 16px; line-height: 29.6px; }
  .article-feedback { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .article-feedback .feedback-copy { grid-column: 1 / -1; }
  .article-prose .article-feedback h2 {
    font-size: 15px;
    line-height: 20px;
    white-space: nowrap;
  }
  .article-feedback .feedback-copy p { display: none; }
  .article-feedback .rating-stars { grid-column: 1; }
  .article-feedback .helpful-actions { grid-column: 1; justify-content: flex-start; }
  .article-feedback .helpful-actions .button { min-height: 36px; padding-inline: 9px; }
  .article-feedback .feedback-status { grid-column: 1 / -1; margin-top: 0 !important; }
  .article-mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    min-height: 62px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #d7dfdc;
    background: rgb(255 255 255 / .97);
    box-shadow: 0 -10px 28px rgb(16 24 42 / .1);
  }
  .article-mobile-dock a { display: grid; place-items: center; align-content: center; gap: 2px; color: var(--navy-900); font-size: .68rem; font-weight: 800; }
  .article-mobile-dock i { color: var(--gold-700); font-size: 1.28rem; }
  .site-footer { padding-bottom: 68px; }
}
