/* Fonts */
:root {
  /*Phông mặc định*/
  --default-font: Inter, Helvetica, sans-serif;
  /*Phông tiêu đề*/
  --heading-font: Inter, Helvetica, sans-serif;
  /*Phông menu*/
  --nav-font: Inter, sans-serif;
}

/*Màu*/
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #333333; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2980b9; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0045f4; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --primary-color: #2980B9;
  --secondary-color: #94EDB9;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: black; /* The default color of the main navmenu links */
  --nav-hover-color: #0045f4; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: black; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0045f4; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

a {
  text-decoration: none !important;
}

p {
  margin: 0px !important;
}

body {
  padding-top: 115px;
}

.no-padding {
  padding: 0 !important;
}

.no-margin {
  margin: 0 !important;
}

/* Loại bỏ gutter của row nếu cần */
.no-gutters {
  margin-left: 0;
  margin-right: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}

.section-end {
  margin-bottom: 100px;
}

.line-secondary {
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.text-font-default {
  font-size: 16px;
  font-family: var(--default-font);
}

.vietinfo-row-title > * {
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center;
}

.vietinfo-title {
  font-size: 40px;
  font-weight: 700;
}

.vietinfo-description {
  width: 45%;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

.carousel-indicators [data-bs-target] {
  background-color: darkgray;
}

.carousel-control-prev {
  justify-content: start;
  width: auto;
}

.carousel-control-next {
  justify-content: end;
  width: auto;
}

.carousel-control-prev-icon {
  background-color: lightslategray;
}

.carousel-control-next-icon {
  background-color: lightslategray;
}

/*#region Cổng thông tin*/
.congthongtin {
  display: block;
  background-image: var(--congthongtin-background);
  background-repeat: round;
}

.congthongtin-mobile {
  display: none;
}

.congthongtin-item {
  padding: 15px 0;
}

a img:hover {
  filter: grayscale(30%);
  transform: scale(1.02);
}

/*Mobile*/
@media (max-width: 768px) {
  .congthongtin {
    display: none;
  }

  .congthongtin-mobile {
    padding: 15px 0;
    display: block;
  }

  .congthongtin-item {
    padding: 0;
    margin-bottom: 18px;
  }
}
/*#endregion Cổng thông tin*/

.marquee {
  color: #0547c1;
  font-size: 18px;
}

.layout-left-first {
  margin-left: 0;
}

.col-swt3 {
  padding: 0px 10px 0px 0px !important;
}

.layout-right-first {
  margin-left: 0px;
}

.col-swt {
  padding: 0px !important;
}

.tintuctonghop-title {
  font-size: 29px;
  margin-top: 0;
  margin-bottom: 15px;
}

.border-line {
  padding: 0px 0px 10px 0px;
  border-bottom: 4px solid #0038b0;
}

.tintuctonghop-title a {
  color: #0038b0;
  font-weight: bold;
  text-decoration: none !important;
}

.news-container {
  background-color: #ffffff;
  border: 1px solid #ccc;
}

.nav-link {
  --bs-nav-link-font-size: 14px !important;
}

.nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: white;
  background-color: #0547c1 !important;
  font-size: 1em;
  line-height: 26px;
  font-weight: bold;
  font-family: var(--default-font);
  width: 100%;
  height: 36px;
  --bs-nav-tabs-border-radius: 0;
  --bs-nav-link-padding-x: 0 !important;
  --bs-nav-link-padding-y: 0 !important;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-color: #1380f9 !important;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: white;
  background-color: #1380f9 !important;
  border-bottom: 2px solid #1380f9;
}

.nav-tabs .nav-link,
.nav-tabs .nav-item.show .nav-link {
  border-bottom: 2px solid #1380f9;
}

/* Thay đổi con trỏ và hiệu ứng cho danh sách tin tức */
.list-group-item-action {
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  margin-bottom: 0.5rem;
  border: 0;
  border-bottom: 1px #c8c8c8 dotted;
  border-radius: unset !important;
}

.list-group-item.active {
  --bs-list-group-active-bg: #f4f5f5 !important;
  --bs-list-group-active-color: black !important;
  --bs-list-group-active-border-color: #c8c8c8;
}

.list-group-item-title:hover {
  color: #ac0000 !important;
}

.list-group-item-title {
  float: left;
  padding-left: 10px;
  padding-right: 8px;
  width: 97%;
  height: 45px;
  font-size: 16px;
  overflow: hidden;
  text-decoration: none !important;
}

.list-group-item small {
  text-align: right;
  float: right;
  font-size: 12px;
  font-style: italic;
  padding-right: 8px;
  padding-top: 4px;
}

.main-news-content img {
  transition: opacity 0.3s ease-in-out;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  height: 324px;
}

.main-news-content .main-news-content-areas {
  padding: 10px;
  height: 160px;
  width: 100%;
  color: black;
  background-color: #eaedf1 !important;
  font-size: 13px;
  margin: 0;
}

.main-news-content-areas .main-news-content-title {
  font-weight: bold;
  font-size: 16px;
  overflow: hidden;
  max-height: 44px;
}

.main-news-content-areas .main-news-content-description {
  overflow: hidden;
}
/* Lớp tiện ích để giới hạn số dòng */
.line-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cột trái: Cố định chiều cao cho tiêu đề và mô tả chi tiết */
.main-news-content-areas .title-clamp-2 {
  -webkit-line-clamp: 2;
}

.main-news-content-areas .description-clamp-5 {
  -webkit-line-clamp: 5;
}

/* Cột phải: Cố định chiều cao cho tiêu đề trong danh sách */
.list-group-item .line-clamp {
  -webkit-line-clamp: 2;
  /* Chiều cao tương đương 2 dòng của text thường (font-size: 1rem, line-height: 1.5) */
  height: 45px;
}

/* Loading animation */
.loading {
  position: relative;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* CSS cho danh sách có thể cuộn */
.scrollable-list {
  /* Chiều cao tối đa tương đương khoảng 6 mục tin */
  max-height: 28rem;
  overflow-y: auto;
  padding-right: 0.5rem; /* Thêm khoảng trống cho thanh cuộn */
}

/* Tùy chỉnh thanh cuộn cho đẹp hơn (tùy chọn) */
.scrollable-list::-webkit-scrollbar {
  width: 8px;
}

.scrollable-list::-webkit-scrollbar-track {
  background: transparent;
}

.scrollable-list::-webkit-scrollbar-thumb {
  background-color: #ced4da;
  border-radius: 10px;
  border: 3px solid #ffffff;
}

.hiden {
  display: block;
}

.hiden-mobile {
  display: none;
}

#banner-slide-carousel .carousel-indicators {
  position: absolute;
  bottom: 0px !important;
  top: auto !important;
  left: 50%;
  z-index: 15;
  width: 60%;
  margin-left: -30%;
  padding-left: 0;
  list-style: none;
  text-align: center;
}

#banner-slide-carousel .carousel-indicators .active {
  margin: 0;
  width: 10px;
  height: 10px;
  background-color: gray;
}

