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

/*--------------------------------------------------------------
# LINH TINH
--------------------------------------------------------------*/
:root {
  --primary-color: #ed1d26;
}
/* body {
  font-family: "Arial", sans-serif;
}
.nav > li > a,
.mobile-sidebar-levels-2 .nav > li > ul > li > a {
  font-family: "Arial", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical > li > a {
  font-family: "Arial", sans-serif;
}
.alt-font {
  font-family: "Arial", sans-serif;
} */
.absolute-footer {
  display: none;
}
html {
  background-color: #fff;
}
.slide-banner .text.title-banner {
  font-size: 80px;
  font-weight: 700;
  line-height: 93.75px;
}
.slide-banner .text.title-banner p {
  color: var(--primary-color);
}
.slide-banner p {
  margin: 0 !important;
}
.slide-banner .text {
  font-size: 36px;
  font-weight: 300;
  line-height: 42.19px;
  text-align: center;
  color: #333333;
}
@media (max-width: 480px) {
  .slide-banner .text.title-banner {
    font-size: 40px;
    line-height: 50px;
  }
  .slide-banner p {
    font-size: 14px;
  }
}
.slide-images .flickity-page-dots .dot,
.slide-banner .flickity-page-dots .dot {
  width: 30px;
  height: 12px;
  background: #07315b;
  border: none;
  border-radius: 6px;
  opacity: 1;
}
.slide-images .flickity-page-dots .dot.is-selected,
.slide-banner .flickity-page-dots .dot.is-selected {
  width: 72px;
  background: #07315b !important;
}
.box-service .box-text {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(216, 49, 49, 0.9);
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  color: #fff;
  padding: 15px;
}
.box-chuongtrinh {
  background: #fff;
  padding: 25px;
}
.box-chuongtrinh .box-text {
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  padding: 28px 0 15px 0;
  color: rgba(0, 0, 0, 1);
}
.box-chuongtrinh .box-text h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  color: rgba(0, 0, 0, 1);
}
.box-chuongtrinh .box-text a {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  color: rgba(216, 49, 49, 1);
  text-decoration: underline;
  margin-top: 40px !important;
}
.wpforms-form button[type="submit"] {
  color: #fff !important;
  border-radius: 3px !important;
  border: 1px solid var(--primary-color);
  background: #07315b !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
	width: 100%;
}
.no-padding-bottom {
  padding-bottom: 0px;
}

/*--------------------------------------------------------------
# WHY SECTION
--------------------------------------------------------------*/
.dinh-cu-icon-box-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .dinh-cu-icon-box-container {
    grid-template-columns: 1fr;
  }
}

.dinh-cu-icon-box {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
}

.dinh-cu-icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dinh-cu-icon-box-icon {
  background-color: #07315b;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.dinh-cu-icon-box-icon i {
  font-size: 24px;
}

.dinh-cu-icon-box-content {
  flex-grow: 1;
}

.dinh-cu-icon-box-title {
  color: #07315b;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.dinh-cu-icon-box-description {
  font-size: 18px;
  line-height: 1.6;
}
/*--------------------------------------------------------------
# NUMBER SECTION
--------------------------------------------------------------*/
.number-box h2 {
  font-size: 55px;
  margin-bottom: 20px;
}
.number-box p {
  font-size: 30px;
}
/*--------------------------------------------------------------
# MEMBER SECTION
--------------------------------------------------------------*/
.box-team img {
  border-radius: 20px 20px 0 0;
}
.box-team .box-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 28.13px;
  color: rgba(237, 28, 36, 1);
}
/*--------------------------------------------------------------
# CHUNGNHAN SECTION
--------------------------------------------------------------*/
.slide-chungnhan .flickity-prev-next-button {
  width: 50px;
  height: 50px;
  opacity: 1 !important;
}
.slide-chungnhan .flickity-prev-next-button svg {
  color: #ffffff;
  background: rgba(237, 28, 36, 1);
  width: 50px;
  height: 50px;
  opacity: 1;
}
.slide-chungnhan .flickity-prev-next-button.previous {
  left: -80px !important;
}
.slide-chungnhan .flickity-prev-next-button.next {
  left: unset !important;
  right: -80px !important;
}

