/*
 * Hộ Chiếu Nhanh – Chi tiết bài viết v3.7.
 * Bố cục dựa trên HTML/CSS VACPA của người dùng (news-detail-page).
 * Chỉ áp dụng body.hnv-vacpa-single: không ảnh hưởng trang chủ, danh mục hay Flatsome Admin.
 */
body.hnv-vacpa-single .vcp-single-main,
body.hnv-vacpa-single .vcp-article-page {
  width:100%;margin:0;background:#fff;color:#1c1f24;
  font-family:'Open Sans',Arial,sans-serif;
}
body.hnv-vacpa-single .vcp-single-main * {box-sizing:border-box;}
body.hnv-vacpa-single .vcp-single-main .container--default {
  width:100%;max-width:1110px!important;margin-left:auto!important;margin-right:auto!important;
  padding-left:0!important;padding-right:0!important;
}
/* Breadcrumb / banner đồng bộ hẳn với v3.6 category.php. */
body.hnv-vacpa-single .vcp-article-page .vcp-article-hero.section__hero {
  min-height:191px!important;margin:0!important;padding:0!important;border:0!important;
  background-color:#193b89!important;
  background-image:url('../img/category-breadcrumb.svg')!important;
  background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;
}
body.hnv-vacpa-single .vcp-article-page .vcp-article-hero .section__hero__container {
  min-height:191px!important;display:flex!important;flex-direction:column!important;
  align-items:flex-start!important;justify-content:flex-start!important;
  gap:16px!important;padding-top:30px!important;padding-bottom:16px!important;
}
body.hnv-vacpa-single .vcp-article-page .vcp-article-hero .breadcrumb {
  display:flex!important;gap:8px!important;align-items:center!important;list-style:none!important;
  padding:10px 0!important;margin:0!important;color:#cdd3dd!important;
  font-size:16px!important;line-height:24px!important;letter-spacing:.1px!important;font-weight:600!important;
}
body.hnv-vacpa-single .vcp-article-page .vcp-article-hero .breadcrumb__item {
  display:block!important;padding:0!important;margin:0!important;
}
body.hnv-vacpa-single .vcp-article-page .vcp-article-hero .breadcrumb__link {
  font:inherit!important;color:#cdd3dd!important;padding:0!important;margin:0!important;
  text-decoration:none!important;
}
body.hnv-vacpa-single .vcp-article-page .vcp-article-hero .breadcrumb__link:hover {color:#fff!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-article-hero .section__hero--title {
  display:block!important;font-family:'Open Sans',Arial,sans-serif!important;
  font-size:32px!important;line-height:46px!important;letter-spacing:-.2px!important;
  font-weight:700!important;color:#fff!important;text-transform:none!important;
  padding:0!important;margin:0!important;
}
/* 1110px; giống spacing chuẩn của news-detail-page gốc. */
body.hnv-vacpa-single .vcp-article-page .page__container {
  width:100%;display:flex!important;flex-direction:row!important;gap:64px!important;
  padding-top:64px!important;padding-bottom:64px!important;margin:0 auto!important;
}
body.hnv-vacpa-single .vcp-article-page .page__container .section__content,
body.hnv-vacpa-single .vcp-article-page .section__content__wrapper {
  display:block!important;min-width:0!important;width:100%!important;flex:1 1 0!important;
  padding:0!important;margin:0!important;
}
body.hnv-vacpa-single .vcp-article-page .section__head {margin:0!important;padding:0!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-article-return {margin:0 0 0!important;padding:0!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-article-return a {
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;
  padding:12px 0!important;margin:0!important;min-height:48px!important;
  color:#1e49e2!important;text-decoration:none!important;
  font:600 16px/24px 'Open Sans',Arial,sans-serif!important;
  background:none!important;border:0!important;box-shadow:none!important;
}
body.hnv-vacpa-single .vcp-article-page .vcp-article-return svg {
  display:inline-block!important;width:20px!important;height:20px!important;flex-shrink:0;
}
body.hnv-vacpa-single .vcp-article-page .vcp-article-return .ml-2 {margin:0!important;}
body.hnv-vacpa-single .vcp-article-page h1.section__title {
  font:700 24px/36px 'Open Sans',Arial,sans-serif!important;
  letter-spacing:0!important;color:#1c1f24!important;text-transform:none!important;
  padding:0!important;margin:0 0 8px!important;max-width:100%!important;
}
body.hnv-vacpa-single .vcp-article-page .news-detail__toolbar {
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  flex-direction:row!important;gap:14px!important;min-height:28px!important;
  padding:0!important;margin:0!important;
}
body.hnv-vacpa-single .vcp-article-page .news-list__counter {
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:16px!important;
  padding:0!important;margin:0!important;
}
body.hnv-vacpa-single .vcp-article-page .news-list__counter>:not([hidden])~:not([hidden]) {margin-left:0!important;margin-right:0!important;}
body.hnv-vacpa-single .vcp-article-page .news-list__counter-item {
  display:inline-flex!important;align-items:center!important;gap:4px!important;
  font:400 16px/24px 'Open Sans',Arial,sans-serif!important;
  letter-spacing:.1px!important;color:#7e868f!important;white-space:nowrap!important;
  padding:0!important;margin:0!important;
}
body.hnv-vacpa-single .vcp-article-page .news-list__counter-item svg {
  display:inline-block!important;vertical-align:middle!important;width:18px!important;height:18px!important;
  flex-shrink:0!important;color:currentColor!important;
}
body.hnv-vacpa-single .vcp-article-page .news-list__counter-item time {font:inherit!important;color:inherit!important;}
body.hnv-vacpa-single .vcp-article-page .section__content .divider {
  width:100%!important;height:1px!important;background:#eef1f6!important;
  border:0!important;margin:16px 0!important;padding:0!important;
}
/* Share SVG nguyên đường vẽ trong HTML VACPA do chủ website cung cấp. */
body.hnv-vacpa-single .vcp-article-page .vcp-article-social {position:relative!important;z-index:9;flex-shrink:0;}
body.hnv-vacpa-single .vcp-article-page .vcp-article-social .social-list-toggle {
  display:none!important;align-items:center!important;justify-content:center!important;
  width:36px!important;height:36px!important;padding:0!important;margin:0!important;
  border:0!important;background:transparent!important;color:#222830!important;box-shadow:none!important;
}
body.hnv-vacpa-single .vcp-article-page .vcp-article-social .social-list-menu {
  position:static!important;display:flex!important;align-items:center!important;flex-direction:row!important;
  gap:12px!important;padding:0!important;margin:0!important;opacity:1!important;visibility:visible!important;
  transform:none!important;border:0!important;background:transparent!important;box-shadow:none!important;
  width:auto!important;min-width:0!important;
}
body.hnv-vacpa-single .vcp-article-page .vcp-article-social .social-list__item {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;
  width:24px!important;height:24px!important;margin:0!important;padding:0!important;border:0!important;
  color:#222830!important;background:transparent!important;text-decoration:none!important;
  line-height:1!important;cursor:pointer!important;box-shadow:none!important;
}
body.hnv-vacpa-single .vcp-article-page .vcp-article-social .social-list__item:hover {color:#1e49e2!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-article-social .vcp-single-social-svg {
  display:block!important;width:20px!important;height:20px!important;max-width:none!important;
  flex-shrink:0!important;
}
body.hnv-vacpa-single .vcp-article-page .vcp-article-social .social-text {display:none!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-article-share-status:empty {display:none!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-article-share-status {
  display:block!important;color:#1e49e2!important;font-size:12px!important;margin-top:4px!important;
}
/* Nội dung vẫn dùng the_content() để giữ Gutenberg, shortcode, liên kết, ảnh và bảng của site. */
body.hnv-vacpa-single .vcp-article-page .news-detail__main-content {width:100%;min-width:0;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content {
  display:block!important;min-width:0!important;width:100%!important;
  color:#49505a!important;font:400 16px/1.62 'Open Sans',Arial,sans-serif!important;
  letter-spacing:.1px!important;overflow-wrap:anywhere!important;
}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content p {margin:0 0 12px!important;font-size:inherit!important;line-height:inherit!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content h2,
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content h3,
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content h4 {
  font-family:'Open Sans',Arial,sans-serif!important;font-weight:700!important;color:#1d1e85!important;
  margin:20px 0 10px!important;scroll-margin-top:220px!important;
}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content h2 {font-size:22px!important;line-height:1.45!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content h3 {font-size:19px!important;line-height:1.5!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content h4 {font-size:17px!important;line-height:1.5!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content img,
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content video,
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content iframe {
  max-width:100%!important;height:auto;
}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content .wp-block-embed iframe,
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content iframe[src*="youtube"] {aspect-ratio:16/9;width:100%;height:auto;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content figure {max-width:100%!important;margin:16px auto!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content figcaption {font:400 12px/18px 'Open Sans',Arial,sans-serif!important;color:#6a7381!important;text-align:center!important;margin-top:8px!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content ul {list-style:disc!important;margin:0 0 14px 24px!important;padding:0!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content ol {list-style:decimal!important;margin:0 0 14px 24px!important;padding:0!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content li {margin:4px 0!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content a {color:#1e49e2;text-decoration:underline;text-underline-offset:2px;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content blockquote {padding:12px 20px;margin:14px 0!important;border-left:3px solid #1e49e2;background:#f8f9fb;font-style:italic;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content .wp-block-table,
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content .table-responsive {max-width:100%;overflow-x:auto;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content table {max-width:100%!important;border-collapse:collapse;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content td,
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content th {border:1px solid #e4e8ee!important;padding:8px!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content .wp-block-image img {height:auto!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content .wp-caption {width:auto!important;max-width:100%!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content .wp-caption-text {font-size:12px!important;color:#7e868f!important;text-align:center!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-page-links {margin-top:20px;color:#1e49e2;}
body.hnv-vacpa-single .vcp-article-page .news-detail__footer {
  padding:0!important;margin:0!important;display:block!important;width:100%!important;
}
body.hnv-vacpa-single .vcp-article-page .auth-copyright {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex-direction:row!important;gap:32px!important;width:100%!important;
  font:400 16px/24px 'Open Sans',Arial,sans-serif!important;color:#7e868f!important;
}
body.hnv-vacpa-single .vcp-article-page .auth-copyright .author,
body.hnv-vacpa-single .vcp-article-page .auth-copyright .source {min-width:0!important;overflow-wrap:anywhere!important;}
body.hnv-vacpa-single .vcp-article-page .auth-copyright .text-neutral-700 {color:#7e868f!important;}
body.hnv-vacpa-single .vcp-article-page .auth-copyright .font-semibold {font-weight:600!important;margin:0!important;color:#49505a!important;}
/* Tin liên quan – ba ảnh ngang, ảnh 354×199 và metadata gốc VACPA. */
body.hnv-vacpa-single .vcp-article-page .section-related-news {margin:0 0 84px!important;padding:0!important;}
body.hnv-vacpa-single .vcp-article-page .section-related-news .section__container,
body.hnv-vacpa-single .vcp-article-page .section-related-news .section-body {padding:0!important;margin-left:auto!important;margin-right:auto!important;}
body.hnv-vacpa-single .vcp-article-page .section-related-news .section__head {
  padding:0!important;margin:0 0 24px!important;
}
body.hnv-vacpa-single .vcp-article-page .section-related-news .heading {width:100%!important;margin:0!important;}
body.hnv-vacpa-single .vcp-article-page .section-related-news .heading__container {
  width:100%!important;border-bottom:1px solid #e4e8ee!important;
}
body.hnv-vacpa-single .vcp-article-page .section-related-news .heading__title {
  display:inline-block!important;position:relative!important;padding:0 0 12px!important;
  font:700 24px/36px 'Open Sans',Arial,sans-serif!important;color:#1d1e85!important;
  border:0!important;margin:0!important;
}
/* VACPA đã tự vẽ duy nhất 1 gạch đỏ bằng .heading__container:after; tránh đường gạch kép. */
body.hnv-vacpa-single .vcp-article-page .section-related-news .heading__title:after {content:none!important;display:none!important;}
body.hnv-vacpa-single .vcp-article-page .section-related-news .heading__container:after {
  content:""!important;display:block!important;width:77px!important;height:3px!important;
  margin-top:-3px!important;background:#ef060e!important;border:0!important;
}
body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__container {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;
  overflow:visible!important;scroll-snap-type:none!important;padding:0!important;margin:0!important;
}
body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__item,
body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__item:first-child,
body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__item:last-child {
  display:block!important;min-width:0!important;max-width:none!important;width:100%!important;
  flex:none!important;padding:0!important;margin:0!important;background:#f8f9fb!important;
  color:#1c1f24!important;text-decoration:none!important;border-radius:0!important;
  box-shadow:none!important;
}
body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__thumb {
  display:block!important;overflow:hidden!important;width:100%!important;aspect-ratio:354/199!important;
  border-radius:2px 2px 0 0!important;
}
body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__thumb img,
body.hnv-vacpa-single .vcp-article-page .vcp-single-related-fallback {
  display:block!important;width:100%!important;height:100%!important;max-width:none!important;
  aspect-ratio:354/199!important;object-fit:cover!important;border-radius:0!important;
}
body.hnv-vacpa-single .vcp-article-page .vcp-single-related-fallback {background:#edf2fa;color:#93a6c6;display:flex!important;align-items:center!important;justify-content:center!important;}
body.hnv-vacpa-single .vcp-article-page .vcp-single-related-fallback svg {width:54px;height:54px;}
body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__content {padding:16px!important;margin:0!important;background:#f8f9fb!important;}
body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__title,
body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__title>div {
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  overflow:hidden!important;font:600 20px/30px 'Open Sans',Arial,sans-serif!important;
  color:#1c1f24!important;letter-spacing:.1px!important;margin:0!important;padding:0!important;
}
body.hnv-vacpa-single .vcp-article-page .section-related-news a:hover .news-list__title,
body.hnv-vacpa-single .vcp-article-page .section-related-news a:hover .news-list__title>div {color:#1e49e2!important;}
body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__counter {gap:16px!important;margin-top:8px!important;}
body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__counter-item {
  font:400 14px/22px 'Open Sans',Arial,sans-serif!important;color:#7e868f!important;
  letter-spacing:.1px!important;gap:4px!important;
}
body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__counter-item svg {width:16px!important;height:16px!important;}
@media(max-width:1279px) and (min-width:768px) {
  body.hnv-vacpa-single .vcp-single-main .container--default {max-width:100%!important;padding-left:40px!important;padding-right:40px!important;}
}
@media(max-width:1023px) {
  body.hnv-vacpa-single .vcp-article-page .page__container {padding-top:20px!important;padding-bottom:44px!important;}
  body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__title,
  body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__title>div {font-size:16px!important;line-height:24px!important;}
  body.hnv-vacpa-single .vcp-article-page h1.section__title {font-size:20px!important;line-height:30px!important;}
}
@media(max-width:767px) {
  body.hnv-vacpa-single .vcp-single-main .container--default {width:100%;max-width:100%!important;padding-left:20px!important;padding-right:20px!important;}
  body.hnv-vacpa-single .vcp-article-page .vcp-article-hero.section__hero {min-height:94px!important;}
  body.hnv-vacpa-single .vcp-article-page .vcp-article-hero .section__hero__container {min-height:94px!important;padding-top:16px!important;padding-bottom:16px!important;gap:8px!important;}
  body.hnv-vacpa-single .vcp-article-page .vcp-article-hero .breadcrumb {font-size:12px!important;line-height:18px!important;padding:0!important;}
  body.hnv-vacpa-single .vcp-article-page .vcp-article-hero .section__hero--title {font-size:24px!important;line-height:36px!important;letter-spacing:0!important;}
  body.hnv-vacpa-single .vcp-article-page .page__container {display:block!important;padding-top:20px!important;padding-bottom:44px!important;}
  body.hnv-vacpa-single .vcp-article-page .vcp-article-return a {font-size:14px!important;line-height:22px!important;min-height:40px!important;padding:7px 0!important;}
  body.hnv-vacpa-single .vcp-article-page h1.section__title {font-size:20px!important;line-height:30px!important;margin-bottom:8px!important;}
  body.hnv-vacpa-single .vcp-article-page .news-detail__toolbar {min-height:36px!important;gap:8px!important;}
  body.hnv-vacpa-single .vcp-article-page .news-list__counter {gap:8px!important;}
  body.hnv-vacpa-single .vcp-article-page .news-list__counter-item {font-size:12px!important;line-height:20px!important;}
  body.hnv-vacpa-single .vcp-article-page .news-list__counter-item svg {width:16px!important;height:16px!important;}
  body.hnv-vacpa-single .vcp-article-page .vcp-article-social .social-list-toggle {display:inline-flex!important;}
  body.hnv-vacpa-single .vcp-article-page .vcp-article-social .social-list-menu {
    display:none!important;position:absolute!important;top:40px!important;right:0!important;
    flex-direction:column!important;align-items:stretch!important;gap:0!important;
    padding:6px 0!important;border:1px solid #eef1f6!important;border-radius:6px!important;
    background:#fff!important;box-shadow:0 6px 20px rgb(20 35 60 / .09)!important;
    min-width:172px!important;width:max-content!important;max-width:calc(100vw - 40px)!important;
  }
  body.hnv-vacpa-single .vcp-article-page .vcp-article-social .social-list-menu.is-open {display:flex!important;}
  body.hnv-vacpa-single .vcp-article-page .vcp-article-social .social-list-menu .social-list__item {
    justify-content:flex-start!important;width:100%!important;height:auto!important;min-height:40px!important;
    gap:9px!important;padding:9px 14px!important;font-size:14px!important;
  }
  body.hnv-vacpa-single .vcp-article-page .vcp-article-social .social-text {display:inline!important;font:400 14px/20px 'Open Sans',Arial,sans-serif!important;}
  body.hnv-vacpa-single .vcp-article-page .vcp-single-entry-content {font-size:15px!important;line-height:1.67!important;}
  body.hnv-vacpa-single .vcp-article-page .auth-copyright {flex-direction:column!important;align-items:flex-start!important;gap:8px!important;font-size:14px!important;line-height:22px!important;}
  body.hnv-vacpa-single .vcp-article-page .section-related-news {margin-bottom:55px!important;}
  body.hnv-vacpa-single .vcp-article-page .section-related-news .section__head {padding:0 20px!important;margin-bottom:20px!important;}
  body.hnv-vacpa-single .vcp-article-page .section-related-news .heading__title {font-size:20px!important;line-height:30px!important;}
  body.hnv-vacpa-single .vcp-article-page .section-related-news .section-body {width:100%!important;overflow:hidden!important;}
  body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__container {
    display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto!important;
    padding:0 20px 8px!important;scroll-snap-type:x mandatory!important;
    -webkit-overflow-scrolling:touch!important;overscroll-behavior-inline:contain!important;
    scrollbar-width:none!important;
  }
  body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__container::-webkit-scrollbar {display:none;}
  body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__item,
  body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__item:first-child,
  body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__item:last-child {
    flex:0 0 min(320px,85vw)!important;width:min(320px,85vw)!important;scroll-snap-align:start!important;
  }
  body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__thumb {aspect-ratio:320/180!important;}
  body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__content {padding:12px!important;}
  body.hnv-vacpa-single .vcp-article-page .section-related-news .news-list__counter {gap:12px!important;}
}
@media (prefers-reduced-motion: reduce) {
  body.hnv-vacpa-single .vcp-article-page .vcp-article-social * {scroll-behavior:auto!important;transition:none!important;}
}
