/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.19.1
*/

/*************** DESIGN TOKENS ***************/
/* One source for color, radius, shadow and spacing. Everything below (and the inline styles in
   functions.php and the thienquang-* plugins) uses these instead of literal values.
   Rule for yellow: it is a surface (buttons, bars, badges) with ink text on it - never text on white. */
:root {
	--tq-yellow: var(--fs-color-primary, #f9b31d);
	--tq-yellow-dark: #e09f0a;
	--tq-yellow-soft: #fff8e8;
	--tq-ink: #1a1a1a;
	--tq-text: #333;
	--tq-muted: #6b6b6b;
	--tq-link: #8a5a00;
	--tq-line: #e6e6e6;
	--tq-soft: #f5f5f5;
	--tq-dark: #141414;
	--tq-r-sm: 6px;
	--tq-r-md: 10px;
	--tq-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 18px rgba(0, 0, 0, .07);
	--tq-shadow-hover: 0 2px 4px rgba(0, 0, 0, .08), 0 14px 30px rgba(0, 0, 0, .13);
	--tq-section: 44px;
}
@media only screen and (max-width: 549px) {
	:root { --tq-section: 30px; }
}

/* SVN-Poppins: woff2 first (~58 KB vs ~195 KB ttf), ttf as fallback. Weight -> file mapping kept
   exactly as the old rules resolved it (later duplicates won): 100 Medium, 300 Regular, 600 Bold,
   700 SemiBold, 800 Bold. Old rules served .ttf labelled as woff/woff2, so text rendered in the
   fallback font until ~1 MB of fonts arrived. */
@font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url(fonts/SVN-PoppinsMedium.woff2) format('woff2'), url(fonts/SVN-PoppinsMedium.woff) format('woff'), url(fonts/SVN-PoppinsMedium.ttf) format('truetype');
  }
  @font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/SVN-Poppins.woff2) format('woff2'), url(fonts/SVN-Poppins.woff) format('woff'), url(fonts/SVN-Poppins.ttf) format('truetype');
  }
  @font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/SVN-PoppinsBold.woff2) format('woff2'), url(fonts/SVN-PoppinsBold.woff) format('woff'), url(fonts/SVN-PoppinsBold.ttf) format('truetype');
  }
  @font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/SVN-PoppinsSemiBold.woff2) format('woff2'), url(fonts/SVN-PoppinsSemiBold.woff) format('woff'), url(fonts/SVN-PoppinsSemiBold.ttf) format('truetype');
  }
  @font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(fonts/SVN-PoppinsBold.woff2) format('woff2'), url(fonts/SVN-PoppinsBold.woff) format('woff'), url(fonts/SVN-PoppinsBold.ttf) format('truetype');
  }
  
  
  body, #masthead ul li a, h1, h2, h3, h4, h5, h6, .heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a, li.tab.has-icon a {font-family: 'SVN-Poppins' !important;}
  h1, h2, h3, h5, h6, .heading-font {
      font-weight: 800 !important;
  }
.khachhang-marquee {
  overflow: hidden;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

input#woocommerce-product-search-field-0 {
    box-shadow: none;
    background-color: #fff!important;
    color: var(--tq-ink)!important;
    height: 40px;
}

.searchform .button.icon {
    background-color: var(--fs-color-primary);
    width: 40px;
    height: 40px;
}


.khachhang-marquee .khachhang-marquee__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  margin-left: 0;
  margin-right: 0;
  will-change: transform;
  animation: khachhang-marquee-scroll var(--khachhang-marquee-duration, 28s) linear infinite;
}

.khachhang-marquee .khachhang-marquee__track > .col {
  flex: 0 0 auto;
  max-width: none;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.khachhang-marquee .khachhang-marquee__track > .col > .col-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  min-width: max-content;
  padding-left: 0;
  padding-right: 0;
}

.khachhang-marquee .khachhang-marquee__group {
  display: inline-flex !important;
  flex-wrap: nowrap;
  align-items: center;
  flex: 0 0 auto !important;
  width: max-content;
  min-width: max-content;
  gap: 0;
  margin: 0;
  padding-left: 0;
}

.khachhang-marquee .khachhang-marquee__group + .khachhang-marquee__group {
  margin-left: 24px;
}

.khachhang-marquee .khachhang-marquee__group > .col,
.khachhang-marquee .khachhang-marquee__group > .col-inner {
  flex: 0 0 calc((100vw - 240px) / 6) !important;
  width: calc((100vw - 240px) / 6) !important;
  max-width: calc((100vw - 240px) / 6) !important;
  min-width: calc((100vw - 240px) / 6) !important;
  padding: 0;
  margin: 0 !important;
}

.khachhang-marquee .khachhang-marquee__group > .col > .col-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
}

.khachhang-marquee .img-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.khachhang-marquee .img {
  margin-bottom: 0;
  width: 100%;
  text-align: center;
}

.khachhang-marquee img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
}

.khachhang-marquee:hover .khachhang-marquee__track {
  animation-play-state: paused;
}

@keyframes khachhang-marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--khachhang-marquee-shift, 50%)), 0, 0);
  }
}

@media only screen and (max-width: 849px) {
  .khachhang-marquee .khachhang-marquee__group {
    gap: 0;
  }

  .khachhang-marquee .khachhang-marquee__group > .col,
  .khachhang-marquee .khachhang-marquee__group > .col-inner {
    flex: 0 0 calc((100vw - 64px) / 2) !important;
    width: calc((100vw - 64px) / 2) !important;
    max-width: calc((100vw - 64px) / 2) !important;
    min-width: calc((100vw - 64px) / 2) !important;
    padding: 0;
  }

  .khachhang-marquee img {
    max-height: 48px;
  }

  .khachhang-marquee .khachhang-marquee__group + .khachhang-marquee__group {
    margin-left: 16px;
  }
}
.header-nav .nav-dropdown {
    min-width: 330px;
}

span.contact-price {
    font-weight: bold;
    font-size: 16px;
    color: var(--tq-link);
}
/* Product cards: a price ("11.000.000 ₫") and "Giá : Liên hệ" take the same height, so the
   specs and the button of neighbouring cards stay level. */
.product-small .box-text .price-wrapper > .price {
    display: flex;
    align-items: center;
    min-height: 26px;
}
.blog-wrapper.blog-archive {
    padding-top: 0;
}

.mfp-close-btn-in .mfp-close {
    color: rgb(255 255 255);
    opacity: 1;
}
.icb-bg {
    background: var(--fs-color-primary);
    align-items: center;
    padding: 7px 10px;
	transition: all 0.3s ease-in-out;
	border: 1px solid var(--fs-color-primary);
	position: relative;
	overflow: hidden;
}

.icb-bg:before {
	content: '';
	width: 100%;
	height: 100%;
	background: var(--tq-ink);
	position: absolute;
	left: -100%;
	top: 0;
	z-index: 0;
	transition: all 0.3s ease-in-out;
}

.icb-bg:hover:before {
	left: 0;
}

.icb-bg .icon-box-img img {
	padding: 0;
}

.icb-bg .icon-box-text {
	padding-left: 10px !important;
}

.icb-bg .bg-tt{
	color: var(--tq-ink);
	position: relative;
	font-weight: 700;
	transition: color 0.3s ease-in-out;
}

.icb-bg:hover .bg-tt {
	color: #fff;
}

.ct-list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ct-item img {
    width: 20px;
}

.h-tt {
    font-weight: 900;
    font-size: 40px;
    color: var(--tq-ink);
    text-transform: capitalize;
}

/* vàng chỉ dùng làm chữ khi nền tối (banner, section tối) */
.banner .h-tt,
.dark .h-tt {
    color: var(--fs-color-primary);
}

.main-tt h1{
    font-weight: 900;
    font-size: 50px;
    color: #fff;
    text-transform: uppercase;
}

.main-tt {
    font-weight: 900;
    font-size: 40px;
    color: #fff;
    text-transform: uppercase;
}
/* Homepage banner title is served as <h1 class="main-tt"> (inc/seo.php) instead of the <h3> built in
   UX Builder: keep the size Flatsome gives ".banner h3" (2em) instead of ".banner h1" (3.5em). */
.banner h1.main-tt {
    font-size: 2em;
}


.main-tt span{
    color: var(--fs-color-primary);
}

.h-sub {
    margin-bottom: 10px;
}

.h-bt {
    display: flex;
    gap: 10px;
    align-items: center;
}

a.h-button {
    padding: 10px 20px;
    display: inline-block;
    position: relative;
    border: 1px solid transparent;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 2;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    border-radius: var(--tq-r-sm);
}

a.h-button.h-button-1 {
    background: var(--fs-color-primary);
    border-color: var(--fs-color-primary);
    color: var(--tq-ink);
}

a.h-button.h-button-1:hover {
    color: #fff;
}

a.h-button.h-button-2:hover {
    color: var(--tq-ink);
}

a.h-button.h-button-2 {
    background: var(--tq-ink);
    border-color: var(--fs-color-primary);
}

a.h-button:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: -100%;
    top: 0;
    z-index: -1;
	transition: all 0.3s ease-in-out;
}

a.h-button:hover:before {
    left: 0;
}

a.h-button.h-button-1:before {
    background: var(--tq-ink);
}

a.h-button.h-button-2:before {
        background: var(--fs-color-primary);
}

.icb-bn-h {
    align-items: center;
}

.icb-bn-h-tt {
    font-weight: 900;
    color: var(--fs-color-primary);
    font-size: 20px;
    line-height: 1;
}

.icb-bn-h img {
    padding: 0;
}

.absolute-footer {
	padding: 15px 0;
}


.copyright-footer {
	color: #fff !important;
}

.ft-cpn {
    font-weight: 900;
    color: var(--fs-color-primary);
    font-size: 18px;
    margin-bottom: 5px;
}

.icb-ft-tt {
    font-weight: bold;
    color: var(--fs-color-primary);
}

.icb-ft {
    margin-bottom: 10px;
}

