/* Tramsac Portal – xanh điện / navy */
body.home .entry-header,body.home .page-header,body.home .entry-title,body.home .wp-block-post-title,body.home .page-title{display:none!important}
body.home .ast-container,body.home .ast-container-fluid{padding-left:0;padding-right:0}
body.home .entry-content{margin:0;padding:0}
body.home{overflow-x:hidden}
@supports (overflow:clip){body.home{overflow-x:clip}}

.tp-home,.tp-sec,.tp-stats,.tp-cta,.tp-hero{--ink:#0b1d2e;--tx:#1b2b3a;--mu:#5b6b7a;--ac:#00d68f;--ac2:#00a6ff;--bd:#e3ebf1;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--tx);line-height:1.6}
.tp-home{width:100vw;position:relative;left:50%;margin-left:-50vw}
.tp-home *,.tp-sec *,.tp-cta *,.tp-hero *,.tp-stats *{box-sizing:border-box}
.tp-wrap{max-width:1140px;margin:0 auto;padding:0 20px}
.tp-narrow{max-width:760px}

/* Hero slider */
.tp-hero{position:relative;background:radial-gradient(1100px 500px at 80% -10%,rgba(0,166,255,.35),transparent 60%),radial-gradient(900px 500px at 10% 110%,rgba(0,214,143,.28),transparent 60%),linear-gradient(160deg,#07131f,#0b2238);color:#fff;overflow:hidden;min-height:440px}
.tp-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:48px 48px;mask-image:radial-gradient(ellipse at 50% 40%,#000 30%,transparent 75%);-webkit-mask-image:radial-gradient(ellipse at 50% 40%,#000 30%,transparent 75%)}
.tp-glow{position:absolute;right:-80px;top:40px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(0,214,143,.45),transparent 65%);filter:blur(10px)}
.tp-hero{display:grid}
.tp-slide{grid-area:1/1;position:relative;z-index:1;padding:88px 0 96px;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility 0s linear .7s}
.tp-slide.on{opacity:1;visibility:visible;transition:opacity .7s ease,visibility 0s}
@keyframes tpfade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.tp-slide,.tp-slide.on{transition:none}}
.tp-badge{display:inline-block;padding:6px 14px;border:1px solid rgba(0,214,143,.5);border-radius:99px;color:var(--ac);font-size:13px;font-weight:600;background:rgba(0,214,143,.08);margin-bottom:20px}
.tp-hero h1,.tp-hero .tp-h1{font-size:clamp(28px,4.8vw,50px);line-height:1.14;margin:0 0 16px;font-weight:800;color:#fff;letter-spacing:-.02em;max-width:820px}
.tp-hero p{max-width:620px;font-size:18px;color:#b9cddd;margin:0 0 28px}
.tp-dots{position:absolute;z-index:2;left:0;right:0;bottom:22px;display:flex;gap:8px;justify-content:center}
.tp-dot{width:10px;height:10px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.35);cursor:pointer}
.tp-dot.on{background:var(--ac);width:26px;border-radius:99px}

/* Buttons */
.tp-btn{display:inline-block;padding:13px 26px;border:0;border-radius:12px;font:inherit;font-weight:700;text-decoration:none!important;cursor:pointer;transition:transform .15s,box-shadow .15s}
.tp-btn:hover{transform:translateY(-2px)}
.tp-primary{background:linear-gradient(90deg,var(--ac),#00b9a0);color:#04261b!important;box-shadow:0 8px 24px rgba(0,214,143,.3)}
.tp-white{background:#fff;color:#065f46!important}

/* Sections */
.tp-sec{padding:68px 0;background:#fff}
.tp-alt{background:#f5f9fc}
.tp-sec h2,.tp-cta h2{font-size:clamp(24px,3.2vw,34px);margin:0 0 8px;color:var(--ink);letter-spacing:-.01em}
.tp-sub{color:var(--mu);margin:0 0 30px}
.tp-lead{font-size:19px;color:var(--tx);max-width:820px}
.tp-muted{color:var(--mu)}
.tp-dark{background:linear-gradient(160deg,#07131f,#0b2238)}
.tp-dark h2{color:#fff}.tp-dark .tp-sub{color:#9fb6c8}

/* Stats */
.tp-stats{background:#0b1d2e;padding:36px 0;color:#fff}
.tp-stat{text-align:center}
.tp-stat b{display:block;font-size:clamp(28px,4vw,42px);background:linear-gradient(90deg,var(--ac),var(--ac2));-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:800}
.tp-stat span{color:#9fb6c8;font-size:14px}

/* Grid / cards */
.tp-grid{display:grid;gap:18px}
.tp-g3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.tp-g4{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.tp-card{display:block;background:#fff;border:1px solid var(--bd);border-radius:18px;padding:24px;text-decoration:none!important;color:var(--tx)!important;transition:transform .2s,box-shadow .2s,border-color .2s;overflow:hidden}
a.tp-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(7,19,31,.12);border-color:var(--ac)}
.tp-card h3{margin:14px 0 6px;font-size:19px;color:var(--ink)}
.tp-card p{margin:0;color:var(--mu);font-size:15px}
.tp-card img{width:100%;height:auto;border-radius:12px;display:block}
.tp-ic{display:inline-flex;width:52px;height:52px;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(135deg,rgba(0,214,143,.18),rgba(0,166,255,.18));color:#00a878}
.tp-card-d{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.14);color:#dbe8f2!important}
.tp-card-d h3{color:#fff}.tp-card-d p{color:#9fb6c8}.tp-card-d .tp-ic{color:var(--ac)}
.tp-more{display:inline-block;margin-top:12px;color:#00a878;font-weight:700;font-size:14px}
.tp-meta{color:var(--mu);font-size:13px;margin-top:6px}
.tp-logo{height:64px;display:flex;align-items:center}.tp-logo img{max-height:64px;width:auto;border-radius:0}
.tp-thumb{margin:-24px -24px 14px}.tp-thumb img{border-radius:0}
.tp-contact{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}

/* Forms */
.tp-form{background:#fff;border:1px solid var(--bd);border-radius:18px;padding:26px}
.tp-form label{display:block;font-size:14px;font-weight:600;color:var(--ink);margin-bottom:14px}
.tp-form input[type=text],.tp-form input[type=email],.tp-form input[type=tel],.tp-form input[type=url],.tp-form textarea{display:block;width:100%;margin-top:6px;padding:11px 13px;border:1px solid #cfdbe4;border-radius:10px;font:inherit;background:#fbfdfe;color:var(--tx)}
.tp-form input:focus,.tp-form textarea:focus{outline:2px solid var(--ac);border-color:transparent}
.tp-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:640px){.tp-row{grid-template-columns:1fr}}
.tp-check{font-weight:400!important;display:flex!important;gap:8px;align-items:flex-start;color:var(--mu)!important;font-size:13px!important}
.tp-check input{margin-top:4px}
.tp-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.tp-notice{padding:12px 16px;border-radius:10px;margin:0 0 16px;font-weight:600}
.tp-ok{background:#e6f9f1;color:#065f46;border:1px solid #9be4c6}
.tp-err{background:#fdecec;color:#8a1f1f;border:1px solid #f3b4b4}

/* CTA / newsletter */
.tp-cta{padding:64px 0;text-align:center;background:linear-gradient(120deg,#00a878,#0086d1);color:#fff}
.tp-cta h2{color:#fff}.tp-cta p{margin:0 0 22px;opacity:.95}
.tp-cta .tp-form{background:transparent;border:0;padding:0}
.tp-inline{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.tp-inline input[type=email]{flex:1 1 240px;max-width:380px;padding:13px 16px;border:0;border-radius:12px;font:inherit;margin:0}
.tp-light{color:#e8fff6!important;justify-content:center;margin:14px 0 0!important}
.tp-cta .tp-notice{text-align:left}

/* FAQ */
.tp-faq details{background:#fff;border:1px solid var(--bd);border-radius:14px;padding:14px 18px;margin-bottom:10px}
.tp-faq summary{cursor:pointer;font-weight:700;color:var(--ink)}
.tp-faq p{margin:10px 0 0;color:var(--mu)}

@media(max-width:640px){.tp-slide{padding:60px 0 76px}.tp-hero p{font-size:16px}.tp-sec,.tp-cta{padding:48px 0}.tp-glow{display:none}}

.tp-form select{display:block;width:100%;margin-top:6px;padding:11px 13px;border:1px solid #cfdbe4;border-radius:10px;font:inherit;background:#fbfdfe;color:var(--tx)}
.tp-req{font-weight:400;color:var(--mu);font-size:12px}
.tp-invite{text-align:center}
.tp-reg[hidden],.tp-invest[hidden]{display:none!important}

/* ===== Thẻ đối tác bấm được + trang chi tiết ===== */
a.tp-partner{cursor:pointer}
.tp-psingle{--ink:#0b1d2e;--tx:#1b2b3a;--mu:#5b6b7a;--bd:#e3ebf1;color:var(--tx)}
.tp-back{margin:0 0 14px;font-size:14px}.tp-back a{color:#00a878;font-weight:700;text-decoration:none}
.tp-plogo{margin:0 0 12px}.tp-plogo img{max-height:84px;width:auto;height:auto;display:block}
.tp-badge{display:inline-block;padding:4px 12px;border-radius:99px;background:#e6fbf3;color:#007a55;font-size:13px;font-weight:700}
.tp-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:18px 0 22px}
.tp-info>div{padding:14px 16px;border:1px solid var(--bd);border-radius:14px;background:#f5f9fc}
.tp-info dt{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--mu);margin:0 0 4px}
.tp-info dd{margin:0;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.tp-pbody{margin:0 0 22px}
.tp-pcta{margin:26px 0 0}
.tp-psingle~.tp-pcta .tp-btn,.tp-pcta .tp-btn{margin:0 8px 8px 0}
.tp-pri{background:linear-gradient(135deg,#00d68f,#00a6ff);color:#04261b!important}
.tp-ghost{border:2px solid #0b1d2e;color:#0b1d2e!important;background:transparent}

/* =====================================================================
   HỆ THỐNG BỐ CỤC CHUNG cho mọi chuyên mục (Sản phẩm, Tìm đối tác, Tin tức, Liên hệ, chi tiết)
   Thứ tự thống nhất: Tiêu đề (H1 + thanh nhấn) → câu dẫn → các khối nội dung cùng một lề, cùng khoảng cách
   ===================================================================== */
.site-branding .ast-site-title-wrap,.site-branding .site-description{display:none}

body:not(.home) #primary{margin-top:0;margin-bottom:0;padding-top:0}
body:not(.home) .site-content>.ast-container{padding-top:0}
body:not(.home) .ast-separate-container .ast-article-single,body:not(.home) .ast-separate-container .ast-article-post{padding-top:0;padding-bottom:0}
body:not(.home) .entry-content>p:empty{display:none}
body:not(.home) .entry-content{margin:0}

/* Tiêu đề trang */
body:not(.home) .entry-header{margin:34px 0 0;padding:0}
body:not(.home) .entry-title{margin:0;font-size:clamp(28px,4vw,40px);line-height:1.2;color:#0b1d2e;letter-spacing:-.01em}
body:not(.home) .entry-title:after{content:"";display:block;width:56px;height:4px;margin-top:12px;border-radius:4px;background:linear-gradient(90deg,#00d68f,#00a6ff)}

/* Câu dẫn dưới tiêu đề (mọi trang đều có) */
.tp-lead,.tn-lead{margin:0 0 26px;max-width:760px;font-size:18px;line-height:1.6;color:#5b6b7a}
.tp-sub{margin:0 0 20px;max-width:760px;font-size:16px;color:#5b6b7a}

/* Các khối nội dung: cùng lề trái với tiêu đề, không nền riêng, cách nhau đều */
body:not(.home) .entry-content>.tp-sec,body:not(.home) .entry-content>.tn-wrap{background:transparent;padding:24px 0 12px}
body:not(.home) .entry-content>.tp-sec>.tp-wrap,body:not(.home) .entry-content>.tp-sec>.tp-wrap.tp-narrow{max-width:none;padding-left:0;padding-right:0}
body:not(.home) .entry-content>.tp-sec h2{margin:0 0 10px;font-size:clamp(22px,2.6vw,28px);line-height:1.25;color:#0b1d2e}
body:not(.home) .entry-content>.tp-sec:first-child{padding-top:24px}

/* Biểu mẫu: cùng kiểu thẻ, giới hạn chiều rộng cho dễ điền */
body:not(.home) .tp-form{max-width:820px}

/* Khối mời đăng ký: thẻ nổi bật cùng họ với các thẻ khác */
body:not(.home) .tp-invite{background:#f5f9fc;border:1px solid var(--bd,#e3ebf1);border-radius:18px;padding:34px 24px}
.tp-card h3,.tp-card h3 a{overflow-wrap:anywhere}
body:not(.home) .tp-contact{max-width:none}

/* Tin tức khớp họ thẻ chung */
body:not(.home) .tn-wrap{padding-top:24px}

/* ===== Chân trang (thay chân trang mặc định của theme) ===== */
#colophon,.site-footer{display:none!important}
.tp-footer{background:linear-gradient(160deg,#07131f,#0b2238);color:#b9cddd;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:15px;line-height:1.65;border-top:3px solid #00d68f;clear:both}
.tp-fwrap{max-width:1140px;margin:0 auto;padding:48px 20px 22px}
.tp-fgrid{display:grid;gap:34px;grid-template-columns:1.6fr 1fr 1.2fr 1.4fr}
.tp-fbrand img{display:block;height:auto;max-width:190px;margin-bottom:16px}
.tp-fbrand strong{display:block;color:#fff;font-size:14px;letter-spacing:.02em;margin-bottom:8px}
.tp-fbrand p,.tp-fcol p{margin:0}
.tp-footer h4{margin:0 0 14px;color:#fff;font-size:16px;font-weight:700}
.tp-footer a{color:#b9cddd;text-decoration:none}.tp-footer a:hover{color:#00d68f}
.tp-fmenu{list-style:none;margin:0;padding:0}
.tp-fmenu li{margin:0 0 9px}
.tp-fi{display:inline-block;width:22px;color:#00d68f}
.tp-fbottom{display:flex;flex-wrap:wrap;gap:10px 28px;align-items:center;justify-content:space-between;margin-top:34px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);font-size:13.5px;color:#8fa9bd}
.tp-fbottom .tp-fmenu{display:flex;flex-wrap:wrap;gap:6px 22px}.tp-fbottom .tp-fmenu li{margin:0}
@media(max-width:900px){.tp-fgrid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.tp-fgrid{grid-template-columns:1fr}.tp-fwrap{padding-top:36px}}

/* Trang chủ: bỏ khoảng trắng 60px mà theme thêm trên máy tính, banner dính liền với menu */
body.home #primary{margin-top:0!important;margin-bottom:0!important}
body.home .site-content>.ast-container{padding-top:0}

/* ===== Khoảng trống dưới menu và trên chân trang: áp dụng cho TẤT CẢ trang (đã kiểm tra ở màn hình 1440px) ===== */
body #primary{margin-top:0!important;margin-bottom:0!important}
body:not(.home) #primary{padding-bottom:48px}
body{display:flex;flex-direction:column;min-height:100vh}
#page{flex:1 0 auto;min-height:0!important}
.tp-footer{flex:none}

/* Trang chi tiết đối tác: ẩn dòng tác giả/ngày đăng của theme */
.single-ts_partner .entry-meta,.single-ts_partner .ast-single-post-order .entry-meta{display:none!important}

/* ===== Đường dẫn (breadcrumb) + bỏ liên kết Trước đó / Kế tiếp ở trang đối tác ===== */
.tp-crumb{margin:26px 0 0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:14px;color:#5b6b7a}
.tp-crumb ol{display:flex;flex-wrap:wrap;gap:4px 0;margin:0;padding:0;list-style:none}
.tp-crumb li{margin:0;display:inline-flex;align-items:center}
.tp-crumb li+li:before{content:"/";margin:0 9px;color:#a9b8c4}
.tp-crumb a{color:#5b6b7a;text-decoration:none}.tp-crumb a:hover{color:#00a878;text-decoration:underline}
.tp-crumb [aria-current]{color:#0b1d2e;font-weight:600}
.tp-crumb~.entry-header{margin-top:12px!important}
.single-ts_partner .post-navigation,.single-ts_partner .navigation.post-navigation{display:none!important}

/* ===== Bố cục cố định cho TOÀN SITE: trang thường, chi tiết đối tác, chi tiết tin tức đều cùng một khung phẳng, cùng lề, cùng khoảng cách ===== */
body,body.ast-separate-container{background:#fff!important}
.ast-separate-container .ast-article-single,.ast-separate-container .ast-article-post,.ast-separate-container .site-main>.ast-row{background:transparent!important;box-shadow:none!important;padding:0!important;border:0!important}
.ast-separate-container #primary{padding:0!important;margin:0!important}
.ast-separate-container .site-main{margin:0}
.tp-crumb{margin-top:26px!important}
article:has(.tp-crumb) .entry-header,.tp-crumb~.entry-header{margin-top:12px!important}
/* Tin tức đã có dòng "Đăng ngày · Cập nhật · tác giả · lượt xem" riêng nên ẩn dòng tác giả của theme và liên kết Trước/Kế tiếp */
.single-ts_news .entry-meta,.single-ts_news .post-navigation{display:none!important}

/* ===== Menu xổ xuống (Tìm đối tác): gọn, bo góc, rộng vừa đủ, mục sáng lên khi rê chuột ===== */
.ast-desktop .main-header-menu .sub-menu{width:max-content!important;min-width:230px!important;max-width:320px;padding:8px!important;border:1px solid #e3ebf1!important;border-radius:12px!important;box-shadow:0 14px 34px rgba(7,19,31,.14)!important;margin-top:0!important}
.ast-desktop .main-header-menu .sub-menu .menu-item{border:0!important}
.ast-desktop .main-header-menu .sub-menu .menu-link{padding:10px 14px!important;border:0!important;border-radius:8px;font-size:15px;line-height:1.4;white-space:nowrap;transition:background .15s,color .15s}
.ast-desktop .main-header-menu .sub-menu .menu-link:hover,.ast-desktop .main-header-menu .sub-menu .menu-item:hover>.menu-link{background:#e6fbf3!important;color:#007a55!important}
.ast-desktop .main-header-menu .menu-item-has-children>.menu-link .dropdown-menu-toggle{margin-left:4px}

/* Khối "Muốn hiển thị tại đây?": câu mô tả căn giữa cùng tiêu đề và nút */
.tp-invite .tp-sub{margin-left:auto;margin-right:auto}
.tp-fbrand p{margin-top:0}

/* Banner có ảnh nền (Quản lý banner trang chủ) */
.tp-slide.has-img{background-size:cover;background-position:center}
.tp-slide.has-img:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,19,31,.88) 0%,rgba(7,19,31,.62) 55%,rgba(7,19,31,.3) 100%)}
.tp-slide>.tp-wrap{position:relative;z-index:1}
.tp-hero .tp-ghost{margin-left:10px;background:transparent;border:2px solid rgba(255,255,255,.55);color:#fff!important}

/* Đối tác tiêu biểu ở trang chủ */
.tp-sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:6px}
.tp-sec-head h2{margin:0}.tp-sec-head .tp-more{margin:0}
.tp-pt{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.tp-pt h3{margin:8px 0 4px;font-size:17px;line-height:1.35}
.tp-avatar{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:800;color:#fff;background:linear-gradient(135deg,#00d68f,#00a6ff)}
.tp-tag{display:inline-block;margin-top:12px;padding:3px 10px;border-radius:99px;background:#e8f7f1;color:#00805a;font-size:12px;font-weight:700}
.tp-pt .tp-logo{margin-bottom:0}

/* Khối giới thiệu: chữ + ảnh minh họa (tuỳ chọn) */
.tp-intro.has-img{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.tp-intro-img img{width:100%;height:auto;border-radius:18px;display:block;box-shadow:0 14px 34px rgba(7,19,31,.14)}
.tp-intro .tp-btn{margin-top:6px}
@media(max-width:800px){.tp-intro.has-img{grid-template-columns:1fr;gap:22px}}

/* ===== Nút điều hướng banner (mờ, tiến/lùi) ===== */
.tp-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.1);color:#fff;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer;opacity:.55;transition:opacity .2s,background .2s;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.tp-arrow:hover,.tp-arrow:focus-visible{opacity:1;background:rgba(255,255,255,.22)}
.tp-prev{left:20px}.tp-next{right:20px}
@media(max-width:700px){.tp-arrow{width:34px;height:34px;top:auto;bottom:12px;transform:none;opacity:.7}.tp-arrow svg{width:18px;height:18px}.tp-prev{left:14px}.tp-next{right:14px}}

/* ===== Trang chủ: cùng nhịp (nền xen kẽ, khoảng cách, tiêu đề, lưới) cho Desktop và Mobile ===== */
.tp-home>.tp-sec,.tp-home>.tp-cta{padding-top:68px;padding-bottom:68px}
.tp-home .tp-sec-head{margin:0 0 8px}
.tp-home .tp-sec>.tp-wrap>h2,.tp-home .tp-sec-head h2,.tp-home .tp-cta h2{margin:0 0 8px}
.tp-home .tp-sub{margin:0 0 24px}
.tp-home .tp-grid,.tp-home .tn-grid,.tp-home .tpr-grid{gap:22px}
.tp-home #tp-form h2,.tp-home #tp-form .tp-sub,.tp-home .tp-cta h2,.tp-home .tp-cta p{text-align:center;margin-left:auto;margin-right:auto}
@media(max-width:700px){
.tp-home>.tp-sec,.tp-home>.tp-cta{padding-top:44px;padding-bottom:44px}
.tp-home .tp-grid,.tp-home .tn-grid,.tp-home .tpr-grid{gap:12px}
.tp-home .tp-sub{margin-bottom:18px;font-size:15px}
.tp-home .tn-card .tn-body{padding:14px 16px 18px}
.tp-home .tn-card h3{font-size:17px}
.tp-home .tn-card p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:14px}
.tp-home .tp-grid-home,.tp-home .tp-grid-ben{grid-template-columns:repeat(2,1fr)}
.tp-home .tp-grid-home>.tp-card:nth-child(n+5){display:none}
.tp-home .tp-grid-home .tp-card,.tp-home .tp-grid-ben .tp-card{padding:14px}
.tp-home .tp-grid-home .tp-card h3,.tp-home .tp-grid-ben .tp-card h3{font-size:15px;margin:8px 0 4px}
.tp-home .tp-grid-home .tp-meta{font-size:12.5px}
.tp-home .tp-grid-ben .tp-card p{font-size:13px;line-height:1.5}
.tp-home .tp-grid-home .tp-avatar{width:44px;height:44px;font-size:20px}
}

/* ===== Nút mở rộng menu trên điện thoại: ô bo góc màu thương hiệu; khi mở đổi sang nền tối + biểu tượng đóng xanh ===== */
#ast-mobile-header .menu-toggle.main-header-menu-toggle{width:44px;height:44px;padding:0!important;display:inline-flex;align-items:center;justify-content:center;border:0!important;border-radius:13px!important;background:linear-gradient(135deg,#00d68f,#00a6ff)!important;color:#fff!important;box-shadow:0 6px 16px rgba(0,166,255,.28);transition:transform .15s,box-shadow .15s,background .2s}
#ast-mobile-header .menu-toggle.main-header-menu-toggle svg{fill:#fff!important;width:24px;height:24px}
#ast-mobile-header .menu-toggle.main-header-menu-toggle:active{transform:scale(.94)}
#ast-mobile-header .menu-toggle.main-header-menu-toggle:focus-visible{outline:3px solid rgba(0,166,255,.4);outline-offset:2px}
#ast-mobile-header .menu-toggle.main-header-menu-toggle[aria-expanded=true],#ast-mobile-header .menu-toggle.main-header-menu-toggle.toggled{background:#0b1d2e!important;box-shadow:0 6px 16px rgba(11,29,46,.3)}
#ast-mobile-header .menu-toggle.main-header-menu-toggle[aria-expanded=true] svg,#ast-mobile-header .menu-toggle.main-header-menu-toggle.toggled svg{fill:#00d68f!important}

/* ===== Chân trang: lưới theo số cột thực có (không chừa cột trống), điện thoại xếp 2 cột gọn ===== */
@media(min-width:901px){
.tp-fn-1{grid-template-columns:1.6fr 1fr}
.tp-fn-2{grid-template-columns:1.8fr 1fr 1fr}
.tp-fn-3{grid-template-columns:1.6fr 1fr 1.2fr 1.4fr}
}
@media(max-width:900px){.tp-fgrid>.tp-fbrand{grid-column:1/-1}}
@media(max-width:560px){
.tp-fgrid{grid-template-columns:1fr 1fr;gap:26px 20px}
.tp-fgrid>.tp-fcol:last-child:nth-child(even){grid-column:1/-1}
.tp-fcol .tp-fmenu li{overflow-wrap:anywhere}
}