/*--------------------------------------------------------------
# NEWS SECTION
--------------------------------------------------------------*/
.box-blog-post {
  border-radius: 10px !important;
  overflow: hidden;
}
.badge.post-date {
  top: 0 !important;
  left: 0 !important;
  background: rgba(216, 49, 49, 1);
  padding: 10px;
}
.badge.post-date .badge-inner {
  background: none;
  border: none;
}
.box-blog-post .post-date-day {
  font-size: 30px;
}
.box-blog-post .post-title {
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 16px;
}
.box-blog-post .post-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.box-blog-post .is-divider {
  display: none;
}
.box-blog-post .from_the_blog_excerpt {
  font-size: 18px;
  font-weight: 400;
  color: rgba(102, 102, 102, 1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blogs .flickity-prev-next-button.previous {
  left: -80px !important;
  width: 50px;
}
.blogs .flickity-prev-next-button.next {
  left: unset !important;
  right: -80px !important;
  width: 50px;
}
.blogs .flickity-prev-next-button svg {
  color: #ffffff;
  background: rgba(237, 28, 36, 1) !important;
  width: 50px !important;
  height: 50px !important;
  opacity: 1;
}
.blogs .flickity-page-dots .dot {
  width: 30px !important;
  height: 12px !important;
  background: rgba(216, 49, 49, 1) !important;
  border: none !important;
  border-radius: 6px !important;
  opacity: 1 !important;
}
.blogs .flickity-page-dots .dot.is-selected {
  width: 72px !important;
  background: rgba(216, 49, 49, 1) !important;
}
/*--------------------------------------------------------------
# SIDEBAR
--------------------------------------------------------------*/
.widget-category-block h3 {
  font-size: 16px;
  line-height: 40px;
  text-transform: uppercase;
  color: #fff;
  background: #07315b;
  padding: 5px 25px 5px 25px;
  margin-bottom: 0px;
}
.widget-category-block ul {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 37px;
}
.widget-category-block ul li {
  background: #f5f5f5;
  position: relative;
  margin-bottom: 0px;
  margin-left: 0px;
  padding: 10px 20px 10px 20px;
  gap: 20px;
}
.widget-category-block .custom-post-item {
  border-bottom: 0.5px solid rgba(102, 102, 102, 0.15);
}
.widget-category-block ul .title a {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  justify-content: space-between;
  align-items: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.post-sidebar #secondary {
  position: sticky;
  top: 100px;
}
/*--------------------------------------------------------------
# BLOG ARCHIVE
--------------------------------------------------------------*/
.custom-category-header h1 {
  font-size: 30px;
  color: #fff;
  margin-bottom: 0px;
}
ul.page-numbers li a {
  color: rgba(237, 28, 36, 1);
  border-color: rgba(225, 225, 225, 1);
  background: rgba(225, 225, 225, 1);
}

/*--------------------------------------------------------------
# BLOG SINGLE
--------------------------------------------------------------*/
.bread-wrapper {
  background-color: #fff;
}
.bread {
  background-color: #fff;
  color: #000;
  padding: 5px 0 5px 0;
}
.rank-math-breadcrumb a {
  color: #000;
  font-weight: 700;
}
.rank-math-breadcrumb p {
  margin-bottom: 0px;
}
.post-meta {
  color: #b2b2b2;
}
.post-meta svg {
  width: 20px;
  height: 20px;
  color: #b2b2b2;
}
#ez-toc-container {
  width: 50%;
}
@media (max-width: 600px) {
  #ez-toc-container {
    width: 100%;
  }
}
.entry-header-text {
  padding-bottom: 0px;
}
/*--------------------------------------------------------------
# SEARCH PAGE
--------------------------------------------------------------*/
.tab-content .tab .search-results {
  display: none; /* Ẩn tất cả nội dung bài viết mặc định */
}

.tab-content .tab.active .search-results {
  display: block; /* Chỉ hiển thị nội dung bài viết của tab active */
}
.search-results-container {
  padding-top: 30px;
}
.search-title {
  margin-bottom: 0px;
}
.search-tabs {
  margin: 2em 0;
}

/* CSS để thêm vào file style.css của theme */
.search-tabs .tab-links {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap; /* Cho phép xuống dòng trên màn hình nhỏ nếu cần */
}

.search-tabs .tab-links li {
  margin: 0;
  padding: 0;
  flex: 1; /* Mỗi tab có độ rộng bằng nhau */
  text-align: center;
}

.search-tabs .tab-links a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap; /* Ngăn text xuống dòng trong tab */
  overflow: hidden;
  text-overflow: ellipsis; /* Thêm dấu ... khi text quá dài */
}

