@charset "utf-8";
/* 首页 Banner：横向循环焦点图（复刻 swiper.com.cn/demo/certify，数据 scode=7 广东线路） */

/* ============ 区块外壳 ============ */
.gdhero-certify {
  position: relative;
  z-index: 1; /* 建立独立层叠上下文：把内部 coverflow 卡片(z-index 高达100)限制在本层，避免盖住顶部导航下拉菜单(hd z-index:60) */
  padding: 26px 0 6px;
  background: linear-gradient(180deg, #017bdd 0%, #ffffff 62%);
  overflow: hidden;
}
.gdhero-certify__hd { text-align: center; margin-bottom: 6px; }
.gdhero-certify__hd h2 {
  margin: 16px 0 14px; font-size: 26px; font-weight: 700; color: #fff;
  letter-spacing: .5px;
}
.gdhero-certify__hd p { margin: 0 0 40px; font-size: 18px; color: #ffffff; }

/* ============ certify 主容器（1200px 居中） ============ */
.certify {
  position: relative;
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}
.certify { padding-bottom: 44px; }
.certify .swiper-container { position: relative; height: 408px; margin-bottom: 50px; }
/* 全部卡片绝对居中叠放，由 JS 计算 translateX/scale 错位成 coverflow */
.certify .swiper-wrapper { position: absolute; inset: 0; display: block; }

/* 单张线路卡片 */
.certify .swiper-slide {
  position: absolute;
  left: 50%; top: 0;
  width: 520px;
  height: 408px;
  margin-left: -260px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(31, 78, 121, .18);
  border-radius: 4px;
  overflow: hidden;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.certify-slide-link {
  display: block; width: 100%; height: 100%;
  color: inherit; text-decoration: none;
}
/* 图片区 */
.certify-slide__media {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: #eef4f9;
}
.certify-slide__media img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
}
.certify-slide__badge {
  position: absolute; left: 14px; top: 14px;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(215, 38, 61, .92); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
}
/* 信息区 */
.certify-slide__info {
  height: 98px; padding: 12px 20px;
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
}
.certify-slide__name {
  margin: 0 0 8px; font-size: 21px; line-height: 1.3;
  font-weight: 700; color: #1a2b3c;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.certify-slide__meta { font-size: 13px; color: #8a98a6; }
.certify-slide__meta b { color: #d7263d; font-size: 19px; font-weight: 700; }
.certify-slide__meta small { font-size: 12px; font-weight: 400; }
.certify-slide__meta .dot { margin: 0 10px; color: #c8d2dc; }

/* ============ 圆点分页 ============ */
.certify .swiper-pagination {
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  width: 100%;
  text-align: center;
  z-index: 200;
}
.certify .swiper-pagination-bullet {
  display: inline-block;
  margin: 0 5px;
  border: 3px solid #fff;
  background-color: #d5d5d5;
  width: 10px; height: 10px;
  border-radius: 50%;
  opacity: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.certify .swiper-pagination-bullet-active {
  border: 3px solid #0f74bd;
  background-color: #fff;
}

/* ============ 左右圆箭头（雪碧图） ============ */
.certify .swiper-button-prev,
.certify .swiper-button-next {
  position: absolute;
  top: 204px; /* 卡片高度 408 的一半，垂直居中 */
  margin-top: -22px;
  width: 45px; height: 45px;
  background-image: url(/skin/images/banner/wm_button_icon.png);
  background-repeat: no-repeat;
  background-size: 100%;
  outline: none;
  cursor: pointer;
  z-index: 300;
}
.certify .swiper-button-prev { left: -250px; background-position: 0 0; }
.certify .swiper-button-prev:hover { background-position: 0 -46px; }
.certify .swiper-button-next { right: -250px; background-position: 0 -93px; }
.certify .swiper-button-next:hover { background-position: 0 -139px; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .certify .swiper-container { height: 320px; }
  .certify .swiper-slide { width: 400px; height: 320px; margin-left: -200px; }
  .certify-slide__media { height: 236px; }
  .certify-slide__info { height: 84px; padding: 8px 14px; }
  .certify-slide__name { font-size: 18px; }
  .gdhero-certify__hd h2 { font-size: 22px; }
  .certify .swiper-button-prev { left: -6px; top: 160px; }
  .certify .swiper-button-next { right: -6px; top: 160px; }
}
@media (max-width: 560px) {
  .gdhero-certify { padding-top: 18px; }
  .gdhero-certify__hd p { display: none; }
  .certify .swiper-container { height: 250px; }
  .certify .swiper-slide { width: 300px; height: 250px; margin-left: -150px; }
  .certify-slide__media { height: 180px; }
  .certify-slide__info { height: 70px; padding: 6px 10px; }
  .certify-slide__name { font-size: 16px; margin-bottom: 4px; }
  .certify-slide__meta { font-size: 12px; }
  .certify-slide__meta b { font-size: 16px; }
  /* 保持 45×45：雪碧图 background-position 按 45px 缩放定位，缩小到 36px 会导致图标错位成半截 */
  .certify .swiper-button-prev { left: -6px; top: 125px; width: 45px; height: 45px; }
  .certify .swiper-button-next { right: -6px; top: 125px; width: 45px; height: 45px; }
}