#banner-slide-carousel .carousel-indicators li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0px;
  text-indent: -999px;
  border: 1px solid #807e7e;
  border-radius: 10px;
  cursor: pointer;
  background-color: transparent;
  color: black;
  margin: 0 5px;
}

@media (max-width: 768px) {
  .hiden {
    display: none;
  }
  .hiden-mobile {
    display: block;
    padding: 0 !important;
    margin: 0 !important;
  }
}


/* Thanh menu */
.pt-custom-70 {
  padding-top: 70px !important;
}

.nav-pills {
  background-color: var(--primary-color) !important;
}

.item-tab.nav-link.active {
  background-color: white !important;
  color: black !important;
  font-weight: bold;
}



.product-panel .news-panel .event-panel {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem;
}

/* Danh sách sản phẩm */
.card-san-pham {
    background: #FAFAFC;
}

.card-body-item-sanpham {
  background-color: #FAFAFC;
  border-radius: 0.5rem;
  padding: 1rem;
}

.card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  display: block;
}
.card-product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

a.text-decoration-none:hover {
  text-decoration: none;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  transition: all 0.2s ease-in-out;
}

.custom-width-responsive {
  width: 75%;
}

@media (min-width: 576px) {
  .custom-width-responsive {
    width: 50%;
  }
}