.ft-tt {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.icb-ft-sub {
    font-size: 14px;
}

.ft-tt:after {
    width: 80px;
    height: 3px;
    background: var(--fs-color-primary);
    position: absolute;
    left: 0;
    content: '';
    bottom: 2px;
}

.ft-list-l ul li {
    list-style: none;
    margin-left: 0;
}

.lg-ft .ux-logo-link {
    padding: 0 !important;
    margin-bottom: 15px;
}

@keyframes MoveBackgroundPosition { 
  0% {
      background-position: 0% 50%
  }
  
  50% {
    background-position: 100% 50%
  }
  
  100% {
    background-position: 0% 50%
  }
}

.tq-main-tt h1,
.tq-main-tt h2 {
    display: inline-block;
    width: auto;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.25;
    text-transform: uppercase;
    margin-bottom: 5px;
    padding-bottom: 6px;
    color: var(--tq-ink);
    border-bottom: 4px solid var(--tq-yellow);
}

.dark .tq-main-tt h1,
.dark .tq-main-tt h2 {
    color: #fff;
}

.tp-main-links {
    text-align: right;
}

body a.tp-main-link {
    color: var(--tq-ink);
    font-size: 14px;
    font-weight: 700;
    border-bottom: 2px solid var(--tq-yellow);
    padding-bottom: 2px;
}

body a.tp-main-link:after {
    content: " \2192";
}

.product-small.box {
    box-shadow: var(--tq-shadow);
    background: #fff;
    border-radius: var(--tq-r-md)
}

.product-small.box .box-image img {
    border-radius: var(--tq-r-md) var(--tq-r-md) 0 0;
}

.product-small.box .box-text {
    padding: 15px;
}

.product-small.box {
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}

.product-small.box:hover {
    box-shadow: var(--tq-shadow-hover);
    transform: translateY(-2px);
}

.product-small .product-title a {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    min-height: 42px;
    font-weight: 700;
    color: var(--tq-ink);
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 8px
}

.product-small .price,
.product-small .price .amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--tq-ink);
}

.icb-why-tt {
    font-weight: 900;
    color: var(--fs-color-primary);
}

.icb-why-sub {
    font-size: 14px;
}

.ud-tt {
    font-weight: bold;
}

.imb-ud {
    border-image: linear-gradient(45deg, #f7be14, #fffacd) 1;
    border-style: solid;
    border-width: 1px;
}

.imb-dv .box-text {
    padding: 15px 10px;
}

.imb-dv-tt {
    font-weight: 900;
    color: var(--fs-color-primary);
		    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
	min-height: 37px;
}

.imb-dv-sub {
    font-size: 14px;
	    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.box-blog-post .image-cover {
    position: relative
}

.box-blog-post {
    box-shadow: var(--tq-shadow);
    background: #fff;
    border-radius: var(--tq-r-md);
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}

.box-blog-post:hover {
    box-shadow: var(--tq-shadow-hover);
    transform: translateY(-2px);
}

.box-blog-post .image-cover:before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: 51%;
    background: rgb(255 255 255 / .3)
}

.box-blog-post .image-cover:after {
    top: 50%;
    bottom: 50%;
    left: 0;
    right: 0;
    background: rgb(255 255 255 / .6)
}

.box-blog-post .image-cover::before,.box-blog-post .image-cover:after {
    content: "";
    position: absolute;
    opacity: 1;
    pointer-events: none
}

.box-blog-post:hover .image-cover:before {
    z-index: 999;
    left: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 900ms linear;
    -moz-transition: all 900ms linear;
    -o-transition: all 900ms linear;
    -ms-transition: all 900ms linear;
    transition: all 900ms linear
}

.box-blog-post:hover .image-cover:after {
    z-index: 999;
    top: 0;
    bottom: 0;
    opacity: 0;
    -webkit-transition: all 900ms linear;
    -moz-transition: all 900ms linear;
    -o-transition: all 900ms linear;
    -ms-transition: all 900ms linear;
    transition: all 900ms linear
}

.box-blog-post .is-divider {
    display: none
}

.box-blog-post .post-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 38px;
    font-size: 16px
}

.box.box-vertical.box-text-bottom.box-blog-post.has-hover .post-title a {
    font-size: 14px;
    -webkit-line-clamp: 2
}

.widget .is-divider {
    display: none
}

.widget {
    background: #fff;
    box-shadow: var(--tq-shadow);
    border-radius: var(--tq-r-md);
    padding: 10px
}

.widget .post_comments {
    display: none
}

.widget a {
    color: var(--tq-ink)
}

span.widget-title,
h2.widget-title {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 16px;
    display: block;
    color: var(--tq-ink);
    text-align: center;
    background: var(--fs-color-primary);
    line-height: 1;
    padding: 10px 0;
    margin-bottom: 12px
}

.recent-blog-posts a {
    display: block;
    line-height: 1.2;
    margin-bottom: 6px;
    color: var(--tq-ink);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 40px
}

.img-bd img {
	border-radius: var(--tq-r-md);
}

.cp-p-tt {
    font-size: 30px;
    font-weight: 900;
}

.cp-t-main {
    font-size: 30px;
    font-weight: 900;
    color: var(--fs-color-primary);
}

.cp-t-sub {
    margin-bottom: 10px;
}

.cp-t-sub-ic {
    font-weight: bold;
    padding-left: 30px;
    position: relative;
}

.cp-t-sub-ic:before {
	content: '';
	position: absolute;
	left: 0px;
	top: 5px;
	width: 20px;
	height: 20px;
	background: url(/wp-content/uploads/2026/07/check.png);
	background-size: cover;
}

.icb-ab-num {
    font-weight: 900;
    font-size: 40px;
    line-height: 1;
}

.icb-ab-tt {
    font-weight: 900;
}

.icb-ab-sub {
    font-size: 14px;
    color: #c3c3c3;
}

.icb-tnsm-tt {
    font-weight: 900;
    font-size: 20px;
}

.icb-gtcl-tt {
	font-weight: bold;
	font-size: 18px;
}


.timeline-maker {
    width: 35px;
    height: 35px;
    background: #fff;
    border: 2px solid var(--fs-color-primary);
    position: relative;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.timeline-maker:after {
    width: 25px;
    height: 25px;
    background: var(--fs-color-primary);
    position: absolute;
    content: '';
    left: 3px;
    top: 3px;
    border-radius: 50%;
}

.time-line-item {
    display: flex;
    flex-direction: column;
}

.timeline-content {
    text-align: center;
}

.timeline-year {
    margin-top: 10px;
    font-weight: 900;
    font-size: 20px;
}

.timeline-sub {
    font-size: 14px;
}

.icb-t-tt {
    font-size: 18px;
    color: var(--fs-color-primary);
    font-weight: bold;
}

.childp-tt h1 {
    font-size: 16px;
    color: var(--fs-color-primary);
}

.acn-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.acn-col {
    width: 50%;
}

.acn-col-full {
    width: 100%;
}

.wpcf7-form-control.wpcf7-submit {
    background: var(--fs-color-primary) !important;
    color: var(--tq-ink);
}

span.wpcf7-spinner {
    display: none;
}

.wpcf7-form {
	margin-bottom: 0;
}

.p-ct-tt h3 {
    position: relative;
    padding-bottom: 5px;
}

.p-ct-tt h3:after {
    content: '';
    height: 3px;
    width: 50px;
    background: var(--fs-color-primary);
    position: absolute;
    bottom: 0;
    left: 0;
}

.icb-ctp {
    margin-bottom: 15px;
}

.icb-ctp .icon-inner {
    width: 40px;
    height: 40px;
    background: var(--fs-color-primary);
    border-radius: 50%;
    padding: 8px;
}

.icb-ctp .icon-inner img {
    padding: 0;
    line-height: 1;
}

.icb-ctp-tt {
    font-weight: 900;
    line-height: 1.2;
}

div#shop-sidebar .widget {
    padding: 0;
    box-shadow: none;
}

.thienquang-generator-filter__checkbox-group legend {
    margin: 0;
    font-size: 16px;
	display: inline;
	width: auto;
	border-bottom: 0;
	color: var(--tq-ink);
	font-weight: 700;
}

.p-ct-company {
    margin-top: 20px;
    color: var(--fs-color-primary);
}

.acn-note {
    text-align: center;
    font-size: 14px;
}

.acn-note p {
    margin-bottom: 0;
}

.wpcf7 form {
    margin-bottom: 0;
}

.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    font-weight: normal;
}
.wpcf7-select,
.wpcf7-select option {
  background: var(--tq-ink);
  color: #fff;
}

.icb-dvmpd .icon img {
    padding: 0;
}

.icb-dvmpd .icon-box-img {
    background: var(--tq-ink);
    border-radius: 50%;
    margin-top: -40px;
	border: 1px solid var(--fs-color-primary);
}

.imb-dvmpd-tt {
    font-weight: bold;
    font-size: 16px;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.imb-dvmpd-tt:after {
    content: '';
    background: var(--fs-color-primary);
    height: 3px;
    width: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.icb-dv-s-tt {
    font-weight: bold;
}

.icb-dv-s-sub {
    font-size: 14px;
}

.icb-dv-s {
    align-items: center;
}

.icb-dv-s img {
    padding: 0;
}


.five-columns .col {
    width: 20% !important;
    flex: 0 0 20% !important;
    max-width: 20% !important;
    padding: 15px; /* Adjust padding as needed */
    box-sizing: border-box;
}

/* Ensure row wraps columns correctly */
.five-columns {
    display: flex;
    flex-wrap: wrap;
}


.icb-qt .icon-box-img {
    background: #fff;
    border-radius: 50%;
    width: 80px !important;
    height: 80px !important;
    padding: 20px;
    box-shadow: var(--tq-shadow);
}

.icb-qt .icb-nb {
	width: 25px;
	height: 25px;
	position: absolute;
	top: 15px;
	left: calc(50% - 50px);
	background: var(--fs-color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tq-ink);
	font-weight: 700;
	border-radius: 50%;
}

.qt-tt {
	font-weight: 900;
}

.five-columns .col:first-child .icb-qt:before {
	display: none;
}

.five-columns .col:last-child .icb-qt:before {
	display: none;
}

.icb-qt:before {
    content: '';
    position: absolute;
    width: 30px;
    top: 50%;
    left: -30px;
    height: 3px;
    border-top: 2px dashed var(--fs-color-primary);
}

.icb-gpp-tt {
    font-weight: 900;
    font-size: 16px;
}

.icb-gpp-sub {
    font-size: 14px;
}

.icb-gpp {
    align-items: center;
}

.icb-gpp img {
    padding: 0;
}

.r-gpp >.col >.col-inner {
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--tq-r-sm);
}

.imb-gpp img {
    border-radius: var(--tq-r-sm) var(--tq-r-sm) 0 0;
}

.imb-gpp-tt {
    font-weight: 900;
    color: var(--fs-color-primary);
}

div#modal-tuvan , #modal-baogia {
    background: transparent;
}

