.banner-image-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.case .page-header {
  margin-bottom: 10rem;
}

.case-content-section {
  padding: 1rem 9rem 20rem;
  margin: 0 auto;
}

/* 案例网格样式 - 响应式设计 */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 25px;
  column-gap: 20px;
}

/* 案例项样式 */
.case-item {
  position: relative;
  overflow: hidden;
  /* height: 320px; */
}

.case-image-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.case-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.case-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 2%;
  right: 4%;
}



.view-detail-btn span {
  font-size: 16px;
  white-space: nowrap;
  color: var(--text-active-color);
}

.view-detail-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-active-color);
  border-bottom: 1.5px solid var(--text-active-color)
}

/* 响应式设计 - 平板设备 */
@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .case-item {}

  /* .page-title {
    font-size: 2.2rem;
  } */

  .view-detail-btn {
    font-size: 2rem;
    bottom: 25%;
    right: -4%;
  }
}

@media (max-width: 912px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 10px;
    row-gap: 10px;
  }

  .case-item {}

  .case-content-section {
    padding: 27px 60px 75px;
  }

  .case-overlay {
    text-align: right;
  }

  .case-overlay img {
    width: 70%;
  }

  /* .page-title {
    font-size: 2rem;
  } */

  .view-detail-btn {
    font-size: 1.6rem;
    bottom: 10%;
    right: 17%;
  }

  .case-overlay {
    position: absolute;
    bottom: 1%;
    right: 8%;
    z-index: 1;
  }
}

/* 响应式设计 - 小尺寸平板设备 */
@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .case-item {}

  .case-content-section {
    padding: 27px 60px 75px;
  }

  /* .page-title {
    font-size: 2rem;
  } */

  .case-overlay {
    text-align: right;
  }

  .case-overlay img {
    width: 70%;
  }

  .view-detail-btn {
    font-size: 1.6rem;
    bottom: 10%;
    right: 17%;
  }

}

/* 响应式设计 - 手机设备 */
@media (max-width: 576px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .case-item {}

  /* .page-title {
    font-size: 1.8rem;
  } */

  .page-divider {
    width: 60px;
  }

  .case-overlay {
    text-align: right;
  }

  .case-overlay img {
    width: 60%;
  }

  .view-detail-btn {
    font-size: 0.9rem;
  }

}

@media (max-width: 540px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .case .page-header {
    margin-bottom: 5rem;
  }

  .case-overlay {
    text-align: right;
  }

  .case-overlay img {
    width: 50%;
  }

  .case-content-section {
    padding: 10px 10px 30px;
  }

  .view-detail-btn {
    font-size: 0.8rem;
  }

  /* .page-title {
    font-size: 1.6rem;
  } */
}