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

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

/* ==========================================================================
   1. SEGOE UI FONT CHO TOÀN BỘ WEBSITE (FRONTEND)
   ========================================================================== */

/* Định nghĩa CSS Variables cho Flatsome & toàn bộ trang */
:root {
  --fs-font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", Arial, sans-serif;
  --fs-heading-font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", Arial, sans-serif;
  --fs-nav-font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", Arial, sans-serif;
}

/* Áp dụng Segoe UI cho html và body (trừ wp-admin) */
html:not(.wp-admin),
body:not(.wp-admin) {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Áp dụng cho các phần tử văn bản, tiêu đề, form, button trên Frontend */
:where(button, input, select, textarea, optgroup) {
  font-family: inherit;
}
:where(body:not(.wp-admin):not(.fl-builder)) :is(h1, h2, h3, h4, h5, h6),
body:not(.wp-admin) .heading-font,
body:not(.wp-admin) .alt-font,
body:not(.wp-admin) .nav > li > a,
body:not(.wp-admin) .nav-dropdown > li > a,
body:not(.wp-admin) .mobile-sidebar-levels-2 .nav > li > ul > li > a,
body:not(.wp-admin) .off-canvas-center .nav-sidebar.nav-vertical > li > a,
body:not(.wp-admin) .breadcrumbs,
body:not(.wp-admin) .section-title,
body:not(.wp-admin) .section-title span,
body:not(.wp-admin) .banner h1,
body:not(.wp-admin) .banner h2,
body:not(.wp-admin) .banner p,
body:not(.wp-admin) .button,
body:not(.wp-admin) .btn,
body:not(.wp-admin) .badge-inner,
body:not(.wp-admin) .price,
body:not(.wp-admin) .amount {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", Arial, sans-serif;
}

/* Bảo toàn font monospace cho các thẻ code/pre */
body:not(.wp-admin) code,
body:not(.wp-admin) pre,
body:not(.wp-admin) kbd,
body:not(.wp-admin) samp {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* ==========================================================================
   2. BẢO VỆ ICON FONTS (KHÔNG BỊ GHI ĐÈ BỞI SEGOE UI)
   ========================================================================== */

/* Flatsome Icons & Star Rating (Exclude .icon-box* and .icon-inner layout wrappers) */
[class^="icon-"]:not([class^="icon-box"]):not([class*=" icon-box"]):not(.icon-inner),
[class*=" icon-"]:not([class^="icon-box"]):not([class*=" icon-box"]):not(.icon-inner),
[class^="fl-icon-"],
[class*=" fl-icon-"],
[class^="icon-"]:not([class^="icon-box"]):not([class*=" icon-box"]):not(.icon-inner):before,
[class*=" icon-"]:not([class^="icon-box"]):not([class*=" icon-box"]):not(.icon-inner):before,
[class^="icon-"]:not([class^="icon-box"]):not([class*=" icon-box"]):not(.icon-inner):after,
[class*=" icon-"]:not([class^="icon-box"]):not([class*=" icon-box"]):not(.icon-inner):after,
.star-rating,
.star-rating:before,
.star-rating span,
.star-rating span:before,
.stars a,
.stars a:after {
  font-family: "fl-icons" !important;
}

/* WordPress Dashicons */
.dashicons,
.dashicons-before:before,
[class^="dashicons-"],
[class*=" dashicons-"],
[class^="dashicons-"]:before,
[class*=" dashicons-"]:before {
  font-family: "dashicons" !important;
}

/* Font Awesome (Free & Brands) */
.fa,
.fas,
.far,
.fal,
.fad,
[class^="fa-"],
[class*=" fa-"],
[class^="fa-"]:before,
[class*=" fa-"]:before {
  font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
}

.fab,
.fab:before {
  font-family: "Font Awesome 5 Brands", "FontAwesome", sans-serif !important;
}

/* WooCommerce Font Icons */
.woocommerce-store-notice::before,
.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-MyAccount-navigation-link a::before {
  font-family: "WooCommerce" !important;
}

/* ==========================================================================
   3. LOẠI TRỪ WP ADMIN & WP ADMIN BAR (BẢO TOÀN GIAO DIỆN QUẢN TRỊ)
   ========================================================================== */

/* WordPress Admin Bar trên Frontend */
#wpadminbar,
#wpadminbar * {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Bảo toàn icon dashicons trên WP Admin Bar */
#wpadminbar .ab-icon,
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .dashicons,
#wpadminbar .dashicons:before {
  font-family: dashicons !important;
}

/* ==========================================================================
   4. TÙY BIẾN HEADER BÀI VIẾT (SINGLE POST ENTRY HEADER)
   ========================================================================== */

/* Khung tiêu đề bài viết căn trái */
.single-post .entry-header .entry-header-text,
.blog-single .entry-header .entry-header-text {
  text-align: left !important;
}

/* Category căn trái, có background nhẹ */
.single-post .entry-header .entry-category,
.blog-single .entry-header .entry-category {
  text-align: left !important;
  margin-bottom: 12px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

.single-post .entry-header .entry-category a,
.blog-single .entry-header .entry-category a {
  display: inline-flex !important;
  align-items: center !important;
  background-color: #eef5fc !important;
  color: #006dd6 !important;
  padding: 4px 14px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  text-decoration: none !important;
  border: 1px solid rgba(0, 109, 214, 0.15) !important;
  transition: all 0.2s ease !important;
}

.single-post .entry-header .entry-category a:hover,
.blog-single .entry-header .entry-category a:hover {
  background-color: #006dd6 !important;
  color: #ffffff !important;
  border-color: #006dd6 !important;
  transform: translateY(-1px);
}

/* Tiêu đề bài viết căn trái */
.single-post .entry-header .entry-title,
.blog-single .entry-header .entry-title {
  text-align: left !important;
  color: #1d2327;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.35;
  margin: 10px 0 14px 0 !important;
}

/* Date có icon, căn trái */
.single-post .entry-header .entry-meta,
.blog-single .entry-header .entry-meta {
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  text-transform: none !important;
  font-size: 14px !important;
  color: #646970 !important;
  margin-top: 10px !important;
}

.single-post .entry-header .entry-meta .posted-on,
.blog-single .entry-header .entry-meta .posted-on,
.single-post .entry-header .entry-meta .byline,
.blog-single .entry-header .entry-meta .byline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #646970 !important;
}

.single-post .entry-header .entry-meta .medfit-meta-icon,
.blog-single .entry-header .entry-meta .medfit-meta-icon {
  width: 15px !important;
  height: 15px !important;
  stroke: #006dd6 !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.single-post .entry-header .entry-meta a,
.blog-single .entry-header .entry-meta a {
  color: #646970 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.single-post .entry-header .entry-meta a:hover,
.blog-single .entry-header .entry-meta a:hover {
  color: #006dd6 !important;
}

/* entry-divider, bỏ */
.single-post .entry-header .entry-divider,
.blog-single .entry-header .entry-divider,
.entry-header .entry-divider,
.entry-divider.is-divider {
  display: none !important;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
  .single-post .entry-header .entry-title,
  .blog-single .entry-header .entry-title {
    font-size: 22px !important;
    line-height: 1.35 !important;
  }
}

/* ==========================================================================
   5. GIAO DIỆN THẺ BÀI VIẾT (POST LOOP ITEM - ARCHIVE & CATEGORY)
   ========================================================================== */

/* 5.1. Khung Card bài viết Loop: Nền trắng, Bo góc tròn 14px, Box-Shadow, Đều chiều cao */
.blog-archive #post-list .post-item,
.archive #post-list .post-item,
.category #post-list .post-item,
.blog-wrapper #post-list .post-item {
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 30px !important;
}

.blog-archive #post-list .post-item .col-inner,
.archive #post-list .post-item .col-inner,
.category #post-list .post-item .col-inner,
.blog-wrapper #post-list .post-item .col-inner {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.blog-archive #post-list .post-item .box-blog-post,
.archive #post-list .post-item .box-blog-post,
.category #post-list .post-item .box-blog-post,
.blog-wrapper #post-list .post-item .box-blog-post {
  background-color: #ffffff !important;
  border: 1px solid #edf2f7 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease !important;
}

.blog-archive #post-list .post-item .box-blog-post:hover,
.archive #post-list .post-item .box-blog-post:hover,
.category #post-list .post-item .box-blog-post:hover,
.blog-wrapper #post-list .post-item .box-blog-post:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  border-color: #cce4fc !important;
}

/* 5.2. Ảnh đại diện Thumbnail: Bo tròn 2 góc trên, Zoom nhẹ khi hover */
.blog-archive #post-list .post-item .box-image,
.archive #post-list .post-item .box-image,
.category #post-list .post-item .box-image,
.blog-wrapper #post-list .post-item .box-image {
  width: 100% !important;
  border-top-left-radius: 13px !important;
  border-top-right-radius: 13px !important;
  overflow: hidden !important;
  position: relative !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.blog-archive #post-list .post-item .box-image .image-cover,
.archive #post-list .post-item .box-image .image-cover,
.category #post-list .post-item .box-image .image-cover {
  width: 100% !important;
  padding-top: 56.25% !important;
  position: relative !important;
  height: 0 !important;
}

.blog-archive #post-list .post-item .box-image .image-cover a,
.archive #post-list .post-item .box-image .image-cover a,
.category #post-list .post-item .box-image .image-cover a {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.blog-archive #post-list .post-item .box-image img,
.archive #post-list .post-item .box-image img,
.category #post-list .post-item .box-image img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.45s ease !important;
}

.blog-archive #post-list .post-item .box-blog-post:hover .box-image img,
.archive #post-list .post-item .box-blog-post:hover .box-image img,
.category #post-list .post-item .box-blog-post:hover .box-image img {
  transform: scale(1.06) !important;
}

/* 5.3. Category Badge: Nằm gọn gàng ở góc dưới bên trái ảnh đại diện */
.blog-archive #post-list .post-item .medfit-loop-cat-badge,
.archive #post-list .post-item .medfit-loop-cat-badge,
.category #post-list .post-item .medfit-loop-cat-badge,
.blog-wrapper #post-list .post-item .medfit-loop-cat-badge,
.box-blog-post .medfit-loop-cat-badge,
.box-blog-post .cat-label {
  position: absolute !important;
  bottom: calc(100% + 10px) !important;
  left: 12px !important;
  top: auto !important;
  right: auto !important;
  z-index: 10 !important;
  display: inline-flex !important;
  align-items: center !important;
  background-color: #006dd6 !important;
  color: #ffffff !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22) !important;
  text-decoration: none !important;
  margin: 0 !important;
  pointer-events: auto !important;
  transition: all 0.25s ease !important;
}

.blog-archive #post-list .post-item .medfit-loop-cat-badge:hover,
.archive #post-list .post-item .medfit-loop-cat-badge:hover,
.category #post-list .post-item .medfit-loop-cat-badge:hover,
.blog-wrapper #post-list .post-item .medfit-loop-cat-badge:hover,
.box-blog-post .medfit-loop-cat-badge:hover,
.box-blog-post .cat-label:hover {
  background-color: #0056aa !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Trường hợp bài viết không có ảnh thumbnail: Badge hiển thị căn giữa phía trên tiêu đề */
.box-blog-post:not(:has(.box-image)) .medfit-loop-cat-badge,
.box-blog-post:not(:has(.box-image)) .cat-label {
  position: static !important;
  align-self: center !important;
  margin: 0 auto 14px auto !important;
}

/* Ẩn badge ngày tròn mặc định của Flatsome để tránh đè lên góc ảnh */
.blog-archive #post-list .post-item .badge.post-date,
.archive #post-list .post-item .badge.post-date,
.category #post-list .post-item .badge.post-date,
.blog-wrapper #post-list .post-item .badge.post-date {
  display: none !important;
}

/* 5.4. Nội dung bài viết: Padding chuẩn, Căn giữa tiêu đề, Đều chiều cao */
.blog-archive #post-list .post-item .box-text,
.archive #post-list .post-item .box-text,
.category #post-list .post-item .box-text,
.blog-wrapper #post-list .post-item .box-text,
.box-blog-post .box-text {
  position: relative !important;
  padding: 20px 22px 24px 22px !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.blog-archive #post-list .post-item .box-text-inner.blog-post-inner,
.archive #post-list .post-item .box-text-inner.blog-post-inner,
.category #post-list .post-item .box-text-inner.blog-post-inner,
.blog-wrapper #post-list .post-item .box-text-inner.blog-post-inner {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  flex-grow: 1 !important;
  text-align: center !important;
}

/* Tiêu đề bài viết: Căn giữa, Luôn cố định chuẩn 3 dòng */
.blog-archive #post-list .post-item .post-title,
.archive #post-list .post-item .post-title,
.category #post-list .post-item .post-title,
.blog-wrapper #post-list .post-item .post-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  height: calc(1.4em * 3) !important;
  min-height: calc(1.4em * 3) !important;
  max-height: calc(1.4em * 3) !important;
  margin: 0 0 14px 0 !important;
  text-align: center !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.blog-archive #post-list .post-item .post-title a,
.archive #post-list .post-item .post-title a,
.category #post-list .post-item .post-title a,
.blog-wrapper #post-list .post-item .post-title a {
  color: #1d2327 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.blog-archive #post-list .post-item .post-title a:hover,
.archive #post-list .post-item .post-title a:hover,
.category #post-list .post-item .post-title a:hover,
.blog-wrapper #post-list .post-item .post-title a:hover {
  color: #006dd6 !important;
}

/* Ẩn dải phân cách is-divider giữa tiêu đề và mô tả */
.blog-archive #post-list .post-item .is-divider,
.archive #post-list .post-item .is-divider,
.category #post-list .post-item .is-divider,
.blog-wrapper #post-list .post-item .is-divider {
  display: none !important;
}

/* Mô tả ngắn bài viết: Màu xám thanh lịch, căn trái, Luôn cố định chuẩn 3 dòng */
.blog-archive #post-list .post-item .from_the_blog_excerpt,
.archive #post-list .post-item .from_the_blog_excerpt,
.category #post-list .post-item .from_the_blog_excerpt,
.blog-wrapper #post-list .post-item .from_the_blog_excerpt {
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  height: calc(1.55em * 3) !important;
  min-height: calc(1.55em * 3) !important;
  max-height: calc(1.55em * 3) !important;
  color: #555d66 !important;
  margin: 0 0 20px 0 !important;
  text-align: left !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* 5.5. Nút "XEM THÊM": Nút dạng viên thuốc bo tròn 50px, màu ngọc bích #18c4b2, căn giữa ở đáy thẻ */
.blog-archive #post-list .post-item .button,
.archive #post-list .post-item .button,
.category #post-list .post-item .button,
.blog-wrapper #post-list .post-item .button,
.box-blog-post .button {
  background-color: #18c4b2 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  padding: 8px 26px !important;
  margin: auto auto 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 10px rgba(24, 196, 178, 0.28) !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  width: auto !important;
  max-width: fit-content !important;
  align-self: center !important;
}

.blog-archive #post-list .post-item .button:hover,
.archive #post-list .post-item .button:hover,
.category #post-list .post-item .button:hover,
.blog-wrapper #post-list .post-item .button:hover,
.box-blog-post .button:hover {
  background-color: #10a89a !important;
  color: #ffffff !important;
  box-shadow: 0 5px 16px rgba(24, 196, 178, 0.45) !important;
  transform: translateY(-2px) !important;
}

/* Đảm bảo text ngày tháng nếu có hiển thị sạch sẽ, không bị đè */
.blog-archive #post-list .post-item .post-meta,
.archive #post-list .post-item .post-meta,
.category #post-list .post-item .post-meta,
.blog-wrapper #post-list .post-item .post-meta {
  position: static !important;
  font-size: 12px !important;
  color: #8c8f94 !important;
  margin-bottom: 8px !important;
  text-align: center !important;
}

/* 5.6. Responsive trên Mobile */
@media only screen and (max-width: 550px) {
  #post-list .post-item .box-text {
    padding: 16px 16px 20px 16px !important;
  }
  #post-list .post-item .post-title {
    font-size: 15px !important;
    line-height: 1.38 !important;
    height: calc(1.38em * 3) !important;
    min-height: calc(1.38em * 3) !important;
    max-height: calc(1.38em * 3) !important;
  }
  #post-list .post-item .from_the_blog_excerpt {
    font-size: 13px !important;
    line-height: 1.5 !important;
    height: calc(1.5em * 3) !important;
    min-height: calc(1.5em * 3) !important;
    max-height: calc(1.5em * 3) !important;
    -webkit-line-clamp: 3 !important;
    margin-bottom: 16px !important;
  }
}

/* 6. Bỏ đường viền phân cách cột của Flatsome (row-divided) */
@media screen and (min-width: 850px) {
  .row-divided > .col + .col:not(.large-12) {
    border-left: none !important;
  }
}

/* ==========================================================================
   7. BÀI VIẾT LIÊN QUAN TRONG BÀI VIẾT (ACF RELATED POSTS / DEV SRP)
   ========================================================================== */

.dev-srp-wrapper {
  margin: 25px 0 !important;
  font-family: inherit !important;
}

/* Label "Xem thêm:" */
.dev-srp-label {
  font-weight: 700 !important;
  color: #006dd6 !important;
  margin-bottom: 10px !important;
  display: block !important;
  line-height: 1.2 !important;
  font-size: 16px !important;
}

/* Box chứa bài viết */
.dev-srp-box {
  background-color: #fafafa !important;
  border-radius: 20px !important;
  padding: 15px !important;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  display: block !important;
  border: 1px solid #f0f0f0 !important;
}

.dev-srp-box:hover {
  background-color: #f0fafa !important;
  box-shadow: 0 4px 15px rgba(0, 109, 214, 0.08) !important;
}

/* Link bao quanh */
.dev-srp-link {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
  color: inherit !important;
}

/* Thumbnail tròn */
.dev-srp-thumb {
  flex-shrink: 0 !important;
  width: 80px !important;
  height: 80px !important;
  margin: 0 20px 0 5px !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  border: 2px solid #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.dev-srp-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 50% !important;
  margin: 0 !important;
  transition: transform 0.35s ease !important;
}

.dev-srp-box:hover .dev-srp-thumb img {
  transform: scale(1.08) !important;
}

/* Nội dung text */
.dev-srp-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 1 !important;
}

/* Tiêu đề bài viết */
.dev-srp-title {
  font-weight: 600 !important;
  color: #111111 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.45 !important;
  font-size: 16px !important;
  transition: color 0.2s ease !important;
}

.dev-srp-box:hover .dev-srp-title {
  color: #006dd6 !important;
}

/* Responsive mobile */
@media (max-width: 480px) {
  .dev-srp-thumb {
    width: 70px !important;
    height: 70px !important;
    margin-left: 0 !important;
    margin-right: 12px !important;
  }
  .dev-srp-title {
    font-size: 14.5px !important;
    line-height: 1.4 !important;
  }
}

/* ==========================================================================
   8. XC FOOTER (UX BUILDER SECTION)
   ========================================================================== */

.xc-footer {
  border-top: 3px solid #1dd9bb !important;
  border-bottom: 4px solid #3b1443 !important;
  background-color: #f8f7ff !important;
  color: #333333 !important;
}

.xc-footer .section-content {
  padding-top: 10px !important;
}

/* 8.1. Widget Titles (Plain bold uppercase, absolutely NO lines, NO border-bottom) */
.xc-footer .widget-title,
.xc-footer .footer-widget-title,
.xc-footer .section-title,
.xc-footer .section-title-container,
.xc-footer .section-title-main {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
}

.xc-footer .widget-title,
.xc-footer .footer-widget-title,
.xc-footer .section-title-main {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  line-height: 1.3 !important;
  text-align: left !important;
  display: block !important;
}

.xc-footer .section-title b,
.xc-footer .section-title:before,
.xc-footer .section-title:after,
.xc-footer .widget-title:before,
.xc-footer .widget-title:after,
.xc-footer .is-divider.small {
  display: none !important;
  content: none !important;
  border: none !important;
  height: 0 !important;
  width: 0 !important;
}

/* 8.2. Column 1: Logos, Badges, Follow, Language */
.xc-footer .row-logo {
  margin-bottom: 6px !important;
}

.xc-footer .row-logo .col {
  padding-bottom: 0 !important;
}

.xc-footer .row-logo img {
  max-height: 48px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.xc-footer .row-dmca-bct {
  margin: 14px 0 10px 0 !important;
  display: flex !important;
  align-items: center !important;
}

.xc-footer .row-dmca-bct .col {
  padding-bottom: 0 !important;
}

.xc-footer .row-dmca-bct .img {
  width: auto !important;
  display: inline-block !important;
}

.xc-footer .row-dmca-bct .img-inner {
  background: transparent !important;
}

.xc-footer .row-dmca-bct img {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 0 !important;
  transition: transform 0.2s ease !important;
}

.xc-footer .row-dmca-bct a:hover img {
  transform: scale(1.05) !important;
}

/* 8.2. Social icons: Plain outline glyphs, strictly NO circle button borders, NO background */
.xc-footer .follow-icons {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-top: 10px !important;
}

.xc-footer .follow-icons a,
.xc-footer .follow-icons a.button,
.xc-footer .follow-icons a.icon,
.xc-footer .social-icons .button.icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #111827 !important;
  font-size: 19px !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.xc-footer .follow-icons a i,
.xc-footer .follow-icons a.button i,
.xc-footer .follow-icons a.icon i {
  color: inherit !important;
  line-height: 1 !important;
  font-size: 19px !important;
}

.xc-footer .follow-icons a:hover,
.xc-footer .follow-icons a.button:hover,
.xc-footer .follow-icons a.icon:hover,
.xc-footer .social-icons .button.icon:hover {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  color: #006dd6 !important;
  transform: translateY(-2px) !important;
}

.xc-footer .follow-icons a:hover i,
.xc-footer .follow-icons a.button:hover i,
.xc-footer .follow-icons a.icon:hover i {
  color: inherit !important;
}

.xc-footer .follow-icons a.facebook:hover {
  color: #1877f2 !important;
}

.xc-footer .follow-icons a.instagram:hover {
  color: #e1306c !important;
}

.xc-footer .follow-icons a.tiktok:hover {
  color: #000000 !important;
}

.xc-footer .follow-icons a.youtube:hover {
  color: #ff0000 !important;
}

/* Language: strictly 1 horizontal row */
.xc-footer .lang-switcher {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 14px !important;
  margin-bottom: 0 !important;
  flex-wrap: nowrap !important;
}

.xc-footer .lang-switcher a {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  transition: transform 0.2s ease !important;
}

.xc-footer .lang-switcher a:hover {
  transform: scale(1.08) !important;
}

.xc-footer .lang-switcher img {
  width: 24px !important;
  height: 16px !important;
  object-fit: cover !important;
  border-radius: 2px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
  display: block !important;
}

/* 8.3. Column 2: Featured Box / Contact Info - STRICTLY OUTLINE, ZERO FILL / MÀU NỀN */
.xc-footer .featured-box {
  margin-bottom: 12px !important;
}

.xc-footer .featured-box .icon-box-img {
  margin-right: 10px !important;
  margin-top: 3px !important;
}

.xc-footer .featured-box .icon,
.xc-footer .featured-box .icon-inner {
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}

.xc-footer .featured-box .icon-box-img svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  fill: none !important;
  stroke: #111827 !important;
  stroke-width: 1.8 !important;
}

.xc-footer .featured-box .icon-box-img svg path,
.xc-footer .featured-box .icon-box-img svg circle,
.xc-footer .featured-box .icon-box-img svg polyline,
.xc-footer .featured-box .icon-box-img svg line,
.xc-footer .featured-box .icon-box-img svg rect,
.xc-footer .featured-box .icon-box-img svg polygon {
  fill: none !important;
  stroke: #111827 !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.xc-footer .featured-box .icon-box-text p {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: #222222 !important;
  margin: 0 !important;
}

.xc-footer .featured-box .icon-box-text strong {
  color: #111827 !important;
  font-weight: 600 !important;
}

/* 8.4. Column 3 & 4: UX Menus (NO line dividers) */
.xc-footer .ux-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.xc-footer .ux-menu-link {
  padding: 3px 0 !important;
  border: none !important;
  border-bottom: none !important;
}

.xc-footer .ux-menu-link a {
  font-size: 13.5px !important;
  color: #333333 !important;
  text-decoration: none !important;
  line-height: 1.6 !important;
  transition: color 0.2s ease !important;
  display: inline-block !important;
}

.xc-footer .ux-menu-link a:hover {
  color: #006dd6 !important;
  padding-left: 0 !important;
}

/* 8.5. Column 4: Fanpage & Map Images */
.xc-footer .banner-fanpage img,
.xc-footer .map-image img {
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  display: block !important;
  width: 100% !important;
}

.xc-footer .banner-fanpage:hover img,
.xc-footer .map-image:hover img {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08) !important;
}

/* 8.6. Row 2: Bottom Legal & Copyright */
.xc-footer .row-footer-bottom {
  margin-top: 10px !important;
}

.xc-footer .row-footer-bottom p {
  margin-bottom: 4px !important;
}

.xc-footer .row-footer-bottom a {
  color: #006dd6 !important;
  text-decoration: none !important;
}

.xc-footer .row-footer-bottom a:hover {
  text-decoration: underline !important;
}

/* 8.7. Responsive Mobile Adjustments */
@media (max-width: 549px) {
  .xc-footer {
    padding-top: 30px !important;
    padding-bottom: 25px !important;
  }
  .xc-footer .row-footer-main > .col {
    margin-bottom: 24px !important;
  }
  .xc-footer .row-logo {
    justify-content: flex-start !important;
  }
  .xc-footer .section-title-container {
    margin-bottom: 12px !important;
  }
}


/* ==========================================================================
   9. BẢNG GIÁ MEDFIT (PRICING PAGE - FLATSOME UX) - NATIVE-FIRST ACCURACY
   ========================================================================== */

/* Brand & Utility Colors */
.medfit-color-blue {
  color: #006dd6 !important;
}
.medfit-color-teal {
  color: #1dd9bb !important;
}
.medfit-color-pink {
  color: #e00072 !important;
}
.medfit-bold {
  font-weight: 700 !important;
}

