
.txab-box,.txab-box *{box-sizing:border-box}
.txab-box{--p:#0d3b66;--a:#1976d2;--t:#1f2937;--m:#64748b;--b:#e4eaf1;--s:#f5f8fc;margin:34px 0 28px;padding:26px;border:1px solid var(--b);border-radius:18px;background:#fff;color:var(--t);box-shadow:0 14px 38px rgba(24,50,80,.07);font-size:15px;line-height:1.65}
.txab-main{display:grid;grid-template-columns:112px 1fr;gap:24px}
.txab-avatar{width:106px;height:106px;object-fit:cover;border-radius:50%;border:5px solid #fff;box-shadow:0 0 0 1px var(--b),0 10px 24px rgba(13,59,102,.14)}
.txab-top{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.txab-name{font-size:23px;font-weight:800;color:var(--p);line-height:1.2}
.txab-role{margin-top:4px;color:var(--m);font-size:14px}
.txab-verified{padding:6px 10px;border-radius:99px;background:#e8f7ef;color:#0a8c52;font-size:12px;font-weight:700}
.txab-bio{margin-top:13px;color:#374151}.txab-bio p{margin:0 0 8px}
.txab-contact{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:14px}.txab-contact a{color:var(--p);text-decoration:none}
.txab-socials{display:flex;gap:8px;margin-top:14px}.txab-socials a{display:flex;width:36px;height:36px;align-items:center;justify-content:center;border:1px solid var(--b);border-radius:10px;color:var(--p);font-size:12px;font-weight:800;text-decoration:none;transition:.2s}.txab-socials a:hover{transform:translateY(-2px);background:var(--p);color:#fff}
.txab-latest{margin-top:22px;padding-top:18px;border-top:1px solid var(--b)}.txab-latest-title{margin-bottom:10px;font-weight:800;color:var(--p)}
.txab-latest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.txab-latest-grid a{display:flex;min-height:72px;flex-direction:column;justify-content:space-between;padding:12px;border:1px solid var(--b);border-radius:11px;background:var(--s);color:var(--t);text-decoration:none}.txab-latest-grid span{font-size:13px;font-weight:700}.txab-latest-grid small{margin-top:7px;color:var(--m)}
.txab-style-minimal{border-left:4px solid var(--p);border-radius:8px;box-shadow:none}.txab-style-classic{border-radius:6px;background:#fafafa;box-shadow:none}
.txab-style-dark{--t:#e5eef7;--m:#9fb3c8;--b:#29445e;--s:#102d49;--p:#fff;background:#08233d;color:#e5eef7}.txab-style-dark .txab-bio{color:#d8e4ef}.txab-style-dark .txab-latest-grid a{color:#e5eef7}
@media(max-width:760px){.txab-main{grid-template-columns:1fr;text-align:center}.txab-avatar{margin:auto}.txab-top,.txab-contact,.txab-socials{justify-content:center}.txab-latest-grid{grid-template-columns:1fr}}
@media(max-width:600px){.txab-hide-mobile{display:none!important}.txab-box{padding:18px}.txab-name{font-size:20px}.txab-avatar{width:94px;height:94px}}

/* v1.0.1 - Ẩn các hộp tác giả cũ phổ biến khi TX Author Box đang bật.
   Các selector được giới hạn trong vùng nội dung để không ảnh hưởng menu tài khoản/admin bar. */
body.txab-hide-legacy-author .entry-content + .author-box,
body.txab-hide-legacy-author .entry-content + .author-bio,
body.txab-hide-legacy-author .entry-content + .post-author-box,
body.txab-hide-legacy-author .entry-content ~ .author-box:not(.txab-box),
body.txab-hide-legacy-author .entry-content ~ .author-bio:not(.txab-box),
body.txab-hide-legacy-author .entry-content ~ .post-author-box:not(.txab-box),
body.txab-hide-legacy-author .single-post .author-box:not(.txab-box),
body.txab-hide-legacy-author .single-post .author-bio:not(.txab-box),
body.txab-hide-legacy-author .single-post .post-author-box:not(.txab-box),
body.txab-hide-legacy-author .article-inner > .author-box:not(.txab-box),
body.txab-hide-legacy-author .article-inner > .author-bio:not(.txab-box),
body.txab-hide-legacy-author .article-inner > .post-author-box:not(.txab-box),
body.txab-hide-legacy-author .entry-author:not(.txab-box),
body.txab-hide-legacy-author .blog-author-box:not(.txab-box),
body.txab-hide-legacy-author #author-box:not(.txab-box),
body.txab-hide-legacy-author .author-profile-card:not(.txab-box){
    display:none!important;
}

/* v1.1.0 */
.txab-avatar-wrap a{display:inline-block;border-radius:50%}
.txab-avatar-wrap a:hover .txab-avatar{transform:scale(1.03)}
.txab-avatar{transition:.2s ease}
.txab-verified{gap:6px}
.txab-verified i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#17a765;box-shadow:0 0 0 3px rgba(23,167,101,.12)}
.txab-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.txab-stats>div{min-width:92px;padding:8px 11px;border:1px solid var(--b);border-radius:10px;background:var(--s)}
.txab-stats strong{display:block;color:var(--p);font-size:16px;line-height:1.2}
.txab-stats span{display:block;margin-top:2px;color:var(--m);font-size:11px}
.txab-actions-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:14px}
.txab-actions-row .txab-socials{margin-top:0}
.txab-cta{display:flex;gap:8px;flex-wrap:wrap}
.txab-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 13px;border-radius:9px;font-size:12px;font-weight:800;text-decoration:none!important;transition:.2s ease}
.txab-btn:hover{transform:translateY(-2px)}
.txab-btn-primary{background:var(--p);color:#fff!important}
.txab-btn-secondary{border:1px solid var(--b);background:#fff;color:var(--p)!important}
.txab-style-dark .txab-btn-secondary{background:#102d49;color:#fff!important}
@media(max-width:760px){
.txab-actions-row{justify-content:center}
.txab-stats{justify-content:center}
.txab-cta{justify-content:center}
}

/* v1.2.0 - Mobile bio collapse */
.txab-bio-toggle{display:none}
@media(max-width:600px){
  .txab-collapse-bio-mobile .txab-bio-wrap{position:relative}
  .txab-collapse-bio-mobile .txab-bio{max-height:7.2em;overflow:hidden;transition:max-height .25s ease}
  .txab-collapse-bio-mobile .txab-bio-wrap:after{content:"";position:absolute;left:0;right:0;bottom:32px;height:34px;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff);pointer-events:none}
  .txab-collapse-bio-mobile.txab-style-dark .txab-bio-wrap:after{background:linear-gradient(to bottom,rgba(8,35,61,0),#08233d)}
  .txab-collapse-bio-mobile .txab-bio-toggle{display:inline-flex;margin:5px auto 0;padding:4px 10px;border:0;background:transparent;color:var(--p);font-size:12px;font-weight:800;cursor:pointer}
  .txab-collapse-bio-mobile.txab-bio-open .txab-bio{max-height:1000px}
  .txab-collapse-bio-mobile.txab-bio-open .txab-bio-wrap:after{display:none}
}
.txab-license-required{padding:12px;border:1px solid #f1c27d;border-radius:8px;background:#fff8e8;color:#7a4d00}

/* ========================================================
   TX Author Box v2.0 — Author Profile System
   ======================================================== */
.txab-v2{overflow:hidden}
.txab-v2 .txab-main{grid-template-columns:124px 1fr}
.txab-avatar-column{display:flex;flex-direction:column;align-items:center;gap:13px}
.txab-avatar-wrap{position:relative}
.txab-avatar-check{position:absolute;right:2px;bottom:5px;display:flex;width:25px;height:25px;align-items:center;justify-content:center;border:3px solid #fff;border-radius:50%;background:#18a766;color:#fff;font-size:13px;font-weight:900;box-shadow:0 5px 12px rgba(18,125,78,.25)}
.txab-trust-card{display:flex;flex-direction:column;align-items:center;gap:5px}
.txab-trust-ring{--txab-score:90;display:flex;width:58px;height:58px;align-items:center;justify-content:center;border-radius:50%;background:conic-gradient(#18a766 calc(var(--txab-score)*1%),#e5ecf2 0);position:relative}
.txab-trust-ring:before{content:"";position:absolute;inset:5px;border-radius:50%;background:#fff}
.txab-trust-ring strong{position:relative;z-index:1;color:var(--p);font-size:15px}
.txab-trust-card>span{color:var(--m);font-size:10px;font-weight:700}
.txab-expertise{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}
.txab-expertise-group{padding:12px;border:1px solid var(--b);border-radius:12px;background:var(--s)}
.txab-mini-title{margin-bottom:8px;color:var(--p);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.35px}
.txab-tags{display:flex;flex-wrap:wrap;gap:6px}
.txab-tags span{padding:5px 8px;border-radius:999px;background:#e8f2fc;color:#0d5d9f;font-size:11px;font-weight:700}
.txab-credentials{margin:0;padding-left:17px;color:var(--t);font-size:12px}
.txab-credentials li+li{margin-top:4px}
.txab-updated{margin-top:12px;padding:8px 10px;border-left:3px solid var(--a);border-radius:6px;background:#f2f7fc;color:var(--m);font-size:11px}
.txab-updated strong{color:var(--p)}
.txab-btn-profile{border:1px solid #bcd1e6;background:#edf5fd;color:#0b4f86!important}
.txab-latest-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}
.txab-latest-head .txab-latest-title{margin:0}
.txab-latest-head>a{color:var(--a);font-size:12px;font-weight:700;text-decoration:none}
.txab-style-dark .txab-trust-ring:before{background:#08233d}
.txab-style-dark .txab-tags span{background:#173e62;color:#dceeff}
.txab-style-dark .txab-updated{background:#102d49}
.txab-style-dark .txab-btn-profile{border-color:#355a7c;background:#102d49;color:#fff!important}
@media(max-width:900px){
  .txab-expertise{grid-template-columns:1fr}
}
@media(max-width:760px){
  .txab-v2 .txab-main{grid-template-columns:1fr}
  .txab-avatar-column{justify-content:center}
}
@media(max-width:600px){
  .txab-v2 .txab-name{font-size:21px}
  .txab-v2 .txab-role{font-size:13px}
  .txab-v2 .txab-trust-card{display:none}
  .txab-v2 .txab-expertise{margin-top:12px}
  .txab-v2 .txab-expertise-group{padding:10px}
  .txab-v2 .txab-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .txab-v2 .txab-stats>div{min-width:0}
  .txab-v2 .txab-cta{width:100%}
  .txab-v2 .txab-btn{flex:1}
  .txab-v2 .txab-latest-head{align-items:flex-start}
}

/* ========================================================
   TX Author Box v2.1 — Author Landing Page
   ======================================================== */
.txab-author-page{--txap-primary:#0d3b66;--txap-blue:#1976d2;--txap-accent:#ff9800;--txap-text:#16263a;--txap-muted:#68788d;--txap-border:#dfe8f1;--txap-soft:#f4f8fc;background:#eef3f8;color:var(--txap-text);padding:34px 16px 54px}
.txab-author-shell{width:min(1160px,100%);margin:0 auto}
.txab-author-hero{position:relative;overflow:hidden;min-height:390px;border-radius:26px;background:linear-gradient(135deg,#071f37 0%,#0d3b66 48%,#1769aa 100%);box-shadow:0 24px 60px rgba(13,59,102,.18)}
.txab-author-cover{position:absolute;inset:0;background-position:center;background-size:cover;opacity:.2}
.txab-author-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,22,39,.96),rgba(8,47,83,.76),rgba(12,82,137,.58))}
.txab-author-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:220px minmax(0,1fr) 180px;gap:34px;align-items:center;padding:54px}
.txab-author-avatar{width:190px;height:190px;object-fit:cover;border-radius:50%;border:7px solid rgba(255,255,255,.95);box-shadow:0 18px 40px rgba(0,0,0,.28)}
.txab-author-hero-name{margin:0;color:#fff;font-size:44px;font-weight:900;line-height:1.08;letter-spacing:-1px}
.txab-author-headline{margin-top:10px;color:#d5e8fa;font-size:18px;font-weight:700}
.txab-author-role{margin-top:8px;color:#bad4eb;font-size:14px}
.txab-author-bio{max-width:690px;margin-top:20px;color:#eaf4fc;font-size:15px;line-height:1.75}
.txab-author-bio p{margin:0}
.txab-author-verified{display:inline-flex;align-items:center;gap:7px;margin-top:16px;padding:8px 12px;border:1px solid rgba(157,245,203,.32);border-radius:999px;background:rgba(31,180,105,.16);color:#a9f1cc;font-size:12px;font-weight:800}
.txab-author-verified i{width:8px;height:8px;border-radius:50%;background:#35d486;box-shadow:0 0 0 4px rgba(53,212,134,.14)}
.txab-author-trust{display:flex;flex-direction:column;align-items:center;gap:10px;color:#fff}
.txab-author-trust-ring{--score:90;display:flex;width:122px;height:122px;align-items:center;justify-content:center;border-radius:50%;background:conic-gradient(#39d98a calc(var(--score)*1%),rgba(255,255,255,.16) 0);position:relative}
.txab-author-trust-ring:before{content:"";position:absolute;inset:10px;border-radius:50%;background:#0a355b}
.txab-author-trust-ring strong{position:relative;z-index:1;font-size:34px}
.txab-author-trust span{color:#cce0f1;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.8px}
.txab-author-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.txab-author-actions a{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:9px 16px;border-radius:10px;font-size:13px;font-weight:800;text-decoration:none;transition:.2s ease}
.txab-author-actions a:hover{transform:translateY(-2px)}
.txab-author-primary{background:var(--txap-accent);color:#111!important}
.txab-author-secondary{border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff!important}
.txab-author-stats{display:grid;grid-template-columns:repeat(5,1fr);margin-top:-24px;position:relative;z-index:2;border:1px solid var(--txap-border);border-radius:18px;background:#fff;box-shadow:0 16px 42px rgba(25,55,85,.1)}
.txab-author-stats>div{padding:22px;text-align:center;border-right:1px solid var(--txap-border)}
.txab-author-stats>div:last-child{border-right:0}
.txab-author-stats strong{display:block;color:var(--txap-primary);font-size:24px}
.txab-author-stats span{display:block;margin-top:4px;color:var(--txap-muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.35px}
.txab-author-content-grid{display:grid;grid-template-columns:1fr 330px;gap:24px;margin-top:28px}
.txab-author-card{padding:24px;border:1px solid var(--txap-border);border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(25,55,85,.06)}
.txab-author-card-title{margin-bottom:16px;color:var(--txap-primary);font-size:20px;font-weight:900}
.txab-author-tags{display:flex;flex-wrap:wrap;gap:8px}
.txab-author-tags span{padding:7px 11px;border-radius:999px;background:#eaf4fd;color:#0b5b98;font-size:12px;font-weight:800}
.txab-author-credentials{margin:0;padding-left:20px}
.txab-author-credentials li+li{margin-top:9px}
.txab-author-contact-list{display:grid;gap:9px}
.txab-author-contact-list a{padding:10px 12px;border:1px solid var(--txap-border);border-radius:10px;background:var(--txap-soft);color:var(--txap-primary);font-size:13px;text-decoration:none;word-break:break-word}
.txab-author-social-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.txab-author-social-list a{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid var(--txap-border);border-radius:10px;background:#fff;color:var(--txap-primary);font-size:12px;font-weight:900;text-decoration:none}
.txab-author-posts{margin-top:28px}
.txab-author-section-head{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:16px}
.txab-author-section-head h2{margin:0;color:var(--txap-primary);font-size:28px}
.txab-author-section-head p{margin:5px 0 0;color:var(--txap-muted)}
.txab-author-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.txab-author-post{overflow:hidden;border:1px solid var(--txap-border);border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(25,55,85,.06);transition:.2s ease}
.txab-author-post:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(25,55,85,.1)}
.txab-author-post-thumb{display:block;aspect-ratio:16/9;background:#dce9f4;overflow:hidden}
.txab-author-post-thumb img{width:100%;height:100%;object-fit:cover;transition:.3s ease}
.txab-author-post:hover img{transform:scale(1.04)}
.txab-author-post-body{padding:17px}
.txab-author-post-meta{color:var(--txap-muted);font-size:11px}
.txab-author-post-title{display:block;margin-top:7px;color:var(--txap-text);font-size:16px;font-weight:900;line-height:1.45;text-decoration:none}
.txab-author-post-excerpt{margin-top:9px;color:var(--txap-muted);font-size:13px;line-height:1.6}
.txab-author-pagination{display:flex;justify-content:center;margin-top:24px}
.txab-author-pagination .page-numbers{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;margin:0 3px;border:1px solid var(--txap-border);border-radius:9px;background:#fff;color:var(--txap-primary);font-weight:800;text-decoration:none}
.txab-author-pagination .current{background:var(--txap-primary);color:#fff}
@media(max-width:980px){
 .txab-author-hero-grid{grid-template-columns:170px 1fr;padding:40px}
 .txab-author-avatar{width:150px;height:150px}
 .txab-author-trust{grid-column:1/-1;flex-direction:row;justify-content:center}
 .txab-author-trust-ring{width:82px;height:82px}
 .txab-author-trust-ring strong{font-size:24px}
 .txab-author-content-grid{grid-template-columns:1fr}
 .txab-author-post-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
 .txab-author-page{padding:14px 10px 34px}
 .txab-author-hero{border-radius:18px}
 .txab-author-hero-grid{grid-template-columns:1fr;text-align:center;padding:30px 20px}
 .txab-author-avatar{width:126px;height:126px;margin:auto}
 .txab-author-hero-name{font-size:31px}
 .txab-author-headline{font-size:16px}
 .txab-author-bio{font-size:14px}
 .txab-author-verified,.txab-author-actions{justify-content:center}
 .txab-author-trust{display:none}
 .txab-author-stats{grid-template-columns:repeat(2,1fr);margin-top:14px}
 .txab-author-stats>div{border-right:1px solid var(--txap-border);border-bottom:1px solid var(--txap-border)}
 .txab-author-stats>div:nth-child(2n){border-right:0}
 .txab-author-stats>div:last-child{grid-column:1/-1;border-bottom:0}
 .txab-author-post-grid{grid-template-columns:1fr}
 .txab-author-section-head h2{font-size:23px}
}

/* ========================================================
   TX Author Box v2.2 — About Author Landing
   ======================================================== */
.txab-about-page{--txa-primary:#0d3b66;--txa-blue:#1976d2;--txa-accent:#ff9800;--txa-text:#172436;--txa-muted:#64748b;--txa-border:#e0e8f0;--txa-soft:#f4f8fc;background:#eef3f8;color:var(--txa-text);padding:28px 16px 54px}
.txab-about-shell{width:min(1160px,100%);margin:0 auto}
.txab-about-hero{position:relative;overflow:hidden;border-radius:28px;background:linear-gradient(135deg,#061d34 0%,#0b3e6d 52%,#176fac 100%);box-shadow:0 28px 70px rgba(9,49,84,.2)}
.txab-about-cover{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.16}
.txab-about-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,20,36,.96),rgba(7,47,82,.84),rgba(19,98,158,.62))}
.txab-about-hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:220px 1fr;gap:42px;align-items:center;padding:62px}
.txab-about-avatar{width:205px;height:205px;object-fit:cover;border-radius:50%;border:8px solid rgba(255,255,255,.96);box-shadow:0 20px 48px rgba(0,0,0,.28)}
.txab-about-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.08);color:#d8ebfa;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.65px}
.txab-about-title{margin:18px 0 0;color:#fff;font-size:50px;font-weight:900;line-height:1.05;letter-spacing:-1.4px}
.txab-about-headline{margin-top:12px;color:#c9e0f2;font-size:20px;font-weight:700}
.txab-about-intro{max-width:760px;margin-top:18px;color:#eaf4fc;font-size:15px;line-height:1.8}
.txab-about-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.txab-about-actions a{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:10px 17px;border-radius:11px;font-size:13px;font-weight:800;text-decoration:none;transition:.2s ease}
.txab-about-actions a:hover{transform:translateY(-2px)}
.txab-about-btn-primary{background:var(--txa-accent);color:#111!important}
.txab-about-btn-secondary{border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);color:#fff!important}
.txab-about-stats{display:grid;grid-template-columns:repeat(5,1fr);margin-top:-24px;position:relative;z-index:3;border:1px solid var(--txa-border);border-radius:18px;background:#fff;box-shadow:0 16px 44px rgba(16,54,88,.1)}
.txab-about-stats>div{padding:22px;text-align:center;border-right:1px solid var(--txa-border)}
.txab-about-stats>div:last-child{border-right:0}
.txab-about-stats strong{display:block;color:var(--txa-primary);font-size:25px}
.txab-about-stats span{display:block;margin-top:4px;color:var(--txa-muted);font-size:11px;font-weight:700;text-transform:uppercase}
.txab-about-section{margin-top:28px;padding:28px;border:1px solid var(--txa-border);border-radius:20px;background:#fff;box-shadow:0 12px 34px rgba(20,55,90,.06)}
.txab-about-section h2{margin:0 0 10px;color:var(--txa-primary);font-size:29px}
.txab-about-section-lead{margin:0;color:var(--txa-muted);font-size:14px}
.txab-about-story-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:22px}
.txab-about-story{padding:22px;border-radius:16px;background:var(--txa-soft);font-size:14px;line-height:1.8}
.txab-about-story p:first-child{margin-top:0}
.txab-about-timeline{position:relative;padding-left:22px}
.txab-about-timeline:before{content:"";position:absolute;left:6px;top:7px;bottom:7px;width:2px;background:#c9d9e8}
.txab-about-timeline-item{position:relative;padding:0 0 18px 18px}
.txab-about-timeline-item:last-child{padding-bottom:0}
.txab-about-timeline-item:before{content:"";position:absolute;left:-21px;top:5px;width:12px;height:12px;border-radius:50%;background:var(--txa-blue);box-shadow:0 0 0 5px #e8f2fb}
.txab-about-timeline-item strong{display:block;color:var(--txa-primary);font-size:14px}
.txab-about-timeline-item span{display:block;margin-top:3px;color:var(--txa-muted);font-size:13px;line-height:1.55}
.txab-about-skill-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}
.txab-about-skill{padding:18px;border:1px solid var(--txa-border);border-radius:14px;background:#fff}
.txab-about-skill i{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:12px;background:#e9f3fc;color:var(--txa-blue);font-style:normal;font-size:21px}
.txab-about-skill strong{display:block;margin-top:12px;color:var(--txa-primary);font-size:15px}
.txab-about-skill span{display:block;margin-top:6px;color:var(--txa-muted);font-size:12px;line-height:1.55}
.txab-about-project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}
.txab-about-project{display:flex;min-height:180px;flex-direction:column;justify-content:space-between;padding:21px;border:1px solid var(--txa-border);border-radius:16px;background:linear-gradient(145deg,#fff,#f3f8fc);text-decoration:none;transition:.2s ease}
.txab-about-project:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(20,55,90,.1)}
.txab-about-project small{color:var(--txa-blue);font-weight:800;text-transform:uppercase}
.txab-about-project strong{display:block;margin-top:14px;color:var(--txa-primary);font-size:20px}
.txab-about-project p{margin:8px 0 0;color:var(--txa-muted);font-size:13px;line-height:1.6}
.txab-about-project b{margin-top:18px;color:var(--txa-blue);font-size:12px}
.txab-about-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}
.txab-about-post{overflow:hidden;border:1px solid var(--txa-border);border-radius:16px;background:#fff;transition:.2s ease}
.txab-about-post:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(20,55,90,.1)}
.txab-about-post-thumb{display:block;aspect-ratio:16/9;background:#dce9f4;overflow:hidden}
.txab-about-post-thumb img{width:100%;height:100%;object-fit:cover;transition:.3s ease}
.txab-about-post:hover img{transform:scale(1.04)}
.txab-about-post-body{padding:17px}
.txab-about-post-meta{color:var(--txa-muted);font-size:11px}
.txab-about-post-title{display:block;margin-top:7px;color:var(--txa-text);font-size:16px;font-weight:900;line-height:1.45;text-decoration:none}
.txab-about-cta{margin-top:28px;padding:34px;border-radius:20px;background:linear-gradient(135deg,#082641,#0e5a94);color:#fff;text-align:center}
.txab-about-cta h2{margin:0;color:#fff;font-size:31px}
.txab-about-cta p{max-width:720px;margin:10px auto 0;color:#d6e8f6;line-height:1.7}
.txab-about-cta .txab-about-actions{justify-content:center}
@media(max-width:980px){
 .txab-about-hero-inner{grid-template-columns:170px 1fr;padding:42px}
 .txab-about-avatar{width:158px;height:158px}
 .txab-about-title{font-size:40px}
 .txab-about-skill-grid,.txab-about-project-grid,.txab-about-post-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){
 .txab-about-page{padding:14px 10px 34px}
 .txab-about-hero{border-radius:18px}
 .txab-about-hero-inner{grid-template-columns:1fr;text-align:center;padding:30px 20px}
 .txab-about-avatar{width:132px;height:132px;margin:auto}
 .txab-about-title{font-size:32px}
 .txab-about-headline{font-size:16px}
 .txab-about-actions{justify-content:center}
 .txab-about-stats{grid-template-columns:repeat(2,1fr);margin-top:14px}
 .txab-about-stats>div{border-right:1px solid var(--txa-border);border-bottom:1px solid var(--txa-border)}
 .txab-about-stats>div:nth-child(2n){border-right:0}
 .txab-about-stats>div:last-child{grid-column:1/-1;border-bottom:0}
 .txab-about-section{padding:20px}
 .txab-about-section h2{font-size:24px}
 .txab-about-story-grid,.txab-about-skill-grid,.txab-about-project-grid,.txab-about-post-grid{grid-template-columns:1fr}
}

/* TX Author Box v4.0.0 — Expertise accordion */
.txab-expertise-section{margin-top:15px}
.txab-expertise-toggle,
.txab-expertise-heading{
  display:flex;align-items:center;justify-content:space-between;width:100%;
  padding:11px 14px;border:1px solid var(--b);border-radius:12px;
  background:var(--s);color:var(--t);font:inherit;font-size:13px;font-weight:900;
  letter-spacing:.02em;text-align:left
}
.txab-expertise-toggle{cursor:pointer;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}
.txab-expertise-toggle:hover{border-color:color-mix(in srgb,var(--p) 42%,var(--b));box-shadow:0 5px 16px rgba(11,47,82,.07)}
.txab-expertise-toggle i{position:relative;width:20px;height:20px;flex:0 0 20px;border-radius:50%;background:color-mix(in srgb,var(--p) 10%,transparent)}
.txab-expertise-toggle i:before,
.txab-expertise-toggle i:after{content:"";position:absolute;left:5px;top:9px;width:10px;height:2px;border-radius:2px;background:var(--p);transition:transform .22s ease}
.txab-expertise-toggle i:after{transform:rotate(90deg)}
.txab-expertise-open .txab-expertise-toggle i:after{transform:rotate(0)}
.txab-expertise-content{overflow:hidden}
.txab-expertise-content[hidden]{display:none!important}
.txab-expertise-section .txab-expertise{margin-top:10px}
.txab-expertise-section .txab-mini-title{font-size:12px;letter-spacing:.05em}
.txab-expertise-default-closed .txab-expertise-toggle{margin-bottom:0}
@media(max-width:782px){
  .txab-expertise-section{margin-top:12px}
  .txab-expertise-toggle,.txab-expertise-heading{padding:10px 12px;font-size:12px}
  .txab-expertise-section .txab-expertise{gap:9px}
}

/* TX Author Box v4.0.1 — Hồ sơ năng lực mặc định thu gọn */
.txab-expertise-default-closed .txab-expertise-section{
  margin-top:12px;
}
.txab-expertise-default-closed:not(.txab-expertise-open) .txab-expertise-toggle{
  margin-bottom:0;
  background:#f4f8fc;
}
.txab-expertise-toggle i{
  width:22px;
  height:22px;
  flex-basis:22px;
}
.txab-expertise-toggle i:before,
.txab-expertise-toggle i:after{
  left:5px;
  top:10px;
  width:12px;
}
.txab-expertise-toggle[aria-expanded="false"] i:after{
  transform:rotate(90deg);
}
.txab-expertise-toggle[aria-expanded="true"] i:after{
  transform:rotate(0deg);
}
.txab-expertise-toggle[aria-expanded="false"] i:before,
.txab-expertise-toggle[aria-expanded="false"] i:after{
  background:#1574b8;
}

/* TX Author Box v4.1.0 — compact contact & Zalo CTA */
.txab-contact-compact{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px 12px;
  margin-top:12px;
}
.txab-contact-compact a{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 9px;
  border:1px solid var(--b);
  border-radius:9px;
  background:#f7fafc;
  text-decoration:none;
  line-height:1.2;
}
.txab-contact-compact .txab-contact-zalo,
.txab-btn-zalo{
  color:#0757a6;
  background:#eef7ff;
  border-color:#cfe5f8;
}
.txab-actions-row{
  margin-top:8px;
  padding-top:0;
}
.txab-cta{
  gap:7px;
}
.txab-btn{
  min-height:34px;
  padding:7px 12px;
  white-space:nowrap;
}
.txab-btn-zalo{
  font-weight:800;
}
@media(max-width:782px){
  .txab-contact-compact{gap:6px}
  .txab-contact-compact a{font-size:12px;padding:5px 8px}
  .txab-actions-row{align-items:flex-start}
  .txab-cta{width:100%}
}

/* Author landing contact links */
.txab-author-contact-list a:last-child{
  color:#0757a6;
  background:#eef7ff;
  border-color:#cfe5f8;
}

/* TX Author Box v4.1.1 — minimal contact layout */
.txab-actions-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.txab-hotline-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px 12px;margin-top:8px;padding-top:8px;border-top:1px solid var(--b);font-size:12px}
.txab-hotline-row a{display:inline-flex;align-items:center;gap:4px;color:var(--m);text-decoration:none}
.txab-hotline-row a:hover{color:var(--p)}
.txab-contact-compact{display:none!important}
@media(max-width:782px){
  .txab-actions-row{align-items:flex-start;flex-direction:column}
  .txab-hotline-row{justify-content:flex-start}
}

/* TX Author Box v4.1.2 — avatar ratio and inline hotline */
.txab-avatar-wrap,
.txab-avatar-wrap > a{
  width:106px!important;
  height:106px!important;
  min-width:106px!important;
  min-height:106px!important;
  aspect-ratio:1/1!important;
  overflow:hidden!important;
  border-radius:50%!important;
}
.txab-avatar{
  display:block!important;
  width:106px!important;
  height:106px!important;
  min-width:106px!important;
  min-height:106px!important;
  max-width:106px!important;
  max-height:106px!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:50%!important;
}
.txab-actions-left{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 12px;
  min-width:0;
}
.txab-hotline-inline{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px 10px;
  font-size:12px;
}
.txab-hotline-inline a{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:var(--m);
  text-decoration:none;
  white-space:nowrap;
}
.txab-hotline-inline a:hover{color:var(--p)}
.txab-hotline-row{display:none!important}

@media(max-width:782px){
  .txab-avatar-wrap,
  .txab-avatar-wrap > a,
  .txab-avatar{
    width:94px!important;
    height:94px!important;
    min-width:94px!important;
    min-height:94px!important;
    max-width:94px!important;
    max-height:94px!important;
  }
  .txab-actions-left{width:100%;justify-content:center}
  .txab-hotline-inline{justify-content:center}
}

/* TX Author Box v4.1.4 — profile landing spacing/content */
.txab-author-landing{
  padding-top:24px;
}
.txab-author-hero{
  scroll-margin-top:120px;
}
.txab-author-hero h1,
.txab-author-hero .txab-author-title{
  font-size:clamp(30px,4vw,52px)!important;
  line-height:1.08!important;
  overflow-wrap:anywhere;
}
.txab-author-hero-inner{
  align-items:center;
}
@media(max-width:782px){
  .txab-author-landing{padding-top:14px}
  .txab-author-hero h1,
  .txab-author-hero .txab-author-title{
    font-size:32px!important;
  }
}

/* TX Author Box v4.1.5 — real social icons */
.txab-social-icon,
.txab-author-social-list a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.txab-social-icon svg,
.txab-author-social-list svg{
  display:block;
  width:16px;
  height:16px;
  fill:currentColor;
}
.txab-author-social-list a{
  width:38px;
  height:38px;
  padding:0;
  color:#0b4f83;
}
.txab-author-social-list a:hover{
  color:#fff;
  background:#0b4f83;
}


/* TX Author Box v4.1.7 — compact statistics layout */
.txab-updated,
.txab-last-updated,
.txab-update-strip{
  display:none!important;
}

.txab-stat:has(span:last-child),
.txab-post-count,
.txab-count-card{
  display:none!important;
}

.txab-view-all,
.txab-view-all-posts{
  white-space:nowrap;
  font-weight:700;
}

@media(max-width:680px){
  .txab-view-all,
  .txab-view-all-posts{
    white-space:normal;
    text-align:right;
    line-height:1.35;
  }
}


/* TX Author Box v4.1.8 — remove duplicate post counter */
.txab-stats > div:first-child:has(span:last-child){
  /* Legacy fallback only; current PHP no longer renders the post-count tile. */
}
.txab-stats:empty{
  display:none!important;
}


/* TX Author Box v4.2.0 — Premium UX */
.txab-premium-view-all .txab-view-all-posts{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:7px 11px;border:1px solid #c8dcef;border-radius:10px;background:#f3f8fd;color:#0b66ad!important;font-size:12px;font-weight:800;line-height:1.2;text-decoration:none!important;transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease}
.txab-premium-view-all .txab-view-all-posts:hover{transform:translateY(-2px);border-color:#8bbce5;background:#eaf5ff;box-shadow:0 7px 18px rgba(15,91,151,.12)}
.txab-view-all-posts b{font-size:14px}
.txab-btn-icon{display:none;margin-right:6px;font-size:12px;line-height:1}.txab-cta-icons .txab-btn-icon{display:inline-block}
@media (hover:hover) and (pointer:fine){.txab-post-card-hover .txab-latest-grid>a{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease}.txab-post-card-hover .txab-latest-grid>a:hover{transform:translateY(-4px);border-color:#b8d2ea;background:#fff;box-shadow:0 12px 26px rgba(20,67,108,.11)}}
@media (prefers-reduced-motion:no-preference){.txab-light-animation{animation:txabPremiumEnter .38s cubic-bezier(.2,.7,.2,1) both}.txab-light-animation .txab-latest-grid>a{animation:txabPremiumCard .4s cubic-bezier(.2,.7,.2,1) both}.txab-light-animation .txab-latest-grid>a:nth-child(2){animation-delay:.05s}.txab-light-animation .txab-latest-grid>a:nth-child(3){animation-delay:.1s}}
@keyframes txabPremiumEnter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes txabPremiumCard{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:760px){.txab-mobile-posts-slider .txab-latest-grid{display:flex!important;gap:10px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.txab-mobile-posts-slider .txab-latest-grid>a{flex:0 0 min(84%,310px);min-height:108px;scroll-snap-align:start}.txab-mobile-posts-slider .txab-latest-head{align-items:center!important}.txab-premium-view-all .txab-view-all-posts{padding:6px 9px;font-size:11px;text-align:right}}
.txab-style-dark.txab-premium-view-all .txab-view-all-posts{border-color:#365c7e;background:#102d49;color:#dff0ff!important}
