.static-logo {
  max-height: 40px;
}
.translate-top:hover {
  transform: translateY(-5px);
}
.translate-top-and-scale {
  transition: all 0.3s ease-out;
}
.translate-top-and-scale:hover {
  transform: translateY(-5px) scale(1.03);
}
.scale-large {
  transition: all 0.3s ease-out;
}
.scale-large:hover {
  transform: scale(1.05)
}

.case-content {
  display: none !important;
  opacity: 0;
  transform: translateY(5px);
  transition: all 5s ease-out;
}
.active-case-content {
  display: grid !important;
  opacity: 1;
}

.co-bg {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: radial-gradient(circle at center, #ffffff 0%, #e0e7ee 100%);
  color: #333;
  border-radius: 12px;
}

.menu-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  overflow-y: scroll;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 0;
  padding-bottom: 1rem;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

.menu-wrapper .close-menu {
  display: flex;
}

.menu-wrapper .aside-index {
  display: block;
}

.menu-wrapper .hidden-when-is-menu {
  display: none;
}

.menu-wrapper .menu-grid {
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr))
}

.menu-wrapper .left-padding {
  padding-left: 2rem;
}

/* tiny swiper */
.swiper-container {
  position: relative;
  overflow: hidden;
}

.swiper-container,
.swiper-wrapper {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 18px;
  align-items: center;
  cursor: grab;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* plugin pagination */
.swiper-plugin-pagination {
  display: block;
  position: absolute;
  top: 50%;
  right: 2.2rem;
  width: 0.5rem;
  /* transform: translateY(-50%); */
}
.swiper-plugin-pagination .swiper-plugin-pagination__item {
  display: block;
  margin: 100% 0;
  width: 100%;
  padding-top: 100%;
  height: 0;
  border-radius: 50% !important;
  border: none;
  background: #fff;
  transition: background ease 0.2s;
  cursor: pointer;
}
.swiper-plugin-pagination .swiper-plugin-pagination__item.is-active {
  background: #333;
}

/* 内容：成功经验 */
.ugc-customer-swiper .swiper-slide .customer-content {
  flex: 3;
}
.ugc-customer-swiper .swiper-slide .customer-image {
  flex: 2;
}
.ugc-customer-swiper .swiper-plugin-pagination  {
  top: auto;
  bottom: 0;
  left: 0;
  display: flex;
  width: 50%;
}
.swiper-plugin-pagination .ugc-swiper-plugin-pagination__item {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.5rem;
  border-radius: 50% !important;
  border: none;
  background: #ccc;
  transition: background ease 0.2s;
  cursor: pointer;
}
.swiper-plugin-pagination .ugc-swiper-plugin-pagination__item.is-active {
  background: #f97316;
}

/* 1. 全屏模态背景容器 (默认隐藏) */
.modal-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 1000; 
    /* 使用flex布局来居中内容容器 */
    /* display: flex; */
    justify-content: center;
    align-items: center;
}

/* 2. 模态内容容器（用于包裹图片和按钮，实现垂直居中） */
.modal-container {
    display: flex;
    flex-direction: column; /* 垂直堆叠图片和按钮 */
    align-items: center; /* 确保内容居中 */
    max-width: 90%; 
    max-height: 90%; 
}

/* 3. 图片区域 */
.modal-content img {
    display: block; 
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 80vh; /* 调整最大高度，为按钮留出空间 */
    /* 鼠标指针不变，以避免和背景点击混淆 */
    cursor: default; 
}

/* 4. 关闭按钮样式 */
#closeModalBtn {
    margin-top: 20px; /* 在图片下方增加间距 */
    padding: 10px;
    color: #999;
    background-color: #333; /* 红色背景 */
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1.125rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#closeModalBtn:hover {
    background-color: #000;
}