/* ==========================================================================
   Success Stories 统一案例轮播（行业页 / 服务页 / 首页通用）
   标杆：industry-automotive.html。结构类名前缀 .aus- / .auto-ss-swiper
   分页器与左右按钮的运行逻辑见 assets/js/idealpro.js（auto-ss-swiper 特例）
   ========================================================================== */
.aus-title-bar { display: block; width: 48px; height: 4px; margin: 0 auto 14px; border-radius: 999px; background: linear-gradient(90deg, #2477dd, #8ab8ff); }
.aus-ss-wrap { position: relative; }
.aus-stage { position: relative; }
.auto-ss-swiper .swiper-wrapper { align-items: stretch; }
.auto-ss-swiper .swiper-slide { height: auto; }
.aus-card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 34px -16px rgba(24, 92, 188, .28); transition: box-shadow .35s ease; border: 1px solid #dddddd; }
.aus-card:hover { box-shadow: 0 24px 48px -18px rgba(24, 92, 188, .38); }
/* flex 方向交给 Tailwind 的 flex-col / md:flex-row 控制，此处只保留纵向填充 */
.aus-card-body { flex: 1 1 auto; min-width: 0; }
.aus-imgwrap .aus-img { transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
.aus-imgwrap:hover .aus-img { transform: scale(1.07); }
.aus-badge { background: linear-gradient(135deg, #2477dd, #2a6fd4); box-shadow: 0 8px 16px -6px rgba(36, 119, 221, .55); }
.aus-link { color: #2477dd; transition: color .25s ease; }
.aus-link:hover { color: #f4aa15; }
.aus-link .aus-arrow { transition: transform .25s ease; }
.aus-link:hover .aus-arrow { transform: translateX(5px); }
.aus-stats { margin-top: auto; background: linear-gradient(180deg, #ffffff, #f3f6fb); border-top: 1px solid #dddddd; }
.aus-stat { border-radius: 14px; padding: 12px 4px; transition: transform .3s ease, background .3s ease, box-shadow .3s ease; }
.aus-stat .aus-num { color: #2477dd; }
.aus-stat .aus-label { color: #6b7a90; }
.aus-stat::before { content: ""; display: block; width: 24px; height: 3px; border-radius: 99px; background: #2477dd; margin: 0 auto 10px; opacity: .55; transition: opacity .3s ease, width .3s ease; }
.aus-stat:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 12px 24px -12px rgba(24, 92, 188, .4); }
.aus-stat:hover::before { opacity: 1; width: 38px; }
@media (min-width: 640px) { .aus-stat { padding: 18px 10px; } }

/* 左右切换按钮 —— 与首页 factory-carousel (ip-fac-nav) 统一 */
.aus-nav-row { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 8px; pointer-events: none; z-index: 20; }
.aus-nav-btn { pointer-events: auto; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9999px; border: 2px solid #2477dd; background-color: rgba(255, 255, 255, .92); color: #2477dd; cursor: pointer; transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.aus-nav-btn::after { content: none; }
.aus-nav-btn svg { width: 20px; height: 20px; }
.aus-nav-btn:hover { background-color: #2477dd; color: #fff; }
.aus-nav-btn.swiper-button-disabled { border-color: #d1d5db; color: #d1d5db; cursor: not-allowed; pointer-events: none; }
.aus-nav-btn.swiper-button-disabled:hover { background-color: rgba(255, 255, 255, .92); color: #d1d5db; }
@media (min-width: 640px) {
  .aus-nav-row { padding: 0 16px; }
  .aus-nav-btn { width: 48px; height: 48px; }
  .aus-nav-btn svg { width: 24px; height: 24px; }
}
/* 移动端卡片上图下文、整体很高：按钮对齐顶部图片区域居中，
   避免落在正文中央遮挡文字（图片宽=100vw-42px，aspect 4/2.5，中心=宽×5/16） */
@media (max-width: 767px) {
  .aus-nav-row { top: calc((100vw - 42px) * 5 / 16); }
}
/* ≥1440：按钮移到卡片外侧安全区，与首页一致 */
@media (min-width: 1440px) {
  .aus-nav-row { left: -64px; right: -64px; padding: 0; }
  .aus-nav-btn { background-color: #fff; }
}

/* 下方分页切换 —— 与首页分页器样式统一 */
.aus-pagination { position: static !important; left: auto !important; right: auto !important; bottom: auto !important; width: auto !important; height: auto !important; display: flex !important; flex: 0 0 auto; align-items: center; justify-content: center; gap: 10px; margin: 22px auto 0; z-index: 2; }
.aus-pagination .swiper-pagination-bullet { width: 8px !important; height: 8px !important; margin: 0 !important; padding: 0; border: none !important; border-radius: 999px; background: #d3dae4 !important; opacity: 1 !important; cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.aus-pagination .swiper-pagination-bullet::after { content: none !important; }
.aus-pagination .swiper-pagination-bullet:hover { background: #aab6c6 !important; }
.aus-pagination .swiper-pagination-bullet-active { width: 24px !important; height: 8px !important; margin: 0 !important; background: #2477dd !important; cursor: default; }
