.modal-box {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.48);
  display: none;
  overflow: hidden;
}

.modal-box.soc7-modal .modal-content {
  width: 1200px;
  height: 600px;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.modal-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  min-width: 1000px;
  max-height: 90vh;
  background: #fff;
  clip-path: inset(0 round 30px);
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-weight: bold;
  text-align: center;
  font-size: 22px;
  cursor: pointer;
  color: #333;
  background: #e8e8ed;
  border-radius: 50%;
}

.modal-body {
  margin: -1px;
  max-height: calc(90vh - 100px);
  flex: 1;

  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* 自定义滚动条样式 */
.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.modal-body .sbox {
  width: 100%;
  height: auto;
}

.modal-content-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modal-inner-text {
  margin-block-start: 62px;
  box-sizing: border-box;
  margin-inline-start: auto;
  margin-inline-end: auto;
  /* max-width: calc(490px + 76px * 2); */
  max-width: calc(490px + 2px * 2);
}

.modal-title {
  letter-spacing: 0em;
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
  color: rgb(29, 29, 31);
}

.modal-desc {
  margin-block-start: 38px;
  line-height: 1.3;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.011em;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.modal-desc .content-subtitle {
  line-height: 1.3;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #231815;
  margin-bottom: 24px;
  position: relative;
}

.modal-desc .content-subtitle::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #13997a;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.modal-desc .content-subtitle:not(:first-child) {
  margin-top: 20px;
}

.modal-desc .content-info {
  line-height: 1.3;
  font-size: 14px;
  color: #433f3e;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.modal-desc .content-info:last-child {
  margin-bottom: 0;
}

.modal-footer {
  width: 100%;
  border-top: 1px solid #d8d8d8;
  margin-top: 40px;
  padding: 40px 0;
}

.modal-nxt {
  color: #6e6e73;
  font-weight: 400;
  font-size: 12px;
  display: block;
}

.con {
  margin-top: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-txt:hover::after,
.con:hover .modal-txt::after {
  width: 100%;
}

.modal-txt {
  max-width: 90%;
  cursor: pointer;
  position: relative;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-txt::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #333;
  transition: width 0.3s ease;
}

.btn-tools {
  box-sizing: border-box;
  margin-inline-start: auto;
  margin-inline-end: auto;
  max-width: calc(490px + 2px * 2);
}

.modal-prev {
  display: block;
  width: 24px;
  height: 24px;
  background: #e2e1e6 url(../images/svg/lb_jtb.svg) center no-repeat;
  cursor: pointer;
  border-radius: 50%;
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
}

.modal-next {
  display: block;
  width: 24px;
  height: 24px;
  background: #e2e1e6 url(../images/svg/lb_jtb.svg) center no-repeat;
  cursor: pointer;
  border-radius: 50%;
}

.modal-prev,
.modal-next {
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-prev:hover,
.modal-next:hover {
  background: #86868b url(../images/svg/lb_jtb.svg) center no-repeat;
}
/* soc7 */
.modal-content-inner-soc7 {
  height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.inner-swiper {
  height: inherit;
  display: flex;
}

.modal-prev-swiper,
.modal-next-swiper {
  display: block;
  width: 48px;
  height: 48px;
  background: #e2e1e6 url(../images/svg/lb_jtb.svg) center no-repeat;
  cursor: pointer;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.modal-prev-swiper {
  left: 16px;
  transform: translateY(-50%) rotate(180deg);
}

.modal-next-swiper {
  right: 16px;
}

.modal-prev-swiper:hover,
.modal-next-swiper:hover {
  background-color: #86868b;
}

.modal-container-swiper {
  width: 100%;
  height: 100%;
  padding: 80px;
}

.modal-txt-swiper {
  letter-spacing: 0em;
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  color: rgb(29, 29, 31);
  margin-right: 12px;
}
.modal-subTitle-swiper {
  line-height: 1.3;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.011em;
}

.modal-swiper {
  display: flex;
  justify-content: space-between;
  margin-top: 44px;
}

.modal-left-swiper {
  width: 70%;
}

.modal-tip {
  display: inline-block;
  height: 20px;
  line-height: 10px;
  background: #3e3a39;
  border-radius: 40px;
  padding: 4px 6px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0em;
  margin-bottom: 20px;
}

.modal-content-swiper {
  line-height: 1.3;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.1em;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.modal-content-swiper .content-subtitle {
  line-height: 1.3;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.011em;
  margin-bottom: 10px;
}

/* 为第二个及之后的 content-subtitle 添加顶部间距 */
.modal-content-swiper .content-subtitle:not(:first-child) {
  margin-top: 20px;
}

.modal-content-swiper .content-info {
  line-height: 1.3;
  font-size: 14px;
  color: #595757;
  margin-bottom: 10px;
}

.modal-content-swiper .content-info:last-child {
  margin-bottom: 0;
}

/* 处理双换行的间距 */
.modal-content-swiper .content-info + .content-info {
  margin-top: 12px;
}

.modal-right-swiper {
  flex: 1;
  margin-left: 44px;
}

.modal-right-swiper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-right-swiper .img-desc {
  text-align: center;
  font-size: 12px;
  color: #595757;
}
