/* ====================================================================
 1. CSS GỐC CỦA WEBSITE (GIỮ NGUYÊN CHO POST/PAGE THƯỜNG)
 ==================================================================== */
/* Loading Screen */
.loading-screen {
 position: fixed; inset: 0; background: url(/images/bg-load.jpg) no-repeat;
 background-size: cover; color: #fff; display: flex; align-items: center; justify-content: center; z-index: 10000;
}
.loading-inner { display: flex; align-items: center; gap: 3rem; font-size: 1.5rem; font-weight: 600; }
.loading-left { color: #fff; font-size: 60px; }
.loading-logo { font-size: 2rem; font-weight: 700; }
.loading-right { color: #fff; min-width: 200px; text-align: left; font-size: 60px; }
.loading-right span { display: block; }
@media (max-width: 1024px) { 
 .loading-inner { gap: 1rem; } .loading-logo { width: 60px; }
 .loading-left, .loading-right { font-size: 16px; } .loading-right { min-width: unset; line-height: 5; }
 .door.left { width: 83% !important; } .door.right { width: 94% !important; }
}
.door { position: fixed; top: 0; height: 100%; background: #111; z-index: 9999; }
.door.left { left: 0; width: 57%; background: url(/images/load-left1.png) no-repeat; background-size: cover; background-position: right; }
.door.right { width: 63.4375%; right: 0; background: url(/images/load-right1.png) no-repeat; background-size: cover; background-position: left; }

section img, section svg, [data-img] { will-change: transform, opacity; backface-visibility: hidden; transform: translateZ(0); }
.sec-afterload .hotline-fix { position: fixed; bottom: 20px; right: 20px; }

.f-oxyhl { font-family: 'OxyHL', sans-serif !important; }
.f-filosopher { font-family: 'Philosopher' !important; }
.t-gold { color: #FFF0C0 !important; }
.t-gold2 { color: #E49F24 !important; }
.t-green { color: #1C5833 !important; }
.t-content { color: #01210D !important; }
.section { overflow: hidden; }
.azvidi-title { font-size: 38px; margin-bottom: 10px; line-height: 1.4; }
span.f-big { font-size: 48px; } span.f-small { font-size: 24px; }
.float-item { position: absolute; }
p { font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
.fancybox__content img { background-color: #feedd0; }
.w100 { max-width: 100% !important; width: 100%; }
.box-95, .w95 { max-width: 95% !important; width: 100%; }
.box-90, .w90 { max-width: 90% !important; width: 100%; }
.box-85, .w85 { max-width: 85% !important; width: 100%; }
.w80 { max-width: 80% !important; width: 100%; }
.head-center { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); }

header .head-menu ul { display: flex; }
header .head-menu ul li a {
 display: flex; align-items: center; background: #fff; border-radius: 50px;
 padding: 8px 22px 8px 10px; font-family: 'Philosopher' !important;
 color: #1C5833; font-size: 20px; font-weight: 600; margin-right: 24px;
 cursor: pointer; box-shadow: 2px 5px 10px 0px rgb(24 24 27 / 10%); transition: transform 0.3s ease;
}
header .head-menu ul li a:hover svg { background-color: #1C5833; color: #fff; }
header .head-menu ul li a.text-hover .value-menu:after { color: #1C5833 !important; }
header .head-menu ul li a img, header .head-menu ul li a svg { margin-right: 10px; border-radius: 50%; width: 32px; height: 32px; }

.side-nav { position: fixed; top: 50%; right: 40px; transform: translateY(-50%); z-index: 999; }
.side-nav ul { list-style: none; padding: 0; margin: 0; }
.side-nav ul li { margin: 20px 0; position: relative; }
.side-nav ul li a {
 text-decoration: none; color: white; font-size: 12px; letter-spacing: 1px; font-weight: 500;
 position: relative; display: inline-block; padding-bottom: 2px; overflow: hidden;
}
.side-nav ul li a::after {
 content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
 background: #ffd700; transform: scaleX(0); transform-origin: left;
}

body.landing-fullpage section[class*="sec-"],
body.landing-fullpage section[class*="sec-"] * {
  user-select: none;
}

body.landing-fullpage section[class*="sec-"] h2 {
  font-size: clamp(1rem, 8vw, 10rem);
  text-align: center;
  margin-right: -0.5em;
  text-transform: none;
}

body.landing-fullpage section[class*="sec-"] h2 * {
  will-change: transform;
}

/* Specific Section Backgrounds */
.sec-afterload .bg { background-image: url("/images/bg-afterload.jpg"); background-position: center 10%; }
.sec-intro .bg, .sec-tien-ich .bg, .sec-chu-dau-tu .bg, .sec-tin-tuc .bg { background-image: url("/images/bg-green.jpg"); }
.sec-gioi-thieu .bg { background-image: url("/images/bg-gioi-thieu.jpg"); }
.sec-vi-tri .bg, .sec-thiet-ke .bg { background-image: url("/images/bg-vi-tri.jpg"); }
.sec-vi-tri .bg::before { content: ''; position: absolute; background-image: url(/images/img-hoavan1.png); bottom: 0; right: 0; width: 494px; height: 203px; }
.sec-thiet-ke .azvidi-title span.f-big { font-size: 36px; }
.sec-thiet-ke img.float-item.hoavan2 { z-index: 2; right: 0; top: 5%; }
.sec-thiet-ke img.float-item.hoavan3 { z-index: 2; left: 0; top: 15%; }
.sec-thiet-ke .grid { margin-top: 100px; }
.sec-kien-truc .bg { background-image: url("/images/bg-kien-truc.jpg"); }
.sec-chu-dau-tu .bg, .sec-tin-tuc .bg { position: relative; overflow: hidden; }
.sec-chu-dau-tu .bg::before, .sec-tin-tuc .bg::before {
 content: ""; position: absolute; inset: 0; background-image: url("/images/bg-green.jpg");
 background-size: cover; background-position: bottom; transform: scaleX(-1); z-index: -1;
}
.sec-nha .bg { position: relative; background-size: cover; background-position: center top; overflow: hidden; }
.sec-nha .bg .bg-fade { position: absolute; inset: 0; background-size: cover; background-position: center top; opacity: 0; }
.sec-nha .bg::before {
 content: ''; position: absolute; background-image: url(/images/img-hoavan1.png);
 bottom: 0; left: 0; width: 494px; height: 203px; transform: rotateY(180deg); z-index: 4;
}
.heading-heritage { opacity: 0; position: absolute; width: 100%; top: 10%; left: 0; z-index: 4; font-size: 42px; transform: translateY(20px); }
.heading-heritage span.f-big { font-size: 54px; }
.sec-nha-pho .bg { background-image: url("/images/bg-gold-nhapho.jpg"); }
.sec-biet-thu .bg { background-image: url("/images/bg-green.jpg"); }
.sec-mat-bang .bg { background-image: url("/images/bg-sec-mb.jpg"); }
.sec-thu-vien .bg { background-image: url("/images/bg-thu-vien.jpg"); }
.sec-lien-he .bg { background-image: url("/images/bg-lien-he.jpg"); }

/* Floating Items */
.sec-intro img.float-item { bottom: 0; left: 0; transform: translateY(20%); }
.sec-intro div.float-item { top: 30%; left: 50%; transform: translate(-50%, -50%); z-index: 2; max-width: 1366px; width: 100%; }
.sec-gioi-thieu div.float-item { top: 25%; left: 50%; transform: translate(-50%, -50%); z-index: 2; }
.sec-gioi-thieu div.float-item .box-content { display: flex; }
.sec-gioi-thieu div.float-item .box-content h2 { flex: 45%; min-width: 400px; text-align: right; }
.sec-gioi-thieu div.float-item .box-content p { padding-left: 50px; }
.sec-vi-tri .azvidi-title span.f-big { font-size: 40px; }
.sec-vi-tri .azvidi-title { font-size: 32px; }
.sec-vi-tri .box-content { align-items: center; }
.sec-vi-tri .box-content .box-cover { width: 36%; padding-right: 60px; }
.sec-vi-tri .box-content img { width: 60%; }
.sec-vi-tri .box-content .box-cover h2 { text-align: left; }
.sec-kien-truc img.float-item { bottom: 0; left: 0; }
.sec-kien-truc div.float-item { top: 35%; left: 50%; transform: translate(-50%, -50%); z-index: 2; max-width: 1366px; width: 100%; }
.sec-nha-pho div.float-item { top: 35%; left: 75%; transform: translate(-50%, -50%); z-index: 2; max-width: 30%; width: 100%; text-align: left; }
.sec-nha-pho img.float-item { bottom: -5px; left: 0; width: 80%; }
.sec-biet-thu div.float-item { top: 40%; left: 20%; transform: translate(-50%, -50%); z-index: 2; max-width: 30%; width: 100%; text-align: left; }
.sec-biet-thu img.float-item { bottom: 0; right: 0; width: 90%; }
.sec-kien-truc h2 span.f-big { font-size: 36px; }
.sec-tien-ich .w-full.container { max-width: 100%; margin-top: 100px; }
.sec-tien-ich .box-content .slide-content { flex: 40%; padding-left: 5%; padding-top: 3%; }
.sec-tien-ich .slide-content h4 span { text-transform: capitalize; }
.sec-tien-ich .slide-navigation { width: 150px; position: relative; }
.sec-tien-ich .slider-controls { width: 850px; max-width: 100%; }
.sec-mat-bang .tab { padding-top: 100px; }
.sec-mat-bang .tab .flex { justify-content: center; }

/* Buttons & Tabs */
.tab-btn { background-color: #FFFDB3; color: #0f4d2c; font-size: 20px; font-weight: bold; padding: 15px 30px; border-radius: 999px; border: none; position: relative; letter-spacing: 1px; cursor: pointer; }
.tab-btn span { z-index: 2; position: relative; }
.tab-btn:hover, .tab-btn.active { background-color: #0f4d2c; color: #fff; }
.tab-btn:hover::before, .tab-btn.active::before { content: ""; position: absolute; inset: 6px; border-radius: 999px; border: 1px solid #fff; pointer-events: none; }
.tab-btn:hover::after, .tab-btn.active::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: 0; background: linear-gradient(270deg, #0f4d2c 20%, transparent 100%); pointer-events: none; border-radius: 50px; }

.slide-matbang .swiper-slide { background: #FFF5E7; text-align: center; padding: 30px; border-radius: 2rem; }
.slide-matbang .swiper-slide h4 { color: #1C5833; font-size: 28px; font-weight: 600; }
.slide-matbang span.swiper-pagination-bullet { background: #fff; width: 14px; height: 14px; }
.slide-matbang span.swiper-pagination-bullet.swiper-pagination-bullet-active { background: #1C5833; color: #1C5833; border-color: #1C5833; }

/* Thư viện */
.sec-thu-vien .azvidi-title span.f-big { font-size: 40px; }
.sec-thu-vien .slide-thuvien { padding-top: 25px; }
.sec-thu-vien .slide-thuvien .box-cover { position: relative; cursor: pointer; }
.sec-thu-vien .slide-thuvien .box-img img { border-radius: 20px; position: relative; }
.sec-thu-vien .slide-thuvien .box-img { position: relative; transition: transform 0.4s ease; }
.sec-thu-vien .slide-thuvien .box-img:hover { transform: scale(1.01); box-shadow: 5px 5px 16px rgb(0 0 0 / 30%); border-radius: 20px; }
.sec-thu-vien .slide-thuvien .box-img::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: 20px; transition: border-color 0.5s ease; border: 1px solid transparent; }
.sec-thu-vien .slide-thuvien .box-img:hover::before { border: 12px solid #1C5833; }
.sec-thu-vien .slide-thuvien p, .sec-thu-vien .slide-thuvien .text-hover span { text-align: center; color: #1C5833; font-family: 'Philosopher' !important; font-size: 32px; padding-top: 20px; }
.sec-thu-vien .slide-thuvien .box-img .icon-thuvien { position: absolute; bottom: 30px; left: 30px; background-color: #fff; border-radius: 50%; padding: 20px; border: 1px solid; color: #1C5833; transition: transform 0.4s ease; }
.sec-thu-vien .slide-thuvien .box-img:hover .icon-thuvien { background-color: #1C5833; color: #fff; transform: rotate(10deg); }
svg.icon-thuvien { width: 100px; height: 100px; }
.sec-thu-vien .container { margin-top: 100px; }
.sec-thu-vien .nav-thuvien { width: 1200px; max-width: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; }

/* Tin tức */
.sec-tin-tuc .container { margin-top: 100px; }
.sec-tin-tuc { color: #fff; }
.sec-tin-tuc .flex { align-items: center; }
.sec-tin-tuc .slide-tintuc { padding-bottom: 30px; }
.sec-tin-tuc h2 { max-width: 25%; }
.sec-tin-tuc .bnews { max-width: 40%; }
.sec-tin-tuc .snews { max-width: 35%; position: relative; }
.sec-tin-tuc a:hover .news-img { border: 2px solid #E49F24; }
.sec-tin-tuc a:hover .news-title { color: #E49F24; }
.sec-tin-tuc a:hover .news-date { color: #E49F24; }
.sec-tin-tuc a:hover .news-link { background-color: #E49F24; }
.sec-tin-tuc .slide-tintuc a:hover .news-date::after { opacity: 1; }
.sec-tin-tuc .slide-tintuc .news-date::after { content: '> Xem chi tiết'; color: #1C5833; background: #fff; padding: 0px 10px; border-radius: 12px; position: absolute; right: 0; font-size: 14px; font-family: 'Philosopher' !important; transition: all 0.3s ease; opacity: 0; }
.sec-tin-tuc .news-img { margin-bottom: 15px; border-radius: 12px; border: 2px solid transparent; transition: all 0.3s ease; }
.sec-tin-tuc .news-title { font-size: 24px; font-weight: 600; margin-bottom: 10px; transition: all 0.3s ease; }
.sec-tin-tuc .news-date { font-size: 16px; font-weight: 300; margin-bottom: 5px; transition: all 0.3s ease; }
.sec-tin-tuc .news-description { font-weight: 300; margin-bottom: 20px; transition: all 0.3s ease; }
.sec-tin-tuc .news-link { color: #1C5833; background: #fff; border-radius: 2rem; padding: 6px 20px; width: fit-content; font-family: 'Philosopher' !important; font-size: 18px; transition: all 0.3s ease; }
.sec-tin-tuc .snews::before { content: ''; background: #fff; position: absolute; top: 0; left: -40px; height: 100%; width: 1px; }
.nav-tintuc { margin-top: 30px; position: relative; width: 50%; margin-left: auto; margin-right: auto; }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 22px; color: #1C5833; }
.swiper-button-next, .swiper-button-prev { background-color: #fff; border-radius: 50%; width: 3rem; height: 3rem; }
.nav-tintuc .swiper-pagination { position: absolute; top: -15px !important; }
span.swiper-pagination-bullet { background: #fff; width: 30px; height: 30px; color: #1C5833; font-size: 18px; font-family: 'Philosopher' !important; border: 2px solid #1C5833; transition: all 0.3s ease; }
span.swiper-pagination-bullet.swiper-pagination-bullet-active { border: 2px solid #E49F24; }

.sec-chu-dau-tu img.float-item { bottom: -40px; left: 0; }
.sec-chu-dau-tu .box-85 { background-color: #FFF4C7; min-height: 70%; display: flex; justify-content: center; border-radius: 20px; }
.sec-chu-dau-tu .cover-box { max-width: 1500px; margin: auto; padding-top: 50px; }
.sec-chu-dau-tu .cover-box img { max-width: 1300px; }

/* Liên hệ */
.sec-lien-he p, .sec-lien-he a, .sec-lien-he ul li { color: #fff; }
.sec-lien-he .container { position: absolute; bottom: 10px; }
.sec-lien-he .flex { display: flex; flex-direction: row; justify-content: space-between; }
.sec-lien-he .cover-box { text-align: center; }
.sec-lien-he .cover-box p { margin-top: 20px; font-size: 32px; }
.sec-lien-he ul li { font-size: 28px; font-family: 'Philosopher' !important; display: flex; margin-bottom: 5px; }
.sec-lien-he ul li img { padding-right: 10px; }


/* ====================================================================
 3. RESPONSIVE (MEDIA QUERIES) CHO TRANG THƯỜNG
 ==================================================================== */
@media (max-width: 1024px) { 
 .w100, .box-95, .w95, .box-90, .w90, .box-85, .w85, .w80 { max-width: 100% !important; width: 100%; }
 .headpc { display: none; }
 .float-item { position: relative; top: unset !important; left: unset !important; bottom: unset !important; right: unset !important; transform: unset !important; }
 .sec-lien-he .container { position: relative; width: 100% !important; }
 .sec-mat-bang .container.w-\[1100px\].mx-auto, .sec-tin-tuc .container { width: 100% !important; }
 
 .azvidi-title { font-size: 22px !important; }
 span.f-big { font-size: 24px !important; font-weight: bold; }
 .sec-intro .bg { background-position: 50% top; background-size: cover; }
 
 .sec-gioi-thieu div.float-item .box-content, .sec-vi-tri .box-content { flex-direction: column; }
 .sec-gioi-thieu div.float-item .box-content h2 { flex: unset; min-width: unset; text-align: center; }
 .sec-gioi-thieu div.float-item .box-content p { padding-left: unset; }
 .sec-gioi-thieu .bg { background: url(/images/bg-gioi-thieu-m.jpg) no-repeat; background-size: cover; background-position: top left; }
 
 .sec-vi-tri .bg { background-position: bottom right; background-size: cover; }
 .sec-vi-tri .box-content .box-cover { width: 100%; padding-right: unset; }
 .sec-vi-tri .box-content .box-cover h2 { text-align: center; }
 .sec-vi-tri .bg::before { content: unset; }
 .sec-vi-tri .box-content img { width: 100%; }
 
 .sec-tien-ich .w-full.container { margin-top: unset; }
 .sec-tien-ich .box-content .slide-content { padding: unset; }
 .sec-tien-ich .slide-content h4 { text-align: center; margin-bottom: 8px; }
 .sec-tien-ich .slide-content h4 span { font-size: 22px !important; }
 .sec-tien-ich .slider-controls #slide-indicator { align-items: center !important; width: 80%; }
 .sec-tien-ich .slider-controls span#slide-indicator-title { font-size: 16px; line-height: 1.4; }
 .sec-tien-ich .slider-controls span#slide-indicator-number { font-size: 40px; }
 .sec-tien-ich .slider-controls .swiper-button-next, .sec-tien-ich .slider-controls .swiper-button-prev { width: 25px; height: 25px; }
 .sec-tien-ich .slide-navigation { width: 20%; }
 
 .sec-nha-pho div.float-item, .sec-biet-thu div.float-item { width: 100%; max-width: unset; }
 .sec-nha-pho img.float-item { width: 100%; }
 
 .sec-thiet-ke .azvidi-title span.f-big { font-size: 22px !important; }
 .sec-thiet-ke img.float-item.hoavan2 { position: absolute; width: 100px; right: 0 !important; top: 42% !important; }
 .sec-thiet-ke img.float-item.hoavan3 { position: absolute; width: 50px; left: 0 !important; top: 42% !important; }
 
 .sec-mat-bang .tab { padding-top: unset; }
 .sec-mat-bang .tab .tab-btn { font-size: 12px; padding: 6px 12px; }
 .slide-matbang span.swiper-pagination-bullet { width: 10px; height: 10px; }
 .tab-btn:hover::before, .tab-btn.active::before { inset: 3px; }
 .nav-thuvien .swiper-button-next, .nav-thuvien .swiper-button-prev { display: none !important; }
 .sec-thu-vien .container { margin-top: unset; }
 .sec-thu-vien .slide-thuvien p, .sec-thu-vien .slide-thuvien .text-hover span { font-size: 22px; }
 .sec-thu-vien .nav-thuvien { position: relative; }
 .sec-thu-vien .nav-thuvien .swiper-pagination { position: relative; margin-top: 20px; }
 .sec-thu-vien .nav-thuvien .swiper-pagination span.swiper-pagination-bullet { background: #1C5833; width: 10px; height: 10px; color: #1C5833; }
 .sec-thu-vien .nav-thuvien .swiper-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active { border-color: #1C5833; }
 .sec-thu-vien .slide-thuvien .box-img .icon-thuvien { padding: 2px; }
 .sec-thu-vien .slide-thuvien { padding-top: 15px; }
 svg.icon-thuvien { width: 40px; height: 40px; }
 
 .sec-tin-tuc .flex { flex-direction: column; }
 .sec-tin-tuc .container { margin-top: unset; }
 .sec-tin-tuc h2, .sec-tin-tuc .snews { width: 100%; max-width: 100%; }
 .sec-tin-tuc .bnews { display: none; }
 .sec-tin-tuc .slide-tintuc { padding-bottom: 25px; }
 .sec-tin-tuc .slide-tintuc .wiper-wrapper, .sec-tin-tuc .slide-tintuc .wiper-wrapper .swiper-slide { overflow: hidden; }
 .sec-tin-tuc .slide-tintuc .box-cover { background: #fff; color: #1C5833; display: flex; position: relative; border-radius: 12px; margin-bottom: 15px; padding: 8px; }
 .sec-tin-tuc .slide-tintuc .box-cover a { display: flex; gap: 10px; }
 .sec-tin-tuc .box-img { max-width: 40%; min-width: 150px; height: 110px; position: relative; overflow: hidden; }
 .sec-tin-tuc .news-date { position: absolute; bottom: 0; left: calc(40% + 10px + 8px); }
 .sec-tin-tuc div.news-title { font-weight: normal; position: relative; }
 .sec-tin-tuc div.news-title::after { content: '→ Xem chi tiết'; position: absolute; font-size: 12px; left: 0; top: 52px; }
 .sec-tin-tuc .slide-tintuc .news-date::after { content: unset; }
 
 .sec-chu-dau-tu .cover-box { padding-top: unset; }
 .sec-chu-dau-tu .box-85 { background-color: unset; }
 .sec-lien-he .bg { background: url(/images/bg-footer-m.jpg) no-repeat; background-position: top center; background-size: cover; }
 .sec-lien-he ul li { justify-content: center; text-align: center; align-items: flex-start; margin-bottom: 10px; }
 .sec-lien-he .logo-footer { max-width: 60%; padding-top: 20px; }
 .swiper-button-next:after, .swiper-button-prev:after { font-size: 15px; }
 .sec-nha .bg::before { content: unset; }
 .sec-nha .bg .bg-fade, .sec-nha .bg { background: url(/images/bg-nha-m.png) no-repeat !important; background-position: top center !important; background-size: cover !important; }
 .nav-tintuc { width: 90%; }
}

@media (max-width: 480px) { 
 .sec-intro .azvidi-title { font-size: 20px !important; }
}

 /* FIX: Không set cứng chiều rộng nếu là landing page, trang thường giữ nguyên */
 body:not(.landing-fullpage) .sec-mat-bang .container.w-\[1100px\].mx-auto { width: 900px; }
 body:not(.landing-fullpage) .sec-tin-tuc .container { width: 1200px; }
 
/* =========================
 PART 1/4 — ROOT + BASE + HEADER 1 HÀNG (LOGO | MENU | SEARCH)
 ========================= */
:root{
  --sticky-top: 68px;
  --toc-fab: 52px;
  --toc-drawer-w: 380px;
  --side-safe: 20px;
}
/* sticky top vars */
@media (max-width:900px){ :root{ --sticky-top: 78px; } }
@media (max-width:768px){ :root{ --sticky-top: 74px; --toc-drawer-w: 86vw; --side-safe: 12px; } }

/* ===== BASE ===== */
*{ box-sizing:border-box; }
html{ text-size-adjust:100%; -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background-color:#f4f6f8;
  margin:0;
  color:#333;
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a{ text-decoration:none; color:inherit; transition:color .15s ease, background-color .15s ease; }
a:hover{ color:var(--accent-color); }
a:focus-visible{ outline:3px solid rgba(18,163,154,.45); outline-offset:2px; border-radius:6px; }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* Skip link */
.skip-link{
  position:absolute; left:-9999px; top:10px;
  padding:10px 14px; background:#fff; color:#111;
  border:2px solid rgba(18,163,154,.75);
  border-radius:10px; z-index:10000;
}
.skip-link:focus{ left:12px; }

/* Container */
.container{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding:0 15px;
  contain: layout paint;
}

/* ===== TOPBAR sticky ===== */
.topbar{
  position:sticky;
  top:0;
  z-index:12000;
  background:var(--header-bg) !important;
  border-bottom:2px solid rgba(255,255,255,.12) !important;
}
.topbar .container{ contain:none !important; } /* tránh dropdown bị cắt */

/* Header 1 hàng: logo | nav | search */
.topbar-inner{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 0;
  min-height:68px; /* fix CLS */
  background:var(--header-bg) !important;
}

/* Logo */
.brand{ display:block; min-width:200px; }
.brand img{
  display:block;
  width:auto;
  height:44px;
  max-width:200px;
  object-fit:contain;
}

/* (Legacy) nếu còn layout .header/.logo-wrap */
.header .logo-wrap,
.header .logo-wrap a{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
.header .logo-wrap img{
  display:block;
  background: transparent !important;
}

/* ===== DESKTOP NAV ===== */
.desktop-nav{ flex:1 1 auto; overflow:hidden !important; }
.desktop-nav .nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:nowrap;         /* không rớt dòng */
  overflow-x:auto;          /* scroll ngang */
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.desktop-nav .nav-list::-webkit-scrollbar{ display:none; }

.desktop-nav .nav-link{
  display:block;
  padding:9px 10px;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  color:var(--header-text) !important;
  white-space:nowrap;
}
.desktop-nav .nav-link:hover,
.desktop-nav .nav-link:focus-visible{
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
}

/* Dropdown */
.has-sub{ position:relative; }
.has-sub > .nav-link::after{
  content:"▾";
  margin-left:6px;
  font-size:11px;
  opacity:.9;
}
.submenu{
  list-style:none;
  margin:0;
  padding:8px;
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  min-width:280px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  box-shadow:0 14px 30px rgba(0,0,0,.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index:10060;
  pointer-events:none;
}
.submenu a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  color:#0f172a;
  font-weight:600;
  font-size:14px;
}
.submenu a:hover{ background:var(--hover-bg); color:var(--accent-color); }

.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu,
.has-sub.is-open > .submenu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  pointer-events:auto;
}

/* ===== SEARCH (desktop: icon -> expand) ===== */
.search-wrap{
  flex:0 0 auto;
  display:flex;
  justify-content:flex-end;
  min-width:44px;
}

/* ===== HAMBURGER (mobile only) ===== */
.menu-toggle{
  display:none;                 /* desktop: ẩn */
  height:44px;
  width:44px;
  min-width:44px;
  border-radius:12px;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  background:transparent !important;
  color:var(--header-text) !important;
  border:1px solid rgba(255,255,255,.35) !important;
}

.search-form{
  height:44px;
  display:flex;
  align-items:center;
  overflow:hidden;
  width:44px;
  max-width:44px;
  border-radius:12px;
  border:1px solid transparent;
  background:transparent;
  transition:width .18s ease, max-width .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
  will-change:width, max-width;
}
.search-input{
  height:44px;
  line-height:44px;
  border:0;
  outline:none;
  width:0;
  min-width:0;
  padding:0;
  opacity:0;
  pointer-events:none;
  font-size:15px;
  transition:width .18s ease, opacity .18s ease, padding .18s ease;
}
.search-btn{
  height:44px;
  width:44px;
  min-width:44px;
  border-radius:12px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent !important;
  color:var(--header-text) !important;
  border:1px solid rgba(255,255,255,.35) !important;
}
.search-btn:hover{ background:rgba(255,255,255,.12) !important; }

.search-form.open,
.search-form:focus-within{
  width:320px;
  max-width:320px;
  background:#fff !important;
  border-color: rgba(124,45,10,.25) !important;
  box-shadow:0 10px 26px rgba(0,0,0,.08);
}
.search-form.open .search-input,
.search-form:focus-within .search-input{
  width:100%;
  padding:0 12px;
  opacity:1;
  pointer-events:auto;
}

/* =========================
 LANDING HEADER (đã gộp, bỏ phần trùng/đè nhau)
 ========================= */
.topbar-landing{
  background: var(--landing-header-bg, #ffffff) !important;
}
.topbar-landing .topbar-inner{
  background: var(--landing-header-bg) !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap;
  gap:12px;
}
.topbar-landing .brand img{ height:44px; }
.topbar-landing .lp-nav-slot{
  flex:1 1 auto;
  min-width:0;
}

/* menu inline trong header */
.topbar-landing .lp-menu{ position:static !important; background:transparent !important; border:0 !important; }
.topbar-landing .lp-menu-inner{
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  display:flex;
  align-items:center;
  gap:8px;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.topbar-landing .lp-menu-inner::-webkit-scrollbar{ display:none; }

/* chip theo biến JS set */
.topbar-landing .lp-menu-link{
  background: var(--landing-chip-bg) !important;
  border:1px solid var(--landing-chip-border) !important;
  color: var(--landing-header-text) !important;
}
.topbar-landing .lp-menu-link:hover{ background: var(--landing-chip-hover-bg) !important; }
.topbar-landing .lp-menu-link.is-active{
  background: var(--landing-chip-active-bg) !important;
  border-color: var(--landing-chip-active-border) !important;
  color: var(--landing-chip-active-text) !important;
}

/* CTA landing */
.landing-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--landing-chip-border);
  background: var(--landing-chip-bg);
  color: var(--landing-header-text) !important;
  font-weight:800;
  white-space:nowrap;
}
.landing-cta:hover{ background: var(--landing-chip-hover-bg); }

/* MOBILE: landing menu xuống hàng + ẩn link external/category */
@media (max-width:900px){
  .topbar-landing .topbar-inner{ flex-wrap:wrap; }
  .topbar-landing .lp-nav-slot{
    order:3;
    flex:1 1 100%;
    width:100%;
    margin-top:8px;
  }
  .topbar-landing .landing-cta{
    order:2;
    padding:9px 12px;
    font-size:13px;
  }
  .topbar-landing .lp-menu-link.is-external{ display:none !important; }
}

/* ROW2 cũ */
.topbar-menu{ display:none !important; }

@media (max-width:768px){
  .topbar-inner{
    display:flex;
    flex-wrap:nowrap;
    gap:10px;
    padding:8px 0;
    min-height:auto;
  }
  .brand{ min-width:0 !important; flex:0 0 auto; }
}
/* =========================
 PART 2/4 — POST/ARTICLE + TABLE/IMG + CTA + FOOTER BOX + MAYBE
 ========================= */

/* Header cũ nếu còn file khác */
header:not(.topbar){
  background:#fff;
  border-bottom:1px solid #eee;
  padding:10px 0;
  margin-bottom:18px;
}

/* Article wrapper */
.post-wrapper{
  max-width:1280px;
  margin:30px auto;
  background:#fff;
  padding:40px;
  border-radius:8px;
  box-shadow:0 4px 15px rgba(0,0,0,.05);
  contain: layout paint style;
  content-visibility:auto;
  contain-intrinsic-size: 1px 1200px;
}

.breadcrumb{ font-size:13px; color:#666; margin-bottom:12px; text-transform:uppercase; }
.breadcrumb a{ color:var(--primary-color); font-weight:700; }

h1.post-title{
  font-size:34px;
  font-weight:700;
  color:#1a1a1a;
  margin:0 0 15px;
  line-height:1.3;
  text-align:center;
  overflow-wrap:break-word;
}
.post-meta{
  font-size:13px;
  color:#888;
  margin-bottom:20px;
  border-bottom:1px solid #eee;
  padding-bottom:10px;
  text-align:center;
}
.post-content{
  font-size:18px;
  line-height:1.6;
  color:#2c3e50;
  text-align:justify;
  width:100%;
  overflow-wrap:break-word;
}

/* Anchor không bị header che */
.post-content h2,
.post-content h3,
.post-content h4{ scroll-margin-top: var(--sticky-top); }

.post-content table{
  width:100%;
  border-collapse:collapse;
  margin:20px 0;
  border:1px solid #ddd;
  table-layout:fixed;
}
.post-content th,.post-content td{
  border:1px solid #ccc;
  padding:12px 15px;
  vertical-align:top;
  text-align:left;
  word-wrap:break-word;
}
.post-content th{
  background:#f2f9f4;
  color:var(--primary-color);
  border-bottom:2px solid var(--primary-color);
  font-weight:700;
}
.post-content img{
  max-width:100%!important;
  height:auto!important;
  display:block;
  margin:20px auto;
  border-radius:6px;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}
.post-content h2,.post-content h3{
  color:var(--primary-color);
  margin:25px 0 15px;
  font-weight:700;
  line-height:1.3;
}

/* Download CTA */
.btn-download-wrapper{
  text-align:center;
  margin:40px 0;
  padding:25px;
  background:#f9fffb;
  border:2px dashed var(--primary-color);
  border-radius:10px;
  contain:layout paint;
}
.btn-download-now{
  display:inline-block;
  padding:15px 30px;
  background:#d32f2f;
  color:#fff;
  font-size:18px;
  font-weight:700;
  border-radius:50px;
  box-shadow:0 4px 10px rgba(211,47,47,.25);
  text-transform:uppercase;
  will-change:transform;
}
.btn-download-now:hover{ background:#b71c1c; transform:translateY(-2px); color:#fff; }
.note-download{ margin-top:10px; font-size:14px; color:#666; font-style:italic; }

/* Footer box dưới bài */
.post-footer-box{
  margin-top:30px;
  border:1px solid #e0d4b8;
  background:#fffbf2;
  padding:15px;
  border-radius:6px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  contain: layout paint;
}
.cat-label{ font-weight:700; color:#8b5e3c; font-size:14px; }
.share-area{ display:flex; gap:10px; }

.post-footer-box.is-center{ justify-content:center; }
.post-footer-box.is-center .share-area{ justify-content:center; }

.share-btn{
  width:36px; height:36px;
  border-radius:50%;
  border:1px solid #8b5e3c;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8b5e3c;
}
.share-btn:hover{ background:#8b5e3c; color:#fff; }
.share-btn svg{ width:18px; height:18px; display:block; }

/* Maybe interested */
.maybe-interested{
  border:1px solid #ddd;
  border-radius:8px;
  padding:20px;
  margin:30px 0;
  background:#fff;
  contain: layout paint style;
  content-visibility:auto;
  contain-intrinsic-size: 1px 600px;
}
.maybe-header{
  font-size:18px;
  font-weight:700;
  color:#5a3e1b;
  margin-bottom:15px;
  text-align:center;
  text-transform:uppercase;
  border-bottom:2px solid #f0f0f0;
  padding-bottom:10px;
}
.maybe-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:15px; }
.maybe-item{
  border:1px solid #eee;
  border-radius:6px;
  overflow:hidden;
  transition:transform .15s ease, box-shadow .15s ease;
  background:#fff;
}
.maybe-item:hover{ transform:translateY(-3px); box-shadow:0 4px 10px rgba(0,0,0,.08); }
.maybe-thumb{ height:110px; overflow:hidden; background:#eee; }
.maybe-thumb img{ width:100%; height:100%; object-fit:cover; }
.maybe-title{ padding:8px; font-size:13px; font-weight:600; text-align:center; color:#333; line-height:1.35; }

/* Responsive */
@media (max-width:768px){
  header:not(.topbar){ padding:8px 0; margin-bottom:14px; }
  .post-wrapper{ padding:15px; }
  h1.post-title{ font-size:24px; }
  .post-content{ font-size:16px; }
  .post-content table{ display:block; overflow-x:auto; white-space:nowrap; table-layout:auto; }
  .post-content th,.post-content td{ min-width:140px; white-space:normal; font-size:15px; }
  .maybe-grid{ grid-template-columns:1fr; }
  .post-footer-box{ flex-direction:column; text-align:center; }
  .maybe-item{ display:flex; align-items:center; text-align:left; }
  .maybe-thumb{ width:80px; height:60px; margin-right:10px; flex-shrink:0; }
  .maybe-title{ padding:0; text-align:left; }
}
/* =========================
 PART 3/4 — HOME/GRID + DIRECTORY + BACKTOTOP + FONT-WEIGHT FIX
 ========================= */

/* HOT NEWS */
.top-hot-wrapper{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:20px;
  margin-bottom:40px;
  background:var(--bg-soft);
  padding:20px;
  border-radius:8px;
  border:1px solid var(--border-color);
  contain: layout paint style;
}
.top-big-post img{ width:100%; height:380px; object-fit:cover; border-radius:8px; }
.top-big-post h1{ font-size:24px; margin:15px 0 5px; }

.sub-item{
  display:flex; gap:12px; margin-bottom:12px;
  padding-bottom:12px; border-bottom:1px solid #eee;
}
.sub-item:last-child{ border-bottom:none; margin-bottom:0; padding-bottom:0; }
.sub-item .thumb{ width:100px; height:70px; object-fit:cover; border-radius:5px; flex-shrink:0; }
.sub-item a{ font-weight:600; font-size:14px; }

/* CATEGORY boxes */
.cat-row{ display:grid; grid-template-columns:1fr 1fr; gap:30px; margin-bottom:40px; }
.news-box .box-header{ border-bottom:2px solid #ddd; margin-bottom:15px; display:flex; justify-content:space-between; }
.news-box .box-title{
  font-weight:700; color:var(--primary-color);
  border-bottom:2px solid var(--secondary-color);
  margin-bottom:-2px;
  padding-bottom:5px;
  text-transform:uppercase;
  font-size:18px;
}
.news-box .box-body{ display:grid; grid-template-columns:1.2fr 1fr; gap:20px; }
.main-post .thumb{
  width:100%;
  height:220px!important;
  object-fit:cover;
  border-radius:6px;
  display:block;
  margin-bottom:10px;
  background:#eee;
}
.main-post div{ font-weight:700; font-size:16px; }

/* DIRECTORY */
.directory-section{
  grid-column:1/-1;
  border:1px solid #eee;
  border-radius:8px;
  margin-top:30px;
  background:#fff;
  contain: layout paint style;
  content-visibility:auto;
  contain-intrinsic-size: 1px 900px;
}
.dir-header{
  background:linear-gradient(90deg,var(--primary-color),var(--secondary-color));
  color:#fff;
  padding:12px 20px;
  font-weight:700;
  text-transform:uppercase;
}
.dir-grid{ display:grid; grid-template-columns:repeat(3,1fr); }
.dir-item{
  padding:15px;
  border-bottom:1px solid #eee;
  border-right:1px solid #eee;
  display:flex;
  align-items:center;
  min-width:0;
}
.dir-item:nth-child(3n){ border-right:none; }
.dir-icon svg{ width:32px; height:32px; fill:var(--secondary-color); margin-right:15px; }

/* HOME FEATURE */
.home-feature{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:0;
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  margin:20px 0 30px;
  box-shadow:0 4px 15px rgba(0,0,0,0.05);
  border:1px solid var(--border-color);
  contain: layout paint style;
}
.home-feature-left .hero-img{ width:100%; height:360px; object-fit:cover; display:block; }
.home-feature-left .hero-title{
  padding:14px 16px;
  font-size:22px;
  font-weight:600;
  line-height:1.25;
  color:var(--accent-color);
}
.home-feature-right{
  background:linear-gradient(135deg,var(--primary-color),var(--accent-color));
  padding:10px;
}
.home-feature-right .side-item{
  display:flex; gap:10px; padding:10px;
  border-radius:8px; color:#fff; align-items:center;
  contain:layout paint;
}
.home-feature-right .side-item + .side-item{ border-top:1px solid rgba(255,255,255,0.18); }
.home-feature-right .side-item:hover{ background:rgba(255,255,255,0.10); }
.home-feature-right .side-thumb{
  width:88px; height:62px;
  border-radius:6px;
  object-fit:cover;
  flex-shrink:0;
  background:#ffffff22;
}
.home-feature-right .side-title{
  font-size:14px; font-weight:600; line-height:1.3;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* HOME GRID 6 */
.home-grid6{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:14px;
  margin:16px 0 30px;
  contain:layout paint;
}
.home-card{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 3px 10px rgba(0,0,0,0.05);
  border:1px solid #f1f1f1;
  contain:layout paint;
}
.home-card img{ width:100%; height:120px; object-fit:cover; display:block; background:#eee; }
.home-card .card-title{ padding:10px 10px 12px; font-size:13px; font-weight:600; line-height:1.35; color:#111; }

/* MOST DOWNLOADED */
.most-download{
  background:#fff;
  border:1px solid var(--border-color);
  border-radius:12px;
  padding:18px;
  margin:0 0 28px;
  box-shadow:0 4px 15px rgba(0,0,0,0.04);
  contain: layout paint style;
  content-visibility:auto;
  contain-intrinsic-size: 1px 520px;
}
.most-download .md-title{ font-size:18px; font-weight:600; margin:0 0 12px; color:#111; }
.md-grid{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 18px;
}
.md-item{ list-style:none; display:flex; gap:12px; align-items:flex-start; contain: layout paint; }
.md-rank{ font-size:40px; font-weight:600; color:#64748b; line-height:1; min-width:50px; }
.md-item a{ font-weight:600; font-size:16px; line-height:1.35; color:#0f172a; }
.md-item a:hover{ color:var(--accent-color); }
.md-meta{ font-size:12px; color:#6b7280; margin-top:4px; }

/* GRID 2/4 */
.cat-grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:0 0 30px;
  contain: layout paint style;
}
.cat-grid4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin:0 0 30px;
  contain: layout paint style;
  content-visibility:auto;
  contain-intrinsic-size: 1px 900px;
}
.grid-box{
  background:#fff;
  border:1px solid var(--border-color);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 4px 15px rgba(0,0,0,0.04);
  contain: layout paint style;
}
.grid-box-head{ padding:12px 14px 10px; border-bottom:1px solid #eee; }
.grid-box-head a{ font-weight:600; text-transform:uppercase; color:#111; }
.grid-box-head .box-title{
  display:inline-block;
  font-weight:600;
  text-transform:uppercase;
  color:var(--primary-color);
  border-bottom:2px solid var(--secondary-color);
  padding-bottom:5px;
}
.grid-box-hero img{ width:100%; height:140px; object-fit:cover; display:block; background:#eee; }
.grid-box-hero-title{ padding:10px 12px; font-weight:600; font-size:14px; line-height:1.3; color:#111; }
.grid-box-list{ padding:0 12px 10px; }
.grid-box-list a{
  display:block;
  padding:10px 0;
  border-top:1px solid #f1f1f1;
  font-weight:600;
  font-size:13px;
  line-height:1.35;
  color:#1f2937;
}
.grid-box-more{
  display:block;
  margin:10px 12px 14px;
  text-align:center;
  background:#f3f4f6;
  padding:10px 12px;
  border-radius:10px;
  font-weight:600;
  color:#111;
}
.grid-box-more:hover{ background:#e9eef5; }

/* backToTop */
#backToTop{
  position:fixed;
  right:20px;
  bottom:20px;
  width:45px;
  height:45px;
  background:var(--primary-color);
  color:#fff;
  border:none;
  border-radius:50%;
  cursor:pointer;
  display:none;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 10px rgba(0,0,0,0.2);
  z-index:999;
  transition:transform .2s ease, background-color .2s ease;
}
#backToTop:hover{ transform:translateY(-3px); background:var(--secondary-color); }

/* Responsive */
@media (max-width:1080px){
  .home-grid6{ grid-template-columns:repeat(3,1fr); }
  .cat-grid2{ grid-template-columns:1fr; }
  .cat-grid4{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px){
  .dir-grid{ grid-template-columns:1fr; }
  .dir-item{ border-right:none; }
  .dir-item a, .dir-item div{ overflow-wrap:anywhere; word-break:break-word; }
  .top-big-post img{ height:220px; }
  .home-feature-left .hero-img{ height:220px; }
  .home-grid6{ grid-template-columns:repeat(2,1fr); }
  .md-grid{ grid-template-columns:1fr; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
  a, .maybe-item, #backToTop{ transition:none !important; }
  .btn-download-now{ will-change:auto; }
}

/* Font-weight fix (gọn, tránh đậm lung tung) */
body,
.post-content,
.md-meta,
.maybe-title,
.grid-box-hero-title,
.grid-box-head a,
.sub-item a{ font-weight:400 !important; }

.news-box .box-title,
h1.post-title,
.post-content h2,
.post-content h3,
.maybe-header,
.dir-header,
.btn-download-now,
.cat-label,
.breadcrumb a,
.post-content th{ font-weight:700 !important; }

.home-feature-left .hero-title,
.home-feature-right .side-title,
.home-card .card-title,
.md-item a,
.grid-box-list a,
.main-post div{ font-weight:600 !important; }
/* =========================
 PART 4/4 — FOOTER V2 + TOC + MOBILE NAV + SIDEBAR + LANDING + CATEGORY PAGE
 ========================= */

/* ===== FOOTER V2 ===== */
.site-footer.footer-v2{
  margin-top:28px;
  background:transparent;
  border-top:0;
  color:var(--footer-text);
}
.site-footer.footer-v2 .footer-blue{
  background:var(--footer-bg) !important;
  border-top:4px solid var(--brand-gold);
  padding:18px 0;
}
.site-footer.footer-v2 .footer-blue-inner{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap:22px;
  align-items:center;
}
.site-footer.footer-v2 .footer-brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.site-footer.footer-v2 .footer-brand-link img{
  display:block;
  width:auto;
  height:56px;
  max-width:140px;
  object-fit:contain;
}
.site-footer.footer-v2 .footer-brand-name{
  color:#fff;
  font-weight:800;
  font-size:20px;
  line-height:1.15;
}
.site-footer.footer-v2 .footer-brand-tag{
  color:rgba(255,255,255,.85);
  font-size:13px;
  font-style:italic;
  margin-top:4px;
}
.site-footer.footer-v2 .footer-info,
.site-footer.footer-v2 .footer-info-right{
  display:grid;
  gap:14px;
  align-content:start;
}
.site-footer.footer-v2 .footer-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
}
.site-footer.footer-v2 .footer-ico{
  width:44px;
  height:44px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.28);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  font-size:18px;
  line-height:1;
}
.site-footer.footer-v2 .footer-label{ font-size:12px; color:rgba(255,255,255,.82); margin-bottom:2px; }
.site-footer.footer-v2 .footer-value{ color:#fff; font-weight:700; font-size:16px; word-break:break-word; }
.site-footer.footer-v2 .footer-subtext{ margin-top:4px; font-size:12px; color:rgba(255,255,255,.82); }
.site-footer.footer-v2 a{ color:#fff; font-weight:700; }
.site-footer.footer-v2 a:hover{ opacity:.92; color:#fff; }
.site-footer.footer-v2 .footer-copy{
  background:var(--footer-bg) !important;
  border-top:1px solid rgba(255,201,16,.25);
  color:rgba(255,255,255,.85);
}

/* =========================
 TOC -> DOTS (Desktop) cho POST
 ========================= */

/* Desktop: hiện dots, ẩn drawer */
@media (min-width:901px){
  .toc-fab, .toc-backdrop, .toc-drawer{ display:none !important; }
  .toc-dots{ display:block; }
}

/* Mobile: ẩn dots, dùng drawer */
@media (max-width:900px){
  .toc-dots{ display:none !important; }
}

/* Dots container */
.toc-dots{
  position:fixed;
  right: calc(var(--side-safe) + env(safe-area-inset-right, 0px));
  top:50%;
  transform:translateY(-50%);
  z-index:12080;
}

/* bỏ khung toc-box (vì build_toc trả về toc-box) */
.toc-dots .toc-box{
  border:0;
  background:transparent;
  padding:8px;
  margin:0;
}
.toc-dots .toc-title{ display:none; } /* ẩn chữ Mục lục */

/* chỉ lấy H2 (ẩn H3 để đỡ nhiều chấm) */
.toc-dots .toc-item-lv-3{ display:none; }

/* list thành 1 cột */
.toc-dots .toc-body ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* link thành chấm */
.toc-dots .toc-link{
  width:12px;
  height:12px;
  display:block;
  border-radius:999px;
  border:2px solid rgba(15,23,42,.25);
  background: rgba(15,23,42,.25);
  font-size:0;
  line-height:0;
  color:transparent;
  transition:transform .12s ease, background-color .12s ease, border-color .12s ease;
}
.toc-dots .toc-link:hover{
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.toc-dots .toc-link.is-active{
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.18);
}
/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav{
  position:fixed;
  left:0; right:0; bottom:0;
  height:64px;
  background:#fff;
  border-top:1px solid #e5e7eb;
  display:none;
  z-index:12030;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (max-width:900px){
  .mobile-bottom-nav{ display:flex; }
  body{ padding-bottom:74px; }
}
.mobile-bottom-nav a,
.mobile-bottom-nav button{
  flex:1;
  height:64px;
  border:0;
  background:transparent;
  padding:0;
  margin:0;
  cursor:pointer;
  appearance:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:#0f172a;
  font-weight:600;
  font-size:12px;
  text-decoration:none;
}
.mobile-bottom-nav svg{ width:22px; height:22px; display:block; }
.mobile-bottom-nav span{ font-size:12px; line-height:1; }
.mobile-bottom-nav a:active,
.mobile-bottom-nav button:active{ background:#f1fbf4; }

/* ===== SIDEBAR BẢNG GIÁ ===== */
.post-layout{ display:grid; grid-template-columns:100%; gap:30px; }
@media (min-width:900px){
  .post-layout.has-sidebar{
    grid-template-columns:1fr 320px !important;
    align-items:start !important;
  }
  .post-side{ margin-top:0 !important; }
  .post-side .side-box{
    position:sticky; top:110px; z-index:90;
    background:#fff; border:1px solid #e1e1e1;
    border-radius:8px; padding:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
  }
}
.side-title{
  font-weight:800; font-size:16px; margin-bottom:15px;
  text-transform:uppercase; color:#b45a1b;
  border-bottom:2px solid #ffc910;
  padding-bottom:5px;
}
.pricing-side-nav{ display:flex; flex-direction:column; gap:8px; }
.side-link{
  display:block; padding:8px 12px; border-radius:5px;
  color:#333; font-size:14px;
  border:1px solid transparent; transition:all .2s;
}
.side-link.level-0{
  font-weight:800; background:#fff9e6; border-color:#ffe082; color:#b45a1b;
}
.side-link.level-1{
  margin-left:20px;
  font-weight:500;
  border-left:3px solid #ddd;
  background:#fdfdfd;
}
.side-link.is-active{
  background:#b45a1b !important; color:#fff !important; border-color:#b45a1b !important;
}
.side-link:hover:not(.is-active){ background:#eee; }

/* ===== LANDING MENU (H2) — sticky dưới header ===== */
body.has-lp-menu:not(.landing-only){ --lp-menu-h: 52px; }

body.has-lp-menu:not(.landing-only) .lp-menu{
  position:sticky;
  top:var(--sticky-top);
  z-index:12010;
  height:var(--lp-menu-h);
  display:flex;
  align-items:center;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(124,45,10,.18);
}

body.has-lp-menu:not(.landing-only) .post-content h2,
body.has-lp-menu:not(.landing-only) .lp-section{
  scroll-margin-top: calc(var(--sticky-top) + var(--lp-menu-h));
}

body.has-lp-menu .lp-menu-inner{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding:8px 12px;
  display:flex;
  gap:8px;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
body.has-lp-menu .lp-menu-link{
  flex:0 0 auto;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(124,45,10,.22);
  background:#fff;
  color:var(--primary-color);
  font-weight:700;
  font-size:13px;
  white-space:nowrap;
}
body.has-lp-menu .lp-menu-link:hover{ background:rgba(255,201,16,.18); }
body.has-lp-menu .lp-menu-link.is-active{
  background:var(--primary-color);
  color:#fff;
  border-color:var(--primary-color);
}

/* Legacy theme (giữ nếu còn dùng .navbar/.logo) */
.navbar-brand img, .logo img { display:block; background: transparent; }
/* H1 intro layout */
.lp-intro-wrap{ width:100%; }
.lp-intro-img-left, .lp-intro-img-right{
  display:flex;
  gap:16px;
  align-items:flex-start;
}
.lp-intro-img-right{ flex-direction:row-reverse; }
.lp-intro-wrap img{
  max-width:100%;
  height:auto;
  border-radius:12px;
}
@media (max-width:900px){
  .lp-intro-img-left, .lp-intro-img-right{ flex-direction:column; }
}

/* template 2 cột (dùng chung) */
.lp-row{ display:flex; gap:16px; align-items:flex-start; }
.lp-row.lp-img-right{ flex-direction:row-reverse; }
.lp-col{ flex:1 1 0; min-width:0; }
.lp-col.lp-media{ flex:0 0 42%; }
@media (max-width:900px){
  .lp-row{ flex-direction:column; }
  .lp-col.lp-media{ flex:1 1 auto; }
}
/* ===== LANDING FULLPAGE (NO PAGE-FLIP / NO SNAP) ===== */
body.landing-fullpage main.container{
  max-width:none !important;
  padding:0 !important;
  margin-top:0 !important;
}
body.landing-fullpage .post-wrapper{
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}
body.landing-fullpage .post-layout{ display:block !important; }
body.landing-fullpage .post-main{ width:100% !important; }

/* ✅ tắt hoàn toàn kiểu “lật trang” */
body.landing-fullpage{
  background:#f4f6f8;
  scroll-snap-type:none;     /* ✅ bỏ snap */
  scroll-padding-top: 0;     /* ✅ bỏ padding snap */
}

/* ✅ section cuộn tự nhiên theo nội dung */
body.landing-fullpage .lp-section{
  position:relative;
  scroll-snap-align:none;
  scroll-snap-stop:normal;
  min-height:auto;           /* ✅ không ép 1 màn hình */
  width:100%;
  padding: clamp(12px, 2.2vw, 22px);
}

/* ✅ giữ khung trắng đẹp như cũ (card) */
body.landing-fullpage .lp-section::before{
  content:"";
  position:absolute;
  inset: clamp(12px, 2.2vw, 22px);
  background:#fff;
  border: 1px solid rgba(124,45,10,.16);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

/* ✅ nội dung không “canh giữa” như 1 trang nữa */
body.landing-fullpage .lp-block{
  position:relative;
  z-index:1;
  min-height:auto;           /* ✅ */
  display:flex;
  flex-direction:column;
  justify-content:flex-start;/* ✅ */
  padding: clamp(16px, 3vw, 60px);
}

/* ✅ tắt animation flip nếu còn class is-active */
body.landing-fullpage .lp-section.is-active .lp-block{
  animation:none !important;
}

@media (max-width:900px){
  body.landing-fullpage{ scroll-snap-type:none; }
  body.landing-fullpage .lp-section{ min-height:auto; padding:12px; }
  body.landing-fullpage .lp-section::before{ display:none; }
  body.landing-fullpage .lp-block{ padding:16px; }
}

@media (prefers-reduced-motion: reduce){
  body.landing-fullpage{ scroll-behavior:auto !important; }
}
/* ===== CATEGORY PAGE ===== */
.cat-pagination{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin:18px 0 10px;
}
.cat-pagination a{
  display:inline-flex;
  min-width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
  color:#0f172a;
  font-weight:700;
}
.cat-pagination a:hover{
  background:#f8fafc;
}
.cat-pagination a.is-active{
  background:var(--primary-color);
  color:#fff;
  border-color:var(--primary-color);
}
.cat-wrap{ padding:22px; }
.cat-head{ margin:12px 0 16px; }
.cat-head h1{ margin:0; font-size:24px; font-weight:600; color:#0f172a; }
.cat-head p{ margin:8px 0 0; color:#475569; font-size:14px; line-height:1.7; }

.cat-feature{ display:grid; grid-template-columns:2fr 1fr; gap:14px; margin-top:14px; }
.cat-hero{ background:#fff; border:1px solid #eee; border-radius:12px; overflow:hidden; }
.cat-hero img{ width:100%; height:360px; object-fit:cover; display:block; background:#eee; }
.cat-hero .t{ padding:12px 14px; font-weight:600; font-size:20px; line-height:1.25; color:#111; }
.cat-hero .ex{ padding:0 14px 14px; color:#334155; font-size:14px; line-height:1.6; }

.cat-right{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.cat-mcard{ background:#fff; border:1px solid #eee; border-radius:12px; overflow:hidden; display:block; }
.cat-mcard img{ width:100%; height:120px; object-fit:cover; display:block; background:#eee; }
.cat-mcard .t{ padding:10px 10px 12px; font-weight:600; font-size:13px; line-height:1.35; color:#111; }

.cat-grid6{ display:grid; grid-template-columns:repeat(6, 1fr); gap:12px; margin:14px 0 18px; }
.cat-scard{ background:#fff; border:1px solid #eee; border-radius:12px; overflow:hidden; display:block; }
.cat-scard img{ width:100%; height:90px; object-fit:cover; display:block; background:#eee; }
.cat-scard .t{ padding:10px; font-weight:600; font-size:13px; line-height:1.35; color:#111; }

.cat-cols-row{ display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; margin:0 0 14px; }
.cat-col{ background:#fff; border:1px solid #eee; border-radius:12px; padding:10px; }
.cat-row-item{ display:flex; gap:10px; align-items:center; padding:8px; border-radius:10px; }
.cat-row-item:hover{ background:#f8fafc; }
.cat-row-item img{ width:80px; height:60px; object-fit:cover; border-radius:8px; background:#eee; flex-shrink:0; }
.cat-row-title{
  font-weight:800; font-size:14px; line-height:1.35; color:#0f172a;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

.load-more-wrap{ display:flex; justify-content:center; margin:16px 0 8px; }
.btn-more{ padding:10px 16px; border:1px solid #e5e7eb; border-radius:12px; background:#fff; font-weight:600; cursor:pointer; }
.btn-more[disabled]{ opacity:.6; cursor:not-allowed; }

.cat-long{ margin-top:18px; padding-top:18px; border-top:1px solid #eef2f7; }
.cat-long-title{ font-size:18px; font-weight:700; color:#0f172a; margin:0 0 12px; text-transform:uppercase; }
.cat-long-body{ font-size:16px; color:#334155; }
.cat-long-body img{ max-width:100%; height:auto; }

@media (max-width:1080px){
  .cat-feature{ grid-template-columns:1fr; }
  .cat-right{ grid-template-columns:1fr 1fr; }
  .cat-grid6{ grid-template-columns:repeat(3, 1fr); }
  .cat-cols-row{ grid-template-columns:1fr; }
}
@media (max-width:768px){
  .cat-right{ grid-template-columns:1fr; }
  .cat-grid6{ grid-template-columns:repeat(2, 1fr); }
  .cat-hero img{ height:220px; }
}

/* Pricing tabs */
.pricing-panel[hidden]{ display:none !important; }
.pricing-panel{ margin-top:18px; }

/* Landing độc lập: không chừa chỗ bottom nav */
body.landing-only{ padding-bottom:0 !important; }
body.landing-only .mobile-bottom-nav,
body.landing-only .site-footer{ display:none !important; }
/* =========================
 LP MENU -> DOTS (Desktop) — làm nổi bật hơn
 ========================= */
@media (min-width:901px){
  body.has-lp-menu:not(.landing-only){ --lp-menu-h: 0px; }

  body.has-lp-menu:not(.landing-only) .lp-menu{
    position:fixed;
    top:50%;
    right: calc(var(--side-safe) + env(safe-area-inset-right, 0px));
    transform: translateY(-50%);
    z-index:12055;
    height:auto;
    background:transparent;
    border:0;
    backdrop-filter:none;
  }

  /* thêm “khung” nhẹ để dots nổi trên nền */
  body.has-lp-menu:not(.landing-only) .lp-menu-inner{
    width:auto;
    max-width:none;
    margin:0;
    padding:10px;
    display:flex;
    flex-direction:column;
    gap:10px;
    overflow:visible;
    scrollbar-width:none;

    background:rgba(255,255,255,.78);
    border:1px solid rgba(15,23,42,.12);
    border-radius:16px;
    box-shadow:0 10px 26px rgba(0,0,0,.10);
    backdrop-filter: blur(6px);
  }
  body.has-lp-menu:not(.landing-only) .lp-menu-inner::-webkit-scrollbar{ display:none; }

  body.has-lp-menu:not(.landing-only) .lp-menu-link{
    width:12px;
    height:12px;
    padding:0;
    border-radius:999px;

    /* ✅ viền đậm hơn + nền nhạt hơn */
    border:2px solid rgba(15,23,42,.55);
    background: rgba(15,23,42,.18);

    /* ✅ vòng trắng giúp nổi trên nền tối/sáng */
    box-shadow: 0 0 0 3px rgba(255,255,255,.96);

    font-size:0;
    line-height:0;
    color:transparent;
    position:relative;
    transition:transform .12s ease, background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
  }

  body.has-lp-menu:not(.landing-only) .lp-menu-link:hover{
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255,255,255,.98), 0 0 0 7px rgba(15,23,42,.10);
  }

  body.has-lp-menu:not(.landing-only) .lp-menu-link.is-active{
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.18);
    box-shadow: 0 0 0 3px rgba(255,255,255,.98), 0 0 0 8px rgba(255,201,16,.28);
  }

  body.has-lp-menu:not(.landing-only) .lp-menu-link::after{
    content: attr(aria-label);
    position:absolute;
    right: 18px;
    top:50%;
    transform: translateY(-50%);
    background:#111827;
    color:#fff;
    font-size:12px;
    line-height:1;
    padding:6px 8px;
    border-radius:10px;
    white-space:nowrap;
    opacity:0;
    pointer-events:none;
    transition:opacity .12s ease, transform .12s ease;
  }
  body.has-lp-menu:not(.landing-only) .lp-menu-link:hover::after{
    opacity:1;
    transform: translateY(-50%) translateX(-4px);
  }
}
/* ===== Landing effects ===== */
.lp-section[data-effect], .lp-section.fx { will-change: transform, opacity; }

.lp-section.fx-fade,
.lp-section[data-effect="fade"]{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.lp-section.fx-zoom,
.lp-section[data-effect="zoom"]{
  opacity:0;
  transform: scale(.965);
  transition: opacity .6s ease, transform .6s ease;
}
.lp-section.fx-slide-up,
.lp-section[data-effect="slide-up"]{
  opacity:0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s ease;
}

/* khi vào viewport */
.lp-section.fx-in{
  opacity:1 !important;
  transform:none !important;
}

/* intro dưới H1 */
/* ===== H1 intro (landing-fullpage) ===== */
body.landing-fullpage .lp-title-wrap,
body.landing-fullpage .lp-h1 .lp-block{
  width:100%;
  max-width:none;
  margin:0;
}

body.landing-fullpage .lp-h1-intro{
  width:100%;
  margin:14px 0 0;
  font-size:16px;
  line-height:1.7;
  color:#334155;
}

body.landing-fullpage .lp-h1-intro .lp-row,
body.landing-fullpage .lp-h1-intro .lp-intro-wrap{
  width:100%;
}

/* ✅ chốt: img-right phải đảo */
body.landing-fullpage .lp-h1-intro .lp-row.lp-img-right{
  flex-direction:row-reverse !important;
}

/* media fit full cột */
body.landing-fullpage .lp-h1-intro .lp-col.lp-media img,
body.landing-fullpage .lp-h1-intro .lp-col.lp-media iframe,
body.landing-fullpage .lp-h1-intro .lp-col.lp-media video{
  width:100% !important;
  height:auto !important;
  margin:0 !important;
  display:block;
}

body.landing-fullpage .lp-h1-intro .lp-col.lp-media{
  flex:0 0 48%;
}
/* ✅ GRID DỰ ÁN (chỉ dùng ở page id=4) */
.duan-wrap{margin:18px 0 6px;}
.duan-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0 12px;}
.duan-head h2{margin:0;font-size:22px;line-height:1.25;font-weight:900;color:#0f172a;}
.duan-head p{margin:0;color:#475569;font-size:13px;line-height:1.6;max-width:720px}

.duan-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}
@media (max-width: 900px){
  .duan-grid{grid-template-columns:1fr;gap:14px;}
}

.duan-card{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.duan-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 34px rgba(0,0,0,.10);
  border-color:rgba(15,23,42,.18);
}
.duan-thumb{background:#eef2f7;aspect-ratio:16/10;}
.duan-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.duan-body{padding:12px 12px 14px;display:flex;flex-direction:column;gap:8px;flex:1;}
.duan-name{
  font-weight:900;
  color:#0f172a;
  font-size:15px;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.duan-desc{
  color:#475569;
  font-size:13px;
  line-height:1.65;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.duan-cta{
  margin-top:auto;
  font-weight:900;
  color:var(--primary-color, #0b5d7a);
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.duan-more{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 2px;
}
.duan-more-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e5e7eb;
  border-radius:999px;
  padding:12px 18px;
  background:#fff;
  color:#0f172a;
  font-weight:900;
}
.duan-more-link:hover{
  background:#f8fafc;
}

.duan-more button{
  border:0;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  cursor:pointer;
  background:var(--primary-color, #0b5d7a);
  color:#fff;
  box-shadow:0 10px 22px rgba(0,0,0,.10);
}
.duan-more button:hover{opacity:.95}
.duan-more button:disabled{opacity:.6;cursor:not-allowed}
 /* ====== SLIDER (banner) — FIX: không bị "bé" ====== */
  .lp-slider-section .lp-block{ padding:0 !important; } /* đè inline padding */

  .lp-slider{
    position:relative;
    overflow:hidden;
    border-radius:18px;
    background:#eef2f7;
    border:1px solid rgba(15,23,42,.10);
    width:100%;

    /* ✅ CHỐT: đặt chiều cao thật cho slider */
    height: min(80vh, 680px);
  }
  @media (max-width:900px){
    .lp-slider{ height: min(70vh, 460px); }
  }

  .lp-slider .lp-track{
    display:flex;
    width:100%;
    height:100%;
    transition:transform .45s ease;
  }

  .lp-slider .lp-slide{
    min-width:100%;
    height:100%;
    margin:0;
    position:relative;
  }

  /* ✅ ảnh luôn phủ kín slider, không bị CSS .post-content img phá */
  .lp-slider .lp-slide img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center;
    display:block;

    max-width:100% !important;
    margin:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }

  .lp-slider .lp-cap{
    position:absolute;
    left:14px; right:14px; bottom:14px;
    background:rgba(17,24,39,.55);
    color:#fff;
    padding:12px 14px;
    border-radius:14px;
    backdrop-filter: blur(6px);
  }
  .lp-cap-title{font-weight:900; font-size:18px; line-height:1.25}
  .lp-cap-desc{opacity:.92; margin-top:6px; font-size:13px; line-height:1.5}

  .lp-nav{
    position:absolute; top:50%; transform:translateY(-50%);
    width:44px;height:44px;border-radius:999px;border:0; cursor:pointer;
    background:rgba(255,255,255,.92);
    box-shadow:0 10px 22px rgba(0,0,0,.12);
    font-size:28px; line-height:44px;
    z-index:5;
  }
  .lp-prev{left:10px}
  .lp-next{right:10px}

  .lp-dots{
    position:absolute; left:0; right:0; bottom:10px;
    display:flex; justify-content:center; gap:8px;
    z-index:6;
  }
  .lp-dot{
    width:10px;height:10px;border-radius:999px;border:0; cursor:pointer;
    background:rgba(255,255,255,.55);
  }
  .lp-dot.is-active{background:#fff; transform:scale(1.15)}

  @media (max-width:900px){
    .lp-nav{width:40px;height:40px; font-size:24px; line-height:40px}
  }

.directory-page__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.page-main-spaced{ margin-top:18px; }

.search-page__wrap{ padding:22px; }
.search-page__title{ margin:0 0 14px; font-size:22px; }
.search-page__list{ display:grid; gap:12px; }

.search-page__card{
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  padding:14px;
  display:block;
}

.search-page__card-title{
  font-weight:600;
  color:#0f172a;
  line-height:1.35;
}

.search-page__date{
  font-size:12px;
  color:#64748b;
  margin-top:6px;
}

.search-page__excerpt{
  font-size:14px;
  color:#334155;
  margin-top:8px;
  line-height:1.6;
}
.directory-page__wrap{ padding:22px; }
.directory-page__title{ margin:0 0 12px; }

.directory-page__card{
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  padding:12px;
  display:block;
}

.directory-page__card-title{
  font-weight:800;
  color:#0f172a;
}

@media (max-width:768px){
  .directory-page__grid{ grid-template-columns:1fr; }
}
.pricing-support{
  margin-top:20px;
  padding-top:15px;
  border-top:1px dashed #ccc;
  text-align:center;
}

.pricing-support__label{
  font-size:13px;
  color:#666;
  margin-bottom:5px;
}

.pricing-support__phone{
  color:#d32f2f;
  font-weight:800;
  font-size:20px;
  text-decoration:none;
}
.maybe-interested--related{ margin-top:40px; }

/* =========================
   RESPONSIVE
========================= */
@media (min-width:901px){
  .menu-toggle,
  .mobile-drawer,
  .drawer-backdrop,
  #mobileMenu{
    display:none !important;
  }

  .desktop-nav{
    display:block !important;
  }
}

@media (max-width:900px){
  :root{
    --header-h:60px;
    --drawer-w:100vw;
    --side-safe:12px;
  }

  .desktop-nav{
    display:none !important;
  }

  .menu-toggle{
    display:inline-flex !important;
  }

  .topbar-inner{
    min-height:60px;
    gap:10px;
  }

  .brand img{
    height:36px;
    max-width:160px;
  }

  .topbar-hotline,
  .social.social-topbar{
    display:none !important;
  }

  .search-wrap{
    flex:1 1 auto;
    min-width:0;
  }

  .search-form{
    width:100% !important;
    max-width:100% !important;
    height:40px;
    background:#fff;
    border:1px solid rgba(15,23,42,.12);
    border-radius:10px;
  }

  .search-input{
    flex:1 1 auto;
    width:auto !important;
    min-width:0 !important;
    height:40px;
    line-height:40px;
    padding:0 12px;
    opacity:1;
    pointer-events:auto;
  }

  .search-btn{
    flex:0 0 44px;
    height:40px;
    border:0 !important;
    background:transparent !important;
    color:#0f172a !important;
  }

  .site-footer.footer-v2 .footer-blue-inner{
    grid-template-columns:1fr;
    gap:16px;
  }
}
/* =========================
   404 PAGE ONLY
========================= */
.page-404 .error404-wrap{
  max-width: 920px;
  text-align: center;
}

.page-404 .post-wrapper.error404-wrap{
  padding: 32px 24px;
}

.error404-code{
  font-size: 72px;
  line-height: 1;
  font-weight: 900;
  color: var(--primary-color);
  margin: 0 0 12px;
}

.error404-title{
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.3;
  color: #0f172a;
}

.error404-desc{
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
}

.error404-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.error404-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
}

.error404-btn.is-primary{
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.page-404 .maybe-interested{
  margin-top: 24px;
}

@media (max-width: 768px){
  .page-404 .post-wrapper.error404-wrap{
    padding: 22px 14px;
  }

  .error404-code{
    font-size: 52px;
  }

  .error404-title{
    font-size: 24px;
  }

  .error404-desc{
    font-size: 15px;
  }

  .error404-actions{
    gap: 10px;
  }
}
/* =========================
   FIX DOTS: luôn nằm bên phải + theo màu header
========================= */
@media (min-width:901px){

  /* ===== TOC DOTS của bài viết thường ===== */
  .toc-dots{
    left: auto !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 12090 !important;
  }

  .toc-dots .toc-box{
    background: rgba(255,255,255,.88) !important;
    border: 1px solid rgba(15,23,42,.10) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.10) !important;
    backdrop-filter: blur(6px);
    padding: 10px !important;
  }

  .toc-dots .toc-link{
    width: 12px !important;
    height: 12px !important;
    border-radius: 999px !important;

    /* màu theo header */
    border: 2px solid var(--header-bg, var(--primary-color, #0b5d7a)) !important;
    background: #ffffff !important;

    box-shadow: 0 0 0 3px rgba(255,255,255,.96) !important;
    transition: transform .12s ease, background-color .12s ease, border-color .12s ease, box-shadow .12s ease !important;
  }

  .toc-dots .toc-link:hover,
  .toc-dots .toc-link.is-active{
    background: var(--header-bg, var(--primary-color, #0b5d7a)) !important;
    border-color: var(--header-bg, var(--primary-color, #0b5d7a)) !important;
    transform: scale(1.18) !important;
    box-shadow: 0 0 0 3px rgba(255,255,255,.98), 0 0 0 8px rgba(11,93,122,.18) !important;
  }

  /* ===== LP MENU DOTS của landing ===== */
  body.has-lp-menu:not(.landing-only) .lp-menu{
    left: auto !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 12095 !important;
  }

  body.has-lp-menu:not(.landing-only) .lp-menu-inner{
    background: rgba(255,255,255,.88) !important;
    border: 1px solid rgba(15,23,42,.10) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.10) !important;
    backdrop-filter: blur(6px);
    padding: 10px !important;
  }

  body.has-lp-menu:not(.landing-only) .lp-menu-link{
    width: 12px !important;
    height: 12px !important;
    padding: 0 !important;
    border-radius: 999px !important;

    /* màu theo header */
    border: 2px solid var(--header-bg, var(--primary-color, #0b5d7a)) !important;
    background: #ffffff !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;

    box-shadow: 0 0 0 3px rgba(255,255,255,.96) !important;
  }

  body.has-lp-menu:not(.landing-only) .lp-menu-link:hover,
  body.has-lp-menu:not(.landing-only) .lp-menu-link.is-active{
    background: var(--header-bg, var(--primary-color, #0b5d7a)) !important;
    border-color: var(--header-bg, var(--primary-color, #0b5d7a)) !important;
    transform: scale(1.18) !important;
    box-shadow: 0 0 0 3px rgba(255,255,255,.98), 0 0 0 8px rgba(11,93,122,.18) !important;
  }
}

/* =========================================================
   HOME FINAL 2026 — CLEAN / MATCH SAMPLE / FAST
========================================================= */
.page-home.page-home-pro{
  --home-max: 1368px;
  --home-gap: 44px;
  --home-blue: var(--header-bg, #0b5d7a);
  --home-text: #0f172a;
  --home-muted: #475569;
  --home-line: rgba(11,93,122,.22);
  --home-border: rgba(15,23,42,.10);
  --home-shadow: 0 18px 40px rgba(15,23,42,.08);
  --home-shadow-soft: 0 10px 24px rgba(15,23,42,.06);
}

.page-home.page-home-pro{
  padding: 16px 0 34px;
  background: #f3f5f7;
}

.page-home.page-home-pro .homev2-wrap{
  width: min(var(--home-max), calc(100vw - 20px));
  margin: 0 auto;
  padding: 0;
}

/* ===== HERO HEAD ===== */
.page-home.page-home-pro .homev2-head{
  margin: 0 0 20px;
  padding: 34px 36px 30px;
  background: linear-gradient(180deg,#ffffff,#f8fbff);
  border: 1px solid var(--home-border);
  border-radius: 24px;
  box-shadow: var(--home-shadow-soft);
}

.page-home.page-home-pro .homev2-h1{
  margin: 0 0 40px;
  width: 100%;
  max-width: 1380px;

  font-size: clamp(22px, 2.2vw, 22px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.02em;

  color: #081129;
  text-wrap: balance;
}

.page-home.page-home-pro .homev2-sub{
  margin: 0;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.8;
  color: var(--home-muted);
}

/* ===== TOP BANNER ===== */
.page-home.page-home-pro .home-banner{
  position: relative;
  width: min(var(--home-max), calc(100vw - 20px));
  max-width: var(--home-max);
  margin: 0 auto 18px;
  height: 480px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--home-border);
  box-shadow: var(--home-shadow);
  background: #dbe4ee;
}

.page-home.page-home-pro .home-banner-track{
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}

.page-home.page-home-pro .home-banner-slide{
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: block;
}

.page-home.page-home-pro .home-banner-slide::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,.08), rgba(2,6,23,.16) 46%, rgba(2,6,23,.48));
}

.page-home.page-home-pro .home-banner-slide img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-home.page-home-pro .home-banner-caption{
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: inline-block;
  width: fit-content;
  max-width: min(88%, 760px);
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(15,23,42,.40);
  color: #fff;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.3;
  font-weight: 1000;
  backdrop-filter: blur(8px);
}

.page-home.page-home-pro .home-banner-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--home-blue);
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(2,6,23,.16);
}

.page-home.page-home-pro .home-banner-nav.prev{ left: 14px; }
.page-home.page-home-pro .home-banner-nav.next{ right: 14px; }

.page-home.page-home-pro .home-banner-dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.page-home.page-home-pro .home-banner-dot{
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}

.page-home.page-home-pro .home-banner-dot.is-active{
  background: #fff;
  transform: scale(1.12);
}

/* ===== REVEAL ===== */
.page-home.page-home-pro .home-reveal{
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0s);
}

.page-home.page-home-pro .home-reveal.reveal-up{
  transform: translateY(28px);
}
.page-home.page-home-pro .home-reveal.reveal-side{
  transform: translateX(28px);
}

.page-home.page-home-pro .homebox-item.rev.home-reveal.reveal-side{
  transform: translateX(-28px);
}

.page-home.page-home-pro .home-reveal.is-visible{
  opacity: 1 !important;
  transform: none !important;
}

/* ===== 6 BOX HOME — MATCH SAMPLE ===== */
.page-home.page-home-pro .homebox-wrap{
  display: grid;
  gap: var(--home-gap);
  margin: 18px 0 54px;
}

.page-home.page-home-pro .homebox-item{
  display: grid;
  grid-template-columns: minmax(0,56%) minmax(320px,44%);
  align-items: center;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  min-height: 0;
}

.page-home.page-home-pro .homebox-item.rev{
  grid-template-columns: minmax(320px,44%) minmax(0,56%);
}

.page-home.page-home-pro .homebox-card{
  min-width: 0;
}

.page-home.page-home-pro .homebox-img{
  position: relative;
  z-index: 1;
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.page-home.page-home-pro .homebox-item.rev .homebox-img{
  order: 2;
}

.page-home.page-home-pro .homebox-img img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1100 / 620;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(15,23,42,.07);
}

.page-home.page-home-pro .homebox-card{
  position: relative;
  z-index: 2;
  align-self: center;
  width: calc(100% + 88px);
  max-width: none;
  margin-left: -88px;
  padding: 30px 34px 24px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-bottom: 3px solid var(--home-blue);
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
}

.page-home.page-home-pro .homebox-item.rev .homebox-card{
  order: 1;
  width: calc(100% + 88px);
  max-width: none;
  margin-left: 0;
  margin-right: -88px;
  justify-self: stretch;
}

.page-home.page-home-pro .homebox-title{
  margin: 0 0 14px;

  font-size: clamp(24px, 1.9vw, 32px);
  line-height: 1.22;
  font-weight: 500;

  letter-spacing: -0.01em;
  color: #0b1533;
}

.page-home.page-home-pro .homebox-desc{
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
  color: #526075;
  word-break: break-word;
}

.page-home.page-home-pro .homebox-desc p{
  margin: 0 0 10px;
  font-size: inherit;
  line-height: inherit;
}

.page-home.page-home-pro .homebox-desc p:last-child{
  margin-bottom: 0;
}

.page-home.page-home-pro .homebox-more{
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.page-home.page-home-pro .homebox-more::before{
  content: "»";
  line-height: 1;
}

.page-home.page-home-pro .homebox-more:hover{
  opacity: .86;
  color: var(--home-blue);
}

/* ===== SLIDER DỰ ÁN ===== */
.page-home.page-home-pro .hkS{
  margin: 0 0 20px;
  padding: 18px;
  background: linear-gradient(180deg,#fff,#f8fbff);
  border: 1px solid var(--home-border);
  border-radius: 24px;
  box-shadow: var(--home-shadow-soft);
}

.page-home.page-home-pro .hkS-inner{
  position: relative;
}

.page-home.page-home-pro .hkS-h2{
  margin: 0 0 18px;

  font-size: clamp(26px, 2vw, 36px);
  line-height: 1.55;
  font-weight: 600;

  letter-spacing: -0.02em;
  color: var(--home-text);

  text-align: center;
}

.page-home.page-home-pro .hkS-track{
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-home.page-home-pro .hkS-track::-webkit-scrollbar{ display:none; }

.page-home.page-home-pro .hkS-card{
  flex: 0 0 calc((100% - 28px) / 3);
  height: clamp(320px, 34vw, 500px);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #e2e8f0;
  border: 1px solid var(--home-border);
  box-shadow: 0 12px 28px rgba(2,6,23,.08);
  scroll-snap-align: start;
}

@media (min-width:1100px){
  .page-home.page-home-pro .hkS-card{
    flex-basis: calc((100% - 42px) / 4);
  }
}

.page-home.page-home-pro .hkS-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home.page-home-pro .hkS-title{
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(2,6,23,.10), rgba(2,6,23,.66));
  font-size: 14px;
  line-height: 1.45;
  font-weight: 900;
  color: #fff;
}

.page-home.page-home-pro .hkS-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--home-blue);
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(2,6,23,.16);
}

.page-home.page-home-pro .hkS-nav.prev{ left: 10px; }
.page-home.page-home-pro .hkS-nav.next{ right: 10px; }

/* ===== WHY + FORM ===== */
.page-home.page-home-pro .whyhc-wrap{
  margin: 0 0 20px;
}

.page-home.page-home-pro .whyhc-box{
  padding: 16px;
  background: linear-gradient(180deg,#fff,#f8fbff);
  border: 1px solid var(--home-border);
  border-radius: 24px;
  box-shadow: var(--home-shadow-soft);
}

.page-home.page-home-pro .whyhc-grid{
  display: grid;
  grid-template-columns: minmax(0,1.22fr) minmax(340px,.88fr);
  gap: 18px;
  align-items: start;
}

.page-home.page-home-pro .whyhc-left,
.page-home.page-home-pro .whyhc-right{
  min-width: 0;
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 22px;
}

.page-home.page-home-pro .whyhc-left{
  padding: 22px;
}

.page-home.page-home-pro .whyhc-left h2{
  margin: 0 0 16px;

  font-size: clamp(26px, 2vw, 36px);
  line-height: 1.24;
  font-weight: 500;

  letter-spacing: -0.02em;
  color: var(--home-text);

  text-wrap: balance;
}

.page-home.page-home-pro .whyhc-sub{
  font-size: 15px;
  line-height: 1.85;
  color: var(--home-muted);
}

.page-home.page-home-pro .whyhc-sub p{
  margin: 0 0 10px;
  font-size: inherit;
  line-height: inherit;
}

.page-home.page-home-pro .whyhc-bullets{
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.page-home.page-home-pro .whyhc-bullets li{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11,93,122,.05);
  border: 1px solid rgba(11,93,122,.10);
  font-size: 14px;
  color: #1f2937;
}

.page-home.page-home-pro .whyhc-bullets .tick{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f766e;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.page-home.page-home-pro .whyhc-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 16px;
  font-size: 14px;
}

.page-home.page-home-pro .whyhc-table th,
.page-home.page-home-pro .whyhc-table td{
  border: 1px solid rgba(11,93,122,.14);
  padding: 10px 10px;
  vertical-align: top;
  text-align: left;
}

.page-home.page-home-pro .whyhc-table thead th{
  background: rgba(11,93,122,.08);
  color: var(--home-text);
  font-weight: 900;
}

.page-home.page-home-pro .whyhc-kpis{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.page-home.page-home-pro .whyhc-kpi{
  padding: 16px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(15,118,110,.35);
  text-align: center;
  background: #fff;
}

.page-home.page-home-pro .whyhc-kpi b{
  display: block;
  font-size: 38px;
  line-height: 1;
  font-weight: 1000;
  color: #0f766e;
}

.page-home.page-home-pro .whyhc-kpi span{
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--home-text);
}

.page-home.page-home-pro .whyhc-contact-card{
  padding: 22px;
}

.page-home.page-home-pro .whyhc-contact-title{
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--home-text);
}

.page-home.page-home-pro .whyhc-contact-desc{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--home-muted);
}

.page-home.page-home-pro .whyhc-form{
  display: grid;
  gap: 12px;
}

.page-home.page-home-pro .whyhc-hp{
  display: none !important;
}

.page-home.page-home-pro .whyhc-form input,
.page-home.page-home-pro .whyhc-form textarea{
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.page-home.page-home-pro .whyhc-form input::placeholder,
.page-home.page-home-pro .whyhc-form textarea::placeholder{
  color: #94a3b8;
}

.page-home.page-home-pro .whyhc-form input:focus,
.page-home.page-home-pro .whyhc-form textarea:focus{
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.page-home.page-home-pro .whyhc-form textarea{
  min-height: 132px;
  resize: vertical;
}

.page-home.page-home-pro .whyhc-captcha-label{
  margin: 2px 0 -2px;
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
}

.page-home.page-home-pro .whyhc-form button{
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--home-blue), #2563eb);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  padding: 14px 18px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(37,99,235,.22);
}

.page-home.page-home-pro .whyhc-form button:hover{
  opacity: .96;
}

.page-home.page-home-pro .whyhc-form button:disabled{
  opacity: .65;
  cursor: not-allowed;
  box-shadow: none;
}

.page-home.page-home-pro .whyhc-status{
  min-height: 22px;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
}

.page-home.page-home-pro .whyhc-contact-note{
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.65;
  color: #64748b;
}

/* ===== FAQ PATCH FINAL — full width 1380, heading giữa page, giữ 2 cột ===== */
.page-home.page-home-pro .faq2-wrap{
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 10px 0 6px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* text giữa page */
.page-home.page-home-pro .faq2-head{
  width: 100%;
  text-align: center;
  margin: 0 0 18px;
}

.page-home.page-home-pro .faq2-kicker{
  margin: 0 0 10px;
  text-align: center;
}

.page-home.page-home-pro .faq2-title{
  margin: 0;
  text-align: center;
}

/* giữ 2 cột */
.page-home.page-home-pro .faq2-item{
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
}

.page-home.page-home-pro .faq2-item summary{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  cursor: pointer;

  padding: 0 2px 10px 26px;
  border: 0;
  border-bottom: 1px solid #1f5fff;
  border-radius: 0 0 14px 14px;
  background: transparent;

  color: #1153ff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.95;
}

.page-home.page-home-pro .faq2-item summary::-webkit-details-marker{
  display: none;
}

/* nét cong bên trái */
.page-home.page-home-pro .faq2-item summary::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 18px;
  height: 24px;
  border-left: 1px solid #1f5fff;
  border-bottom: 1px solid #1f5fff;
  border-bottom-left-radius: 16px;
}

/* icon mảnh */
.page-home.page-home-pro .faq2-ico{
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #1153ff;
}

.page-home.page-home-pro .faq2-ico::before{
  content: "+";
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.page-home.page-home-pro .faq2-item[open] .faq2-ico::before{
  content: "−";
  font-size: 16px;
  font-weight: 300;
}

/* tam giác item mở */
.page-home.page-home-pro .faq2-item[open] summary::after{
  content: "";
  position: absolute;
  left: 44px;
  bottom: -8px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #1f5fff;
}

.page-home.page-home-pro .faq2-body{
  margin-top: 16px;
  padding: 4px 10px 0 18px;
  color: #334155;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.95;
}

.page-home.page-home-pro .faq2-body p{
  margin: 0 0 10px;
}

.page-home.page-home-pro .faq2-body ul{
  margin: 0 0 8px 16px;
  padding: 0;
}

.page-home.page-home-pro .faq2-body li{
  margin: 4px 0;
}
.page-home.page-home-pro .faq2-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.page-home.page-home-pro .faq2-col{
  min-width: 0;
}
@media (max-width: 900px){
  .page-home.page-home-pro .faq2-wrap{
    padding: 8px 0 4px;
  }

  .page-home.page-home-pro .faq2-grid{
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-home.page-home-pro .faq2-item{
    margin-bottom: 14px;
  }

  .page-home.page-home-pro .faq2-item summary{
    padding: 0 2px 10px 20px;
    font-size: 14px;
  }

  .page-home.page-home-pro .faq2-item summary::before{
    width: 16px;
    height: 14px;
  }

  .page-home.page-home-pro .faq2-item[open] summary::after{
    left: 30px;
  }

  .page-home.page-home-pro .faq2-body{
    padding: 4px 4px 0 10px;
    margin-top: 16px;
  }
}
/* ===== IMAGE HOVER ZOOM — bổ sung, không phá cấu trúc cũ ===== */

/* wrapper cần overflow hidden để zoom không tràn */
.page-home.page-home-pro .home-banner-slide,
.grid-box-hero,
.top-big-post,
.main-post,
.sub-item,
.cat-row-item,
.sec-thu-vien .slide-thuvien .box-img{
  overflow: hidden;
}

/* ảnh zoom mượt */
.page-home.page-home-pro .home-banner-slide img,
.page-home.page-home-pro .homebox-img img,
.page-home.page-home-pro .hkS-card img,
.home-card img,
.grid-box-hero img,
.top-big-post img,
.main-post .thumb,
.sub-item .thumb,
.cat-hero img,
.cat-mcard img,
.cat-scard img,
.cat-row-item img,
.maybe-thumb img,
.sec-thu-vien .slide-thuvien .box-img img{
  transform: scale(1);
  transition: transform .55s ease, filter .35s ease;
  will-change: transform;
}

/* zoom khi rê chuột */
.page-home.page-home-pro .home-banner:hover .home-banner-slide img,
.page-home.page-home-pro .homebox-img:hover img,
.page-home.page-home-pro .hkS-card:hover img,
.home-card:hover img,
.grid-box:hover .grid-box-hero img,
.top-big-post:hover img,
.main-post:hover .thumb,
.sub-item:hover .thumb,
.cat-hero:hover img,
.cat-mcard:hover img,
.cat-scard:hover img,
.cat-row-item:hover img,
.maybe-item:hover .maybe-thumb img,
.sec-thu-vien .slide-thuvien .box-img:hover img{
  transform: scale(1.06);
}

/* riêng banner/slider zoom nhẹ hơn để không quá gắt */
.page-home.page-home-pro .home-banner:hover .home-banner-slide img,
.page-home.page-home-pro .hkS-card:hover img{
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce){
  .page-home.page-home-pro .home-banner-slide img,
  .page-home.page-home-pro .homebox-img img,
  .page-home.page-home-pro .hkS-card img,
  .home-card img,
  .grid-box-hero img,
  .top-big-post img,
  .main-post .thumb,
  .sub-item .thumb,
  .cat-hero img,
  .cat-mcard img,
  .cat-scard img,
  .cat-row-item img,
  .maybe-thumb img,
  .sec-thu-vien .slide-thuvien .box-img img{
    transition: none !important;
  }
}

/* =========================================================
   MOBILE FULL WIDTH — TOÀN SITE
   chèn CUỐI file style.css
========================================================= */
@media (max-width: 900px){

  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  body{
    margin:0;
  }

  /* wrapper toàn site */
  main,
  section,
  .container,
  .post-wrapper,
  .post-layout,
  .post-main,
  .homev2-wrap,
  .faq2-wrap,
  .hkS,
  .whyhc-box,
  .cat-wrap,
  .directory-page__wrap,
  .search-page__wrap,
  .top-hot-wrapper,
  .cat-row,
  .cat-grid2,
  .cat-grid4,
  .directory-section,
  .most-download,
  .maybe-interested,
  .home-feature,
  .home-grid6{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  /* bỏ khung card desktop trên mobile */
  .post-wrapper{
    border-radius:0 !important;
    box-shadow:none !important;
  }

  /* padding mobile đồng bộ toàn site */
  .container,
  .post-wrapper,
  .homev2-wrap,
  .faq2-wrap,
  .hkS,
  .whyhc-box,
  .cat-wrap,
  .directory-page__wrap,
  .search-page__wrap,
  .top-hot-wrapper,
  .most-download,
  .maybe-interested{
    padding-left:12px !important;
    padding-right:12px !important;
  }

  /* những block đang bị co theo box-xx / wxx */
  .w80,
  .w85,
  .w90,
  .w95,
  .w100,
  .box-85,
  .box-90,
  .box-95{
    width:100% !important;
    max-width:100% !important;
  }

  /* home banner / block full width */
  .page-home.page-home-pro,
  .page-home.page-home-pro .homev2-wrap,
  .page-home.page-home-pro .home-banner,
  .page-home.page-home-pro .homebox-wrap,
  .page-home.page-home-pro .homebox-item,
  .page-home.page-home-pro .homebox-img,
  .page-home.page-home-pro .homebox-card,
  .page-home.page-home-pro .hkS,
  .page-home.page-home-pro .whyhc-box,
  .page-home.page-home-pro .faq2-wrap{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  /* ảnh / media không vượt màn hình */
  img,
  video,
  iframe,
  svg{
    max-width:100%;
    height:auto;
  }

  /* grid toàn site về 1 cột khi cần */
  .cat-row,
  .cat-grid2,
  .cat-grid4,
  .news-box .box-body,
  .top-hot-wrapper,
  .home-feature,
  .cat-feature,
  .cat-cols-row,
  .whyhc-grid,

  /* card danh mục / search / directory sát mobile hơn */
  .directory-page__card,
  .search-page__card,
  .grid-box,
  .cat-col,
  .cat-hero,
  .cat-mcard,
  .cat-scard,
  .home-card{
    border-radius:12px !important;
  }
}
/* =========================================================
   HOME MOBILE REWRITE — CLEAN
   fix 6 box + slider dự án hot
========================================================= */
@media (max-width: 900px){

  /* ===== 6 BOX HOME ===== */
  .page-home.page-home-pro .homebox-wrap,
  .homebox-wrap{
    gap: 20px !important;
  }

  .page-home.page-home-pro .homebox-item,
  .page-home.page-home-pro .homebox-item.rev,
  .homebox-item,
  .homebox-item.rev{
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow: hidden !important;
  }

  /* luôn cho ảnh lên trên, text xuống dưới trên mobile */
  .page-home.page-home-pro .homebox-item > .homebox-img,
  .page-home.page-home-pro .homebox-item.rev > .homebox-img,
  .homebox-item > .homebox-img,
  .homebox-item.rev > .homebox-img{
    order: 1 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .page-home.page-home-pro .homebox-item > .homebox-card,
  .page-home.page-home-pro .homebox-item.rev > .homebox-card,
  .homebox-item > .homebox-card,
  .homebox-item.rev > .homebox-card{
    order: 2 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px 14px !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: none !important;
  }

  .page-home.page-home-pro .homebox-item > .homebox-img img,
  .page-home.page-home-pro .homebox-item.rev > .homebox-img img,
  .homebox-item > .homebox-img img,
  .homebox-item.rev > .homebox-img img{
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    aspect-ratio: 1100 / 620 !important;
    object-fit: cover !important;
    border-radius: 12px 12px 0 0 !important;
  }

  .page-home.page-home-pro .homebox-title,
  .page-home.page-home-pro .homebox-desc,
  .page-home.page-home-pro .homebox-desc p,
  .homebox-title,
  .homebox-desc,
  .homebox-desc p{
    text-align: left !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  /* reset kéo âm desktop */
  .page-home.page-home-pro .homebox-card,
  .page-home.page-home-pro .homebox-item.rev .homebox-card,
  .homebox-card{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ===== SLIDER DỰ ÁN HOT ===== */
  .page-home.page-home-pro .hkS,
  .hkS{
    padding: 12px !important;
    overflow: hidden !important;
  }

  .page-home.page-home-pro .hkS-track,
  .hkS-track{
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .page-home.page-home-pro .hkS-track::-webkit-scrollbar,
  .hkS-track::-webkit-scrollbar{
    display: none;
  }

  /* ép toàn bộ item trong track về 1 cột full */
  .hkS-card,
  .page-home.page-home-pro .hkS-track > .hkS-card,
  .hkS-track > .hkS-card,
  .page-home.page-home-pro .hkS-track > * ,
  .hkS-track > *{
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    scroll-snap-align: start !important;
  }

  .page-home.page-home-pro .hkS-card,
  .hkS-card{
    height: 360px !important;
    border-radius: 16px !important;
  }

  .page-home.page-home-pro .hkS-card img,
  .hkS-card img{
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .page-home.page-home-pro .hkS-title,
  .hkS-title{
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .page-home.page-home-pro .hkS-nav,
  .hkS-nav{
    width: 38px !important;
    height: 38px !important;
    font-size: 22px !important;
  }
}
/* =========================================
   HOME MOBILE FULL WIDTH FINAL
========================================= */
@media (max-width: 900px){

  .page-home.page-home-pro{
    padding: 0 0 20px !important;
  }

  .page-home.page-home-pro .home-banner,
  .page-home.page-home-pro .homev2-wrap,
  .page-home.page-home-pro .hkS,
  .page-home.page-home-pro .whyhc-wrap,
  .page-home.page-home-pro .whyhc-box,
  .page-home.page-home-pro .faq2-wrap,
  .page-home.page-home-pro .homebox-wrap{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-home.page-home-pro .homev2-wrap{
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  .page-home.page-home-pro .home-banner{
    border-radius: 0 !important;
    height: 220px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-home.page-home-pro .home-banner-slide img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .page-home.page-home-pro .home-banner-caption{
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    max-width: calc(100% - 24px) !important;
    font-size: 14px !important;
    padding: 8px 10px !important;
  }

  .page-home.page-home-pro .homev2-head,
  .page-home.page-home-pro .hkS,
  .page-home.page-home-pro .whyhc-box{
    border-radius: 16px !important;
    padding: 14px !important;
  }

  .page-home.page-home-pro .homev2-head{
    margin-top: 12px !important;
  }

  .page-home.page-home-pro .homev2-h1{
    margin-bottom: 14px !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .page-home.page-home-pro .homev2-sub{
    font-size: 14px !important;
    line-height: 1.75 !important;
  }

  .page-home.page-home-pro .homebox-wrap{
    gap: 18px !important;
    margin: 16px 0 26px !important;
  }

  .page-home.page-home-pro .homebox-item,
  .page-home.page-home-pro .homebox-item.rev{
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    overflow: hidden !important;
  }

  .page-home.page-home-pro .homebox-item > .homebox-img,
  .page-home.page-home-pro .homebox-item.rev > .homebox-img{
    order: 1 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .page-home.page-home-pro .homebox-item > .homebox-card,
  .page-home.page-home-pro .homebox-item.rev > .homebox-card{
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 14px 12px !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  .page-home.page-home-pro .homebox-img img{
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1100 / 620 !important;
    object-fit: cover !important;
    border-radius: 12px 12px 0 0 !important;
  }

  .page-home.page-home-pro .homebox-title{
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }

  .page-home.page-home-pro .homebox-desc{
    font-size: 14px !important;
    line-height: 1.75 !important;
  }

  .page-home.page-home-pro .hkS-track{
    gap: 0 !important;
  }

  .page-home.page-home-pro .hkS-card{
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 260px !important;
    border-radius: 14px !important;
  }

  .page-home.page-home-pro .hkS-card img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .page-home.page-home-pro .hkS-title{
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .page-home.page-home-pro .whyhc-grid{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .page-home.page-home-pro .whyhc-left,
  .page-home.page-home-pro .whyhc-right{
    border-radius: 16px !important;
  }

  .page-home.page-home-pro .whyhc-left{
    padding: 14px !important;
  }

  .page-home.page-home-pro .whyhc-left h2{
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .page-home.page-home-pro .whyhc-sub,
  .page-home.page-home-pro .whyhc-contact-desc{
    font-size: 14px !important;
    line-height: 1.75 !important;
  }

  .page-home.page-home-pro .whyhc-kpis{
    grid-template-columns: 1fr !important;
  }

  .page-home.page-home-pro .whyhc-contact-card{
    padding: 14px !important;
  }

  .page-home.page-home-pro .faq2-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .page-home.page-home-pro .faq2-wrap{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-home.page-home-pro .faq2-item summary{
    font-size: 14px !important;
    line-height: 1.8 !important;
  }

  .page-home.page-home-pro .faq2-body{
    font-size: 14px !important;
    line-height: 1.8 !important;
  }
}
/* =========================================================
   MOBILE FULL WIDTH FINAL FIX
   dán cuối file style.css
========================================================= */
@media (max-width: 900px){

  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden !important;
  }

  body{
    margin:0;
  }

  .container,
  .post-wrapper,
  .cat-wrap,
  .directory-page__wrap,
  .search-page__wrap,
  .top-hot-wrapper,
  .most-download,
  .maybe-interested,
  .page-home.page-home-pro .homev2-wrap,
  .page-home.page-home-pro .hkS,
  .page-home.page-home-pro .whyhc-box,
  .page-home.page-home-pro .faq2-wrap{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }

  img,
  video,
  iframe,
  svg,
  canvas{
    max-width:100% !important;
    height:auto !important;
  }

  .top-hot-wrapper,
  .cat-row,
  .news-box .box-body,
  .home-feature,
  .cat-feature,
  .cat-right,
  .cat-grid2,
  .cat-grid4,
  .cat-grid6,
  .cat-cols-row,
  .dir-grid,
  .maybe-grid,
  .page-home.page-home-pro .whyhc-grid,
  .page-home.page-home-pro .faq2-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
  }

  .top-hot-wrapper > *,
  .cat-row > *,
  .news-box .box-body > *,
  .home-feature > *,
  .cat-feature > *,
  .cat-right > *,
  .cat-grid2 > *,
  .cat-grid4 > *,
  .cat-grid6 > *,
  .cat-cols-row > *,
  .dir-grid > *,
  .maybe-grid > *,
  .page-home.page-home-pro .whyhc-grid > *,
  .page-home.page-home-pro .faq2-grid > *{
    min-width:0 !important;
  }

  .page-home.page-home-pro{
    padding:0 0 20px !important;
  }

  .page-home.page-home-pro .home-banner{
    width:100% !important;
    max-width:100% !important;
    height:220px !important;
    margin:0 0 12px !important;
    border-radius:0 !important;
  }

  .page-home.page-home-pro .home-banner-slide img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    display:block !important;
  }

  .page-home.page-home-pro .home-banner-caption{
    left:12px !important;
    right:12px !important;
    bottom:12px !important;
    max-width:calc(100% - 24px) !important;
    font-size:14px !important;
    line-height:1.45 !important;
    padding:8px 10px !important;
  }

  .page-home.page-home-pro .homev2-head,
  .page-home.page-home-pro .hkS,
  .page-home.page-home-pro .whyhc-box{
    border-radius:16px !important;
    padding:14px !important;
  }

  .page-home.page-home-pro .homebox-wrap{
    width:100% !important;
    max-width:100% !important;
    margin:16px 0 26px !important;
    gap:18px !important;
  }

  .page-home.page-home-pro .homebox-item,
  .page-home.page-home-pro .homebox-item.rev{
    display:flex !important;
    flex-direction:column !important;
    grid-template-columns:none !important;
    gap:0 !important;
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
  }

  .page-home.page-home-pro .homebox-item > .homebox-img,
  .page-home.page-home-pro .homebox-item.rev > .homebox-img{
    order:1 !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
  }

  .page-home.page-home-pro .homebox-item > .homebox-card,
  .page-home.page-home-pro .homebox-item.rev > .homebox-card{
    order:2 !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:14px 12px !important;
    box-sizing:border-box !important;
    border-radius:0 0 12px 12px !important;
    box-shadow:none !important;
  }

  .page-home.page-home-pro .homebox-img img{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    aspect-ratio:1100 / 620 !important;
    object-fit:cover !important;
    margin:0 !important;
    border-radius:12px 12px 0 0 !important;
  }

  .page-home.page-home-pro .homebox-title{
    font-size:20px !important;
    line-height:1.3 !important;
    margin-bottom:10px !important;
  }

  .page-home.page-home-pro .homebox-desc{
    font-size:14px !important;
    line-height:1.75 !important;
    word-break:break-word !important;
    overflow-wrap:anywhere !important;
  }

  .page-home.page-home-pro .hkS-track{
    display:flex !important;
    gap:0 !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scroll-snap-type:x mandatory !important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .page-home.page-home-pro .hkS-track::-webkit-scrollbar{
    display:none;
  }

  .page-home.page-home-pro .hkS-card{
    flex:0 0 100% !important;
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    height:260px !important;
    border-radius:14px !important;
  }

  .page-home.page-home-pro .hkS-card img,
  .home-card img,
  .cat-hero img,
  .cat-mcard img,
  .cat-scard img,
  .grid-box-hero img,
  .top-big-post img,
  .main-post .thumb,
  .sub-item .thumb,
  .maybe-thumb img{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
  }

  .page-home.page-home-pro .whyhc-grid{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }

  .page-home.page-home-pro .whyhc-left,
  .page-home.page-home-pro .whyhc-right{
    width:100% !important;
    max-width:100% !important;
    border-radius:16px !important;
  }

  .page-home.page-home-pro .whyhc-left{
    padding:14px !important;
  }

  .page-home.page-home-pro .whyhc-contact-card{
    padding:14px !important;
  }

  .page-home.page-home-pro .faq2-wrap{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .page-home.page-home-pro .faq2-grid{
    grid-template-columns:1fr !important;
    gap:0 !important;
  }

  .home-feature,
  .top-hot-wrapper,
  .grid-box,
  .cat-col,
  .cat-hero,
  .cat-mcard,
  .cat-scard,
  .home-card,
  .directory-page__card,
  .search-page__card{
    border-radius:12px !important;
  }
}
/* =========================================================
   FIX HEADER MOBILE + MOBILE DRAWER + FOOTER PUBLIC
========================================================= */
@media (max-width: 900px){

  .topbar{
    position: sticky;
    top: 0;
    z-index: 13000;
  }

  .topbar .container{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .topbar-inner{
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 58px !important;
    padding: 8px 0 !important;
  }

  .brand{
    min-width: 0 !important;
    width: auto !important;
    max-width: 148px !important;
    overflow: hidden !important;
    flex: none !important;
  }

  .brand img{
    display: block !important;
    width: auto !important;
    max-width: 148px !important;
    height: 34px !important;
    object-fit: contain !important;
    background: transparent !important;
  }

  .desktop-nav,
  .topbar-hotline,
  .social.social-topbar{
    display: none !important;
  }

  .search-wrap{
    min-width: 0 !important;
    width: 100% !important;
    flex: none !important;
  }

  .search-form{
    width: 100% !important;
    max-width: none !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15,23,42,.12) !important;
    box-shadow: none !important;
  }

  .search-input{
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    line-height: 38px !important;
    padding: 0 10px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .search-btn{
    width: 40px !important;
    min-width: 40px !important;
    height: 38px !important;
    border: 0 !important;
    background: transparent !important;
    color: #0f172a !important;
  }

  .menu-toggle{
    display: inline-flex !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 38px !important;
    border-radius: 10px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0 !important;
  }
}

/* mobile nhỏ hơn: search thu về icon để chừa chỗ cho logo + nút menu */
@media (max-width: 640px){
  .topbar-inner{
    grid-template-columns: auto 1fr auto !important;
  }

  .search-wrap{
    display: flex !important;
    justify-content: flex-end !important;
  }

  .search-form{
    width: 38px !important;
    max-width: 38px !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 1px solid rgba(255,255,255,.35) !important;
  }

  .search-input{
    width: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .search-btn{
    width: 38px !important;
    min-width: 38px !important;
    color: var(--header-text, #fff) !important;
  }

  .brand{
    max-width: 132px !important;
  }

  .brand img{
    max-width: 132px !important;
    height: 32px !important;
  }
}

/* ===== MOBILE DRAWER REAL CSS ===== */
.drawer-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.55);
  z-index: 13040;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.drawer-backdrop.open{
  opacity: 1;
  visibility: visible;
}

.mobile-drawer{
  position: fixed;
  top: 0;
  left: 0;
  width: min(88vw, 360px);
  height: 100dvh;
  background: #ffffff;
  z-index: 13050;
  transform: translateX(-100%);
  transition: transform .24s ease;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open{
  transform: translateX(0);
}

.mobile-drawer-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.mobile-drawer-title{
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.mobile-drawer-close{
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.mobile-drawer-body{
  padding: 10px 12px 18px;
}

.mobile-menu-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-item{
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #eef2f7;
}

.mobile-menu-link{
  display: block;
  padding: 14px 6px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  color: #0f172a;
}

.mobile-menu-link:hover{
  color: var(--primary-color, #0b5d7a);
}

.drawer-extras{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.drawer-extras .topbar-hotline{
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  color: #0f172a;
}

.drawer-extras .social{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.drawer-extras .social-link{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
}

@media (min-width: 901px){
  .drawer-backdrop,
  .mobile-drawer{
    display: none !important;
  }
}

/* ===== footer public scope ===== */
.site-footer.site-footer-public{
  background: #0f172a;
  color: #e5e7eb;
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

.site-footer.site-footer-public a{
  color: #93c5fd;
}

.site-footer.site-footer-public .site-footer__brand img{
  width: auto;
  max-width: 180px;
  max-height: 60px;
  object-fit: contain;
  display: block;
}
/* ===== AUTHOR CARD FINAL FIX ===== */
.author-card{
  display:flex;
  gap:18px;
  align-items:flex-start;
  padding:22px 28px;
  margin:24px 0 18px;
  border:1px solid var(--header-bg, #0b5d7a);
  border-left:4px solid var(--header-bg, #0b5d7a);
  border-radius:18px;
  background:#f8fafc;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.author-card__avatar{
  flex:0 0 72px;
}

.author-card__avatar img{
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid rgba(11,93,122,.20);
  display:block;
}

.author-card__body{
  flex:1;
  min-width:0;
}

.author-card__title{
  font-size:16px;
  font-weight:800;
  margin-bottom:10px;
  color:#0f172a;
  line-height:1.5;
}

.author-card__title a{
  color:#dc2626;
  font-weight:800;
  text-decoration:none;
}

.author-card__title a:hover{
  text-decoration:underline;
}

.author-card__desc{
  font-size:15px;
  line-height:1.9;
  color:#334155;
  margin-bottom:0;
}

.author-card__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(11,93,122,.18);
}

.author-card__bottom .cat-label{
  margin:0;
  font-size:15px;
  line-height:1.6;
  color:#8b5e3c;
  font-weight:700;
}

.author-card__bottom .cat-label a{
  color:#8b5e3c;
  text-decoration:none;
}

.author-card__bottom .cat-label a:hover{
  text-decoration:underline;
}

.author-card__bottom .share-area{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}

.author-card__bottom .share-btn{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid #8b5e3c;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#8b5e3c;
  background:#fff;
  transition:all .2s ease;
}

.author-card__bottom .share-btn:hover{
  background:#8b5e3c;
  color:#fff;
}

.author-card__bottom .share-btn svg{
  width:18px;
  height:18px;
  display:block;
}

/* không có danh mục -> share nằm giữa */
.author-card__bottom.is-center{
  justify-content:center;
}

.author-card__bottom.is-center .share-area{
  margin-left:0;
  justify-content:center;
  width:100%;
}

/* mobile */
@media (max-width:768px){
  .author-card{
    flex-direction:column;
    padding:16px;
  }

  .author-card__bottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .author-card__bottom .share-area{
    margin-left:0;
  }

  .author-card__bottom.is-center{
    align-items:center;
  }

  .author-card__bottom.is-center .share-area{
    width:auto;
  }
}