main {
  background-color: #eef7ff;
}

.clip {
  clip-path: ellipse(100% 100% at 50% 0%);
}



.swiper-button-next {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%236A74BA'%2F%3E%3C%2Fsvg%3E");
}

.swiper-button-prev {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%236A74BA'%2F%3E%3C%2Fsvg%3E");
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%;
  width: 27px;
  height: 44px;
  margin-top: -22px;
  z-index: 10;
  cursor: pointer;
  background-size: 27px 44px;
  background-position: center;
  background-repeat: no-repeat;
}

.swiper-button-prev {
  left: 0;
  right: auto;
}

.swiper-button-next {
  right: 0;
  left: auto;
}

#intro {
  box-shadow: 0 -4px 4px -2px #ccc;
  z-index: 1;
  position: relative;
}

.intro-bg {
  background: linear-gradient(#d8d8ff 50%, #ffffff 100%);
}

.circle-bg {
  background-image: url(/en/img/products/hcp/home/circlebg.png), url(/en/img/products/hcp/home/circlebg.png);
  background-position: top left;
  background-repeat: no-repeat, no-repeat;
}

#contact-circles {
  display: none;
}

blockquote::before,
blockquote::after {
  display: none;
}

.big-size {
  font-size: 3rem;
}

#bg-1 {
  position: relative;
  color: #fff;
}

#bg-1>.container {
  z-index: 1;
  position: relative;
}

#bg-1::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: rgba(106, 112, 186, 0.6);
}

@media (min-width: 1440px) {
  .swiper-slide {
    min-height: 400px;
  }
}

@media (min-width: 1366px) {
  /* .success-case-wrapper {
    height: 480px;
  } */

  /* .success-case-img {
     position: absolute;
  } */

  .success-case-img {
    max-width: min(max(37.5vw, 508px), 588px);
  }

  /* .success-case-text {
    position: absolute;
    right: 52px;
    top: 100px;
    width: 584px;
    padding: 2rem;
  } */
}

@media (min-width: 576px) {
  #bg-1 {
    background-size: 100% auto;
    background-position: bottom center;
  }

  .big-size {
    font-size: 4rem;
    line-height: 1.1;
  }
}

@media (max-width: 900px) {
  .clip {
    clip-path: none;
  }

  .circle-bg {
    background-image: none;
  }

  .center {
    text-align: center;
  }
}

/* 防止輪播圖CLS跳動 */
.img-container {
  display: block;
  position: relative;
  padding-top: 55.56%;
  /* 比例固定16:9 */
  overflow: hidden;
}

.img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* table(purple linear gradient) */
.on-premises-compare {
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  box-shadow: 0px 0px 12px 3px rgb(157 157 165 / 20%);
  table-layout: fixed;
}

.on-premises-compare th,
.on-premises-compare td {
  padding: 15px 20px;
}

.on-premises-compare th {
  font-weight: unset;
}

.row-head {
  line-height: 16px;
  width: 220px;
  padding-right: 30px;
}

.bg-purple {
  background: linear-gradient(0.25turn, #f3f3ff 0%, #d8d8ff 50%, #f3f3ff 100%);
}

.bg-light-purple {
  background-color: #f3f3ff;
}

.title-big {
  font-size: 2.5rem;
}

/* 成功案例投影 */

.success-case-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center; /* 垂直置中 */
  justify-content: center;
  gap: 0; /* 圖片和文字之間的間距 */
}

/* 圖片區塊：允許縮放，設定最大寬度比例 */
.success-case-img {
  flex: 1 1 50%; /* 佔用 50% 空間，允許縮放 */
  max-width: 50%;
  z-index: 1;
}

.success-case-img img {
  width: 100%;
  height: auto;
  object-fit: cover; /* 確保圖片填滿且不變形 */
  border-radius: 8px; /* 稍微圓角比較好看，視設計而定 */
}

.success-case-text {
  position: relative;
  flex: 1 1 50%; /* 佔用 50% 空間，允許縮放 */
  max-width: 50%;
  z-index: 2;
  padding: 1.5rem; /* 稍微減少 padding，避免文字太擠 */
  background-color: #fff; /* 確保你有背景色，不然 .fff-bg 可能沒作用 */
  border-radius: 8px; /* 配合 .rounded */
  /* 如果你需要文字區塊稍微疊在圖片上，可以取消註解下面兩行 */
  /* margin-left: -20px; */
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
}

@media (min-width: 769px) and (max-width: 834px) {
  .title-big {
    font-size: 2.65rem;
  }
}


@media (max-width: 1200px) {
  .success-case-wrapper {
    justify-content: center;
    padding: 0 20px;
  }

  .title-big {
    font-size: 1.9rem;
  }
}




@media (max-width: 1678px) {
  #compare-table {
    overflow-x: auto;
  }

  .on-premises-compare {
    min-width: 974px;
  }
}

@media (max-width: 992px) {
  .success-case-wrapper {
    flex-direction: column; /* 改為上下排列 */
    padding: 0 15px; /* 減少左右 padding */
  }

  /* 直式排列時，圖片和文字都佔滿寬度 */
  .success-case-img,
  .success-case-text {
    flex: 1 1 100%;
    max-width: 100%;
    margin-left: 0; /* 重置可能存在的負 margin */
  }
}

@media (max-width: 768px) {
  .title-big {
    font-size: 2.5rem;
  }
}
