#app{
  background-color: #ffffff;
  padding-bottom: 40px;
}
/* 应用案例页 — 按设计稿 */
.page-appcase {
  --appcase-blue: #005bac;
  --appcase-text: #333;
  --appcase-muted: #888;
  --appcase-border: #ddd;
  --appcase-bg: #ffffff;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--appcase-text);
  background: var(--appcase-bg);
  padding: 40px 0 0;
}

.page-appcase a {
  color: inherit;
  text-decoration: none;
}

.page-appcase img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}

.page-appcase .appcase-inner {
  width: 1400px;
  max-width: calc(100% - 80px);
  margin: 0 auto;
  box-sizing: border-box;
}

.page-appcase .appcase-panel {
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 48px 40px 28px;
  box-sizing: border-box;
}

.page-appcase .appcase-panel + .appcase-panel {
  margin-top: 32px;
}

/* ---- Hero ---- */
.subbanner-hero {
  position: relative;
  height: 550px;
  background-color: #2a2a2a;
  background-image: url("/static/web/img/banner.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.subbanner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.subbanner-hero-con {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.subbanner-hero-title {
  margin: 0;
  font-size: 60px;
  font-weight: 600;
  letter-spacing: 4px;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.subbanner-hero-sub {
  margin: 16px 0 0;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 3px;
  opacity: 0.95;
  color: #fff;
}

/* ---- Section title ---- */
.page-appcase .sec-head {
  margin-bottom: 36px;
}

.page-appcase .sec-head.center {
  text-align: center;
}

.page-appcase .sec-head .sec-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--appcase-blue);
  line-height: 1.3;
}

.page-appcase .sec-head .sec-en {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--appcase-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ---- Grid ---- */
.page-appcase .appcase-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -14px;
}

.page-appcase .appcase-item {
  width: 33.333%;
  box-sizing: border-box;
  padding: 0 14px 32px;
}

.page-appcase .appcase-item a,
.page-appcase .appcase-item .appcase-card {
  display: block;
}

.page-appcase .appcase-item .appcase-card.is-previewable {
  cursor: pointer;
}

.page-appcase .appcase-item .appcase-img {
  position: relative;
  width: 100%;
  padding-top: 66%;
  overflow: hidden;
  background: #eee;
  cursor: pointer;
}

/* 经典案例：1:1 正方形 */
.page-appcase .appcase-grid-square .appcase-img {
  padding-top: 100%;
  cursor: pointer;
}

.page-appcase .appcase-item .appcase-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.page-appcase .appcase-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.page-appcase .appcase-play::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.page-appcase .appcase-item:hover .appcase-img img {
  transform: scale(1.05);
}

.page-appcase .appcase-item .appcase-name {
  margin-top: 14px;
  text-align: center;
  font-size: 22px;
  color: #222;
  font-weight: bold;
  line-height: 2.8;
}

.page-appcase .appcase-grid.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.page-appcase .appcase-empty {
  width: 100%;
  padding: 40px 0;
  text-align: center;
  color: #999;
  font-size: 16px;
}

/* ---- Pagination ---- */
.page-appcase .appcase-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 8px 0 12px;
  font-size: 14px;
}

.page-appcase .appcase-pager a,
.page-appcase .appcase-pager span {
  display: inline-block;
  min-width: 36px;
  height: 34px;
  line-height: 32px;
  padding: 0 12px;
  text-align: center;
  box-sizing: border-box;
  color: var(--appcase-blue);
  background: #fff;
  border: 1px solid var(--appcase-border);
  margin-left: -1px;
  position: relative;
}

.page-appcase .appcase-pager a:first-child {
  margin-left: 0;
}

.page-appcase .appcase-pager a:hover {
  z-index: 1;
  color: #fff;
  background: var(--appcase-blue);
  border-color: var(--appcase-blue);
}

.page-appcase .appcase-pager .cur {
  z-index: 1;
  background: var(--appcase-blue);
  color: #fff;
  border-color: var(--appcase-blue);
}

.page-appcase .appcase-pager .pager-info {
  margin-left: 12px;
  padding: 0;
  min-width: 0;
  height: auto;
  line-height: 34px;
  color: #999;
  background: transparent;
  border: 0;
}

.page-appcase .appcase-pager a.disabled {
  color: var(--appcase-blue);
  cursor: default;
  pointer-events: none;
  background: #fff;
}

@media screen and (max-width: 1200px) {
  .page-appcase .appcase-panel {
    padding: 36px 24px 24px;
  }
}

@media screen and (max-width: 768px) {
  .page-appcase {
    padding: 24px 0 40px;
  }

  .page-appcase .appcase-inner {
    max-width: calc(100% - 32px);
  }

  .page-appcase .sec-head .sec-title {
    font-size: 22px;
  }

  .page-appcase .appcase-item {
    width: 50%;
    padding: 0 8px 24px;
  }

  .page-appcase .appcase-grid {
    margin: 0 -8px;
  }

  .page-appcase .appcase-play {
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
  }

  .page-appcase .appcase-play::after {
    left: 17px;
    top: 14px;
    border-width: 8px 0 8px 13px;
  }
}

/* 图片 / 视频预览弹层 */
.appcase-preview {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  padding: 48px 24px;
  box-sizing: border-box;
}

.appcase-preview-close {
  position: absolute;
  top: 16px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 36px;
  line-height: 40px;
  cursor: pointer;
}

.appcase-preview-inner {
  max-width: 90vw;
  max-height: 82vh;
}

.appcase-preview-inner img,
.appcase-preview-inner video {
  display: block;
  max-width: 90vw;
  max-height: 82vh;
  margin: 0 auto;
  outline: none;
  background: #000;
}
