/*
Theme Name: VietnamEnterpriseDNA®
Description: Unified child theme for VietnamElite.com
Author: Vietnam Enterprise DNA®
Template: flatsome
Version: 5.1.0
*/

/* VietnamElite Article Design System v10 — single source of truth */
:root{
  --ve-font:"Segoe UI",sans-serif;
  --ve-frame:1132px;
  --ve-reading:1132px;
  --ve-space:24px;
  --ve-ink:#102433;
  --ve-text:#26343d;
  --ve-muted:#647080;
  --ve-green:#073d2e;
  --ve-green-soft:#173f34;
  --ve-gold:#b9985f;
  --ve-cobalt:#2e63c7;
  --ve-cobalt-dark:#214a96;
  --ve-paper:#f7f8f7;
  --ve-cream:#f7f5ef;
  --ve-line:#d9e0dd;
  --ve-radius:12px;
}
html{font-family:var(--ve-font);overflow-x:hidden}
body,button,input,select,textarea,
.nav>li>a,.mobile-sidebar-levels-2 .nav>li>ul>li>a,
h1,h2,h3,h4,h5,h6,.heading-font,.alt-font,
.vedna-home,.vedna-about,.ve-article,
.entry-content.single-page{font-family:var(--ve-font)!important}

/* Sitewide Segoe UI lock; icon fonts are restored below. */
body :where(p,li,a,span,strong,em,blockquote,figcaption,table,thead,tbody,tr,th,td,label,legend,summary){
  font-family:var(--ve-font)!important
}

