@charset "UTF-8";
/* ============================================================
   TRANG CHI TIẾT BÀI VIẾT — Vạn Xuân
   File .scss.liquid: KHÔNG dùng clamp()/min()/max() lồng.
   ============================================================ */
#article .breadcrumb-shop {
  background: var(--vx-black);
  padding: 8px 0;
  position: relative;
  z-index: 3; }

#article .breadcrumb-shop ul, #article .breadcrumb-shop ol {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0; }

#article .breadcrumb-shop .breadcrumb a {
  color: var(--vx-muted); }

#article .breadcrumb-shop .breadcrumb > li:not(:first-child):before {
  content: "/";
  margin-right: 3px;
  color: var(--vx-muted); }

#article .breadcrumb-shop .breadcrumb li.active span {
  color: #fff; }

@media (min-width: 991px) {
  #article .breadcrumb-shop {
    height: 60px;
    display: flex;
    align-items: center; } }

.vx-article {
  background: var(--vx-black);
  color: #fff;
  font-family: var(--vx-font);
  padding: 40px 0 80px; }

.vx-article-layout {
  margin: 0; }

/* ---- Table of contents (cố định bên trái khi cuộn) ---- */
.vx-article-toc {
  padding-right: 24px;
  padding-top: 47px; }

.vx-article-toc-inner {
  position: sticky;
  top: 140px; }

.vx-article-toc-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  margin: 0 0 16px;
  text-transform: uppercase; }

.vx-article-toc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0; }

.vx-article-toc-list li {
  margin: 0; }

.vx-article-toc-list a {
  border-left: 1px solid var(--vx-border);
  color: rgba(255, 255, 255, 0.55);
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  padding: 10px 15px;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease; }

.vx-article-toc-list a.active {
  border-left-color: var(--vx-gold);
  border-width: 2px;
  color: var(--vx-gold);
  background: rgba(255, 255, 255, 0.1); }

/* Bài viết không có heading: giữ cột col-lg-2 để nội dung col-8 không bị lệch trái, chỉ ẩn nội dung mục lục */
.vx-article-toc.vx-article-toc-empty .vx-article-toc-inner {
  visibility: hidden; }

.vx-article-toc.vx-article-toc-empty {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 21%;
  -ms-flex: 0 0 21%;
  flex: 0 0 21%;
  max-width: 21%; }

/* ---- Table of contents (popup mobile) ---- */
.vx-article-toc-mobile {
  display: none; }

.vx-article-toc-toggle {
  align-items: center;
  background: var(--vx-gold);
  border: 1px solid rgba(73, 16, 16, 0.24);
  border-radius: 50%;
  bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  left: 24px;
  padding: 0;
  position: fixed;
  width: 48px;
  z-index: 998; }

.vx-article-toc-overlay {
  background: rgba(0, 0, 0, 0.6);
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity .25s ease;
  visibility: hidden;
  z-index: 998; }

.vx-article-toc-panel {
  background: var(--vx-panel);
  border-radius: 16px 16px 0 0;
  bottom: 0;
  left: 0;
  max-height: 70vh;
  overflow-y: auto;
  padding: 20px 24px 28px;
  position: fixed;
  right: 0;
  transform: translateY(100%);
  transition: transform .3s ease;
  z-index: 999; }

.vx-article-toc-mobile.is-open .vx-article-toc-overlay {
  opacity: 1;
  pointer-events: auto;
  visibility: visible; }

.vx-article-toc-mobile.is-open .vx-article-toc-panel {
  transform: translateY(0); }

.vx-article-toc-panel-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px; }

.vx-article-toc-panel-head .vx-article-toc-label {
  margin: 0; }

.vx-article-toc-panel-close {
  align-items: center;
  background: transparent;
  border: 0;
  display: flex;
  height: 32px;
  justify-content: center;
  padding: 0;
  width: 32px; }

/* ---- Nội dung bài viết ---- */
.vx-article-date {
  color: var(--vx-muted);
  font-size: 14px;
  margin: 0 0 20px;
  text-align: center; }

.vx-article-title {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 28px; }

.vx-article .article-pages {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.75; }

.vx-article .article-pages p {
  margin: 0 0 20px; }

.vx-article .article-pages img {
  border-radius: 8px;
  height: auto;
  margin: 8px 0 28px;
  max-width: 100%; }

.vx-article .article-pages h2,
.vx-article .article-pages h3,
.vx-article .article-pages h4 {
  color: #fff;
  font-weight: 700;
  margin: 40px 0 16px; }

.vx-article .article-pages h2 {
  font-size: 24px; }

.vx-article .article-pages h3 {
  font-size: 20px; }

.vx-article .article-pages h4 {
  font-size: 18px; }

.vx-article .article-pages a {
  color: var(--vx-gold); }

.vx-article .article-pages ul,
.vx-article .article-pages ol {
  margin: 0 0 20px;
  padding-left: 22px; }

.vx-article .article-pages li {
  margin-bottom: 8px; }

