.solution {
  min-height: 1410px;
  background: url("../img/solution/solution.png") no-repeat center center/cover;
  margin-top: -20px;
}

.solution-container {
  padding-top: 12%;
  margin: 0 auto;
}
.solution-container .box-3d {
  width: 229px;
}

.solution-content {
  padding-top: 19px;
}
.solution-heading h2 {
  font-family: "Saira";
  font-weight: 500;
  font-size: 48px;
  text-align: center;
  
}
.solution-description {
  margin-top: 16px;
  margin-bottom: 42px;
  padding: 0 8.75rem;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0%;
  text-align: center;
  color: #c9dee3;
}
.solution-btn {
  justify-content: center;
  gap: 32px;
  margin-bottom: 100px;
}
.solution-btn-view {
  border: 1px solid #c9dee3;
  background: transparent;
}
.solution-btn-view:hover{
  background: #FFFFFF;
  transition: all 2s ease;
}
.btn-base.solution-btn-view::before{
	display: none;
}

.btn-base.solution-btn-view:hover::before {
  opacity: 0;
}
.solution-btn-view:hover a span{
  color: #000B12;
	 
}

.solution-text {
  font-weight: 600;
}
.solution-btn-exp a {
  gap: 8px;
}
.solution-btn-exp .solution-text {
  color: #fff;
}
.solution-img-container {
  position: relative;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(31, 198, 255, 0.5) 0%,
    rgba(0, 140, 188, 0.5) 46.7%,
    rgba(31, 198, 255, 0.5) 100%
  );
  border-radius: 12px;
  padding: 3px 3px;
}


.solution-img {
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  position: relative;
}
.solution-img:after{
	position: absolute;
	content: "";
	width: 893px;
	top: 0;
	left: 50%;
	transform: translatex(-50%);
	height: 6px;
    background: linear-gradient(90deg, rgba(31, 198, 255, 0) 0%, #1FC6FF 49.16%, rgba(31, 198, 255, 0) 105.27%);
	box-shadow: 0px 0px 16.07px 0px #0FCFFF;
    box-shadow: 0px 0px 32.15px 0px #0FCFFF;
	box-shadow: 0px 0px 112.52px 0px #0FCFFF;
	box-shadow: 0px 0px 225.04px 0px #0FCFFF;
	box-shadow: 0px 0px 250px 0px #0FCFFF;
	box-shadow: 0px 0px 250px 0px #0FCFFF;

}

.solution-img img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transform: scale(1.006);
}
@media screen and (min-width: 1441px) {
  .solution-container {
    padding-top: 18%;
  }
}

@media (max-width: 768px) {
  .solution {
    min-height: auto;
  }
  .solution-container {
    padding-top: 110px;
  }
  .solution-container .box-3d {
    width: 190px;
  }
	.solution-img:after{
		height: 1.72px;
		width: 256px;
	}
  .solution-content {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .solution-heading h2 {
    font-size: 20px;
  }
  .solution-heading .text-mobile {
    font-size: 32px;
  }
  .solution-description {
    padding: 0;
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 28px;
  }
  .solution-btn {
   justify-content: space-between;
    margin-bottom: 48px;
  }
  .solution-text {
    font-size: 14px;
  }
}

/* ===== TABLET (769–1024px): thu gọn tiêu đề & mô tả cho cân đối ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .solution {
    min-height: auto;
  }
  .solution-container {
    padding-top: 120px;
    padding-bottom: 64px;
  }
  .solution-heading h2 {
    font-size: 38px;
  }
  .solution-description {
    padding: 0 3rem;
  }
  .solution-btn {
    margin-bottom: 64px;
  }
}
@media  (max-width: 376px) {
	.solution-btn{
		gap: 14px;
	}
}
@media( max-width: 420px){
	.solution-text {
		font-size: 12px;
	}
}

/* ===== Popup video ===== */
/* Trong Elementor editor: render sẵn trạng thái mở giống frontend.
   .modal của Bootstrap vốn trong suốt nên cần tự tạo nền tối thay cho .modal-backdrop. */
.tise-video-modal.tise-editor-open {
	display: block;
	background: rgba(0, 0, 0, 0.5);
}

.tise-editor-open .tise-video-modal__close{
	display: none;
}
/* Selector 2 class để thắng các rule toàn cục của modal.css (#demoModal) */
.tise-video-modal .modal-dialog {
	max-width: 960px;
	width: 76vw;
	min-height: calc(100% - 3.5rem); /* căn giữa như modal-dialog-centered */
	margin: 1.75rem auto;
}
.tise-video-modal .modal-content {
	background: transparent;
	border: none;
	box-shadow: none;
	overflow: visible;
	border-radius: 0;
	min-height: auto;
}
.tise-video-modal__player {
	width: 100%;
	height: 100%;
	border-radius: 6px;
	background: #000;
	object-fit: contain;
	/* Sáng lên một chút cho đỡ tối + viền sáng nhẹ cho nổi khối */
	filter: brightness(1.08) contrast(1.02);
	box-shadow: 0 0 70px rgba(255, 255, 255, 0.12);
}
.tise-video-modal__close {
	position: fixed;
	top: 48px;
	right: 24px;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(120, 130, 145, 0.6);
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	z-index: 1056;
	transition: background 0.2s ease;
}
.tise-video-modal__close:hover {
	background: rgba(150, 160, 175, 0.9);
}
/* Khi đăng nhập (có WP admin bar) đẩy nút X xuống để admin bar không che */
body.admin-bar .tise-video-modal__close {
	top: 46px;
}
@media (max-width: 768px) {
	/* Ghi đè modal.css (ép display:block; min-height:100dvh cho #demoModal) */
	.tise-video-modal .modal-dialog {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		max-width: 100%;
		min-height: 100dvh;
		margin: 0;
		padding: 0 14px;
	}
	.tise-video-modal .modal-content {
		width: 100%;
		min-height: auto;
	}
	.tise-video-modal__close {
		top: 14px;
		right: 14px;
		width: 40px;
		height: 40px;
		font-size: 18px;
	}
	/* Admin bar mobile cao ~46px -> đẩy X xuống dưới để không bị che */
	body.admin-bar .tise-video-modal__close {
		top: 54px;
	}
}