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

/*************** ADD CUSTOM CSS HERE.   ***************/

/* ===== Font Bai Jamjuree ===== */
@font-face {
  font-family: 'Bai Jamjuree';
  src: url('assets/fonts/bai-jamjuree/BaiJamjuree-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bai Jamjuree';
  src: url('assets/fonts/bai-jamjuree/BaiJamjuree-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bai Jamjuree';
  src: url('assets/fonts/bai-jamjuree/BaiJamjuree-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bai Jamjuree';
  src: url('assets/fonts/bai-jamjuree/BaiJamjuree-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bai Jamjuree';
  src: url('assets/fonts/bai-jamjuree/BaiJamjuree-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bai Jamjuree';
  src: url('assets/fonts/bai-jamjuree/BaiJamjuree-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bai Jamjuree';
  src: url('assets/fonts/bai-jamjuree/BaiJamjuree-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bai Jamjuree';
  src: url('assets/fonts/bai-jamjuree/BaiJamjuree-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bai Jamjuree';
  src: url('assets/fonts/bai-jamjuree/BaiJamjuree-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bai Jamjuree';
  src: url('assets/fonts/bai-jamjuree/BaiJamjuree-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bai Jamjuree';
  src: url('assets/fonts/bai-jamjuree/BaiJamjuree-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bai Jamjuree';
  src: url('assets/fonts/bai-jamjuree/BaiJamjuree-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

body,
button,
input,
select,
textarea,
.nav li a,
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bai Jamjuree', sans-serif !important;
}

/* ===== Bài viết liên quan (single post) ===== */
/* Related posts slider */
.sc_related-posts {
  margin-top: 30px;
}
.sc_related-title {
  color: #ffba00;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  text-align: center;
  background: #1a1a1a;
  padding: 12px 0;
}
.sc_related-slider {
  position: relative;
}
.sc_related-slider .swiper {
  overflow: hidden;
}
.sc_related-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
}
.sc_related-thumb {
  width: 100%;
  height: 200px;
}
.sc_related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sc_related-no-thumb {
  width: 100%;
  height: 100%;
  background: #333;
}
.sc_related-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(252,185,0,0.85);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  transition: opacity 0.3s;
}
.sc_related-item:hover .sc_related-overlay {
  opacity: 1;
}
.sc_related-overlay h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.4;
}
.sc_related-overlay p {
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-style: italic;
  margin: 0 0 auto;
  line-height: 1.5;
}
.sc_related-readmore {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}
.sc_related-prev,
.sc_related-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  color: #ffba00;
  opacity: 0.85;
}
.sc_related-prev:hover,
.sc_related-next:hover {
  opacity: 1;
}
.sc_related-prev { left: -15px; }
.sc_related-next { right: -15px; }
@media (max-width: 850px) {
  .sc_related-prev { left: 5px; }
  .sc_related-next { right: 5px; }
}

/* ===== Author Page (doi-ngu-chuyen-mon) ===== */
.sc_author-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}
.sc_author-card {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
}
.sc_author-avatar {
  flex-shrink: 0;
  width: 200px;
}
.sc_author-avatar img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}
.sc_author-detail {
  flex: 1;
}
.sc_author-name {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
}
.sc_author-detail p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
.sc_author-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.sc_author-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  transition: background 0.3s;
}
.sc_author-social a:hover {
  background: #d4a843;
}
.sc_author-social svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 768px) {
  .sc_author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .sc_author-avatar {
    width: 160px;
  }
  .sc_author-social {
    justify-content: center;
  }
}

/* Ẩn share icons, divider, entry footer, author box, entry-meta trên single post */
.single-post .share-icons:not(.author-profile .share-icons),
.single-post .entry-content ~ .is-divider,
.single-post .entry-content ~ footer,
.single-post .entry-author,
.single-post .author-box,
.single-post .blog-share,
.single-post .entry-header .entry-meta,
.single-post .entry-header .entry-divider,
.single-post .entry-header .is-divider,
.single-post .entry-footer {
  display: none !important;
}

/* Đọc tiếp bài viết – thu gọn content */
.sc-content-collapse {
  max-height: 600px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s ease;
}
.sc-content-collapse.expanded {
  max-height: none;
}
.sc-readmore-wrap {
  position: relative;
  text-align: center;
  margin-top: -60px;
  padding-top: 60px;
  margin-bottom: 30px;
}
.sc-readmore-fade {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%);
  pointer-events: none;
}
.expanded + .sc-readmore-wrap .sc-readmore-fade {
  display: none;
}
.sc-readmore-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #ffba00;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.sc-readmore-btn svg {
  color: #ffba00;
  transition: transform 0.3s;
}
.sc-readmore-btn:hover {
  color: #e5a800;
}
.expanded + .sc-readmore-wrap .sc-readmore-btn svg {
  transform: rotate(180deg);
}
.expanded + .sc-readmore-wrap .sc-readmore-btn span::after {
  content: 'Thu gọn';
}
.expanded + .sc-readmore-wrap .sc-readmore-btn span {
  font-size: 0;
}
.expanded + .sc-readmore-wrap .sc-readmore-btn span::after {
  font-size: 18px;
}

/* Author rating + box cuối bài viết */
.sc-author-rating {
  margin: 30px 0;
}
.sc-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.sc-stars {
  font-size: 22px;
  letter-spacing: 2px;
  cursor: pointer;
  user-select: none;
}
.sc-stars[data-voted="1"] {
  cursor: default;
}
.sc-star {
  color: #ddd;
  transition: color 0.15s, transform 0.15s;
  display: inline-block;
}
.sc-star.filled {
  color: #ffba00;
}
.sc-star.hover {
  color: #ffba00;
  transform: scale(1.15);
}
.sc-stars[data-voted="1"] .sc-star {
  cursor: default;
}
.sc-rating-text {
  font-size: 16px;
  font-weight: 700;
  color: #000;
}
.sc-author-rating-box {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
}
.sc-author-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.sc-author-card__avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.sc-author-card__name {
  font-size: 16px;
  font-weight: 700;
  color: #000;
}
.sc-author-card__role {
  font-size: 13px;
  color: #666;
}
.sc-author-card__desc {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 16px;
}
.sc-author-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffba00 !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background 0.2s;
}
/* Outline button trắng trên nền đen */
.sc-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none !important;
  color: #fff !important;
  background: #ffba00 !important;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 3px;
  text-decoration: none !important;
  transition: all 0.2s;
  text-transform: uppercase;
}
.sc-btn-outline:hover {
  background: #e5a800 !important;
  color: #fff !important;
}

/* Post detail block – button style */
.sc-post-detail-block .button {
  background: #ffba00 !important;
  color: #fff !important;
  border: none !important;
}
.sc-post-detail-block .button:hover {
  background: #e5a800 !important;
}

/* Post detail block – reset styles trong entry-content */
.sc-post-detail-block {
  color: #c8c8c8;
}
.sc-post-detail-block a {
  color: #fff !important;
}
.sc-post-detail-block h2 {
  color: #ffba00 !important;
}
.sc-btn-outline svg {
  stroke: #fff;
}

.sc-author-card__btn:hover {
  background: #e5a800 !important;
  color: #fff !important;
}
.sc-author-card__btn svg {
  stroke: #fff;
}

/* Custom post meta block */
.sc-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 0;
  border: none;
  margin: 16px 0 24px;
}
.sc-post-meta__left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sc-post-meta__social {
  display: flex;
  gap: 8px;
}
.sc-post-meta__social a {
  color: #ffba00;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.2s;
}
.sc-post-meta__social a:hover {
  color: #e5a800;
}
.sc-post-meta__views,
.sc-post-meta__date {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #333;
}
.sc-post-meta__views i,
.sc-post-meta__date i {
  color: #ffba00;
}
.sc-post-meta__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sc-post-meta__avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.sc-post-meta__author-info {
  font-size: 13px;
  color: #333;
}
.sc-post-meta__author-info .verified {
  color: #1da1f2;
}
.sc-post-meta__author-info .author-name {
  font-weight: 700;
  font-size: 15px;
  color: #000;
}

