/* =========================================================
   Gia Khang – giao diện website (viết mới, không dùng CSS theme cũ)
   ========================================================= */

/* Roboto (font biến thiên 400–700) đặt trên chính máy chủ: không phải nối sang Google Fonts trước khi hiện chữ */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/roboto-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/roboto-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/roboto-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --yellow: #fdcf07;
  --yellow-dark: #e6bb00;
  --navy: #050466;
  --red: #c5171b;
  --red-bright: #e20303;
  --orange: #fd5f07;
  --black: #000;
  --text: #333;
  --muted: #666;
  --border: #e5e5e5;
  --gray-bg: #f1f1f1;
  --banner: #3c4a63;
  --container: 1400px;
  --radius: 4px;
  --shadow: 0 1px 4px rgba(0, 0, 0, .12);
  --font: "Roboto", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.7; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red-bright); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 700; line-height: 1.3; margin: 0 0 .6em; color: #111; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }
.bg-gray { background: var(--gray-bg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer;
  padding: 10px 22px; border-radius: var(--radius); font-weight: 700; font-size: 13px; text-transform: uppercase; line-height: 1.2; transition: .2s; }
.btn-yellow { background: var(--yellow); color: #000; }
.btn-yellow:hover { background: var(--yellow-dark); color: #000; }
.btn-black { background: #000; color: #fff; }
.btn-black:hover { background: #333; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 12px; text-transform: none; font-weight: 500; }
.btn-lg { padding: 14px 28px; font-size: 14px; min-width: 200px; }
.btn-block { width: 100%; }
.btn-shadow { box-shadow: 0 3px 8px rgba(0, 0, 0, .25); text-transform: uppercase; font-weight: 700; font-size: 11px; }

/* ---------- Tiêu đề khối ---------- */
.section-title { text-align: center; color: var(--red); text-transform: uppercase; font-size: 26px; font-weight: 900; margin-bottom: 40px; position: relative; padding-bottom: 18px; }
.section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 44px; height: 3px; background: var(--red); transform: translateX(-50%); }
.section-title.light { color: #fff; }
.section-title.light::after { background: #fff; }
.is-divider { width: 30px; height: 3px; background: var(--red); margin: 12px 0; }
.is-divider.small { width: 20px; height: 1px; background: #ccc; margin: 8px auto; }

/* =========================================================
   HEADER
   ========================================================= */
.topbar { background: #000; color: #fff; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 30px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--yellow); }
.topbar-left { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.topbar-left i { margin-right: 3px; }
.topbar-mail { margin-left: 18px; }
.topbar-social { display: flex; gap: 4px; }
/* Vùng bấm tối thiểu 24×24 px */
.topbar-social a { display: inline-grid; place-items: center; min-width: 28px; min-height: 28px; }

.header-main { background: #fff; }
.header-main-inner { display: flex; align-items: center; gap: 24px; height: 90px; }
.logo { flex: 0 0 auto; width: 322px; }
.logo img { max-height: 70px; width: auto; }
.search-form { flex: 1; display: flex; max-width: 430px; margin: 0 auto; position: relative; }
.search-form input { width: 100%; border: 1px solid var(--yellow); border-radius: 99px; padding: 7px 40px 7px 15px; font-size: 12px; outline: none; }
.search-form input:focus { box-shadow: 0 0 0 2px rgba(253, 207, 7, .35); }
.search-form button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; cursor: pointer; color: #333; padding: 6px 10px; }
.header-contacts { display: flex; gap: 40px; margin-right: 30px; }
.hc-item { display: flex; align-items: center; gap: 10px; color: #000; }
.hc-item i { font-size: 30px; color: var(--yellow); }
.hc-item span { display: flex; flex-direction: column; font-size: 12px; line-height: 1.5; }
.hc-item b { font-weight: 500; }
.menu-toggle, .mobile-call { display: none; }

.header-bottom { background: var(--yellow); position: relative; z-index: 30; }
.header-bottom-inner { display: flex; align-items: stretch; min-height: 44px; }
.industry-menu { position: relative; width: 210px; flex: 0 0 210px; }
.industry-toggle { width: 100%; height: 100%; background: #0f0f0f; color: #fff; border: 0; text-transform: uppercase; font-weight: 700; font-size: 12px;
  display: flex; align-items: center; gap: 10px; padding: 0 14px; cursor: pointer; }
.industry-toggle .fa-angle-down { margin-left: auto; }
.industry-list { display: none; position: absolute; top: 100%; left: 0; width: 210px; background: #fff; margin: 0; padding: 0; list-style: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .15); z-index: 40; }
.industry-menu:hover .industry-list, .industry-menu:focus-within .industry-list, .industry-menu.is-open-home .industry-list { display: block; }
.industry-list > li { position: relative; border-top: 1px solid #eee; }
.industry-list a { display: flex; align-items: center; justify-content: space-between; height: 41px; padding: 0 12px; color: var(--navy);
  font-size: 11.5px; text-transform: uppercase; font-weight: 500; }
.industry-list a:hover { color: #dd3333; }
.industry-sub { display: none; position: absolute; left: 100%; top: 0; width: 240px; background: #fff; list-style: none; margin: 0; padding: 0; box-shadow: 0 3px 10px rgba(0, 0, 0, .15); }
.industry-list li:hover > .industry-sub { display: block; }
.industry-sub li + li { border-top: 1px solid #eee; }

.main-nav { flex: 1; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0 0 0 20px; height: 100%; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 16px; color: #000; font-weight: 700;
  font-size: 12.5px; text-transform: uppercase; line-height: 25px; }
.main-nav > ul > li > a .fa-angle-down { font-size: 10px; }
/* Đỏ đậm hơn --red-bright cho đủ độ tương phản trên nền vàng (4.8:1) */
.main-nav > ul > li.active > a, .main-nav > ul > li > a:hover { color: #b30000; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px; box-shadow: 0 3px 10px rgba(0, 0, 0, .15); padding: 10px 0; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: flex; }
.dropdown ul { list-style: none; margin: 0; padding: 0 10px; min-width: 220px; }
.dropdown a { display: block; padding: 7px 10px; color: #333; font-size: 13px; text-transform: uppercase; border-bottom: 1px solid #f0f0f0; }
.dropdown a:hover { color: var(--red-bright); }
.dropdown-mega .col-title a { font-weight: 700; color: #000; }

/* ---------- Menu điện thoại ---------- */
.drawer { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 200; }
.drawer-panel { width: 300px; max-width: 86vw; height: 100%; background: #fff; overflow-y: auto; padding: 50px 0 30px; position: relative; }
.drawer-close { position: absolute; right: 10px; top: 10px; border: 0; background: none; font-size: 22px; cursor: pointer; }
.drawer-search { display: flex; margin: 0 15px 15px; border: 1px solid #ddd; border-radius: 4px; }
.drawer-search input { flex: 1; border: 0; padding: 8px 10px; min-width: 0; }
.drawer-search button { border: 0; background: none; padding: 0 12px; }
.drawer-nav, .drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav li { position: relative; border-top: 1px solid #eee; }
.drawer-nav a { display: block; padding: 11px 50px 11px 18px; color: #222; text-transform: uppercase; font-size: 13px; font-weight: 700; }
.drawer-nav ul a { font-weight: 400; padding-left: 30px; text-transform: none; }
.drawer-nav ul ul a { padding-left: 44px; }
.drawer-nav li > ul { display: none; }
.drawer-nav li.open > ul { display: block; }
.drawer-expand { position: absolute; right: 0; top: 0; width: 48px; height: 44px; border: 0; background: none; cursor: pointer; }
.drawer-heading { padding: 14px 18px 6px; font-weight: 700; color: var(--red); text-transform: uppercase; font-size: 12px; background: #fafafa; }

/* =========================================================
   TRANG CHỦ
   ========================================================= */
.home-hero { padding: 10px 0 0; }
.hero-grid { display: grid; grid-template-columns: 2fr 8fr 2fr; gap: 20px; align-items: start; }
.hero-main { overflow: hidden; min-width: 0; width: 100%; }
/* Khung slider khi thư viện Swiper chưa tải xong (tải sau khi trang hiện): hiện slide đầu, ẩn nút */
.swiper { position: relative; overflow: hidden; }
.swiper-wrapper { display: flex; position: relative; width: 100%; box-sizing: content-box; }
.swiper-slide { flex-shrink: 0; width: 100%; position: relative; }
.swiper:not(.swiper-initialized) :is(.swiper-button-prev, .swiper-button-next, .swiper-pagination) { visibility: hidden; }
.hero-main .swiper-slide { height: auto; }
.hero-main img { width: 100%; height: auto; aspect-ratio: 1200 / 600; object-fit: cover; }
.hero-side { display: flex; flex-direction: column; gap: 14px; }
.hero-side img { width: 100%; aspect-ratio: 4 / 2.9; object-fit: cover; }
.hero-main .swiper-button-prev, .hero-main .swiper-button-next { color: #fff; }
.hero-main .swiper-pagination-bullet-active { background: var(--yellow); }
/* Chấm chuyển slide: to hơn và cách xa nhau để dễ bấm trên điện thoại (tâm cách tâm ≥ 24px) */
.swiper { --swiper-pagination-bullet-size: 12px; --swiper-pagination-bullet-horizontal-gap: 7px; }

.home-band { background: #111 center / cover no-repeat; padding: 20px 0; margin-top: 40px; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.band-box { display: flex; align-items: center; gap: 16px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 6px; padding: 16px 20px; min-height: 80px; }
.band-box img { width: 40px; height: auto; flex: 0 0 auto; }
.band-title { color: var(--yellow); font-size: 15px; text-transform: uppercase; margin: 0 0 4px; }
.band-box p { color: #fff; margin: 0; font-size: 13px; }
.home-stats { margin-top: 0; }
.stat-box { min-height: 84px; }
.stat-number { color: var(--yellow); font-size: 30px; font-weight: 700; line-height: 1; margin-bottom: 6px; }
.stat-box p { font-size: 15px; }

.home-intro { padding: 40px 0; background: #fff center / cover no-repeat; }
.intro-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 30px; align-items: center; }
.intro-label { color: var(--orange); font-size: 15px; margin-bottom: 8px; }
.intro-title { color: var(--red); font-size: 26px; text-transform: uppercase; }
.intro-text > p { font-size: 13px; }
.intro-bullets { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin: 16px 0 26px; font-weight: 700; font-size: 13px; color: #111; }
.video-lite { position: relative; display: block; width: 100%; border: 0; padding: 0; cursor: pointer; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.video-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .95; }
.video-lite .play { position: absolute; inset: 0; display: grid; place-items: center; color: #f00; font-size: 64px; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.video-lite iframe, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.home-products, .home-news, .home-certs, .home-partners, .home-testimonials { padding: 50px 0; }
.product-grid { display: grid; gap: 20px; margin-bottom: 30px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { background: #fff; border: 1px solid #ececec; box-shadow: var(--shadow); padding: 2px 2px 14px; text-align: center; display: flex; flex-direction: column; border-radius: 3px; transition: box-shadow .2s; }
.product-card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, .15); }
.pc-image { display: block; aspect-ratio: 1; overflow: hidden; background: #fff; }
.pc-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.product-card:hover .pc-image img { transform: scale(1.04); }
.pc-name { font-size: 13.5px; font-weight: 500; margin: 12px 12px 6px; line-height: 1.45; flex: 1; }
.pc-name a { color: var(--navy); }
.pc-price { color: var(--red-bright); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.pc-actions { display: flex; gap: 12px; justify-content: center; padding: 0 10px; }
.pc-actions .btn { flex: 1; max-width: 100px; }

.home-why { background: #000 center / cover no-repeat; padding: 30px 0 40px; }
.home-why .section-title { font-size: 20px; margin-bottom: 30px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-box { background: #fff; border-radius: 8px; padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; }
.why-box img { width: 32px; flex: 0 0 auto; margin-top: 2px; }
.why-box h3 { font-size: 14px; margin: 0 0 6px; text-transform: uppercase; }
.why-box p { margin: 0; font-size: 12.5px; color: #333; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.post-card { background: #fff; box-shadow: var(--shadow); border-radius: 3px; overflow: hidden; }
.post-card-image { display: block; position: relative; aspect-ratio: 711 / 400; overflow: hidden; background: #eee; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card-image img { transform: scale(1.04); }
.date-badge { position: absolute; left: 0; top: 18px; background: #446084; color: #fff; text-align: center; width: 30px; padding: 3px 0; line-height: 1.1; }
.date-badge b { display: block; font-size: 12px; }
.date-badge small { font-size: 8px; }
.post-card-body { padding: 18px 16px 26px; text-align: center; }
.post-card-body .post-card-title { font-size: 14px; font-weight: 500; margin: 0; line-height: 1.5; }
.post-card-body .post-card-title a { color: var(--navy); }

.cert-swiper { padding: 10px 0 30px; }
.cert-swiper .swiper-slide { width: 280px; background: #222; padding: 6px; }
.cert-swiper img { width: 100%; aspect-ratio: 565 / 800; object-fit: cover; }
.cert-swiper .swiper-button-prev, .cert-swiper .swiper-button-next { width: 40px; height: 40px; border-radius: 50%; background: var(--red-bright); color: #fff; }
.cert-swiper .swiper-button-prev::after, .cert-swiper .swiper-button-next::after { font-size: 16px; }

.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.partner { border: 1px solid var(--red-bright); border-radius: 6px; padding: 10px; display: grid; place-items: center; aspect-ratio: 2 / 1; background: #fff; }
.partner img { max-height: 70px; width: auto; object-fit: contain; }

.testimonial-wrap { position: relative; padding: 0 50px; }
.testimonial-swiper { padding-bottom: 36px; }
.testimonial { background: #fff; border-radius: 6px; box-shadow: var(--shadow); padding: 24px; text-align: center; height: 100%; }
.testimonial .avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; }
.testimonial p { font-size: 13px; color: #444; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.testimonial .testimonial-name { font-size: 14px; text-transform: uppercase; margin: 10px 0 4px; }
.testimonial .stars { color: var(--yellow); }
.testimonial .role { color: #555; font-size: 13px; }
.t-prev, .t-next { position: absolute; top: 40%; width: 24px; height: 30px; border: 1px solid #999; background: #fff; cursor: pointer; }
.t-prev { left: 0; }
.t-next { right: 0; }

.home-newsletter { background: var(--yellow); padding: 34px 0 50px; }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.newsletter-grid h2 { margin: 0 0 4px; font-size: 22px; }
.newsletter-grid p { margin: 0; font-size: 13px; }
.newsletter-form { display: flex; flex-wrap: wrap; }
.newsletter-form input[type=email] { flex: 1; border: 1px solid #ddd; padding: 8px 12px; font-size: 13px; min-width: 0; }
.newsletter-form button { background: var(--red-bright); color: #fff; border: 0; padding: 0 16px; font-weight: 700; text-transform: uppercase; font-size: 12px; cursor: pointer; }
.newsletter-form .form-msg { flex-basis: 100%; }

/* =========================================================
   TRANG DANH MỤC / CHI TIẾT
   ========================================================= */
.page-title-banner { background: var(--banner); color: #fff; }
.ptb-inner { min-height: 150px; display: flex; align-items: center; justify-content: center; position: relative; padding: 20px 15px; }
.ptb-inner h1, .ptb-inner .h1-like { color: #fff; font-size: 28px; font-weight: 700; line-height: 1.3; text-transform: uppercase; margin: 0; text-align: center; }
.sort-form { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); }
.sort-form select { background: rgba(255, 255, 255, .15); color: #fff; border: 1px solid rgba(255, 255, 255, .25); padding: 6px 30px 6px 10px; border-radius: 3px; font-size: 12px; }
.sort-form option { color: #000; }
.breadcrumbs { font-size: 12px; color: #595959; margin: 14px 0; }
.breadcrumbs a { color: #595959; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 2px; }
.breadcrumbs a:hover { color: var(--red); text-decoration-color: currentColor; }
.breadcrumbs .divider { margin: 0 6px; }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 30px; padding-top: 10px; padding-bottom: 50px; }
.widget { background: #fff; box-shadow: var(--shadow); padding: 20px; margin-top: 14px; }
.widget-title { color: var(--navy); text-transform: uppercase; font-size: 16px; letter-spacing: .5px; margin-bottom: 18px; }
.widget-list { list-style: none; padding: 0; margin: 0; }
.widget-list li { border-bottom: 1px solid #eee; }
.widget-list a { display: block; padding: 7px 0; color: var(--navy); font-size: 11.5px; text-transform: uppercase; font-weight: 500; }
.widget-list li.current a, .widget-list a:hover { color: var(--red-bright); }
.recent-posts { list-style: none; padding: 0; margin: 0; }
.recent-posts li { border-bottom: 1px solid #eee; padding: 8px 0; }
.recent-posts a { display: flex; gap: 12px; align-items: center; font-size: 12px; font-weight: 500; line-height: 1.4; }
.recent-posts img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.term-description { margin-bottom: 20px; font-size: 13px; }
.term-description h2 { text-align: center; }
.term-bottom { margin-top: 20px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 10px 0 30px; }
.pagination a, .pagination span { min-width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid #ddd; border-radius: 99px; color: #666; font-weight: 700; padding: 0 8px; }
.pagination span[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.empty { padding: 30px; background: #fafafa; text-align: center; }
.cat-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-pills a { border: 1px solid var(--navy); padding: 4px 14px; border-radius: 99px; font-size: 13px; }

.product-page { padding-bottom: 50px; }
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 10px 0 40px; }
.gallery-main { display: block; }
.gallery-main img { width: 100%; max-height: 520px; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumbs button { border: 1px solid #ddd; padding: 2px; background: #fff; cursor: pointer; width: 70px; }
.product-cat { color: var(--red-bright); font-size: 11px; text-transform: uppercase; font-weight: 700; }
.product-title { color: var(--navy); font-size: 26px; margin: 6px 0 0; }
.product-summary .is-divider { margin: 16px 0; }
.product-price { color: var(--red-bright); font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.product-cta { display: flex; gap: 20px; flex-wrap: wrap; }
.product-cta .btn { flex: 1; }
.product-short { margin-bottom: 20px; }
.tab-head { display: flex; }
.tab-head span { background: #000; color: #fff; font-size: 11px; font-weight: 700; padding: 10px 14px; text-transform: uppercase; }
.tab-body { border: 1px solid #ddd; box-shadow: var(--shadow); padding: 24px 30px; }
/* Site cũ bỏ dấu đầu dòng trong mô tả sản phẩm */
.tab-body ul, .product-short ul { list-style: none; padding-left: 0; }
.entry-content td p, .entry-content th p { margin: 0; }
.related { margin-top: 40px; }
.related-title { text-transform: uppercase; font-size: 18px; }

.post-page .entry-title { color: var(--navy); font-size: 26px; margin-top: 10px; }
.entry-meta { display: flex; gap: 12px; font-size: 12px; color: #595959; margin-bottom: 16px; }
.entry-image { width: 100%; margin-bottom: 20px; }
.page-default { padding-bottom: 50px; max-width: 1100px; }

/* ---------- Nội dung bài viết / mô tả ---------- */
.entry-content { font-size: 14px; line-height: 1.75; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content h2 { font-size: 22px; margin-top: 1.2em; }
.entry-content h3 { font-size: 18px; margin-top: 1em; }
.entry-content img { height: auto; }
/* Link giữa đoạn văn có gạch chân: không chỉ phân biệt bằng màu (người mù màu vẫn thấy) */
.entry-content :is(p, li, td) a:not(.btn, .button) { text-decoration: underline; text-underline-offset: 2px; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .alignleft { float: left; margin: 0 20px 10px 0; }
.entry-content .alignright { float: right; margin: 0 0 10px 20px; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-caption-text { text-align: center; font-size: 12px; color: #595959; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 13px; }
.entry-content th, .entry-content td { border: 1px solid #ddd; padding: 6px 10px; vertical-align: top; }
.entry-content .table-wrap, .entry-content figure.wp-block-table { overflow-x: auto; }
.entry-content blockquote { border-left: 3px solid var(--navy); margin: 1.4em 0; padding: 6px 20px; font-style: italic; color: #444; }
.entry-content iframe { max-width: 100%; }
.entry-content .tab-pane { display: block !important; opacity: 1 !important; }
.entry-content ul li, .entry-content ol li { margin-bottom: .3em; }

/* ---------- Khối dựng sẵn từ site cũ (trang Giới thiệu...) ---------- */
.page-builder .section { position: relative; padding: 30px 0; }
.page-builder .section-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; overflow: hidden; }
.page-builder .section-bg-overlay { position: absolute; inset: 0; }
.page-builder .section-content { position: relative; z-index: 1; }
.page-builder .row, .term-bottom .row { display: flex; flex-wrap: wrap; max-width: var(--container); margin: 0 auto; width: 100%; }
.page-builder .row .row { margin: 0 -15px; width: auto; }
.page-builder .col, .term-bottom .col { position: relative; width: 100%; padding: 0 15px 30px; }
.page-builder .col-inner { position: relative; height: 100%; }
.page-builder .row.align-middle, .page-builder .row-align-middle { align-items: center; }
.page-builder .row.align-center { justify-content: center; }
.page-builder .dark, .page-builder .dark h1, .page-builder .dark h2, .page-builder .dark h3, .page-builder .dark h4, .page-builder .dark p, .page-builder .dark li { color: #fff; }
.page-builder .text-left { text-align: left; }
.page-builder .text-right { text-align: right; }
.page-builder .img { position: relative; }
.page-builder .img-inner { position: relative; overflow: hidden; }
.page-builder .img-inner img { width: 100%; }
.page-builder .image-cover img { object-fit: cover; height: 100%; }
.page-builder .gap-element { display: block; height: auto; }
.page-builder .is-divider { margin: 1em 0; }
.page-builder .text-center .is-divider { margin-left: auto; margin-right: auto; }
/* Cỡ chữ theo em: khối cha (#text-...) đặt font-size thì tiêu đề tự to theo như site cũ */
.page-builder.entry-content h1 { font-size: 1.7em; }
.page-builder.entry-content h2 { font-size: 1.6em; margin-top: 0; }
.page-builder.entry-content h3 { font-size: 1.25em; margin-top: 0; }
.page-builder.entry-content h4 { font-size: 1.125em; }
.page-builder .text > p:last-child, .page-builder .text > h1:last-child, .page-builder .text > h2:last-child { margin-bottom: 0; }
.page-builder .button, .page-builder a.button { display: inline-flex; align-items: center; gap: 6px; padding: 0 1.2em; min-height: 2.5em; border: 2px solid transparent; border-radius: 3px;
  font-weight: 700; text-transform: uppercase; font-size: .97em; letter-spacing: .03em; margin: 0 1em 1em 0; background: #446084; color: #fff; line-height: 1; }
.page-builder .button.is-large { font-size: 1.15em; }
.page-builder .button.primary { background: #446084; }
.page-builder .button.alert { background: #b20000; }
.page-builder .button.white { background: #fff; color: #333; }
.page-builder .button.is-shade { box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.page-builder .button.is-outline { background: transparent; border-color: currentColor; color: #446084; }
.page-builder .button.white.is-outline { color: #fff; }
.page-builder .button.alert.is-outline { color: #b20000; }
.page-builder .button:hover { filter: brightness(1.1); }
.page-builder .icon-box { display: flex; gap: 16px; }
.page-builder .icon-box-top { flex-direction: column; align-items: center; text-align: center; }
.page-builder .icon-box-img { flex: 0 0 auto; }
.page-builder .icon-box-img img { width: 100%; }
.page-builder .box { position: relative; }
.page-builder .box-text { padding: 14px 0; }
.page-builder .video-fit, .page-builder .video { position: relative; padding-top: 56.25%; }
.page-builder .video-fit iframe, .page-builder .video iframe, .page-builder .video-fit p { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.page-builder .banner { position: relative; min-height: 300px; }
.page-builder .fill { position: absolute; inset: 0; }
.page-builder .relative { position: relative; }
.page-builder .absolute { position: absolute; }
.page-builder .uppercase { text-transform: uppercase; }
.page-builder .container { padding: 0 15px; }
.page-builder ul.ux-timeline, .page-builder .stack { list-style: none; }
.page-builder .accordion-title { display: block; font-weight: 700; padding: 10px 0; border-top: 1px solid #ddd; }
/* Nút icon của accordion Flatsome trong nội dung cũ: icon không còn, tiêu đề đã bấm được */
.accordion-title .toggle { display: none; }

/* Lưới cột kiểu small-/medium-/large- (dùng trong nội dung cũ) */
.page-builder .small-1, .term-bottom .small-1 { max-width: 8.333%; flex-basis: 8.333%; }
.page-builder .small-2 { max-width: 16.666%; flex-basis: 16.666%; }
.page-builder .small-3 { max-width: 25%; flex-basis: 25%; }
.page-builder .small-4 { max-width: 33.333%; flex-basis: 33.333%; }
.page-builder .small-6, .term-bottom .small-6 { max-width: 50%; flex-basis: 50%; }
.page-builder .small-12, .term-bottom .small-12 { max-width: 100%; flex-basis: 100%; }
@media (min-width: 550px) {
  .page-builder .medium-2 { max-width: 16.666%; flex-basis: 16.666%; }
  .page-builder .medium-3, .term-bottom .medium-3 { max-width: 25%; flex-basis: 25%; }
  .page-builder .medium-4, .term-bottom .medium-4 { max-width: 33.333%; flex-basis: 33.333%; }
  .page-builder .medium-5 { max-width: 41.666%; flex-basis: 41.666%; }
  .page-builder .medium-6, .term-bottom .medium-6 { max-width: 50%; flex-basis: 50%; }
  .page-builder .medium-7 { max-width: 58.333%; flex-basis: 58.333%; }
  .page-builder .medium-8 { max-width: 66.666%; flex-basis: 66.666%; }
  .page-builder .medium-9 { max-width: 75%; flex-basis: 75%; }
  .page-builder .medium-12, .term-bottom .medium-12 { max-width: 100%; flex-basis: 100%; }
}
@media (min-width: 850px) {
  .page-builder .large-1 { max-width: 8.333%; flex-basis: 8.333%; }
  .page-builder .large-2 { max-width: 16.666%; flex-basis: 16.666%; }
  .page-builder .large-3, .term-bottom .large-3 { max-width: 25%; flex-basis: 25%; }
  .page-builder .large-4, .term-bottom .large-4 { max-width: 33.333%; flex-basis: 33.333%; }
  .page-builder .large-5 { max-width: 41.666%; flex-basis: 41.666%; }
  .page-builder .large-6, .term-bottom .large-6 { max-width: 50%; flex-basis: 50%; }
  .page-builder .large-7 { max-width: 58.333%; flex-basis: 58.333%; }
  .page-builder .large-8 { max-width: 66.666%; flex-basis: 66.666%; }
  .page-builder .large-9 { max-width: 75%; flex-basis: 75%; }
  .page-builder .large-10 { max-width: 83.333%; flex-basis: 83.333%; }
  .page-builder .large-12, .term-bottom .large-12 { max-width: 100%; flex-basis: 100%; }
}
@media (max-width: 549px) { .page-builder .hide-for-small { display: none !important; } }
@media (min-width: 850px) { .page-builder .show-for-small, .page-builder .show-for-medium { display: none !important; } }

/* ---------- Liên hệ ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 20px; padding-bottom: 50px; }
.contact-form-box { border-top: 4px solid var(--yellow); box-shadow: var(--shadow); border-radius: 6px; padding: 20px 10px 30px; }
.contact-form-box h2 { color: var(--red); text-transform: uppercase; font-size: 22px; }
.contact-info h2, .contact-info h3 { color: var(--red); text-transform: uppercase; }
.map-embed { position: relative; padding-top: 52%; margin-top: 10px; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Form ---------- */
.inquiry-form input:not([type=hidden]), .inquiry-form textarea { display: block; width: 100%; border: 1px solid #ccc; border-radius: 3px; padding: 8px 10px; margin-bottom: 10px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08); font-size: 13px; }
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--navy); outline: none; }
.form-msg { margin: 10px 0 0; font-size: 13px; min-height: 1em; }
.form-msg.ok { color: #1b7f2a; }
.form-msg.err { color: var(--red-bright); }

/* ---------- Modal báo giá ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.modal-dialog { position: relative; background: #fff; border-radius: 6px; width: 100%; max-width: 440px; padding: 26px 24px 20px; max-height: 92vh; overflow-y: auto; border-top: 4px solid var(--yellow); }
.modal-dialog h3 { color: var(--red); text-transform: uppercase; margin-bottom: 4px; }
.quote-product { color: var(--navy); font-weight: 700; margin-bottom: 14px; }
.modal-close { position: absolute; right: 8px; top: 8px; border: 0; background: none; font-size: 20px; cursor: pointer; color: #666; }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .85); z-index: 300; display: grid; place-items: center; cursor: zoom-out; padding: 20px; }
.lightbox img { max-height: 92vh; width: auto; }

/* ---------- Nút liên hệ nổi ---------- */
.float-contact { position: fixed; right: 18px; top: 50%; transform: translateY(-30%); z-index: 90; display: flex; flex-direction: column; gap: 14px; }
.fc-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 22px; position: relative; box-shadow: 0 0 0 6px rgba(0, 143, 229, .2); }
.fc-btn::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(0, 143, 229, .35); animation: ring 1.6s infinite; }
.fc-phone { background: #2196f3; }
.fc-zalo { background: #0068ff; font-size: 13px; font-weight: 700; }
.fc-messenger { background: linear-gradient(135deg, #00b2ff, #006aff); }
.fc-btn:hover { color: #fff; transform: scale(1.05); }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: #1a1a1a center / cover no-repeat; color: #fff; font-size: 13px; }
.footer-overlay { background: rgba(0, 0, 0, .55); padding: 30px 0 10px; }
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: 30px; }
.footer-col h3 { color: #fff; font-size: 16px; margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: #fff; }
.footer-col a:hover { color: var(--yellow); }
.footer-col p { margin: 0 0 2px; line-height: 1.7; }
.footer-logo img { width: 85%; max-width: 300px; margin-bottom: 14px; }
.cert-badge img { width: 130px; margin-top: 10px; }
.fanpage-embed iframe { width: 100%; max-width: 340px; height: 300px; border: 0; }
.footer-bottom { background: #5b5b5b; color: #ddd; font-size: 11px; padding: 14px 0; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 60px 15px 80px; }
.not-found h1 { font-size: 80px; color: var(--yellow); margin: 0; }
.search-inline { display: flex; gap: 8px; justify-content: center; margin: 20px auto; max-width: 420px; }
.search-inline input { flex: 1; border: 1px solid #ccc; border-radius: 3px; padding: 8px 10px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .header-contacts { gap: 20px; margin-right: 0; }
  .logo { width: 260px; }
}
@media (max-width: 1024px) {
  .header-contacts, .header-bottom, .topbar-mail { display: none; }
  .header-main-inner { height: 70px; gap: 12px; }
  .menu-toggle, .mobile-call { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ddd; border-radius: 4px; background: #fff; font-size: 18px; color: #333; flex: 0 0 auto; }
  .mobile-call { border: 2px solid var(--yellow); color: #000; }
  .logo { width: auto; flex: 1; display: flex; justify-content: center; }
  .logo img { max-height: 56px; }
  .search-form { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-spacer, .hero-side { display: none; }
  .band-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .intro-grid, .newsletter-grid, .product-top, .contact-grid { grid-template-columns: 1fr; }
  .product-grid.cols-4, .product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .layout-sidebar { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .topbar-inner { justify-content: center; font-size: 12px; }
  .topbar-social { display: none; }
  .band-grid { grid-template-columns: 1fr; }
  .product-grid.cols-4, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pc-actions { flex-direction: column; align-items: center; gap: 8px; }
  .pc-actions .btn { max-width: 140px; width: 100%; }
  .why-grid, .post-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-bullets { grid-template-columns: 1fr; }
  .intro-title { font-size: 22px; }
  .section-title { font-size: 20px; margin-bottom: 26px; }
  .ptb-inner { min-height: 110px; flex-direction: column; gap: 10px; }
  .ptb-inner h1 { font-size: 22px; }
  .sort-form { position: static; transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-contact { right: 10px; gap: 10px; }
  .fc-btn { width: 44px; height: 44px; font-size: 19px; }
  .testimonial-wrap { padding: 0; }
  .t-prev, .t-next { display: none; }
  .tab-body { padding: 16px; }
  .product-title { font-size: 22px; }
  .product-cta .btn { min-width: 0; }
}

/* ---------- Tác giả, FAQ cuối bài ---------- */
.entry-meta { flex-wrap: wrap; }
.meta-author { font-weight: 500; }
/* ---------- FAQ dạng thẻ đóng/mở: khối FAQ của CMS (.faq-item) và khối FAQ viết sẵn trong bài cũ (.exlub-faq-item) ---------- */
.post-faq, .exlub-faq-section { margin-top: 36px; }
.post-faq h2, .entry-content h2:has(+ .exlub-faq-section) { font-size: 24px; color: #555; margin-bottom: 28px; }
.faq-item, .exlub-faq-item details { background: #fff; border: 1px solid #e6e8eb; border-radius: 8px; margin-bottom: 16px; transition: border-color .2s, background .2s, box-shadow .2s; }
.exlub-faq-item { margin: 0; }
.faq-item:hover, .exlub-faq-item details:hover { border-color: #d5d9de; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); }
.faq-item[open], .exlub-faq-item details[open] { background: #fafafa; border-color: #f0a536; }
.faq-item summary, .exlub-faq-item summary { cursor: pointer; list-style: none; position: relative; padding: 26px 80px 26px 40px;
  font-size: 18px; font-weight: 700; line-height: 1.45; color: #1e3a52; }
.faq-item summary::-webkit-details-marker, .exlub-faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after, .exlub-faq-item summary::after { content: "+"; position: absolute; right: 36px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; background: #f0f1f3; color: #1e3a52; display: grid; place-items: center; font-size: 18px; font-weight: 700; line-height: 1; }
.faq-item[open] summary::after, .exlub-faq-item details[open] summary::after { content: "–"; }
.faq-item summary:focus-visible, .exlub-faq-item summary:focus-visible { outline: 2px solid #f0a536; outline-offset: -2px; border-radius: 8px; }
.exlub-faq-item .faq-question { font: inherit; color: inherit; background: none; padding: 0; margin: 0; }
.exlub-faq-item .faq-question br { display: none; }
.faq-item > p, .exlub-faq-item .faq-answer { padding: 0 40px 28px; margin: 0; color: #444; font-size: 16px; line-height: 1.8; }
.exlub-faq-item .faq-answer p { margin: 0 0 .8em; }
.exlub-faq-item .faq-answer p:last-child, .exlub-faq-item .faq-answer ul:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .faq-item summary, .exlub-faq-item summary { padding: 18px 60px 18px 18px; font-size: 16px; }
  .faq-item summary::after, .exlub-faq-item summary::after { right: 14px; width: 30px; height: 30px; }
  .faq-item > p, .exlub-faq-item .faq-answer { padding: 0 18px 20px; font-size: 15px; }
}
.author-box { display: flex; gap: 18px; margin-top: 36px; padding: 20px; background: #f7f7f7; border-left: 4px solid var(--yellow); border-radius: 4px; }
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.author-label { font-size: 11px; text-transform: uppercase; color: #595959; letter-spacing: .05em; }
.author-name { font-size: 17px; font-weight: 700; color: var(--navy); }
.author-title { color: var(--red); font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.author-box p { margin: 0; font-size: 13.5px; }
.author-page { padding-bottom: 50px; }
.author-hero { display: flex; gap: 28px; align-items: flex-start; margin: 10px 0 40px; padding: 26px; background: #f7f7f7; border-radius: 6px; }
.author-hero img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.author-hero h1 { color: var(--navy); margin-bottom: 4px; }
.author-hero a { margin-right: 14px; font-size: 13px; }
.author-expertise { font-size: 13px; color: #555; margin-bottom: 8px; }
@media (max-width: 640px) { .author-hero, .author-box { flex-direction: column; } }

/* Bảng rộng trong bài: cuộn ngang trong khung thay vì làm tràn cả trang trên điện thoại */
@media (max-width: 768px) {
  .entry-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- Gợi ý tìm kiếm ---------- */
.drawer-search { position: relative; }
.search-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 120; background: #fff; border: 1px solid #e6e6e6;
  border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 0, 0, .14); max-height: min(70vh, 560px); overflow-y: auto; padding: 6px 0; text-align: left; }
.search-suggest.loading { opacity: .7; }
.ss-group + .ss-group { border-top: 1px solid #f0f0f0; margin-top: 4px; padding-top: 4px; }
.ss-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #595959; padding: 8px 16px 4px; }
.ss-item { display: flex; align-items: center; gap: 12px; padding: 7px 16px; color: #222; }
.ss-item img { width: 44px; height: 44px; object-fit: contain; border: 1px solid #eee; border-radius: 6px; background: #fff; flex: 0 0 auto; }
.ss-item.ss-post img { object-fit: cover; }
.ss-icon { width: 44px; height: 44px; border-radius: 6px; background: #f4f4f4; display: grid; place-items: center; color: #999; flex: 0 0 auto; }
.ss-text { display: flex; flex-direction: column; min-width: 0; }
.ss-title { font-size: 14px; line-height: 1.35; color: var(--navy); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ss-meta { font-size: 11.5px; color: #595959; text-transform: uppercase; }
.search-suggest mark { background: none; color: inherit; font-weight: 700; }
.ss-item:hover, .ss-item.active, .ss-all:hover, .ss-all.active { background: #fff8db; }
.ss-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 8px; }
.ss-chips a { border: 1px solid #f0d36a; background: #fffbe8; color: #333; border-radius: 99px; padding: 3px 12px; font-size: 12.5px; }
.ss-chips a small { color: #595959; }
.ss-chips a:hover, .ss-chips a.active { background: var(--yellow); color: #000; }
.ss-empty { padding: 14px 16px; color: #666; font-size: 13.5px; }
.ss-all { display: block; padding: 10px 16px; margin-top: 4px; border-top: 1px solid #f0f0f0; font-size: 13px; font-weight: 600; color: var(--red-bright); }
.search-cats { margin: 0 0 16px; font-size: 13px; }
.search-cats a { display: inline-block; margin: 0 6px 6px 0; border: 1px solid #f0d36a; background: #fffbe8; border-radius: 99px; padding: 2px 12px; color: #333; }
.search-posts-title { font-size: 18px; margin-top: 24px; }
.search-posts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.search-posts a { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid #eee; border-radius: 6px; color: var(--navy); font-weight: 500; }
.search-posts img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }

/* ---------- Sidebar bám theo khi cuộn (chỉ máy tính) ---------- */
@media (min-width: 1025px) {
  .layout-sidebar-col { position: sticky; top: 20px; align-self: start; max-height: calc(100vh - 40px); overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: #ddd transparent; padding-bottom: 4px; }
  .layout-sidebar-col::-webkit-scrollbar { width: 6px; }
  .layout-sidebar-col::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
}
/* Bài chưa có ảnh đại diện: giữ thẳng hàng bằng biểu tượng thay thế */
.recent-posts .rp-noimg { width: 45px; height: 45px; border-radius: 50%; background: #f1f1f1; color: #bbb; display: grid; place-items: center; flex: 0 0 auto; font-size: 16px; }

/* =========================================================
   ICON – thay Font Awesome (290 KB) bằng đúng các icon web dùng, dạng SVG trong CSS.
   Giữ nguyên cách viết <i class="fa-solid fa-phone"></i>. Icon: Font Awesome Free 6.7.2, CC BY 4.0.
   Thêm icon mới: tools/build_icons.py rồi dán khối này vào đây.
   ========================================================= */
.fa-solid, .fa-regular, .fa-brands { display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; background-color: currentColor; -webkit-mask: var(--fa) center / contain no-repeat; mask: var(--fa) center / contain no-repeat; }
.fa-brands.fa-facebook-f { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 320 512%22%3E%3Cpath d=%22M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z%22/%3E%3C/svg%3E"); width: 0.625em; }
.fa-brands.fa-facebook-messenger { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath d=%22M256.55 8C116.52 8 8 110.34 8 248.57c0 72.3 29.71 134.78 78.07 177.94 8.35 7.51 6.63 11.86 8.05 58.23A19.92 19.92 0 0 0 122 502.31c52.91-23.3 53.59-25.14 62.56-22.7C337.85 521.8 504 423.7 504 248.57 504 110.34 396.59 8 256.55 8zm149.24 185.13l-73 115.57a37.37 37.37 0 0 1-53.91 9.93l-58.08-43.47a15 15 0 0 0-18 0l-78.37 59.44c-10.46 7.93-24.16-4.6-17.11-15.67l73-115.57a37.36 37.36 0 0 1 53.91-9.93l58.06 43.46a15 15 0 0 0 18 0l78.41-59.38c10.44-7.98 24.14 4.54 17.09 15.62z%22/%3E%3C/svg%3E"); }
.fa-brands.fa-instagram { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 448 512%22%3E%3Cpath d=%22M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z%22/%3E%3C/svg%3E"); width: 0.875em; }
.fa-brands.fa-youtube { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 576 512%22%3E%3Cpath d=%22M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z%22/%3E%3C/svg%3E"); width: 1.125em; }
.fa-regular.fa-envelope { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath d=%22M64 112c-8.8 0-16 7.2-16 16l0 22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1l0-22.1c0-8.8-7.2-16-16-16L64 112zM48 212.2L48 384c0 8.8 7.2 16 16 16l384 0c8.8 0 16-7.2 16-16l0-171.8L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64l384 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128z%22/%3E%3C/svg%3E"); }
.fa-regular.fa-file-lines { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 384 512%22%3E%3Cpath d=%22M64 464c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16L64 464zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0zm56 256c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z%22/%3E%3C/svg%3E"); width: 0.75em; }
.fa-regular.fa-newspaper { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath d=%22M168 80c-13.3 0-24 10.7-24 24l0 304c0 8.4-1.4 16.5-4.1 24L440 432c13.3 0 24-10.7 24-24l0-304c0-13.3-10.7-24-24-24L168 80zM72 480c-39.8 0-72-32.2-72-72L0 112C0 98.7 10.7 88 24 88s24 10.7 24 24l0 296c0 13.3 10.7 24 24 24s24-10.7 24-24l0-304c0-39.8 32.2-72 72-72l272 0c39.8 0 72 32.2 72 72l0 304c0 39.8-32.2 72-72 72L72 480zM176 136c0-13.3 10.7-24 24-24l96 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-96 0c-13.3 0-24-10.7-24-24l0-80zm200-24l32 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-32 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 80l32 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-32 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zM200 272l208 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-208 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 80l208 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-208 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z%22/%3E%3C/svg%3E"); }
.fa-regular.fa-user { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 448 512%22%3E%3Cpath d=%22M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464l349.5 0c-8.9-63.3-63.3-112-129-112l-91.4 0c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304l91.4 0C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7L29.7 512C13.3 512 0 498.7 0 482.3z%22/%3E%3C/svg%3E"); width: 0.875em; }
.fa-solid.fa-angle-down { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 448 512%22%3E%3Cpath d=%22M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z%22/%3E%3C/svg%3E"); width: 0.875em; }
.fa-solid.fa-angle-left { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 320 512%22%3E%3Cpath d=%22M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z%22/%3E%3C/svg%3E"); width: 0.625em; }
.fa-solid.fa-angle-right { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 320 512%22%3E%3Cpath d=%22M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z%22/%3E%3C/svg%3E"); width: 0.625em; }
.fa-solid.fa-arrow-right { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 448 512%22%3E%3Cpath d=%22M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z%22/%3E%3C/svg%3E"); width: 0.875em; }
.fa-solid.fa-bars { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 448 512%22%3E%3Cpath d=%22M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z%22/%3E%3C/svg%3E"); width: 0.875em; }
.fa-solid.fa-envelope { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath d=%22M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z%22/%3E%3C/svg%3E"); }
.fa-solid.fa-location-dot { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 384 512%22%3E%3Cpath d=%22M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z%22/%3E%3C/svg%3E"); width: 0.75em; }
.fa-solid.fa-magnifying-glass { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath d=%22M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z%22/%3E%3C/svg%3E"); }
.fa-solid.fa-phone { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath d=%22M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z%22/%3E%3C/svg%3E"); }
.fa-solid.fa-phone-volume { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22%3E%3Cpath d=%22M280 0C408.1 0 512 103.9 512 232c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-101.6-82.4-184-184-184c-13.3 0-24-10.7-24-24s10.7-24 24-24zm8 192a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm-32-72c0-13.3 10.7-24 24-24c75.1 0 136 60.9 136 136c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-48.6-39.4-88-88-88c-13.3 0-24-10.7-24-24zM117.5 1.4c19.4-5.3 39.7 4.6 47.4 23.2l40 96c6.8 16.3 2.1 35.2-11.6 46.3L144 207.3c33.3 70.4 90.3 127.4 160.7 160.7L345 318.7c11.2-13.7 30-18.4 46.3-11.6l96 40c18.6 7.7 28.5 28 23.2 47.4l-24 88C481.8 499.9 466 512 448 512C200.6 512 0 311.4 0 64C0 46 12.1 30.2 29.5 25.4l88-24z%22/%3E%3C/svg%3E"); }
.fa-solid.fa-star { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 576 512%22%3E%3Cpath d=%22M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z%22/%3E%3C/svg%3E"); width: 1.125em; }
.fa-solid.fa-xmark { --fa: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 384 512%22%3E%3Cpath d=%22M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z%22/%3E%3C/svg%3E"); width: 0.75em; }
