/* ===================== 案例详情页 ===================== */

.cs-main {
  background: #F8F8F8;
}

.cs-wrap {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

/* ===================== Banner ===================== */
.cs-hero {
  position: relative;
  z-index: 1;
}

/* 背景图按原图比例铺满宽度，多余高度由下方白色卡片盖住 */
.cs-hero-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.cs-hero-bg img {
  display: block;
  width: 100%;
  height: auto;
}

.cs-hero-bg::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 6, 6, .5);
}

.cs-hero-inner {
  position: relative;
  z-index: 2;
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 30px;
}

/* 面包屑 */
.cs-crumb {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.cs-crumb li {
  position: relative;
  padding: 0 15px;
}

.cs-crumb a,
.cs-crumb span {
  display: inline-block;
  font-size: 14px;
  line-height: 1.75;
  color: #fff;
  opacity: .7;
  transition: opacity .36s ease;
}

.cs-crumb li:last-child a,
.cs-crumb li:last-child span {
  opacity: 1;
}

.cs-crumb a:hover {
  opacity: 1;
}

.cs-crumb li + li a::before,
.cs-crumb li + li span::before {
  content: '>';
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  line-height: 1.75;
  color: #fff;
  opacity: .7;
}

/* 标题 */
.cs-hero-txt {
  margin-top: 82px;
  padding-bottom: 12px;
}

.cs-hero-txt h1 {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.2;
  color: #fff;
}

/* ===================== 标题与摘要卡片 ===================== */
.cs-top {
  position: relative;
  z-index: 10;
  padding: 84px 0 90px;
}

.cs-card {
  background: #fff;
  padding: 70px 66px 18px;
}

.cs-cardtop {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #EAEAEA;
  padding-bottom: 67px;
}

.cs-cardle {
  width: 52%;
  padding-right: 20px;
  margin-top: -7px;
}

.cs-title {
  font-size: 24px;
  font-weight: normal;
  line-height: 1.75;
  color: #333;
  margin-bottom: 10px;
}

.cs-summary {
  padding-right: 40px;
}

.cs-summary p {
  font-size: 16px;
  line-height: 1.75;
  color: #666;
}

.cs-cardrg {
  width: 48%;
}

.cs-pic {
  position: relative;
  width: calc(100% - 7px);
  aspect-ratio: 594 / 313;
  overflow: hidden;
}

.cs-pic img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .45s ease;
}

.cs-pic img.is-loaded {
  opacity: 1;
}

.cs-pic::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, .2), transparent);
  pointer-events: none;
}

/* ===================== 详情正文 ===================== */
.cs-article {
  position: relative;
  z-index: 10;
  padding-bottom: 100px;
}

.cs-h2 {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.3;
  color: #353D42;
  text-align: center;
  margin-bottom: 36px;
}

/* 标题下方的分隔线（上下各 1px） */
.cs-hline {
  height: 0;
  border-top: 1px solid #E2E2E2;
  border-bottom: 1px solid #E2E2E2;
}

.cs-body {
  padding: 30px 0 60px;
}

.cs-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #333;
  text-align: left;
}

/* ===================== 响应式 ===================== */
/* 版心与原站一致：≤1440 时取 82.5%（1440 下为 1188px） */
@media screen and (max-width: 1440px) {
  .cs-wrap,
  .cs-hero-inner {
    width: 82.5%;
  }

  .cs-cardle {
    padding-right: 30px;
  }

  .cs-title {
    font-size: 20px;
  }

  /* 原站 1440 下主区上边距为 76px（与固定头部同高） */
  .cs-main {
    margin-top: 76px;
  }

  .cs-crumb a,
  .cs-crumb span,
  .cs-crumb li + li a::before,
  .cs-crumb li + li span::before {
    font-size: 12px;
  }

  .cs-hero-txt h1 {
    font-size: 38px;
    line-height: 1;
  }

  .cs-hero-inner {
    padding-top: 34px;
  }

  .cs-hero-txt {
    margin-top: 86px;
    padding-bottom: 16px;
  }

  .cs-article {
    padding-bottom: 90px;
  }
}

@media screen and (max-width: 1200px) {
  .cs-wrap {
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
  }

  .cs-hero-inner {
    width: 100%;
    padding: 30px 40px 0;
    box-sizing: border-box;
  }

  /* 窄屏时让背景图铺满 Banner 内容高度 */
  .cs-hero-bg {
    height: 100%;
    overflow: hidden;
  }

  .cs-hero-bg img {
    height: 100%;
    object-fit: cover;
  }

  .cs-card {
    padding: 60px 40px 18px;
  }
}

@media screen and (max-width: 991px) {
  .cs-hero-inner {
    padding: 24px 20px 0;
  }

  .cs-hero-txt {
    margin-top: 54px;
  }

  .cs-hero-txt h1 {
    font-size: 34px;
  }

  .cs-crumb a,
  .cs-crumb span {
    font-size: 13px;
  }

  .cs-top {
    padding: 54px 0 60px;
  }

  .cs-wrap {
    padding: 0 20px;
  }

  .cs-card {
    padding: 40px 24px 10px;
  }

  .cs-cardtop {
    display: block;
    padding-bottom: 40px;
  }

  .cs-cardle {
    width: 100%;
    padding-right: 0;
    margin-top: 0;
    margin-bottom: 30px;
  }

  .cs-summary {
    padding-right: 0;
  }

  .cs-cardrg {
    width: 100%;
  }

  .cs-h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .cs-body {
    padding: 24px 0 20px;
  }

  .cs-article {
    padding-bottom: 60px;
  }
}