/* Author profile – avatar tròn căn giữa */
.author-profile .col:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Cột follow icons – đẩy xuống cuối */
.author-profile .col:last-child {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.author-profile img.avatar {
  border-radius: 100% !important;
  width: 150px;
  height: 150px;
  object-fit: cover;
}
/* Author profile follow icons – tròn vàng, icon trắng, căn giữa dưới cùng */
.author-profile .follow-icons {
  display: flex !important;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.author-profile .social-icons .button.icon:not(.is-outline) {
  background-color: #ffba00 !important;
  color: #fff !important;
  border-color: #ffba00 !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
  font-size: 14px !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 10px rgba(255, 186, 0, 0.4) !important;
}
.author-profile .social-icons .button.icon:not(.is-outline):hover {
  background-color: #e5a800 !important;
  border-color: #e5a800 !important;
  transform: scale(1.1);
}

/* Ẩn icon dropdown arrow trên menu header (desktop + mobile) */
li.has-dropdown > a .icon-angle-down {
  display: none !important;
}

/* ===== Dark Dropdown Menu (VỀ SBS HOUSE) ===== */
/* Desktop dropdown */
.nav-dropdown {
  background: #1a1a1a !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}
.nav-dropdown li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.nav-dropdown li:last-child {
  border-bottom: none !important;
}
.nav-dropdown li a {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 14px 20px !important;
  transition: color 0.3s ease !important;
}
.nav-dropdown li a:hover,
.nav-dropdown li.active a,
.nav-dropdown li.current-menu-item a {
  color: #d4a843 !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Mobile sidebar dropdown */
.sidebar-menu .nav-sidebar li.has-child .nav-sidebar-ul {
  background: #1a1a1a !important;
}
.sidebar-menu .nav-sidebar li.has-child .nav-sidebar-ul li a {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.sidebar-menu .nav-sidebar li.has-child .nav-sidebar-ul li a:hover {
  color: #d4a843 !important;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ==========================================================================
   UTILITY CSS SYSTEM (Mobile First) - Prefix: tw-
   Breakpoints: sm (640px) | md (768px) | lg (1024px) | xl (1280px)
   Cách dùng: class="tw-flex tw-gap-4 md-tw-grid md-tw-grid-cols-3 lg-tw-gap-8"
   Quy ước: 1 = 4px, 2 = 8px, 3 = 12px, 4 = 16px, 5 = 20px, 6 = 24px, 8 = 32px, 10 = 40px, 12 = 48px, 16 = 64px
   ========================================================================== */

/* --- Display --- */
.tw-block { display: block; }
.tw-inline-block { display: inline-block; }
.tw-inline { display: inline; }
.tw-flex { display: flex; }
.tw-inline-flex { display: inline-flex; }
.tw-grid { display: grid; }
.tw-hidden { display: none; }

/* --- Flexbox --- */
.tw-flex-row { flex-direction: row; }
.tw-flex-col { flex-direction: column; }
.tw-flex-wrap { flex-wrap: wrap; }
.tw-flex-nowrap { flex-wrap: nowrap; }
.tw-flex-1 { flex: 1 1 0%; }
.tw-flex-auto { flex: 1 1 auto; }
.tw-flex-none { flex: none; }
.tw-grow { flex-grow: 1; }
.tw-grow-0 { flex-grow: 0; }
.tw-shrink { flex-shrink: 1; }
.tw-shrink-0 { flex-shrink: 0; }

/* --- Justify & Align --- */
.tw-justify-start { justify-content: flex-start; }
.tw-justify-center { justify-content: center; }
.tw-justify-end { justify-content: flex-end; }
.tw-justify-between { justify-content: space-between; }
.tw-justify-around { justify-content: space-around; }
.tw-justify-evenly { justify-content: space-evenly; }
.tw-items-start { align-items: flex-start; }
.tw-items-center { align-items: center; }
.tw-items-end { align-items: flex-end; }
.tw-items-stretch { align-items: stretch; }
.tw-items-baseline { align-items: baseline; }
.tw-self-start { align-self: flex-start; }
.tw-self-center { align-self: center; }
.tw-self-end { align-self: flex-end; }
.tw-self-stretch { align-self: stretch; }

/* --- Grid --- */
.tw-grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.tw-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.tw-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.tw-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.tw-grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.tw-grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
.tw-col-span-1 { grid-column: span 1; }
.tw-col-span-2 { grid-column: span 2; }
.tw-col-span-3 { grid-column: span 3; }
.tw-col-span-4 { grid-column: span 4; }
.tw-col-span-full { grid-column: 1 / -1; }

/* --- Gap --- */
.tw-gap-0 { gap: 0; }
.tw-gap-1 { gap: 4px; }
.tw-gap-2 { gap: 8px; }
.tw-gap-3 { gap: 12px; }
.tw-gap-4 { gap: 16px; }
.tw-gap-5 { gap: 20px; }
.tw-gap-6 { gap: 24px; }
.tw-gap-8 { gap: 32px; }
.tw-gap-10 { gap: 40px; }
.tw-gap-12 { gap: 48px; }
.tw-gap-16 { gap: 64px; }
.tw-gap-x-0 { column-gap: 0; }
.tw-gap-x-1 { column-gap: 4px; }
.tw-gap-x-2 { column-gap: 8px; }
.tw-gap-x-3 { column-gap: 12px; }
.tw-gap-x-4 { column-gap: 16px; }
.tw-gap-x-5 { column-gap: 20px; }
.tw-gap-x-6 { column-gap: 24px; }
.tw-gap-x-8 { column-gap: 32px; }
.tw-gap-x-10 { column-gap: 40px; }
.tw-gap-x-12 { column-gap: 48px; }
.tw-gap-x-16 { column-gap: 64px; }
.tw-gap-y-0 { row-gap: 0; }
.tw-gap-y-1 { row-gap: 4px; }
.tw-gap-y-2 { row-gap: 8px; }
.tw-gap-y-3 { row-gap: 12px; }
.tw-gap-y-4 { row-gap: 16px; }
.tw-gap-y-5 { row-gap: 20px; }
.tw-gap-y-6 { row-gap: 24px; }
.tw-gap-y-8 { row-gap: 32px; }
.tw-gap-y-10 { row-gap: 40px; }
.tw-gap-y-12 { row-gap: 48px; }
.tw-gap-y-16 { row-gap: 64px; }

/* --- Padding --- */
.tw-p-0 { padding: 0; }
.tw-p-1 { padding: 4px; }
.tw-p-2 { padding: 8px; }
.tw-p-3 { padding: 12px; }
.tw-p-4 { padding: 16px; }
.tw-p-5 { padding: 20px; }
.tw-p-6 { padding: 24px; }
.tw-p-8 { padding: 32px; }
.tw-p-10 { padding: 40px; }
.tw-p-12 { padding: 48px; }
.tw-p-16 { padding: 64px; }
.tw-px-0 { padding-left: 0; padding-right: 0; }
.tw-px-1 { padding-left: 4px; padding-right: 4px; }
.tw-px-2 { padding-left: 8px; padding-right: 8px; }
.tw-px-3 { padding-left: 12px; padding-right: 12px; }
.tw-px-4 { padding-left: 16px; padding-right: 16px; }
.tw-px-5 { padding-left: 20px; padding-right: 20px; }
.tw-px-6 { padding-left: 24px; padding-right: 24px; }
.tw-px-8 { padding-left: 32px; padding-right: 32px; }
.tw-py-0 { padding-top: 0; padding-bottom: 0; }
.tw-py-1 { padding-top: 4px; padding-bottom: 4px; }
.tw-py-2 { padding-top: 8px; padding-bottom: 8px; }
.tw-py-3 { padding-top: 12px; padding-bottom: 12px; }
.tw-py-4 { padding-top: 16px; padding-bottom: 16px; }
.tw-py-5 { padding-top: 20px; padding-bottom: 20px; }
.tw-py-6 { padding-top: 24px; padding-bottom: 24px; }
.tw-py-8 { padding-top: 32px; padding-bottom: 32px; }
.tw-pt-0 { padding-top: 0; }
.tw-pt-2 { padding-top: 8px; }
.tw-pt-4 { padding-top: 16px; }
.tw-pt-6 { padding-top: 24px; }
.tw-pt-8 { padding-top: 32px; }
.tw-pb-0 { padding-bottom: 0; }
.tw-pb-2 { padding-bottom: 8px; }
.tw-pb-4 { padding-bottom: 16px; }
.tw-pb-6 { padding-bottom: 24px; }
.tw-pb-8 { padding-bottom: 32px; }
.tw-pl-0 { padding-left: 0; }
.tw-pl-2 { padding-left: 8px; }
.tw-pl-4 { padding-left: 16px; }
.tw-pr-0 { padding-right: 0; }
.tw-pr-2 { padding-right: 8px; }
.tw-pr-4 { padding-right: 16px; }

/* --- Margin --- */
.tw-m-0 { margin: 0; }
.tw-m-1 { margin: 4px; }
.tw-m-2 { margin: 8px; }
.tw-m-4 { margin: 16px; }
.tw-m-auto { margin: auto; }
.tw-mx-auto { margin-left: auto; margin-right: auto; }
.tw-mx-0 { margin-left: 0; margin-right: 0; }
.tw-mx-2 { margin-left: 8px; margin-right: 8px; }
.tw-mx-4 { margin-left: 16px; margin-right: 16px; }
.tw-my-0 { margin-top: 0; margin-bottom: 0; }
.tw-my-2 { margin-top: 8px; margin-bottom: 8px; }
.tw-my-4 { margin-top: 16px; margin-bottom: 16px; }
.tw-my-6 { margin-top: 24px; margin-bottom: 24px; }
.tw-my-8 { margin-top: 32px; margin-bottom: 32px; }
.tw-mt-0 { margin-top: 0; }
.tw-mt-1 { margin-top: 4px; }
.tw-mt-2 { margin-top: 8px; }
.tw-mt-4 { margin-top: 16px; }
.tw-mt-6 { margin-top: 24px; }
.tw-mt-8 { margin-top: 32px; }
.tw-mb-0 { margin-bottom: 0; }
.tw-mb-1 { margin-bottom: 4px; }
.tw-mb-2 { margin-bottom: 8px; }
.tw-mb-4 { margin-bottom: 16px; }
.tw-mb-6 { margin-bottom: 24px; }
.tw-mb-8 { margin-bottom: 32px; }
.tw-ml-0 { margin-left: 0; }
.tw-ml-1 { margin-left: 4px; }
.tw-ml-2 { margin-left: 8px; }
.tw-ml-4 { margin-left: 16px; }
.tw-ml-6 { margin-left: 24px; }
.tw-ml-8 { margin-left: 32px; }
.tw-ml-auto { margin-left: auto; }
.tw-mr-0 { margin-right: 0; }
.tw-mr-1 { margin-right: 4px; }
.tw-mr-2 { margin-right: 8px; }
.tw-mr-4 { margin-right: 16px; }
.tw-mr-6 { margin-right: 24px; }
.tw-mr-8 { margin-right: 32px; }
.tw-mr-auto { margin-right: auto; }

/* --- Width --- */
.tw-w-full { width: 100%; }
.tw-w-auto { width: auto; }
.tw-w-screen { width: 100vw; }
.tw-w-1\/2 { width: 50%; }
.tw-w-1\/3 { width: 33.333%; }
.tw-w-2\/3 { width: 66.666%; }
.tw-w-1\/4 { width: 25%; }
.tw-w-3\/4 { width: 75%; }
.tw-min-w-0 { min-width: 0; }
.tw-max-w-sm { max-width: 384px; }
.tw-max-w-md { max-width: 448px; }
.tw-max-w-lg { max-width: 512px; }
.tw-max-w-xl { max-width: 576px; }
.tw-max-w-2xl { max-width: 672px; }
.tw-max-w-4xl { max-width: 896px; }
.tw-max-w-6xl { max-width: 1152px; }
.tw-max-w-full { max-width: 100%; }

/* --- Height --- */
.tw-h-full { height: 100%; }
.tw-h-screen { height: 100vh; }
.tw-h-auto { height: auto; }
.tw-min-h-screen { min-height: 100vh; }

/* --- Typography --- */
.tw-text-xs { font-size: 12px; }
.tw-text-sm { font-size: 14px; }
.tw-text-base { font-size: 16px; }
.tw-text-lg { font-size: 18px; }
.tw-text-xl { font-size: 20px; }
.tw-text-2xl { font-size: 24px; }
.tw-text-3xl { font-size: 30px; }
.tw-text-4xl { font-size: 36px; }
.tw-text-5xl { font-size: 48px; }
.tw-text-50 { font-size: 50px; }
.tw-text-6xl { font-size: 60px; }
.tw-text-7xl { font-size: 72px; }
.tw-text-8xl { font-size: 96px; }
.tw-text-9xl { font-size: 128px; }
/* Custom font size: dùng style="--tw-fs: 50px" kết hợp class="tw-text-custom" */
.tw-text-custom { font-size: var(--tw-fs); }
.tw-font-thin { font-weight: 100; }
.tw-font-extralight { font-weight: 200; }
.tw-font-light { font-weight: 300; }
.tw-font-normal { font-weight: 400; }
.tw-font-medium { font-weight: 500; }
.tw-font-semibold { font-weight: 600; }
.tw-font-bold { font-weight: 700; }
.tw-font-extrabold { font-weight: 800; }
.tw-font-black { font-weight: 900; }
.tw-fw-100 { -webkit-text-stroke: 0px currentColor; }
.tw-fw-200 { -webkit-text-stroke: 0.2px currentColor; }
.tw-fw-300 { -webkit-text-stroke: 0.4px currentColor; }
.tw-fw-400 { -webkit-text-stroke: 0.6px currentColor; }
.tw-fw-500 { -webkit-text-stroke: 0.8px currentColor; }
.tw-fw-600 { -webkit-text-stroke: 1px currentColor; }
.tw-fw-700 { -webkit-text-stroke: 1.2px currentColor; }
.tw-fw-800 { -webkit-text-stroke: 1.6px currentColor; }
.tw-fw-900 { -webkit-text-stroke: 2px currentColor; }
.tw-text-left { text-align: left; }
.tw-text-center { text-align: center; }
.tw-text-right { text-align: right; }
.tw-text-justify { text-align: justify; }
.tw-uppercase { text-transform: uppercase; }
.tw-lowercase { text-transform: lowercase; }
.tw-capitalize { text-transform: capitalize; }
.tw-leading-none { line-height: 1; }
.tw-leading-tight { line-height: 1.25; }
.tw-leading-normal { line-height: 1.5; }
.tw-leading-relaxed { line-height: 1.75; }
.tw-tracking-tight { letter-spacing: -0.4px; }
.tw-tracking-normal { letter-spacing: 0; }
.tw-tracking-wide { letter-spacing: 0.4px; }
.tw-whitespace-nowrap { white-space: nowrap; }
.tw-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tw-line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* --- Flatsome Theme Colors (lấy từ Customizer) --- */
.tw-text-primary { color: var(--primary-color); }
.tw-text-secondary { color: var(--secondary-color); }
.tw-bg-primary { background-color: var(--primary-color); }
.tw-bg-secondary { background-color: var(--secondary-color); }
.tw-border-primary { border-color: var(--primary-color); }
.tw-border-secondary { border-color: var(--secondary-color); }
.tw-ch-text-primary, .tw-ch-text-primary * { color: var(--primary-color); }
.tw-ch-text-secondary, .tw-ch-text-secondary * { color: var(--secondary-color); }

/* --- Text Color --- */
.tw-text-white { color: #ffffff; }
.tw-text-black { color: #000000; }
/* Gray */
.tw-text-gray-50 { color: #f9fafb; }
.tw-text-gray-100 { color: #f3f4f6; }
.tw-text-gray-200 { color: #e5e7eb; }
.tw-text-gray-300 { color: #d1d5db; }
.tw-text-gray-400 { color: #9ca3af; }
.tw-text-gray-500 { color: #6b7280; }
.tw-text-gray-600 { color: #4b5563; }
.tw-text-gray-700 { color: #374151; }
.tw-text-gray-800 { color: #1f2937; }
.tw-text-gray-900 { color: #111827; }
/* Red */
.tw-text-red-50 { color: #fef2f2; }
.tw-text-red-100 { color: #fee2e2; }
.tw-text-red-200 { color: #fecaca; }
.tw-text-red-300 { color: #fca5a5; }
.tw-text-red-400 { color: #f87171; }
.tw-text-red-500 { color: #ef4444; }
.tw-text-red-600 { color: #dc2626; }
.tw-text-red-700 { color: #b91c1c; }
.tw-text-red-800 { color: #991b1b; }
.tw-text-red-900 { color: #7f1d1d; }
/* Orange */
.tw-text-orange-50 { color: #fff7ed; }
.tw-text-orange-100 { color: #ffedd5; }
.tw-text-orange-200 { color: #fed7aa; }
.tw-text-orange-300 { color: #fdba74; }
.tw-text-orange-400 { color: #fb923c; }
.tw-text-orange-500 { color: #f97316; }
.tw-text-orange-600 { color: #ea580c; }
.tw-text-orange-700 { color: #c2410c; }
.tw-text-orange-800 { color: #9a3412; }
.tw-text-orange-900 { color: #7c2d12; }
/* Yellow */
.tw-text-yellow-50 { color: #fefce8; }
.tw-text-yellow-100 { color: #fef9c3; }
.tw-text-yellow-200 { color: #fef08a; }
.tw-text-yellow-300 { color: #fde047; }
.tw-text-yellow-400 { color: #facc15; }
.tw-text-yellow-500 { color: #eab308; }
.tw-text-yellow-600 { color: #ca8a04; }
.tw-text-yellow-700 { color: #a16207; }
.tw-text-yellow-800 { color: #854d0e; }
.tw-text-yellow-900 { color: #713f12; }
/* Green */
.tw-text-green-50 { color: #f0fdf4; }
.tw-text-green-100 { color: #dcfce7; }
.tw-text-green-200 { color: #bbf7d0; }
.tw-text-green-300 { color: #86efac; }
.tw-text-green-400 { color: #4ade80; }
.tw-text-green-500 { color: #22c55e; }
.tw-text-green-600 { color: #16a34a; }
.tw-text-green-700 { color: #15803d; }
.tw-text-green-800 { color: #166534; }
.tw-text-green-900 { color: #14532d; }
/* Blue */
.tw-text-blue-50 { color: #eff6ff; }
.tw-text-blue-100 { color: #dbeafe; }
.tw-text-blue-200 { color: #bfdbfe; }
.tw-text-blue-300 { color: #93c5fd; }
.tw-text-blue-400 { color: #60a5fa; }
.tw-text-blue-500 { color: #3b82f6; }
.tw-text-blue-600 { color: #2563eb; }
.tw-text-blue-700 { color: #1d4ed8; }
.tw-text-blue-800 { color: #1e40af; }
.tw-text-blue-900 { color: #1e3a8a; }
/* Indigo */
.tw-text-indigo-50 { color: #eef2ff; }
.tw-text-indigo-500 { color: #6366f1; }
.tw-text-indigo-600 { color: #4f46e5; }
.tw-text-indigo-700 { color: #4338ca; }
/* Purple */
.tw-text-purple-50 { color: #faf5ff; }
.tw-text-purple-500 { color: #a855f7; }
.tw-text-purple-600 { color: #9333ea; }
.tw-text-purple-700 { color: #7e22ce; }
/* Pink */
.tw-text-pink-50 { color: #fdf2f8; }
.tw-text-pink-500 { color: #ec4899; }
.tw-text-pink-600 { color: #db2777; }
.tw-text-pink-700 { color: #be185d; }

/* --- Background Color --- */
.tw-bg-white { background-color: #ffffff; }
.tw-bg-black { background-color: #000000; }
.tw-bg-transparent { background-color: transparent; }
/* Gray */
.tw-bg-gray-50 { background-color: #f9fafb; }
.tw-bg-gray-100 { background-color: #f3f4f6; }
.tw-bg-gray-200 { background-color: #e5e7eb; }
.tw-bg-gray-300 { background-color: #d1d5db; }
.tw-bg-gray-400 { background-color: #9ca3af; }
.tw-bg-gray-500 { background-color: #6b7280; }
.tw-bg-gray-600 { background-color: #4b5563; }
.tw-bg-gray-700 { background-color: #374151; }
.tw-bg-gray-800 { background-color: #1f2937; }
.tw-bg-gray-900 { background-color: #111827; }
/* Red */
.tw-bg-red-50 { background-color: #fef2f2; }
.tw-bg-red-100 { background-color: #fee2e2; }
.tw-bg-red-200 { background-color: #fecaca; }
.tw-bg-red-300 { background-color: #fca5a5; }
.tw-bg-red-400 { background-color: #f87171; }
.tw-bg-red-500 { background-color: #ef4444; }
.tw-bg-red-600 { background-color: #dc2626; }
.tw-bg-red-700 { background-color: #b91c1c; }
.tw-bg-red-800 { background-color: #991b1b; }
.tw-bg-red-900 { background-color: #7f1d1d; }
/* Orange */
.tw-bg-orange-50 { background-color: #fff7ed; }
.tw-bg-orange-100 { background-color: #ffedd5; }
.tw-bg-orange-200 { background-color: #fed7aa; }
.tw-bg-orange-300 { background-color: #fdba74; }
.tw-bg-orange-400 { background-color: #fb923c; }
.tw-bg-orange-500 { background-color: #f97316; }
.tw-bg-orange-600 { background-color: #ea580c; }
.tw-bg-orange-700 { background-color: #c2410c; }
.tw-bg-orange-800 { background-color: #9a3412; }
.tw-bg-orange-900 { background-color: #7c2d12; }
/* Yellow */
.tw-bg-yellow-50 { background-color: #fefce8; }
.tw-bg-yellow-100 { background-color: #fef9c3; }
.tw-bg-yellow-200 { background-color: #fef08a; }
.tw-bg-yellow-300 { background-color: #fde047; }
.tw-bg-yellow-400 { background-color: #facc15; }
.tw-bg-yellow-500 { background-color: #eab308; }
.tw-bg-yellow-600 { background-color: #ca8a04; }
.tw-bg-yellow-700 { background-color: #a16207; }
.tw-bg-yellow-800 { background-color: #854d0e; }
.tw-bg-yellow-900 { background-color: #713f12; }
/* Green */
.tw-bg-green-50 { background-color: #f0fdf4; }
.tw-bg-green-100 { background-color: #dcfce7; }
.tw-bg-green-200 { background-color: #bbf7d0; }
.tw-bg-green-300 { background-color: #86efac; }
.tw-bg-green-400 { background-color: #4ade80; }
.tw-bg-green-500 { background-color: #22c55e; }
.tw-bg-green-600 { background-color: #16a34a; }
.tw-bg-green-700 { background-color: #15803d; }
.tw-bg-green-800 { background-color: #166534; }
.tw-bg-green-900 { background-color: #14532d; }
/* Blue */
.tw-bg-blue-50 { background-color: #eff6ff; }
.tw-bg-blue-100 { background-color: #dbeafe; }
.tw-bg-blue-200 { background-color: #bfdbfe; }
.tw-bg-blue-300 { background-color: #93c5fd; }
.tw-bg-blue-400 { background-color: #60a5fa; }
.tw-bg-blue-500 { background-color: #3b82f6; }
.tw-bg-blue-600 { background-color: #2563eb; }
.tw-bg-blue-700 { background-color: #1d4ed8; }
.tw-bg-blue-800 { background-color: #1e40af; }
.tw-bg-blue-900 { background-color: #1e3a8a; }
/* Indigo */
.tw-bg-indigo-50 { background-color: #eef2ff; }
.tw-bg-indigo-500 { background-color: #6366f1; }
.tw-bg-indigo-600 { background-color: #4f46e5; }
.tw-bg-indigo-700 { background-color: #4338ca; }
/* Purple */
.tw-bg-purple-50 { background-color: #faf5ff; }
.tw-bg-purple-500 { background-color: #a855f7; }
.tw-bg-purple-600 { background-color: #9333ea; }
.tw-bg-purple-700 { background-color: #7e22ce; }
/* Pink */
.tw-bg-pink-50 { background-color: #fdf2f8; }
.tw-bg-pink-500 { background-color: #ec4899; }
.tw-bg-pink-600 { background-color: #db2777; }
.tw-bg-pink-700 { background-color: #be185d; }

/* --- Border --- */
.tw-border { border: 1px solid #e5e7eb; }
.tw-border-0 { border: 0; }
.tw-border-2 { border-width: 2px; }
.tw-border-t { border-top: 1px solid #e5e7eb; }
.tw-border-b { border-bottom: 1px solid #e5e7eb; }
.tw-border-gray-200 { border-color: #e5e7eb; }
.tw-border-gray-300 { border-color: #d1d5db; }
.tw-rounded { border-radius: 4px; }
.tw-rounded-md { border-radius: 6px; }
.tw-rounded-lg { border-radius: 8px; }
.tw-rounded-xl { border-radius: 12px; }
.tw-rounded-2xl { border-radius: 16px; }
.tw-rounded-full { border-radius: 9999px; }

/* --- Position --- */
.tw-relative { position: relative; }
.tw-absolute { position: absolute; }
.tw-fixed { position: fixed; }
.tw-sticky { position: sticky; }
.tw-inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.tw-top-0 { top: 0; }
.tw-right-0 { right: 0; }
.tw-bottom-0 { bottom: 0; }
.tw-left-0 { left: 0; }

/* --- Z-Index --- */
.tw-z-0 { z-index: 0; }
.tw-z-10 { z-index: 10; }
.tw-z-20 { z-index: 20; }
.tw-z-50 { z-index: 50; }
.tw-z-99 { z-index: 99; }

/* --- Overflow --- */
.tw-overflow-hidden { overflow: hidden; }
.tw-overflow-auto { overflow: auto; }
.tw-overflow-x-auto { overflow-x: auto; }
.tw-overflow-y-auto { overflow-y: auto; }

/* --- Shadow --- */
.tw-shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.tw-shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06); }
.tw-shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06); }
.tw-shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05); }
.tw-shadow-none { box-shadow: none; }

/* --- Opacity --- */
.tw-opacity-0 { opacity: 0; }
.tw-opacity-50 { opacity: 0.5; }
.tw-opacity-75 { opacity: 0.75; }
.tw-opacity-100 { opacity: 1; }

/* --- Transition --- */
.tw-transition { transition: all 0.3s ease; }
.tw-transition-colors { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; }
.tw-transition-transform { transition: transform 0.3s ease; }
.tw-duration-150 { transition-duration: 150ms; }
.tw-duration-300 { transition-duration: 300ms; }
.tw-duration-500 { transition-duration: 500ms; }

/* --- Transform --- */
.tw-scale-100 { transform: scale(1); }
.tw-scale-105 { transform: scale(1.05); }
.tw--translate-y-1 { transform: translateY(-4px); }

/* --- Cursor --- */
.tw-cursor-pointer { cursor: pointer; }
.tw-cursor-not-allowed { cursor: not-allowed; }
.tw-pointer-events-none { pointer-events: none; }

/* --- Object Fit (images) --- */
.tw-object-cover { object-fit: cover; }
.tw-object-contain { object-fit: contain; }
.tw-object-center { object-position: center; }

/* --- Aspect Ratio --- */
.tw-aspect-square { aspect-ratio: 1/1; }
.tw-aspect-video { aspect-ratio: 16/9; }
.tw-aspect-4\/3 { aspect-ratio: 4/3; }

/* --- List --- */
.tw-list-none { list-style: none; }

/* --- Visibility --- */
.tw-invisible { visibility: hidden; }
.tw-visible { visibility: visible; }

/* --- Screen Reader --- */
.tw-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ==========================================================================
   RESPONSIVE: sm (min-width: 640px)
   ========================================================================== */
@media (min-width: 640px) {
  .sm-tw-block { display: block; }
  .sm-tw-flex { display: flex; }
  .sm-tw-grid { display: grid; }
  .sm-tw-hidden { display: none; }
  .sm-tw-inline { display: inline; }
  .sm-tw-flex-row { flex-direction: row; }
  .sm-tw-flex-col { flex-direction: column; }
  .sm-tw-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm-tw-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .sm-tw-gap-4 { gap: 16px; }
  .sm-tw-gap-6 { gap: 24px; }
  .sm-tw-p-4 { padding: 16px; }
  .sm-tw-p-6 { padding: 24px; }
  .sm-tw-px-4 { padding-left: 16px; padding-right: 16px; }
  .sm-tw-px-6 { padding-left: 24px; padding-right: 24px; }
  .sm-tw-py-4 { padding-top: 16px; padding-bottom: 16px; }
  .sm-tw-py-6 { padding-top: 24px; padding-bottom: 24px; }
  .sm-tw-text-left { text-align: left; }
  .sm-tw-text-center { text-align: center; }
  .sm-tw-text-lg { font-size: 18px; }
  .sm-tw-text-xl { font-size: 20px; }
  .sm-tw-text-2xl { font-size: 24px; }
  .sm-tw-w-1\/2 { width: 50%; }
  .sm-tw-w-auto { width: auto; }
}

/* ==========================================================================
   RESPONSIVE: md (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
  .md-tw-block { display: block; }
  .md-tw-flex { display: flex; }
  .md-tw-grid { display: grid; }
  .md-tw-hidden { display: none; }
  .md-tw-inline { display: inline; }
  .md-tw-flex-row { flex-direction: row; }
  .md-tw-flex-col { flex-direction: column; }
  .md-tw-flex-nowrap { flex-wrap: nowrap; }
  .md-tw-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md-tw-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md-tw-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md-tw-col-span-2 { grid-column: span 2; }
  .md-tw-gap-4 { gap: 16px; }
  .md-tw-gap-6 { gap: 24px; }
  .md-tw-gap-8 { gap: 32px; }
  .md-tw-p-4 { padding: 16px; }
  .md-tw-p-6 { padding: 24px; }
  .md-tw-p-8 { padding: 32px; }
  .md-tw-px-6 { padding-left: 24px; padding-right: 24px; }
  .md-tw-px-8 { padding-left: 32px; padding-right: 32px; }
  .md-tw-py-6 { padding-top: 24px; padding-bottom: 24px; }
  .md-tw-py-8 { padding-top: 32px; padding-bottom: 32px; }
  .md-tw-mt-0 { margin-top: 0; }
  .md-tw-mb-0 { margin-bottom: 0; }
  .md-tw-text-left { text-align: left; }
  .md-tw-text-center { text-align: center; }
  .md-tw-text-right { text-align: right; }
  .md-tw-text-lg { font-size: 18px; }
  .md-tw-text-xl { font-size: 20px; }
  .md-tw-text-2xl { font-size: 24px; }
  .md-tw-text-3xl { font-size: 30px; }
  .md-tw-text-4xl { font-size: 36px; }
  .md-tw-w-1\/2 { width: 50%; }
  .md-tw-w-1\/3 { width: 33.333%; }
  .md-tw-w-2\/3 { width: 66.666%; }
  .md-tw-w-1\/4 { width: 25%; }
  .md-tw-w-auto { width: auto; }
  .md-tw-justify-start { justify-content: flex-start; }
  .md-tw-justify-between { justify-content: space-between; }
  .md-tw-items-center { align-items: center; }
}

/* ==========================================================================
   RESPONSIVE: lg (min-width: 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .lg-tw-block { display: block; }
  .lg-tw-flex { display: flex; }
  .lg-tw-grid { display: grid; }
  .lg-tw-hidden { display: none; }
  .lg-tw-inline { display: inline; }
  .lg-tw-flex-row { flex-direction: row; }
  .lg-tw-flex-col { flex-direction: column; }
  .lg-tw-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg-tw-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg-tw-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg-tw-grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
  .lg-tw-grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
  .lg-tw-col-span-2 { grid-column: span 2; }
  .lg-tw-col-span-3 { grid-column: span 3; }
  .lg-tw-gap-4 { gap: 16px; }
  .lg-tw-gap-6 { gap: 24px; }
  .lg-tw-gap-8 { gap: 32px; }
  .lg-tw-gap-10 { gap: 40px; }
  .lg-tw-gap-12 { gap: 48px; }
  .lg-tw-p-6 { padding: 24px; }
  .lg-tw-p-8 { padding: 32px; }
  .lg-tw-p-10 { padding: 40px; }
  .lg-tw-p-12 { padding: 48px; }
  .lg-tw-px-8 { padding-left: 32px; padding-right: 32px; }
  .lg-tw-px-10 { padding-left: 40px; padding-right: 40px; }
  .lg-tw-py-8 { padding-top: 32px; padding-bottom: 32px; }
  .lg-tw-py-10 { padding-top: 40px; padding-bottom: 40px; }
  .lg-tw-py-12 { padding-top: 48px; padding-bottom: 48px; }
  .lg-tw-mt-0 { margin-top: 0; }
  .lg-tw-mb-0 { margin-bottom: 0; }
  .lg-tw-text-left { text-align: left; }
  .lg-tw-text-center { text-align: center; }
  .lg-tw-text-xl { font-size: 20px; }
  .lg-tw-text-2xl { font-size: 24px; }
  .lg-tw-text-3xl { font-size: 30px; }
  .lg-tw-text-4xl { font-size: 36px; }
  .lg-tw-text-5xl { font-size: 48px; }
  .lg-tw-w-1\/2 { width: 50%; }
  .lg-tw-w-1\/3 { width: 33.333%; }
  .lg-tw-w-2\/3 { width: 66.666%; }
  .lg-tw-w-1\/4 { width: 25%; }
  .lg-tw-w-3\/4 { width: 75%; }
  .lg-tw-w-auto { width: auto; }
  .lg-tw-max-w-4xl { max-width: 896px; }
  .lg-tw-max-w-6xl { max-width: 1152px; }
  .lg-tw-justify-start { justify-content: flex-start; }
  .lg-tw-justify-between { justify-content: space-between; }
  .lg-tw-items-center { align-items: center; }
}

/* ==========================================================================
   RESPONSIVE: xl (min-width: 1280px)
   ========================================================================== */
@media (min-width: 1280px) {
  .xl-tw-block { display: block; }
  .xl-tw-flex { display: flex; }
  .xl-tw-grid { display: grid; }
  .xl-tw-hidden { display: none; }
  .xl-tw-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .xl-tw-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .xl-tw-grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
  .xl-tw-grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
  .xl-tw-gap-8 { gap: 32px; }
  .xl-tw-gap-10 { gap: 40px; }
  .xl-tw-gap-12 { gap: 48px; }
  .xl-tw-p-10 { padding: 40px; }
  .xl-tw-p-12 { padding: 48px; }
  .xl-tw-px-10 { padding-left: 40px; padding-right: 40px; }
  .xl-tw-py-12 { padding-top: 48px; padding-bottom: 48px; }
  .xl-tw-text-4xl { font-size: 36px; }
  .xl-tw-text-5xl { font-size: 48px; }
  .xl-tw-max-w-6xl { max-width: 1152px; }
  .xl-tw-max-w-7xl { max-width: 1280px; }
}

/* ==========================================================================
   HOVER STATES
   ========================================================================== */
.tw-hover-opacity-80:hover { opacity: 0.8; }
.tw-hover-opacity-100:hover { opacity: 1; }
.tw-hover-scale-105:hover { transform: scale(1.05); }
.tw-hover-shadow-lg:hover { box-shadow: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05); }
.tw-hover--translate-y-1:hover { transform: translateY(-4px); }

/* ==========================================================================
   CHILDREN SELECTOR (tw-ch-*) - áp dụng cho tất cả con bên trong, kể cả <a>
   Dùng: class="tw-ch-text-white" → tất cả text + link bên trong đều trắng
   ========================================================================== */
.tw-ch-text-white, .tw-ch-text-white * { color: #ffffff; }
.tw-ch-text-black, .tw-ch-text-black * { color: #000000; }
.tw-ch-text-gray-500, .tw-ch-text-gray-500 * { color: #6b7280; }
.tw-ch-text-gray-600, .tw-ch-text-gray-600 * { color: #4b5563; }
.tw-ch-text-gray-700, .tw-ch-text-gray-700 * { color: #374151; }
.tw-ch-text-gray-900, .tw-ch-text-gray-900 * { color: #111827; }
.tw-ch-text-center, .tw-ch-text-center * { text-align: center; }
.tw-ch-text-left, .tw-ch-text-left * { text-align: left; }
.tw-ch-font-bold, .tw-ch-font-bold * { font-weight: 700; }
.tw-ch-font-normal, .tw-ch-font-normal * { font-weight: 400; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-heading {
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  color: #ffba00 !important;
  margin: 0 0 15px 0 !important;
  font-family: 'Be Vietnam Pro', sans-serif !important;
  line-height: 1.4 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.footer-top-block {
  min-height: 270px;
}
.footer-bottom-block {
  padding-top: 0;
}
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
  font-size: 14px;
  color: #e0e0e0;
}
.footer-menu li {
  padding: 0;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-menu a:hover {
  color: #ffba00;
}
@media (max-width: 849px) {
  .footer-top-block {
    min-height: auto;
  }
}

/* Ẩn page title mặc định Flatsome */
.page-title-inner,
.page-header-bg,
.page-header,
.page-title-small {
  display: none !important;
}

/* Page Header + Breadcrumb */
.sc-page-header {
  padding: 30px 0 15px;
  background: #ffffff;
}
.sc-page-title {
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  color: #ffba00;
  margin: 0 0 15px;
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Single post – bỏ padding bottom */
.single-post .entry-content.single-page {
  padding-bottom: 0 !important;
  padding-top: 0;
}
.single-post .entry-header-text {
  padding-bottom: 0 !important;
}
.single-post .entry-content {
  color: #000;
  overflow: hidden;
}
.single-post .entry-content img,
.single-post .entry-content table {
  max-width: 100% !important;
}
.single-post .entry-content img {
  height: auto;
}
.single-post .entry-content strong a {
  color: #ffba00;
}
.single-post .entry-content strong a:hover {
  color: #e5a800;
}

footer.entry-meta{
  display: none;
}

.single-post a.button br{
  display: none;
}

/* Sidebar single post */
.sc-sidebar-consult {
  margin-bottom: 24px;
}
.sc-sidebar-title, .sc-sidebar-recent-title {
  background: #1a1a1a;
  color: #ffba00 !important;
  font-size: 17px;
  font-weight: 700;
  
  text-align: center;
  padding: 12px 16px;
  margin-bottom: 10px;
  border: none;
}
.sc-sidebar-recent {
  margin-top: 24px;
}

.sc-sidebar-recent-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sc-sidebar-recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  transition: background 0.2s;
}
.sc-sidebar-recent-item:hover {
  background: #f9f9f9;
}
.sc-sidebar-recent-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 50px;
  overflow: hidden;
  border-radius: 4px;
}
.sc-sidebar-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sc-sidebar-recent-text {
  color: #333;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sc-sidebar-recent-item:hover .sc-sidebar-recent-text {
  color: #ffba00;
}

/* Single post title */
.single-post .entry-title {
  color: #000 !important;
  font-weight: 700 !important;
}

.sc-breadcrumb {
  font-size: 14px;
}
.sc-breadcrumb p {
  margin: 0;
}
.sc-breadcrumb a {
  color: #000;
  text-decoration: none;
}
.sc-breadcrumb a:hover {
  color: #ffba00;
}
.sc-breadcrumb .separator {
  margin: 0 6px;
  color: #ffba00;
}
.sc-breadcrumb .last {
  color: #000;
}

.tw-counter {
  font-weight: 500 !important;
  -webkit-text-stroke: 2px currentColor;
}

/* Menu dropdown dọc + flyout cấp con */
.menu-du-an-thiet-ke > .nav-dropdown {
  display: block !important;
  min-width: 220px;
}
.menu-du-an-thiet-ke > .nav-dropdown > .nav-dropdown-col {
  display: block !important;
  width: 100% !important;
  position: relative;
  border-right: none !important;
}
.menu-du-an-thiet-ke .nav-dropdown-col > .sub-menu {
  display: none !important;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 200px;
  background: #000 !important;
  z-index: 999;
  padding: 0;
}
.menu-du-an-thiet-ke .nav-dropdown-col:hover > .sub-menu {
  display: block !important;
  max-height: inherit;
  opacity: 1;
  visibility: visible;
}
.menu-du-an-thiet-ke .nav-dropdown-col > a::after {
  content: "›";
  float: right;
  font-size: 18px;
  line-height: 1;
}

#header .sub-menu {
  padding: 0;
  background: black !important;
}
#header .sub-menu li a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
  color: #fff !important;
  padding: 8px 20px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer;
}
#header .sub-menu li:last-child a {
  border-bottom: none;
}
 #header .sub-menu li a:hover {
  color: #d4a843 !important;
  background: rgba(255, 255, 255, 0.05) !important;
}
.nav-dropdown-has-arrow li.has-dropdown:after {
  border-color: hsla(0, 0%, 87%, 0) hsla(0, 0%, 87%, 0) black !important
}

.nav-dropdown-has-arrow.nav-dropdown-has-border li.has-dropdown:before{
  display: none;
}

.nav-dropdown-has-arrow li.has-dropdown:after{
  border-color: hsla(0, 0%, 87%, 0) hsla(0, 0%, 87%, 0) black;
}

.chuyen-muc .chuyen-muc-banner .box-text{

    width: 850px;
    max-width: 100%;
   margin: -55px auto;
}
.chuyen-muc .rank-math-breadcrumb a{
color: white;
}
.rank-math-breadcrumb .separator{
color: #FFB902;
}
.chuyen-muc .chuyen-muc-banner h1{
  background-color: #FFBA00;
    text-align: center;
    color: black !important;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    text-transform: uppercase;
    margin-bottom: 0;

}
.chuyen-muc .chuyen-muc-banner .box-text  p{
     background: white;
    padding: 10px 20px;
    margin: 0;

}
.chuyen-muc .chuyen-muc-post .box-text {
     background: white;
    padding: 10px 20px;
    margin: 0;
    color: black;

}
.chuyen-muc .chuyen-muc-post .box-text .post-title a{
        color: black;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
        height: 40px;
        margin-bottom: 10px;
}

.chuyen-muc .chuyen-muc-post .is-divider {
    display: none;
}

.chuyen-muc .chuyen-muc-post .post-first a.button{
  margin-top: 0;
  margin-left: 30px;
  border: none;
  white-space: nowrap;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  font-size: 14px;
}
.chuyen-muc .chuyen-muc-post a.button {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
}
@media (max-width: 549px) {
  .sc_counter .section-content > .row {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .sc_counter .section-content > .row > .col {
    width: 100% !important;
    max-width: 100% !important;
    padding: 4px 0 !important;
  }
  .sc_counter .col-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 12px;
    text-align: left !important;
  }
  .sc_counter .tw-counter {
    font-size: 22px !important;
    min-width: 70px;
    text-align: right;
  }
  .sc_counter .col-inner p,
  .sc_counter .col-inner span:not(.tw-counter) {
    font-size: 14px !important;
    margin: 0 !important;
  }

  .sc_counter{
    padding-left: 16px;
  }

  .sc_home-service-title{
    text-align: center;
   
  }
}

.absolute-footer {
  border-top: 1px solid #222;
}

/* ==========================================================================
   ABOUT PAGE - giống sbshouse.vn/gioi-thieu/
   ========================================================================== */

/* About content wrapper */
.about-content {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}
.about-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  padding-bottom: 10px;
  margin: 35px 0 20px;
  border-bottom: 3px solid #ffba00;
  display: inline-block;
}
.about-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 25px 0 12px;
}
.about-content p {
  margin-bottom: 15px;
  text-align: justify;
}
.about-content ul {
  padding-left: 25px;
  margin-bottom: 20px;
}
.about-content ul li {
  margin-bottom: 10px;
  line-height: 1.8;
}
.about-content a {
  color: #ffba00;
  text-decoration: none;
}
.about-content a:hover {
  text-decoration: underline;
}
.about-content strong {
  color: #222;
}
.about-content blockquote {
  border-left: 4px solid #ffba00;
  padding: 12px 20px;
  margin: 20px 0;
  background: #fffaf0;
  font-style: italic;
}

/* DearFlip Flipbook - inline embed full width */
.df-element {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 500px;
}
.df-element .df-container {
  width: 100% !important;
  height: 500px !important;
  position: relative !important;
}
.df-element .df-container .df-viewer-container {
  width: 100% !important;
  height: 100% !important;
}
/* Ẩn thumbnail overlay - hiện sách ngay */
.df-element .df-container .df-loading-icon,
.df-element .df-container .df-loading-info {
  z-index: 1;
}
.df-container .df-bg {
  background-color: transparent !important;
}

/* Ảnh + caption */
.about-img-wrap {
  text-align: center;
  margin: 25px 0;
}
.about-img-wrap em {
  display: block;
  font-size: 13px;
  color: #888;
  margin-top: 8px;
  font-style: italic;
}
.about-img-wrap img {
  border-radius: 4px;
}

/* Section title cho form cuối */
.sc-section-title {
  font-size: 26px;
  font-weight: 600;
  color: #ffba00;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}
.sc-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #ffba00;
  margin: 10px auto 0;
}

/* ==========================================================================
   MOBILE ONLY CSS
   ========================================================================== */
@media only screen and (max-width: 48em) {

}

#footer .footer-menu li, #footer .ux-menu-link__text, #footer .contact-list li{
 margin-left: 0;
 font-size: 14px;
 color: white !important;
}


#footer .footer-title, #footer  h4{
 font-size: 15px;
 font-weight: 700 !important;
}

#footer .contact-list{
list-style: none;
}

/* Trnag chủ
   */
.home .post-first .box-text{
  padding: 0px 0px 14px 0px;
}
.home .post-first .is-divider{
  display: none;
}
.home .post-first .post-title{
  background: #FFBA00;
  color: white;
  font-size: 22px;
  font-weight: 400 !important;
  -webkit-text-stroke: 0.6px currentColor;
  padding: 8px 0;
  text-align: center;
  margin-top: 0;
}
.home .post-first .from_the_blog_excerpt{
  padding: 30px;
  text-align: justify;
  font-size: 14px;
  color: #161616;
}
.home .post-first a.button{
  margin-top: 0;
  margin-left: 30px;
  border: none;
  white-space: nowrap;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  font-size: 14px;
}



.home .post-first .post-title a:hover {
  color: white;
}
@media (max-width: 549px) {
  .home .post-first a.button {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    width: fit-content;
  }
}


/* .home .icon-box-img {
  background: #FFBA00;
  margin: 0;
    width: 100% !important;
} */
.home .icon-box-img .icon{
  width: 70px;
    color: white;
}

.home .sc_tab_body .tab-panels{
  background: #161616;
}
.home .sc_tab_body li.active  a{
    background: #161616;
    border-top: 1px solid;
    font-weight: 600;
    font-size: 20px;
    position: relative;
    color: #fff;
    display: inline-block;
    padding: 10px 30px;
    min-width: 300px;
}

.home .sc_tab_body li:not(.active)  a{
    background: #FFBA00;
    border-top: 1px solid;
    font-weight: 600;
    font-size: 20px;
    position: relative;
    color: #fff;
    display: inline-block;
    padding: 10px 30px;
    min-width: 300px;
}

.home .sc_tab_body ul>li{
  margin: 0 !important;
}
.home .sc_tab_body ul.nav-tabs{
  margin-bottom: 0 !important;
}
.home .sc_tab_body .tab-panels{
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.home .sc_home-work .section-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.home .sc_tab_body .tabbed-content {
  gap: 0 !important;
}
.home .sc_tab_body ul.nav-tabs li a {
  margin-bottom: 0 !important;
  padding-bottom: 10px !important;
  margin-right: 0 !important;
}
.home .sc_tab_body ul.nav-tabs li {
  margin: 0 !important;
}
.home .sc_tab_body ul.nav-tabs {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
@media (max-width: 549px) {
  .home .sc_tab_body ul.nav-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }
  .home .sc_tab_body ul.nav-tabs li {
    flex: 1 !important;
    display: flex !important;
  }
  .home .sc_tab_body li.active a,
  .home .sc_tab_body li:not(.active) a {
    min-width: auto !important;
    font-size: 14px !important;
    padding: 10px 15px !important;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .home .sc_tab_body .tab-panels .col::after {
    display: none !important;
  }
  .home .sc_tab_body .box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .home .sc_tab_body .box-image {
    width: auto !important;
  }
}
.home .sc_tab_body .tab-panels {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
.home .sc_home-service {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.home .sc_home-work {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
}
.home .sc_home-work > .section-content {
  padding: 0 !important;
}
.home .sc_home-work .tabbed-content.sc_tab_body {
  margin: 0 !important;
  padding: 0 !important;
}
.home .sc_home-work .tab-panels > div {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.home .sc_tab_body .box-image{
  position: relative;
  width: 100%;
  overflow: visible !important;
}
.home .sc_tab_body .box,
.home .sc_tab_body .col-inner,
.home .sc_tab_body .col,
.home .sc_tab_body .is-border{
  overflow: visible !important;
}
.home .sc_tab_body .box-image img{
  position: relative;
  margin: 0 auto;
  width: 100px;
}

.home .sc_tab_body .tab-panels .col{
  position: relative;
}
.home .sc_tab_body .tab-panels .col:last-of-type::after{
  display: none !important;
}
.home .sc_tab_body .tab-panels .col::after{
  position: absolute;
  content: '';
  width: 40px;
  height: 40px;
  right: 0;
  top: 50px;
  transform: translate(50%, -50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23ffffff' stroke-width='1.5'%3E%3Cline x1='5' y1='20' x2='35' y2='20'/%3E%3Cpolyline points='25,10 35,20 25,30'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 10;
}
.home .sc_tab_body .box-text-inner p{
  color: #dddddd;
}
.home .sc_tab_body .sc_home-work-body{
  padding: 40px 0;
}


/* .home .sc_home-about{} */

.home .sc_home-service h2.sc_home-service-title {
    position: relative;
    padding-top: 15px;
    font-size: 23px;
    margin-bottom: 15px;
    color: #333333 !important;
    -webkit-text-stroke: 0.8px currentColor;
    font-weight: 500 !important;
}
.home .sc_home-service h2.sc_home-service-title::before {
    content: "";
    display: block;
    height: 1px;
    background-color: #FFBA00;
    position: absolute;
    top: 0;
    right: 0;
    left: -100vw;
}
.home .sc_home-service .sc_home-service-content {
    font-size: 16px;
    font-weight: 300;
    color: #333333;
}
.home .sc_home-service .row {
    align-items: stretch;
}
.home .sc_home-service .sc_home-service-box .col-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.home .sc_home-service .sc_home-service-box .sc_svc-body {
    flex: 1;
}
.home .sc_home-service .sc_home-service-box .icon-box-img{
    margin-bottom: 0;
}
.home .sc_home-service .sc_home-service-box .icon-box-img{
    background-color: #FFBA00;
    width: 100% !important;
}
.home .sc_home-service .sc_home-service-box .section-title{
    background-color: #FFBA00;
    border: none;
     font-weight: bold;
    font-size: 20px;
    color: #fff;
    text-align: center;
    display: block;
}
.home .sc_home-service .sc_home-service-box .section-title .section-title-main{
    border: none;
}

/* Service Card */
.sc_svc-header-box .icon-box {
    background-color: #FFBA00;
    padding: 30px 20px 20px;
}
.sc_svc-header-box .icon-box-img {
    margin-bottom: 10px;
}
.sc_svc-header-box .icon-box-img img {
    filter: brightness(0) invert(1);
}
.sc_svc-header-box .icon-box-text {
    background-color: #FFBA00;
    padding: 0 20px 25px;
}
.sc_svc-header-box h3 {
    margin: 0;
}
.sc_svc-title {
    color: #fff !important;
    font-size: 20px;
    font-weight: 400;
    -webkit-text-stroke: 0.4px currentColor;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: 1px;
    line-height: 1.4;
}
.sc_svc-title span {
    font-size: 22px;
}

.tw-cursor-pointer{
  cursor: pointer;
}
.sc_svc-title::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.sc_svc-body {
    padding: 25px 20px;
    background: #fff;
}
.sc_svc-body p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}
.sc_svc-body ul {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}
.sc_svc-body ul li {
    padding: 8px 0 8px 25px !important;
    margin: 0 !important;
    font-size: 14px;
    color: #333;
    position: relative;
}
.sc_svc-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M10 7h7v7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Section Công trình thiết kế */
.sc_home-project .sc_project-title {
    color: #FFBA00;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-top: 15px;
    position: relative;
}

.sc_home-project .sc_home-project-top::before {
    content: "";
    display: block;
    height: 1px;
    background-color: #FFBA00;
    position: absolute;
    top: 0;
    left: 0;
    right: 16px;
}
.sc_home-project .sc_home-project-right::before {
    content: "";
    display: block;
    height: 1px;
    background-color: #FFBA00;
    position: absolute;
    top: 0;
    left: 0;
    right: 16px;
}
.sc_home-project .col > .col-inner > a.button {
    margin: 0 auto !important;
    display: block !important;
    width: fit-content !important;
}
.sc_home-project .box-blog-post .box-image {
    border-radius: 0;
    overflow: hidden;
}
.sc_home-project .box-blog-post .box-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.sc_project-slider .box-blog-post .box-text,
.sc_home-project .box-blog-post .box-text {
    padding: 12px !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(252,185,0,0.85) !important;
}
.sc_project-slider .box-blog-post:hover .box-text,
.sc_home-project .box-blog-post:hover .box-text {
    opacity: 1;
}
.sc_project-slider .box-blog-post .post-title,
.sc_home-project .box-blog-post .post-title {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700;
}
.sc_project-slider .box-blog-post .is-divider,
.sc_home-project .box-blog-post .is-divider {
    display: none !important;
}
.sc_project-slider .box-blog-post .from_the_blog_excerpt,
.sc_home-project .box-blog-post .from_the_blog_excerpt {
    color: rgba(255,255,255,0.9) !important;
    font-size: 13px;
    font-style: italic;
}
.sc_project-slider .box-blog-post .box-text-inner,
.sc_home-project .box-blog-post .box-text-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.sc_project-slider .box-blog-post .box-text-inner > a.button,
.sc_home-project .box-blog-post .box-text-inner > a.button {
    margin-top: auto !important;
    align-self: flex-start !important;
}
.sc_project-slider .box-blog-post .image-overlay,
.sc_home-project .box-blog-post .image-overlay {
    opacity: 0 !important;
    transition: opacity 0.3s ease;
}
.sc_project-slider .box-blog-post:hover .image-overlay,
.sc_home-project .box-blog-post:hover .image-overlay {
    opacity: 1 !important;
}

.sc_home-project-top{
      padding-left: calc((100vw - 1250px) / 2);
}

.sc_home-project-right{
      padding-right: calc((100vw - 1250px) / 2);
}

/* Testimonial Slider */
.sc_testi-slider {
    overflow: hidden;
}
.sc_testi-inner {
    display: flex;
    transition: transform 0.4s ease;
}
.sc_testi-slider .sc_testi-card {
    flex: 0 0 33.333%;
}
@media (max-width: 849px) {
    .sc_testi-slider .sc_testi-card { flex: 0 0 50%; }
}
@media (max-width: 549px) {
    .sc_testi-slider .sc_testi-card { flex: 0 0 100%; }
}
.sc_testi-slider-wrap {
    position: relative;
}
.sc_testi-container {
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
}
.sc_testi-full {
    width: 100%;
    max-width: 100%;
}
.sc_testi-nav {
    display: none;
}
.sc_testi-dots {
    text-align: center;
    padding-top: 20px;
}
.sc_testi-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #666;
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.sc_testi-dot.active {
    background: #FFBA00;
}

/* Testimonial Card */
.sc_home-customer .title {
    color: #fff !important;
}
.sc_testi-card {
    padding: 0 15px;
    box-sizing: border-box;
}
.sc_testi-bubble {
    background: #fff;
    padding: 25px 25px 20px;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}
.sc_testi-bubble .sc_testi-quote {
    font-size: 36px;
    line-height: 1;
    color: #FFBA00;
    font-weight: 700;
    margin-bottom: 15px;
}
.sc_testi-bubble p {
    color: #333;
    font-size: 14px;
    font-style: italic;
    line-height: 1.8;
    flex: 1;
    margin-bottom: 15px;
}
.sc_testi-readmore {
    color: #FFBA00 !important;
    font-size: 13px;
    text-decoration: underline !important;
    align-self: flex-end;
}
.sc_testi-corner {
    border-top: 30px solid #FFBA00;
    border-right: 30px solid transparent;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
}

.sc_testi-bubble::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 0;
    border-bottom: 30px solid transparent;
    border-right: 30px solid #FFBA00;
}

.sc_testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    padding: 0 10px;
}
.sc_testi-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4CAF50;
}
.sc_testi-info {
    display: flex;
    flex-direction: column;
}
.sc_testi-info strong {
    color: #FFBA00;
    font-size: 14px;
}
.sc_testi-info span {
    color: #aaa;
    font-size: 12px;
}

/* Section Dự án thi công (ngược) */
.sc_home-project-reverse .sc_project-title::before {
    left: 0;
    right: 0;
}

.sc_home-gallery .title{
  font-size: 40px;
  font-weight: 400;
  -webkit-text-stroke: 0.6px currentColor;
}
.sc_home-gallery .gallery-col .gallery-box .box-image {
  height: 250px !important;
  overflow: hidden !important;
  padding-bottom: 0 !important;
}
.sc_home-gallery .gallery-col .gallery-box .box-image img {
  width: 100% !important;
  height: 250px !important;
  object-fit: cover !important;
  position: relative !important;
}

.lwptoc_header{
  display: flex;
  align-items: center;
}
.lwptoc_header .lwptoc_toggle{
  display: flex;
}

.sc_home-bst{
  padding-left: calc((100vw - 1250px) / 2);
}
.sc_home-bst .title{
      font-size: 70px;
}
.sc_home-bst .title h2{
      margin: 0;
    line-height: 90px;
    font-size: 100px;
}

.sc_home-baochi .title h2 span{
  -webkit-text-stroke: 0.6px currentColor;
  font-size: 40px;
    font-weight: 400;
}

.tld_faq_box {
  position: fixed !important;
  right: 10px;
  bottom: 20px;
  width: 70px;
  z-index: 9999;
  padding: 0 !important;
  background: transparent !important;
}
.tld_faq_box .section-content {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.tld_faq_box .true img {
    width: 100%;
    animation: zoomShake 2s ease-in-out infinite;
}
.tld_faq_box_content {
  display: none !important;
}
.tld_faq_box_content.active {
  display: block !important;
}
.tld_faq_box_content.active {
  display: block;
  position: fixed;
  bottom: 100px;
  right: 10px;
  width: 500px;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 10000;
  padding: 16px;
}


@keyframes zoomShake {
  0% { transform: scale(1); }
  20% { transform: scale(1.2); }
  30% { transform: scale(1.2) rotate(-8deg); }
  40% { transform: scale(1.2) rotate(8deg); }
  50% { transform: scale(1.2) rotate(-8deg); }
  60% { transform: scale(1.2) rotate(8deg); }
  70% { transform: scale(1.2) rotate(0deg); }
  80% { transform: scale(1); }
  100% { transform: scale(1); }
}

/* Form tư vấn */
.sc_consult-form {
    background: #fff;
    border: 2px solid #FFBA00;
    border-radius: 12px;
    padding: 20px 20px 24px;
    max-width: 520px;
    margin: 0 auto;
}
.sc_consult-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.sc_consult-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sc_consult-row {
    display: flex;
    gap: 8px;
}
.sc_consult-full {
    width: 100%;
}
.sc_consult-half > input,
.sc_consult-half > select {
    flex: 1 1 0;
    min-width: 0;
    width: 50%;
}
.sc_consult-form input[type="text"],
.sc_consult-form input[type="tel"],
.sc_consult-form input[type="email"],
.sc_consult-form select,
.sc_consult-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.sc_consult-form input:focus,
.sc_consult-form select:focus,
.sc_consult-form textarea:focus {
    border-color: #FFBA00;
}
.sc_consult-form select {
    appearance: none;
    cursor: pointer;
    padding-right: 32px;
    line-height: 1;
    height: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}
.sc_consult-form textarea {
    resize: vertical;
    min-height: 60px;
}
.sc_consult-budget {
    flex-direction: column;
}
.sc_consult-budget-label {
    font-size: 13px;
    color: #333;
    margin-bottom: 4px;
}
.sc_consult-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    align-items: center;
}
.sc_consult-radios label {
    font-size: 12px;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.sc_consult-radios input[type="radio"] {
    accent-color: #FFBA00;
    width: auto;
    margin: 0;
    vertical-align: middle;
}
.sc_consult-submit {
    text-align: center;
    margin-top: 4px;
    justify-content: center;
}
.sc_consult-submit button {
    background: #FFBA00;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 1px;
}
.sc_consult-submit button:hover {
    background: #e6a800;
}
.sc_consult-msg {
    text-align: center;
    padding: 8px;
    margin-top: 8px;
    border-radius: 6px;
    font-size: 13px;
}
.sc_consult-success {
    background: #e8f5e9;
    color: #2e7d32;
}
.sc_consult-error {
    background: #fce4ec;
    color: #c62828;
}
@media (max-width: 549px) {
    .sc_consult-half {
        flex-direction: column;
    }
    .sc_consult-form {
        padding: 16px 14px;
    }
    .sc_consult-radios {
        flex-direction: column;
    }
}

/* ===== Slider Wrapper (Swiper) ===== */
.sc_slider-wrap {
    position: relative;
}
.sc_slider-wrap .swiper {
    overflow: hidden;
}
/* Arrows */
.sc_swiper-prev,
.sc_swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    color: #d4a843;
    transition: opacity 0.2s, transform 0.2s;
    opacity: 0.85;
}
.sc_swiper-prev:hover,
.sc_swiper-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.15);
}
.sc_swiper-prev {
    left: 10px;
}
.sc_swiper-next {
    right: 10px;
}
/* Arrows outside – arrows nằm ngoài nhưng slider vẫn full width */
.sc_slider-wrap--outside .sc_swiper-prev {
    left: -40px;
}
.sc_slider-wrap--outside .sc_swiper-next {
    right: -40px;
}
@media (max-width: 1399px) {
    .sc_slider-wrap--outside .sc_swiper-prev {
        left: 5px;
    }
    .sc_slider-wrap--outside .sc_swiper-next {
        right: 5px;
    }
}
/* Iframe chỉ disable pointer khi đang drag */
.sc_slider-wrap.is-dragging .swiper-slide iframe {
    pointer-events: none;
}
.sc_swiper-prev.swiper-button-disabled,
.sc_swiper-next.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}
/* Pagination */
.sc_slider-wrap .swiper-pagination-bullet {
    background: #888;
    opacity: 1;
}
.sc_slider-wrap .swiper-pagination-bullet-active {
    background: #d4a843;
}
/* Video fit fix trong slide */
.sc_slider-wrap .swiper-slide .video-fit > p {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}
@media (max-width: 549px) {
    .sc_swiper-prev { left: 5px; }
    .sc_swiper-next { right: 5px; }
    .sc_swiper-prev svg,
    .sc_swiper-next svg { width: 18px; height: 18px; }
}

/* ===== Flickity dots màu vàng ===== */
.flickity-page-dots .dot {
  background-color: #73581C !important;
  border-color: #73581C !important;
  opacity: .4;
}
.flickity-page-dots li.is-selected {
 background-color: #ffba00 !important;
 border-color: #ffba00 !important;
  opacity: 1;
}

/* Video Feedback row — gap 8px */
.tw-video-fb-row > .col {
  padding-left: 4px !important;
  padding-right: 4px !important;
}
.tw-video-fb-row {
  margin-left: -4px !important;
  margin-right: -4px !important;
}

/* ===== FAQ Accordion ===== */
.sc-faq-section {
  margin: 30px 0;
}
.sc-faq-header {
  background: #1a1a1a;
  padding: 12px 20px;
  margin-bottom: 0;
}
.sc-faq-header h2 {
  color: #ffba00;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  text-align: center;
}
.sc-faq-list {
  border: 1px solid #e0e0e0;
  border-top: none;
}
.sc-faq-item {
  border-bottom: 1px solid #e0e0e0;
}
.sc-faq-item:last-child {
  border-bottom: none;
}
.sc-faq-question {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.sc-faq-question:hover {
  background: #f9f9f9;
}
.sc-faq-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #ffba00;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
}
.sc-faq-title {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: #222;
}
.sc-faq-icon {
  flex-shrink: 0;
  margin-left: 12px;
  color: #999;
  transition: transform 0.3s;
}
.sc-faq-item.is-open .sc-faq-icon {
  transform: rotate(180deg);
}
.sc-faq-answer {
  display: none;
  padding: 0 20px 16px 76px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}
.sc-faq-item.is-open .sc-faq-answer {
  display: block;
}

/* Con người SBS — banner grid ảnh fill */
.tw-team-grid .col-grid {
  overflow: hidden;
}
.tw-team-grid .col-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