.vx-article .meta-tags {
  border-top: 1px solid var(--vx-border);
  padding-top: 24px; }

.vx-article .meta-tags .tags-title {
  color: #fff; }

.vx-article .meta-tags a.tag {
  color: var(--vx-muted); }

.vx-article .post-navigation {
  border-top: 1px solid var(--vx-border);
  color: #fff;
  padding-top: 24px; }

.vx-article .post-navigation a {
  color: #fff;
  text-decoration: none; }

.vx-article .post-navigation a:hover {
  color: var(--vx-gold); }

/* ---- Tin tức liên quan ---- */
.vx-article-related {
  padding: 56px 0 80px; }

.vx-article-related-title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 28px; }

.vx-article-related-slider-wrap {
  position: relative; }

.vx-article-related-slider {
  overflow: hidden; }

.vx-article-related-slider .swiper-slide {
  height: auto; }

.vx-article-related-card {
  display: block;
  height: 100%; }

.vx-article-related-card-image {
  border-radius: 8px;
  display: block;
  overflow: hidden;
  text-decoration: none; }

.vx-article-related-card-image img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%; }

.vx-article-related-card-body {
  padding-top: 14px; }

.vx-article-related-card-date {
  color: var(--vx-muted);
  display: block;
  font-size: 13px;
  margin-bottom: 8px; }

.vx-article-related-card-date time {
  display: block; }

.vx-article-related-card-title {
  margin: 0; }

.vx-article-related-card-title a {
  color: #fff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  text-decoration: none; }

.vx-article-related .vx-slider-btn {
  align-items: center;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  position: absolute;
  top: 38%;
  width: 44px;
  z-index: 5; }

.vx-article-related .vx-slider-btn--prev {
  left: -18px; }

.vx-article-related .vx-slider-btn--next {
  right: -18px; }

.vx-article-related .vx-slider-btn.swiper-button-disabled {
  opacity: 0;
  pointer-events: none; }

@media (hover: hover) and (pointer: fine) {
  .vx-article-related-card-title a:hover {
    color: var(--vx-gold); }
  .vx-article-related .vx-slider-btn:hover {
    background: rgba(0, 0, 0, 0.5); } }

/* ---- Bình luận ---- */
.vx-article .article-comment {
  border-top: 1px solid var(--vx-border);
  color: #fff;
  margin-top: 40px;
  padding-top: 40px; }

.vx-article .article-comment .title-bl h2 {
  color: #fff; }

.vx-article .article-comment .title-bl h2:after {
  background: var(--vx-gold); }

.vx-article .article-comment .comment_form .form-group input,
.vx-article .article-comment .comment_form .form-group textarea {
  background: var(--vx-panel);
  border: 1px solid var(--vx-border);
  color: #fff; }

.vx-article .article-comment .comment_form .form-group input::placeholder,
.vx-article .article-comment .comment_form .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4); }

.vx-article .article-comment .sitebox-recaptcha {
  color: var(--vx-muted); }

.vx-article .article-comment .sitebox-recaptcha a {
  color: var(--vx-gold); }

.vx-article h3.author {
  color: #fff; }

.vx-article #binhluan .comment-user {
  border-bottom-color: var(--vx-border); }

.vx-article #binhluan .date {
  color: var(--vx-muted); }

/* ---- Breadcrumb (nền đen trên trang bài viết) ---- */
#article .breadcrumb-shop {
  background: var(--vx-black); }

#article .breadcrumb-shop .breadcrumb a,
#article .breadcrumb-shop .breadcrumb > li:before {
  color: var(--vx-muted); }

#article .breadcrumb-shop .breadcrumb li.active span {
  color: #fff; }

@media (max-width: 1199.98px) {
  .vx-article-toc-inner {
    top: 120px; } }

@media (max-width: 991.98px) {
  .vx-article {
    padding: 32px 0 64px; }
  .vx-article-toc {
    display: none; }
  .vx-article-toc-mobile {
    display: block; }
  .vx-article-title {
    font-size: 28px; }
  .vx-article-related {
    padding: 44px 0 64px; }
  .vx-article-related-title {
    font-size: 26px;
    margin-bottom: 22px; } }

body.vx-article-toc-lock {
  overflow: hidden; }

@media (max-width: 767.98px) {
  .vx-article {
    padding: 24px 0 48px; }
  .vx-article-title {
    font-size: 22px;
    margin-bottom: 18px; }
  .vx-article-date {
    margin-bottom: 14px; }
  .vx-article .article-pages {
    font-size: 15px; }
  .vx-article .article-pages h2 {
    font-size: 20px; }
  .vx-article .article-pages h3 {
    font-size: 18px; }
  .vx-article .post-navigation .left,
  .vx-article .post-navigation .right {
    display: block;
    float: none;
    margin-bottom: 8px; }
  .vx-article-related {
    padding: 36px 0 48px; }
  .vx-article-related-title {
    font-size: 22px;
    margin-bottom: 18px; }
  .vx-article-related .vx-slider-btn {
    display: none; } }