.fa,.fas,.far,.fal,.fab,[class^="fa-"],[class*=" fa-"]{font-family:"Font Awesome 5 Free","FontAwesome"!important}
.dashicons{font-family:dashicons!important}
[class^="icon-"],[class*=" icon-"]{font-family:"fl-icons"!important}
body{color:var(--ve-text);background:#fff;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
*{box-sizing:border-box}
img{max-width:100%;height:auto}
::selection{color:#fff;background:var(--ve-cobalt)}
:focus-visible{outline:3px solid rgba(46,99,199,.35);outline-offset:3px}

@media screen and (min-width:850px){
  body .container-width,body .full-width .ubermenu-nav,body .container,body .row{max-width:var(--ve-frame)}
}
#header .header-wrapper{border-bottom:1px solid #dde2e6;background:rgba(255,255,255,.98);box-shadow:none}
#header .header-main{height:80px}
#header .header-inner{min-height:80px}
#header #logo img{width:auto;max-height:58px}
#header .header-nav-main>li>a{color:#24313c;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
#header .header-nav-main>li>a:hover,#header .header-nav-main>li.active>a{color:var(--ve-cobalt)}
#header .header-nav-main>li>a[href*="/vietnam-enterprise-diagnostic"]{min-height:42px;padding:0 17px;border-radius:2px;background:var(--ve-cobalt);color:#fff}
#header .header-nav-main>li>a[href*="/vietnam-enterprise-diagnostic"]:hover{background:var(--ve-cobalt-dark)}
#footer .footer{border-top:1px solid rgba(255,255,255,.12);background:#071827;color:#cad4dc}
#footer .footer h3,#footer .footer h4,#footer .footer .widget-title{font-family:var(--ve-font);color:#fff;letter-spacing:0;text-transform:none}
#footer .footer a{color:#dce4ea}
#footer .footer a:hover{color:#fff}
#footer .absolute-footer{background:#04111d;color:#aab7c1}
.button.primary,.button.checkout,.button.alt{border-color:var(--ve-cobalt);border-radius:2px;background:var(--ve-cobalt)}
.button.primary:hover,.button.checkout:hover,.button.alt:hover{border-color:var(--ve-cobalt-dark);background:var(--ve-cobalt-dark)}

/* Shared page frame */
.vedna-shell,.ve-shell{width:min(var(--ve-frame),calc(100% - 32px));margin-inline:auto}
.vedna-home,.vedna-about{overflow:hidden;color:var(--ve-text);font-size:16px;line-height:24px}
.vedna-home hr,.vedna-about hr{display:none}
.vedna-home p:not(.vedna-eyebrow):not(.vedna-offer-label):not(.vedna-price):not(.vedna-note),
.vedna-about p:not(.vedna-eyebrow):not(.vedna-note){max-width:700px;font-size:16px;line-height:24px}
.vedna-home li,.vedna-about li{font-size:16px;line-height:24px}
body .vedna-home h1,body .vedna-about h1{max-width:920px;margin:0;font-size:52px;font-weight:750;line-height:58px;letter-spacing:-.022em}
body .vedna-home h2,body .vedna-about h2{max-width:820px;margin:0 0 12px;font-size:32px;font-weight:750;line-height:40px}
body .vedna-home h3,body .vedna-about h3{margin:0 0 8px;font-size:23px;font-weight:730;line-height:31px}
body .vedna-home .vedna-card h3,body .vedna-home .vedna-output h3,body .vedna-home .vedna-step h3,body .vedna-about .vedna-card h3{font-size:21px;line-height:28px}
body .vedna-home .vedna-eyebrow,body .vedna-about .vedna-eyebrow{margin:0 0 12px;font-size:13px;line-height:24px}
body #main .vedna-home p.vedna-lead,body #main .vedna-home p.vedna-hero-copy,body #main .vedna-about p.vedna-lead{max-width:700px;font-size:20px;line-height:30px}

/* Canonical article wrapper and hierarchy */
body.vedna-editorial .page-title.blog-featured-title{background:var(--ve-cream)}
body.vedna-editorial .page-title.blog-featured-title .page-title-bg{display:none}
body.vedna-editorial .page-title.blog-featured-title .page-title-inner{min-height:0;padding:48px 0 36px;justify-content:center}
body.vedna-editorial .page-title .page-title-inner h1.entry-title{
  width:100%;max-width:var(--ve-frame);margin-inline:auto;color:#0e2344;
  font-size:50px;font-weight:750;line-height:58px;letter-spacing:-.022em;
  overflow-wrap:anywhere;text-wrap:balance;text-transform:none
}
body.vedna-editorial .blog-wrapper{padding-top:24px}
body.vedna-editorial .blog-wrapper>.row.row-large{max-width:1180px}
body.vedna-editorial .blog-wrapper .post-sidebar{display:none}
body.vedna-editorial .blog-wrapper .large-9{flex-basis:100%;max-width:100%}
body.vedna-editorial .blog-wrapper .large-9.col{padding-inline:24px}
body.vedna-editorial article.post,
body.vedna-editorial article.post>.article-inner{width:100%;max-width:100%;margin-inline:auto}
body.vedna-editorial .entry-content.single-page{
  width:100%;max-width:var(--ve-frame);margin-inline:auto;padding:0;color:var(--ve-text);
  font-size:16px;line-height:24px;overflow-wrap:break-word
}
.ve-article{width:100%;max-width:var(--ve-frame);margin-inline:auto;padding:0;color:var(--ve-text);font-size:16px;line-height:24px}
body.vedna-editorial .entry-content.single-page>p,
body.vedna-editorial .entry-content.single-page>h2,
body.vedna-editorial .entry-content.single-page>h3,
body.vedna-editorial .entry-content.single-page>h4,
body.vedna-editorial .entry-content.single-page>ul,
body.vedna-editorial .entry-content.single-page>ol,
body.vedna-editorial .entry-content.single-page>blockquote,
.ve-article>p,.ve-article>h2,.ve-article>h3,.ve-article>h4,.ve-article>ul,.ve-article>ol,.ve-article>blockquote{
  width:100%;max-width:var(--ve-reading);margin-inline:auto
}
body.vedna-editorial .entry-content.single-page p,.ve-article p{margin-top:0;margin-bottom:24px;font-size:16px;line-height:24px}
body.vedna-editorial .entry-content.single-page h2,.ve-article h2{
  margin-top:24px;margin-bottom:12px;color:var(--ve-green);font-size:32px;font-weight:750;line-height:40px;letter-spacing:0;text-wrap:balance;text-transform:none
}
body.vedna-editorial .entry-content.single-page h3,.ve-article h3{
  margin-top:24px;margin-bottom:8px;color:var(--ve-green-soft);font-size:21px;font-weight:730;line-height:28px;letter-spacing:0;text-wrap:balance;text-transform:none
}
body.vedna-editorial .entry-content.single-page h4,.ve-article h4{margin:24px 0 8px;color:var(--ve-green-soft);font-size:18px;font-weight:700;line-height:26px}
body.vedna-editorial .entry-content.single-page ul,
body.vedna-editorial .entry-content.single-page ol,.ve-article ul,.ve-article ol{margin-top:0;margin-bottom:24px;padding-left:1.35em;font-size:16px;line-height:24px}
body.vedna-editorial .entry-content.single-page li,.ve-article li{margin:0;padding-left:0;font-size:16px;line-height:24px}
body.vedna-editorial .entry-content.single-page a,.ve-article a{color:#0f6675;text-underline-offset:3px}
body.vedna-editorial .entry-content.single-page a:hover,.ve-article a:hover{color:#9b7840}
body.vedna-editorial .entry-content.single-page hr,
body.vedna-editorial .entry-content.single-page .wp-block-separator,
body.vedna-editorial .entry-content.single-page .is-divider,.ve-article hr{display:none}

/* Semantic article components */
.ve-figure,.ve-article figure:not(.wp-block-table),
body.vedna-editorial .entry-content.single-page figure:not(.wp-block-table){margin:0 0 24px}
.ve-image,.is-style-vedna-editorial-image img,.ve-article figure img,
body.vedna-editorial .entry-content.single-page figure img{display:block;width:100%;height:auto;border-radius:12px;box-shadow:none}
.ve-caption,.ve-article figcaption,
body.vedna-editorial .entry-content.single-page figcaption{margin:8px 0 0;color:var(--ve-muted);font-size:14px;line-height:21px;text-align:left}
.ve-kicker,.is-style-vedna-kicker{margin:0 0 12px;color:#9a6a19;font-size:13px;font-weight:700;line-height:20px;letter-spacing:.08em;text-transform:uppercase}
.ve-lead,.is-style-vedna-lead{margin:0 0 24px;color:#172b45;font-size:20px;font-weight:600;line-height:30px}
.ve-meta{margin:0 0 24px;color:var(--ve-muted);font-size:14px;line-height:21px}
.ve-answer,.is-style-vedna-answer,.ve-callout,.ve-card,.ve-formula,.ve-toc,.ve-cta,.is-style-vedna-cta{margin:0 0 24px;padding:20px 24px;border-radius:var(--ve-radius)}
.ve-answer,.is-style-vedna-answer{border-left:4px solid #0a6047;background:#f2f6f4}
.ve-callout{border:1px solid #e8d7a8;background:#fbf6e9}
.ve-card{border:1px solid var(--ve-line);background:#fff}
.ve-formula{background:#f5f1e7;color:var(--ve-green);font-weight:800;text-align:center}
.ve-toc{background:var(--ve-paper)}
.ve-toc>:last-child,.ve-answer>:last-child,.ve-callout>:last-child,.ve-card>:last-child,.ve-formula>:last-child,.ve-cta>:last-child{margin-bottom:0}
.ve-quote,body.vedna-editorial .entry-content.single-page blockquote{
  margin:0 auto 24px;padding:0 0 0 20px;border:0;border-left:4px solid var(--ve-gold);background:transparent;color:var(--ve-green);
  font-size:22px;font-weight:700;line-height:32px
}
.ve-cta,.is-style-vedna-cta{background:var(--ve-green);color:#fff}
.ve-cta h2,.ve-cta h3,.ve-cta h4,.ve-cta p,.ve-cta a,.is-style-vedna-cta h2,.is-style-vedna-cta h3,.is-style-vedna-cta h4,.is-style-vedna-cta p,.is-style-vedna-cta a{color:#fff}
.ve-button,.ve-article a.button,.ve-cta .wp-block-button__link{
  display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:12px 18px;border:0;border-radius:8px;
  background:var(--ve-gold);color:#092b22;font-weight:800;line-height:20px;text-align:center;text-decoration:none
}
.ve-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:24px}

/* Accessible responsive tables */
.ve-table-scroll,.wp-block-table{position:relative;width:100%;max-width:var(--ve-frame);margin:0 auto 24px;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}
.ve-table-scroll::before,.wp-block-table::before{content:"";display:none}
.ve-table,body.vedna-editorial .entry-content.single-page table{width:100%;min-width:640px;margin:0;border-collapse:collapse;background:#fff;font-size:16px;line-height:24px}
.ve-table th,.ve-table td,
body.vedna-editorial .entry-content.single-page th,
body.vedna-editorial .entry-content.single-page td{padding:10px 12px;border:1px solid var(--ve-line);background:transparent;color:var(--ve-text);font-size:16px;line-height:24px;text-align:left;vertical-align:top}
.ve-table th,body.vedna-editorial .entry-content.single-page th{background:var(--ve-green);color:#fff;font-weight:700}

/* Knowledge archive */
.archive.category-tri-thuc-quan-tri .blog-wrapper{padding-top:48px;background:var(--ve-cream)}
.archive.category-tri-thuc-quan-tri .blog-wrapper>.row{max-width:1180px}
.archive.category-tri-thuc-quan-tri .large-9{flex-basis:100%;max-width:100%}
.archive.category-tri-thuc-quan-tri .post-sidebar{display:none}

@media (max-width:849px){
  #header .header-main,#header .header-inner{height:68px;min-height:68px}
  #header #logo img{max-height:48px}
  body.vedna-editorial .page-title.blog-featured-title .page-title-inner{padding:32px 15px 24px}
  body.vedna-editorial .page-title .page-title-inner h1.entry-title{font-size:32px;line-height:38px;letter-spacing:-.018em}
  body.vedna-editorial .blog-wrapper .large-9.col{padding-inline:15px}
  body.vedna-editorial .entry-content.single-page,.ve-article{max-width:100%;padding:0}
}
@media (max-width:767px){
  .vedna-shell,.ve-shell{width:100%;max-width:380px;padding-inline:16px}
  body .vedna-home h1,body .vedna-about h1{font-size:32px;line-height:38px}
  body .vedna-home h2,body .vedna-about h2{font-size:27px;line-height:34px}
  body .vedna-home h3,body .vedna-about h3{font-size:21px;line-height:28px}
  body #main .vedna-home p.vedna-lead,body #main .vedna-home p.vedna-hero-copy,body #main .vedna-about p.vedna-lead{font-size:18px;line-height:27px}
  .ve-answer,.ve-callout,.ve-card,.ve-formula,.ve-toc,.ve-cta{padding:20px}
  .ve-button,.ve-cta .wp-block-button,.ve-cta .wp-block-button__link{width:100%}
  .ve-table-scroll::before,.wp-block-table::before{
    content:"Vuốt ngang để xem bảng →";display:block;position:sticky;left:0;padding:0 0 8px;color:var(--ve-muted);
    font-size:13px;line-height:20px;font-weight:600
  }
}

/* Extended semantic components */
.ve-meta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;margin:0 0 24px}
.ve-meta-grid>div{padding:16px;border-radius:var(--ve-radius);background:#0e2344;color:#fff}
.ve-number{display:inline-flex;min-width:32px;min-height:32px;align-items:center;justify-content:center;border-radius:999px;background:var(--ve-gold);color:#092b22;font-weight:800}
.ve-small,.ve-meta,.ve-sources{color:var(--ve-muted);font-size:14px;line-height:21px}
.ve-sources{margin:0 0 24px;padding-top:16px;border-top:1px solid var(--ve-line)}
.ve-faq{margin:0 0 24px}
.ve-table-hint{display:none;margin:0 0 8px;color:var(--ve-muted);font-size:13px;font-weight:600;line-height:20px}
.editor-styles-wrapper{box-sizing:border-box;width:100%;max-width:var(--ve-frame);margin:24px auto;padding:0;color:var(--ve-text);font-family:var(--ve-font)!important;font-size:16px;line-height:24px}
.editor-styles-wrapper :where(p,li,a,span,strong,em,blockquote,figcaption,table,th,td){font-family:var(--ve-font)!important}
.editor-styles-wrapper p{margin:0 0 24px;font-size:16px;line-height:24px}
.editor-styles-wrapper h2{margin:24px 0 12px;color:var(--ve-green);font-size:32px;font-weight:750;line-height:40px}
.editor-styles-wrapper h3{margin:24px 0 8px;color:var(--ve-green-soft);font-size:21px;font-weight:730;line-height:28px}
.editor-styles-wrapper figure{margin:0 0 24px}
.editor-styles-wrapper figure img{display:block;width:100%;height:auto;border-radius:12px}
.editor-styles-wrapper figcaption{margin:8px 0 0;color:var(--ve-muted);font-size:14px;line-height:21px}
.editor-styles-wrapper table{width:100%;min-width:640px;border-collapse:collapse}
.editor-styles-wrapper th,.editor-styles-wrapper td{padding:10px 12px;border:1px solid var(--ve-line);text-align:left;vertical-align:top}
.editor-styles-wrapper th{background:var(--ve-green);color:#fff}
@media (max-width:767px){.ve-table-hint{display:block}}

/* Scoped 50% article-title sizing — Tri thức quản trị + Doanh nghiệp và Doanh nhân Việt */
body.single-post:has(article.category-tri-thuc-quan-tri) .page-title.blog-featured-title .page-title-inner,
body.single-post:has(article.category-doanh-nghiep-va-doanh-nhan-viet) .page-title.blog-featured-title .page-title-inner{
  min-height:0!important;
  padding:24px 0 18px;
}
body.single-post:has(article.category-tri-thuc-quan-tri) .page-title .page-title-inner h1.entry-title,
body.single-post:has(article.category-doanh-nghiep-va-doanh-nhan-viet) .page-title .page-title-inner h1.entry-title{
  font-size:25px;
  line-height:29px;
  margin-bottom:12px;
}
@media (max-width:849px){
  body.single-post:has(article.category-tri-thuc-quan-tri) .page-title.blog-featured-title .page-title-inner,
  body.single-post:has(article.category-doanh-nghiep-va-doanh-nhan-viet) .page-title.blog-featured-title .page-title-inner{
    padding:16px 15px 12px;
  }
  body.single-post:has(article.category-tri-thuc-quan-tri) .page-title .page-title-inner h1.entry-title,
  body.single-post:has(article.category-doanh-nghiep-va-doanh-nhan-viet) .page-title .page-title-inner h1.entry-title{
    font-size:16px;
    line-height:19px;
    margin-bottom:8px;
  }
}

/* BEGIN VietnamElite Accessibility & UX v11 */
:root {
  --ve-gold-text: #7a5515;
}

.home .rt-reading-time {
  display: none !important;
}

.post-views .post-views-icon.dashicons {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--ve-cobalt) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #fff;
}

body.vedna-editorial .page-title.blog-featured-title .entry-meta,
body.vedna-editorial .page-title.blog-featured-title .entry-meta a,
body.vedna-editorial .page-title.blog-featured-title .entry-meta span,
body.vedna-editorial .page-title.blog-featured-title .entry-meta time {
  color: #52606d !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.home .vedna-section:not(.vedna-section-dark) .vedna-eyebrow {
  color: var(--ve-gold-text) !important;
}

body.home .vedna-section:not(.vedna-section-dark) .vedna-investment .vedna-eyebrow {
  color: #d8c7a4 !important;
}

body.home .vedna-output-no {
  color: var(--ve-gold-text) !important;
}

body.home .vedna-final .vedna-eyebrow {
  color: #fff1d6 !important;
}

body .vedna-home p:not(.vedna-eyebrow):not(.vedna-offer-label):not(.vedna-price):not(.vedna-note),
body .vedna-about p:not(.vedna-eyebrow):not(.vedna-note) {
  max-width: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
/* END VietnamElite Accessibility & UX v11 */