/* 9.1 Hero Banner */
.medfit-hero-section {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
}
.medfit-hero-title {
  color: #006dd6 !important;
  font-size: 54px !important;
  font-weight: 700 !important;
  font-family: Verdana, Helvetica, Arial, sans-serif !important;
  margin-bottom: 6px !important;
  line-height: 1.1 !important;
  text-align: left !important;
}
.medfit-hero-subtitle {
  color: #006dd6 !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  margin-bottom: 0 !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

/* 9.2 Section Headers (H2) */
.medfit-section-header {
  text-align: center;
  margin-bottom: 25px;
}
.medfit-section-title {
  color: #006dd6 !important;
  font-size: 25px !important;
  font-weight: 600 !important;
  font-family: Verdana, Helvetica, Arial, sans-serif !important;
  line-height: 1.3 !important;
  text-align: center !important;
  margin: 0 !important;
}
.medfit-title-divider {
  width: 240px;
  height: 2px;
  background-color: #e00072;
  margin: 12px auto 35px auto;
}

/* 9.3 Module / Package Titles (H3) */
.medfit-table-group {
  margin-bottom: 30px !important;
}
.medfit-group-title {
  color: #000000 !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  font-family: Verdana, Helvetica, Arial, sans-serif !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

/* 9.4 Banner Frames */
.medfit-banner-row {
  margin-top: 25px !important;
  margin-bottom: 35px !important;
}
.medfit-banner-frame {
  border: 2px solid #1dd9bb;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.medfit-banner-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 217, 187, 0.2);
}
.medfit-banner-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* 9.5 Tables */
.medfit-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 109, 214, 0.04);
  background: #ffffff;
}
.medfit-price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0 !important;
  font-size: 18px !important;
  background-color: #ffffff;
}
.medfit-price-table thead tr {
  background: linear-gradient(90deg, #0076ce 0%, #1cd8bb 100%) !important;
}
.medfit-price-table th {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  padding: 16px 15px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
  vertical-align: middle !important;
  background: transparent !important;
}
.medfit-price-table th:last-child {
  border-right: none !important;
}
.medfit-price-table td {
  padding: 15px !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
  color: #22323d !important;
  border-bottom: 1px solid #eef2f6 !important;
  border-right: 1px solid #eef2f6 !important;
  border-top: none !important;
  border-left: none !important;
  vertical-align: middle !important;
}
.medfit-price-table td:last-child {
  border-right: none !important;
}
.medfit-price-table tbody tr:nth-child(even) td {
  background-color: #fbfbfb;
}
.medfit-price-table tbody tr:nth-child(odd) td {
  background-color: #ffffff;
}
.medfit-price-table tbody tr:hover td {
  background-color: #f4f9fd !important;
}
.medfit-price-table td a,
.medfit-price-table td .medfit-service-link {
  color: #111111 !important;
  text-decoration: underline !important;
  font-size: 18px !important;
  font-weight: 400 !important;
}
.medfit-price-table td a:hover,
.medfit-price-table td .medfit-service-link:hover {
  color: #006dd6 !important;
}

/* Badges & Inline Elements */
.medfit-badge-free {
  background-color: #1dd9bb !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 2px 9px !important;
  border-radius: 20px !important;
  display: inline-block !important;
  margin: 0 4px !important;
}
.medfit-discount-tag {
  background-color: #1dd9bb !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 2px 7px !important;
  border-radius: 12px !important;
  display: inline-block !important;
  margin-right: 6px !important;
}
.medfit-strike-price {
  color: #e00072 !important;
  text-decoration: line-through #e00072 2px !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  margin-right: 4px !important;
}
.medfit-icon-x {
  color: #e00072 !important;
  font-weight: 700 !important;
  font-size: 18px !important;
}
.medfit-duration {
  color: #64748b;
  font-size: 16px;
}
.medfit-gift {
  color: #22323d;
  font-size: 18px;
}
.medfit-highlight {
  color: #1dd9bb;
  font-weight: 600;
}
.medfit-subtext {
  font-size: 15px;
  color: #64748b;
  font-style: italic;
  margin-top: 4px;
  font-weight: 400;
}
.medfit-table-footnote {
  font-size: 14px;
  color: #666666;
  font-style: italic;
  margin-top: 8px;
  margin-bottom: 25px;
}

/* 9.6 Voucher Sections */
.medfit-voucher-section {
  padding: 40px 0;
  background-color: #ffffff;
}
.medfit-voucher-row {
  margin-bottom: 15px;
}
.medfit-voucher-frame {
  border: 2px solid #1dd9bb;
  border-radius: 20px;
  overflow: hidden;
  display: inline-block;
  max-width: 360px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.medfit-voucher-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.medfit-voucher-content {
  padding: 0 20px;
}
.medfit-voucher-heading {
  font-size: 24px !important;
  font-weight: 600 !important;
  font-family: Verdana, Helvetica, Arial, sans-serif !important;
  color: #000000 !important;
  text-align: center !important;
  margin-bottom: 24px !important;
  line-height: 1.4 !important;
}
.medfit-voucher-footnote {
  font-size: 16px !important;
  color: #22323d !important;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  text-align: center !important;
}

/* Voucher CF7 Form */
.medfit-cf7-flat .form-row {
  margin-bottom: 12px;
}
.medfit-cf7-flat .medfit-input {
  width: 100% !important;
  height: 50px !important;
  border: 1.5px solid #d9e8f5 !important;
  border-radius: 10px !important;
  padding: 0 16px !important;
  font-size: 16px !important;
  color: #006dd6 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 109, 214, 0.04) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  margin-bottom: 0 !important;
}
.medfit-cf7-flat .medfit-input:focus {
  border-color: #006dd6 !important;
  box-shadow: 0 0 0 3px rgba(0, 109, 214, 0.15) !important;
  outline: none !important;
}
.medfit-cf7-flat .submit-row .medfit-submit-btn {
  width: 100% !important;
  height: 50px !important;
  background: linear-gradient(90deg, #006dd6 0%, #1dd9bb 100%) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  padding: 0 25px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 0 6px 18px rgba(0, 109, 214, 0.2) !important;
  margin-top: 4px !important;
}
.medfit-cf7-flat .submit-row .medfit-submit-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* 9.7 Booking Sections (MedFit & RejuvLab) */
.medfit-booking-row {
  margin-top: 30px !important;
  margin-bottom: 45px !important;
}
.medfit-booking-intro {
  padding-right: 25px;
}
.medfit-booking-heading {
  font-size: 20px !important;
  line-height: 1.5 !important;
  color: #22323d !important;
  margin-top: 15px !important;
}
.medfit-booking-form-wrap {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

/* Booking CF7 Inputs */
.medfit-cf7-booking .form-row {
  margin-bottom: 12px;
}
.medfit-cf7-booking .medfit-booking-input {
  width: 100% !important;
  height: 44px !important;
  border: 1px solid #cccccc !important;
  border-radius: 20px !important;
  padding: 0 18px !important;
  font-size: 16px !important;
  color: #22323d !important;
  background: #ffffff !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  transition: border-color 0.2s ease !important;
}
.medfit-cf7-booking .medfit-booking-textarea {
  width: 100% !important;
  height: 85px !important;
  border: 1px solid #cccccc !important;
  border-radius: 20px !important;
  padding: 12px 18px !important;
  font-size: 16px !important;
  color: #22323d !important;
  background: #ffffff !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  resize: vertical;
}
.medfit-cf7-booking .medfit-booking-input:focus,
.medfit-cf7-booking .medfit-booking-textarea:focus {
  border-color: #1dd9bb !important;
  outline: none !important;
}
.medfit-cf7-booking .radio-row .wpcf7-list-item {
  display: block;
  margin: 6px 0 !important;
}
.medfit-cf7-booking .radio-row label {
  font-size: 16px !important;
  color: #22323d !important;
  font-weight: 400 !important;
  cursor: pointer;
}
.medfit-cf7-booking .submit-row .medfit-booking-submit {
  width: 100% !important;
  height: 44px !important;
  background: #1dd9bb !important;
  border: none !important;
  border-radius: 100px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 0 30px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: none !important;
  margin-top: 6px !important;
}
.medfit-cf7-booking .submit-row .medfit-booking-submit:hover {
  background-color: #16be9f !important;
  transform: translateY(-1px);
}

/* Commitment Pill Badge */
.medfit-commitment-pill {
  max-width: 650px;
  margin: 15px auto 25px auto;
  padding: 10px 30px;
  border: 2px solid #ffab5e;
  border-radius: 50px;
  background: #ffffff url('/wp-content/uploads/2026/10/box-background.webp') no-repeat center center / cover;
  text-align: center;
  font-size: 18px;
  color: #22323d;
  box-sizing: border-box;
}
.medfit-commitment-pill p {
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* 25tr Banner */
.medfit-banner-25tr {
  max-width: 750px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}
.medfit-banner-25tr img,
.medfit-banner-25tr .ux-image-inner img {
  max-width: 750px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  border-radius: 20px !important;
}

/* Disclaimers under treatments */
.medfit-disclaimers {
  text-align: center;
  padding: 15px 15px 15px 15px;
  max-width: 900px;
  margin: 0 auto;
}
.medfit-disclaimers p {
  font-size: 19.8px !important;
  font-weight: 400 !important;
  color: #22323d !important;
  margin-bottom: 8px !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

/* 9.8 Responsive Rules */
@media (max-width: 767px) {
  .medfit-hero-title {
    font-size: 32px !important;
  }
  .medfit-hero-subtitle {
    font-size: 16px !important;
  }
  .medfit-section-title {
    font-size: 20px !important;
  }
  .medfit-title-divider {
    width: 160px;
    margin-bottom: 25px;
  }
  .medfit-group-title {
    font-size: 18px !important;
  }
  .medfit-voucher-heading {
    font-size: 19px !important;
  }
  .medfit-voucher-content {
    padding: 20px 0 0 0;
  }
  .medfit-booking-intro {
    padding-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }
  .medfit-price-table th,
  .medfit-price-table td {
    padding: 10px 12px !important;
    font-size: 15px !important;
  }
}

/* ==========================================================================
   10. LIÊN HỆ MEDFIT (CONTACT PAGE - FLATSOME UX) - NATIVE-FIRST ACCURACY
   ========================================================================== */

/* 10.1 Hero Section */
.medfit-contact-hero {
  position: relative !important;
  height: 400px !important;
  min-height: 400px !important;
  overflow: hidden;
  background-color: #f7f9fa;
  padding: 100px 50px 0px !important;
}
.medfit-contact-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgba(0, 0, 0, 0) 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}
.medfit-contact-hero-row {
  height: 100% !important;
  min-height: 400px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  align-items: center !important;
  position: relative !important;
  z-index: 2 !important;
}
.medfit-contact-hero-title-col {
  padding-left: 35px !important;
}
.medfit-contact-hero-title {
  color: #006dd6 !important;
  font-size: 54px !important;
  font-weight: 700 !important;
  font-family: Verdana, Helvetica, Arial, sans-serif !important;
  line-height: 1.1 !important;
  margin: 0 0 15px 0 !important;
  text-align: left !important;
}
.medfit-contact-hero-img-col {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-end !important;
  height: 100% !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.medfit-contact-hero-img-col .img-inner {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
}
.medfit-contact-hero-img-col img {
  max-height: 250px !important;
  width: auto !important;
  display: block !important;
  margin-bottom: 0 !important;
}

/* 10.2 Contact Content Section */
.medfit-contact-content {
  padding-top: 50px !important;
  padding-bottom: 30px !important;
  background-color: #ffffff;
}
.medfit-contact-row-main {
  max-width: 1200px !important;
  margin: 0 auto 25px auto !important;
}
.medfit-contact-h2 {
  color: #006dd6 !important;
  font-size: 25px !important;
  font-weight: 600 !important;
  font-family: Verdana, Helvetica, Arial, sans-serif !important;
  line-height: 1.3 !important;
  margin: 0 0 12px 0 !important;
  text-align: left !important;
}
.medfit-contact-divider {
  width: 108px;
  height: 0;
  border-top: 4px solid #ffab5e;
  margin-bottom: 25px;
}

/* Info List */
.medfit-info-list {
  list-style: none !important;
  margin: 0 0 25px 0 !important;
  padding: 0 !important;
}
.medfit-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.6;
  color: #22323d;
}
.medfit-info-icon {
  color: #ffab5e !important;
  font-size: 14px !important;
  width: 22px;
  min-width: 22px;
  text-align: center;
  margin-right: 12px;
}
.medfit-info-item a {
  color: #22323d;
  text-decoration: none;
  transition: color 0.2s ease;
}
.medfit-info-item a:hover {
  color: #006dd6;
}

/* Map Image */
.medfit-contact-map {
  margin-top: 15px;
  border-radius: 6px;
  overflow: hidden;
  max-width: 540px;
}
.medfit-contact-map img {
  border-radius: 6px;
  display: block;
  width: 100%;
  height: auto;
}

/* 10.3 Booking Card & Form (Right Column) */
.medfit-booking-card {
  background: #ffffff;
  padding: 50px !important;
  border-radius: 12px !important;
  box-shadow: 5px 5px 50px 10px #f0f0f0 !important;
  box-sizing: border-box;
}
.medfit-booking-h3 {
  color: #000000 !important;
  font-size: 25px !important;
  font-weight: 600 !important;
  font-family: Verdana, Helvetica, Arial, sans-serif !important;
  line-height: 1.3 !important;
  margin: 0 0 15px 0 !important;
  text-align: left !important;
}
.medfit-booking-sub {
  font-size: 18px !important;
  line-height: 1.85 !important;
  color: #22323d !important;
  margin-bottom: 20px !important;
  text-align: justify !important;
}
.medfit-cf7-contact {
  width: 100%;
}
.medfit-cf7-contact .form-row {
  margin-bottom: 12px;
}
.medfit-contact-input,
.medfit-contact-textarea {
  width: 100% !important;
  border: 1px solid #cccccc !important;
  border-radius: 20px !important;
  padding: 10px 18px !important;
  font-size: 16px !important;
  color: #22323d !important;
  background: #ffffff !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease !important;
  box-sizing: border-box !important;
}
.medfit-contact-input:focus,
.medfit-contact-textarea:focus {
  border-color: #006dd6 !important;
  outline: none !important;
}
.medfit-contact-textarea {
  height: 105px !important;
  resize: vertical !important;
  border-radius: 16px !important;
  font-family: inherit !important;
}
.medfit-cf7-contact .radio-row {
  margin: 15px 0 20px 0;
}
.medfit-cf7-contact .wpcf7-list-item {
  display: block !important;
  margin: 8px 0 !important;
  font-size: 16px;
  color: #22323d;
}
.medfit-cf7-contact .wpcf7-list-item input[type="radio"] {
  margin-right: 8px;
  vertical-align: middle;
}
.medfit-contact-submit {
  width: 100% !important;
  height: 48px !important;
  background-color: #1dd9bb !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 100px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
  letter-spacing: 0.5px !important;
  margin-top: 10px !important;
}
.medfit-contact-submit:hover {
  background-color: #16be9f !important;
  transform: translateY(-1px);
}

/* 10.4 Operating Hours & Social Row */
.medfit-contact-row-bottom {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 10px 0 0 0 !important;
}
.medfit-contact-h3 {
  color: #000000 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  font-family: Verdana, Helvetica, Arial, sans-serif !important;
  line-height: 1.3 !important;
  margin: 0 0 14px 0 !important;
  text-align: left !important;
}
.medfit-hours-text {
  font-size: 18px;
  line-height: 1.85;
  color: #22323d;
  text-align: justify;
}
.medfit-hours-text p {
  margin-bottom: 8px !important;
}

/* Social Icons */
.medfit-social-icons {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 15px;
}
.medfit-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-size: 35px !important;
  line-height: 1 !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.medfit-social-link:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
.medfit-social-link.facebook { color: #006dd6 !important; }
.medfit-social-link.tiktok { color: #000000 !important; }
.medfit-social-link.instagram { color: #e00072 !important; }
.medfit-social-link.youtube { color: #ea1c0a !important; }

/* 10.5 Bottom CTA Banner */
.medfit-contact-cta {
  padding: 0 0 40px 0 !important;
  background-color: #ffffff;
}
.medfit-contact-cta-row {
  max-width: 1200px !important;
  margin: 0 auto 20px auto !important;
  padding: 0 20px !important;
}
.medfit-contact-banner-frame {
  border: 1px solid #1dd9bb;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.medfit-contact-banner-frame img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 19px;
}

/* 10.6 Responsive Rules for Lien He */
@media (max-width: 767px) {
  .medfit-contact-hero {
    height: 250px !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .medfit-contact-hero-row {
    height: 100% !important;
    min-height: 250px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .medfit-contact-hero-title-col {
    padding: 0 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .medfit-contact-hero-title {
    font-size: 34px !important;
    text-align: center !important;
    padding-left: 0 !important;
    margin: 0 !important;
  }
  .medfit-contact-hero-img-col {
    display: none !important;
  }

  /* Mobile Column Reordering: Form First, then Map & Info */
  .medfit-contact-row-main {
    display: flex !important;
    flex-direction: column-reverse !important;
  }
  .medfit-booking-card-col {
    margin-bottom: 35px !important;
  }
  .medfit-booking-card {
    padding: 30px 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
  }
  .medfit-contact-h2,
  .medfit-booking-h3 {
    font-size: 21px !important;
  }
  .medfit-hours-text,
  .medfit-booking-sub,
  .medfit-info-item {
    font-size: 16px !important;
  }
  .medfit-contact-divider {
    margin-bottom: 20px;
  }
  .medfit-social-icons {
    justify-content: flex-start;
  }
  .medfit-contact-banner-frame {
    border-radius: 16px !important;
  }
  .medfit-contact-banner-frame img {
    border-radius: 15px !important;
  }
}

/* ==========================================================================
   11. VỀ CHÚNG TÔI MEDFIT (ABOUT US - FLATSOME UX) - ZERO-DIV NATIVE
   ========================================================================== */

/* 11.1 Hero Section */
.medfit-about-hero {
  position: relative !important;
  min-height: 400px !important;
  border-bottom-right-radius: 75px !important;
  overflow: hidden !important;
  padding: 0 !important;
  background-color: transparent !important;
}
.medfit-about-hero .section-bg {
  border-bottom-right-radius: 75px !important;
  overflow: hidden !important;
}
.medfit-about-hero .section-bg img {
  height: 100% !important;
  max-width: none !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.medfit-about-hero-row {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  min-height: 400px !important;
  align-items: flex-end !important;
}
.medfit-about-hero-title-col {
  padding-bottom: 75px !important;
  padding-left: 15px !important;
}
.medfit-about-hero-title {
  color: #006dd6 !important;
  font-size: 50px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  text-align: left !important;
}
.medfit-about-hero-img-col {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-end !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.medfit-about-hero-img-col .img-inner {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
}
.medfit-about-hero-img-col img {
  max-width: 650px !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin-bottom: 0 !important;
}

/* 11.2 Native Swoosh Heading Capsule */
.medfit-swoosh-section {
  background: #ffffff;
}
.medfit-swoosh-box {
  max-width: 1054px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  border-left: 2px solid #1dd9bb !important;
  border-bottom: 5px solid #1dd9bb !important;
  box-shadow: -2px 5px 0px 0px #006dd6 !important;
  border-radius: 50px !important;
  background: #ffffff !important;
  padding: 10px 24px !important;
  display: flex !important;
  align-items: center !important;
}
.medfit-swoosh-box .col {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.medfit-swoosh-heading {
  color: #006dd6 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  text-align: center !important;
}
.medfit-swoosh-box .ux_image,
.medfit-swoosh-box img {
  display: block !important;
  margin: 0 0 0 auto !important;
  width: 60px !important;
  height: auto !important;
}

/* 11.3 Intro Sections (MedFit & RejuvLab) */
.medfit-intro-section,
.medfit-rejuvlab-section {
  background: #ffffff;
}
.medfit-intro-row {
  max-width: 1200px !important;
  margin: 0 auto !important;
  align-items: stretch !important;
}
.medfit-video-col {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.medfit-video-col .video-overlay,
.medfit-video-col iframe {
  border-radius: 16px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}
.medfit-gradient-card-col {
  background: linear-gradient(90deg, #1dd9bb 0%, #006dd6 100%) !important;
  border-radius: 20px !important;
  padding: 24px 30px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
.medfit-gradient-card-col p {
  font-size: 17px !important;
  line-height: 1.75 !important;
  color: #ffffff !important;
  text-align: justify !important;
  margin-bottom: 14px !important;
}
.medfit-gradient-card-col p:last-child {
  margin-bottom: 0 !important;
}

/* 11.4 Triết lý giảm cân */
.medfit-trietly-section {
  background: #ffffff;
}
.medfit-trietly-row {
  max-width: 1200px !important;
  margin: 0 auto !important;
}
.medfit-trietly-col p {
  font-size: 18px !important;
  line-height: 1.85 !important;
  color: #22323d !important;
  text-align: justify !important;
  margin-bottom: 16px !important;
}
.medfit-trietly-col p:last-child {
  margin-bottom: 0 !important;
}

/* 11.5 Tầm nhìn & Sứ mệnh */
.medfit-vision-section {
  background: #ffffff;
}
.medfit-vision-row {
  max-width: 1200px !important;
  margin: 0 auto 20px auto !important;
  align-items: center !important;
}
.medfit-vision-heading {
  color: #006dd6 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  text-align: left !important;
}
.medfit-vision-desc {
  border-left: 2px solid #22323d !important;
  padding-left: 40px !important;
}
.medfit-vision-desc p {
  font-size: 18px !important;
  line-height: 1.85 !important;
  color: #22323d !important;
  text-align: justify !important;
  margin: 0 !important;
}

/* 11.6 RejuvLab Banner Row */
.medfit-rejuvlab-banner-row {
  max-width: 1200px !important;
  margin: 30px auto 0 auto !important;
  align-items: center !important;
}
.medfit-rejuvlab-banner-row .col:first-child {
  padding-right: 25px !important;
  text-align: center !important;
}
.medfit-rejuvlab-banner-row .col:first-child img {
  max-width: 200px !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}
.medfit-rejuvlab-banner-row .col:last-child {
  padding-left: 25px !important;
}
.medfit-rejuvlab-banner-row p {
  font-size: 18px !important;
  line-height: 1.85 !important;
  color: #22323d !important;
  text-align: justify !important;
  margin-bottom: 12px !important;
}
.medfit-rejuvlab-banner-row p:last-child {
  margin-bottom: 0 !important;
}

/* 11.7 Đội ngũ Bác sĩ & Chuyên viên dinh dưỡng */
.medfit-team-section,
.medfit-cndd-section {
  background: #ffffff;
}
.medfit-team-grid {
  max-width: 1200px !important;
  margin: 0 auto !important;
}
@media (min-width: 850px) {
  .medfit-team-section .medfit-team-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  .medfit-team-section .medfit-team-grid > .col {
    flex: 0 0 20% !important;
    max-width: 20% !important;
    width: 20% !important;
  }
}
.medfit-team-member {
  padding: 0 10px 20px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
.medfit-team-photo {
  margin: 0 auto 12px auto !important;
}
.medfit-team-photo img {
  border-radius: 8px !important;
  width: 100% !important;
  height: 244px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto !important;
}
.medfit-cndd-section .medfit-team-photo img {
  height: 266px !important;
}
.medfit-team-role {
  color: #1dd9bb !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 6px !important;
  text-align: center !important;
}
.medfit-team-name {
  color: #006dd6 !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 12px 0 !important;
  text-align: center !important;
}
.medfit-team-name.cndd-name {
  font-size: 23px !important;
}
.medfit-team-bio {
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  color: #22323d !important;
  text-align: justify !important;
  margin-bottom: 10px !important;
}
.medfit-team-bio:last-child {
  margin-bottom: 0 !important;
}

/* 11.8 Báo chí nói về chúng tôi (Press List) */
.medfit-about-press {
  background: #ffffff;
}
.medfit-about-press-row {
  max-width: 1200px !important;
  margin: 0 auto !important;
}
.medfit-press-list-col {
  padding-left: 30px !important;
}
.medfit-press-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 12px 0 0 !important;
  max-height: 560px !important;
  overflow-y: auto !important;
}
.medfit-press-list::-webkit-scrollbar {
  width: 6px;
}
.medfit-press-list::-webkit-scrollbar-track {
  background: transparent;
}
.medfit-press-list::-webkit-scrollbar-thumb {
  background: rgba(29, 217, 187, 0.6);
  border-radius: 10px;
}
.medfit-press-item {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid rgba(29, 217, 187, 0.8) !important;
  margin-bottom: 0 !important;
}
.medfit-press-item:first-child {
  padding-top: 0 !important;
}
.medfit-press-thumb-link {
  flex: 0 0 220px !important;
  width: 220px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  display: block !important;
}
.medfit-press-thumb-link img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  transition: transform 0.35s ease, filter 0.35s ease !important;
}
.medfit-press-thumb-link:hover img {
  transform: scale(1.05) !important;
  filter: brightness(1.03) !important;
}
.medfit-press-item-content {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}
.medfit-press-item-title {
  margin: 0 0 6px 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #22323d !important;
}
.medfit-press-item-desc {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #333333 !important;
  text-align: justify !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.medfit-press-item-more {
  display: inline-block !important;
  margin-top: 8px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #006dd6 !important;
  text-decoration: none !important;
}
.medfit-press-item-more:hover {
  text-decoration: underline !important;
}

/* 11.9 Responsive Rules for About Us */
@media (max-width: 767px) {
  .medfit-about-hero {
    min-height: 250px !important;
  }
  .medfit-about-hero-row {
    min-height: 250px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .medfit-about-hero-title-col {
    padding: 0 !important;
    text-align: center !important;
  }
  .medfit-about-hero-title {
    font-size: 34px !important;
    text-align: center !important;
  }
  .medfit-swoosh-heading {
    font-size: 18px !important;
  }
  .medfit-vision-desc {
    border-left: none !important;
    border-top: 2px solid #22323d !important;
    padding-left: 0 !important;
    padding-top: 15px !important;
  }
  .medfit-rejuvlab-banner-row {
    text-align: center !important;
  }
  .medfit-team-grid .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .medfit-press-item {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .medfit-press-thumb-link {
    width: 100% !important;
    flex: 0 0 auto !important;
  }
  .medfit-press-list-col {
    padding-left: 0 !important;
    margin-top: 20px !important;
  }
}

/* ==========================================================================
   12. TRANG GIẢM CÂN MEDFIT (GIAM-CAN)
   ========================================================================== */
.medfit-badge-accent {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.medfit-gc-hero-title {
  font-size: 42px;
  font-weight: 800;
  color: #006655;
  line-height: 1.2;
  margin-bottom: 12px;
}

.medfit-gc-hero-subtitle {
  font-size: 18px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 24px;
}

.medfit-gc-hero-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.medfit-gc-point {
  font-size: 15px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.medfit-gc-point i {
  color: #006655;
  font-size: 16px;
  font-weight: 700;
}

.medfit-hero-img-rounded img {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 102, 85, 0.08);
}

/* Target Section */
.medfit-target-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  height: 100%;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.medfit-target-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.medfit-target-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #e6f4f1;
  color: #006655;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.medfit-target-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #006655;
  margin-bottom: 10px;
}

.medfit-target-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Stories Section */
.medfit-story-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.medfit-story-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.medfit-story-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.medfit-story-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: #006655;
  line-height: 1.4;
  margin-bottom: 10px;
}

.medfit-story-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 15px;
}

.medfit-story-stat {
  display: flex;
  gap: 10px;
}

.medfit-story-stat span {
  background: #f0fdf4;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid #bbf7d0;
}

/* Myths Section */
.medfit-myth-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border-left: 4px solid #ef4444;
}

.medfit-myth-bad {
  color: #dc2626;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.medfit-myth-good {
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
}

/* Pillars Section */
.medfit-pillar-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 22px;
  height: 100%;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.medfit-pillar-card:hover {
  transform: translateY(-4px);
  border-color: #006655;
}

.medfit-pillar-num {
  font-size: 38px;
  font-weight: 900;
  color: #006655;
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 5px;
}

.medfit-pillar-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #006655;
  margin-bottom: 12px;
}

.medfit-pillar-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 8 Steps Section */
.medfit-step-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.medfit-step-card img {
  border-radius: 8px;
  height: 140px;
  width: 100%;
  object-fit: cover;
}

.medfit-step-num {
  background: #006655;
  color: #ffffff;
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin: 12px 0 8px 0;
}

.medfit-step-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .medfit-gc-hero-title {
    font-size: 28px;
  }
  .medfit-gc-hero-subtitle {
    font-size: 16px;
  }
  .medfit-story-card img {
    height: 180px;
  }
}

/* ==========================================================================
   13. TRANG BÁC SĨ CHUYÊN KHOA MEDFIT (DOCTOR TEMPLATE)
   ========================================================================== */
.doctor-degree-badge {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.doctor-name-title {
  font-size: 38px;
  font-weight: 800;
  color: #006655;
  line-height: 1.2;
  margin-bottom: 16px;
}

.doctor-intro-p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 25px;
}

.doctor-portrait-frame {
  max-width: 380px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 102, 85, 0.12);
  margin: 0 auto;
}

.doctor-portrait-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.doctor-card-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  height: 100%;
}

.doctor-card-header {
  font-size: 18px;
  font-weight: 700;
  color: #006655;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.doctor-card-header i {
  color: #006655;
}

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

.doctor-list li {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.doctor-list li i {
  color: #006655;
  margin-top: 3px;
  font-size: 12px;
}

.doctor-specialty-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 15px;
  border-left: 4px solid #006655;
  height: calc(100% - 15px);
}

.doctor-spec-num {
  font-size: 22px;
  font-weight: 800;
  color: #006655;
  opacity: 0.7;
  flex: 0 0 auto;
}

.doctor-spec-text {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.doctor-book-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 15px;
  height: calc(100% - 15px);
}

.doctor-book-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e6f4f1;
  color: #006655;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: 0 0 auto;
}

.doctor-book-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #006655;
  margin-bottom: 4px;
}

.doctor-book-card p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 0;
}

.doctor-gallery-thumb {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.doctor-gallery-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.doctor-gallery-thumb:hover img {
  transform: scale(1.05);
}

@media (max-width: 849px) {
  .doctor-name-title {
    font-size: 26px;
  }
  .doctor-card-box {
    padding: 20px;
  }
  .doctor-portrait-frame {
    margin-bottom: 25px;
  }
}

/* ==========================================================================
   14. TRANG GIẢM MỠ CÔNG NGHỆ CAO (GIAM-MO)
   ========================================================================== */
.medfit-compare-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.medfit-compare-card.medfit-compare-highlight {
  border-color: #006655;
  box-shadow: 0 8px 25px rgba(0, 102, 85, 0.08);
}

.medfit-compare-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.medfit-compare-content {
  padding: 24px;
  flex: 1;
}

.medfit-compare-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #006655;
  margin-bottom: 12px;
}

.medfit-compare-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
}

.medfit-compare-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.medfit-compare-content ul li {
  font-size: 14px;
  color: #334155;
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.medfit-compare-content ul li i {
  color: #006655;
  margin-top: 3px;
}

.medfit-tech-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.medfit-tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.medfit-tech-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.medfit-tech-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.medfit-tech-badge {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
}

.medfit-tech-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: #006655;
  margin-bottom: 8px;
}

.medfit-tech-body p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ==========================================================================
   15. TRANG THẨM MỸ DA REJUVLAB (THAM-MY-DA)
   ========================================================================== */
.rejuv-badge-gold {
  background: #fef3c7;
  color: #92400e;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.rejuv-hero-title {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.rejuv-hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 24px;
}

.rejuv-hero-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.rejuv-point {
  font-size: 15px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.rejuv-point i {
  color: #34d399;
  font-size: 16px;
  font-weight: 700;
}

.rejuv-hero-img img {
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.rejuv-service-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rejuv-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.rejuv-service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.rejuv-service-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rejuv-badge-pill {
  font-size: 11px;
  font-weight: 700;
  color: #006655;
  background: #e6f4f1;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
}

.rejuv-service-body h4 {
  font-size: 18px;
  font-weight: 700;
  color: #006655;
  margin-bottom: 8px;
}

.rejuv-service-body p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 15px;
}

@media (max-width: 849px) {
  .rejuv-hero-title {
    font-size: 28px;
  }
  .rejuv-hero-subtitle {
    font-size: 15px;
  }
}

/* ==========================================================================
   16. TRANG DINH DƯỠNG VẬN ĐỘNG (DINH-DUONG-VAN-DONG)
   ========================================================================== */
.ddvd-feat-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ddvd-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.ddvd-feat-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.ddvd-feat-body {
  padding: 22px;
  flex: 1;
}

.ddvd-feat-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: #006655;
  margin-bottom: 8px;
}

.ddvd-feat-body p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   17. TRANG ĐỘI NGŨ CHUYÊN GIA DINH DƯỠNG (DOI-NGU-CHUYEN-GIA-DINH-DUONG)
   ========================================================================== */
.cndd-profile-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cndd-profile-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.cndd-profile-top {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.cndd-avatar img {
  border-radius: 50%;
  width: 110px;
  height: 110px;
  object-fit: cover;
  border: 3px solid #e6f4f1;
}

.cndd-badge {
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 6px;
}

.cndd-profile-top h3 {
  font-size: 20px;
  font-weight: 700;
  color: #006655;
  margin-bottom: 4px;
}

.cndd-univ {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 0;
}

.cndd-profile-body p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}

.cndd-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cndd-highlights li {
  font-size: 13px;
  color: #334155;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.cndd-highlights li i {
  color: #006655;
  margin-top: 3px;
}

/* ==========================================================================
   18. TRANG SỰ KIỆN TRỰC TUYẾN (SU-KIEN-TRUC-TUYEN)
   ========================================================================== */
.event-info-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  margin-bottom: 24px;
}

.event-info-item {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 14px;
}

.event-info-item:last-child {
  margin-bottom: 0;
}

.event-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e6f4f1;
  color: #006655;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: 0 0 auto;
}

.event-info-item strong {
  font-size: 14px;
  color: #1e293b;
  display: block;
}

.event-info-item p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.event-banner-wrap img {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 102, 85, 0.12);
}

.event-agenda-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-agenda-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.event-agenda-time {
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 14px;
}

.event-agenda-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #006655;
  line-height: 1.4;
  margin-bottom: 10px;
}

.event-agenda-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
}

.past-event-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  height: 100%;
  border-left: 4px solid #006655;
}

.past-event-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 8px;
}

.past-event-card p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}

.past-event-date {
  font-size: 12px;
  color: #006655;
  font-weight: 600;
}

/* ==========================================================================
   19. CÔNG CỤ TÍNH TDEE, BMI, BMR (PAGE: tinh-tdee-bmi-bmr)
   ========================================================================== */
.tdee-title-sec {
  background-color: #fafafa !important;
  padding: 20px 0 !important;
}
.tdee-banner-sec {
  padding-top: 5px !important;
}
.tdee-main-heading {
  color: #006dd6 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  font-family: Verdana, Helvetica, Arial, sans-serif !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

.tdee-card-outer {
  background: #ffffff;
  border-radius: 40px;
  border: 2px solid #1dd9bb;
  border-bottom: 5px solid #1dd9bb;
  box-shadow: -2px 5px 0px 0px #006dd6;
  padding: 30px 40px;
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.tdee-card-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -15px;
}

.tdee-multimodal-icon {
  width: 100px;
  height: auto;
}

.tdee-calc-form {
  width: 100%;
}
.tdee-calc-form br {
  display: none !important;
}

.tdee-calc-form .row-one,
.tdee-calc-form .row-two {
  padding: 10px 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tdee-calc-form .text {
  font-weight: 600;
  color: #22323d;
  margin: 0;
  font-size: 15px;
}

.tdee-calc-form .text-input {
  width: 75px !important;
  height: 38px !important;
  border: 1px solid #ccd5df !important;
  border-radius: 8px !important;
  text-align: center !important;
  font-size: 15px !important;
  padding: 4px 8px !important;
  outline: none !important;
  background: #ffffff !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.tdee-calc-form .text-input:focus {
  border-color: #006dd6 !important;
}

.tdee-calc-form select#activity,
.tdee-calc-form select#exerciseIntensity {
  width: 100% !important;
  max-width: 620px !important;
  height: 42px !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  border: 1px solid #ccd5df !important;
  font-size: 14px !important;
  color: #22323d !important;
  outline: none !important;
  background: #ffffff !important;
  margin: 0 !important;
}

.tdee-calc-form select#activity:focus,
.tdee-calc-form select#exerciseIntensity:focus {
  border-color: #006dd6 !important;
}

.tdee-calc-form label.container,
.tdee-calc-form .container {
  display: inline-flex !important;
  width: auto !important;
  align-items: center !important;
  position: relative !important;
  padding-left: 28px !important;
  cursor: pointer !important;
  user-select: none !important;
  margin-right: 15px !important;
  margin-bottom: 0 !important;
}

.tdee-calc-form .container input {
  position: absolute;
  opacity: 0;
}

.tdee-calc-form .checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: #fafafa;
  border: 1px solid #ccd5df;
  border-radius: 50%;
}

