.home-type2 .card {
  margin-bottom: 15px;
}

.home-type2 .sub-section-title {
  font-size: 15pt;
  font-weight: bold;
  text-align: center;
  display: block;
  padding: 0px 0px 15px 0px;
  text-transform: uppercase;
}

.home-type2 .tab-content-list-container {
  overflow: hidden;
}

.home-type2 .card {
  margin-bottom: 15px;
}

.home-type2 .card-block {
  padding: 15px;
}

.home-type2 .card-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14pt;
  line-height: initial;
}

.home-type2 .card-text {
  display: -webkit-box !important;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13pt;
  line-height: initial;
}

@media (min-width: 1024px) {
  .home-type2 .card-title {
    min-height: 70px;
  }
}

@media (min-width: 1024px) {
  .home-type2 .card-text {
    /*min-height: 70px;*/
    max-height: 105px;
    overflow: hidden;
    min-height: 105px;
  }
}

.home-type2 .post-img {
  width: 100%;
  padding-bottom: 65%;
  overflow: hidden;
	position: relative;
}

.home-type2 .post-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-type2 .post-img img:hover {
  animation: pulse 1s;
}

.home-type2 .see-more-link {
  background-color: #558e37;
  color: #fff;
}

.home-type2 .tab-content-list-container .detail {
  padding: 15px;
  width: 100%;
}

.brush-text-container, .brush-text-container:before, .brush-text-container:after{
	position: relative;
}

/* Banner 'top' dưới khối Tin tức: PC thành hàng, mobile slide từng cái */
.home-top-banner {
  padding: 15px 0 30px;
}

.home-top-banner-list {
  display: flex;
  justify-content: center;
  margin: 0 -8px;
}

.home-top-banner-item {
  flex: 0 1 50%;
  padding: 0 8px;
  text-align: center;
}

.home-top-banner-item img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767.98px) {
  .home-top-banner-item {
    display: none;
    flex-basis: 100%;
  }
  .home-top-banner-item.active {
    display: block;
    animation: fadeIn 0.6s;
  }
}

/* Hỗ trợ du khách: nút "Xem thêm" chỉ dùng trên mobile */
.home-type2 .mobile-more-wrapper {
  display: none;
  text-align: center;
  margin-bottom: 15px;
}

.home-type2 .mobile-more-btt {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 30px;
  background-color: #fff;
  color: #558e37;
  font-weight: bold;
  font-size: 10pt;
  text-transform: uppercase;
}

.home-type2 .mobile-more-btt:hover {
  color: #136537;
  text-decoration: none;
}

/* CMS: "Hiển thị trên mobile" = Không */
@media (max-width: 767.98px) {
  .home-section-mobile-hidden {
    display: none;
  }
  .home-type2 .mobile-more-wrapper {
    display: block;
  }
  .home-type2 .nav-pills-custom .nav-link.mobile-more-item {
    display: none;
  }
  .home-type2 .nav-pills-custom.show-more .nav-link.mobile-more-item {
    display: block;
  }
}


/* Khối Khám phá (display7): giảm chiều cao, parallax tính theo vị trí khối (JS trong inc/display7.php) */
.destination #ninhbinhparallax {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 560px;
  max-height: 820px;
}

.destination #ninhbinhparallax .parallax-item {
  top: 0 !important;
  will-change: transform;
}

.destination #ninhbinhparallax .parallax-item2 {
  background-position: center bottom !important;
  transform-origin: center bottom;
}

.destination #ninhbinhparallax .parallax-item3 {
  transform: scale(1.2);
}

@media (max-width: 991.98px) {
  .destination #ninhbinhparallax {
    height: 65vh;
    min-height: 480px;
  }
}

/* Khối Liên hệ: khung form nền xám nhẹ, bán trong suốt trên ảnh nền */
.contact .getintouch {
  padding: 60px 15px;
}

.contact .getintouch .modern-form {
  max-width: 900px;
  padding: 30px 40px 35px;
  background-color: rgba(240, 240, 240, 0.5);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.contact .getintouch .contact-section-title {
  color: #136537;
}

.contact .getintouch .hotline-text {
  color: #c50303;
  text-shadow: none;
}

@media (max-width: 767.98px) {
  .contact .getintouch {
    padding: 30px 10px;
  }
  .contact .getintouch .modern-form {
    padding: 20px 15px 25px;
  }
}