/* Chi tiết sản phẩm */
.image-wrapper {
    /* max-width: 500px; */
    margin: 0 auto;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-title {
    font-size: 32px;
    color: #000;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 1rem;
}

.product-description {
    font-size: 16px;
    color: #000;
    margin-bottom: 1.5rem;
}

.underline-container {
    position: relative;
    height: 6px;
    margin-bottom: 2rem;
}

.underline-decoration {
    bottom: -3px;
    width: 50px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.rich-text-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #000;
    margin-bottom: 2.5rem;
    word-wrap: break-word;
}

.rich-text-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%; /* Đảm bảo container chiếm toàn bộ chiều rộng */
    padding: 0;
}

.carousel-prev, .carousel-next {
    border-radius: 20px;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    min-width: 40px;
    text-align: center;
    line-height: 1;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: var(--primary-color, #007bff);
    color: #fff;
    border-color: var(--primary-color, #007bff);
}

.carousel-prev:disabled, .carousel-next:disabled {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.card-text {
    font-size: 14px;
    color: #555;
}

.linhvuc-title {
    font-size: 20px !important;
    color: #000 !important;
}

.linhvuc-underline {
    width: 50px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    margin-top: 6px;
}

@media (max-width: 768px) {
    .product-title {
        font-size: 24px;
    }

    .product-description {
        font-size: 14px;
    }

    .product-image {
        width: 100%;
    }
}

.san-pham-lien-quan-title {
  font-size: 40px;
  font-weight: bold;
  text-align: center !important;
  margin: 0 !important; /* Xóa margin mặc định của <p> */
  width: 100%; /* Đảm bảo chiếm toàn bộ chiều rộng */
}

.products-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  /* justify-content: center; */
}

.products-carousel .products-item {
  flex: 0 0 32.5%;
  display: none;
}

.products-carousel .products-item.active {
  display: block;
}

.carousel-container {
  position: relative;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  background: #fff;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0px 8px 8px -4px #adb5bd6e;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: none;
}

@media (max-width: 768px) {
  .carousel-container .products-item {
    flex: 0 0 80%;
    margin: 0 auto;
  }

  .carousel-prev,
  .carousel-next {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .carousel-prev {
    left: 0;
  }

  .carousel-next {
    right: 0;
  }
}



/*Danh sách hoạt động */
.nam-hoat-dong {
  font-weight: bold;
  color: black;
  display: inline-flex;
  align-items: center;
  gap: 10px; /* Khoảng cách giữa chữ và gạch */
  position: relative;
}
.title-giai-doan {
  font-weight: bold;
  color: black;
}
.underline-decoration-nam {
  width: 50px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}
.hoat-dong-content {
  max-width: 85%;
  margin: 0 auto;
  position: relative;
  padding: 20px;
  border-radius: 8px;
  box-shadow: none; /* Không có shadow */
}
.hoat-dong-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  opacity: 0.3; /* Làm mờ background */
  filter: blur(5px); /* Hiệu ứng blur */
  z-index: -1;
  border-radius: 8px;
}
.hoat-dong-item, .giai-doan-list {
  background: rgba(255, 255, 255, 0.85);
  padding: 15px;
  border-radius: 8px;
}
.hoat-dong-slider {
  position: relative;
  padding: 0 40px;
}

.swiper {
  width: 100%;
  height: 100%;
  min-height: 300px;
  padding: 0 60px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.swiper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://newsites.vietinfo.tech/media/n1rbd4tl/02038cc871ecc724e51c0f50590654b5a8b1277c.png');
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.16;
  z-index: -1;
}

.swiper-no-bg {
  width: 100%;
  height: 100%;
  min-height: 250px;
  padding: 0 60px; /* Thêm padding để dành chỗ cho nút điều hướng */
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch; /* Đảm bảo các slide kéo dài theo nội dung */
  width: 100%;
  
  height: auto; /* Loại bỏ chiều cao cố định */
  min-height: 200px; /* Đảm bảo chiều cao tối thiểu nếu cần */
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Kéo dài slide theo nội dung */
  width: auto; /*Loại bỏ width: 50% để Swiper tự quản lý */
  height: auto;
}

.swiper-slide .card {
  width: 100%;
  max-width: 400px; /* Thu nhỏ kích thước card */
  height: 50%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.swiper-slide img {
  width: 100%;
  height: 250px; /* Tăng chiều cao hình ảnh để phù hợp hơn */
  max-height: none; /* Loại bỏ giới hạn max-height */
  object-fit: content;
}

.card {
  height: 50%; /* Đảm bảo card lấp đầy chiều cao của slide */
  display: flex;
  flex-direction: column;
}

.card-body {
  flex-grow: 1; /* Đảm bảo nội dung card mở rộng */
  padding: 15px; /* Thêm padding để nội dung hiển thị rõ ràng */
}

.swiper-button-prev, .swiper-button-next {
  color: #000;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  /* width: 40px; */
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.swiper-button-prev:after, .swiper-button-next:after {
  font-size: 20px;
}

@media (max-width: 767.98px) {
  .hoat-dong-content {
    max-width: 100%;
    padding: 15px;
  }
}

.view-gallery-btn {
  float: right;
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  font-weight: 500;
  padding: 5px 15px;
  border-radius: 1px;
  transition: 0.3s ease;
}

.view-gallery-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.thumbnail-wrapper {
    max-width: 100%;
    overflow: hidden;
}

#thumbnailContainer {
    transition: transform 0.3s ease;
    min-width: max-content;
}

#thumbnailContainer img {
    height: 80px;
    cursor: pointer;
}


/*Danh sách tin tức*/
.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.card-text {
  font-size: 14px;
  color: #555;
}

.linhvuc-title {
  font-size: 20px !important;
  color: #000 !important;
}

.linhvuc-underline {
  width: 50px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
  margin-top: 6px;
}

.badge-noibat {
  display: inline-block;
  background-color: #F6D0FE;
  color: #BA24D5;
  font-size: 12px;
  font-weight: 600;
  border-radius: 24px;
  padding: 4px 12px;
  width: fit-content;
}

.badge-docnhieu {
  display: inline-block;
  background-color: #E9E9F8;
  color: #2622B7;
  font-size: 12px;
  font-weight: 600;
  border-radius: 24px;
  padding: 4px 12px;
  width: fit-content;
}

.latest-news {
  margin-bottom: 40px;
}

.latest-news .card {
  border: none;
  height: 100%;
  background-color: #FAFAFC;
}

.latest-news .card-img-top {
  height: 400px;
  object-fit: cover;
}

.latest-news .card-title {
  font-size: 22px;
  font-weight: 700;
}

.latest-news .card-text {
  font-size: 16px;
  color: #333;
}

.popular-news-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.popular-news-list {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  justify-content: space-between;
}

.popular-news-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.popular-news-item:last-child {
  border-bottom: none;
}

.popular-news-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.popular-news-item .news-title {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin: 0;
  line-height: 1.4;
}

.popular-news-item .news-title:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  

  .latest-news .card-img-top {
      height: 200px;
  }

  .latest-news .card-title {
      font-size: 18px;
  }

  .latest-news .card-text {
      font-size: 14px;
  }

  .popular-news-list {
      min-height: auto;
  }

  .popular-news-img {
      width: 60px;
      height: 60px;
  }

  .popular-news-item .news-title {
      font-size: 14px;
  }
}

.giai-thuong-background{
  background: #F8FAFC;
}

.card-tin-tuc-background {
  background-color: #FAFAFC;
}

.news-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* justify-content: center; */
}