.tdee-calc-form .container input:checked ~ .checkmark {
  background-color: #006dd6;
  border-color: #006dd6;
}

.tdee-calc-form .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.tdee-calc-form .container input:checked ~ .checkmark:after {
  display: block;
}

.tdee-calc-form .container .checkmark:after {
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.tdee-calc-form button#submit {
  display: block !important;
  margin: 25px auto 10px auto !important;
  background: #006dd6 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 36px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.tdee-calc-form button#submit:hover {
  background: #1dd9bb !important;
  color: #ffffff !important;
}

#fullResult {
  margin-top: 25px;
  padding: 22px;
  border-radius: 16px;
  background-color: #f7f9fc;
  border: 1px solid #e1e8ed;
}

#fullResult p {
  margin-bottom: 8px;
  font-size: 15px;
  color: #22323d;
}

.Resultindex {
  font-weight: 600;
  color: #22323d;
}

.resultvalue {
  font-weight: 700;
  color: #006dd6;
}

.tdee-article-content {
  font-size: 16px;
  line-height: 1.8;
  color: #22323d;
}

.tdee-article-content h2 {
  color: #006dd6 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-top: 35px !important;
  margin-bottom: 15px !important;
}

.tdee-article-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 20px 0 !important;
}

.tdee-article-content table td,
.tdee-article-content table th {
  border: 1px solid #e2e8f0 !important;
  padding: 10px 14px !important;
  font-size: 14.5px !important;
}

.tdee-article-content table tr:first-child td {
  background: #f1f5f9 !important;
  font-weight: 700 !important;
}

.tdee-article-content figure {
  margin: 25px 0 !important;
  text-align: center !important;
}

.tdee-article-content figure img {
  border-radius: 12px !important;
  max-width: 100% !important;
  height: auto !important;
}

.tdee-article-content figcaption {
  font-size: 13.5px !important;
  font-style: italic !important;
  color: #64748b !important;
  margin-top: 8px !important;
}

.tdee-article-content iframe {
  max-width: 100% !important;
  border-radius: 12px !important;
  margin: 25px auto !important;
  display: block !important;
}

@media (max-width: 767px) {
  .tdee-card-outer {
    border-radius: 25px;
    padding: 20px 15px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.06);
  }
  .tdee-main-heading {
    font-size: 19px !important;
  }
  .tdee-multimodal-icon {
    width: 70px;
  }
}

/* Policy Pages (chinh-sach-bao-mat, dieu-khoan-su-dung) */
.dk-title-sec {
  padding: 40px 0 !important;
}
.dk-title-sec .row {
  max-width: 1000px !important;
}
.dk-content-sec .row {
  max-width: 1000px !important;
}

/* ==========================================================================
   20. CÂU CHUYỆN KHÁCH HÀNG (PAGE: cau-chuyen-khach-hang)
   ========================================================================== */
.cckh-main-heading {
  color: #006dd6 !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  font-family: Verdana, Helvetica, Arial, sans-serif !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

.cckh-stories-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.cckh-story-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cckh-story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.cckh-card-row {
  display: flex;
  flex-direction: row;
  gap: 35px;
  align-items: center;
}

.cckh-card-info {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
}

.cckh-story-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  font-family: Verdana, Helvetica, Arial, sans-serif !important;
  line-height: 1.35 !important;
  margin: 0 0 10px 0 !important;
}

.cckh-story-title a {
  color: #006dd6 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.cckh-story-title a:hover {
  color: #1dd9bb !important;
}

.cckh-story-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cckh-stars {
  color: #ffab5e;
  font-size: 18px;
  letter-spacing: 2px;
}

.cckh-customer-name {
  font-weight: 700;
  color: #22323d;
  font-size: 15px;
}

.cckh-story-quote p {
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  color: #475569 !important;
  font-style: italic !important;
  text-align: justify !important;
  margin-bottom: 18px !important;
}

.cckh-story-action {
  margin-top: auto;
}

.cckh-story-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #006dd6 !important;
  color: #ffffff !important;
  padding: 8px 22px !important;
  border-radius: 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

.cckh-story-btn:hover {
  background: #1dd9bb !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.cckh-card-media {
  flex: 0 0 380px;
  max-width: 380px;
}

.cckh-thumb-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.cckh-thumb-wrap img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 14px !important;
  transition: transform 0.35s ease !important;
}

.cckh-thumb-wrap:hover img {
  transform: scale(1.04);
}

.cckh-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(0, 109, 214, 0.85);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cckh-thumb-wrap:hover .cckh-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #1dd9bb;
}

@media (max-width: 767px) {
  .cckh-card-row {
    flex-direction: column-reverse;
    gap: 20px;
  }
  .cckh-card-media {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .cckh-story-card {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .cckh-story-title {
    font-size: 18px !important;
  }
  .cckh-main-heading {
    font-size: 20px !important;
  }
}

/* ==========================================================================
   21. TRANG KIẾN THỨC (PAGE: kien-thuc)
   ========================================================================== */
.kt-main-heading {
  color: #006dd6 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  font-family: Verdana, Helvetica, Arial, sans-serif !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  text-align: center !important;
  line-height: 1.35 !important;
}

.kt-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #006dd6;
  padding-bottom: 10px;
  margin-bottom: 22px;
}

.kt-cat-title {
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  font-family: Verdana, Helvetica, Arial, sans-serif !important;
  line-height: 1.3 !important;
}

.kt-cat-title a {
  color: #006dd6 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.kt-cat-title a:hover {
  color: #1dd9bb !important;
}

.kt-see-all {
  color: #006dd6 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.kt-see-all:hover {
  color: #1dd9bb !important;
  transform: translateX(3px);
}

@media (max-width: 767px) {
  .kt-main-heading {
    font-size: 18px !important;
  }
  .kt-cat-title {
    font-size: 17px !important;
  }
}

/* ==========================================================================
   MEDFIT.VN GLOBAL PARITY (Header, Buttons, Capsule Badges)
   ========================================================================== */

/* 1. Header Navigation Typography & Colors (Default #006cc6, Hover & Active #00d084) */
.header-nav.nav > li > a,
.header-nav-main.nav > li > a,
.nav-line-bottom > li > a,
.header-main .nav > li > a,
.nav-sidebar > li > a {
  text-transform: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #006cc6 !important;
  letter-spacing: normal !important;
}

.header-nav.nav > li:not(.custom-width-mega) > a:hover,
.header-main .nav > li:not(.custom-width-mega) > a:hover,
.header-nav.nav > li:not(.custom-width-mega).current-menu-item > a,
.header-nav.nav > li:not(.custom-width-mega).current-menu-parent > a,
.header-nav.nav > li:not(.custom-width-mega).current-menu-ancestor > a,
.header-nav.nav > li:not(.custom-width-mega).current-dropdown > a,
.header-nav.nav > li:not(.custom-width-mega).active > a,
.nav-sidebar > li:not(.custom-width-mega) > a:hover,
.nav-sidebar > li:not(.custom-width-mega).current-menu-item > a,
.nav-sidebar > li:not(.custom-width-mega).current-menu-parent > a,
.nav-sidebar > li:not(.custom-width-mega).current-menu-ancestor > a,
.nav-sidebar > li:not(.custom-width-mega).active > a {
  color: #00d084 !important;
}

/* Header Height & Alignment Parity (73px match Astra live header) */
#header,
.header,
.header-wrapper,
.header-main {
  z-index: 99999 !important;
  overflow: visible !important;
}

.header-main {
  height: 73px !important;
  max-height: 73px !important;
}
#logo img {
  max-height: 48px !important;
}
.header-nav.nav > li > a {
  line-height: 73px !important;
  height: 73px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 1.1. Dropdown & Mega Menu Parity (Header Sub-Menu Only) */
#header .header-nav > li > .nav-dropdown {
  z-index: 999999 !important;
  background-color: #ffffff !important;
  border-radius: 14px !important;
  border: 1px solid rgba(0, 108, 198, 0.14) !important;
  box-shadow: 0 14px 36px rgba(0, 45, 98, 0.16) !important;
  padding: 20px 28px !important;
  width: max-content !important;
  min-width: 290px !important;
  max-width: 96vw !important;
  height: auto !important;
  bottom: auto !important;
  top: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
}

#header .header-nav > li.current-dropdown > .nav-dropdown,
#header .header-nav > li.has-dropdown:hover > .nav-dropdown {
  max-height: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Bỏ toàn bộ margin gây thò thụt của thẻ li, a, ul con chỉ trong Header Sub-Menu */
#header .header-nav .nav-dropdown ul,
#header .header-nav .nav-column {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#header .header-nav .sub-menu li,
#header .header-nav .nav-dropdown li,
#header .header-nav .nav-column li,
#header .header-nav .sub-menu li:first-child,
#header .header-nav .sub-menu li:last-child,
#header .header-nav .nav-dropdown li:first-child,
#header .header-nav .nav-dropdown li:last-child,
#header .header-nav .nav-dropdown .nav-dropdown-col .menu-item-has-children {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  text-indent: 0 !important;
}

#header .header-nav .sub-menu li > a,
#header .header-nav .nav-dropdown li > a,
#header .header-nav .nav-column li > a,
.nav-sidebar .sub-menu li > a {
  margin: 0 !important;
  padding: 8px 16px !important;
  color: #006cc6 !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  border-bottom: none !important;
  display: block !important;
  text-align: left !important;
  white-space: nowrap !important;
  border-radius: 8px !important;
  transition: color 0.2s ease, background-color 0.2s ease !important;
}

#header .header-nav .sub-menu li > a:hover,
#header .header-nav .nav-dropdown li > a:hover,
#header .header-nav .nav-column li > a:hover,
#header .header-nav .sub-menu li.current-menu-item > a,
#header .header-nav .sub-menu li.current-menu-parent > a,
#header .header-nav .sub-menu li.active > a,
.nav-sidebar .sub-menu li > a:hover,
.nav-sidebar .sub-menu li.current-menu-item > a,
.nav-sidebar .sub-menu li.active > a {
  color: #00d084 !important;
  background-color: rgba(0, 208, 132, 0.08) !important;
}

/* Ẩn tiêu đề cột tạm REJUV MENU 1/2/3 ở Thẩm mỹ da */
#header .header-nav .nav-dropdown > li.ast-hide-menu-item > a,
.nav-sidebar li.ast-hide-menu-item > a,
.nav-sidebar li.ast-hide-menu-item > button.toggle {
  display: none !important;
}

.nav-sidebar li.ast-hide-menu-item > ul.sub-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

/* Mega Menu 3 cột (Thẩm mỹ da) & 5 cột (Kiến thức) - Background rộng hơn nội dung */
#header .header-main .container {
  position: relative !important;
}

#header .header-nav > li.content-width-mega {
  position: static !important;
}

#header .header-nav > li.custom-width-mega > .nav-dropdown,
#header .header-nav > li.content-width-mega > .nav-dropdown {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: max-content !important;
  padding: 24px 32px !important;
  gap: 0 !important;
}

#header .header-nav > li.content-width-mega.current-dropdown > .nav-dropdown,
#header .header-nav > li.content-width-mega:hover > .nav-dropdown {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#header .header-nav > li.custom-width-mega > .nav-dropdown > li.nav-dropdown-col,
#header .header-nav > li.content-width-mega > .nav-dropdown > li.nav-dropdown-col {
  width: auto !important;
  min-width: 210px !important;
  flex: 1 0 auto !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border-right: 1px solid rgba(0, 108, 198, 0.1) !important;
  box-sizing: border-box !important;
}

#header .header-nav > li.custom-width-mega > .nav-dropdown > li.nav-dropdown-col:first-child,
#header .header-nav > li.content-width-mega > .nav-dropdown > li.nav-dropdown-col:first-child {
  padding-left: 0 !important;
}

#header .header-nav > li.custom-width-mega > .nav-dropdown > li.nav-dropdown-col:last-child,
#header .header-nav > li.content-width-mega > .nav-dropdown > li.nav-dropdown-col:last-child {
  padding-right: 0 !important;
  border-right: none !important;
}

#header .header-nav .nav-dropdown > li.menu-item-heading > a {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #006cc6 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2px !important;
  margin: 0 0 4px 0 !important;
  padding: 8px 16px !important;
}

#header .header-nav .nav-dropdown > li.menu-item-heading > a:hover,
#header .header-nav .nav-dropdown > li.menu-item-heading.current-menu-item > a,
#header .header-nav .nav-dropdown > li.menu-item-heading.current-menu-parent > a,
#header .header-nav .nav-dropdown > li.menu-item-heading.active > a {
  color: #00d084 !important;
}

/* Menu Thẩm mỹ da: Cấp 1 màu #e00072, Sub-menu mặc định #006dd6, hover #e00072 */
#header .header-nav > li.custom-width-mega > a,
#header .header-nav > li.custom-width-mega > a:hover,
#header .header-nav > li.custom-width-mega.current-menu-item > a,
#header .header-nav > li.custom-width-mega.current-dropdown > a,
#header .header-nav > li.custom-width-mega > a > i,
.nav-sidebar > li.custom-width-mega > a {
  color: #e00072 !important;
}

#header .header-nav > li.custom-width-mega .sub-menu li > a,
#header .header-nav > li.custom-width-mega .nav-dropdown li > a,
#header .header-nav > li.custom-width-mega .nav-column li > a,
.nav-sidebar > li.custom-width-mega .sub-menu li > a {
  color: #006dd6 !important;
}

#header .header-nav > li.custom-width-mega .sub-menu li > a:hover,
#header .header-nav > li.custom-width-mega .nav-dropdown li > a:hover,
#header .header-nav > li.custom-width-mega .nav-column li > a:hover,
#header .header-nav > li.custom-width-mega .sub-menu li.current-menu-item > a,
#header .header-nav > li.custom-width-mega .sub-menu li.active > a,
.nav-sidebar > li.custom-width-mega .sub-menu li > a:hover,
.nav-sidebar > li.custom-width-mega .sub-menu li.current-menu-item > a {
  color: #e00072 !important;
  background-color: rgba(224, 0, 114, 0.06) !important;
}

/* Mục KIẾN THỨC THẨM MỸ DA trong Mega Menu Kiến thức màu hồng #e00072 */
#header .header-nav .nav-dropdown > li.menu-item-heading > a[href*="/chuyen-muc/kien-thuc/tham-my-da/"],
#header .header-nav .nav-dropdown > li.menu-item-heading > a[href*="/chuyen-muc/kien-thuc/tham-my-da/"]:hover,
#header .header-nav .sub-menu li > a[href*="/chuyen-muc/kien-thuc/tham-my-da/"],
#header .header-nav .sub-menu li > a[href*="/chuyen-muc/kien-thuc/tham-my-da/"]:hover,
.nav-sidebar .sub-menu li > a[href*="/chuyen-muc/kien-thuc/tham-my-da/"],
.nav-sidebar .sub-menu li > a[href*="/chuyen-muc/kien-thuc/tham-my-da/"]:hover {
  color: #e00072 !important;
}

#header .header-nav .sub-menu li > a[href*="/chuyen-muc/kien-thuc/tham-my-da/"]:hover,
.nav-sidebar .sub-menu li > a[href*="/chuyen-muc/kien-thuc/tham-my-da/"]:hover {
  background-color: rgba(224, 0, 114, 0.06) !important;
}



/* 2. Header ĐẶT LỊCH CTA Button */
.header-main .header-button a,
.header-main .header-button-1 a,
.header-main a.button.primary,
.header .header-button a,
.header a.button.primary {
  background-color: #1cc9aa !important;
  border-color: #1cc9aa !important;
  color: #ffffff !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 8px 24px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(28, 201, 170, 0.25) !important;
  transition: all 0.25s ease !important;
}

.header-main .header-button a:hover,
.header .header-button a:hover {
  background-color: #16b396 !important;
  border-color: #16b396 !important;
  transform: translateY(-1px);
}