.col-modal >.col-inner {
    border: 2px solid #ffd098;
    background: radial-gradient(circle at top center, rgba(255, 208, 152, 0.13), transparent 35%), linear-gradient(135deg, #07090b 0%, #151a1e 50%, #08090a 100%);
    color: #fff;
}

.f-tv-tt {
    font-size: 20px;
    text-align: center;
    font-weight: 900;
}

.f-tv-tt-2 {
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    color: var(--fs-color-primary);
}

.f-tv-sub {
    text-align: center;
    margin-bottom: 10px;
}

#modal-tuvan .wpcf7 label ,#modal-baogia .wpcf7 label  {
   color: #fff;
}


#modal-tuvan .wpcf7-form-control, #modal-baogia .wpcf7-form-control {
    width: 100%;
    margin-top: 5px;
    border: 1px solid rgba(255, 208, 152, .22);
    background: #090a0a;
    color: white;
    border-radius: var(--tq-r-sm);
    outline: none;
    height: 40px;
}

#modal-tuvan .wpcf7-form-control:focus , #modal-baogia .wpcf7-form-control:focus{
    border-color: var(--fs-color-secondary);
    box-shadow: 0 0 0 3px rgba(255, 208, 152, .08);
    background: transparent;
    color: #fff;
}



#modal-tuvan input.wpcf7-form-control.wpcf7-submit.has-spinner.bt-n-ud , #modal-baogia input.wpcf7-form-control.wpcf7-submit.has-spinner.bt-n-ud {
    background: linear-gradient(135deg, #b97a2b, var(--fs-color-secondary) 52%, #efb85f);
    transition: .25s;
    height: auto;
    padding: 5px;
    color: var(--tq-ink);
}

/* nút gửi trong popup: ô nhập của popup đặt chữ trắng theo #id, nút nền vàng phải là chữ mực */
#modal-tuvan .wpcf7-form-control.wpcf7-submit,
#modal-baogia .wpcf7-form-control.wpcf7-submit {
    color: var(--tq-ink);
    font-weight: 700;
}

#modal-tuvan .acn-note p {
	color: #fcfcfc;
}

.imb-cs-tt {
    font-weight: 900;
    font-size: 20px;
    text-align: left;
    color: var(--tq-ink);
}

.imb-cs {
    text-align: left;
    background: #fff;
}

.imb-cs-sub {
    margin-bottom: 10px;
}

.imb-cs-list {
    text-align: left;
}

.main-tt-2 {
    font-weight: 900;
    font-size: 24px;
}


.icb-product {
    align-items: center;
}

.icb-product img {
    padding: 0;
}

.icb-product-tt {
    font-weight: bold;
}

td:last-child, th:last-child {
    padding-right: .5em;
}
td:first-child, th:first-child {
    padding-left: .5em;
}


.nav-dropdown>li.nav-dropdown-col {
   display: block
}

.off-canvas .nav-vertical>li>a {
    padding-bottom: 15px;
    padding-top: 15px;
    font-weight: bold;
    color: var(--tq-ink);
}

.nav-dropdown {
	padding: 0
}

.nav-dropdown .nav-dropdown-col>a,
.nav-dropdown li a {
	font-weight: 500 !important;
	text-transform: none !important;
	font-size: 15px;
	margin: 0 15px;
	padding: 13px 0;
}

.nav-dropdown>li {
    border-top: 1px solid var(--tq-line);
}

.nav-dropdown .nav-dropdown-col>ul li:hover {
	background: var(--fs-color-primary);
}

.nav-dropdown-default>li:hover>a,
.nav-dropdown .nav-dropdown-col>ul li:hover>a {
	color: var(--tq-ink)
}

.nav-dropdown-default>li:hover {
	background: var(--fs-color-primary);
}

.nav-dropdown-default>li>a {
	border-bottom: 0 !important
}

.nav-dropdown-has-arrow li.has-dropdown:before {
	border-width: 10px;
	margin-left: -10px;
}

.nav-dropdown .nav-dropdown-col>ul {
	margin-top: -50px;
	box-shadow: var(--tq-shadow-hover);
	display: none;
	position: absolute;
	left: 100%;
	z-index: 9;
	background: white;
	min-width: 260px;
}


.nav-dropdown>li.nav-dropdown-col {
	width: 100%;
	border-right: 0
}

.nav-dropdown .nav-dropdown-col>ul li a {
	padding: 15px;
	text-transform: none;
	color: black
}

.header-nav li.nav-dropdown-col:hover>ul {
	display: block !important
}

.menu-item .active>ul.children,
.menu-item .active>ul.sub-menu:not(.nav-dropdown) {
	display: none !important;
}


.nav-dropdown>li>a {
    color: var(--tq-ink);
}


.bl-black .box-text {
    background: var(--tq-ink);
}

.bl-black .box-text a {
    color: var(--fs-color-primary);
}

.bl-black p.from_the_blog_excerpt {
    color: #ffff;
}

.icb-t-sub {
    margin-bottom: 15px;
}

.custom-tai-sao-section {
    padding: 20px;
    background: #f1f1f1;
    box-shadow: var(--tq-shadow);
}

.mobile-sidebar .header-block {
    padding-left: 20px;
}

.p-tt-why {
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.ts-tt {
	    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    min-height: 36px;
    font-weight: 700;
    color: var(--tq-ink);
    font-size: 14px;
    margin-bottom: 10px;
}

.ts-desc {
    font-size: 14px;
}

.p-tt-ung-dung {
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.ud-tt-c {
    font-weight: bold;
    text-align: center;
    font-size: 14px;
}

.table-thong-so-ky-thuat table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
            font-size: 15px;
        }
        .table-thong-so-ky-thuat th, .table-thong-so-ky-thuat td {
            border: 1px solid var(--tq-line);
            padding: 10px 15px;
            text-align: left;
        }
        .table-thong-so-ky-thuat th {
            background-color: var(--tq-ink);
            color: #ffffff;
            font-weight: bold;
            text-transform: uppercase;
        }
        .table-thong-so-ky-thuat tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        .table-thong-so-ky-thuat tr:hover {
            background-color: #f1f1f1;
        }

.product-ts-tt {
    font-weight: bold;
    margin-bottom: 10px;
	position: relative;
    display: inline-block;
    margin-top: 8px;
}

.product-ts-tt:before {
    background-color: var(--fs-color-primary);
    content: " ";
    height: 3px;
    position: absolute;
    top: -7px;
    transition: all .3s;
    width: 100%;
    left: 0;
}

.box.box-text-bottom.box-blog-post .box-text {
    padding: 15px;
}

.box.box-text-bottom.box-blog-post .box-text .post-title {
    position: relative;
    padding-bottom: 5px;
	margin-bottom: 10px;
	font-weight: bold !important;
}

.box.box-text-bottom.box-blog-post .box-text .post-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--fs-color-primary);
}

.wpcf7-response-output {
    color: #fff;
}
/* Contact page (298): this form sits on a white card, so the white message above was unreadable. */
.page-id-298 .col-p-lh .wpcf7-response-output {
    color: var(--tq-ink);
}

/*************** TRANG TUYỂN DỤNG (page-tuyen-dung.php) ***************/
/* Dùng lại kiểu chung của site (.tq-main-tt, timeline, .icb-t, .h-button); dưới đây chỉ là phần riêng. */
.tqc { --tqc-y: var(--fs-color-primary); --tqc-k: var(--tq-ink); --tqc-muted: var(--tq-muted); --tqc-line: var(--tq-line); }
.tqc .tq-main-tt { margin-bottom: 20px; }
.tqc-lead { max-width: 640px; margin: -12px auto 24px; color: var(--tqc-muted); font-size: 15px; }
.tqc .tqc-ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tqc .banner .h-bt { flex-wrap: wrap; margin-top: 16px; }
.tqc a.h-button { font-weight: 700; font-size: 14px; }

.tqc-intro .h-tt { font-size: 32px; line-height: 1.3; margin-bottom: 12px; }
.tqc-intro .cp-p-tt { line-height: 1.3; }
.tqc-intro .img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.tqc-content { margin-top: 16px; }
/* Bớt khoảng trống giữa phần giới thiệu và "Vị trí đang tuyển" (90px -> 40px) */
.tqc-intro .row > .col:last-child { padding-bottom: 0; }
.tqc .tqc-intro { padding-bottom: 15px; }
.tqc .tqc-jobs { padding-top: 25px; }