.news-carousel .news-item.active {
    display: block;
}

.news-carousel .news-item {
      flex: 0 0 32.5%;
      display: none;
      }
      
@media (max-width: 768px) {
  .news-carousel .news-item {
    flex: 0 0 80%;
    margin: 0 auto;
  }
}


/*Chi tiết tin tức */
.narrow-content {
    max-width: 900px;
    margin: 0 auto;
}

.rich-text-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.badge-yte {
    background-color: #EFFFF4;
    color: #00AB56;
}
.badge-chinhphu {
    background-color: #FFF0F1;
    color: #E84E49;
}
.badge-sukien {
    background-color: #FFF4E4;
    color: #ED6203;
}
.badge-doanhnghiep {
    background-color: #F6F6FA;
    color: var(--primary-color);
}

.rich-text-content img {
    max-width: 100%;
    height: auto;
    display: block;
    justify-self: center;
    text-align: center
}



/*Liên hệ*/
.custom-container { max-width: 1080px; }
.custom-map { width: 80%; }
.custom-image { width: 80%; height: auto; display: block; }
.contact-box {
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}
.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}
.btn-primary-custom:hover {
    background-color: #1a577f;
    color: white;
}
.icon-20 {
    width: 20px;
    height: 20px;
}


/* Trang tuyển dụng */
.description-wrapper {
    max-width: 650px;
    margin: 0 auto;
}

