.qili-aframe2 {
  overflow: hidden;
  margin-top: calc((60 / 1300) * 100%);
  padding: 0 15px 60px;
  position: relative;
}

/* 标题 + 主题色装饰线 */
.qili-aframe2 h2 {
  position: relative;
  font-size: 36px;
  color: #333;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 18px;
}

.qili-aframe2 h2:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-primary);
  transform: translateX(-50%);
}

/* 居中限宽,保证阅读舒适 */
.qili-aframe2 .list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 1000px;
  margin: 0 auto;
}

/* 卡片 */
.qili-aframe2 .list .list-item {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.qili-aframe2 .list .list-item:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* 图片区域 */
.qili-aframe2 .list .list-item .pic {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}

.qili-aframe2 .list .list-item .pic img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.qili-aframe2 .list .list-item:hover .pic img {
  transform: scale(1.03);
}

/* 左上角序号 */
.qili-aframe2 .list .list-item .index {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 18px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 36px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/* 悬停时右下角"点击放大"提示 */
.qili-aframe2 .list .list-item .pic:after {
  content: "Tap to enlarge";
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.qili-aframe2 .list .list-item:hover .pic:after {
  opacity: 1;
  transform: translateY(0);
}

/* 图片说明 */
.qili-aframe2 .list .list-item .caption {
  padding: 18px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  text-align: center;
  border-top: 1px solid #f5f5f5;
}

/* 滚动淡入(JS 加载后才生效,没有 JS 也不会看不见内容) */
.qili-aframe2.js-reveal .list .list-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.qili-aframe2.js-reveal .list .list-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.qili-aframe2.js-reveal .list .list-item.is-visible:hover {
  transform: translateY(-3px);
}

/* 手机端 */
@media (max-width: 991px) {
  .qili-aframe2 h2 {
    font-size: 26px;
    margin-bottom: 28px;
  }

  .qili-aframe2 .list {
    gap: 20px;
  }

  .qili-aframe2 .list .list-item {
    border-radius: 8px;
  }

  .qili-aframe2 .list .list-item .index {
    top: 10px;
    left: 10px;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 13px;
  }

  .qili-aframe2 .list .list-item .pic:after {
    display: none;
  }

  .qili-aframe2 .list .list-item .caption {
    padding: 12px 16px;
    font-size: 14px;
  }
}