.search-tabs .tab-links li.active a {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

/* Responsive styles */
@media screen and (max-width: 767px) {
  .search-tabs .tab-links {
    flex-direction: column; /* Tab xếp dọc trên mobile */
  }

  .search-tabs .tab-links li {
    flex: none;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .search-tabs .tab-links li:last-child {
    border-bottom: none;
  }

  .search-tabs .tab-links a {
    padding: 12px 10px;
    text-align: left;
  }

  .search-tabs .tab-links li.active a {
    border-bottom: none;
    border-left: 3px solid var(--primary-color);
    background-color: #f7f7f7;
  }
}

/* Phiên bản thay thế: Tab kiểu nút bấm trên mobile */
@media screen and (max-width: 767px) {
  .search-tabs .tab-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
  }

  .search-tabs .tab-links li {
    width: auto;
    border: none;
    margin-bottom: 8px;
  }

  .search-tabs .tab-links a {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9em;
    text-align: center;
  }

  .search-tabs .tab-links li.active a {
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: white;
  }
}

/* Phiên bản tab scroll ngang */
@media screen and (max-width: 767px) {
  .search-tabs .tab-links {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Làm mượt cuộn trên iOS */
    scrollbar-width: none; /* Ẩn thanh cuộn trên Firefox */
    -ms-overflow-style: none; /* Ẩn thanh cuộn trên IE/Edge */
    padding-bottom: 5px;
    justify-content: flex-start;
  }

  .search-tabs .tab-links::-webkit-scrollbar {
    display: none; /* Ẩn thanh cuộn trên Chrome/Safari */
  }

  .search-tabs .tab-links li {
    flex: 0 0 auto;
    width: auto;
    border: none;
  }

  .search-tabs .tab-links a {
    padding: 10px 15px;
    white-space: nowrap;
    text-align: center;
  }

  .search-tabs .tab-links li.active a {
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
  }
}

.tab-links li.active a {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab {
  display: none;
  padding: 1.5em 0;
}

.tab.active {
  display: block;
}

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

.search-item {
  margin-bottom: 1.5em;
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5em;
}

.search-item:last-child {
  border-bottom: none;
}

.search-item .search-item-inner {
  display: flex;
  text-decoration: none;
  color: inherit;
  gap: 1em;
}

.search-thumbnail {
  flex: 0 0 150px;
}

.search-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.search-content {
  flex: 1;
}

.search-content h3 {
  margin: 0 0 0.5em;
  color: var(--primary-color);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.search-content p {
  margin: 0 0 0.5em;
  color: #666;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.search-content .button-wrapper {
  justify-content: flex-start;
}
.search-content .button-wrapper .btn-pri,
.search-content .button-wrapper .btn-sec {
  max-width: 150px;
}
@media (max-width: 410px) {
  .search-content .button-wrapper {
    flex-direction: column;
  }
}
.post-date {
  font-size: 0.9em;
  color: #999;
}

.no-results {
  text-align: center;
  padding: 2em;
  background: #f8f8f8;
  border-radius: 4px;
}

.pagination-wrapper {
  margin-top: 2em;
  text-align: center;
}

.custom-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  margin-top: 2em;
}

.custom-pagination a,
.custom-pagination span {
  padding: 0.5em 1em;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #666;
}

.custom-pagination a:hover {
  background-color: #f5f5f5;
}

.custom-pagination .current-page {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.custom-pagination .dots {
  border: none;
  padding: 0 0.5em;
}

.pagination-prev,
.pagination-next {
  font-weight: bold;
}
/*--------------------------------------------------------------
# ABOUT PAGE
--------------------------------------------------------------*/
.page-title-section h2 {
  margin-bottom: 0px;
}
/*--------------------------------------------------------------
# VISION SECTION
--------------------------------------------------------------*/
.vision-section {
  position: relative;
  z-index: 0;
}
.vision-section .bg-tamnhin {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
}
.vision-section .bg-tamnhin .img-inner {
  height: 100%;
}
.vision-section .bg-tamnhin .img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 480px) {
  .vision-section .bg-tamnhin {
    position: relative;
    width: 100% !important;
  }
}
/*--------------------------------------------------------------
# VALUE SECTION
--------------------------------------------------------------*/
.box-giatri {
  padding: 48px 24px;
  background: rgba(248, 242, 242, 1);
  border-radius: 5px;
  overflow: hidden;
}
/*--------------------------------------------------------------
# FOOTER
--------------------------------------------------------------*/
.title-footer {
  font-size: 20px;
  font-weight: 700;
  line-height: 28.13px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.content-footer ul {
  list-style: none;
  margin-left: 0 !important;
  margin-bottom: 16px !important;
}
.content-footer ul li {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  margin-left: 0 !important;
  margin-bottom: 16px !important;
}
.sticky-contact-buttons {
    display: none !important;
}
.image-cover {
    padding-top: 75% !important;
}