.trang-chu {
/*Trang chủ*/
.banner-hero {
  position: relative;
  min-height: 600px;
  background: linear-gradient(
    90.07deg,
    #ffffff 0.06%,
    rgba(255, 255, 255, 0.8) 35.52%,
    rgba(255, 255, 255, 0.72) 46.48%,
    rgba(255, 255, 255, 0) 99.94%
  );
  display: flex;
  align-items: flex-end; /* Đẩy content xuống dưới */
  padding: 0;
}

.banner-hero-background {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 10%;
  /* background: var(--banner-hero-background, #fff); */
  background-size: 100% 70%;
  background-position: right;
  background-repeat: no-repeat;
  z-index: 1;
}

.banner-hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-hero-content {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding-top: 100px;
}

.bannerText1,
.bannerText3 {
  color: #000;
  width: 80%;
}

.bannerText2 {
  font-size: 48px !important;
  font-weight: bold;
  width: 85%;
}

.bannerIcon {
  margin: 0 5px 5px 5px;
  width: 32px;
  height: 32px;
}

#bannerCarousel .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    padding: 0;
    margin-right: 15%;
    margin-bottom: -5%;
    margin-left: 0;
}

#bannerCarousel .carousel-inner {
  overflow: unset !important;
}

#bannerCarousel .carousel-item .row .col-12 {
  min-height: 420px;
}

#bannerCarousel .carousel-indicators .active {
    background-color: var(--heading-color);
    width: 30px !important;
}

#bannerCarousel .carousel-indicators [data-bs-target] {
    width: 25px;
    height: 3px;
}

/* Nút màu primary*/
.button-primary {
  background-color: var(--primary-color);
  width: 150px;
  padding: 10px 10px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid var(--primary-color);
  display: inline-block;
}

.button-primary a {
  color: #fff !important;
  transition: all 0.3s ease;
}

.button-primary:hover {
  border: 1px solid var(--primary-color);
  background-color: #fff;
}
.button-primary:hover a {
  color: var(--primary-color) !important;
}

/*Nút màu trắng viền primary*/
.button-white-primary {
  background-color: #fff;
  width: 150px;
  padding: 8px 10px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid var(--primary-color);
  display: inline-block;
}

.button-white-primary a {
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}

.button-white-primary:hover {
  border: 1px solid var(--primary-color);
  background-color: var(--primary-color);
}
.button-white-primary:hover a {
  color: #fff !important;
}