/* 3. MedFit Capsule Pill Badge (Ve Chung Toi, TDEE, Hubs) */
.medfit-capsule-badge-container {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 30px auto 25px auto !important;
  padding: 0 15px !important;
}
.medfit-capsule-badge,
.medfit-pill-box,
.capsule-badge-wrap {
  border-bottom: 5px solid #1dd9bb !important;
  border-left: 2px solid #1dd9bb !important;
  border-radius: 50px !important;
  box-shadow: #006dd6 -2px 5px 0px 0px !important;
  padding: 10px 35px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #ffffff !important;
  max-width: 1140px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.medfit-capsule-badge h1.capsule-title-text,
.medfit-capsule-badge h2.capsule-title-text,
.medfit-capsule-badge .capsule-title-text {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #006dd6 !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  text-align: center !important;
  flex: 1 !important;
  line-height: 1.25 !important;
  max-width: 820px !important;
}
.medfit-capsule-badge .capsule-title-icon {
  flex: 0 0 85px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.medfit-capsule-badge .capsule-title-icon img {
  width: 75px !important;
  height: 75px !important;
  object-fit: contain !important;
}

/* 4. Flatsome Grid & Module Bridge for Converted BB Pages */
.row > .col.fl-col {
  max-width: none !important;
  flex-basis: auto !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  padding-bottom: 0px !important;
}
.fl-col-group,
.row.fl-col-group {
  display: flex !important;
  flex-flow: row wrap !important;
  width: 100% !important;
}
.uabb-blog-posts-carousel:not(.flickity-enabled):not(:has(> .flickity-viewport)) > .uabb-post-wrapper:nth-child(n+4) {
  display: none !important;
}
.uabb-video-gallery .uabb-video-gallery-wrap:not(.flickity-enabled):not(:has(> .flickity-viewport)) {
  display: flex !important;
  gap: 15px;
}
.uabb-video-gallery .uabb-video-gallery-item {
  flex: 0 0 calc(33.333% - 10px) !important;
  max-width: calc(33.333% - 10px) !important;
}
.uabb-video-gallery .uabb-video-gallery-wrap:not(.flickity-enabled):not(:has(> .flickity-viewport)) > .uabb-video-gallery-item:nth-child(n+4) {
  display: none !important;
}

/* 5. Beaver Builder Info List & List Item resets */
.uabb-info-list-wrapper {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.uabb-info-list-item {
  position: relative;
  list-style: none !important;
  margin: 0 !important;
}
.uabb-info-list-description p:last-child {
  margin-bottom: 0;
}
.uabb-info-list br,
.uabb-imgicon-wrap br,
.uabb-icon-wrap br,
.uabb-icon br {
  display: none !important;
}

/* 6. Keep Beaver Builder Animations visible by default without blocking @keyframes or transitions */
.fl-animation,
.fl-animation:not(.fl-animated) {
  opacity: 1;
  visibility: visible;
}

/* 7. Hide rogue empty or comment paragraphs before sections */
#content > p:first-child,
#content > p:empty,
#content > p:has(> br:only-child) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
}

/* 8. Beaver Builder Carousels & Sliders Grid Fallback */
.uabb-image-carousel .uabb-image-carousel-item,
div.uabb-image-carousel-item {
  display: block !important;
  float: none !important;
  box-sizing: border-box !important;
}
.uabb-image-carousel:not(.flickity-enabled):not(:has(> .flickity-viewport)) {
  display: flex !important;
  flex-flow: row wrap !important;
  justify-content: center !important;
  position: relative !important;
  width: auto !important;
}
.uabb-image-carousel .uabb-image-carousel-item {
  flex: 0 0 33.3333% !important;
  max-width: 33.3333% !important;
  width: 33.3333% !important;
}
.uabb-image-carousel:not(.flickity-enabled):not(:has(> .flickity-viewport)):not(.uabb-img-col-4):not(.uabb-img-col-5):not(.uabb-img-col-6) > .uabb-image-carousel-item:nth-child(n+4) {
  display: none !important;
}
.uabb-image-carousel.uabb-img-col-1 .uabb-image-carousel-item,
.fl-node-f68230x9vml1 .uabb-image-carousel .uabb-image-carousel-item {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}
.uabb-image-carousel.uabb-img-col-1:not(.flickity-enabled):not(:has(> .flickity-viewport)) > .uabb-image-carousel-item:nth-child(n+2),
.fl-node-f68230x9vml1 .uabb-image-carousel:not(.flickity-enabled):not(:has(> .flickity-viewport)) > .uabb-image-carousel-item:nth-child(n+2) {
  display: none !important;
}
.uabb-image-carousel.uabb-img-col-2 .uabb-image-carousel-item {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
}
.uabb-image-carousel.uabb-img-col-2:not(.flickity-enabled):not(:has(> .flickity-viewport)) > .uabb-image-carousel-item:nth-child(n+3) {
  display: none !important;
}
.uabb-image-carousel.uabb-img-col-4 .uabb-image-carousel-item {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  width: 25% !important;
}
.uabb-image-carousel.uabb-img-col-4:not(.flickity-enabled):not(:has(> .flickity-viewport)) > .uabb-image-carousel-item:nth-child(n+5) {
  display: none !important;
}
@media (max-width: 768px) {
  .uabb-image-carousel .uabb-image-carousel-item,
  .uabb-image-carousel.uabb-img-col-2 .uabb-image-carousel-item,
  .uabb-image-carousel.uabb-img-col-3 .uabb-image-carousel-item,
  .uabb-image-carousel.uabb-img-col-4 .uabb-image-carousel-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .uabb-image-carousel:not(.flickity-enabled):not(:has(> .flickity-viewport)) > .uabb-image-carousel-item:nth-child(n+2) {
    display: none !important;
  }
}
.uabb-image-carousel .uabb-image-carousel-item img {
  width: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  height: auto !important;
  display: block !important;
}
.uabb-blog-posts.uabb-blog-posts-carousel:not(.flickity-enabled):not(:has(> .flickity-viewport)) {
  display: flex !important;
  flex-flow: row wrap !important;
  position: relative !important;
  width: 100% !important;
}
.uabb-blog-posts.uabb-blog-posts-carousel .uabb-post-wrapper {
  float: none !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px) {
  .uabb-blog-posts.uabb-blog-posts-carousel .uabb-post-wrapper {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* 6. Beaver Builder Content Row Width Bridge */
section.section.fl-row,
.section.fl-row {
  display: block !important;
  margin-top: 0;
  margin-bottom: 0;
  width: 100% !important;
  padding: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  border: none !important;
}
section.section.fl-row.fl-row-full-width,
.section.fl-row.fl-row-full-width {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}
@media (min-width: 769px) {
  section.section.fl-row.fl-row-fixed-width,
  .section.fl-row.fl-row-fixed-width {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* Non-!important 1200px default (specificity 0,1,1 beats custom-css .row 0,1,0 while per-node 0,2,0 max-width e.g. 90% and .fl-row-full-width 0,3,0 win naturally) */
div.row:where(.fl-row-content, .fl-col-group):not(:where(.fl-row-full-width)) {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
/* Full-width content rows (.fl-row-content.fl-row-full-width on medfit.vn — specificity 0,1,1 beats 1200px default while yielding to per-node 0,2,0 custom widths e.g. 90%) */
div.row:where(:is(
  .fl-node-01wfg9t7esuk, .fl-node-03syg7zetk9f, .fl-node-0iv3mxgwd2or, .fl-node-0qyb9c3kexd7,
  .fl-node-0zscq73xigwa, .fl-node-12hz583t7dcu, .fl-node-1carx2hme5s8,
  .fl-node-1je7lkndxp85, .fl-node-1q4asuyg2emv, .fl-node-1zfo7tqydhcu, .fl-node-25i8qf67n3ls,
  .fl-node-28q5y0b1fato, .fl-node-2d04uvc1wxa5, .fl-node-2ni05a6tczwu, .fl-node-2oeluxc90hk1,
  .fl-node-2yl61xmqtgkn, .fl-node-3l769p8fbcud, .fl-node-3sx159yihlwe, .fl-node-3tv8nkdf90so,
  .fl-node-5fb769739a8bc, .fl-node-69a8cskjqxby, .fl-node-6g2syn7promu, .fl-node-72nvqktj539z,
  .fl-node-756bia0r8lzw, .fl-node-7rqep6dawyzj, .fl-node-7ud04zv2wicm,
  .fl-node-83fx0lstz9ud, .fl-node-9irs38kujaml, .fl-node-9vo7az5tb2u4, .fl-node-ae7kg5bdlj1z,
  .fl-node-aejfl14rhm6z, .fl-node-aen97i24dfmx, .fl-node-aoxhy073wlms, .fl-node-b5dz21qg7oe6,
  .fl-node-bh90lavewp6m, .fl-node-bkjg7y01m5nz, .fl-node-brex1tl3fch7, .fl-node-c53fhbge82vm,
  .fl-node-duv2tycekj6m, .fl-node-e1tuzsch8dfw, .fl-node-f9v602guectz, .fl-node-flv97x0hi6jw,
  .fl-node-ft9va74h62qr, .fl-node-g68lncqzhk5t, .fl-node-g87ojnky4x1i, .fl-node-gajkcq2m8vnr,
  .fl-node-gwaderiz0yo6, .fl-node-hr1mq3vdx459, .fl-node-ibs48np7qfm3, .fl-node-j4neybuviswc,
  .fl-node-jhxrp28u71ds, .fl-node-k8ldyhizsucj, .fl-node-khmiptswu593, .fl-node-kitwvyb4z83l,
  .fl-node-kj8rvuxthg1l, .fl-node-kl7j9i21ruqw, .fl-node-kyihl7j1qd43, .fl-node-lieoqjhg0ank,
  .fl-node-lvd6rpuchf13, .fl-node-m3iocrza0xnb, .fl-node-mt356c9k2e0v, .fl-node-n74ms3r1oz5u,
  .fl-node-naoxvk5623yf, .fl-node-niudo73l40hs, .fl-node-oyw0cszfbrd7, .fl-node-poi9xq4kmuec,
  .fl-node-q094e7y2nuv5, .fl-node-qju9vbh8mk2f, .fl-node-qxuytrjkhf08, .fl-node-s7y6g2p1hnwu,
  .fl-node-sp0y6z5bw8tf, .fl-node-sqdifojg8x9b, .fl-node-tdmgr54q8ae0, .fl-node-tj23zdgrxhl0,
  .fl-node-tkc5bj4pfe2w, .fl-node-tvgnc982pyis, .fl-node-u2iqt95jpoyx, .fl-node-u3fvscbzp0ow,
  .fl-node-ugnok3trmed9, .fl-node-umonrwe3y8q2, .fl-node-v3j1suyamc67, .fl-node-v8uclftwkbdy,
  .fl-node-vcqx7pfub1nk, .fl-node-vh3emrf0xpj9, .fl-node-waiekh7q253d, .fl-node-x3iw1d5rgcp2,
  .fl-node-xkm8t0yj2nrd, .fl-node-xzrm1soc4agt, .fl-node-zhxpgwit31en,
  .fl-node-ztnu20sx7yjp, .fl-node-zw3vib7puxja, .fl-node-zykhjd2x9i1g
) > .fl-row-content-wrap > .row.fl-row-content) {
  max-width: 100%;
}
.fl-col-group-equal-height > .fl-col > .col-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
}
.fl-row-default-height .fl-row-full-width.fl-row-content,
.fl-row-full-height .fl-row-full-width.fl-row-content,
.fl-row-custom-height .fl-row-full-width.fl-row-content,
.fl-row-full-width > .section-content > .row.fl-row-full-width {
  max-width: 100%;
  width: 100%;
}
.row.fl-col-group .row.fl-col-group,
.row.fl-row-content .row.fl-col-group {
  max-width: 100%;
}
.fl-row-bg-overlay .fl-row-content-wrap::after {
  border-radius: inherit;
  content: "";
  display: block;
  position: absolute;
  inset: 0px;
  z-index: 0;
  pointer-events: none;
}
.fl-row-bg-overlay .fl-row-content {
  position: relative;
  z-index: 2;
}

/* 7. Contact Form 7 in Hero & Service Sections (Fallback via :where so per-node .uabb-cf7-style wins) */
.uacf7-form-wrapper-container .flex-row {
  display: block !important;
}
.uacf7-form-wrapper-container .flex-col {
  display: block !important;
  width: 100% !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}
:where(.uabb-cf7-style, .uacf7-form-wrapper-container) .form-flat input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]),
:where(.uabb-cf7-style, .uacf7-form-wrapper-container) :is(input[type="text"], input[type="tel"], input[type="email"], textarea, select) {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 20px;
  height: auto;
  font-size: 100%;
  box-shadow: none;
  width: 100%;
}
:where(.uacf7-form-wrapper-container) input[type="submit"]:not(.rightbutton):not(.right-button) {
  background-color: #1dd9bb;
  color: #ffffff;
  border-radius: 100px;
  padding: 0 35px;
  height: 44px;
  border: none;
  font-weight: 600;
}
:where(.uabb-cf7-style, .uacf7-form-wrapper-container) input[type="submit"] {
  margin-top: 0;
  margin-bottom: 0;
  min-height: 0;
  height: auto;
}

/* Pricing Page (bang-gia) Hero & Section Alignment */
.page-id-38025 .medfit-hero-section {
  min-height: 361px !important;
  max-height: 361px !important;
  padding-top: 60px !important;
  padding-bottom: 20px !important;
}
.page-id-38025 .medfit-section-multimodal {
  padding-top: 0px !important;
}
/* Kiến thức (kien-thuc) Alignment - Full-bleed banner photo */
.page-id-38477 .fl-node-x3iw1d5rgcp2 {
  display: none !important;
}
.page-id-38477 .fl-node-2d04uvc1wxa5 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.page-id-38477 .fl-node-2d04uvc1wxa5 .row.fl-row-content,
.page-id-38477 .fl-node-2d04uvc1wxa5 .row.fl-col-group {
  max-width: 100% !important;
  width: 100% !important;
}
.page-id-38477 .fl-node-2d04uvc1wxa5 .fl-photo-img {
  display: block !important;
  width: 100% !important;
}
.page-id-38477 .section-content.fl-row-content-wrap {
  flex-direction: column !important;
}
.page-id-38477 .fl-node-ds456ewxziym {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}
.page-id-38477 .fl-node-ds456ewxziym .row.fl-row-content {
  max-width: 930px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.page-id-38477 .fl-node-4xo9wzqd7yan {
  max-width: 790px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.page-id-38477 .fl-node-4xo9wzqd7yan h1.fl-heading {
  text-align: center !important;
  font-size: 32.4px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #000000 !important;
}
.page-id-38477 .fl-separator {
  margin: 15px auto 0 auto !important;
}
.page-id-38477 .fl-row:not(.fl-node-2d04uvc1wxa5):not(.fl-node-ds456ewxziym) .row.fl-row-content {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ==========================================================================
   19. Section Box Icon Top (xc-home-list-box - Stack & Row)
   ========================================================================== */
.xc-home-list-box,
.section-box-icon-top {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

/* Stack: Container chuẩn của theme, căn giữa, không fix cứng px */
.xc-home-list-box-stack,
.xc-home-list-box .stack {
  width: 100% !important;
  max-width: 1370px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Desktop: 8 icon chia đều trên 1 hàng duy nhất */
@media (min-width: 850px) {
  .xc-home-list-box-stack,
  .xc-home-list-box .stack {
    display: flex !important;
    flex-flow: row nowrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
  }
  .xc-home-list-box-stack > a.plain,
  .xc-home-list-box .stack > a.plain {
    flex: 1 1 0 !important;
    max-width: calc(100% / 8) !important;
    padding: 0 4px !important;
    text-align: center !important;
  }
}

/* Tablet (550px - 849px): 8 icon trên 2 hàng (mỗi hàng 4 icon) */
@media (min-width: 550px) and (max-width: 849px) {
  .xc-home-list-box-stack,
  .xc-home-list-box .stack {
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: space-around !important;
    align-items: flex-start !important;
  }
  .xc-home-list-box-stack > a.plain,
  .xc-home-list-box .stack > a.plain {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    margin-bottom: 20px !important;
    padding: 0 6px !important;
    text-align: center !important;
  }
}

/* Mobile (< 550px): Cuộn ngang mượt mà, text 1 hàng không bị co vỡ */
@media (max-width: 549px) {
  .xc-home-list-box-stack,
  .xc-home-list-box .stack {
    display: flex !important;
    flex-flow: row nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px !important;
  }
  .xc-home-list-box-stack::-webkit-scrollbar,
  .xc-home-list-box .stack::-webkit-scrollbar {
    display: none;
  }
  .xc-home-list-box-stack > a.plain,
  .xc-home-list-box .stack > a.plain {
    flex: 0 0 auto !important;
    min-width: 100px !important;
    padding: 0 8px !important;
    text-align: center !important;
  }
}

/* Icon Box item */
.xc-home-list-box .icon-box,
.section-box-icon-top .icon-box {
  margin-bottom: 0 !important;
}

.xc-home-list-box .icon-box-img,
.section-box-icon-top .icon-box-img {
  width: 76px !important;
  max-width: 100%;
  margin: 0 auto 10px auto !important;
  transition: transform 0.25s ease;
}

.xc-home-list-box a.plain:hover .icon-box-img,
.section-box-icon-top a.plain:hover .icon-box-img {
  transform: translateY(-4px);
}

.xc-home-list-box .icon-box-img img,
.section-box-icon-top .icon-box-img img,
.xc-home-list-box .icon-box-img svg,
.section-box-icon-top .icon-box-img svg {
  display: block;
  width: 76px !important;
  height: auto;
  margin: 0 auto;
}

/* Text icon box: Bắt buộc trên 1 hàng, không xuống dòng */
.xc-home-list-box .icon-box-text,
.section-box-icon-top .icon-box-text {
  width: 100% !important;
  padding: 0 !important;
  text-align: center !important;
}

.xc-home-list-box .icon-box-text *,
.section-box-icon-top .icon-box-text *,
.xc-icon-box-label {
  font-weight: 600 !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  letter-spacing: -0.2px;
  text-align: center !important;
  color: #333333 !important;
  margin-bottom: 0 !important;
  white-space: nowrap !important;
  transition: color 0.25s ease;
}

.xc-home-list-box a.plain:hover .icon-box-text *,
.section-box-icon-top a.plain:hover .icon-box-text * {
  color: #006dd6 !important;
}

/* Tương thích với [row] nếu dùng */
.xc-home-list-box .row,
.section-box-icon-top .row {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
}
@media (min-width: 850px) {
  .xc-home-list-box .col,
  .section-box-icon-top .col,
  .xc-home-list-box-row > .col {
    flex: 0 0 12.5% !important;
    max-width: 12.5% !important;
    width: 12.5% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* ==========================================================================
   20. Section Khoa Dịch Vụ (xc-home-service / bvjw-khoa)
   ========================================================================== */
.xc-home-service,
.bvjw-khoa {
  width: 100% !important;
  position: relative !important;
  padding: 30px 0 0 0 !important;
  background-color: #ffffff !important;
}

/* Hàng Title không có background */
.xc-home-service .xc-service-title-row {
  margin-top: 15px !important;
  margin-bottom: 22px !important;
  background: transparent !important;
}

.xc-home-service .xc-service-title-row .section-title-container {
  margin-bottom: 0 !important;
}

.xc-home-service .xc-service-title-row .section-title-center b {
  display: none !important;
}

.xc-home-service .xc-service-title-row h2,
.xc-home-service .xc-service-title-row .section-title,
.xc-home-service .xc-service-title-row .section-title-main,
.xc-home-service .xc-service-col-title .section-title-main,
.xc-home-service .xc-service-col-title-dark .section-title-main {
  color: #006dd6 !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-transform: none !important;
  letter-spacing: -0.01em;
}

/* Row full-width, content bên trong */
.xc-home-service .xc-service-main-row {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}

.xc-home-service .xc-service-main-row > .xc-col-thammy,
.xc-home-service .xc-service-main-row > .xc-col-chuyenkhoa {
  display: flex !important;
  flex-direction: column !important;
}

/* Cột bên trái: background màu #006dd6 */
.xc-home-service .xc-col-thammy,
.xc-home-service .xc-col-thammy > .col-inner {
  background-color: #006dd6 !important;
  align-items: flex-end !important;
}

/* Cột bên phải: background màu #1cc9aa */
.xc-home-service .xc-col-chuyenkhoa,
.xc-home-service .xc-col-chuyenkhoa > .col-inner {
  background-color: #1cc9aa !important;
  align-items: flex-start !important;
}

/* Đảm bảo 2 bên có chiều cao bằng nhau tuyệt đối */
.xc-home-service .xc-col-thammy > .col-inner,
.xc-home-service .xc-col-chuyenkhoa > .col-inner {
  flex: 1 1 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 42px 20px 50px 20px !important;
}

/* Subgrid chứa nội dung bên trong */
.xc-home-service .xc-subgrid-thammy {
  max-width: 660px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  padding-right: 20px !important;
}

.xc-home-service .xc-subgrid-chuyenkhoa {
  max-width: 660px !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-left: 20px !important;
}

/* Vùng ô trống không hiển thị bàn tay, chỉ iconbox mới là clickable */
.xc-home-service .xc-subgrid-thammy .col,
.xc-home-service .xc-subgrid-chuyenkhoa .col,
.xc-home-service .xc-subgrid-thammy .col-inner,
.xc-home-service .xc-subgrid-chuyenkhoa .col-inner {
  cursor: default !important;
  text-align: center !important;
}

.xc-home-service a.plain {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

/* Items & Icons thống nhất 2 bên */
.xc-home-service .xc-svc-item,
.xc-home-service .xc-svc-item-dark {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 6px 4px !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.xc-home-service .icon-box-img {
  width: 78px !important;
  max-width: 78px !important;
  margin: 0 auto !important;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.xc-home-service .icon-box-img img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}

/* Icon nét vẽ bên trái đổi sang màu trắng */
.xc-home-service .xc-col-thammy .icon-box-img img {
  filter: brightness(0) invert(1);
}

/* Hiệu ứng hover blur nhẹ đồng bộ 2 bên */
.xc-home-service .xc-col-thammy a.plain:hover .icon-box-img,
.xc-home-service .xc-col-thammy .xc-svc-item:hover .icon-box-img {
  transform: translateY(-4px);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.75));
}

.xc-home-service .xc-col-chuyenkhoa a.plain:hover .icon-box-img,
.xc-home-service .xc-col-chuyenkhoa .xc-svc-item-dark:hover .icon-box-img {
  transform: translateY(-4px);
  filter: drop-shadow(0 0 12px rgba(0, 61, 76, 0.45));
}

/* Text nhãn dưới icon: 1 hàng duy nhất, chiều cao đồng đều 2 bên không lệch dòng */
.xc-home-service .xc-svc-lbl,
.xc-home-service .xc-svc-lbl-dark {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  line-height: 22px !important;
  height: 22px !important;
  text-transform: uppercase !important;
  text-align: center !important;
  margin: 10px auto 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  letter-spacing: 0.01em;
  white-space: nowrap !important;
  width: 100% !important;
  cursor: pointer !important;
}


/* Responsive */
@media (max-width: 1200px) {
  .xc-home-service .xc-service-title-row .section-title-main {
    font-size: 24px !important;
  }
  .xc-home-service .xc-col-thammy .xc-subgrid-thammy,
  .xc-home-service .xc-col-chuyenkhoa .xc-subgrid-chuyenkhoa {
    max-width: 560px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .xc-home-service .icon-box-img {
    width: 72px !important;
    max-width: 72px !important;
  }
  .xc-home-service .xc-svc-lbl,
  .xc-home-service .xc-svc-lbl-dark {
    font-size: 11px !important;
  }
}

@media (max-width: 849px) {
  .xc-home-service .xc-service-title-row {
    margin-bottom: 15px !important;
  }
  .xc-home-service .xc-service-title-row .section-title-main {
    font-size: 22px !important;
    margin-bottom: 10px !important;
  }
  .xc-home-service .xc-col-thammy > .col-inner,
  .xc-home-service .xc-col-chuyenkhoa > .col-inner {
    align-items: center !important;
    padding: 30px 15px 40px !important;
  }
  .xc-home-service .xc-col-thammy .xc-subgrid-thammy,
  .xc-home-service .xc-col-chuyenkhoa .xc-subgrid-chuyenkhoa {
    max-width: 480px !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .xc-home-service .icon-box-img {
    width: 70px !important;
    max-width: 70px !important;
  }
  .xc-home-service .xc-svc-lbl,
  .xc-home-service .xc-svc-lbl-dark {
    font-size: 11.5px !important;
  }
}

@media (max-width: 640px) {
  .xc-home-service .icon-box-img {
    width: 60px !important;
    max-width: 60px !important;
  }
  .xc-home-service .xc-svc-lbl,
  .xc-home-service .xc-svc-lbl-dark {
    font-size: 10.5px !important;
    line-height: 1.3 !important;
    height: auto !important;
    min-height: 28px !important;
    white-space: normal !important;
    letter-spacing: 0 !important;
    padding: 0 2px !important;
  }
}


/* ==========================================================================
   21. Section Slider Dịch Vụ Nổi Bật (xc-home-slider-services / HomeDichVuNoiBats)
   ========================================================================== */
.xc-home-slider-services,
.HomeDichVuNoiBats {
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  background-color: #ffffff !important;
  background-image: url("/wp-content/uploads/2026/10/bg-home-center-slider.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  padding-top: 65px !important;
  padding-bottom: 75px !important;
  overflow: hidden !important;
}

.xc-home-slider-services .section-bg,
.HomeDichVuNoiBats .section-bg {
  background-color: transparent !important;
  background-image: none !important;
}

.xc-home-slider-services .section-content,
.HomeDichVuNoiBats .section-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.HomeDichVuNoiBatsWrap,
.HomeDichVuNoiBatsWrap > .col,
.HomeDichVuNoiBatsWrap > .col > .col-inner {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  background: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.HomeDichVuNoiBatsHeader {
  text-align: center;
  max-width: 1200px !important;
  margin: 0 auto 10px auto !important;
  padding: 0 20px !important;
}

.HomeDichVuNoiBatsHeader p:empty {
  display: none !important;
}

.xc-services-badge {
  display: inline-block;
  background: rgba(0, 109, 214, 0.08);
  color: #006dd6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.HomeDichVuNoiBats--tit {
  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: 34px !important;
  line-height: 1.3 !important;
  color: #111827 !important;
  text-align: center !important;
  margin: 0 0 12px 0 !important;
  letter-spacing: -0.01em;
}

.xc-services-sub {
  max-width: 760px;
  margin: 0 auto 18px auto !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
}

@media (max-width: 768px) {
  .xc-home-slider-services,
  .HomeDichVuNoiBats {
    padding-top: 45px !important;
    padding-bottom: 55px !important;
  }
  .HomeDichVuNoiBats--tit {
    font-size: 24px !important;
  }
  .xc-services-sub {
    font-size: 14.5px !important;
  }
}

.HomeDichVuNoiBats--button {
  margin: 0 auto 24px auto !important;
  display: table !important;
  text-align: center !important;
}

.HomeDichVuNoiBats--button a.wp-element-button,
.HomeDichVuNoiBatsHeader a.wp-element-button,
.xc-services-cta-btn {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50px !important;
  font-size: 14.5px !important;
  line-height: 22px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 12px 32px !important;
  margin: 4px auto 16px auto !important;
  text-decoration: none !important;
  color: #ffffff !important;
  background: linear-gradient(90deg, #006dd6 0%, #1cc9aa 100%) !important;
  box-shadow: 0 8px 24px rgba(0, 109, 214, 0.25), 0 4px 12px rgba(28, 201, 170, 0.2) !important;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none !important;
}

.HomeDichVuNoiBats--button a.wp-element-button:hover,
.HomeDichVuNoiBatsHeader a.wp-element-button:hover,
.xc-services-cta-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(0, 109, 214, 0.35), 0 6px 18px rgba(28, 201, 170, 0.35) !important;
  filter: brightness(1.05);
}

/* Swiper Full-width with Padding */
.swiperWrap.centerSlider {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  overflow: visible;
}

.centerSlider swiper-container {
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
  padding: 30px 0 50px 0 !important;
}

.centerSlider swiper-slide {
  position: relative;
  transition-property: transform, opacity;
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.centerSlider .swiper-slide-active {
  transform: scale(1) translateY(0);
  opacity: 1;
  z-index: 5;
}

@media (min-width: 1024px) {
  .centerSlider .swiper-slide-prev,
  .centerSlider .swiper-slide-next {
    transform: scale(0.84) translateY(0);
    opacity: 0.85;
    z-index: 2;
  }
}

@media not all and (min-width: 420px) {
  .centerSlider swiper-slide {
    padding-left: 5.5% !important;
    padding-right: 5.5% !important;
  }
}

.centerSlider__item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #020f1e;
  box-shadow: 0 12px 35px rgba(0, 30, 65, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.swiper-slide-active .centerSlider__item {
  box-shadow: 0 20px 50px rgba(0, 50, 110, 0.22), 0 8px 20px rgba(28, 201, 170, 0.1);
}

.centerSlider__itemWrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.centerSlider__item--img {
  display: block;
  width: 100%;
  height: 100%;
}

.centerSlider__item--img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0, 0.2, 1);
}

.centerSlider__item:hover .centerSlider__item--img img {
  transform: scale(1.05);
}

/* Slide Content Gradient Overlay */
.centerSlider__item--content {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(2, 15, 30, 0) 0%, rgba(2, 15, 30, 0.6) 38%, rgba(2, 15, 30, 0.95) 70%, #020f1e 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  color: #ffffff;
  box-sizing: border-box;
  padding-left: 6%;
  padding-right: 6%;
  padding-bottom: 7%;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .centerSlider__item--content {
    height: 52%;
    background: linear-gradient(180deg, rgba(2, 15, 30, 0) 0%, rgba(2, 15, 30, 0.75) 30%, rgba(2, 15, 30, 0.96) 65%, #020f1e 100%);
    padding-left: 8%;
    padding-right: 8%;
    padding-bottom: 8%;
  }
}

/* Tag with Secondary Color #1cc9aa */
.centerSlider__item--content p:first-child {
  width: 100% !important;
  text-align: center !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  font-size: 13px !important;
  margin: 0 0 5px 0 !important;
  color: #1cc9aa !important;
  text-transform: uppercase !important;
  display: block !important;
  border-style: none !important;
  background-image: none !important;
  padding: 0 !important;
}

/* Heading with crisp White and unified Sans-Serif font */
.centerSlider__item--content h3 {
  width: 100%;
  text-align: center;
  font-size: 20px;
  line-height: 28px;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

@media (min-width: 1024px) {
  .centerSlider__item--content h3 {
    font-size: 23px;
    line-height: 31px;
  }
  .swiper-slide-active .centerSlider__item--content h3 {
    font-size: 25px;
    line-height: 33px;
    margin-bottom: 14px !important;
  }
}

/* Feature lines with (>) chevron bullet icon matching reference */
.centerSlider__item--content p {
  font-size: 13px !important;
  line-height: 18px !important;
  margin: 0 auto 5px auto !important;
  width: 92% !important;
  padding: 4px 0 4px 24px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='7' stroke='%231cc9aa' stroke-width='1.2'/%3E%3Cpath d='M7 5.5L9.5 8L7 10.5' stroke='%231cc9aa' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left top 5px;
  background-size: 14px 14px;
  text-align: left !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.centerSlider__item--content p:last-child {
  border-bottom: none !important;
}

/* Nav Buttons: Refined circular buttons matching reference position & style */
.centerSlider .swiper-c-prev,
.centerSlider .swiper-c-next {
  position: absolute;
  height: 44px;
  width: 44px;
  top: 45%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid #006dd6;
  color: #006dd6;
  box-shadow: 0 6px 18px rgba(0, 109, 214, 0.14);
  opacity: 1;
  z-index: 25;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.centerSlider .swiper-c-prev svg,
.centerSlider .swiper-c-next svg {
  width: 18px;
  height: 18px;
  stroke: #006dd6;
  transition: transform 0.25s ease;
}

.centerSlider .swiper-c-prev svg path,
.centerSlider .swiper-c-next svg path {
  stroke-width: 1.8px !important;
}

.centerSlider .swiper-c-prev:hover,
.centerSlider .swiper-c-next:hover {
  background: linear-gradient(135deg, #006dd6 0%, #1cc9aa 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(28, 201, 170, 0.35);
}

.centerSlider .swiper-c-prev:hover svg,
.centerSlider .swiper-c-next:hover svg {
  stroke: #ffffff;
}

.centerSlider .swiper-c-prev {
  left: 12px;
}

.centerSlider .swiper-c-next {
  right: 12px;
}

.centerSlider .swiper-c-prev:hover {
  transform: translateY(-50%) scale(1.08);
}

.centerSlider .swiper-c-next:hover {
  transform: translateY(-50%) scale(1.08);
}

.centerSlider .swiper-c-prev:hover svg {
  transform: translateX(-2px);
}

.centerSlider .swiper-c-next:hover svg {
  transform: translateX(2px);
}

@media (min-width: 1024px) {
  .centerSlider .swiper-c-prev,
  .centerSlider .swiper-c-next {
    height: 50px;
    width: 50px;
    top: 42%;
  }
  .centerSlider .swiper-c-prev svg,
  .centerSlider .swiper-c-next svg {
    width: 20px;
    height: 20px;
  }
  .centerSlider .swiper-c-prev {
    left: 30.8%;
    transform: translate(-50%, -50%);
  }
  .centerSlider .swiper-c-next {
    right: 30.8%;
    transform: translate(50%, -50%);
  }
  .centerSlider .swiper-c-prev:hover {
    transform: translate(-50%, -50%) scale(1.08);
  }
  .centerSlider .swiper-c-next:hover {
    transform: translate(50%, -50%) scale(1.08);
  }
}


/* ==========================================================================
   22. Section Con Số Ấn Tượng (xc-home-count / bvjw-csat)
   ========================================================================== */
.xc-home-count,
.bvjw-csat {
  width: 100% !important;
  position: relative !important;
  padding: 0 !important;
  background: #ffffff !important;
}

.xc-home-count .xc-count-header-row {
  padding: 45px 15px 30px !important;
  margin-bottom: 0 !important;
}

.xc-home-count .xc-count-header-row p:empty {
  display: none !important;
}

.xc-count-badge {
  display: inline-block;
  background: rgba(0, 109, 214, 0.08);
  color: #006dd6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.xc-home-count .bvjw-main-csat-title {
  font-size: 34px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  color: #111827 !important;
  font-weight: 700 !important;
  text-transform: none !important;
  margin: 0 !important;
  letter-spacing: -0.01em;
}

.xc-home-count .bvjw-csat-banner-row {
  background: linear-gradient(135deg, #004e9e 0%, #006dd6 52%, #0d9488 100%) !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 45px 4% !important;
  margin: 0 auto !important;
}

.xc-home-count .bvjw-csat-col-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

#wrapper #main .xc-home-count .bvjw-csat-col-logo .img,
.xc-home-count .bvjw-csat-col-logo .img,
#image_308737251 {
  width: 130px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.xc-home-count .bvjw-csat-col-logo img {
  max-width: 130px !important;
  width: 100% !important;
  height: auto !important;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

.xc-home-count .bvjw-csat-item {
  color: #ffffff !important;
  border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
  padding: 10px 15px !important;
  text-align: center !important;
}

.xc-home-count .bvjw-csat-item.bvjw-csat-item-not-border {
  border-right: none !important;
}

.xc-home-count .bvjw-csat-item .icon-box-img {
  width: 60px !important;
  height: 60px !important;
  margin: 0 auto 12px auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xc-home-count .bvjw-csat-item .icon-box-img img {
  width: 52px !important;
  height: 52px !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
}

.xc-home-count .bvjw-csat-item .xc-count-num {
  font-size: 42px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.01em;
}

.xc-home-count .bvjw-csat-item .xc-count-desc {
  font-size: 15px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600 !important;
  margin: 0 !important;
  text-transform: none !important;
}

@media (max-width: 768px) {
  .xc-home-count .xc-count-header-row {
    padding: 35px 15px 22px !important;
  }
  .xc-home-count .bvjw-main-csat-title {
    font-size: 24px !important;
  }
  .xc-home-count .bvjw-csat-banner-row {
    padding: 32px 15px 20px 15px !important;
  }
  .xc-home-count .bvjw-csat-col-logo {
    margin-bottom: 24px;
  }
  .xc-home-count .bvjw-csat-item {
    border-right: none !important;
    margin-bottom: 18px;
  }
  .xc-home-count .bvjw-csat-col-last {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .xc-home-count .bvjw-csat-item .xc-count-num {
    font-size: 32px !important;
  }
}

/* ==========================================================================
   23. SECTION GIOI THIEU (xc-home-about) - MedFit Introduction
   ========================================================================== */
.xc-home-about {
  padding: 50px 0 !important;
  background-color: #f8fafc !important;
}

.xc-home-about .section-content {
  padding: 10px 20px;
}

.xc-home-about .row {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Cột trái: Video YouTube (nằm đè lên mép trái của khung gradient bên phải) */
.xc-home-about .row > .col:first-child,
.xc-home-about .xc-about-video-col {
  width: 50%;
  max-width: 50%;
  flex-basis: 50%;
  padding: 20px 20px 0 20px !important;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

.xc-home-about .row > .col:first-child > .col-inner,
.xc-home-about .xc-about-video-col > .col-inner {
  margin: 20px 0 !important;
  padding: 0 !important;
}

.xc-home-about .video {
  margin-bottom: 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #000000;
  position: relative;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16) !important;
}

.xc-home-about .video p {
  margin: 0 !important;
}

.xc-home-about .video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px !important;
}

/* Cột phải: Khung Gradient (Về chúng tôi + Nội dung + Nút Đọc thêm) */
.xc-home-about .row > .col:last-child,
.xc-home-about .xc-about-content-col {
  width: 50%;
  max-width: 50%;
  flex-basis: 50%;
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
  z-index: 1;
}

.xc-home-about .row > .col:last-child > .col-inner,
.xc-home-about .xc-about-content-col > .col-inner {
  background-image: linear-gradient(135deg, #1dd9bb 0%, #006dd6 100%);
  border-radius: 20px;
  margin-left: -50px !important;
  margin-right: -20px !important;
  padding: 36px 40px 36px 65px !important;
  box-shadow: 0 16px 40px rgba(0, 109, 214, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Tiêu đề h2 + Đường gạch ngang nhấn bên dưới */
.xc-home-about h2 {
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
}

.xc-home-about h2::after {
  content: "";
  display: block;
  width: 65px;
  border-top: 3px solid rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  margin-top: 14px;
}

/* Nội dung văn bản p */
.xc-home-about p {
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: 16.5px !important;
  line-height: 1.75 !important;
  text-align: justify !important;
  margin: 0 !important;
}

.xc-home-about p + p {
  margin-top: 12px !important;
}

/* Nút Đọc thêm đồng bộ tông màu thương hiệu MedFit */
.xc-home-about .button,
.xc-home-about a.button,
.xc-home-about .button.primary {
  align-self: flex-end !important;
  background-color: #ffffff !important;
  border: 1.5px solid #ffffff !important;
  border-radius: 50px !important;
  color: #006dd6 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 11px 28px !important;
  margin: 18px 0 0 auto !important;
  box-shadow: 0 6px 18px rgba(0, 42, 92, 0.18) !important;
  display: inline-block !important;
  width: auto !important;
  transition: all 0.25s ease !important;
}

.xc-home-about .button span {
  color: #006dd6 !important;
}

.xc-home-about .button:hover,
.xc-home-about a.button:hover,
.xc-home-about .button.primary:hover {
  background-color: #1dd9bb !important;
  border-color: #1dd9bb !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.xc-home-about .button:hover span {
  color: #ffffff !important;
}

/* Responsive Tablet & Mobile */
@media (max-width: 991px) {
  .xc-home-about {
    padding: 30px 0 !important;
  }

  .xc-home-about .section-content {
    padding: 0 !important;
  }

  .xc-home-about .row {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .xc-home-about .row > .col:first-child,
  .xc-home-about .xc-about-video-col,
  .xc-home-about .row > .col:last-child,
  .xc-home-about .xc-about-content-col {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
    padding: 0 15px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .xc-home-about .row > .col:first-child > .col-inner,
  .xc-home-about .xc-about-video-col > .col-inner {
    margin: 15px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .xc-home-about .row > .col:last-child > .col-inner,
  .xc-home-about .xc-about-content-col > .col-inner {
    margin: 0 0 15px 0 !important;
    padding: 26px 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .xc-home-about h2 {
    font-size: 24px !important;
  }

  .xc-home-about p {
    font-size: 15.5px !important;
  }

  .xc-home-about .button,
  .xc-home-about a.button,
  .xc-home-about .button.primary {
    margin-top: 18px !important;
  }
}

/* ==========================================================================
   23B. SECTION 8 LY DO LUA CHON GIAM CAN TAI MEDFIT (xc-home-why)
   ========================================================================== */
.xc-home-why {
  padding: 20px 0 40px 0 !important;
  background-color: #fafafa;
}

.xc-home-why .section-content {
  padding: 0 20px;
}

/* Row 1: Khung tiêu đề bo tròn viền ngọc #1dd9bb + đổ bóng xanh #006dd6 */
.xc-home-why .row:first-of-type {
  max-width: 1200px !important;
  margin: 20px auto 0 auto !important;
  border-style: solid;
  border-width: 0px 0px 5px 2px;
  border-color: rgb(29, 217, 187);
  border-radius: 50px;
  box-shadow: rgb(0, 109, 214) -2px 5px 0px 0px;
  background-clip: border-box;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 !important;
}

.xc-home-why .row:first-of-type > .col:first-child {
  width: 88% !important;
  max-width: 88% !important;
  flex-basis: 88% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-why .row:first-of-type > .col:first-child > .col-inner {
  margin: 20px 20px 20px 100px !important;
  padding: 0 !important;
}

.xc-home-why .row:first-of-type h2 {
  color: rgb(0, 109, 214) !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 !important;
}

.xc-home-why .row:first-of-type > .col:last-child {
  width: 12% !important;
  max-width: 12% !important;
  flex-basis: 12% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-why .row:first-of-type > .col:last-child > .col-inner {
  margin: -30px 50px 10px 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

.xc-home-why .row:first-of-type > .col:last-child .img {
  width: 120px !important;
  max-width: 100% !important;
  margin: 0 0 0 auto !important;
  display: inline-block !important;
}

.xc-home-why .row:first-of-type > .col:last-child .img img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Row 2: Cột trái Slide + Cột phải Danh sách 8 lý do */
.xc-home-why .row:last-of-type {
  max-width: 1200px !important;
  margin: 20px auto 0 auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
}

.xc-home-why .row:last-of-type > .col:first-child {
  width: 50% !important;
  max-width: 50% !important;
  flex-basis: 50% !important;
  padding: 0 20px !important;
  margin: 0 !important;
}

.xc-home-why .row:last-of-type > .col:first-child > .col-inner {
  margin: 40px 0 20px 0 !important;
  padding: 0 !important;
}

.xc-home-why .slider-wrapper {
  max-width: 446px !important;
  margin: 0 auto !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}

.xc-home-why .ux-slider,
.xc-home-why .ux-slider .img,
.xc-home-why .ux-slider .img-inner,
.xc-home-why .ux-slider img {
  border-radius: 20px !important;
}

.xc-home-why .ux-slider .img {
  margin-bottom: 0 !important;
}

.xc-home-why .ux-slider img {
  width: 100% !important;
  height: 499px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Fix Prev/Next Arrows in xc-home-why Slider */
.xc-home-why .ux-slider .flickity-prev-next-button,
.xc-home-why .ux-slider .flickity-prev-next-button:hover {
  opacity: 1 !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14) !important;
  color: #006dd6 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 15 !important;
}

.xc-home-why .ux-slider .flickity-prev-next-button:hover {
  background-color: #006dd6 !important;
  border-color: #006dd6 !important;
  color: #ffffff !important;
}

.xc-home-why .ux-slider .flickity-prev-next-button svg,
.xc-home-why .ux-slider .flickity-prev-next-button:hover svg {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  fill: currentColor !important;
  display: block !important;
}

.xc-home-why .ux-slider .flickity-prev-next-button.previous {
  left: 12px !important;
  right: auto !important;
}

.xc-home-why .ux-slider .flickity-prev-next-button.next {
  right: 12px !important;
  left: auto !important;
}

/* Cột phải: Danh sách đánh số 1 - 8 (ol > li, không dùng div) */
.xc-home-why .row:last-of-type > .col:last-child {
  width: 50% !important;
  max-width: 50% !important;
  flex-basis: 50% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-why .row:last-of-type > .col:last-child > .col-inner {
  margin: 0 !important;
  padding: 0 !important;
}

.xc-home-why ol {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  counter-reset: why-counter;
}

.xc-home-why ol li {
  counter-increment: why-counter;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 0 18px 0 !important;
  color: #22323d !important;
  font-size: 16.5px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  text-align: justify !important;
}

.xc-home-why ol li:last-child {
  padding-bottom: 0 !important;
}

.xc-home-why ol li::before {
  content: counter(why-counter);
  flex: 0 0 35px !important;
  width: 35px !important;
  height: 35px !important;
  line-height: 35px !important;
  border-radius: 50% !important;
  background-color: rgb(29, 217, 187) !important;
  color: #ffffff !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Responsive Tablet & Mobile */
@media (max-width: 1200px) {
  .xc-home-why .row:first-of-type > .col:first-child > .col-inner {
    margin-left: 120px !important;
  }
}

@media (max-width: 992px) {
  .xc-home-why .row:first-of-type {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 15px auto 0 auto !important;
    padding: 14px 18px !important;
    box-sizing: border-box !important;
    box-shadow: rgb(0, 109, 214) -2px 5px 0px 0px;
  }

  .xc-home-why .row:first-of-type > .col:first-child {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .xc-home-why .row:first-of-type > .col:first-child > .col-inner {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .xc-home-why .row:first-of-type h2 {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .xc-home-why .row:first-of-type > .col:last-child {
    display: none !important;
  }

  .xc-home-why .row:last-of-type > .col:first-child,
  .xc-home-why .row:last-of-type > .col:last-child {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
  }

  .xc-home-why .row:last-of-type > .col:first-child > .col-inner {
    margin-top: 20px !important;
  }
}

@media (max-width: 768px) {
  .xc-home-why .section-content {
    padding: 0 12px !important;
  }

  .xc-home-why .row:first-of-type {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px auto 0 auto !important;
    padding: 12px 16px !important;
    border-radius: 26px !important;
    box-sizing: border-box !important;
  }

  .xc-home-why .row:first-of-type h2 {
    font-size: 17.5px !important;
    margin: 0 !important;
  }

  .xc-home-why .ux-slider img {
    height: auto !important;
  }

  .xc-home-why ol li {
    font-size: 15.5px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    gap: 14px !important;
  }
}

/* ==========================================================================
   SECTION HOME VOUCHER (xc-home-voucher) - ZERO DIV
   ========================================================================== */
.xc-home-voucher {
  background-color: rgb(250, 250, 250) !important;
  padding: 25px 0 40px 0 !important;
}

.xc-home-voucher .section-content {
  z-index: 1;
}

.xc-home-voucher .row {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

/* Cột trái 4/12: Ảnh Voucher */
.xc-home-voucher .row > .col:first-child {
  padding: 0 15px !important;
  margin: 0 !important;
}

.xc-home-voucher .row > .col:first-child > .col-inner {
  text-align: center !important;
}

.xc-home-voucher .row > .col:first-child .img {
  border: 1px solid rgb(29, 217, 187) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  margin-bottom: 0 !important;
}

.xc-home-voucher .row > .col:first-child .img .img-inner,
.xc-home-voucher .row > .col:first-child .img img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 20px !important;
}

/* Cột phải 8/12: Text + Form đăng ký */
.xc-home-voucher .row > .col:last-child {
  padding: 0 20px !important;
  margin: 0 !important;
}

/* Đoạn text tiêu đề trên form */
.xc-home-voucher .row > .col:last-child > .col-inner > p:first-of-type {
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  text-align: center !important;
  color: rgb(34, 50, 61) !important;
  margin: 0 0 22px 0 !important;
}

/* Contact Form 7 */
.xc-home-voucher .wpcf7 {
  padding: 0 15px !important;
}

.xc-home-voucher .wpcf7-form,
.xc-home-voucher .medfit-cf7-flat {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin: 0 !important;
}

.xc-home-voucher .medfit-cf7-flat .form-row,
.xc-home-voucher .wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.xc-home-voucher .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
}

.xc-home-voucher .wpcf7-form input[type="text"],
.xc-home-voucher .wpcf7-form input[type="email"],
.xc-home-voucher .wpcf7-form input[type="tel"],
.xc-home-voucher .medfit-cf7-flat .medfit-input {
  width: 100% !important;
  height: 58px !important;
  padding: 0 20px !important;
  margin: 0 !important;
  border: 1.5px solid rgb(217, 232, 245) !important;
  border-radius: 12px !important;
  background-color: #ffffff !important;
  color: rgb(0, 109, 214) !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  box-shadow: rgba(0, 109, 214, 0.06) 0px 5px 18px !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.xc-home-voucher .wpcf7-form input[type="text"]::placeholder,
.xc-home-voucher .wpcf7-form input[type="email"]::placeholder,
.xc-home-voucher .wpcf7-form input[type="tel"]::placeholder,
.xc-home-voucher .medfit-cf7-flat .medfit-input::placeholder {
  color: rgb(123, 145, 165) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

.xc-home-voucher .wpcf7-form input[type="text"]:focus,
.xc-home-voucher .wpcf7-form input[type="email"]:focus,
.xc-home-voucher .wpcf7-form input[type="tel"]:focus,
.xc-home-voucher .medfit-cf7-flat .medfit-input:focus {
  border-color: rgb(29, 217, 187) !important;
  background-color: #ffffff !important;
  box-shadow: rgba(29, 217, 187, 0.12) 0px 0px 0px 3px, rgba(0, 109, 214, 0.1) 0px 8px 24px !important;
  transform: translateY(-1px) !important;
  outline: none !important;
}

/* Nút ĐĂNG KÝ */
.xc-home-voucher .wpcf7-form input[type="submit"],
.xc-home-voucher .wpcf7-form input[type="submit"].has-spinner,
.xc-home-voucher .medfit-cf7-flat .submit-row .medfit-submit-btn {
  width: 100% !important;
  height: 58px !important;
  margin: 4px 0 0 0 !important;
  padding: 0 25px !important;
  border: none !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, rgb(0, 109, 214) 0%, rgb(8, 127, 212) 45%, rgb(29, 217, 187) 100%) !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: rgba(0, 109, 214, 0.2) 0px 8px 22px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.xc-home-voucher .wpcf7-form input[type="submit"]:hover,
.xc-home-voucher .wpcf7-form input[type="submit"].has-spinner:hover,
.xc-home-voucher .medfit-cf7-flat .submit-row .medfit-submit-btn:hover {
  background: linear-gradient(135deg, rgb(0, 91, 181) 0%, rgb(0, 109, 214) 50%, rgb(23, 195, 168) 100%) !important;
  box-shadow: rgba(0, 109, 214, 0.28) 0px 12px 28px !important;
  transform: translateY(-2px) !important;
}

.xc-home-voucher .wpcf7-spinner {
  display: none !important;
}

/* Ghi chú (* Voucher chỉ áp dụng...) */
.xc-home-voucher .row > .col:last-child > .col-inner > p:last-of-type {
  font-size: 16.5px !important;
  line-height: 1.5 !important;
  text-align: center !important;
  color: rgb(34, 50, 61) !important;
  margin: 18px 0 0 0 !important;
}

/* Responsive Tablet & Mobile */
@media (max-width: 992px) {
  .xc-home-voucher .row > .col:last-child > .col-inner > p:first-of-type {
    font-size: 21px !important;
  }

  .xc-home-voucher .wpcf7-form input[type="text"],
  .xc-home-voucher .wpcf7-form input[type="email"],
  .xc-home-voucher .wpcf7-form input[type="tel"],
  .xc-home-voucher .medfit-cf7-flat .medfit-input,
  .xc-home-voucher .wpcf7-form input[type="submit"],
  .xc-home-voucher .wpcf7-form input[type="submit"].has-spinner,
  .xc-home-voucher .medfit-cf7-flat .submit-row .medfit-submit-btn {
    height: 52px !important;
    font-size: 16px !important;
  }

  .xc-home-voucher .wpcf7-form input[type="text"]::placeholder,
  .xc-home-voucher .wpcf7-form input[type="email"]::placeholder,
  .xc-home-voucher .wpcf7-form input[type="tel"]::placeholder,
  .xc-home-voucher .medfit-cf7-flat .medfit-input::placeholder {
    font-size: 16px !important;
  }

  .xc-home-voucher .row > .col:last-child > .col-inner > p:last-of-type {
    font-size: 15px !important;
  }
}

@media (max-width: 768px) {
  .xc-home-voucher .row > .col:first-child {
    margin-bottom: 22px !important;
  }

  .xc-home-voucher .wpcf7 {
    padding: 0 !important;
  }

  .xc-home-voucher .row > .col:last-child > .col-inner > p:first-of-type {
    font-size: 19px !important;
  }
}

/* ==========================================================================
   SECTION HOME BMI, BMR, TDEE CALCULATOR (xc-home-bmi) - ZERO DIV
   ========================================================================== */
.xc-home-bmi {
  background-color: rgb(250, 250, 250) !important;
  padding: 20px 0 40px 0 !important;
}

.xc-home-bmi .section-content {
  z-index: 1;
}

/* Row 1: Khung tiêu đề bo tròn viền xanh ngọc + bóng xanh dương (thống nhất toàn web) */
.xc-home-bmi .row:first-of-type {
  max-width: 1160px !important;
  margin: 20px auto 0 auto !important;
  padding: 0 !important;
  background-color: #ffffff !important;
  border-style: solid !important;
  border-width: 0px 0px 5px 2px !important;
  border-color: rgb(29, 217, 187) !important;
  border-radius: 50px !important;
  box-shadow: rgb(0, 109, 214) -2px 5px 0px 0px;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.xc-home-bmi .row:first-of-type > .col:first-child {
  width: 88% !important;
  max-width: 88% !important;
  flex-basis: 88% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-bmi .row:first-of-type > .col:first-child > .col-inner {
  margin: 20px 20px 20px 100px !important;
  padding: 0 !important;
}

.xc-home-bmi .row:first-of-type h2 {
  color: rgb(0, 109, 214) !important;
  font-family: inherit !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 !important;
}

.xc-home-bmi .row:first-of-type > .col:last-child {
  width: 12% !important;
  max-width: 12% !important;
  flex-basis: 12% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-bmi .row:first-of-type > .col:last-child > .col-inner {
  margin: -10px 50px 10px 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

.xc-home-bmi .row:first-of-type > .col:last-child .img {
  width: 120px !important;
  max-width: 100% !important;
  margin: 0 0 0 auto !important;
  display: inline-block !important;
}

.xc-home-bmi .row:first-of-type > .col:last-child .img img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Row 2: Khung trắng viền xanh ngọc chứa Banner + Form tính BMI, BMR, TDEE */
.xc-home-bmi .row:last-of-type {
  max-width: 1200px !important;
  margin: 10px auto 0 auto !important;
  padding: 10px !important;
}

.xc-home-bmi .row:last-of-type > .col {
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-bmi .row:last-of-type > .col > .col-inner {
  background-color: #ffffff !important;
  border: 1px solid rgb(29, 217, 187) !important;
  border-radius: 20px !important;
  margin: 20px !important;
  padding: 0 0 25px 0 !important;
  overflow: hidden !important;
}

.xc-home-bmi .row:last-of-type .img {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.xc-home-bmi .row:last-of-type .img .img-inner,
.xc-home-bmi .row:last-of-type .img img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 20px 20px 0 0 !important;
}

/* Form tính BMI, BMR, TDEE */
.xc-home-bmi .tdee-calc-form {
  margin: 15px 0 0 30px !important;
  padding: 0 30px 0 0 !important;
  width: calc(100% - 30px) !important;
}

.xc-home-bmi .tdee-calc-form fieldset.row-one,
.xc-home-bmi .tdee-calc-form fieldset.row-two {
  border: none !important;
  margin: 0 !important;
  padding: 5px 20px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.xc-home-bmi .tdee-calc-form .text {
  display: inline-block !important;
  margin: 5px !important;
  color: rgb(34, 50, 61) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

.xc-home-bmi .tdee-calc-form .text-input {
  width: 58px !important;
  height: 40px !important;
  text-align: center !important;
  padding: 5px 10px !important;
  margin: 6px 0 !important;
  border-radius: 10px !important;
  border: 1px solid rgb(221, 221, 221) !important;
  background-color: rgb(250, 250, 250) !important;
  color: rgb(102, 102, 102) !important;
  font-size: 16px !important;
  box-shadow: none !important;
}

.xc-home-bmi .tdee-calc-form .text-input:focus {
  border-color: rgb(0, 109, 214) !important;
  background-color: #ffffff !important;
  color: rgb(17, 17, 17) !important;
}

.xc-home-bmi .tdee-calc-form select#activity {
  width: 100% !important;
  max-width: 620px !important;
  height: 42px !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  border: 1px solid rgb(221, 221, 221) !important;
  background-color: rgb(250, 250, 250) !important;
  font-size: 14px !important;
  color: rgb(102, 102, 102) !important;
  margin: 6px 0 !important;
}

.xc-home-bmi .tdee-calc-form select#exerciseIntensity {
  width: 100% !important;
  max-width: 600px !important;
  height: 42px !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  border: 1px solid rgb(221, 221, 221) !important;
  background-color: rgb(250, 250, 250) !important;
  font-size: 14px !important;
  color: rgb(102, 102, 102) !important;
  margin: 6px 0 !important;
}

.xc-home-bmi .tdee-calc-form select#activity:focus,
.xc-home-bmi .tdee-calc-form select#exerciseIntensity:focus {
  border-color: rgb(0, 109, 214) !important;
  background-color: #ffffff !important;
  outline: none !important;
}

.xc-home-bmi .tdee-calc-form label.container {
  display: inline-flex !important;
  align-items: center !important;
  position: relative !important;
  padding-left: 30px !important;
  margin-right: 12px !important;
  cursor: pointer !important;
  user-select: none !important;
  width: auto !important;
  min-height: auto !important;
}

.xc-home-bmi .tdee-calc-form .container .checkmark {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: 25px !important;
  width: 25px !important;
  background-color: rgb(250, 250, 250) !important;
  border: 1px solid rgb(221, 221, 221) !important;
  border-radius: 50% !important;
}

.xc-home-bmi .tdee-calc-form .container:hover input ~ .checkmark {
  background-color: rgb(203, 231, 253) !important;
}

.xc-home-bmi .tdee-calc-form .container input:checked ~ .checkmark {
  background-color: rgb(0, 109, 214) !important;
  border-color: rgb(0, 109, 214) !important;
}

.xc-home-bmi .tdee-calc-form .container .checkmark::after {
  left: 8px !important;
  top: 4px !important;
  width: 6px !important;
  height: 12px !important;
}

.xc-home-bmi .tdee-calc-form button#submit {
  border: none !important;
  border-radius: 50px !important;
  height: 44px !important;
  line-height: 44px !important;
  width: auto !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  background: linear-gradient(135deg, #006dd6 0%, #1dd9bb 100%) !important;
  color: #ffffff !important;
  padding: 0 32px !important;
  margin: 18px auto 0 auto !important;
  display: block !important;
  outline: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(0, 109, 214, 0.22) !important;
  transition: all 0.25s ease !important;
}

.xc-home-bmi .tdee-calc-form button#submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(0, 109, 214, 0.3) !important;
  color: #ffffff !important;
}

.xc-home-bmi output#result {
  display: block !important;
  padding: 0 20px !important;
}

/* Responsive Tablet & Mobile */
@media (max-width: 1200px) {
  .xc-home-bmi .row:first-of-type > .col:first-child > .col-inner {
    margin-left: 120px !important;
  }

  .xc-home-bmi .tdee-calc-form {
    margin-left: 60px !important;
    width: calc(100% - 60px) !important;
  }
}

@media (max-width: 992px) {
  .xc-home-bmi .row:first-of-type {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 15px auto 0 auto !important;
    padding: 14px 18px !important;
    box-sizing: border-box !important;
    box-shadow: rgb(0, 109, 214) -2px 5px 0px 0px;
  }

  .xc-home-bmi .row:first-of-type > .col:first-child {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .xc-home-bmi .row:first-of-type > .col:first-child > .col-inner {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .xc-home-bmi .row:first-of-type h2 {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .xc-home-bmi .row:first-of-type > .col:last-child {
    display: none !important;
  }

  .xc-home-bmi .row:last-of-type > .col > .col-inner {
    margin: 10px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .xc-home-bmi .tdee-calc-form {
    margin-left: 20px !important;
    width: calc(100% - 20px) !important;
  }
}

@media (max-width: 768px) {
  .xc-home-bmi .row:first-of-type {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 10px auto 0 auto !important;
    padding: 12px 16px !important;
    border-radius: 26px !important;
    box-sizing: border-box !important;
  }

  .xc-home-bmi .row:first-of-type h2 {
    font-size: 17.5px !important;
    margin: 0 !important;
  }

  .xc-home-bmi .row:last-of-type {
    padding: 10px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px auto 0 auto !important;
    box-sizing: border-box !important;
  }

  .xc-home-bmi .row:last-of-type > .col > .col-inner {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .xc-home-bmi .tdee-calc-form {
    margin-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .xc-home-bmi .tdee-calc-form fieldset.row-one,
  .xc-home-bmi .tdee-calc-form fieldset.row-two {
    padding: 5px 12px !important;
  }

  .xc-home-bmi .tdee-calc-form .text {
    font-size: 15.5px !important;
  }
}

/* ==========================================================================
   SECTION HOME REJUVLAB (xc-home-rejuvlab) - ZERO DIV
   ========================================================================== */
.xc-home-rejuvlab {
  background-color: rgb(250, 250, 250) !important;
  padding: 20px 0 40px 0 !important;
}

.xc-home-rejuvlab .section-content {
  z-index: 1;
}

/* Row 1: Khung tiêu đề nền box-background.webp viền cam bo tròn 50px */
.xc-home-rejuvlab .row:nth-of-type(1) {
  max-width: 1200px !important;
  margin: 10px auto 20px auto !important;
  padding: 0 20px !important;
}

.xc-home-rejuvlab .row:nth-of-type(1) > .col {
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-rejuvlab .row:nth-of-type(1) > .col > .col-inner {
  background-image: url("/wp-content/uploads/2026/10/box-background.webp") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  border: 2px solid rgb(255, 171, 94) !important;
  border-radius: 50px !important;
  padding: 20px !important;
}

.xc-home-rejuvlab .row:nth-of-type(1) h2 {
  color: rgb(0, 109, 214) !important;
  font-family: inherit !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Row 2: Cột trái Logo RejuvLab (3/12) + Cột phải đoạn giới thiệu nền hồng gradient (9/12) */
.xc-home-rejuvlab .row:nth-of-type(2) {
  max-width: 1200px !important;
  margin: 0 auto 15px auto !important;
  padding: 0 20px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.xc-home-rejuvlab .row:nth-of-type(2) > .col:first-child {
  padding: 0 20px !important;
  margin: 0 !important;
}

.xc-home-rejuvlab .row:nth-of-type(2) > .col:first-child .img {
  margin: 0 auto !important;
  text-align: center !important;
}

.xc-home-rejuvlab .row:nth-of-type(2) > .col:first-child .img img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.xc-home-rejuvlab .row:nth-of-type(2) > .col:last-child {
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-rejuvlab .row:nth-of-type(2) > .col:last-child > .col-inner {
  background-image: linear-gradient(90deg, rgb(224, 0, 114) 0%, rgba(224, 0, 114, 0.55) 100%) !important;
  border-radius: 20px !important;
  padding: 22px 26px !important;
}

.xc-home-rejuvlab .row:nth-of-type(2) > .col:last-child p {
  color: #ffffff !important;
  font-size: 16.5px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  text-align: justify !important;
  margin: 0 !important;
}

/* Row 3 & Row 4: Lưới 4 cột dùng ux_image_box */
.xc-home-rejuvlab .row:nth-of-type(3),
.xc-home-rejuvlab .row:nth-of-type(4) {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 10px !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

.xc-home-rejuvlab .row:nth-of-type(3) > .col,
.xc-home-rejuvlab .row:nth-of-type(4) > .col {
  padding: 12px !important;
  margin: 0 !important;
}

.xc-home-rejuvlab .box {
  margin: 0 !important;
}

.xc-home-rejuvlab .box-image {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
}

.xc-home-rejuvlab .box-image img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

.xc-home-rejuvlab .box:hover .box-image img {
  transform: scale(1.04) !important;
}

.xc-home-rejuvlab .box-text {
  display: none !important;
}

/* Responsive Tablet & Mobile */
@media (max-width: 992px) {
  .xc-home-rejuvlab .row:nth-of-type(2) > .col:first-child {
    display: none !important;
  }

  .xc-home-rejuvlab .row:nth-of-type(2) > .col:last-child {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
  }
}

@media (max-width: 768px) {
  .xc-home-rejuvlab .row:nth-of-type(1) > .col > .col-inner {
    border-radius: 30px !important;
    padding: 14px 12px !important;
  }

  .xc-home-rejuvlab .row:nth-of-type(1) h2 {
    font-size: 18px !important;
  }

  .xc-home-rejuvlab .row:nth-of-type(2) > .col:last-child > .col-inner {
    padding: 18px 20px !important;
  }

  .xc-home-rejuvlab .row:nth-of-type(2) > .col:last-child p {
    font-size: 15.5px !important;
  }

  .xc-home-rejuvlab .row:nth-of-type(3) > .col,
  .xc-home-rejuvlab .row:nth-of-type(4) > .col {
    padding: 8px !important;
  }
}

/* ==========================================================================
   24. SECTION TAM NHIN - SU MENH - PHUONG CHAM (xc-home-vm)
   ========================================================================== */
.xc-home-vm {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  padding: 65px 0 75px 0 !important;
  position: relative;
}

.xc-home-vm .xc-vm-title-row {
  max-width: 1200px !important;
  margin: 0 auto 38px auto !important;
}

.xc-home-vm .xc-vm-title-row p:empty {
  display: none !important;
}

.xc-vm-badge {
  display: inline-block;
  background: rgba(0, 109, 214, 0.08);
  color: #006dd6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.xc-vm-heading,
.xc-vm-title {
  font-size: 34px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  line-height: 1.3 !important;
  margin: 0 0 12px 0 !important;
  font-family: inherit;
}

.xc-vm-subheading,
.xc-vm-subtitle {
  max-width: 780px;
  margin: 0 auto !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
}

/* Row & Columns for 3 Vision/Mission/Motto Cards */
.xc-home-vm .xc-vm-row {
  max-width: 1220px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

.xc-home-vm .xc-vm-col {
  display: flex !important;
  padding: 0 12px 24px 12px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.xc-home-vm .xc-vm-col > .col-inner {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 34px 28px !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05) !important;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.xc-home-vm .xc-vm-col > .col-inner > p:empty {
  display: none !important;
  margin: 0 !important;
}

.xc-home-vm .xc-vm-col > .col-inner > p:has(.xc-vm-card-num),
.xc-home-vm .xc-vm-col > .col-inner > p:has(.xc-vm-icon-box) {
  margin: 0 !important;
}

.xc-home-vm .xc-vm-col > .col-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #1dd9bb 0%, #006dd6 100%);
  transition: width 0.35s ease;
}

.xc-home-vm .xc-vm-col > .col-inner:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(29, 217, 187, 0.55) !important;
  box-shadow: 0 18px 38px rgba(0, 109, 214, 0.1) !important;
}

.xc-home-vm .xc-vm-col > .col-inner:hover::before {
  width: 100%;
}

.xc-vm-card-num {
  position: absolute !important;
  top: 18px !important;
  right: 22px !important;
  font-size: 52px !important;
  font-weight: 800 !important;
  color: rgba(0, 109, 214, 0.07) !important;
  line-height: 1 !important;
  pointer-events: none;
  font-family: inherit;
  transition: color 0.35s ease;
}

.xc-home-vm .xc-vm-col > .col-inner:hover .xc-vm-card-num {
  color: rgba(0, 109, 214, 0.13) !important;
}

.xc-vm-icon-box {
  width: 60px !important;
  height: 60px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(29, 217, 187, 0.14) 0%, rgba(0, 109, 214, 0.12) 100%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
  transition: transform 0.35s ease, background 0.35s ease !important;
}

.xc-vm-icon-box i {
  display: none !important;
}

.xc-vm-icon-box::before {
  content: "" !important;
  width: 28px !important;
  height: 28px !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006dd6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
}

.xc-home-vm .xc-vm-col:nth-child(2) .xc-vm-icon-box::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006dd6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E") !important;
}

.xc-home-vm .xc-vm-col:nth-child(3) .xc-vm-icon-box::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006dd6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") !important;
}

.xc-home-vm .xc-vm-col > .col-inner:hover .xc-vm-icon-box {
  transform: scale(1.06);
  background: linear-gradient(135deg, #1dd9bb 0%, #006dd6 100%) !important;
}

.xc-home-vm .xc-vm-col:nth-child(1) > .col-inner:hover .xc-vm-icon-box::before {
  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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
}

.xc-home-vm .xc-vm-col:nth-child(2) > .col-inner:hover .xc-vm-icon-box::before {
  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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E") !important;
}

.xc-home-vm .xc-vm-col:nth-child(3) > .col-inner:hover .xc-vm-icon-box::before {
  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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") !important;
}

.xc-vm-card-title {
  font-size: 19.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 12px 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-family: inherit;
}

.xc-vm-card-text {
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  color: #475569 !important;
  text-align: justify !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .xc-home-vm {
    padding: 45px 0 50px 0 !important;
  }
  .xc-home-vm .xc-vm-title-row {
    margin-bottom: 26px !important;
  }
  .xc-vm-heading,
  .xc-vm-title {
    font-size: 24px !important;
  }
  .xc-vm-subheading,
  .xc-vm-subtitle {
    font-size: 14.5px !important;
  }
  .xc-home-vm .xc-vm-col {
    padding: 0 10px 18px 10px !important;
  }
  .xc-home-vm .xc-vm-col > .col-inner {
    padding: 26px 22px !important;
  }
}

/* ==========================================================================
   25. SECTION HE THONG CONG NGHE (xc-home-tech) - Matched with xc-home-team
   ========================================================================== */
.xc-home-tech {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
  padding: 65px 0 75px 0 !important;
  position: relative;
}

.xc-home-tech .xc-tech-title-row {
  max-width: 1200px !important;
  margin: 0 auto 38px auto !important;
}

.xc-home-tech .xc-tech-title-row p:empty {
  display: none !important;
}

.xc-tech-badge {
  display: inline-block;
  background: rgba(0, 109, 214, 0.08);
  color: #006dd6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.xc-tech-heading {
  font-size: 34px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  line-height: 1.3 !important;
  margin: 0 0 12px 0 !important;
  font-family: inherit;
}

.xc-tech-subheading,
.xc-tech-subtitle {
  max-width: 780px;
  margin: 0 auto !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #64748b !important;
}

/* Row & Columns containing the technology ux_image_box cards */
.xc-home-tech .xc-tech-row {
  max-width: 1220px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

.xc-home-tech .xc-tech-col {
  display: flex !important;
  padding: 0 12px 24px 12px !important;
  margin: 0 !important;
}

.xc-home-tech .xc-tech-col > .col-inner {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
}

/* Image Box Card (.xc-tech-card) - same border/shadow/radius as .xc-team-card */
.xc-home-tech .xc-tech-card {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.xc-home-tech .xc-tech-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 38px rgba(0, 109, 214, 0.1) !important;
  border-color: rgba(29, 217, 187, 0.55) !important;
}

/* Image inside ux_image_box - rounded top-left & top-right */
.xc-home-tech .xc-tech-card .box-image {
  position: relative !important;
  width: 100% !important;
  border-radius: 17px 17px 0 0 !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #eef6ff 0%, #f8fafc 100%) !important;
  margin: 0 !important;
}

.xc-home-tech .xc-tech-card .box-image img {
  width: 100% !important;
  height: 270px !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
  border-radius: 17px 17px 0 0 !important;
  transition: transform 0.4s ease !important;
}

.xc-home-tech .xc-tech-card:hover .box-image img {
  transform: scale(1.03) !important;
}

/* Box Text container (position: static so cert badge anchors to .xc-tech-card top-left) */
.xc-home-tech .xc-tech-card .box-text {
  position: static !important;
  padding: 20px 22px 22px 22px !important;
  text-align: left !important;
  background-color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

.xc-home-tech .xc-tech-card .box-text-inner {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
}

.xc-home-tech .xc-tech-card .box-text-inner > p:empty {
  display: none !important;
  margin: 0 !important;
}

/* Certification Badge inside image top-left (same as .xc-team-role-tag) */
.xc-home-tech .xc-tech-cert {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 6 !important;
  display: inline-block !important;
  padding: 6px 14px !important;
  border-radius: 50px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  background-color: rgba(15, 118, 110, 0.92) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16) !important;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.xc-home-tech .xc-tech-col:nth-child(2) .xc-tech-cert {
  background-color: rgba(51, 65, 85, 0.92) !important;
}

.xc-home-tech .xc-tech-col:nth-child(3) .xc-tech-cert {
  background-color: rgba(3, 105, 161, 0.92) !important;
}

.xc-home-tech .xc-tech-col:nth-child(4) .xc-tech-cert {
  background-color: rgba(0, 109, 214, 0.92) !important;
}

/* Technology Name (h3.xc-tech-title) */
.xc-home-tech .xc-tech-title {
  font-size: 19.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  margin: 0 0 6px 0 !important;
  text-align: left !important;
  font-family: inherit;
}

/* Origin / Brand Line (.xc-tech-origin) */
.xc-home-tech .xc-tech-origin {
  display: block !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #0d9488 !important;
  letter-spacing: 0.4px !important;
  line-height: 1.45 !important;
  margin: 0 0 12px 0 !important;
  text-align: left !important;
  text-transform: uppercase !important;
}

.xc-home-tech .xc-tech-card .box-text-inner > p:has(.xc-tech-origin),
.xc-home-tech .xc-tech-card .box-text-inner > p:has(.xc-tech-cert),
.xc-home-tech .xc-tech-card .box-text-inner > p:has(.xc-tech-app) {
  margin: 0 !important;
}

/* Description Paragraph (.xc-tech-desc) */
.xc-home-tech .xc-tech-desc {
  font-size: 13.6px !important;
  line-height: 1.65 !important;
  color: #475569 !important;
  margin: 0 0 16px 0 !important;
  text-align: left !important;
  flex: 1 1 auto !important;
}

/* Application Line at Bottom (.xc-tech-app) */
.xc-home-tech .xc-tech-app {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 12.6px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: #334155 !important;
  padding: 13px 0 0 0 !important;
  margin: auto 0 0 0 !important;
  border-top: 1px solid #f1f5f9 !important;
  text-align: left !important;
}

.xc-home-tech .xc-tech-app::before {
  content: "" !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  margin-top: 2px !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E") !important;
}

/* Responsive */
@media (max-width: 992px) {
  .xc-home-tech .xc-tech-heading {
    font-size: 28px !important;
  }
  .xc-home-tech .xc-tech-col {
    padding: 0 10px 20px 10px !important;
  }
}

@media (max-width: 768px) {
  .xc-home-tech {
    padding: 45px 0 50px 0 !important;
  }
  .xc-home-tech .xc-tech-title-row {
    margin-bottom: 26px !important;
  }
  .xc-home-tech .xc-tech-heading {
    font-size: 24px !important;
  }
  .xc-home-tech .xc-tech-subheading {
    font-size: 14.5px !important;
  }
  .xc-home-tech .xc-tech-card .box-image img {
    height: 240px !important;
  }
}

/* ==========================================================================
   26. SECTION CO SO VAT CHAT (xc-home-facilities) - Image Box Slider
   ========================================================================== */
.xc-home-facilities {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
  padding: 65px 0 80px 0 !important;
  position: relative;
  overflow: hidden;
}

.xc-home-facilities::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #006dd6 25%, #1dd9bb 50%, #006dd6 75%, transparent 100%);
}

.xc-home-facilities .xc-facilities-header-row {
  max-width: 1200px !important;
  margin: 0 auto 32px auto !important;
}

.xc-home-facilities .xc-facilities-header-row p:empty {
  display: none !important;
}

.xc-facilities-sub-badge {
  display: inline-block;
  background: rgba(0, 109, 214, 0.08);
  color: #006dd6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.xc-facilities-title {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #006dd6 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
  font-family: inherit;
}

.xc-facilities-title::after {
  content: "";
  display: block;
  width: 75px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #006dd6 0%, #1dd9bb 100%);
  margin: 14px auto 0 auto;
}

/* Slider Layout & 3D Center-Mode Scaling */
.xc-home-facilities .xc-facilities-slider-row {
  max-width: 1240px !important;
  margin: 0 auto !important;
}

.xc-home-facilities .xc-facilities-slider-row > .col {
  padding: 0 !important;
  margin: 0 !important;
}

.xc-facilities-slider {
  position: relative !important;
  width: 100% !important;
}

.xc-facilities-slider .flickity-viewport {
  overflow: hidden !important;
  padding: 20px 0 38px 0 !important;
}

.xc-facilities-slider .flickity-slider > * {
  width: calc(33.333% - 24px) !important;
  max-width: calc(33.333% - 24px) !important;
  margin: 0 12px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.45s ease !important;
  transform: scale(0.95) !important;
  opacity: 0.9 !important;
}

.xc-facilities-slider .flickity-slider > *.is-selected {
  transform: scale(1.02) !important;
  opacity: 1 !important;
  z-index: 3 !important;
}

/* Image Box Card (Do NOT set position: relative !important on Flickity cell) */
.xc-facility-box {
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 2px solid rgba(29, 217, 187, 0.35) !important;
  box-shadow: 0 10px 30px rgba(0, 109, 214, 0.08) !important;
  background: #ffffff !important;
  margin-bottom: 0 !important;
  transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.xc-facilities-slider .is-selected.xc-facility-box,
.xc-facilities-slider .is-selected .xc-facility-box {
  border-color: #1dd9bb !important;
  box-shadow: 0 18px 42px rgba(0, 109, 214, 0.16) !important;
}

.xc-facility-box .box-image {
  border-radius: 18px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #f1f5f9 !important;
  margin: 0 !important;
}

.xc-facility-box .box-image img {
  width: 100% !important;
  height: 400px !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  border-radius: 18px !important;
  transition: transform 0.45s ease !important;
}

.xc-facility-box:hover .box-image img {
  transform: scale(1.04) !important;
}

/* Overlay Badge */
.xc-facility-box .box-text {
  position: absolute !important;
  bottom: 20px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  padding: 0 14px !important;
  text-align: center !important;
  background: transparent !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

.xc-facility-box .box-text p:empty {
  display: none !important;
}

.xc-facility-badge {
  display: inline-block !important;
  background: linear-gradient(135deg, rgba(0, 109, 214, 0.94) 0%, rgba(13, 148, 136, 0.94) 100%) !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  box-shadow: 0 6px 18px rgba(0, 109, 214, 0.28) !important;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  transition: transform 0.3s ease, background 0.3s ease !important;
  pointer-events: auto !important;
}

.xc-facility-box:hover .xc-facility-badge {
  background: linear-gradient(135deg, #1dd9bb 0%, #006dd6 100%) !important;
  transform: translateY(-2px) !important;
}

/* Nav Arrows & Bullets */
.xc-facilities-slider .flickity-prev-next-button,
.xc-facilities-slider .flickity-prev-next-button:hover {
  opacity: 1 !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #006dd6 !important;
  box-shadow: 0 6px 18px rgba(0, 109, 214, 0.14) !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 20 !important;
  transition: all 0.25s ease !important;
}

.xc-facilities-slider .flickity-prev-next-button:hover {
  background-color: #006dd6 !important;
  border-color: #006dd6 !important;
  color: #ffffff !important;
}

.xc-facilities-slider .flickity-prev-next-button svg,
.xc-facilities-slider .flickity-prev-next-button:hover svg {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  fill: currentColor !important;
  display: block !important;
}

.xc-facilities-slider .flickity-prev-next-button .arrow {
  fill: currentColor !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.xc-facilities-slider .flickity-prev-next-button.previous {
  left: -18px !important;
  right: auto !important;
}

.xc-facilities-slider .flickity-prev-next-button.next {
  right: -18px !important;
  left: auto !important;
}

.xc-facilities-slider .flickity-page-dots {
  bottom: -6px !important;
}

.xc-facilities-slider .flickity-page-dots .dot {
  width: 10px !important;
  height: 10px !important;
  margin: 0 5px !important;
  background: #cbd5e1 !important;
  opacity: 0.75 !important;
  transition: all 0.3s ease !important;
  border-radius: 50px !important;
}

.xc-facilities-slider .flickity-page-dots .dot.is-selected {
  width: 28px !important;
  background: linear-gradient(90deg, #006dd6 0%, #1dd9bb 100%) !important;
  opacity: 1 !important;
}

/* Responsive */
@media (max-width: 991px) {
  #wrapper #main .xc-home-facilities .flickity-slider > *,
  .xc-facilities-slider .flickity-slider > * {
    width: calc(50% - 20px) !important;
    max-width: calc(50% - 20px) !important;
    margin: 0 10px !important;
  }
}

@media (max-width: 768px) {
  .xc-home-facilities {
    padding: 45px 0 60px 0 !important;
  }
  .xc-facilities-title {
    font-size: 23px !important;
  }
  #wrapper #main .xc-home-facilities .flickity-slider > *,
  .xc-facilities-slider .flickity-slider > * {
    width: calc(88% - 16px) !important;
    max-width: calc(88% - 16px) !important;
    margin: 0 8px !important;
    padding: 0 !important;
    transform: scale(0.96) !important;
  }
  #wrapper #main .xc-home-facilities .flickity-slider > *.is-selected,
  .xc-facilities-slider .flickity-slider > *.is-selected {
    transform: scale(1) !important;
  }
  .xc-facility-box .box-image img {
    height: 320px !important;
  }
  .xc-facility-badge {
    font-size: 11px !important;
    padding: 7px 16px !important;
  }
  .xc-facilities-slider .flickity-prev-next-button.previous {
    left: 6px !important;
  }
  .xc-facilities-slider .flickity-prev-next-button.next {
    right: 6px !important;
  }
}

/* ==========================================================================
   26B. SECTION CHUONG TRINH - SU KIEN (xc-home-event)
   ========================================================================== */
.xc-home-event {
  background-color: #f8fafc !important;
  padding: 25px 0 45px 0 !important;
}

/* Row 1: Unified Pill Title Header */
.xc-home-event > .section-content > .row:nth-of-type(1) {
  max-width: 1160px !important;
  margin: 20px auto 0 auto !important;
  background-color: #ffffff;
  border-style: solid;
  border-width: 0px 0px 5px 2px;
  border-color: #1dd9bb;
  border-radius: 50px;
  box-shadow: #006dd6 -2px 5px 0px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.xc-home-event > .section-content > .row:nth-of-type(1) > .col {
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-event > .section-content > .row:nth-of-type(1) > .col:first-child {
  width: 88% !important;
  max-width: 88% !important;
  flex-basis: 88% !important;
}

.xc-home-event > .section-content > .row:nth-of-type(1) > .col:last-child {
  width: 12% !important;
  max-width: 12% !important;
  flex-basis: 12% !important;
  display: flex;
  justify-content: flex-end;
}

.xc-home-event > .section-content > .row:nth-of-type(1) h2 {
  color: #006dd6 !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  margin: 18px 0 18px 100px !important;
}

.xc-home-event > .section-content > .row:nth-of-type(1) .img {
  width: 120px !important;
  max-width: 120px !important;
  margin: -30px 50px 10px 0 !important;
}

/* Row 2: Event Post Slider (blog_posts) */
.xc-home-event > .section-content > .row:nth-of-type(2) {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 30px 20px 20px 20px !important;
}

.xc-home-event > .section-content > .row:nth-of-type(2) > .col {
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-event .row-slider {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.xc-home-event .post-item {
  padding: 0 4px 12px 4px !important;
  margin: 0 !important;
}

.xc-home-event .box-blog-post {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  margin: 0 !important;
}

.xc-home-event .box-blog-post .box-image {
  width: 50% !important;
  max-width: 50% !important;
  flex: 0 0 50% !important;
  margin: 0 !important;
}

.xc-home-event .box-blog-post .box-image .image-cover {
  padding-top: 0 !important;
  height: auto !important;
  position: relative !important;
  overflow: hidden !important;
}

.xc-home-event .box-blog-post .box-image .image-cover img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
}

.xc-home-event .box-blog-post .box-text {
  width: 50% !important;
  max-width: 50% !important;
  flex: 0 0 50% !important;
  padding: 28px 36px !important;
  text-align: center !important;
  background-color: #ffffff !important;
}

.xc-home-event .medfit-loop-cat-badge,
.xc-home-event .box-blog-post .is-divider {
  display: none !important;
}

.xc-home-event .box-blog-post .post-title {
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.38 !important;
  color: #006dd6 !important;
  margin: 5px 0 0 0 !important;
  text-align: center !important;
}

.xc-home-event .box-blog-post .post-title a {
  color: #006dd6 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.xc-home-event .box-blog-post .post-title a:hover {
  color: #1dd9bb !important;
}

.xc-home-event .box-blog-post .post-meta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  color: #0d9488 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
  margin: 8px 0 0 0 !important;
}

.xc-home-event .box-blog-post .post-meta::before {
  content: "" !important;
  display: inline-block !important;
  width: 15px !important;
  height: 16px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%230d9488'%3E%3Cpath d='M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
}

.xc-home-event .box-blog-post .from_the_blog_excerpt {
  color: #475569 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  text-align: justify !important;
  margin: 16px 0 0 0 !important;
}

.xc-home-event .box-blog-post .button {
  display: inline-block !important;
  background: linear-gradient(135deg, #006dd6 0%, #1dd9bb 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 13px 28px !important;
  margin: 20px 0 0 0 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  box-shadow: 0 6px 16px rgba(0, 109, 214, 0.2) !important;
  transition: all 0.25s ease !important;
}

.xc-home-event .box-blog-post .button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(0, 109, 214, 0.3) !important;
  color: #ffffff !important;
}

/* Slider Prev/Next Arrows */
.xc-home-event .row-slider .flickity-prev-next-button,
.xc-home-event .row-slider .flickity-prev-next-button:hover {
  opacity: 1 !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: #ffffff !important;
  border-radius: 50% !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1) !important;
  color: #006dd6 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.xc-home-event .row-slider .flickity-prev-next-button:hover {
  background-color: #006dd6 !important;
  border-color: #006dd6 !important;
  color: #ffffff !important;
}

.xc-home-event .row-slider .flickity-prev-next-button svg,
.xc-home-event .row-slider .flickity-prev-next-button:hover svg {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  fill: currentColor !important;
  display: block !important;
}

.xc-home-event .row-slider .flickity-prev-next-button .arrow,
.xc-home-event .row-slider .flickity-prev-next-button:hover .arrow {
  fill: currentColor !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.xc-home-event .row-slider .flickity-prev-next-button.previous {
  left: -40px !important;
  right: auto !important;
}

.xc-home-event .row-slider .flickity-prev-next-button.next {
  right: -40px !important;
  left: auto !important;
}

/* Responsive Tablet & Mobile */
@media (max-width: 992px) {
  .xc-home-event > .section-content > .row:nth-of-type(1) {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 15px auto 0 auto !important;
    padding: 14px 18px !important;
    box-sizing: border-box !important;
  }

  .xc-home-event > .section-content > .row:nth-of-type(1) > .col:first-child {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .xc-home-event > .section-content > .row:nth-of-type(1) > .col:first-child > .col-inner {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .xc-home-event > .section-content > .row:nth-of-type(1) > .col:last-child {
    display: none !important;
  }

  .xc-home-event > .section-content > .row:nth-of-type(1) h2 {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    font-size: 22px !important;
  }

  .xc-home-event .box-blog-post {
    flex-direction: column !important;
  }

  .xc-home-event .box-blog-post .box-image,
  .xc-home-event .box-blog-post .box-text {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .xc-home-event .row-slider .flickity-prev-next-button,
  .xc-home-event .row-slider .flickity-prev-next-button:hover {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
  }

  .xc-home-event .row-slider .flickity-prev-next-button.previous {
    left: 4px !important;
  }

  .xc-home-event .row-slider .flickity-prev-next-button.next {
    right: 4px !important;
  }
}

@media (max-width: 768px) {
  .xc-home-event > .section-content > .row:nth-of-type(1) {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 10px auto 0 auto !important;
    padding: 12px 16px !important;
    border-radius: 26px !important;
    box-sizing: border-box !important;
  }

  .xc-home-event > .section-content > .row:nth-of-type(1) h2 {
    font-size: 17.5px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .xc-home-event > .section-content > .row:nth-of-type(2) {
    padding: 20px 15px !important;
  }

  .xc-home-event .box-blog-post .box-text {
    padding: 20px 18px !important;
  }

  .xc-home-event .box-blog-post .post-title {
    font-size: 18px !important;
  }

  .xc-home-event .box-blog-post .post-meta,
  .xc-home-event .box-blog-post .from_the_blog_excerpt {
    font-size: 15px !important;
  }
}

/* ==========================================================================
   27. SECTION DOI NGU BAC SI & CHUYEN VIEN (xc-home-team & xc-home-team-2)
   ========================================================================== */
.xc-home-team,
.xc-home-team-2 {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
  padding: 65px 0 75px 0 !important;
  position: relative;
}

.xc-home-team-2 {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  padding: 35px 0 75px 0 !important;
}

.xc-home-team .xc-team-title-row,
.xc-home-team-2 .xc-team-title-row {
  max-width: 1200px !important;
  margin: 0 auto 38px auto !important;
}

.xc-home-team .xc-team-title-row p:empty,
.xc-home-team-2 .xc-team-title-row p:empty {
  display: none !important;
}

.xc-team-badge {
  display: inline-block;
  background: rgba(0, 109, 214, 0.08);
  color: #006dd6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.xc-team-title {
  font-size: 34px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  line-height: 1.3 !important;
  margin: 0 0 12px 0 !important;
  font-family: inherit;
}

.xc-team-sub,
.xc-team-subtitle {
  max-width: 780px;
  margin: 0 auto !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
}

/* Row & Slider containing the doctor / specialist ux_image_box cards */
.xc-home-team .xc-team-row,
.xc-home-team-2 .xc-team-row {
  max-width: 1220px !important;
  margin: 0 auto !important;
}

.xc-home-team .xc-team-row > .col,
.xc-home-team-2 .xc-team-row > .col {
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-team .xc-team-slider,
.xc-home-team-2 .xc-team-slider {
  position: relative !important;
  width: 100% !important;
  padding: 6px 0 18px 0 !important;
}

/* Image Box Card (.xc-team-card) inside Flickity Slider (Do NOT set position: relative !important on Flickity cell) */
.xc-home-team .xc-team-card,
.xc-home-team-2 .xc-team-card {
  width: calc(33.333% - 24px) !important;
  max-width: calc(33.333% - 24px) !important;
  margin: 0 12px !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 675px !important;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

@media (max-width: 992px) {
  #wrapper #main .xc-home-team .flickity-slider > *,
  #wrapper #main .xc-home-team-2 .flickity-slider > *,
  #wrapper #main .xc-home-team .xc-team-card,
  #wrapper #main .xc-home-team-2 .xc-team-card,
  .xc-home-team .xc-team-card,
  .xc-home-team-2 .xc-team-card {
    width: calc(50% - 20px) !important;
    max-width: calc(50% - 20px) !important;
    margin: 0 10px !important;
  }
}

@media (max-width: 768px) {
  #wrapper #main .xc-home-team .flickity-slider > *,
  #wrapper #main .xc-home-team-2 .flickity-slider > *,
  #wrapper #main .xc-home-team .xc-team-card,
  #wrapper #main .xc-home-team-2 .xc-team-card,
  .xc-home-team .xc-team-card,
  .xc-home-team-2 .xc-team-card {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 0 12px !important;
    min-height: auto !important;
  }
}

.xc-home-team .xc-team-card:hover,
.xc-home-team-2 .xc-team-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 38px rgba(0, 109, 214, 0.1) !important;
  border-color: rgba(29, 217, 187, 0.55) !important;
}

/* Image inside ux_image_box - rounded top-left & top-right */
.xc-home-team .xc-team-card .box-image,
.xc-home-team-2 .xc-team-card .box-image {
  position: relative !important;
  width: 100% !important;
  border-radius: 17px 17px 0 0 !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #eef6ff 0%, #f8fafc 100%) !important;
  margin: 0 !important;
}

.xc-home-team .xc-team-card .box-image a,
.xc-home-team-2 .xc-team-card .box-image a {
  display: block !important;
}

.xc-home-team .xc-team-card .box-image img,
.xc-home-team-2 .xc-team-card .box-image img {
  width: 100% !important;
  height: 360px !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
  border-radius: 17px 17px 0 0 !important;
  transition: transform 0.4s ease !important;
}

.xc-home-team .xc-team-card:hover .box-image img,
.xc-home-team-2 .xc-team-card:hover .box-image img {
  transform: scale(1.03) !important;
}

/* Box Text container (position: static so role tag anchors to .xc-team-card top-left) */
.xc-home-team .xc-team-card .box-text,
.xc-home-team-2 .xc-team-card .box-text {
  position: static !important;
  padding: 22px 24px 24px 24px !important;
  text-align: left !important;
  background-color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

.xc-home-team .xc-team-card .box-text-inner,
.xc-home-team-2 .xc-team-card .box-text-inner {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
}

.xc-home-team .xc-team-card .box-text-inner > p:empty,
.xc-home-team-2 .xc-team-card .box-text-inner > p:empty {
  display: none !important;
  margin: 0 !important;
}

/* Role Badge inside image top-left */
.xc-home-team .xc-team-role-tag,
.xc-home-team-2 .xc-team-role-tag {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 6 !important;
  display: inline-block !important;
  padding: 6px 14px !important;
  border-radius: 50px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  background-color: rgba(15, 118, 110, 0.92) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16) !important;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.xc-home-team .xc-team-card:nth-child(2) .xc-team-role-tag,
.xc-home-team-2 .xc-team-card:nth-child(2) .xc-team-role-tag {
  background-color: rgba(51, 65, 85, 0.92) !important;
}

.xc-home-team .xc-team-card:nth-child(3) .xc-team-role-tag,
.xc-home-team-2 .xc-team-card:nth-child(3) .xc-team-role-tag {
  background-color: rgba(113, 63, 18, 0.92) !important;
}

.xc-home-team .xc-team-card:nth-child(4) .xc-team-role-tag,
.xc-home-team-2 .xc-team-card:nth-child(4) .xc-team-role-tag {
  background-color: rgba(3, 105, 161, 0.92) !important;
}

.xc-home-team .xc-team-card:nth-child(5) .xc-team-role-tag,
.xc-home-team-2 .xc-team-card:nth-child(5) .xc-team-role-tag {
  background-color: rgba(15, 118, 110, 0.92) !important;
}

/* Doctor / Specialist Name */
.xc-home-team .xc-team-name,
.xc-home-team-2 .xc-team-name {
  font-size: 21px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  margin: 0 0 6px 0 !important;
  text-align: left !important;
}

/* Specialty / Experience Line */
.xc-home-team .xc-team-exp,
.xc-home-team-2 .xc-team-exp {
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #0d9488 !important;
  line-height: 1.45 !important;
  margin: 0 0 12px 0 !important;
  text-align: left !important;
}

.xc-home-team .xc-team-card .box-text-inner > p:has(.xc-team-exp),
.xc-home-team-2 .xc-team-card .box-text-inner > p:has(.xc-team-exp) {
  margin: 0 !important;
}

/* Bio Paragraph */
.xc-home-team .xc-team-bio,
.xc-home-team-2 .xc-team-bio {
  font-size: 13.8px !important;
  line-height: 1.65 !important;
  color: #475569 !important;
  margin: 0 0 16px 0 !important;
  text-align: left !important;
}

/* Credentials ul > li */
.xc-home-team .xc-team-creds,
.xc-home-team-2 .xc-team-creds {
  list-style: none !important;
  padding: 14px 0 0 0 !important;
  margin: auto 0 18px 0 !important;
  border-top: 1px solid #f1f5f9 !important;
  text-align: left !important;
}

.xc-home-team .xc-team-creds li,
.xc-home-team-2 .xc-team-creds li {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 12.8px !important;
  line-height: 1.5 !important;
  color: #334155 !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.xc-home-team .xc-team-creds li:last-child,
.xc-home-team-2 .xc-team-creds li:last-child {
  margin-bottom: 0 !important;
}

.xc-home-team .xc-team-creds li i,
.xc-home-team-2 .xc-team-creds li i {
  display: none !important;
}

.xc-home-team .xc-team-creds li::before,
.xc-home-team-2 .xc-team-creds li::before {
  content: "" !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  margin-top: 2px !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'/%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'/%3E%3C/svg%3E") !important;
}

.xc-home-team .xc-team-creds li:nth-child(n+2)::before,
.xc-home-team-2 .xc-team-creds li:nth-child(n+2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E") !important;
}

/* Bottom Action Button */
.xc-home-team .xc-team-btn,
.xc-home-team-2 .xc-team-btn {
  width: 100% !important;
  margin: 0 !important;
  padding: 11px 16px !important;
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
}

.xc-home-team .xc-team-btn::after,
.xc-home-team-2 .xc-team-btn::after {
  content: "" !important;
  display: inline-block !important;
  width: 15px !important;
  height: 15px !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
  transition: filter 0.25s ease !important;
}

.xc-home-team .xc-team-btn:hover,
.xc-home-team-2 .xc-team-btn:hover {
  background-color: #006dd6 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(0, 109, 214, 0.22) !important;
}

.xc-home-team .xc-team-btn:hover::after,
.xc-home-team-2 .xc-team-btn:hover::after {
  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' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
}

/* Slider Prev/Next Arrows for Team Sliders */
.xc-home-team .xc-team-slider .flickity-prev-next-button,
.xc-home-team-2 .xc-team-slider .flickity-prev-next-button,
.xc-home-team .xc-team-slider .flickity-prev-next-button:hover,
.xc-home-team-2 .xc-team-slider .flickity-prev-next-button:hover {
  opacity: 1 !important;
  top: 195px !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 50% !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1) !important;
  color: #006dd6 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 20 !important;
  transition: all 0.25s ease !important;
}

.xc-home-team .xc-team-slider .flickity-prev-next-button:hover,
.xc-home-team-2 .xc-team-slider .flickity-prev-next-button:hover {
  background-color: #006dd6 !important;
  border-color: #006dd6 !important;
  color: #ffffff !important;
}

.xc-home-team .xc-team-slider .flickity-prev-next-button svg,
.xc-home-team-2 .xc-team-slider .flickity-prev-next-button svg,
.xc-home-team .xc-team-slider .flickity-prev-next-button:hover svg,
.xc-home-team-2 .xc-team-slider .flickity-prev-next-button:hover svg {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  fill: currentColor !important;
  display: block !important;
}

.xc-home-team .xc-team-slider .flickity-prev-next-button .arrow,
.xc-home-team-2 .xc-team-slider .flickity-prev-next-button .arrow {
  fill: currentColor !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.xc-home-team .xc-team-slider .flickity-prev-next-button.previous,
.xc-home-team-2 .xc-team-slider .flickity-prev-next-button.previous {
  left: -34px !important;
  right: auto !important;
}

.xc-home-team .xc-team-slider .flickity-prev-next-button.next,
.xc-home-team-2 .xc-team-slider .flickity-prev-next-button.next {
  right: -34px !important;
  left: auto !important;
}

/* Responsive */
@media (max-width: 768px) {
  .xc-home-team,
  .xc-home-team-2 {
    padding: 45px 0 50px 0 !important;
  }

  .xc-home-team .xc-team-title-row,
  .xc-home-team-2 .xc-team-title-row {
    margin-bottom: 26px !important;
  }

  .xc-team-title {
    font-size: 24px !important;
  }

  .xc-team-sub,
  .xc-team-subtitle {
    font-size: 14.5px !important;
  }

  .xc-home-team .xc-team-card .box-image img,
  .xc-home-team-2 .xc-team-card .box-image img {
    height: 320px !important;
  }

  .xc-home-team .xc-team-card .box-text,
  .xc-home-team-2 .xc-team-card .box-text {
    padding: 18px 18px 20px 18px !important;
  }

  .xc-home-team .xc-team-name,
  .xc-home-team-2 .xc-team-name {
    font-size: 19px !important;
  }

  .xc-home-team .xc-team-slider .flickity-prev-next-button,
  .xc-home-team-2 .xc-team-slider .flickity-prev-next-button,
  .xc-home-team .xc-team-slider .flickity-prev-next-button:hover,
  .xc-home-team-2 .xc-team-slider .flickity-prev-next-button:hover {
    top: 170px !important;
  }

  .xc-home-team .xc-team-slider .flickity-prev-next-button.previous,
  .xc-home-team-2 .xc-team-slider .flickity-prev-next-button.previous {
    left: 4px !important;
  }

  .xc-home-team .xc-team-slider .flickity-prev-next-button.next,
  .xc-home-team-2 .xc-team-slider .flickity-prev-next-button.next {
    right: 4px !important;
  }
}

/* ==========================================================================
   27B. SECTION KIEN THUC CHUAN Y KHOA (xc-home-blog)
   ========================================================================== */
.xc-home-blog {
  background-color: #f8fafc !important;
  padding: 25px 0 50px 0 !important;
}

/* Row 1: Unified Pill Title Header */
.xc-home-blog > .section-content > .row:nth-of-type(1) {
  max-width: 1160px !important;
  margin: 20px auto 0 auto !important;
  background-color: #ffffff;
  border-style: solid;
  border-width: 0px 0px 5px 2px;
  border-color: #1dd9bb;
  border-radius: 50px;
  box-shadow: #006dd6 -2px 5px 0px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.xc-home-blog > .section-content > .row:nth-of-type(1) > .col {
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-blog > .section-content > .row:nth-of-type(1) > .col:first-child {
  width: 88% !important;
  max-width: 88% !important;
  flex-basis: 88% !important;
}

.xc-home-blog > .section-content > .row:nth-of-type(1) > .col:last-child {
  width: 12% !important;
  max-width: 12% !important;
  flex-basis: 12% !important;
  display: flex;
  justify-content: flex-end;
}

.xc-home-blog > .section-content > .row:nth-of-type(1) h2 {
  color: #006dd6 !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  margin: 18px 0 18px 100px !important;
}

.xc-home-blog > .section-content > .row:nth-of-type(1) .img {
  width: 120px !important;
  max-width: 120px !important;
  margin: -30px 50px 10px 0 !important;
}

/* Row 2: 3-Column Blog Post Slider */
.xc-home-blog > .section-content > .row:nth-of-type(2) {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 35px 20px 15px 20px !important;
}

.xc-home-blog > .section-content > .row:nth-of-type(2) > .col {
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-blog .row-slider {
  margin-left: -10px !important;
  margin-right: -10px !important;
}

.xc-home-blog .post-item {
  padding: 0 10px 14px 10px !important;
  margin: 0 !important;
  display: flex !important;
}

.xc-home-blog .post-item > .col-inner {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
}

.xc-home-blog .box-blog-post {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.xc-home-blog .box-blog-post:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 34px rgba(0, 109, 214, 0.1) !important;
  border-color: rgba(29, 217, 187, 0.55) !important;
}

.xc-home-blog .box-blog-post .box-image {
  width: 100% !important;
  margin: 0 !important;
}

.xc-home-blog .box-blog-post .box-text {
  padding: 22px 24px 28px 24px !important;
  text-align: center !important;
  background-color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

.xc-home-blog .medfit-loop-cat-badge,
.xc-home-blog .box-blog-post .is-divider,
.xc-home-blog .box-blog-post .button {
  display: none !important;
}

.xc-home-blog .box-blog-post .post-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #006dd6 !important;
  margin: 0 0 8px 0 !important;
  text-align: center !important;
}

.xc-home-blog .box-blog-post .post-title a {
  color: #006dd6 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.xc-home-blog .box-blog-post .post-title a:hover {
  color: #1dd9bb !important;
}

.xc-home-blog .box-blog-post .post-meta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  color: #0d9488 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  opacity: 1 !important;
  margin: 2px 0 16px 0 !important;
}

.xc-home-blog .box-blog-post .post-meta::before {
  content: "" !important;
  display: inline-block !important;
  width: 13px !important;
  height: 14px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%230d9488'%3E%3Cpath d='M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
}

.xc-home-blog .box-blog-post .from_the_blog_excerpt {
  color: #475569 !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  text-align: justify !important;
  margin: 0 !important;
}

/* Slider Prev/Next Arrows */
.xc-home-blog .row-slider .flickity-prev-next-button,
.xc-home-blog .row-slider .flickity-prev-next-button:hover {
  opacity: 1 !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: #ffffff !important;
  border-radius: 50% !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1) !important;
  color: #006dd6 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.xc-home-blog .row-slider .flickity-prev-next-button:hover {
  background-color: #006dd6 !important;
  border-color: #006dd6 !important;
  color: #ffffff !important;
}

.xc-home-blog .row-slider .flickity-prev-next-button svg,
.xc-home-blog .row-slider .flickity-prev-next-button:hover svg {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  fill: currentColor !important;
  display: block !important;
}

.xc-home-blog .row-slider .flickity-prev-next-button .arrow,
.xc-home-blog .row-slider .flickity-prev-next-button:hover .arrow {
  fill: currentColor !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.xc-home-blog .row-slider .flickity-prev-next-button.previous {
  left: -30px !important;
  right: auto !important;
}

.xc-home-blog .row-slider .flickity-prev-next-button.next {
  right: -30px !important;
  left: auto !important;
}

/* Responsive Tablet & Mobile */
@media (max-width: 992px) {
  .xc-home-blog > .section-content > .row:nth-of-type(1) {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 15px auto 0 auto !important;
    padding: 14px 18px !important;
    box-sizing: border-box !important;
  }

  .xc-home-blog > .section-content > .row:nth-of-type(1) > .col:first-child {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .xc-home-blog > .section-content > .row:nth-of-type(1) > .col:first-child > .col-inner {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .xc-home-blog > .section-content > .row:nth-of-type(1) > .col:last-child {
    display: none !important;
  }

  .xc-home-blog > .section-content > .row:nth-of-type(1) h2 {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    font-size: 22px !important;
  }

  .xc-home-blog .row-slider .flickity-prev-next-button.previous {
    left: 4px !important;
  }

  .xc-home-blog .row-slider .flickity-prev-next-button.next {
    right: 4px !important;
  }
}

@media (max-width: 768px) {
  .xc-home-blog > .section-content > .row:nth-of-type(1) {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin: 10px auto 0 auto !important;
    padding: 12px 16px !important;
    border-radius: 26px !important;
    box-sizing: border-box !important;
  }

  .xc-home-blog > .section-content > .row:nth-of-type(1) h2 {
    font-size: 17.5px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .xc-home-blog > .section-content > .row:nth-of-type(2) {
    padding: 20px 15px !important;
  }

  .xc-home-blog .row-slider {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .xc-home-blog .box-blog-post .box-text {
    padding: 18px 18px 22px 18px !important;
  }
}

/* ==========================================================================
   28. SECTION KHACH HANG THUC TE (xc-home-clients - MedFit Brand Unified)
   ========================================================================== */
.xc-home-clients {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%) !important;
  padding: 55px 0 70px 0 !important;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .xc-home-clients {
    padding: 65px 0 80px 0 !important;
  }
}

.xc-home-clients > .section-content > .row {
  max-width: 1320px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.xc-home-clients .xc-clients-header-row {
  max-width: 1100px !important;
  margin-bottom: 32px !important;
}

.xc-home-clients .xc-clients-header-row p:empty {
  display: none !important;
}

.xc-clients-badge {
  display: inline-block;
  background: rgba(0, 109, 214, 0.08);
  color: #006dd6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.xc-home-clients .xc-clients-title {
  font-family: inherit !important;
  font-size: 24px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #111827 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  margin: 0 0 12px 0 !important;
}

@media (min-width: 1024px) {
  .xc-home-clients .xc-clients-title {
    font-size: 34px !important;
  }
}

.xc-clients-sub {
  max-width: 760px;
  margin: 0 auto !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
  text-align: center !important;
}

/* Center-mode Coverflow-style Slider */
.xc-home-clients .xc-clients-slider-row > .col {
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-clients .xc-clients-slider {
  position: relative;
  width: 100% !important;
  padding: 12px 0 20px 0 !important;
}

.xc-home-clients .xc-clients-slider .flickity-viewport {
  overflow: hidden !important;
  padding: 14px 0 24px 0 !important;
}

/* Individual slide inside Flickity (Do NOT set position: relative !important on Flickity cell) */
.xc-home-clients .xc-clients-slider .ux-slider-slide,
.xc-home-clients .xc-clients-slider .box.xc-client-item {
  width: 68% !important;
  max-width: 820px !important;
  margin: 0 -5% !important;
  opacity: 0.82 !important;
  transform: scale(0.84) !important;
  z-index: 1 !important;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease !important;
}

@media (max-width: 1023px) {
  #wrapper #main .xc-home-clients .flickity-slider > *,
  .xc-home-clients .xc-clients-slider .ux-slider-slide,
  .xc-home-clients .xc-clients-slider .box.xc-client-item {
    width: calc(90% - 16px) !important;
    max-width: calc(90% - 16px) !important;
    margin: 0 8px !important;
    transform: scale(0.95) !important;
  }
}

.xc-home-clients .xc-clients-slider .ux-slider-slide.is-selected,
.xc-home-clients .xc-clients-slider .box.xc-client-item.is-selected,
.xc-home-clients .xc-clients-slider .is-selected {
  opacity: 1 !important;
  transform: scale(1) !important;
  z-index: 5 !important;
}

/* Card Box (.xc-client-item) - MedFit Blue/Mint Border & Shadow */
.xc-home-clients .xc-client-item {
  border-radius: 22px !important;
  overflow: hidden !important;
  border: 2.5px solid #1dd9bb !important;
  background-color: #0f172a !important;
  box-shadow: 0 18px 42px rgba(0, 109, 214, 0.16) !important;
}

.xc-home-clients .xc-client-item .box-image {
  position: relative !important;
  width: 100% !important;
  border-radius: 19px !important;
  overflow: hidden !important;
  margin: 0 !important;
}

.xc-home-clients .xc-client-item .box-image a {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

.xc-home-clients .xc-client-item .box-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border-radius: 19px !important;
  transition: transform 0.5s ease !important;
}

.xc-home-clients .xc-client-item:hover .box-image img {
  transform: scale(1.03) !important;
}

/* Dark Gradient Overlay on Inactive vs Active Slides */
.xc-home-clients .xc-client-item .box-image::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.65) 100%) !important;
  z-index: 4 !important;
  pointer-events: none !important;
  transition: opacity 0.45s ease !important;
}

.xc-home-clients .is-selected.xc-client-item .box-image::after,
.xc-home-clients .is-selected .xc-client-item .box-image::after {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 40%, rgba(15, 23, 42, 0.72) 100%) !important;
}

/* Center Play Button Overlay (MedFit Blue/Mint SVG) */
.xc-home-clients .xc-client-item .box-image::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10 !important;
  pointer-events: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='36' fill='%23006dd6' fill-opacity='0.88' stroke='%231dd9bb' stroke-width='3'/%3E%3Cpolygon points='34,26 56,40 34,54' fill='%23ffffff'/%3E%3C/svg%3E") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: 56px 56px !important;
  transition: transform 0.3s ease !important;
}

@media (min-width: 1024px) {
  .xc-home-clients .xc-client-item .box-image::before {
    background-size: 82px 82px !important;
  }
}

.xc-home-clients .xc-client-item:hover .box-image::before {
  transform: scale(1.08) !important;
}

/* Caption inside active slide */
.xc-home-clients .xc-client-item .box-text {
  position: absolute !important;
  left: 0 !important;
  bottom: 16px !important;
  z-index: 12 !important;
  width: 100% !important;
  padding: 0 20px !important;
  background: transparent !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.4s ease !important;
}

@media (max-width: 768px) {
  .xc-home-clients .xc-client-item .box-image,
  .xc-home-clients .xc-client-item .box-image img {
    border-radius: 19px 19px 0 0 !important;
  }
  .xc-home-clients .xc-client-item .box-text {
    position: static !important;
    padding: 12px 14px !important;
    background: #0f172a !important;
    opacity: 1 !important;
  }
  .xc-home-clients .xc-client-caption {
    font-size: 13.5px !important;
    line-height: 1.4 !important;
  }
}

@media (min-width: 1024px) {
  .xc-home-clients .xc-client-item .box-text {
    bottom: 24px !important;
    padding: 0 40px !important;
  }
}

.xc-home-clients .is-selected.xc-client-item .box-text,
.xc-home-clients .is-selected .xc-client-item .box-text {
  opacity: 1 !important;
}

.xc-home-clients .xc-client-caption {
  font-family: inherit !important;
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  text-align: center !important;
  margin: 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85) !important;
}

@media (min-width: 1024px) {
  .xc-home-clients .xc-client-caption {
    font-size: 19px !important;
  }
}

/* Prev / Next Navigation Buttons (MedFit Unified Circular Buttons) */
.xc-home-clients .xc-clients-slider .flickity-prev-next-button,
.xc-home-clients .xc-clients-slider .flickity-prev-next-button:hover {
  position: absolute !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  z-index: 25 !important;
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: #ffffff !important;
  border: 1.5px solid #006dd6 !important;
  border-radius: 50% !important;
  box-shadow: 0 6px 18px rgba(0, 109, 214, 0.18) !important;
  color: #006dd6 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  transition: all 0.25s ease !important;
}

.xc-home-clients .xc-clients-slider .flickity-prev-next-button:hover {
  background-color: #006dd6 !important;
  border-color: #006dd6 !important;
  color: #ffffff !important;
}

.xc-home-clients .xc-clients-slider .flickity-prev-next-button svg,
.xc-home-clients .xc-clients-slider .flickity-prev-next-button:hover svg {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  fill: currentColor !important;
  display: block !important;
}

.xc-home-clients .xc-clients-slider .flickity-prev-next-button .arrow {
  fill: currentColor !important;
}

.xc-home-clients .xc-clients-slider .flickity-prev-next-button.previous {
  left: 10px !important;
  right: auto !important;
}

.xc-home-clients .xc-clients-slider .flickity-prev-next-button.next {
  right: 10px !important;
  left: auto !important;
}

@media (min-width: 1024px) {
  .xc-home-clients .xc-clients-slider .flickity-prev-next-button.previous {
    left: 6% !important;
  }
  .xc-home-clients .xc-clients-slider .flickity-prev-next-button.next {
    right: 6% !important;
  }
}

/* "Xem thêm" Button Row */
.xc-home-clients .xc-clients-btn-row {
  margin-top: 24px !important;
}

@media (min-width: 1024px) {
  .xc-home-clients .xc-clients-btn-row {
    margin-top: 30px !important;
  }
}

.xc-home-clients .xc-clients-btn {
  position: relative !important;
  z-index: 2 !important;
  display: inline-block !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 13px 32px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #006dd6 0%, #1dd9bb 100%) !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(0, 109, 214, 0.22) !important;
  margin: 0 !important;
  transition: all 0.3s ease !important;
}

.xc-home-clients .xc-clients-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 26px rgba(0, 109, 214, 0.32) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   29. SECTION HINH ANH THUC TE (xc-home-actual-images)
   ========================================================================== */
.xc-home-actual-images {
  background: #f8fafc;
  padding: 55px 0 70px 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .xc-home-actual-images {
    padding: 65px 0 85px 0;
  }
}

.xc-home-actual-images .xc-album-header-row {
  max-width: 1100px !important;
  margin: 0 auto 36px auto !important;
}

.xc-home-actual-images .xc-album-header-row p:empty {
  display: none !important;
}

.xc-album-badge {
  display: inline-block;
  background: rgba(0, 109, 214, 0.08);
  color: #006dd6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.xc-home-actual-images .title-section {
  font-family: inherit;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  text-align: center;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  text-transform: uppercase;
  line-height: 1.3 !important;
  position: relative;
}

@media (min-width: 1024px) {
  .xc-home-actual-images .title-section {
    font-size: 34px !important;
  }
}

.xc-album-sub {
  max-width: 780px;
  margin: 0 auto !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
  text-align: center !important;
}

/* 2-Column Flatsome Native Tabs Layout */
.xc-album-native-tabs {
  display: flex !important;
  flex-direction: row !important;
  gap: 32px !important;
  align-items: flex-start !important;
  width: 100% !important;
}

@media (max-width: 849px) {
  .xc-album-native-tabs {
    flex-direction: column !important;
    gap: 20px !important;
  }
}

/* Tab Navigation (Left Column) */
.xc-album-native-tabs > .nav-vertical {
  flex: 0 0 32% !important;
  width: 32% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

@media (max-width: 849px) {
  .xc-album-native-tabs > .nav-vertical {
    flex: 0 0 100% !important;
    width: 100% !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 12px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .xc-album-native-tabs > .nav-vertical::-webkit-scrollbar {
    height: 4px;
  }
  .xc-album-native-tabs > .nav-vertical::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
}

.xc-album-native-tabs > .nav-vertical > li {
  margin: 0 !important;
  list-style: none !important;
  flex-shrink: 0 !important;
  width: 100% !important;
}

@media (max-width: 849px) {
  .xc-album-native-tabs > .nav-vertical > li {
    width: auto !important;
  }
}

.xc-album-native-tabs > .nav-vertical > li > a {
  display: flex !important;
  align-items: center !important;
  padding: 13px 20px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  color: #334155 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

@media (max-width: 849px) {
  .xc-album-native-tabs > .nav-vertical > li > a {
    white-space: nowrap !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    border-radius: 999px !important;
  }
}

.xc-album-native-tabs > .nav-vertical > li > a:hover {
  border-color: #006dd6 !important;
  color: #006dd6 !important;
  background: #f8fafc !important;
  transform: translateX(4px) !important;
}

@media (max-width: 849px) {
  .xc-album-native-tabs > .nav-vertical > li > a:hover {
    transform: none !important;
  }
}

.xc-album-native-tabs > .nav-vertical > li.active > a {
  background: linear-gradient(135deg, #006dd6 0%, #0052a3 100%) !important;
  border-color: #006dd6 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 109, 214, 0.32) !important;
}

/* Tab Panels (Right Column) */
.xc-album-native-tabs > .tab-panels {
  flex: 1 1 0% !important;
  width: 68% !important;
  min-width: 0 !important;
}

@media (max-width: 849px) {
  .xc-album-native-tabs > .tab-panels {
    width: 100% !important;
  }
}

.xc-album-native-tabs > .tab-panels > .panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 0 !important;
}

.xc-album-native-tabs > .tab-panels > .panel.active {
  display: block !important;
  opacity: 1 !important;
}

/* Album Card inside Tab */
.xc-album-native-tabs .xc-album-box {
  background: #ffffff !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08) !important;
  padding: 20px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.xc-album-native-tabs .xc-album-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12) !important;
}

.xc-album-native-tabs .xc-album-box .box-image {
  border-radius: 14px !important;
  overflow: hidden !important;
  margin-bottom: 18px !important;
}

.xc-album-native-tabs .xc-album-box .box-image img {
  width: 100% !important;
  height: 420px !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

@media (max-width: 768px) {
  .xc-album-native-tabs .xc-album-box .box-image img {
    height: 240px !important;
  }
}

.xc-album-native-tabs .xc-album-box:hover .box-image img {
  transform: scale(1.03);
}

.xc-album-native-tabs .xc-album-name {
  text-transform: uppercase !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  color: #111827 !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: 0.01em !important;
}

.xc-album-native-tabs .xc-album-desc {
  font-size: 15px !important;
  color: #64748b !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* Slider Nav Buttons for Album */
.xc-album-slider .flickity-prev-next-button,
.xc-album-slider .flickity-prev-next-button:hover {
  opacity: 1 !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #e2e8f0 !important;
  color: #006dd6 !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease !important;
}

.xc-album-slider .flickity-prev-next-button:hover {
  background: #006dd6 !important;
  color: #ffffff !important;
  border-color: #006dd6 !important;
}

.xc-album-slider .flickity-prev-next-button svg,
.xc-album-slider .flickity-prev-next-button:hover svg {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  padding: 0 !important;
  margin: 0 !important;
  fill: currentColor !important;
  display: block !important;
}

.xc-album-slider .flickity-prev-next-button.previous {
  left: 16px !important;
}

.xc-album-slider .flickity-prev-next-button.next {
  right: 16px !important;
}

/* ==========================================================================
   30. SECTION TIN TUC TRUYEN THONG (xc-home-news - Flatsome Native Grid)
   ========================================================================== */
.xc-home-news {
  background: #ffffff !important;
  position: relative;
  overflow: hidden;
}

.xc-news-banner-col {
  text-align: center;
}

.xc-news-banner-img img {
  display: block;
  width: 100% !important;
  height: auto !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.5s ease !important;
}

.xc-news-banner-img:hover img {
  transform: scale(1.02) !important;
}

.xc-news-content-col {
  max-height: 560px !important;
  overflow-y: auto !important;
  padding-right: 15px !important;
  box-sizing: border-box !important;
}

.xc-news-content-col::-webkit-scrollbar {
  width: 6px;
}

.xc-news-content-col::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 6px;
}

.xc-news-content-col::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1dd9bb 0%, #006dd6 100%);
  border-radius: 6px;
}

.xc-news-card-row {
  border-bottom: 1px solid rgba(29, 217, 187, 0.4) !important;
  padding: 16px 0 !important;
  margin-bottom: 0 !important;
  align-items: center !important;
}

.xc-news-card-row:first-child {
  padding-top: 0 !important;
}

.xc-news-card-row:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.xc-news-thumb-col img {
  border-radius: 12px !important;
  width: 100% !important;
  height: 110px !important;
  object-fit: cover !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.4s ease !important;
}

.xc-news-thumb-col:hover img {
  transform: scale(1.06) !important;
}

.xc-news-info-col .news-title {
  display: block;
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}

.xc-news-info-col .news-desc {
  margin: 0 0 6px 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: justify;
}

.xc-news-info-col .news-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #006dd6;
  text-decoration: none;
  transition: all 0.25s ease;
}

.xc-news-info-col .news-more:hover {
  color: #1dd9bb;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .xc-news-banner-col {
    margin-bottom: 22px !important;
  }
  .xc-news-content-col {
    max-height: 500px !important;
    padding-right: 6px !important;
  }
  .xc-news-thumb-col img {
    height: 75px !important;
  }
  .xc-news-info-col .news-title {
    font-size: 14px;
  }
  .xc-news-info-col .news-desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  .xc-news-info-col .news-more {
    font-size: 13px;
  }
}

/* ==========================================================================
   21. BEFORE/AFTER COMPARISON SLIDER ENGINE (ZERO-DEPENDENCY)
   ========================================================================== */
.fl-module-uabb-beforeafterslider .uabb-ba-container,
.uabb-ba-container {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  cursor: ew-resize !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: pan-y !important;
  aspect-ratio: 1 / 1 !important;
  background: #f7f9fa !important;
  box-sizing: border-box !important;
}

.fl-module-uabb-beforeafterslider .uabb-ba-container img,
.uabb-ba-container img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  pointer-events: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Bottom image is 'Sau' (After), Top image is 'Trước' (Before) clipped */
.fl-module-uabb-beforeafterslider .uabb-ba-container img:first-of-type,
.uabb-ba-container img:first-of-type {
  z-index: 2 !important;
  clip-path: polygon(0 0, var(--ba-pos, 50%) 0, var(--ba-pos, 50%) 100%, 0 100%) !important;
  -webkit-clip-path: polygon(0 0, var(--ba-pos, 50%) 0, var(--ba-pos, 50%) 100%, 0 100%) !important;
}

.fl-module-uabb-beforeafterslider .uabb-ba-container img:nth-of-type(n+2),
.fl-module-uabb-beforeafterslider .uabb-ba-container img:last-of-type,
.uabb-ba-container img:nth-of-type(n+2),
.uabb-ba-container img:last-of-type {
  z-index: 1 !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

.uabb-ba-handle-line {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: var(--ba-pos, 50%) !important;
  width: 3px !important;
  background: #ffffff !important;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4) !important;
  z-index: 5 !important;
  transform: translateX(-50%) !important;
  pointer-events: none !important;
}

.uabb-ba-handle-btn {
  position: absolute !important;
  top: 50% !important;
  left: var(--ba-pos, 50%) !important;
  transform: translate(-50%, -50%) !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2.5px solid #006dd6 !important;
  box-shadow: 0 4px 14px rgba(0, 109, 214, 0.3) !important;
  z-index: 6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #006dd6 !important;
  pointer-events: none !important;
}

.uabb-ba-label-before,
.uabb-ba-label-after {
  position: absolute !important;
  top: 14px !important;
  z-index: 4 !important;
  background: rgba(0, 15, 30, 0.65) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 14px !important;
  border-radius: 20px !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  pointer-events: none !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

.uabb-ba-label-before {
  left: 14px !important;
}

.uabb-ba-label-after {
  right: 14px !important;
}

/* ==========================================================================
   22. POST CAROUSEL MODERN RESPONSIVE GRID (ELIMINATES POST STACKING)
   ========================================================================== */
.fl-module-post-carousel .fl-post-carousel-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  clear: both !important;
  position: static !important;
  height: auto !important;
  box-sizing: border-box !important;
}

.fl-module-post-carousel .fl-post-carousel-wrapper::before,
.fl-module-post-carousel .fl-post-carousel-wrapper::after {
  display: none !important;
}

.fl-module-post-carousel .fl-post-carousel-navigation {
  display: none !important;
}

.fl-module-post-carousel .fl-post-carousel-post {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  visibility: visible !important;
  float: none !important;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.fl-module-post-carousel .fl-post-carousel-post:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 25px rgba(0, 109, 214, 0.15) !important;
}

.fl-module-post-carousel .fl-post-carousel-image {
  width: 100% !important;
  overflow: hidden !important;
}

.fl-module-post-carousel .fl-post-carousel-image img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
}

.fl-module-post-carousel .fl-post-carousel-text {
  padding: 20px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.fl-module-post-carousel .fl-post-carousel-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.fl-module-post-carousel .fl-post-carousel-meta {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  position: static !important;
}

.fl-module-post-carousel .fl-post-carousel-title a {
  color: #111827 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.fl-module-post-carousel .fl-post-carousel-title a:hover {
  color: #006dd6 !important;
}

@media (max-width: 991px) {
  .fl-module-post-carousel .fl-post-carousel-wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 768px) {
  .fl-module-post-carousel .fl-post-carousel-wrapper {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   23. GLOBAL BEAVER BUILDER ROW, COLUMN & VISIBILITY ALIGNMENT
   ========================================================================== */
.fl-callout-title br,
.uabb-ribbon br,
.fl-button-wrap br,
.uabb-creative-button-wrap br {
  display: none !important;
}

.fl-callout-icon-left-title .fl-callout-title,
.fl-callout-icon-right-title .fl-callout-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  line-height: 1.35 !important;
}

.fl-callout-icon-left-title .fl-callout-title span,
.fl-callout-icon-right-title .fl-callout-title span {
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
}

.fl-callout-icon-left-title .fl-icon {
  padding-right: 0 !important;
}

.uabb-ribbon-wrap {
  text-align: center;
  margin: 10px 0 20px;
}

.uabb-ribbon-wrap .uabb-ribbon {
  position: relative;
  display: inline-block !important;
  background: #e00072;
  color: #ffffff !important;
  padding: 0 !important;
  border-radius: 12px;
  line-height: 1.35 !important;
}

.uabb-ribbon-wrap .uabb-ribbon .uabb-ribbon-text {
  display: inline-block !important;
  background: #e00072;
  color: #ffffff !important;
  padding: 10px 26px !important;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.uabb-blog-posts .uabb-post-heading {
  min-height: 0 !important;
  max-height: none !important;
}



@media (min-width: 1201px) {
  html body .fl-visible-large:not(.fl-visible-desktop),
  html body .fl-visible-medium:not(.fl-visible-desktop),
  html body .fl-visible-mobile:not(.fl-visible-desktop) {
    display: none !important;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {
  html body .fl-visible-desktop:not(.fl-visible-large),
  html body .fl-visible-medium:not(.fl-visible-large),
  html body .fl-visible-mobile:not(.fl-visible-large) {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  html body .fl-visible-desktop:not(.fl-visible-medium),
  html body .fl-visible-large:not(.fl-visible-medium),
  html body .fl-visible-mobile:not(.fl-visible-medium) {
    display: none !important;
  }
}

@media (max-width: 768px) {
  html body .fl-visible-desktop:not(.fl-visible-mobile),
  html body .fl-visible-large:not(.fl-visible-mobile),
  html body .fl-visible-medium:not(.fl-visible-mobile) {
    display: none !important;
  }

  #wrapper .img[id^="image_"],
  .img[id^="image_"] {
    max-width: 100% !important;
  }

  .fl-row > .fl-row-content-wrap,
  .fl-row > .section-content.fl-row-content-wrap,
  .fl-builder-content .fl-row-content-wrap,
  .fl-builder-content .section-content.fl-row-content-wrap {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  section.section:not(.fl-row) > .section-content.fl-row-content-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .uabb-blog-posts .uabb-post-wrapper,
  .uabb-blog-posts [class*="uabb-blog-posts-col-"],
  .fl-builder-content .uabb-blog-posts .uabb-post-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    display: block !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 20px !important;
  }

  .fl-col-group:not(.fl-visible-desktop),
  .row.fl-col-group:not(.fl-visible-desktop),
  .fl-col-group.fl-col-group-equal-height:not(.fl-visible-desktop),
  .fl-row-custom-height .fl-col-group:not(.fl-visible-desktop) {
    display: flex !important;
    flex-flow: column nowrap !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .fl-col-group:not(.fl-row-content):not(.fl-visible-desktop) {
    max-width: 100% !important;
  }

  .fl-col-group.fl-col-group-responsive-reversed:not(.fl-visible-desktop),
  .row.fl-col-group.fl-col-group-responsive-reversed:not(.fl-visible-desktop) {
    display: flex !important;
    flex-flow: row-reverse wrap-reverse !important;
    flex-direction: row-reverse !important;
    flex-wrap: wrap-reverse !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  body .fl-col-group > .fl-col,
  body .row.fl-col-group > .col.fl-col,
  .fl-col,
  .col.fl-col,
  .fl-col-small,
  [class*="fl-node-"].fl-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .fl-col-content {
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .fl-module-content {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   24. GLOBAL OVERFLOW & HORIZONTAL SCROLL PREVENTION
   ========================================================================== */
.uabb-table,
.uabb-table-element-box,
.uabb-table-wrapper,
.fl-module-uabb-table,
.medfit-price-table-wrap,
.medfit-table-responsive {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

.medfit-price-table,
.uabb-table-inner-wrap {
  max-width: 100% !important;
  min-width: 0 !important;
}
@media (max-width: 768px) {
  .uabb-table .table-header-th .th-style {
    padding-right: 0 !important;
  }
}

.uabb-image-carousel-caption {
  white-space: normal !important;
  max-width: 100% !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  box-sizing: border-box !important;
  display: block !important;
}

h1, h2, h3, h4, h5, h6, p, a, strong, span, li {
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
}

html, body {
  overflow-x: hidden !important;
}

body, #wrapper, #main {
  overflow-x: clip !important;
  width: 100% !important;
  max-width: 100% !important;
}

.fl-photo-content img,
.fl-photo img,
.wp-image-16732 {
  max-width: 100% !important;
  height: auto !important;
}

.fl-node-xmerg2hfsw48 .fl-module-content {
  margin-right: 0 !important;
}

/* ==========================================================================
   25. XPRO DYNAMIC SLIDER RESPONSIVE ENGINE
   ========================================================================== */
.xpro-dynamic-slider-wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  margin-bottom: 0 !important;
}

.xpro-dynamic-slider:not(.flickity-enabled):not(:has(> .flickity-viewport)) {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: hidden !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.xpro-dynamic-slider:not(.flickity-enabled):not(:has(> .flickity-viewport)) > :is(.slick-slide, .xpro-slide-cell):nth-child(n+2) {
  display: none !important;
}

.xpro-dynamic-slider::-webkit-scrollbar {
  display: none !important;
}

.xpro-dynamic-slider :is(.slick-slide, .xpro-slide-cell) {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  scroll-snap-align: start !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  box-sizing: border-box !important;
  float: none !important;
}

/* Multi-column slides inside slider (e.g. exercise video cards) */
.xpro-dynamic-slider :is(.slick-slide, .xpro-slide-cell) .fl-col-group {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
}

.xpro-dynamic-slider :is(.slick-slide, .xpro-slide-cell) .fl-col {
  box-sizing: border-box !important;
}

.xpro-dynamic-slider :is(.slick-slide, .xpro-slide-cell) .fl-photo-img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  border-radius: 16px !important;
  display: block !important;
}

@media (max-width: 768px) {
  .xpro-dynamic-slider :is(.slick-slide, .xpro-slide-cell) .fl-col-group {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }
  .xpro-dynamic-slider :is(.slick-slide, .xpro-slide-cell) .fl-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }
}

/* Slider Navigation Buttons */
.xpro-dynamic-slider-navigation {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  right: 0 !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
  pointer-events: none !important;
  z-index: 10 !important;
}
.xpro-dynamic-slider-navigation button {
  pointer-events: auto !important;
}

.xpro-dynamic-slider-navigation button.slick-nav-prev,
.xpro-dynamic-slider-navigation button.slick-nav-next {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: 2px solid #006dd6 !important;
  color: #006dd6 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all 0.25s ease !important;
  outline: none !important;
  box-shadow: 0 4px 10px rgba(0, 109, 214, 0.15) !important;
}

.xpro-dynamic-slider-navigation button.slick-nav-prev:hover,
.xpro-dynamic-slider-navigation button.slick-nav-next:hover {
  background: #006dd6 !important;
  color: #ffffff !important;
  border-color: #006dd6 !important;
  transform: scale(1.08) !important;
}

.xpro-dynamic-slider-navigation button.slick-nav-prev::before {
  content: '‹' !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-family: inherit !important;
  margin-top: -2px !important;
  font-weight: 700 !important;
}

.xpro-dynamic-slider-navigation button.slick-nav-next::before {
  content: '›' !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-family: inherit !important;
  margin-top: -2px !important;
  font-weight: 700 !important;
}

/* Slider Pagination Dots */
.xpro-slider-dots {
  display: none !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 12px !important;
  list-style: none !important;
  padding: 0 !important;
}

.xpro-slider-dots .xpro-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #cbd5e1 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.xpro-slider-dots .xpro-dot.active {
  background: #006dd6 !important;
  width: 26px !important;
  border-radius: 10px !important;
}

/* ==========================================================================
   26. BEAVER BUILDER .fl-button & .uabb-creative-button BRAND ALIGNMENT
   ========================================================================== */
:where(.fl-button-wrap .fl-button, a.fl-button, button.fl-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #006dd6;
  color: #ffffff;
  border: 1px solid #0061ca;
  border-radius: 100px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
:where(.fl-button-wrap .fl-button *, a.fl-button *, button.fl-button *, .uabb-creative-button-wrap a *, .uabb-creative-button *, a.uabb-button *) {
  color: #ffffff;
}
.fl-button-wrap.fl-button-center {
  text-align: center;
}
.fl-button-wrap.fl-button-left {
  text-align: left;
}
.fl-button-wrap.fl-button-right {
  text-align: right;
}
:where(.uabb-creative-button-wrap a, .uabb-creative-button, a.uabb-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1cc9aa;
  color: #ffffff;
  border: none;
  border-radius: 100px;
  padding: 10px 24px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* ==========================================================================
   27. BRAND ACCENTS & EXTERNAL BUTTON HARMONIZATION
   ========================================================================== */
.page-id-38046 .button.secondary,
.button.secondary[href*="zalo"] {
  background-color: #0068ff !important;
  border-color: #0068ff !important;
  color: #ffffff !important;
}

.page-id-38046 .button.secondary:hover,
.button.secondary[href*="zalo"]:hover {
  background-color: #0052cc !important;
  border-color: #0052cc !important;
}

/* Ensure all buttons with class .button.primary use #006dd6 */
.button.primary,
.button.is-primary {
  background-color: #006dd6 !important;
  border-color: #006dd6 !important;
  color: #ffffff !important;
}

.button.primary:hover,
.button.is-primary:hover {
  background-color: #1cc9aa !important;
  border-color: #1cc9aa !important;
  color: #ffffff !important;
}

/* ==========================================================================
   28. FORMA ICON COLUMN HARMONIZATION
   ========================================================================== */
.fl-node-3wz9d405omn2,
.fl-node-k45j1yhrfp80,
.col.fl-node-3wz9d405omn2,
.col.fl-node-k45j1yhrfp80 {
  width: 20% !important;
  max-width: 20% !important;
  min-width: 140px !important;
  flex: 0 0 20% !important;
}

/* ==========================================================================
   29. UABB VIDEO GALLERY CAROUSEL RESPONSIVE ENGINE
   ========================================================================== */
.uabb-video-gallery-wrap.uabb-vg__layout-carousel {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  gap: 16px !important;
  padding: 10px 0 20px 0 !important;
  scrollbar-width: thin !important;
}
.uabb-video-gallery-wrap.uabb-vg__layout-carousel::-webkit-scrollbar {
  height: 6px !important;
}
.uabb-video-gallery-wrap.uabb-vg__layout-carousel::-webkit-scrollbar-thumb {
  background: #006dd6 !important;
  border-radius: 4px !important;
}
.uabb-video-gallery-wrap.uabb-vg__layout-carousel .uabb-video__gallery-item {
  flex: 0 0 calc(50% - 8px) !important;
  width: calc(50% - 8px) !important;
  max-width: 365px !important;
  min-width: 280px !important;
  scroll-snap-align: start !important;
  float: none !important;
  margin: 0 !important;
}
@media (max-width: 767px) {
  .uabb-video-gallery-wrap.uabb-vg__layout-carousel .uabb-video__gallery-item {
    flex: 0 0 85% !important;
    width: 85% !important;
  }
}

/* ==========================================================================
   30. DOCTOR PROFILE SECTION 2 TWO-COLUMN LAYOUT
   ========================================================================== */
@media (min-width: 768px) {
  .fl-col-group.fl-node-7jz29msybtqv {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 30px !important;
  }
  .fl-col-group.fl-node-7jz29msybtqv > .col,
  .fl-node-abk1cuitqrvh,
  .fl-node-l4istj06b2od {
    flex: 0 0 calc(50% - 15px) !important;
    max-width: 480px !important;
    width: calc(50% - 15px) !important;
  }
}

@media (max-width: 767px) {
  .fl-col-group.fl-col-group-responsive-reversed,
  .row.fl-col-group.fl-col-group-responsive-reversed {
    display: flex !important;
    flex-flow: row-reverse wrap-reverse !important;
    flex-direction: row-reverse !important;
    flex-wrap: wrap-reverse !important;
  }
}

/* ==========================================================================
   31. DASHICONS QUOTE ICON HARMONIZATION (Primary #006dd6)
   ========================================================================== */
:is(.page-id-38252, .page-id-38253, .page-id-38254, .page-id-38255, .page-id-38256) .uabb-icon i.dashicons-editor-quote {
  color: #006dd6 !important;
  font-size: 45px !important;
  width: 45px !important;
  height: 45px !important;
  line-height: 45px !important;
  display: inline-block !important;
}

/* ==========================================================================
   32. CONTACT FORM 7 EXPAND BUTTON & RIGHT BUTTON HARMONIZATION
   ========================================================================== */
.wpcf7-form .wpcf7-submit.expandbutton,
.wpcf7-form input[type="submit"].expandbutton {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  border-radius: 100px !important;
  background-color: #1dd9bb !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 12px 24px !important;
  transition: all 0.25s ease !important;
}
:where(.wpcf7-form) :is(.wpcf7-submit, input[type="submit"]):is(.rightbutton, .right-button) {
  width: auto;
  display: block;
  float: none;
  margin-left: auto;
  margin-right: 0;
  background-color: #1dd9bb;
  color: #ffffff;
  border-radius: 100px;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  height: auto;
  min-height: 0;
  border: none;
}

/* ==========================================================================
   33. SECTION DANG KY / CTA CUOI TRANG (xc-home-cta - 2 ROWS)
   ========================================================================== */
.xc-home-cta {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%) !important;
  padding: 60px 0 75px 0 !important;
  border-top: 1px solid #e2e8f0;
}

.xc-home-cta .xc-cta-brand-row {
  max-width: 820px !important;
  margin: 0 auto 24px auto !important;
}

.xc-home-cta .xc-cta-brand-col {
  padding: 0 15px !important;
  text-align: center !important;
}

.xc-home-cta .xc-cta-brand-col .img {
  max-width: 210px !important;
  margin: 0 auto 16px auto !important;
}

.xc-home-cta .xc-cta-brand-text {
  font-size: 20px !important;
  line-height: 1.55 !important;
  color: #111827 !important;
  text-align: center !important;
  margin: 0 auto !important;
  max-width: 720px !important;
}

.xc-home-cta .xc-cta-brand-text strong {
  color: #006dd6 !important;
}

.xc-home-cta .xc-cta-form-row {
  max-width: 680px !important;
  margin: 0 auto !important;
  background-color: #ffffff;
  border: 1.5px solid rgba(29, 217, 187, 0.55);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(0, 109, 214, 0.08);
  padding: 32px 28px 20px 28px !important;
}

.xc-home-cta .xc-cta-form-col {
  padding: 0 !important;
  margin: 0 !important;
}

.xc-home-cta .wpcf7-form p {
  margin: 0 0 14px 0 !important;
}

.xc-home-cta .wpcf7-form input[type="text"],
.xc-home-cta .wpcf7-form input[type="tel"],
.xc-home-cta .wpcf7-form input[type="email"] {
  width: 100% !important;
  height: 54px !important;
  padding: 12px 18px !important;
  margin: 0 !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #111827 !important;
  font-size: 16px !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
}

.xc-home-cta .wpcf7-form input[type="text"]:focus,
.xc-home-cta .wpcf7-form input[type="tel"]:focus,
.xc-home-cta .wpcf7-form input[type="email"]:focus {
  background-color: #ffffff !important;
  border-color: #006dd6 !important;
  box-shadow: 0 0 0 3px rgba(0, 109, 214, 0.12) !important;
}

.xc-home-cta .wpcf7-form input[type="submit"],
.xc-home-cta .wpcf7-form .wpcf7-submit {
  width: 100% !important;
  height: 54px !important;
  margin: 6px 0 0 0 !important;
  padding: 0 28px !important;
  background: linear-gradient(135deg, #006dd6 0%, #1dd9bb 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  box-shadow: 0 8px 20px rgba(0, 109, 214, 0.24) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.xc-home-cta .wpcf7-form input[type="submit"]:hover,
.xc-home-cta .wpcf7-form .wpcf7-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 26px rgba(0, 109, 214, 0.34) !important;
}

@media (max-width: 768px) {
  .xc-home-cta {
    padding: 40px 15px 50px 15px !important;
  }

  .xc-home-cta .xc-cta-brand-text {
    font-size: 16.5px !important;
  }

  .xc-home-cta .xc-cta-form-row {
    padding: 22px 18px 14px 18px !important;
    border-radius: 18px;
  }

  .xc-home-cta .wpcf7-form input[type="text"],
  .xc-home-cta .wpcf7-form input[type="tel"],
  .xc-home-cta .wpcf7-form input[type="email"],
  .xc-home-cta .wpcf7-form input[type="submit"],
  .xc-home-cta .wpcf7-form .wpcf7-submit {
    height: 48px !important;
    font-size: 15px !important;
  }
}

/* ==========================================================================
   GLOBAL ASTRA & BEAVER BUILDER PARITY BRIDGE (ALL MEDFIT PAGES)
   ========================================================================== */
:root {
  --ast-global-color-0: #006dd6;
  --ast-global-color-1: #1dd9bb;
  --ast-global-color-2: #3a3a3a;
  --ast-global-color-3: #4B4F58;
  --ast-global-color-4: #f1f1f1;
  --ast-global-color-5: #FFFFFF;
  --ast-global-color-6: #F2F5F7;
  --ast-global-color-7: #3a3a3a;
  --ast-global-color-8: #000000;
}

/* Ensure Flatsome header never breaks into vertical inline-block rows */
#header .header-main {
  background-color: #ffffff !important;
}
#header .header-inner.flex-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 1325px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Default Astra typography & heading colors for Beaver Builder bridged pages (specificity 0,1,0 beats Flatsome #custom-css 0,0,1 while yielding to .fl-node-xxx 0,1,1+) */
:root {
  --medfit-rem: 18px;
}
.fl-builder-content :where(h1) {
  color: #000000;
  font-size: 54px;
  line-height: 1;
  font-weight: 600;
}
.fl-builder-content :where(h2),
body.page:not(.home) .entry-content :where(h2) {
  color: var(--ast-global-color-0, #006dd6);
  font-size: 25px;
  line-height: 1.3em;
  font-weight: 600;
}
.fl-builder-content :where(h3),
body.page:not(.home) .entry-content :where(h3) {
  color: rgb(34, 50, 61);
  font-size: 22px;
  line-height: 1.3em;
  font-weight: 600;
}
.fl-builder-content :where(h4) {
  color: var(--ast-global-color-2, #3a3a3a);
  font-size: 19px;
  line-height: 1.25em;
  font-weight: 600;
}
@media (max-width: 768px) {
  .fl-builder-content :where(h1) {
    font-size: 32px;
    line-height: 1;
  }
  :where(body.fl-builder:not(.home):not(.page-id-38252):not(.page-id-38253):not(.page-id-38254):not(.page-id-38255):not(.page-id-38256):not(.page-id-38439):not(.page-id-38023):not(.page-id-38409):not(.page-id-38262):not(.page-id-38344):not(.page-id-39673)) .fl-builder-content :where(.fl-row:first-child .fl-module-heading h1.fl-heading) {
    font-size: 22px;
    line-height: 1.2;
  }
  .fl-builder-content :where(h2),
  body.page:not(.home) .entry-content :where(h2) {
    font-size: 28px;
    line-height: 1.3em;
  }
}
:where(body.fl-builder:not(.home) .fl-builder-content) :is(.fl-rich-text p, .uabb-text-editor p) {
  color: rgb(34, 50, 61);
}

/* MedFit Global Utility Classes from Astra Customizer (ref_astra_inline.css) */
.hidden-field {
  display: none !important;
}
.rightbutton {
  float: right;
}
.expandbutton {
  width: 100%;
}
.button-2 {
  margin-top: -35px;
  background-color: #006dd6 !important;
}
.scroll-photo {
  position: sticky;
  transform: scale(0.9);
  transition: transform 0.2s ease-out;
  will-change: transform;
  z-index: 1;
}
.scroll-photo-1 { top: 120px; }
.scroll-photo-2 { top: 140px; }
.scroll-photo-3 { top: 160px; }
.scroll-photo-4 { top: 180px; }
@media screen and (max-width: 768px) {
  .scroll-photo {
    position: static;
    height: auto;
    transform: none !important;
  }
  :where(body.fl-builder:not(.home) .fl-builder-content, body.page:not(.home) .fl-builder-content) h1 {
    font-size: 32px;
    line-height: 1;
  }
}

@keyframes greenpink {
  from { background-color: #1dd9bb; }
  to { background-color: #e00072; }
}
.lucky_row {
  margin-bottom: -20px;
}
.giam-gia {
  background-color: #e00072;
  border-radius: 2em;
  padding: 2px 10px 5px 10px;
  color: #ffffff;
  text-align: left;
  animation-name: greenpink;
  animation-duration: .5s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.linkbg {
  color: #111;
  text-decoration: underline !important;
}
.uabb-table {
  border-radius: 1em;
}
.table-header-tr {
  background: linear-gradient(to right, #006dd6, #1dd9bb);
}
.table-header-tr th {
  background: rgba(255, 255, 255, 0) !important;
}
.uabb-table td {
  border: none;
  border-top: solid 0.8px #ddd;
}
.uabb-table td + td,
.uabb-table th + th {
  border-left: solid 0.8px #ddd;
}
.uabb-table th {
  border: 0px;
  font-weight: 700;
}

.lightweight-accordion-title {
  border-radius: 50px;
}
.lightweight-accordion-body {
  text-align: justify;
  padding-bottom: 1px !important;
}

.zoom-hover {
  overflow: hidden;
  border-radius: 20px;
}
.zoom-hover img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}
.zoom-hover:hover img {
  transform: scale(1.1);
}
.slide .uabb-image-carousel-content {
  overflow: hidden !important;
  border: 1px solid #1dd9bb !important;
  border-radius: 20px;
  box-sizing: border-box;
}
.slide-noborder .uabb-image-carousel-content {
  overflow: hidden !important;
  border-radius: 20px;
  box-sizing: border-box;
}
.uabb-image-carousel-content img {
  width: 100%;
  height: 100%;
  transform: scale(1.01);
  transition: transform 0.3s ease-in-out;
}
.video-wrapper {
  position: relative;
  display: block !important;
  width: 100% !important;
}
.video-wrapper br {
  display: none !important;
}
.video-wrapper img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}
.video-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 19.75%;
  height: 33.33%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='38' fill='rgba(0,109,214,0.85)' stroke='%23ffffff' stroke-width='3'/%3E%3Cpolygon points='33,24 33,56 58,40' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.9;
  transform: translate(-50%, -50%) scale(0.9);
  transition: transform 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.video-wrapper:hover::after {
  transform: translate(-50%, -50%) scale(1.1);
}

.c-breadcrumb-wrapper {
  font-family: inherit;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 0;
}
.c-breadcrumb-wrapper a.c-link {
  text-decoration: none;
  font-weight: 500;
  color: #006dd6;
  transition: all 0.3s ease;
}
.c-breadcrumb-wrapper a.c-link:hover,
.c-breadcrumb-wrapper span.c-current {
  color: #e00072;
  font-weight: 500;
}
.c-breadcrumb-wrapper span.c-sep {
  margin: 0 8px;
}



/* Preserved utility rules (.sr-only, .mfp-*) */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;padding:0}
.mfp-wrap button.mfp-arrow,.mfp-wrap button.mfp-arrow:active,.mfp-wrap button.mfp-arrow:hover,.mfp-wrap button.mfp-arrow:focus{background:transparent !important;border:none !important;outline:none;position:absolute;top:50%;box-shadow:none !important}
.mfp-wrap .mfp-close,.mfp-wrap .mfp-close:active,.mfp-wrap .mfp-close:hover,.mfp-wrap .mfp-close:focus{background:transparent !important;border:none !important;outline:none;position:absolute;top:0;box-shadow:none !important}
.admin-bar .mfp-wrap .mfp-close,.admin-bar .mfp-wrap .mfp-close:active,.admin-bar .mfp-wrap .mfp-close:hover,.admin-bar .mfp-wrap .mfp-close:focus{top:32px!important}
img.mfp-img{padding-top:0;padding-right:0;padding-left:0}
.mfp-wrap .mfp-preloader.fa{font-size:30px}
img.mfp-img{padding-bottom:40px !important}
.mfp-gallery img.mfp-img{padding:40px 0}
.mfp-counter{display:block !important}
