.news {
  margin-bottom: 196px;
}

.news-container {
  gap: 48px;
}
.news-title {
  gap: 24px;
}

.news-title .box-3d {
  width: 100px;
}
.news-info {
  gap: 8px;
}
.news-content {
  padding: 0 36px;
  display: flex;
  gap: 24px;
  height: 499px;
}
.new-post {
  background: #072c3b;
  border-radius: 12px;
}
.new-post,
.new-list {	
  width: 50%;
  flex: 1;
}

.new-post-img {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  height: 283px;
  overflow: hidden;
}
.new-post-img img {
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.35s ease;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.new-post-info {
  padding: 24px;
  gap: 16px;
}
.new-post-heading {
  gap: 8px;
}
.new-post-heading h3 {
  font-weight: 500;
  font-size: 20px;
  color: #ffffff;
	Margin: 0;
}
.new-post-heading p {
  font-weight: 400;
  font-size: 16px;
  color: #c9dee3;
}
.new-text-date {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #dddddd;
}

.new-list {
  gap: 24px;
}
.new-item {
  display: flex;
  border-radius: 12px;
  background: #072c3b;
}
.new-img {
  width: 265px;
  height: 100%;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.new-img img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 1s ease;
  border-top-left-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
}
.new-info {
  width: calc(100% - 265px) !important;
  padding: 24px;
  gap: 10px;
}
.new-heading {
  gap: 6px;
}
.new-heading h3 {
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
	Margin: 0;
}
.new-heading p {
  font-weight: 400;
  font-size: 12px;
  color: #c9dee3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.new-item .new-text-date {
  font-size: 12px;
}

.new-post,
.new-item {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.new-post:hover,
.new-item:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.8s ease-in;
  /* Transform: scale(1.05); */
}

.new-post:hover .new-post-img img,
.new-item:hover .new-img img {
  transform: scale(1.15);
}

.new-post-img img,
.new-img img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .news-content {
    padding: 0;
    flex-direction: column;
  }
	.new-item {
	  height: 140px;
	}
  .new-img {
    width: 240px;
  }
  .news-content .overflow-hidden-base {
    overflow: visible;
  }
  /* Khung ảnh phải giữ overflow hidden để ảnh hover scale không tràn ra ngoài */
  .news-content .new-post-img,
  .news-content .new-img {
    overflow: hidden;
  }
  .new-info {
    width: calc(100% - 240px) !important;
  }
  .new-post,
  .new-list {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .news-container {
    gap: 32px;
  }
  .news-description {
    padding: 0 50px;
  }
  .news-content {
    flex-direction: column;
    padding: 0;
    gap: 18px;
  }

  .news-title .box-3d {
    border: none;
  }

  .news-title .corner {
    display: none;
  }

  .news-info .text-mobile {
    text-align: center;
    font-size: 40px;
    line-height: 42px;
    padding: 0 50px;
  }

  .news-content .overflow-hidden-base {
    overflow: visible;
  }
  /* Khung ảnh phải giữ overflow hidden để ảnh hover scale không tràn ra ngoài */
  .news-content .new-post-img,
  .news-content .new-img {
    overflow: hidden;
  }

  .new-post,
  .new-list {
    width: 100%;
    margin: 0 auto;
  }
  .new-post-img {
    height: 190px;
  }
  .new-post {
    width: 100%;
    height: 385px;
  }

  .new-post-info {
    padding: 16px;
    gap: 12px;
  }
  .new-post-heading h3 {
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    align-self: stretch;
    color: #fff;
    text-overflow: ellipsis;
    font-weight: 500;
    letter-spacing: -0.36px;
  }
  .new-post-heading p {
    overflow: hidden;
    color: #c9dee3;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-family: "Inter";
    font-weight: 400;
    letter-spacing: -0.32px;
  }

  .new-post-heading p,
  .new-text-date {
    font-size: 16px;
  }

  /* Card nhỏ giữ bố cục ngang: ảnh trái, nội dung phải */
  .new-img {
    width: 113px;
    flex: 0 0 113px;
  }
  .new-info {
    width: calc(100% - 113px) !important;
    padding: 16px;
  }
  .new-item {
    height: 151px;
  }
}
@media (max-width: 390px) {
  .new-customer {
    min-height: 2700px;
  }
}
@media (max-width: 430px) {
  .new-customer {
    min-height: 1200px;
  }
}