.bannerright {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.bannerright-background {
  background-color: var(--secondary-color);
  width: 419px;
  max-height: 355px;
  height: 100%;
  border-radius: 16px 20px 4px 5px;
  text-align: center;
  position: relative;
}

.bannerright-image {
  width: 100%;
  position: absolute;
  top: -75px;
  bottom: 0;
  overflow: hidden;
}

.bannerright-image img {
  max-width: 100%;
  height: 100%;
}

/*Nút absolute kiểu cho banner hình ảnh*/
.bannerright-button {
  max-width: 300px;
  width: 100%;
  background-color: #fff;
  position: absolute;
  box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.07);
  border-radius: 4px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.bannerright-button.row.positioned {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Hiệu ứng khi slide không active - ẩn nhanh hơn */
.carousel-item:not(.active) .bannerright-button {
    opacity: 0 !important;
    transform: translateY(20px) !important;
}

/* Ngăn layout shift khi buttons thay đổi vị trí */
.carousel-item.slide .bannerright-button {
    transition: none; /* Tắt transition khi slide đang chuyển */
}


/* Smooth transition khi slide hoàn tất */
.carousel-item.active .bannerright-button {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bannerright-button.row .col-2 {
  justify-items: center;
}

.bannerright-button-image {
  border-radius: 8px;
  padding: 7px;
  background-color: #eef6fb;
}

.bannerright-button-image img {
  max-width: 20px;
  max-height: 20px;
  width: 20px;
  height: 20px;
}


.bannerright-button p{
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bannerright-button:hover {
  background-color: var(--heading-color);
}

.bannerright-button:hover p {
  color: #fff;
}

.bannerright-button:hover .bannerright-button-image {
  background-color: #fff;
}

.bannerright .bannerright-button:nth-child(2) {
  top: 20%;
  left: 20%;
}

.bannerright .bannerright-button:nth-child(3) {
  top: 40%;
  left: 70%;
}

.bannerright .bannerright-button:nth-child(4) {
  top: 70%;
  left: 20%;
}

.bannerright .bannerright-button:nth-child(5) {
  top: 40%;
  left: 70%;
}

.bannerright-button.row {
  flex-wrap: nowrap;
  align-items: center;
  padding: 12px;
}

.bannerright-button-tieu-de {
  font-size: 14px;
  font-weight: 700;
  color: black;
}

.bannerright-button-mo-ta {
  font-size: 14px;
  font-weight: 400;
  white-space: wrap;
  color: black;
}

@media (max-width: 1400px) {
  .bannerText2 {
    width: 100% !important;
  }
  .bannerText3 {
    width: 100% !important;
  }
  .bannerright-background {
    width: 415px;
  }
}
@media (max-width: 1200px) {
  .bannerText3 {
    width: 100% !important;
  }
  .bannerText2 {
    width: 100% !important;
    font-size: 40px !important;
  }
}
@media (max-width: 992px) {
 .banner-hero{
  height: 950px;
 }

 #bannerCarousel .carousel-indicators {
  margin-bottom: 100px;
  width: 100% !important;
  justify-content: center;
 }
  
  .banner-hero-content {
    padding-top: 50px !important;
  }

  .bannerText1,
  .bannerText3 {
    font-size: 13px !important;
  }

  .bannerText2 {
    font-size: 30px !important;
  }

  .bannerright {
    justify-content: center !important;
    align-items: flex-start !important;
  }

  .bannerright-background {
    height: 250px;
  }

  .bannerright-image img {
    max-width: 90% !important;
  }

  .bannerright-button{
    max-width: 200px !important;
  }
  
  .bannerright-button-mo-ta {
    font-size: 12px;
    white-space: wrap;
  }

  .bannerright .bannerright-button:nth-child(2) {
    top: 130px;
    left: 80px;
  }

  .bannerright .bannerright-button:nth-child(3) {
    top: 230px;
    left: 30px;
  }

  .bannerright .bannerright-button:nth-child(4) {
    top: 340px;
    left: 80px;
  }

  .bannerright .bannerright-button:nth-child(5) {
    top: 200px;
    right: 90px;
    left: unset;
  }
}
@media (max-width: 768px) {
  /* .bannerright-background {
    width: 100% !important;
  } */
  .bannerright-image img {
    max-width: 100% !important;
  }
}

/*Điện thoại dọc*/
@media (max-width:576px) {
  .banner-hero {
    height: 500px;
    min-height: unset;
  }
  .bannerright {
    display: none;
  }
  .marquee-logo {
    height: 50px !important;
  }
  .home-description {
    width: 100% !important;
  }
  .ve-chung-toi-danh-muc-item-col.mid{
    margin: 100px 0 150px 0;
  }
}

/*marquee-logo*/
.marquee-logo {
  background-color: var(--primary-color);
  width: 100%;
  height: 100px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  align-content: center;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.marquee-logo:before,
.marquee-logo:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.marquee-logo:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 50s slide infinite linear;
}

.logos-slide img {
  max-height: 40px;
  margin: 0 40px;
}



/*Về chúng tôi*/
.ve-chung-toi-row-title {
  text-align: center;
  justify-items: center;
}

.home-title {
  font-size: 42px;
  font-weight: bold;
}

.home-description {
  width: 45%;
}

.ve-chung-toi-danh-muc {
  min-height: 506px;
  position: relative;
  background: #fff;
  padding: 0;
}

.ve-chung-toi-danh-muc-background {
  background-image: var(--ve-chung-toi-danh-muc-background);
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-size: 80% 100%;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.ve-chung-toi-danh-muc-content {
  content: "";
  position: absolute;
  align-content: center;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.ve-chung-toi-danh-muc-content .row-danh-muc {
  padding-bottom: 90px;
  padding-top: 20px;
}

.ve-chung-toi-danh-muc-content .row-nut {
  text-align: center;
}

.ve-chung-toi-danh-muc-item-col {
  justify-items: center;
  align-content: center;
  height: 300px;
}

.ve-chung-toi-danh-muc-item-bottom {
  background-color: var(--secondary-color);
  border-radius: 3px;
  position: relative;
  text-align: center;
  justify-items: center;
  width: 100%;
  height: 100%;
}

.ve-chung-toi-danh-muc-item {
  height: 115%;
  position: relative;
  width: 90%;
  background-color: #f7f7f7;
  top: -20px;
  border-radius: 3px;
}

.mid .ve-chung-toi-danh-muc-item {
  background-color: var(--heading-color);
  margin-top: 20px;
}

.ve-chung-toi-danh-muc-item-image {
  position: absolute;
  align-self: center;
  justify-self: center;
}

.ve-chung-toi-danh-muc-hinh-anh {
  max-width: 60px;
  max-height: 60px;
}

.ve-chung-toi-danh-muc-item-content {
  position: absolute;
  width: 100%;
  padding: 50px 20px 20px 20px;
  text-align: left;
}

.ve-chung-toi-title {
  font-size: 24px;
  font-weight: bold;
}
.ve-chung-toi-description {
  line-height: 2;
}
.mid .ve-chung-toi-title,
.mid .ve-chung-toi-description {
  color: #fff;
}


@media (min-width: 1200px) and (max-width: 1400px) {
}
@media (min-width: 992px) and (max-width: 1200px) {
  .ve-chung-toi-danh-muc-item-col {
    height: 350px !important;
}
}
@media (min-width: 768px) and (max-width: 992px) {
  .ve-chung-toi.section-end {
    margin-bottom: 300px !important;
  }

  .ve-chung-toi-danh-muc-item-col {
    height: 500px;
  }
}
@media (min-width: 576px) and (max-width: 768px) {
}
/*Điện thoại dọc*/
@media (max-width:576px) {
  .ve-chung-toi-danh-muc-background {
    display: none;
  }

  .ve-chung-toi-danh-muc-content {
    position: unset !important;
  }

  .ve-chung-toi-danh-muc-item-col.mid{
    margin: 100px 0 150px 0;
  }
}


/*Danh mục ưu điểm*/

.danh-muc-uu-diem {
  background-color: #f7f7f7;
}

.danh-muc-uu-diem .container {
  padding: 35px 0;
}

.danh-muc-uu-diem-row {
  row-gap: 100px;
}

.danh-muc-uu-diem-content-item {
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  height: 100% !important;
}

.danh-muc-uu-diem-image {
  max-width: 54px;
  max-height: 54px;
}

.danh-muc-uu-diem-title {
  font-weight: 500;
}

@media (min-width: 768px) and (max-width: 992px)
{
  .danh-muc-uu-diem-content-item {
    justify-content: space-around !important;
  }
}

/*Lĩnh vực hoạt động*/
.linh-vuc-hoat-dong {
  background-color: #fff;
  overflow: hidden;
}

.linh-vuc-hoat-dong-row-title {
  text-align: center;
  justify-items: center;
}

.linh-vuc-hoat-dong-content:nth-child(odd) {
  background-color: #f7f7f7;
}

.linh-vuc-hoat-dong-content:nth-child(odd) .linh-vuc-hoat-dong-item {
  flex-direction: row-reverse;
}

.linh-vuc-hoat-dong-item-left {
  text-align: center;
}

.linh-vuc-hoat-dong-image {
  max-width: 600px;
  max-height: 600px;
  width: 100%;
  height: auto;
}

.linh-vuc-hoat-dong-item-right {
  align-content: center;
}

.linh-vuc-hoat-dong-title {
  font-size: 40px;
  font-weight: bold;
}

.linh-vuc-hoat-dong-san-pham a {
  color: #000;
  font-weight: 600;
}

.linh-vuc-hoat-dong-icon {
  max-width: 18px;
  max-height: 18px;
  margin: 10px 10px 10px 0;
}

@media (max-width: 1200px){
  .linh-vuc-hoat-dong-content {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}


/*Phản hồi*/
.phan-hoi {
  padding-top: 100px;
  background-color: #f7f7f7;
  padding-bottom: 100px;
}

.phan-hoi-content .row-phan-hoi {
  gap: 20px;
  flex-wrap: nowrap;
  padding-bottom: 50px;
  justify-content: center;
}

.phan-hoi-content .row-nut {
  text-align: center;
}

.phan-hoi-item {
  background-color: #fff;
  padding: 25px 25px !important;
  border-radius: 8px;
}

.phan-hoi-item-logo {
  max-width: 72px;
  max-height: 72px;
  justify-items: center;
}

.phan-hoi-item-logo img {
  width: 100%;
  height: 100%;
}

.phan-hoi-item-logo .line-secondary {
  margin-top: 10px;
  width: 45%;
}

.phan-hoi-item-noi-dung {
  min-height: 180px;
}

.phan-hoi-item-noi-dung p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phan-hoi-item-hinh-nen {
  max-width: 60px;
  max-height: 60px;
}

.phan-hoi-item-info {
  display: inline-flex;
  gap: 15px;
}

.phan-hoi-item-row-info .col-2{
  text-align: start;
}

.phan-hoi-item-row-info .col-10 {
  text-align: start;
}

.phan-hoi-item-ho-ten {
  font-weight: bold;
}

.phan-hoi-item-chuc-vu {
  font-size: 13px;
}

@media (max-width: 992px)
{
  #prevBtn {
    display: none;
  }

  #nextBtn {
    display: none;
  }
}

@media (max-width:576px)
{
  
}
/*Hành trình*/
.blog.section {
  padding-top: 100px;
  background-color: #fff;
  padding-bottom: 100px;
}

.tab-hanh-trinh {
  border-bottom: 3px solid #f7f7f7;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}

.tab-hanh-trinh .tab-item {
  border-bottom: 3px solid var(--secondary-color);
  width: 200px;
  text-align: center;
}

.tab-hanh-trinh .tab-item p {
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 10px;
}

.hanh-trinh-content .row-hanh-trinh {
  gap: 20px;
  flex-wrap: nowrap;
  margin-top: 20px;
  padding-bottom: 50px;
  justify-content: center;
}

.hanh-trinh-item {
  border-radius: 8px;
  background-color: #fff;
}

.hanh-trinh-item-hinh-anh {
  border-radius: 8px;
  width: 100%;
  height: 250px;
}

.hanh-trinh-item-hinh-anh img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.hanh-trinh-item-tieu-de {
  padding: 15px 0;
  font-size: 18px;
  font-weight: bold;
}

.hanh-trinh-content .row-nut {
  text-align: center;
}

.phan-hoi .slider {
  position: relative;
}

.phan-hoi .slider .slider-controls{
  display: flex;
  gap: 10px;
}

.phan-hoi .slider .control-btn {
  background-color: #fff;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.3;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0px 8px 8px -4px #adb5bd6e;
  color: #000;
  justify-content: center;
}

.slider .control-btn#prevBtn{
  left: -35px;
}

.slider .control-btn#nextBtn{
  right: -35px;
}

.phan-hoi .slider .control-btn:disabled {
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.phan-hoi .slider .slider-container{
  position: relative;
  overflow: hidden; /* QUAN TRỌNG: Ẩn các items ngoài viewport */
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-radius: 8px;
}

/* Wrapper chứa tất cả cards */
.phan-hoi .slider .slider-wrapper {
  display: flex;
  transition: transform 0.3s ease-in-out;
  width: 100%; /* Không cần tính toán width phức tạp */
}

/* Mỗi card */
.phan-hoi .slider .slider-card {
  flex: 0 0 auto; /* Không co giãn */
  margin-right: 20px; /* Gap between cards */
  width: calc(33.333% - 13.33px);
  /* min-height: 280px; */
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 30px;
}

.phan-hoi .slider .slider-card:hover {
  transform: translateY(-5px);
}

.phan-hoi .slider .slider-card:last-child {
  margin-right: 0;
}

/* #region Blog Carousel trang home */
.blog .carousel-inner {
  padding: 0;
}
.blog .card {
  background: var(--surface-color);
  border-radius: 4px;
  overflow: hidden;
  /* box-shadow: 0px 0 10px rgba(0, 0, 0, 0.1); */
  box-shadow: unset;
  transition: all 0.3s ease;
  height: 100%;
  border: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.blog .card:hover {
  transform: translateY(-10px);
  /* box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1); */
}

.blog .card-img-container {
  position: relative;
  height: 250px;
  overflow: hidden;
  flex-shrink: 0;
}

.blog .card .card-img-container img {
  transform: scale(1);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog .card .card-img-container:hover img {
  transform: scale(1.1);
}

.blog .category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #f9c74f, #f8961e);
  color: #fff;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.blog .category-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog .card-body {
  padding: 20px 0 20px 0;
  /* background-image: url(https://www.vietnamairlines.com/Themes/VNANew/Portal/images/other/pattern_xanh.png); */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog .card-title a {
  color: #000;
  font-size: 20px;
  font-weight: 600;
  line-height: 150%;
  /* Giới hạn title chỉ hiển thị 2 dòng */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog .card-text {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog .card-stats {
  border-top: 1px solid #e2e8f0;
  padding: 15px 0 0 0;
  margin-top: 15px;
  flex-shrink: 0;
}

.blog .stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.blog .stats-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.blog .stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #888;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

.blog .stat-item:hover {
  color: #0066cc;
}

/* .blog .stat-item i {
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
} */

.blog .look-btn {
  transition: all 0.3s ease;
}

.blog .look-btn:hover {
  color: #0066cc !important;
  /* transform: scale(1.1); */
}

.blog .like-btn {
  transition: all 0.3s ease;
}

.blog .like-btn:hover {
  color: #e74c3c !important;
  /* transform: scale(1.1); */
}

.blog .like-btn.liked {
  color: #e74c3c !important;
}

.blog .share-btn {
  display: none;
}

.blog .share-btn:hover {
  color: #0066cc !important;
  /* transform: scale(1.1); */
}

.blog .post-date {
  color: #999;
  font-size: 0.85rem;
  white-space: nowrap;
}

.blog .post-date:hover {
  color: #0066cc !important;
}

.blog .carousel-control-prev,
.blog .carousel-control-next {
  background: #fff;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.3;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0px 8px 8px -4px #adb5bd6e;
  color: #000;
  justify-content: center;
}

.blog .carousel-control-prev {
  left: -35px;
}

.blog .carousel-control-next {
  right: -35px;
}

.blog .carousel-control-prev:hover,
.blog .carousel-control-next:hover {
  opacity: 1;
}

.blog .carousel-control-prev-icon,
.blog .carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

.blog .carousel-bottom-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 15;
  width: 100%;
}

.blog .carousel-bottom-controls .carousel-indicators {
  position: static; /* Override Bootstrap positioning */
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.blog .carousel-bottom-controls .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent-color);
  border: none;
  margin: 0;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.blog .carousel-bottom-controls .carousel-indicators [data-bs-target].active {
  opacity: 1;
  transform: scale(1.2);
}

.blog .gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
}

/* Carousel Controls */
.carousel-bottom-controls .carousel-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.carousel-bottom-controls .carousel-controls .control-btn {
  width: 19px;
  height: 19px;
  background-color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-bottom-controls .carousel-controls .control-btn i {
  font-size: 12px;
  color: #fff;
  transition: color 0.3s ease;
}

.carousel-bottom-controls .carousel-controls .control-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

/* Trạng thái paused */
.carousel-bottom-controls .carousel-controls .control-btn.paused {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.carousel-bottom-controls .carousel-controls .control-btn.paused i {
  color: #ffffff;
}

/* Nút restart */
.carousel-bottom-controls .carousel-controls .control-btn#restartBtn:hover {
  background-color: #28a745;
  border-color: #28a745;
}

.carousel-bottom-controls .carousel-controls .control-btn#restartBtn:hover i {
  color: #ffffff;
}

/* Đảm bảo tất cả các cột có chiều cao bằng nhau */
.blog .row.gy-4 {
  display: flex;
  align-items: stretch;
}

.blog .row.gy-4 > [class*="col-"] {
  display: flex;
}

/* Ẩn carousel ban đầu cho đến khi JavaScript xử lý xong */
#blogCarousel {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#blogCarousel.loaded {
  opacity: 1;
}

.loading {
  text-align: center;
  padding: 50px;
  color: #666;
}

@media (max-width: 768px) {
  .blog .card-img-container {
    height: 200px;
  }

  .blog .card-body {
    padding: 20px 20px 15px 20px;
  }

  .blog .card-title {
    font-size: 1.1rem;
  }
  .blog .stats-left {
    gap: 15px;
  }

  .blog .stat-item {
    font-size: 0.8rem;
  }

  .blog .post-date {
    font-size: 0.8rem;
  }

  .blog .carousel-control-prev,
  .blog .carousel-control-next {
    display: none;
  }
  .blog .category-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    top: 10px;
    left: 10px;
  }
  .carousel-bottom-controls {
    gap: 20px;
    bottom: -45px;
  }
  .carousel-bottom-controls .carousel-controls {
    gap: 10px;
  }
  .carousel-bottom-controls .carousel-controls .control-btn {
    width: 18px;
    height: 18px;
  }

  .carousel-bottom-controls .carousel-controls .control-btn i {
    font-size: 10px;
  }

  .carousel-bottom-controls .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
  }
}

/* Ẩn carousel-indicators mặc định của Bootstrap */
.blog .carousel-indicators li {
  display: none !important;
}
/* #endregion */
}