.tqc-jobs { background: #fbfbfb; }
.tqc-job { background: #fff; box-shadow: var(--tq-shadow); border-top: 3px solid var(--tqc-y); margin-bottom: 20px; scroll-margin-top: 110px; }
.tqc-job__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; cursor: pointer; list-style: none; }
.tqc-job__head::-webkit-details-marker { display: none; }
.tqc-job__head:focus-visible { outline: 2px solid var(--tqc-y); outline-offset: -2px; }
.tqc-badge { display: inline-block; background: var(--tqc-k); color: var(--tqc-y); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; }
.tqc-job__title { font-size: 22px; font-weight: 900; color: var(--tqc-k); text-transform: uppercase; line-height: 1.3; margin: 10px 0 10px; }
.tqc-job__meta { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.tqc-job__meta li { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 0; color: var(--tq-text); }
.tqc .tqc-job__meta .tqc-ic { width: 18px; height: 18px; color: var(--tqc-y); }
.tqc-job__toggle { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--tqc-y); background: var(--tqc-y); color: var(--tqc-k); font-weight: 700; font-size: 14px;
	text-transform: uppercase; padding: 10px 18px; transition: background .3s, color .3s; }
.tqc-job__head:hover .tqc-job__toggle { background: var(--tqc-k); color: #fff; }
.tqc .tqc-job__toggle .tqc-ic { width: 18px; height: 18px; transition: transform .3s; }
.tqc-job__less, .tqc-job[open] .tqc-job__more { display: none; }
.tqc-job[open] .tqc-job__less { display: inline; }
.tqc-job[open] .tqc-job__toggle { background: var(--tqc-k); color: #fff; }
.tqc-job[open] .tqc-job__toggle .tqc-ic { transform: rotate(180deg); }

.tqc-job__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding: 28px; border-top: 1px solid var(--tqc-line); }
.tqc-job__sum { font-size: 16px; line-height: 1.7; color: var(--tq-text); margin-bottom: 0; }
.tqc-h { position: relative; font-size: 18px; font-weight: 900; color: var(--tqc-k); text-transform: uppercase; margin: 28px 0 16px; padding-bottom: 10px; }
.tqc-h::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 80px; height: 3px; background: var(--tqc-y); }
.tqc-ul { margin: 0; list-style: none; }
.tqc-ul li { position: relative; padding-left: 22px; margin: 0 0 10px; line-height: 1.65; font-size: 15px; color: var(--tq-text); }
.tqc-ul li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; background: var(--tqc-y); }
.tqc-ul--check li { padding-left: 30px; }
.tqc-ul--check li::before { left: 0; top: 4px; width: 20px; height: 20px; background: url(/wp-content/uploads/2026/07/check.png) center / cover; }
.tqc-job__body a { color: var(--tqc-k); text-decoration: underline; text-decoration-color: var(--tqc-y); text-underline-offset: 3px; }
.tqc-job__side { position: sticky; top: 110px; }
.tqc-box { background: var(--tqc-k); color: #f1f1f1; padding: 26px; }
.tqc-box__tt { position: relative; color: var(--tqc-y); font-size: 18px; font-weight: 900; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 10px; }
.tqc-box__tt::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 80px; height: 3px; background: var(--tqc-y); }
.tqc-facts { list-style: none; margin: 0 0 20px; }
.tqc-facts li { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; padding: 10px 0; border-bottom: 1px solid #3a3a3a; margin: 0; }
.tqc .tqc-facts .tqc-ic { grid-row: 1 / 3; color: var(--tqc-y); width: 20px; height: 20px; margin-top: 3px; }
.tqc-facts span { font-size: 12px; color: #c3c3c3; text-transform: uppercase; letter-spacing: .04em; }
.tqc-facts b { font-size: 14px; color: #fff; font-weight: 700; line-height: 1.5; }
.tqc-box a.h-button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; }
.tqc .tqc-box a.h-button .tqc-ic { width: 18px; height: 18px; }
.tqc-box a.h-button-1::before { background: #000; }
.tqc-box__alt { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; margin-top: 10px; }
/* 3 nút chia sẻ luôn chung một hàng: [Sao chép liên kết][FB][menu chia sẻ của điện thoại] */
.tqc-share { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #3a3a3a; }
.tqc-share__lb { grid-column: 1 / -1; font-size: 12px; color: #c3c3c3; text-transform: uppercase; letter-spacing: .04em; }
.tqc .tqc-share__copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tqc .tqc-share__bt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-height: 0; margin: 0; padding: 0 14px; border: 1px solid var(--tq-muted);
	background: transparent; color: #fff; font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1; transition: border-color .3s, color .3s; }
.tqc .tqc-share__copy { min-width: 0; padding: 0 10px; }
/* Bớt khoảng trống giữa danh sách vị trí và "Quy trình tuyển dụng" */
.tqc-jobs .tqc-job:last-child { margin-bottom: 0; }
.tqc-jobs .row:last-child > .col { padding-bottom: 0; }
.tqc .tqc-steps { padding-top: 10px; }
.tqc .tqc-share__ic { width: 40px; padding: 0; }
.tqc .tqc-share__bt:hover, .tqc .tqc-share__bt.is-done { border-color: var(--tqc-y); color: var(--tqc-y); }
.tqc .tqc-share__bt .tqc-ic { width: 18px; height: 18px; }
.tqc .tqc-share__bt[hidden] { display: none; }

.tqc-steps .col { padding-bottom: 10px; }
.tqc-steps .time-line-item { position: relative; }
.tqc-step-no { margin-top: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tqc-muted); }
.tqc-steps .timeline-year { margin-top: 0; text-transform: uppercase; }
.tqc-steps .timeline-maker { z-index: 1; }

.tqc-cta .icb-t-bt.h-bt { flex-wrap: wrap; }

@media only screen and (min-width: 850px) {
	.tqc-steps .timeline-sub { max-width: 220px; margin: 0 auto; }
	/* Đường nối các bước (như dòng thời gian) */
	.tqc-steps__row .col:not(:last-child) .time-line-item::before { content: ""; position: absolute; top: 17px; left: calc(50% + 26px); width: calc(100% - 32px); border-top: 2px dashed var(--tqc-y); }
}
@media only screen and (max-width: 849px) {
	.tqc-job__grid { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
	.tqc-job__side { position: static; }
	.tqc-job__head { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
	.tqc-job__toggle { justify-content: center; }
	.tqc-job__title { font-size: 19px; }
	.tqc-intro .h-tt { font-size: 26px; }
	.tqc-intro .cp-p-tt { font-size: 24px; }
}
@media only screen and (max-width: 549px) {
	.tqc .banner .h-tt { font-size: 28px; line-height: 1.3; }
	.tqc .banner .main-tt { font-size: 30px; }
	/* 2 nút banner luôn chung một hàng (banner cao cố định nên nút rớt dòng sẽ bị cắt); máy quá hẹp /
	   chữ phóng to thì chữ xuống dòng trong nút. */
	.tqc .banner .h-bt { flex-wrap: nowrap; gap: 8px; }
	.tqc .banner a.h-button { padding: 10px 12px; font-size: 13px; line-height: 1.3; min-width: 0; }
	.tqc .banner a.h-button-1 { flex: 1 1 auto; }
	.tqc .banner a.h-button-2 { flex: 0 0 auto; white-space: nowrap; }
	/* vừa một dòng: dòng chữ rộng ~17.7 lần cỡ chữ, cột rộng 100vw - 30px */
	.tqc-intro .cp-p-tt { font-size: min(20px, calc((100vw - 30px) / 18.2)); }
	.tqc-intro .h-tt { font-size: 22px; }
	.tqc-job__meta { flex-direction: column; }
	.tqc-box { padding: 20px; }
}

/* Menu chính có 8 mục (mục "Tuyển Dụng" thêm bằng code trong inc/tuyen-dung-admin.php): thu khoảng cách
   để menu vừa một dòng. Ô tìm kiếm chỉ hẹp lại ở màn hình nhỏ (laptop nhỏ / tablet ngang). */
@media only screen and (min-width: 850px) {
	.header-main .header-nav-main.nav > li { margin: 0 5px; }
	.header-main .header-search-form { max-width: 215px; }
}
@media only screen and (min-width: 850px) and (max-width: 1199px) {
	.header-main .header-nav-main.nav > li { margin: 0 3px; }
	.header-main .header-nav-main.nav > li > a { font-size: 11.5px; }
	.header-main .header-search-form { max-width: 150px; }
}
@media only screen and (min-width: 850px) and (max-width: 1099px) {
	.header-main .header-nav-main.nav > li { margin: 0 2px; }
	.header-main .header-nav-main.nav > li > a { font-size: 11px; }
	.header-main .header-search-form { max-width: 125px; }
}

/*************** TRANG NGÀNH (inc/industry-pages.php) ***************/
/* Phần chữ tư vấn gắn dưới lưới ảnh UX Builder của 7 trang ngành. */
.tqi { padding-top: 10px !important; }
.tqi .tq-main-tt { text-align: center; margin-bottom: 16px; }
.tqi .tq-main-tt h1 { font-size: 24px; }
.tqi-projects { margin-top: 4px; }
.tqi-p { font-size: 16px; line-height: 1.7; color: var(--tq-text); }
.tqi-h { font-size: 20px; font-weight: 700; color: var(--tq-ink); margin: 34px 0 14px; padding-left: 12px; border-left: 4px solid var(--fs-color-primary); text-transform: none; }
.tqi-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tqi-card { background: #f7f7f7; border-radius: var(--tq-r-sm); padding: 18px 20px; border-top: 3px solid var(--fs-color-primary); }
.tqi-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--tq-ink); }
.tqi-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--tq-text); }
.tqi-table-wrap { overflow-x: auto; }
.tqi-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; }
.tqi-table th { background: var(--tq-ink); color: #fff; text-align: left; padding: 10px 14px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.tqi-table td { padding: 10px 14px; border-bottom: 1px solid var(--tq-line); color: var(--tq-text); }
.tqi-table tr:nth-child(even) td { background: #fafafa; }
.tqi-table td:last-child { font-weight: 700; white-space: nowrap; }
.tqi-note { font-size: 13px; color: var(--tq-muted); margin-top: 8px; font-style: italic; }
.tqi-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tqi ul.tqi-links { margin: 0 !important; }
.tqi .tqi-links li { margin: 0 !important; }
.tqi-links a { display: inline-block; padding: 8px 14px; border: 1px solid var(--tq-line); border-radius: var(--tq-r-sm); color: var(--tq-ink); font-size: 14px; font-weight: 600; background: #fff; transition: border-color .2s, color .2s; }
.tqi-links a:hover { border-color: var(--fs-color-primary); color: #000; background: #fff8e8; }
.tqi-faq { border-top: 1px solid var(--tq-line); }
.tqi-q { border-bottom: 1px solid var(--tq-line); }
.tqi-q summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; position: relative; }
.tqi-q summary::-webkit-details-marker { display: none; }
.tqi-q summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 22px; font-weight: 700; color: var(--fs-color-primary); }
.tqi-q[open] summary::after { content: "–"; }
.tqi-q summary h3 { display: inline; font-size: 16px; font-weight: 700; margin: 0; color: var(--tq-ink); }
.tqi-q p { margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: var(--tq-text); }
.tqi-cta { margin: 36px 0 10px; padding: 26px 24px; background: var(--tq-ink); color: #fff; border-radius: var(--tq-r-sm); text-align: center; }
.tqi-cta__tt { font-size: 20px; font-weight: 700; color: var(--fs-color-primary); margin-bottom: 6px; }
.tqi-cta p { color: var(--tq-line); margin-bottom: 14px; }
.tqi-cta .h-bt { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tqi-cta a.h-button { font-weight: 700; font-size: 14px; }
@media (max-width: 549px) {
	.tqi-cards { grid-template-columns: 1fr; }
	.tqi-h { font-size: 18px; }
	.tqi-table td:last-child { white-space: normal; }
}

/*************** Ô TÌM KIẾM (inc/live-search.php) ***************/
/* Mỗi gợi ý là link thật: con trỏ bàn tay, nền đổi màu khi rê chuột / chọn bằng phím mũi tên. */
.autocomplete-suggestion { cursor: pointer; padding: 0; }
.autocomplete-suggestion > a.search-link { display: flex; align-items: center; flex: 1; padding: 10px .75em; color: inherit; }
.autocomplete-suggestion.autocomplete-selected { background: rgba(0, 0, 0, .05); }
.autocomplete-suggestion.autocomplete-selected .search-name { color: var(--fs-color-primary); }
/* Giá nhỏ, một dòng, để tên sản phẩm có chỗ (nhất là ô tìm kiếm trong menu điện thoại). */
.autocomplete-suggestion .search-price { flex-shrink: 0; max-width: 40%; text-align: right; font-size: 12px; line-height: 1.4; }
.autocomplete-suggestion .search-price span.contact-price { font-size: 12px; white-space: nowrap; }
.autocomplete-suggestion .search-name { font-size: 14px; line-height: 1.35; }
/* Ô tìm kiếm trên header bị thu hẹp (125-215px) để menu vừa một dòng; hộp gợi ý rộng hơn ô để tên
   sản phẩm không bị dồn mỗi chữ một dòng. */
@media only screen and (min-width: 850px) {
	.header-main .header-search-form .live-search-results { right: auto; width: 400px; }
}

/* Breadcrumb trên trang bài viết tin tức (template-parts/posts/single.php) */
/* Post / service-page breadcrumb: same look as the shop and product pages (Flatsome "is-large" uppercase). */
.tq-post-breadcrumb { margin: 3px 0 14px; font-size: 1.15em; line-height: 1.2; font-weight: 700; text-transform: uppercase; color: #222; }
.tq-post-breadcrumb .rank-math-breadcrumb p { margin: 0; white-space: normal; overflow-wrap: anywhere; }
.tq-post-breadcrumb a { font-weight: 400; color: rgba(74, 74, 74, .8); }
.tq-post-breadcrumb a:hover { color: var(--tq-ink); }
.tq-post-breadcrumb .separator { margin: 0 .3em; font-weight: 300; color: #222; opacity: .35; }
.tq-post-breadcrumb .last { color: #222; }
@media (max-width: 549px) { .tq-post-breadcrumb { font-size: 1em; } }
/* Product page: the breadcrumb looks and sits like the one on the shop / category pages (bold
   uppercase, top left under the header) instead of inside the right column. */
.custom-product-page .row:has(> .col > .col-inner > .product-breadcrumb-container) { position: relative; padding-top: 46px; }
.custom-product-page .col:has(> .col-inner > .product-breadcrumb-container),
.custom-product-page .col-inner:has(> .product-breadcrumb-container) { position: static; }
.custom-product-page .product-breadcrumb-container { position: absolute; top: 23px; left: 11px; right: 11px; font-size: 1.15em; }
.custom-product-page .product-breadcrumb-container + .gap-element { padding-top: 21px !important; } /* title level with the photo */
/* Desktop: photo a bit smaller, kept to the left so there is more room before the product info. */
@media (min-width: 850px) {
	.custom-product-page .product-images { width: 88%; max-width: 88%; margin-right: auto; }
}
@media (max-width: 849px) {
	.custom-product-page .product-breadcrumb-container { top: 15px; left: 15px; right: 15px; }
	/* Stacked layout: the title sits right under the photo, not ~55px below it. */
	.custom-product-page .product-breadcrumb-container + .gap-element { padding-top: 0 !important; }
	.custom-product-page .col:has(> .col-inner > .product-breadcrumb-container) { padding-bottom: 0; }
	.custom-product-page .col:has(> .col-inner > .product-images) { padding-bottom: 0; }
	.custom-product-page .product-images { margin-bottom: 8px; }
}
@media (max-width: 549px) {
	.custom-product-page .row:has(> .col > .col-inner > .product-breadcrumb-container) { padding-top: 50px; }
	.custom-product-page .product-breadcrumb-container { top: 15px; left: 15px; right: 15px; font-size: 1em; }
}

/* Product page: the four trust tiles line up with the two buttons above them (same edges, same 8px gap). */
.custom-product-page .row:has(> .col > .col-inner > .icb-product) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: auto; margin: 0 !important; }
.custom-product-page .row:has(> .col > .col-inner > .icb-product) > .col { width: auto; max-width: none; flex-basis: auto; padding: 0; }
.custom-product-page .row:has(> .col > .col-inner > .icb-product) > .col > .col-inner { width: 100%; }

/* Inner-page banners (the ones with a breadcrumb): one title size, and the text starts at the same
   height on every page so the breadcrumb does not jump between pages (it used to be centred). */
.banner .text-box:has(.rank-math-breadcrumb) { top: 16px !important; transform: none !important; }
@media (min-width: 550px) {
	.banner .text-box:has(.rank-math-breadcrumb) .main-tt,
	.banner .text-box:has(.rank-math-breadcrumb) .h-tt { font-size: 36px; }
}
@media (max-width: 849px) { .banner .text-box:has(.rank-math-breadcrumb) { top: 0 !important; } }
/* ...and one banner height (Dịch vụ and Theo công suất were 400px in UX Builder). */
@media (min-width: 550px) { .banner:has(.text-box .rank-math-breadcrumb) { padding-top: 300px !important; } }
/* Phones: 230px = the shortest height that still holds the longest text (Giới thiệu, 219px). */
@media (max-width: 549px) { .banner:has(.text-box .rank-math-breadcrumb) { padding-top: 230px !important; } }

/*************** HỆ THỐNG GIAO DIỆN CHUNG ***************/
/* Một kiểu nút, một kiểu thẻ, một thang chữ cho toàn site. Giá trị lấy từ DESIGN TOKENS ở đầu file. */

/* Link: màu link mặc định của Flatsome (xanh dương, đặt trong Theme Options) lạc tông thương hiệu. */
body a { color: var(--tq-link); }
body a:hover { color: var(--tq-ink); }

/* Nút: chữ màu mực trên nền vàng (chữ trắng trên vàng chỉ đạt tương phản 1,8:1), bo góc 6px.
   Flatsome đặt .circle{border-radius:99px !important} nên dòng .circle buộc phải !important. */
.button:not(.icon),
input[type=submit] { border-radius: var(--tq-r-sm); }
.button.circle:not(.icon) { border-radius: var(--tq-r-sm) !important; }
.button:not(.icon):not(.is-small):not(.is-xsmall):not(.is-link):not(.is-underline) { font-size: 14px; letter-spacing: .02em; }
.button.is-link, .button.is-underline { font-size: 13px; }
.button.is-small:not(.icon) { font-size: 12px; }
/* nút mặc định của Flatsome (không ghi màu) cũng có nền vàng, nên áp cho mọi nút trừ các màu khác */
.button:not(.secondary):not(.success):not(.alert):not(.white):not(.is-outline):not(.is-link):not(.is-underline),
.button:not(.secondary):not(.success):not(.alert):not(.white):not(.is-outline):not(.is-link):not(.is-underline) i,
.searchform .button.icon,
.searchform .button.icon i,
input[type=submit].primary { color: var(--tq-ink); }
.button.primary.is-link, .button.primary.is-underline { color: var(--tq-ink); }
.button.primary.is-outline { color: var(--tq-ink); border-color: var(--tq-yellow); }
.button.primary.is-outline:hover { color: var(--tq-ink); }

/* Mô tả nhóm sản phẩm: bảng và nút "Xem thêm" có màu/phông ghi thẳng trong nội dung (style="...")
   nên phải !important: chữ mực trên dòng tiêu đề vàng, cùng phông với site, cỡ chữ đọc được. */
.term-description summary { color: var(--tq-link) !important; }
.term-description table { font-family: inherit !important; }
.term-description tr[style*="background-color"] { color: var(--tq-ink) !important; }
.term-description table th,
.term-description table td { font-size: 13px; line-height: 1.5; }
.term-description table th { text-transform: none; letter-spacing: 0; }

/* Trang dịch vụ (bài viết thuộc chuyên mục Dịch vụ, single-dich-vu.php): mục "Có thể bạn quan tâm" cách
   footer 144px vì 5 lớp padding/margin cộng dồn; gom lại còn ~48px (desktop) / ~36px (điện thoại). */
.blog-single:has(> .row article.category-dich-vu) { padding-bottom: 18px; }
.blog-single > .row > .col:has(> article.category-dich-vu) { padding-bottom: 0; }
.blog-single article.category-dich-vu { margin-bottom: 0; }
.blog-single article.category-dich-vu .entry-content.single-page { padding-bottom: 0; }

/* Phân trang */
.nav-pagination > li > .current,
.nav-pagination > li > a:hover { color: var(--tq-ink); }

/* Ô nhập */
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], input[type=url], select, textarea { border-radius: var(--tq-r-sm); }

/* Thẻ ảnh của UX Builder (dịch vụ, dự án, giải pháp...) dùng chung khung với thẻ sản phẩm / tin tức */
.box.box-shadow-1, .box.box-shadow-2,
.col-inner.box-shadow-1, .col-inner.box-shadow-2 { box-shadow: var(--tq-shadow); border-radius: var(--tq-r-md); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.box.box-shadow-1:hover, .box.box-shadow-2:hover { box-shadow: var(--tq-shadow-hover); transform: translateY(-2px); }

/* Nhóm sản phẩm (ux_product_categories) */
.box-category .header-title { color: var(--tq-ink); font-size: 15px; font-weight: 700; line-height: 1.35; }
.box-category .count { color: var(--tq-muted); font-size: 12px; opacity: 1; }

/* Thang chữ tiêu đề trang */
.product-info h1.product-title, h1.entry-title { font-size: 28px; line-height: 1.3; }
.product-page-price, .product-page-price .amount { font-size: 26px; font-weight: 800; line-height: 1.3; color: var(--tq-ink); }
/* Dòng nhóm trong bảng thông số: màu ghi thẳng trong nội dung sản phẩm (style="background:#f9b31d;color:white")
   nên phải !important để đổi chữ trắng trên vàng thành chữ mực. */
.table-thong-so-ky-thuat td[style*="background-color"] { color: var(--tq-ink) !important; }

/* Banner: nền chờ lúc ảnh chưa tải là màu tối (mặc định Flatsome là màu vàng chủ đạo, chữ trắng không đọc được) */
.banner { background-color: var(--tq-dark); }
.icb-bn-h-sub { font-size: 13px; line-height: 1.3; }

/* Header: nút "Báo giá nhanh" và menu */
.icb-bg { border-radius: var(--tq-r-sm); }
.icb-bg .icon-box-img img { transition: filter .3s ease-in-out; filter: brightness(0); }
.icb-bg:hover .icon-box-img img { filter: none; }
@media only screen and (min-width: 1200px) {
	.header-main .header-nav-main.nav > li > a { font-size: 13px; letter-spacing: 0; }
}

/*************** TRANG CHỦ ***************/
/* Nhịp các mục: cùng khoảng cách trên/dưới, nền xen kẽ trắng - xám nhạt, mục "Giải pháp" là dải tối.
   Flatsome ghi padding/margin của từng section bằng #section_xxx nên ở đây phải có #content. */
.home #content > .section:not(:first-of-type) { padding-top: var(--tq-section); padding-bottom: calc(var(--tq-section) - 30px); margin-bottom: 0; }
.home #content > .section.dark > .section-bg { background-color: var(--tq-dark); }
.home .box-category .count { display: none; }
/* Tiêu đề thẻ trên trang chủ có màu/cỡ chữ ghi thẳng trong UX Builder (style="...") nên phải !important */
.home #content .box-text h3 { color: var(--tq-ink) !important; font-size: 16px !important; line-height: 1.35; margin: 0; }
.home #content .box-text h3 span { color: inherit !important; }
.home #content .box:not(.dark) .box-text p { color: var(--tq-text); }
/* Khoảng cách do padding của section quyết định, bỏ các [gap] chèn tay ở đầu mục */
/* (Flatsome đặt .gap-element{display:block !important} và chiều cao bằng #gap-xxx nên phải !important) */
.home #content > .section > .section-content > .gap-element { padding-top: 0 !important; }
/* Thẻ dịch vụ / dự án: bỏ các dòng trống (&nbsp;) chèn tay, tiêu đề luôn chừa 2 dòng để các thẻ cao bằng nhau */
.home #content .box-shadow-1 .box-text { padding: 16px 18px 18px; }
.home #content .box-shadow-1 .box-text .text > p:not([style]) { display: none; }
.home #content .box-shadow-1 .box-text h3 { min-height: 2.7em; }
.home #content .box-shadow-1 .box-text h3 + p ~ p[style] { margin: 8px 0 0; }
.home #content > .section.khachhang-marquee { padding-bottom: var(--tq-section); }
.home #content > .section:has(.box-category) { padding-bottom: calc(var(--tq-section) - 17px); }
/* Thẻ "Giải pháp": nhãn trắng đậm trên dải mờ tối để đọc được trên ảnh */
.home #content .box-overlay.dark .box-text { background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0)); }
.home #content .box-overlay.dark .box-text a { color: #fff; font-size: 16px; letter-spacing: .02em; }
.home #content .box-overlay.dark:hover .box-text a { color: var(--tq-yellow); }

/* Tablet (550-849px): banner trang chủ dùng bản desktop nhưng cột chữ chỉ còn ~420px: chữ sát mép trái,
   tiêu đề rớt 2 dòng và dải số liệu tràn xuống ô lọc. Thu tiêu đề về 1 dòng, bớt khoảng trống chèn tay
   (style="padding: ..px" trong UX Builder nên phải !important) và chừa lề trái. */
@media only screen and (min-width: 550px) and (max-width: 849px) {
	.home .banner .text-box-content { padding-left: 15px; }
	.home .banner .h-tt { font-size: 30px; }
	.home .banner .text > div[style*="padding"] { padding: 26px !important; }
	.home #content .box-shadow-1 .box-text h3 { min-height: 4.05em; }
}

@media only screen and (max-width: 549px) {
	.tq-main-tt h1, .tq-main-tt h2 { font-size: 22px; }
	.blog-single:has(> .row article.category-dich-vu) { padding-bottom: 6px; }
	.tqi .tq-main-tt h1 { font-size: 20px; }
	.product-info h1.product-title, h1.entry-title { font-size: 22px; }
	.product-page-price, .product-page-price .amount { font-size: 22px; }
	.box-category .count, .box-blog-post .button.is-link { font-size: 12px; }
}

/*************** TRANG CHỦ - BỐ CỤC TỪNG MỤC (inc/home.php) ***************/
/* inc/home.php gắn class cho từng section theo tiêu đề (tq-home-dv, tq-home-da...) và chèn
   khối kêu gọi cuối trang. Mỗi mục một bố cục riêng để trang không lặp lại "tiêu đề + 4 thẻ":
   Sản phẩm = băng trượt, Dịch vụ = chữ trái + lưới 2x2, Giải pháp = ô ảnh cao nền tối,
   Dự án = 1 dự án lớn + 3 dự án dạng danh sách, Khách hàng = logo xám, Tin tức = thẻ. */

/* Banner: lớp phủ tối bên trái để chữ luôn đọc được trên ảnh, thêm dòng mô tả */
.tq-home-v2 #content > .banner .banner-bg:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 38%, rgba(0, 0, 0, 0) 68%); pointer-events: none; }
.tq-home-tagline { margin-top: 10px; max-width: 30em; color: #f1f1f1; font-size: 17px; font-weight: 500; line-height: 1.5; text-transform: none; }
.tq-home-v2 #content > .banner .icb-bn-h { padding: 4px 0; }


/* Câu dẫn dưới tiêu đề mục */
.tq-home-lead { margin: 12px 0 0; color: var(--tq-text); font-size: 16px; line-height: 1.6; }

/* Thẻ Dịch vụ / Giải pháp / Dự án: cả thẻ bấm được (trước chỉ có ảnh là link). Link của ảnh được trải
   phủ toàn thẻ bằng :after; .box-image phải bỏ position để lớp phủ bám theo .box chứ không theo ảnh. */
.home #content > .tq-home-dv .box,
.home #content > .tq-home-gp .box,
.home #content > .tq-home-da .box { position: relative; cursor: pointer; }
.home #content > .tq-home-dv .box > .box-image,
.home #content > .tq-home-gp .box > .box-image,
.home #content > .tq-home-da .box > .box-image { position: static; }
.home #content > .tq-home-dv .box > .box-image > a:after,
.home #content > .tq-home-gp .box > .box-image > a:after,
.home #content > .tq-home-da .box > .box-image > a:after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* 3 ý ngắn + nút dưới câu dẫn mục Dịch vụ: chỉ hiện ở bố cục desktop (xem @media min-width 850px) */
.tq-home-points, .tq-home-dv-bt { display: none; }
.tq-home-points { list-style: none; margin: 18px 0 0; padding: 0; }
.col-inner ul.tq-home-points li { position: relative; margin: 0 0 10px; padding-left: 30px; color: var(--tq-ink); font-size: 15px; font-weight: 600; line-height: 1.5; }
.tq-home-points li:before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; background: url(/wp-content/uploads/2026/07/check.png) center / cover; }
.tq-home-dv-bt { margin: 20px 0 14px; }

/* Khách hàng: logo xám, lên màu khi rê chuột */
.tq-home-kh .khachhang-marquee__group img { filter: grayscale(1); opacity: .7; transition: filter .25s ease, opacity .25s ease; }
.tq-home-kh .khachhang-marquee__group img:hover { filter: none; opacity: 1; }

/* Khối kêu gọi cuối trang */
.tq-home-cta { background: var(--tq-yellow); }
.tq-home-cta__in { max-width: 1170px; margin: 0 auto; padding: 34px 15px; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.tq-home-cta__txt { min-width: 0; flex: 1 1 420px; }
.tq-home-cta__tt { color: var(--tq-ink); font-size: 28px; font-weight: 800; line-height: 1.25; }
.tq-home-cta__txt p { margin: 6px 0 0; color: var(--tq-ink); font-size: 16px; }
.tq-home-cta__bt { flex-wrap: wrap; }
.tq-home-cta a.h-button { padding: 14px 24px; font-size: 15px; }
.tq-home-cta a.h-button.h-button-1 { background: var(--tq-ink); border-color: var(--tq-ink); color: #fff; }
.tq-home-cta a.h-button.h-button-1:before { background: #fff; }
.tq-home-cta a.h-button.h-button-1:hover { color: var(--tq-ink); }
.tq-home-cta a.h-button.h-button-2 { background: transparent; border-color: var(--tq-ink); color: var(--tq-ink); }
.tq-home-cta a.h-button.h-button-2:before { background: var(--tq-ink); }
.tq-home-cta a.h-button.h-button-2:hover { color: #fff; }

@media only screen and (min-width: 850px) {
	/* Dịch vụ: tiêu đề + câu dẫn bên trái, 4 dịch vụ thành lưới 2x2 bên phải */
	.home #content > .tq-home-dv > .section-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; max-width: 1170px; margin: 0 auto; }
	.home #content > .tq-home-dv > .section-content > .gap-element,
	.home #content > .tq-home-dv > .section-content > .row.show-for-small { display: none !important; }
	.home #content > .tq-home-dv > .section-content > .row { max-width: none; margin: 0; }
	.home #content > .tq-home-dv > .section-content > .row:not(.hide-for-small) > .col { flex-basis: 100%; max-width: 100%; padding-bottom: 14px; }
	.home #content > .tq-home-dv > .section-content > .row:not(.hide-for-small) .col-inner { text-align: left; margin: 0; }
	.home #content > .tq-home-dv .tp-main-links { text-align: left; }
	/* cột trái: 3 ý ngắn + nút tư vấn, và trôi theo khi cuộn qua lưới thẻ để không bị trống */
	.home #content > .tq-home-dv > .section-content > .row:not(.hide-for-small) { position: sticky; top: 110px; }
	.home #content > .tq-home-dv .tq-home-points,
	.home #content > .tq-home-dv .tq-home-dv-bt { display: block; }
	.home #content > .tq-home-dv > .section-content > .row.hide-for-small > .col { flex-basis: 50%; max-width: 50%; padding-bottom: 30px; }
	.home #content > .tq-home-dv > .section-content > .row.hide-for-small > .col:nth-child(n+3) { padding-bottom: 30px; }
	.home #content > .tq-home-dv .box-shadow-1 .box-text h3 { min-height: 0; }

	/* Giải pháp: ô ảnh cao, nhãn canh giữa sát đáy, luôn một dòng. Không thêm mũi tên sau nhãn: nhãn dài
	   ("Bệnh viện, trường học") bị rớt mũi tên xuống dòng và lệch so với các ô khác. */
	.home #content > .tq-home-gp .box-overlay.dark .image-cover { padding-top: 118% !important; }
	.home #content > .tq-home-gp .box-overlay.dark .box-text { padding: 60px 4px 22px !important; }
	.home #content > .tq-home-gp .box-overlay.dark .box-text p { margin: 0; }
	.home #content > .tq-home-gp .box-overlay.dark .box-text a { display: block; padding: 0 !important; font-size: 15px; letter-spacing: 0; white-space: nowrap; }
}
@media only screen and (min-width: 850px) and (max-width: 1199px) {
	.home #content > .tq-home-gp .box-overlay.dark .box-text a { font-size: 12px; }
}
@media only screen and (min-width: 850px) {

	/* Dự án: dự án đầu tiên lớn bên trái, 3 dự án còn lại dạng danh sách ảnh + chữ bên phải */
	.home #content > .tq-home-da > .section-content > .row.hide-for-small { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0 15px 30px; }
	.home #content > .tq-home-da > .section-content > .row.hide-for-small > .col { max-width: none; flex: none; width: auto; padding: 0; margin: 0; }
	.home #content > .tq-home-da > .section-content > .row.hide-for-small > .col:first-child { grid-row: 1 / span 3; }
	.home #content > .tq-home-da .row.hide-for-small .col-inner,
	.home #content > .tq-home-da .row.hide-for-small .box { height: 100%; }
	.home #content > .tq-home-da .row.hide-for-small .box { display: flex; }
	.home #content > .tq-home-da .row.hide-for-small .box-image { flex: none; width: 38%; }
	.home #content > .tq-home-da .row.hide-for-small .box-image > a,
	.home #content > .tq-home-da .row.hide-for-small .box-image .image-cover { display: block; height: 100%; }
	.home #content > .tq-home-da .row.hide-for-small .box-image .image-cover { padding-top: 0 !important; min-height: 128px; }
	.home #content > .tq-home-da .row.hide-for-small .box-text { flex: 1; min-width: 0; display: flex; align-items: center; padding: 14px 18px; }
	.home #content > .tq-home-da .row.hide-for-small .box-text h3 { min-height: 0; }
	.home #content > .tq-home-da .row.hide-for-small .col:first-child .box { flex-direction: column; }
	.home #content > .tq-home-da .row.hide-for-small .col:first-child .box-image { width: 100%; flex: 1 1 auto; min-height: 0; }
	.home #content > .tq-home-da .row.hide-for-small .col:first-child .box-text { flex: none; padding: 20px 22px 22px; }
	.home #content > .tq-home-da .row.hide-for-small .col:first-child .box-text h3 { font-size: 20px !important; }
}

@media only screen and (max-width: 849px) {
	.tq-home-cta__tt { font-size: 22px; }
	/* Giải pháp: nhãn có padding 28px viết tay trong UX Builder chỉ chừa ~100px chữ trong ô ~155px, nên
	   từ dài bản /en/ ("CONSTRUCTION") tràn ra ngoài ô. Bớt lề ngang và cỡ chữ để mỗi từ nằm gọn trong ô. */
	.home #content > .tq-home-gp .box-overlay.dark .box-text a { padding: 28px 8px !important; font-size: 14px; letter-spacing: 0; line-height: 1.3; }
}

@media only screen and (max-width: 549px) {
	/* Điện thoại: banner giữ như bản gốc (không dòng mô tả, không lớp phủ). */
	.tq-home-v2 #content > .banner .banner-bg:after { content: none; }
	.tq-home-tagline { display: none; }
	.tq-home-v2 #content > .banner .icb-bn-h { padding: 0; }
	.tq-home-cta__in { padding: 26px 15px; }
	.tq-home-cta a.h-button { flex: 1 1 auto; }
}

/*************** PRODUCT PAGE - MOBILE SPACING (3.9.5) ***************/
/* Sản phẩm có 2 ảnh trở lên: hàng ảnh nhỏ không có lề dưới nên tên sản phẩm (xếp ngay dưới khi cột ảnh
   chiếm cả hàng) dính sát vào ảnh. Chừa 16px giữa hàng ảnh nhỏ và tên. */
@media only screen and (max-width: 849px) {
	.single-product .row .product-thumbnails.row-small { margin-bottom: 16px; }
}
@media only screen and (max-width: 549px) {
	/* Khối đầu (ảnh, tên, giá, nút) căn lề 15px như phần Thông tin tổng quan bên dưới */
	.single-product .custom-product-page .section-content > .row:first-child > .col > .col-inner { padding-left: 5px; padding-right: 5px; }

	/* Thông tin tổng quan: 2 cột x 2 dòng, sát phần Mô tả hơn */
	.single-product .tq-product-overview { margin: 20px 0 0; }
	.single-product .tq-product-overview__title { margin-bottom: 12px; }
	.single-product .tq-product-overview__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.single-product .tq-product-overview__item { gap: 8px; min-height: 0; padding: 10px 8px; }
	.single-product .tq-product-overview__icon { flex-basis: 22px; width: 22px; height: 22px; }
	.single-product .tq-product-overview__icon svg,
	.single-product .tq-product-overview__icon img { width: 22px; height: 22px; }
	.single-product .tq-product-overview__label { margin-bottom: 3px; font-size: 11px; }
	.single-product .tq-product-overview__value { font-size: 15px; line-height: 1.3; }
	.single-product .custom-product-page .section-content > .row:nth-child(2) > .col { padding-bottom: 14px; }

	/* Tại sao nên chọn / Ứng dụng / Sản phẩm tương tự: kéo lên */
	.single-product .custom-product-page .section-content > .row:nth-child(3) > .col { padding-bottom: 10px; }
}

/*************** NGÔN NGỮ (inc/i18n.php) ***************/
/* Nút cờ VI / EN: cạnh nút "Báo Giá" ở header và trong menu mobile. */
.tq-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; line-height: 1; white-space: nowrap; }
.tq-lang__a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: inherit; opacity: .8; transition: background-color .2s, opacity .2s; }
.tq-lang__a:hover { opacity: 1; color: inherit; }
.tq-lang__a.is-active { opacity: 1; background: #fff; color: var(--tq-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.tq-flag { display: inline-block; width: 21px; height: 14px; border-radius: 2px; background: center / cover no-repeat; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex: none; }
.tq-flag--vi { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23da251d'/%3E%3Cpolygon fill='%23ffff00' points='15,4 16.35,8.15 20.71,8.15 17.18,10.71 18.53,14.85 15,12.29 11.47,14.85 12.82,10.71 9.29,8.15 13.65,8.15'/%3E%3C/svg%3E"); }
.tq-flag--en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30,15h30v15zv15h-30zh-30v-15zv-15h30z'/%3E%3C/clipPath%3E%3Cpath d='M0,0v30h60v-30z' fill='%23012169'/%3E%3Cpath d='M0,0L60,30M60,0L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0L60,30M60,0L0,30' clip-path='url(%23t)' stroke='%23c8102e' stroke-width='4'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23c8102e' stroke-width='6'/%3E%3C/svg%3E"); }

/* Desktop: cờ nằm ở top bar (nền tối) ngay sau Email; trong header chính thì ẩn */
.tq-lang--topbar { padding: 2px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.tq-lang--topbar .tq-lang__a { padding: 3px 8px; font-size: 11px; }

/* Header (desktop): menu nằm trên một hàng, các mục giãn đều hết chiều ngang giữa logo và nút "Báo Giá" */
@media only screen and (min-width: 850px) {
	.header-main .flex-left.flex-grow > .header-nav-main { flex-wrap: nowrap; justify-content: space-between; width: 100%; padding-right: 18px; }
	.header-main .flex-left.flex-grow > .header-nav-main > li { margin: 0; }
	.header-main .flex-left.flex-grow > .header-nav-main > li.header-search-form { flex: 0 1 180px; min-width: 140px; }
	.header-main .flex-left.flex-grow > .header-nav-main > li > a { white-space: nowrap; }
	.header-main .icb-bg .bg-tt { white-space: nowrap; }
}
/* Màn hình hẹp (850-1099px): không đủ chỗ cho ô tìm kiếm + 8 mục menu + nút Báo Giá, nên bỏ ô tìm kiếm ở header */
@media only screen and (min-width: 850px) and (max-width: 1099px) {
	.header-main .flex-left.flex-grow > .header-nav-main > li.header-search-form { display: none; }
}
/* Menu mobile: cờ chọn ngôn ngữ ở trên cùng, trên ô tìm kiếm */
.tq-lang-mobile-row { padding: 12px 20px 4px; }
.mobile-sidebar .tq-lang--mobile { background: var(--tq-soft); color: var(--tq-ink); }

/* Trang /en/ chưa dịch: dải thông báo đầu nội dung */
.tq-lang-notice { background: var(--tq-yellow-soft); border-bottom: 1px solid #f0d58a; color: var(--tq-text); font-size: 14px; padding: 10px 0; }
.tq-lang-notice a { color: var(--tq-link); font-weight: 700; text-decoration: underline; }

/* Danh sách bài (Dịch Vụ, Tin Tức): Flatsome xếp kiểu masonry (JS đặt position:absolute theo chiều cao từng thẻ).
   Bản tiếng Anh có tiêu đề/tóm tắt dài ngắn khác nhau nên các cột lệch nhau, để lại ô trống.
   Đổi thành lưới thường: thẻ cùng hàng cao bằng nhau. JS ghi style trực tiếp nên phải !important. */
.archive .row.row-masonry { display: flex; flex-wrap: wrap; height: auto !important; }
.archive .row.row-masonry > .col { position: relative !important; left: auto !important; top: auto !important; transform: none !important; }
.archive .row.row-masonry > .col > .col-inner { height: 100%; }
.archive .row.row-masonry .box-blog-post { display: flex; flex-direction: column; height: 100%; }
.archive .row.row-masonry .box-blog-post > .box-image { width: 100%; flex: none; }
.archive .row.row-masonry .box-blog-post > .box-text { flex: 1 1 auto; }

/* Lưới Dịch Vụ/Tin Tức: nút "Xem thêm" sát đáy thẻ, nên các nút cùng hàng thẳng nhau. */
.archive .row.row-masonry .box-blog-post > .box-text { display: flex; flex-direction: column; }
.archive .row.row-masonry .box-blog-post .box-text-inner { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; }
.archive .row.row-masonry .box-blog-post .box-text-inner > * { max-width: 100%; }
.archive .row.row-masonry .box-blog-post .box-text-inner > .button { margin-top: auto; }

/* Băng trượt "Có thể bạn quan tâm" cuối bài dịch vụ: tiêu đề dài ngắn khác nhau (rõ nhất ở bản EN) làm thẻ
   cao thấp và nút lệch nhau. Flickity tự đo chiều cao từng thẻ (không kéo giãn được bằng height:100%), nên giữ
   tiêu đề đúng 2 dòng và tóm tắt đúng 3 dòng: mọi thẻ cao bằng nhau, nút thẳng hàng. */
.row-slider .box-blog-post .post-title { line-height: 1.35; min-height: calc(2.7em + 5px); }
.row-slider .box-blog-post .post-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-slider .box-blog-post .from_the_blog_excerpt { line-height: 1.55; min-height: 4.65em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Giải Pháp: thẻ dải công suất (100 – 300 kVA, mô tả, danh sách) canh trái như tiêu đề.
   UX Builder đặt .box-text.text-center (lưu trong DB) nên ghi đè ở đây. */
.imb-cs .box-text, .imb-cs .box-text-inner { text-align: left; }

/* Điện thoại: "Xem tất cả" của Sản phẩm / Dịch vụ / Dự án / Tin tức nằm cùng hàng với tiêu đề mục, sát lề phải
   (UX Builder xếp nó xuống dòng dưới tiêu đề vì hai cột đều small-12). */
@media only screen and (max-width: 549px) {
	.home #content > :is(.tq-home-sp, .tq-home-dv, .tq-home-da, .tq-home-tt) > .section-content > .row:has(.tq-main-tt) { position: relative; }
	.home #content > :is(.tq-home-sp, .tq-home-dv, .tq-home-da, .tq-home-tt) > .section-content > .row:has(.tq-main-tt) > .col:has(.tp-main-links) { position: absolute; top: 11px; right: 0; width: auto; max-width: none; padding-bottom: 0; }
	.home #content > :is(.tq-home-sp, .tq-home-dv, .tq-home-da, .tq-home-tt) > .section-content > .row:has(.tq-main-tt) > .col:has(.tp-main-links) > .col-inner { margin: 0 !important; }
	.home #content > :is(.tq-home-sp, .tq-home-dv, .tq-home-da, .tq-home-tt) > .section-content > .row:has(.tq-main-tt) > .col:has(.tq-main-tt) > .col-inner { margin-bottom: -12px !important; }
}

/* Guides and services block on product pages and guide posts (inc/internal-links.php) */
.tq-ilinks { clear: both; margin: 24px 0; padding: 16px 18px; border: 1px solid #e5e5e5; border-radius: 6px; background: #fafafa; }
.tq-ilinks-title { margin: 0 0 10px; font-weight: 700; color: #222; }
.tq-ilinks ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
nav.tq-ilinks ul li { margin: 0; padding: 0; list-style: none; }
.tq-ilinks a { color: #1a5fb4; text-decoration: underline; }
@media (max-width: 849px) { .tq-ilinks ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 549px) { .tq-ilinks ul { grid-template-columns: 1fr; } .tq-ilinks a { display: inline-block; padding: 4px 0; } }

/*************** NEWS AND GUIDE ARTICLES ***************/
.tq-article-lead { font-size: 1.08em; padding: 14px 18px; border-left: 4px solid #f9b31d; background: #fafafa; }
.tq-article-table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; }
.tq-article-table th, .tq-article-table td { padding: 9px 12px; border: 1px solid #ddd; text-align: left; vertical-align: top; }
.tq-article-table th { background: #16202b; color: #fff; }
.tq-article-scroll { overflow-x: auto; }
.tq-article-scroll .tq-article-table { min-width: 620px; }
.tq-article-sources { margin-top: 28px; padding: 16px 18px; border: 1px solid #e5e5e5; border-radius: 6px; background: #fafafa; }
.tq-article-sources h2 { font-size: 1.1em; margin-bottom: 8px; }
.tq-article-sources ul { margin-bottom: 0; }
.tq-article-sources a { color: #1a5fb4; text-decoration: underline; overflow-wrap: anywhere; }
.tq-article-note { margin-top: 12px; font-size: .88em; color: #555; }
.tq-article-byline { margin-bottom: 14px; font-size: .92em; color: #555; font-weight: 600; }
.tq-article .entry-image, .tq-article .entry-image a { display: block; width: 100%; }
.tq-article .entry-image img { display: block; width: 100%; height: auto; }

/* Page-specific guide sections (inc/product-guide.php and page content) */
.tq-product-guide { margin-top: 24px; margin-bottom: 24px; }
.tq-depth .tqi-table td:last-child { font-weight: 400; white-space: normal; }
.tq-depth .tqi-table td:first-child { font-weight: 600; }
.tq-depth ul:not(.tqi-links) { margin-left: 20px; }
.tq-depth-more { font-size: 16px; font-weight: 700; color: var(--tq-ink); margin: 22px 0 10px; }

/* Top bar (address, hotline, email, language) stays visible on desktop while scrolling: Flatsome hides it
   when the header sticks (.hide-for-sticky). Mobile keeps hiding it (.hide-for-medium). */
.stuck #top-bar.header-top.hide-for-sticky { display: flex; }

/* FAQ: one format on every page - plain title, questions closed, yellow "+" on the right (see inc/post-layout.php) */
h2.tq-faq-title { font-size: 1.6em; font-weight: 800; margin: 0 0 .8em; padding: 0; border: 0; text-transform: none; color: inherit; }
.tqi-faq { border-top: 0; }

/* Service pages: "Có thể bạn quan tâm" is always the last block */
.tq-related { clear: both; margin-top: 24px; }

/* Homepage filter on phones: the engine dropdown sits 4px closer (2 + 2 on 24/11) to the dropdown above and the search box below */
@media only screen and (max-width: 849px) {
	.home .thienquang-generator-filter__row { gap: 12px; }
}

/* Admin "Đăng xuất" button next to the language switcher (inc/admin-logout.php; only for administrators) */
.tq-logout { display: inline-flex; align-items: center; margin-left: 8px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap; text-transform: none; }
.ct-item--lang .tq-logout { border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.ct-item--lang .tq-logout:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.ct-item--lang:has(.tq-logout) { display: inline-flex; align-items: center; }
.tq-lang-mobile-row:has(.tq-logout) { display: flex; align-items: center; }
.tq-lang-mobile-row .tq-logout { background: var(--tq-soft); color: var(--tq-ink); padding: 7px 12px; font-size: 12px; }

/* Project pages (du-an): no "Tin Tức Mới Nhất" sidebar; the content column is centred instead */
.single-du-an .post-sidebar { display: none; }
.single-du-an .post-sidebar ~ .large-9.col, .single-du-an .large-9.col { margin-left: auto; margin-right: auto; }

/* Solution pages under "Dự Án" (bệnh viện, nhà xưởng, tòa nhà, công trình, cơ quan nhà nước): more room between
   "Dịch vụ đi kèm" and the FAQ, and the "Cần tư vấn" box closer to the footer */
:is(.page-id-1826, .page-id-1837, .page-id-1817, .page-id-1827, .page-id-1828) section.tqi h2.tq-faq-title { margin-top: 56px; }
:is(.page-id-1826, .page-id-1837, .page-id-1817, .page-id-1827, .page-id-1828) section.tqi:has(.tqi-cta) { padding-bottom: 20px; }
:is(.page-id-1826, .page-id-1837, .page-id-1817, .page-id-1827, .page-id-1828) section.tqi .col:has(.tqi-cta) { padding-bottom: 0; }
:is(.page-id-1826, .page-id-1837, .page-id-1817, .page-id-1827, .page-id-1828) section.tqi .tqi-cta { margin-bottom: 0; }

/* News/guide posts on phones: "Tin Tức Mới Nhất" sits right under the article (was ~100px lower) */
@media only screen and (max-width: 849px) {
	.single-post .large-9.col { padding-bottom: 0; }
	.single-post .large-9.col > article.post { margin-bottom: 0; }
	.single-post .large-9.col > article.post .entry-content { padding-bottom: 0; }
	.single-post .large-9.col > article.post .entry-content > :last-child { margin-bottom: 0; }
	.single-post .post-sidebar { padding-top: 20px; }
}
