/*
Theme Name: Bản Đồ Nội Tâm
Theme URI: https://bandonoitam.com/
Author: Bản Đồ Nội Tâm
Description: Theme WordPress sạch, sáng, ấm áp dành cho website Bản Đồ Nội Tâm và tích hợp Assessment Hub.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: ban-do-noi-tam
*/

:root{
  --bdnt-ink:#0d2d4f;
  --bdnt-ink-soft:#41566d;
  --bdnt-teal:#0f9a9a;
  --bdnt-teal-dark:#08797d;
  --bdnt-mint:#dff4e8;
  --bdnt-sage:#e9f1df;
  --bdnt-cream:#fbf7ef;
  --bdnt-sand:#f1e8d7;
  --bdnt-white:#fffdf9;
  --bdnt-line:#e8e4dc;
  --bdnt-shadow:0 12px 34px rgba(24,57,74,.08);
  --bdnt-radius:22px;
  --bdnt-max:1180px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;background:var(--bdnt-cream);color:var(--bdnt-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.6} a{color:inherit;text-decoration:none} img{max-width:100%;height:auto} .bdnt-container{width:min(var(--bdnt-max),calc(100% - 40px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,253,249,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(232,228,220,.9)} .site-header__inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;gap:12px;min-width:max-content}.brand-mark{width:42px;height:42px;border:2px solid var(--bdnt-teal);border-radius:14px;display:grid;place-items:center;color:var(--bdnt-teal);font-weight:800}.brand-text strong{display:block;font-size:17px;letter-spacing:.06em}.brand-text span{display:block;font-size:11px;color:#678;line-height:1.2}.site-nav{display:flex;align-items:center;gap:26px;font-size:14px}.site-nav a{padding:26px 0 22px;border-bottom:2px solid transparent}.site-nav a:hover,.site-nav .current-menu-item>a{color:var(--bdnt-teal-dark);border-color:var(--bdnt-teal)}.header-cta{display:inline-flex;align-items:center;justify-content:center;padding:12px 22px;border-radius:999px;background:linear-gradient(135deg,var(--bdnt-teal),#31b3a7);color:#fff;font-weight:700;box-shadow:0 8px 24px rgba(15,154,154,.20)}.nav-toggle{display:none;border:0;background:transparent;font-size:26px;color:var(--bdnt-ink)}
.hero{position:relative;overflow:hidden;padding:70px 0 60px;background:radial-gradient(circle at 72% 24%,rgba(240,225,194,.72),transparent 24%),linear-gradient(180deg,#fffdf9 0%,#fbf7ef 68%,#f5efe4 100%)}.hero:before,.hero:after{content:"";position:absolute;left:-6%;right:-6%;height:220px;bottom:-95px;background:radial-gradient(ellipse at 20% 50%,rgba(124,164,145,.20),transparent 35%),radial-gradient(ellipse at 55% 48%,rgba(105,164,168,.15),transparent 32%),radial-gradient(ellipse at 86% 62%,rgba(213,177,111,.20),transparent 24%);border-radius:50%}.hero__grid{position:relative;z-index:2;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:54px}.eyebrow{font-size:12px;letter-spacing:.28em;text-transform:uppercase;color:#5d7185;font-weight:700}.hero h1{font-size:clamp(46px,5vw,76px);line-height:1.02;margin:12px 0 18px;letter-spacing:-.04em}.hero h1 span{display:block;color:var(--bdnt-teal)}.hero p{font-size:18px;color:var(--bdnt-ink-soft);max-width:640px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;border-radius:14px;font-weight:700;border:1px solid transparent}.btn-primary{color:#fff;background:linear-gradient(135deg,var(--bdnt-teal),#29a8a2);box-shadow:0 10px 26px rgba(15,154,154,.20)}.btn-secondary{background:rgba(255,255,255,.72);border-color:#58aaa8;color:var(--bdnt-teal-dark)}.hero-quote{margin-top:18px;font-size:14px;color:#6a7480;font-style:italic}.radar-card{position:relative;padding:34px;min-height:420px;display:grid;place-items:center}.radar-orbit{width:min(390px,90%);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.78) 0 34%,rgba(242,233,211,.45) 35% 55%,rgba(224,240,230,.42) 56% 72%,rgba(255,255,255,0) 73%);display:grid;place-items:center}.radar-svg{width:82%;filter:drop-shadow(0 10px 24px rgba(30,88,91,.10))}.script-note{position:absolute;right:0;top:18px;max-width:160px;color:#90795e;font-family:Georgia,serif;font-style:italic;font-size:18px;transform:rotate(-3deg)}
.section{padding:72px 0}.section--white{background:var(--bdnt-white)}.section--soft{background:linear-gradient(180deg,#f9f7f0,#f0f4eb)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:26px}.section-head h2{font-size:34px;letter-spacing:-.03em;margin:0}.section-head p{margin:4px 0 0;color:#6a7784}.link-arrow{color:var(--bdnt-teal-dark);font-weight:700;font-size:14px}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.feature-card{background:#fff;border:1px solid var(--bdnt-line);border-radius:18px;padding:22px;box-shadow:0 6px 18px rgba(27,56,72,.04);transition:.2s}.feature-card:hover{transform:translateY(-3px);box-shadow:var(--bdnt-shadow)}.feature-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#e8f6ed,#f6ead8);color:var(--bdnt-teal-dark);font-size:23px}.feature-card h3{font-size:20px;margin:14px 0 6px}.feature-card p{font-size:14px;color:#627182;margin:0}.feature-meta{display:flex;gap:14px;margin-top:16px;color:#66798b;font-size:13px}.journey-grid{display:grid;grid-template-columns:1.15fr repeat(4,1fr);gap:0;align-items:stretch}.journey-lead{padding:16px 28px 16px 0}.journey-lead h2{font-size:34px;line-height:1.1;margin:8px 0}.journey-item{padding:18px 24px;border-left:1px solid #dce4df}.journey-item .feature-icon{width:42px;height:42px}.journey-item h3{margin:12px 0 6px;font-size:17px}.journey-item p{margin:0;color:#64727f;font-size:13px}.method-grid{display:grid;grid-template-columns:1fr .9fr .62fr;gap:28px;align-items:center}.method-copy h2{font-size:34px;margin:8px 0 14px}.method-copy p{color:#60707f}.venn{min-height:220px;border-radius:28px;background:linear-gradient(135deg,#f8eddc,#edf5e9);display:flex;align-items:center;justify-content:center;gap:-30px;padding:25px}.venn-circle{width:150px;height:150px;border-radius:50%;display:grid;place-items:center;text-align:center;padding:18px;background:rgba(189,229,221,.62);margin:-10px}.venn-circle:nth-child(2){background:rgba(224,235,198,.70)}.method-quote{font-family:Georgia,serif;font-style:italic;color:#607777;font-size:18px}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.post-card{background:#fff;border:1px solid var(--bdnt-line);border-radius:18px;overflow:hidden}.post-thumb{height:170px;background:linear-gradient(135deg,#e7eee6,#f2e7d4);display:grid;place-items:center;color:#78938a;font-size:48px}.post-body{padding:18px}.post-card h3{font-size:18px;margin:0 0 8px}.post-card p{font-size:14px;color:#64727f;margin:0}.post-meta{font-size:12px;color:#788795;margin-top:14px}.cta-band{margin:18px auto 70px;width:min(1280px,calc(100% - 40px));padding:28px 34px;border-radius:28px;background:linear-gradient(90deg,#eef3e6,#faf3e7,#eff6ef);display:flex;align-items:center;justify-content:space-between;gap:30px;box-shadow:0 10px 28px rgba(51,85,65,.06)}.cta-band h3{font-size:24px;margin:0}.cta-band p{margin:2px 0 0;color:#607080}.site-footer{background:#fffdf9;border-top:1px solid var(--bdnt-line);padding:28px 0}.footer-inner{display:grid;grid-template-columns:1fr auto 1fr;gap:25px;align-items:center;font-size:13px;color:#687786}.footer-links{display:flex;gap:18px}.footer-copy{text-align:right}.content-wrap{width:min(920px,calc(100% - 40px));margin:50px auto}.entry-card{background:#fff;padding:34px;border:1px solid var(--bdnt-line);border-radius:var(--bdnt-radius);box-shadow:var(--bdnt-shadow)}.entry-title{font-size:44px;line-height:1.1;margin-top:0}
@media(max-width:980px){.site-nav{display:none}.nav-toggle{display:block}.header-cta{display:none}.hero__grid{grid-template-columns:1fr}.radar-card{min-height:320px}.feature-grid{grid-template-columns:repeat(2,1fr)}.journey-grid{grid-template-columns:1fr 1fr}.journey-item{border-left:0;border-top:1px solid #dce4df}.method-grid{grid-template-columns:1fr}.post-grid{grid-template-columns:1fr}.footer-inner{grid-template-columns:1fr;text-align:center}.footer-copy{text-align:center}.footer-links{justify-content:center}.cta-band{flex-direction:column;align-items:flex-start}}
@media(max-width:620px){.bdnt-container{width:min(100% - 24px,var(--bdnt-max))}.hero{padding-top:44px}.hero h1{font-size:46px}.feature-grid{grid-template-columns:1fr}.journey-grid{grid-template-columns:1fr}.section{padding:52px 0}.section-head{align-items:flex-start;flex-direction:column}.site-header__inner{height:66px}.brand-text span{display:none}.radar-card{padding:0}.cta-band{width:calc(100% - 24px)}}


/* v1.1 content system */
.bdnt-app-page{width:100%;margin:0;padding:1px 0 50px;background:var(--bdnt-cream)}
.bdnt-page-hero{padding:64px 0 48px;background:radial-gradient(circle at 82% 20%,rgba(235,224,196,.72),transparent 26%),linear-gradient(180deg,#fffdf9,#f5f0e6);border-bottom:1px solid var(--bdnt-line)}
.bdnt-page-hero h1{font-size:clamp(42px,5vw,66px);line-height:1.05;letter-spacing:-.04em;margin:8px 0 12px}.bdnt-page-hero p{font-size:18px;color:var(--bdnt-ink-soft);max-width:700px;margin:0}
.content-wrap--wide{width:min(1080px,calc(100% - 40px));margin:42px auto 70px}.entry-card--page{padding:42px}
.bdnt-prose{font-size:17px;color:#465b6d}.bdnt-prose h2{font-size:30px;line-height:1.15;color:var(--bdnt-ink);margin:34px 0 12px}.bdnt-prose h3{color:var(--bdnt-ink)}.bdnt-prose p{margin:0 0 18px}.bdnt-lead{font-size:21px;line-height:1.55;color:#304e63}.bdnt-note{margin:28px 0;padding:18px 20px;border-radius:16px;background:linear-gradient(135deg,#eef6ed,#faf2e4);border:1px solid #e5e7dc;color:#526a6b}.bdnt-quote{padding:30px;border-radius:20px;background:linear-gradient(135deg,#f5f0e5,#edf5ec);font-family:Georgia,serif;font-style:italic;font-size:24px;color:#527071;text-align:center}.bdnt-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:26px 0}.bdnt-info-card{border:1px solid var(--bdnt-line);background:#fffdf9;border-radius:18px;padding:22px;box-shadow:0 8px 22px rgba(35,64,76,.04)}.bdnt-info-card h3{margin:6px 0 8px;font-size:20px}.bdnt-info-card p{margin:0;color:#607080}.bdnt-tag{display:inline-flex;padding:5px 10px;border-radius:999px;background:#e3f4e6;color:#247862;font-size:12px;font-weight:800}.bdnt-faq details{border:1px solid var(--bdnt-line);border-radius:16px;padding:17px 20px;margin:12px 0;background:#fff}.bdnt-faq summary{cursor:pointer;font-weight:800;color:var(--bdnt-ink)}.bdnt-faq details p{margin:12px 0 0}
@media(max-width:760px){.bdnt-card-grid{grid-template-columns:1fr}.entry-card--page{padding:24px}.content-wrap--wide{width:calc(100% - 24px)}.bdnt-page-hero{padding:44px 0 34px}}

/* =========================================================
   Kaizen v1.4 - Knowledge News Layout
   ========================================================= */
.news-page{background:#fffdf9}.news-hero{padding:52px 0 34px;background:radial-gradient(circle at 85% 20%,rgba(228,236,216,.72),transparent 26%),linear-gradient(180deg,#fffdf9,#f7f1e8);border-bottom:1px solid var(--bdnt-line)}.news-hero--compact{padding:42px 0 28px}.news-hero__inner{display:flex;align-items:end;justify-content:space-between;gap:30px}.news-hero h1{font-size:clamp(42px,5vw,64px);line-height:1;margin:8px 0 12px;letter-spacing:-.04em}.news-hero p{max-width:780px;color:#607080;font-size:17px;margin:0}.news-catbar{position:sticky;top:76px;z-index:20;background:rgba(255,253,249,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--bdnt-line)}.news-catbar__inner{display:flex;gap:6px;overflow:auto;padding:0 0}.news-catbar a{white-space:nowrap;padding:15px 17px;border-bottom:3px solid transparent;color:#344d5e;font-weight:700;font-size:14px}.news-catbar a:hover,.news-catbar a.is-active{color:var(--bdnt-teal-dark);border-color:var(--bdnt-teal);background:#f4f8f3}.news-wrap{padding:34px 0 74px}.news-feature{display:grid;grid-template-columns:1.25fr .92fr;gap:24px;padding-bottom:30px;border-bottom:1px solid #dfe6e1}.news-lead{border-right:1px solid #dfe6e1;padding-right:24px}.news-lead>a{display:block;border-radius:18px;overflow:hidden}.news-lead img{width:100%;aspect-ratio:16/9;object-fit:cover;transition:.25s}.news-lead a:hover img{transform:scale(1.015)}.news-lead__body{padding-top:16px}.news-kicker{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--bdnt-teal-dark);margin-bottom:7px}.news-lead h2{font-size:31px;line-height:1.15;margin:0 0 10px}.news-lead p{color:#607080;margin:0 0 12px;font-size:15px}.news-meta{font-size:12px;color:#7c8a94}.news-toplist{padding-left:0}.news-block-title,.news-section-heading{display:flex;align-items:center;gap:14px;margin-bottom:14px}.news-block-title{justify-content:space-between;border-bottom:2px solid var(--bdnt-ink);padding-bottom:9px}.news-block-title h3,.news-section-heading h2{margin:0;font-size:20px}.news-block-title span{font-size:12px;color:#71808b}.news-topitem{display:grid;grid-template-columns:135px 1fr;gap:14px;padding:13px 0;border-bottom:1px solid #e6ebe7}.news-topitem img{width:135px;height:82px;object-fit:cover;border-radius:10px}.news-topitem h4{font-size:16px;line-height:1.25;margin:0 0 8px}.news-topitem span{font-size:11px;color:#7b8791}.news-more,.news-category-section{padding:34px 0}.news-section-heading span{height:2px;background:linear-gradient(90deg,var(--bdnt-teal),#dfe6e1);flex:1}.news-section-heading a{font-size:13px;font-weight:800;color:var(--bdnt-teal-dark)}.news-more-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.news-mini{display:grid;grid-template-columns:150px 1fr;gap:14px;border:1px solid var(--bdnt-line);border-radius:16px;padding:12px;background:#fff}.news-mini img{width:150px;height:105px;object-fit:cover;border-radius:11px}.news-mini h3{font-size:16px;line-height:1.25;margin:0 0 7px}.news-mini p{font-size:13px;color:#6a7784;margin:0}.news-category-section{border-top:1px solid #e2e7e3}.news-category-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:24px}.news-category-lead{padding-right:24px;border-right:1px solid #e0e6e1}.news-category-lead img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:16px}.news-category-lead h3{font-size:25px;line-height:1.18;margin:12px 0 8px}.news-category-lead p{font-size:14px;color:#617080;margin:0 0 10px}.news-category-list article{display:grid;grid-template-columns:140px 1fr;gap:14px;padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid #e4e9e5}.news-category-list img{width:140px;height:88px;object-fit:cover;border-radius:10px}.news-category-list h4{font-size:16px;line-height:1.25;margin:0 0 6px}.news-category-list p{font-size:12px;color:#6f7d87;margin:0 0 5px}.news-category-list span{font-size:11px;color:#89939b}.news-test-cta{margin-top:34px;border-radius:26px;padding:30px 34px;background:linear-gradient(100deg,#edf4e8,#faf1e4,#eef5ef);display:flex;justify-content:space-between;gap:30px;align-items:center;border:1px solid #e1e7dd}.news-test-cta h2{font-size:30px;margin:6px 0 6px}.news-test-cta p{max-width:760px;color:#607080;margin:0}.news-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.news-archive-card{border:1px solid var(--bdnt-line);background:#fff;border-radius:18px;overflow:hidden;padding-bottom:18px}.news-archive-card>a{display:block}.news-archive-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.news-archive-card .news-kicker,.news-archive-card h2,.news-archive-card p,.news-archive-card .news-meta{margin-left:18px;margin-right:18px}.news-archive-card .news-kicker{margin-top:15px}.news-archive-card h2{font-size:20px;line-height:1.25;margin-top:0;margin-bottom:9px}.news-archive-card p{font-size:14px;color:#687784}.article-page{background:#fffdf9;padding:42px 0 72px}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:42px;align-items:start}.article-main{max-width:850px}.article-breadcrumb{font-size:12px;color:#768590;margin-bottom:14px}.article-breadcrumb a{color:var(--bdnt-teal-dark)}.article-main h1{font-size:clamp(42px,5vw,62px);line-height:1.06;letter-spacing:-.035em;margin:0 0 14px}.article-deck{font-size:20px;line-height:1.55;color:#526878;margin:0 0 14px}.article-meta{font-size:12px;color:#7a8791;margin-bottom:24px}.article-hero-image{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:20px;margin-bottom:26px}.article-content{font-size:18px;line-height:1.78;color:#30495a}.article-content h2{font-size:29px;line-height:1.2;margin:38px 0 14px}.article-content h3{font-size:23px;margin:30px 0 12px}.article-content p{margin:0 0 20px}.article-sidebar{position:sticky;top:112px}.article-side-card{background:#fff;border:1px solid var(--bdnt-line);border-radius:18px;padding:20px;margin-bottom:18px}.article-side-card h3{font-size:19px;margin:5px 0 9px}.article-side-card p{font-size:14px;color:#657482}.article-side-test{background:linear-gradient(150deg,#eef6ec,#fff8eb)}.article-side-test .btn{width:100%;margin-top:8px}.side-story{display:grid;grid-template-columns:78px 1fr;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #e7ece8;font-size:13px;font-weight:700;line-height:1.25}.side-story:last-child{border-bottom:0}.side-story img{width:78px;height:56px;object-fit:cover;border-radius:8px}.article-bottom-cta{margin-top:42px;padding:28px;border-radius:20px;background:linear-gradient(110deg,#eef5e9,#faf1e5);border:1px solid #e3e7dd}.article-bottom-cta h3{font-size:24px;margin:0 0 6px}.article-bottom-cta p{color:#64727e;margin:0 0 14px}
@media(max-width:1050px){.news-feature,.news-category-grid,.article-layout{grid-template-columns:1fr}.news-lead,.news-category-lead{border-right:0;padding-right:0}.article-sidebar{position:static}.news-more-grid{grid-template-columns:1fr 1fr}.news-catbar{top:66px}}
@media(max-width:720px){.news-hero__inner{display:block}.news-hero__inner .btn{margin-top:20px}.news-more-grid,.news-archive-grid{grid-template-columns:1fr}.news-mini{grid-template-columns:115px 1fr}.news-mini img{width:115px;height:90px}.news-topitem{grid-template-columns:110px 1fr}.news-topitem img{width:110px;height:72px}.news-category-list article{grid-template-columns:105px 1fr}.news-category-list img{width:105px;height:75px}.news-test-cta{display:block}.news-test-cta .btn{margin-top:18px}.article-main h1{font-size:40px}.article-deck{font-size:18px}}


/* =========================================================
   v1.5 — Knowledge News Hub desktop/full-width stabilization
   Fixes: narrow centered rendering, wrapped desktop header,
   and makes /kien-thuc/ behave like a real news portal.
   ========================================================= */
@media (min-width: 1101px){
  :root{--bdnt-max:1360px}
  .site-header{width:100%;max-width:none}
  .site-header .bdnt-container,
  .news-page .bdnt-container,
  .article-page .bdnt-container{
    width:calc(100vw - 64px) !important;
    max-width:1360px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .site-header__inner{gap:22px}
  .site-nav{flex:1;justify-content:center;gap:22px;min-width:0}
  .site-nav a{white-space:nowrap}
  .header-cta{white-space:nowrap;flex:0 0 auto}

  /* Force the knowledge hub out of any accidental content wrapper. */
  .news-page{
    position:relative;
    width:100vw !important;
    max-width:none !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    overflow-x:clip;
  }
  .news-hero{padding:38px 0 28px}
  .news-hero h1{font-size:clamp(42px,4.2vw,58px);max-width:820px}
  .news-hero p{max-width:900px}
  .news-hero__inner{align-items:center}
  .news-catbar__inner{overflow:visible;flex-wrap:nowrap}
  .news-catbar a{padding:14px 18px}
  .news-wrap{padding-top:28px}
  .news-feature{grid-template-columns:minmax(0,1.42fr) minmax(360px,.88fr);gap:32px}
  .news-lead{padding-right:30px}
  .news-lead h2{font-size:34px}
  .news-topitem{grid-template-columns:150px 1fr;gap:16px}
  .news-topitem img{width:150px;height:92px}
  .news-more-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .news-category-grid{grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);gap:30px}
  .news-archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (min-width: 1500px){
  :root{--bdnt-max:1440px}
  .site-header .bdnt-container,
  .news-page .bdnt-container,
  .article-page .bdnt-container{max-width:1440px !important}
}

@media (min-width: 721px) and (max-width:1100px){
  .news-page{width:100%;max-width:none}
  .news-page .bdnt-container{width:calc(100% - 40px);max-width:980px}
  .news-feature{grid-template-columns:1.15fr .85fr}
  .news-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Safer overflow behavior for long Vietnamese menu/category labels. */
.site-header__inner,.news-hero__inner,.news-feature,.news-category-grid{min-width:0}
.news-lead,.news-toplist,.news-category-lead,.news-category-list{min-width:0}
.news-block-title h3,.news-section-heading h2{word-break:normal;overflow-wrap:anywhere}


/* =========================================================
   v1.6 — Knowledge News Hub Pro
   Full-width newsroom header, denser editorial rhythm,
   stronger featured-story hierarchy and category sections.
   ========================================================= */

/* Global desktop header stabilization */
@media (min-width:1101px){
  .site-header{
    position:sticky!important;
    left:0!important; right:0!important;
    width:100vw!important;
    max-width:none!important;
    margin:0!important;
  }
  .site-header .site-header__inner{
    width:calc(100vw - 56px)!important;
    max-width:1440px!important;
    margin:0 auto!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:max-content minmax(0,1fr) max-content!important;
    align-items:center!important;
    gap:30px!important;
  }
  .site-header .brand{min-width:250px}
  .site-header .site-nav{
    min-width:0!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:18px!important;
    overflow:visible!important;
  }
  .site-header .site-nav li{list-style:none;margin:0;padding:0}
  .site-header .site-nav a{font-size:13px!important;white-space:nowrap!important}
  .site-header .header-cta{font-size:14px;padding:11px 20px;white-space:nowrap}
}

/* Knowledge hero: compact editorial masthead */
.news-hero{
  background:
    radial-gradient(circle at 82% 34%,rgba(223,241,228,.78),transparent 26%),
    linear-gradient(180deg,#fffdfa 0%,#faf5ec 100%);
}
.news-hero__inner{position:relative}
.news-hero-copy{max-width:900px}
@media (min-width:1101px){
  .news-hero{padding:30px 0 24px!important}
  .news-hero__inner{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:36px!important;align-items:center!important}
  .news-hero h1{font-size:50px!important;line-height:1.02!important;margin:7px 0 9px!important;letter-spacing:-.035em!important}
  .news-hero p{font-size:15px!important;line-height:1.65!important;max-width:900px!important}
  .news-hero .btn{padding:13px 20px!important;white-space:nowrap}
}

/* Category nav: newspaper-style strip */
.news-catbar{box-shadow:0 5px 16px rgba(32,58,67,.025)}
.news-catbar__inner{min-height:52px;align-items:center}
@media (min-width:1101px){
  .news-catbar a{padding:15px 20px!important;font-size:13px!important}
}

/* Editorial content container */
.news-wrap{background:#fffdf9}
@media (min-width:1101px){
  .news-wrap{padding-top:26px!important;padding-bottom:82px!important}
  .news-feature{
    display:grid!important;
    grid-template-columns:minmax(0,1.32fr) minmax(390px,.92fr)!important;
    gap:30px!important;
    padding-bottom:34px!important;
  }
  .news-lead{padding-right:30px!important}
  .news-lead>a{border-radius:14px!important}
  .news-lead img{aspect-ratio:16/8.8!important}
  .news-lead__body{padding-top:14px!important}
  .news-lead h2{font-size:32px!important;line-height:1.12!important;margin-bottom:8px!important}
  .news-lead p{font-size:14px!important;line-height:1.55!important}
  .news-topitem{grid-template-columns:148px 1fr!important;gap:15px!important;padding:11px 0!important}
  .news-topitem img{width:148px!important;height:88px!important;border-radius:8px!important}
  .news-topitem h4{font-size:15px!important;line-height:1.24!important;margin-bottom:6px!important}
}

/* News blocks */
.news-section-heading{margin-bottom:16px!important}
.news-section-heading h2{font-size:23px!important;letter-spacing:-.015em}
.news-more{padding:30px 0 36px!important}
.news-more-grid{gap:16px!important}
.news-mini{border-radius:13px!important;padding:10px!important;box-shadow:0 5px 18px rgba(25,62,70,.035)}
.news-mini img{border-radius:9px!important}
.news-mini h3{font-size:15px!important}

@media (min-width:1101px){
  .news-more-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .news-mini{grid-template-columns:142px minmax(0,1fr)!important;gap:12px!important}
  .news-mini img{width:142px!important;height:98px!important}
}

/* Category sections like a real newspaper desk */
.news-category-section{padding:32px 0 36px!important}
@media (min-width:1101px){
  .news-category-grid{grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr)!important;gap:30px!important}
  .news-category-lead{padding-right:30px!important}
  .news-category-lead img{aspect-ratio:16/8.8!important;border-radius:13px!important}
  .news-category-lead h3{font-size:24px!important;margin:10px 0 7px!important}
  .news-category-list article{grid-template-columns:132px minmax(0,1fr)!important;gap:13px!important;margin-bottom:11px!important;padding-bottom:11px!important}
  .news-category-list img{width:132px!important;height:80px!important;border-radius:8px!important}
  .news-category-list h4{font-size:15px!important}
}

/* CTA is editorial and compact, not landing-page heavy */
.news-test-cta{border-radius:18px!important;padding:24px 28px!important;margin-top:24px!important}
.news-test-cta h2{font-size:26px!important}
.news-test-cta p{font-size:14px!important}

/* Improve desktop white-space usage */
@media (min-width:1500px){
  .site-header .site-header__inner,
  .news-page .bdnt-container,
  .article-page .bdnt-container{max-width:1460px!important}
  .news-page .bdnt-container{width:calc(100vw - 72px)!important}
}

/* Tablet and mobile safety */
@media (max-width:1100px){
  .site-header__inner{display:flex!important}
  .news-hero-copy{max-width:none}
}
@media (max-width:720px){
  .news-hero{padding:28px 0 22px!important}
  .news-hero h1{font-size:38px!important}
  .news-catbar__inner{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  .news-feature{gap:18px!important}
}


/* =========================================================
   v1.7 — Header Stability & Cache Busting
   Fixes stale CSS cache, constrained header shell, list bullets,
   horizontal overflow and knowledge-page nested main markup.
   ========================================================= */
.site-header{
  position:sticky!important;
  top:0!important;
  z-index:1000!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:rgba(255,253,249,.97)!important;
  border-bottom:1px solid rgba(232,228,220,.95)!important;
  overflow:visible!important;
}
.header-shell{
  width:min(1440px,calc(100% - 48px))!important;
  max-width:1440px!important;
  margin:0 auto!important;
  padding:0!important;
}
.site-header__inner{
  min-height:76px!important;
  height:auto!important;
  display:grid!important;
  grid-template-columns:minmax(250px,max-content) minmax(0,1fr) max-content!important;
  align-items:center!important;
  gap:28px!important;
}
.site-header .brand{
  min-width:0!important;
  white-space:nowrap!important;
}
.site-header .site-nav,
.site-header ul.site-nav{
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:22px!important;
  overflow:visible!important;
}
.site-header .site-nav li{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  list-style-type:none!important;
  flex:0 0 auto!important;
}
.site-header .site-nav li::marker{content:""!important;font-size:0!important}
.site-header .site-nav a{
  display:block!important;
  padding:27px 0 23px!important;
  white-space:nowrap!important;
  font-size:13px!important;
  line-height:1.2!important;
}
.site-header .header-cta{
  flex:0 0 auto!important;
  white-space:nowrap!important;
  padding:12px 22px!important;
}
.news-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  overflow-x:clip!important;
}
.news-page .bdnt-container,
.article-page .bdnt-container{
  width:min(1440px,calc(100% - 48px))!important;
  max-width:1440px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media (max-width:1180px){
  .header-shell{width:calc(100% - 32px)!important}
  .site-header__inner{grid-template-columns:max-content minmax(0,1fr) max-content!important;gap:18px!important}
  .site-header .site-nav{gap:14px!important}
  .site-header .site-nav a{font-size:12px!important}
  .site-header .brand-text span{display:none!important}
}
@media (max-width:980px){
  .header-shell{width:calc(100% - 24px)!important}
  .site-header__inner{display:flex!important;min-height:66px!important;height:66px!important}
  .site-header .site-nav{display:none!important}
  .site-header .header-cta{display:none!important}
  .site-header .nav-toggle{display:block!important;margin-left:auto!important}
}


/* =========================================================
   v1.8 — Desktop Wide News Shell
   Giữ newsroom rộng ở mọi mức zoom desktop, tránh cảm giác
   bị bó giữa màn hình khi trình duyệt dùng zoom/DPI lớn.
   ========================================================= */
@media (min-width:981px){
  .header-shell,
  .news-page .bdnt-container,
  .article-page .bdnt-container{
    width:calc(100% - 32px)!important;
    max-width:1600px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .site-header__inner{
    width:100%!important;
    max-width:none!important;
  }
  .news-hero__inner{width:calc(100% - 32px)!important;max-width:1600px!important}
  .news-catbar__inner{width:calc(100% - 32px)!important;max-width:1600px!important}
  .news-wrap{width:calc(100% - 32px)!important;max-width:1600px!important;margin-left:auto!important;margin-right:auto!important}
}


/* =========================================================
   v1.9 — Full Viewport Hard Reset
   Defensive rules against stale/minified CSS or parent wrappers
   constraining the desktop site to a narrow centered column.
   ========================================================= */
html, body{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
}
body > .site-header,
body > main,
body > .site-footer,
.site-header,
.news-page,
.article-page{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
body > main{display:block !important; overflow:visible !important;}

/* Use viewport math rather than percentage math so no accidental
   ancestor width can constrain the desktop newsroom. */
@media (min-width:981px){
  .site-header{
    position:sticky !important;
    inset-inline:0 !important;
    top:0 !important;
    width:100vw !important;
    max-width:100vw !important;
  }
  .header-shell,
  .site-header .header-shell,
  .site-header__inner{
    width:min(1480px, calc(100vw - 56px)) !important;
    max-width:1480px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .site-header__inner{
    display:grid !important;
    grid-template-columns:minmax(235px,max-content) minmax(0,1fr) max-content !important;
    gap:24px !important;
  }
  .site-header .site-nav,
  .site-header ul.site-nav{
    display:flex !important;
    justify-content:center !important;
    gap:18px !important;
    min-width:0 !important;
    white-space:nowrap !important;
    overflow:visible !important;
  }
  .site-header .site-nav li{display:block !important; list-style:none !important;}
  .site-header .site-nav li::before,
  .site-header .site-nav li::after,
  .site-header .site-nav li::marker{display:none !important; content:none !important;}

  .news-page{
    position:relative !important;
    left:50% !important;
    right:auto !important;
    width:100vw !important;
    max-width:100vw !important;
    margin-left:-50vw !important;
    margin-right:0 !important;
  }
  .news-page .bdnt-container,
  .news-hero .bdnt-container,
  .news-catbar .bdnt-container,
  .news-wrap,
  .article-page .bdnt-container{
    width:min(1480px, calc(100vw - 56px)) !important;
    max-width:1480px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .news-hero__inner,
  .news-catbar__inner{
    width:min(1480px, calc(100vw - 56px)) !important;
    max-width:1480px !important;
  }
}

@media (min-width:1600px){
  .header-shell,
  .site-header .header-shell,
  .site-header__inner,
  .news-page .bdnt-container,
  .news-hero .bdnt-container,
  .news-catbar .bdnt-container,
  .news-wrap,
  .article-page .bdnt-container{
    width:min(1560px, calc(100vw - 72px)) !important;
    max-width:1560px !important;
  }
}

@media (max-width:980px){
  .news-page{left:auto !important;width:100% !important;margin-left:0 !important;}
}

/* =========================================================
   v2.0 — Desktop hover dropdown navigation
   ========================================================= */
@media (min-width:981px){
  .site-header .site-nav{overflow:visible!important}
  .site-header .site-nav>li{position:relative!important}
  .site-header .site-nav li.menu-item-has-children>a{padding-right:17px!important;position:relative}
  .site-header .site-nav li.menu-item-has-children>a:after{content:"⌄";position:absolute;right:0;top:50%;transform:translateY(-54%);font-size:11px;color:#65808a}
  .site-header .site-nav .sub-menu{
    position:absolute!important;left:50%!important;top:calc(100% - 4px)!important;transform:translateX(-50%) translateY(8px)!important;
    min-width:230px!important;display:block!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;
    padding:12px!important;margin:0!important;background:#fffdfa!important;border:1px solid #e8e3d9!important;border-radius:16px!important;
    box-shadow:0 18px 42px rgba(27,52,63,.12)!important;transition:opacity .16s ease,transform .16s ease!important;z-index:9999!important;
  }
  .site-header .site-nav .sub-menu:before{content:"";position:absolute;left:0;right:0;top:-14px;height:16px}
  .site-header .site-nav li:hover>.sub-menu,.site-header .site-nav li:focus-within>.sub-menu{visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:translateX(-50%) translateY(0)!important}
  .site-header .site-nav .sub-menu li{display:block!important;width:100%!important;margin:0!important;padding:0!important}
  .site-header .site-nav .sub-menu a{display:block!important;width:100%!important;padding:11px 13px!important;border:0!important;border-radius:10px!important;font-size:13px!important;line-height:1.35!important;white-space:normal!important;color:#153753!important}
  .site-header .site-nav .sub-menu a:hover{background:#edf7f3!important;color:#078d87!important}
  .site-header .site-nav .sub-menu .sub-menu{left:100%!important;top:0!important;transform:translateX(6px)!important}
  .site-header .site-nav .sub-menu li:hover>.sub-menu{transform:translateX(0)!important}
}
@media (max-width:980px){
  .site-header .site-nav .sub-menu{display:none;margin:8px 0 0;padding:8px 0 0 14px;border-left:2px solid #dceae5}
  .site-header .site-nav li.is-submenu-open>.sub-menu{display:block}
  .site-header .site-nav li.menu-item-has-children>a{padding-right:34px;position:relative}
  .site-header .site-nav li.menu-item-has-children>a:after{content:"+";position:absolute;right:8px;font-weight:800}
  .site-header .site-nav li.is-submenu-open>a:after{content:"−"}
}