.richtext-tuyen-dung {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 16px;
}

.richtext-tuyen-dung img {
    max-width: 100%;
    width: calc(20% - 1rem);
    margin: 0.5rem;
    display: inline-block;
    vertical-align: top;
}

.richtext-tuyen-dung p {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content:center;
    align-items: flex-start;
}

.richtext-tuyen-dung p img {
    flex: 1 1 calc(20% - 1rem);
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.ghi-chu-box {
    max-width: 900px;
    background-color: var(--primary-color);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto
}

.ghi-chu-box p {
    margin-bottom: 0;
}

.phat-trien-container {
    max-width: 900px;
    margin: 0 auto;
}

.phat-trien-box {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    color: #000;
    transition: box-shadow 0.3s ease;
}

.phat-trien-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.phat-trien-box.first-block {
    background-color: #31B869;
    color: #fff;
}

.img-fixed-size {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
}

.white-border {
    background: white;
    padding: 2px;
    border-radius: 8px;
}

.noi-dung-richtext {
    font-size: 16px;
    line-height: 1.7;
}

.custom-col-2-3 {
    flex: 0 0 66.66%;
    max-width: 66%;
}

.custom-col-1-3 {
    flex: 0 0 32.14%;
    max-width: 32.14%;
}

@media (max-width: 768px) {
    .richtext-tuyen-dung p img {
        flex: 1 1 calc(40% - 1rem);
    }
}

@media (max-width: 576px) {

    .custom-col-2-3,
    .custom-col-1-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.job-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.job-tag-item {
    background-color: #F6F6FA;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

.job-card {
    width: 100%;
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    transition: transform 0.3s ease;
    text-align: left;
    color: #000;
    position: relative;
    overflow: hidden;
}

.job-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px; /* chiều cao của dải màu */
    width: 100%;
    background-color: var(--primary-color);
    transform: scaleX(0); /* ẩn ban đầu */
    transform-origin: left;
    transition: transform 0.3s ease;
}

.job-card:hover::after {
    transform: scaleX(1); /* hiện ra khi hover */
}

.job-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.job-tag.kinh-doanh {
    background-color: #FFFCED;
    color: #CC8100;
}

.job-tag.trien-khai {
    background-color: #F0F8FF;
    color: #0B74E5;
}

.job-tag.nhan-su {
    background-color: #EFFFF4;
    color: #079449;
}

.job-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.job-deadline {
    font-size: 12px;
    color: #333;
}

@media (max-width: 991.98px) {
    .job-card {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 575.98px) {
    .job-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.so-luoc-background {
    position: relative;
    z-index: 1;
}

.so-luoc-background::before {
    content: '';
    position: absolute;
    top: 250px;
    bottom: 60px;
    left: 0;
    right: 0;
    background-color: #F6F6FA;
    z-index: -1;
    border-radius: 0;
}

.jobs-carousel {
    display: flex;
    justify-content: center;
    align-items: center; 
    height: 300px;
    position: relative;

    background-image: url('https://newsites.vietinfo.tech/media/n1rbd4tl/02038cc871ecc724e51c0f50590654b5a8b1277c.png');
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

/* Lớp phủ để làm mờ ảnh nền */
.jobs-carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: white; 
    opacity: 0.84; 
    pointer-events: none;
    z-index: 1;
}

.jobs-carousel > * {
    position: relative;
    z-index: 2;
}


.jobs-carousel-no-bg {
    display: flex;
    justify-content: center;
    align-items: center; 
    height: 250px;
    position: relative;
}


.jobs-item {
    flex: 0 0 30%;
    display: none;
    justify-content: center; /* Căn ngang giữa */
}

.jobs-item.active {
  display: block;
  padding: 12px;
}

.carousel-container .container {
  position: relative;
}

/* Trên tablet & desktop, đẩy nút ra gần mép container hơn */
@media (min-width: 768px) {
    .carousel-prev {
        left: 15px;
    }

    .carousel-next {
        right: 15px;
    }
}

@media (max-width: 768px) {
  .jobs-carousel .jobs-item {
    flex: 0 0 80%;
    margin: 0 auto;
  }
}


/* Chi tiết tuyển dụng */
.custom-container-ung-tuyen {
    max-width: 850px;
    margin: 0 auto;
}

.job-slider-container {
    max-width: 1000px;
    margin: 0 auto;
}

.info-box {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.job-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.job-tag.kinh-doanh {
    background-color: #FFFCED;
    color: #CC8100;
}

.job-tag.trien-khai {
    background-color: #F0F8FF;
    color: #0B74E5;
}

.job-tag.nhan-su {
    background-color: #EFFFF4;
    color: #079449;
}

.job-info-row {
    background: #fff;
}

.job-info-block {
    align-items: flex-start;
    min-width: 200px;
}

.job-info-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
    margin-bottom: 2px;
    text-align: left;
}

.job-info-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    text-align: left;
}

.job-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.job-tag-item {
    background-color: #F6F6FA;
    padding: 4px 10px;
    border-radius: var(--border-radius);
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

.btn-ung-tuyen {
    color: #fff;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-ung-tuyen:hover {
    background-color: #fff;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--primary-color);
}

.title-lien-he {
    font-size: 2rem;
    font-weight: bold;
}

.description-wrapper {
    max-width: 700px;
    margin: 0;
}

.noi-dung-richtext {
    font-size: 16px;
    line-height: 1.7;
}

.card {
    border: 1px solid #eaeaea;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    min-height: 200px; /* Chiều cao tối thiểu đồng đều */
    display: flex;
    flex-direction: column;
}

.job-info-block .icon-circle {
    flex-shrink: 0; /* Không cho icon bị co lại */
    width: 36px;
    height: 36px;
    background-color: #4CC880;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.icon-circle i {
  color: #fff;
  font-size: 16px;
}

@media (max-width: 575.98px) {
    .custom-container-ung-tuyen {
        max-width: 100%;
        padding: 0 15px;
    }
    .job-tags {
        gap: 0.75rem;
    }
    .job-tag-item {
        font-size: 13px;
    }
    .job-info-block {
        min-width: 150px;
    }
}

.thong-tin-tuyen-dung-background, .viec-lam-khac-background{
  background: #FAFAFC;
  padding-bottom: 50px;
}


.other-jobs-heading {
    padding-left: 190px;
}

@media (max-width: 768px) {
    .other-jobs-heading {
        padding-left: 20px;
    }

    .jobs-carousel-no-bg .jobs-item {
    flex: 0 0 80%;
    margin: 0 auto;
  }
}
