/* ============================================================
   case-detail.css — 案例详情页专属样式（MOB 主题）
   布局：Hero 横幅 + 左侧内容 + 右侧侧边栏
   参考：weaver.com.cn/overseas/ai/case-detail.html
   ============================================================ */

/* ===== Hero 区域 ===== */
.case-hero {
  position: relative;
  padding: 120px 0 64px;
  background: linear-gradient(135deg, #0a1f44 0%, #0d2b5c 40%, #134b9e 100%);
  overflow: hidden;

  background: url('https://www.ziguanjia.com/images/banner/bg_bnerp6.jpg') 50% #002c87;
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.case-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(10, 87, 208, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.case-hero .container {
  position: relative;
  z-index: 1;
}

/* 面包屑 */
.case-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 40px;
}

.case-breadcrumb a {
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color 0.2s ease;
}

.case-breadcrumb a:hover {
  color: #ffffff;
}

.case-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

.case-breadcrumb__current {
  color: rgba(255, 255, 255, 0.40);
  font-weight: 400;
}

/* Hero 内容 */
.case-hero__inner {
  width: 100%;
}

.case-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.case-hero__tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 5px 14px;
  backdrop-filter: blur(4px);
}

.case-hero__tag--industry {
  background: rgba(10, 87, 208, 0.35);
  border-color: rgba(10, 87, 208, 0.5);
  color: #ffffff;
}

.case-hero__title {
  font-size: 35px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}

.case-hero__subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
}

.case-hero__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.case-hero__meta-item strong {
  color: #ffffff;
  font-weight: 600;
}

/* ===== 主体布局 ===== */
.case-detail {
  padding: 64px 0 80px;
}

.case-detail__container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}

/* ===== 左侧主内容 ===== */
.case-detail__main {
  min-width: 0;
}

.case-section {
  margin-bottom: 48px;
}

.case-section:first-child {
  margin-bottom: 24px;
}

.case-section:last-child {
  margin-bottom: 0;
}

/* 首个区块（公司介绍）专属「company」样式：品牌淡底卡片 + 左侧品牌描边，视觉上标记企业介绍 */
.case-section--company {
  background: linear-gradient(180deg, rgba(10, 87, 208, 0.045), rgba(10, 87, 208, 0.02));
  border: 1px solid rgba(10, 87, 208, 0.12);
  border-left: 3px solid var(--brand, #0a57d0);
  border-radius: 14px;
  padding: 32px 32px 36px;
  margin-bottom: 24px;
}

.case-section--company .case-section__title {
  padding-left: 0;
}

.case-section--company .case-section__title::before {
  display: none;
}

/* 标题后「企业」标签，强化公司介绍区块辨识度 */
.case-section--company .case-section__title::after {
  content: '企业';
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand, #0a57d0);
  background: rgba(10, 87, 208, 0.1);
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .case-section--company {
    padding: 24px 18px 28px;
  }
}

.case-section__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink, #0d1b2a);
  line-height: 1.4;
  margin: 0 0 20px;
  padding-left: 16px;
  position: relative;
}

.case-section__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--brand, #0a57d0);
  border-radius: 2px;
}

.case-section__content {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text, #4a5568);
  margin: 0;
}

.case-section__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-section__list li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text, #4a5568);
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--border, #eef0f4);
}

.case-section__list li:last-child {
  border-bottom: none;
}

.case-section__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 16px;
  height: 16px;
  background: var(--brand, #0a57d0);
  border-radius: 4px;
  opacity: 0.1;
}

.case-section__list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 22px;
  width: 6px;
  height: 6px;
  background: var(--brand, #0a57d0);
  border-radius: 2px;
}

/* ===== 客户企业广告图（「公司介绍」区块下方） ===== */
.case-ad {
  margin: 0;
  margin-bottom: 48px;
}

.case-ad img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border, #e8ebf0);
  box-shadow: 0 12px 32px rgba(4, 41, 89, 0.08);
}

.case-ad__caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #8a94a6;
  text-align: center;
  letter-spacing: 0.5px;
}

/* ===== 右侧侧边栏 ===== */
.case-detail__sidebar {
  position: sticky;
  top: 100px;
}

.case-sidebar__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink, #0d1b2a);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand, #0a57d0);
}

.case-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-sidebar__item {
  display: block;
  padding: 16px 18px;
  background: var(--bg-soft, #f7f9fc);
  border: 1px solid var(--border, #e8ebf0);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.case-sidebar__item:hover {
  background: #ffffff;
  border-color: rgba(10, 87, 208, 0.2);
  box-shadow: 0 8px 20px rgba(4, 41, 89, 0.08);
  transform: translateY(-2px);
}

.case-sidebar__item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #0d1b2a);
  line-height: 1.5;
  margin-bottom: 6px;
}

.case-sidebar__item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case-sidebar__item-tag {
  font-size: 11px;
  color: var(--text, #4a5568);
  background: #ffffff;
  border: 1px solid var(--border, #e8ebf0);
  border-radius: 999px;
  padding: 3px 10px;
}

.case-sidebar__item:hover .case-sidebar__item-tag {
  border-color: rgba(10, 87, 208, 0.2);
  color: var(--brand, #0a57d0);
}

/* ===== 无 JS 兜底 ===== */
.case-noscript {
  padding: 24px;
  background: var(--bg-soft, #f7f9fc);
  border: 1px solid var(--border, #e8ebf0);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text, #4a5568);
}

.case-noscript a {
  color: var(--brand, #0a57d0);
  font-weight: 600;
  text-decoration: none;
}

.case-noscript a:hover {
  text-decoration: underline;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .case-detail__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-detail__sidebar {
    position: static;
  }

  .case-hero__title {
    font-size: 26px;
  }

  .case-hero__subtitle {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .case-hero {
    padding: 100px 0 48px;
  }

  .case-hero__title {
    font-size: 22px;
  }

  .case-hero__subtitle {
    font-size: 14px;
  }

  .case-hero__meta {
    flex-direction: column;
    gap: 0px;
    align-items: flex-start;
    margin-top: 16px;
    padding-top: 16px;
    display: none;
  }

  .case-detail {
    padding: 40px 0 56px;
    margin-top: -72px;
    position: relative;
    z-index: 9;
  }

  .case-section__title {
    font-size: 14px;
    margin: 0 0 4px;
  }

  .case-section__content,
  .case-section__list li {
    font-size: 13px;
  }
.case-hero__meta-item span{
    width: 44px;
    display: none;
}
.case-hero__meta-item strong {
    color: #ffffffa8;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
}
.case-detail__container .case-section {
    padding: 0px !important;
    margin-bottom: 16px;
}
.case-detail__container .case-section.case-section--company {
    padding: 20px !important;
    background-color: #fff;
    border-left: 0px solid var(--brand, #0a57d0);
}
.case-hero__inner {
    margin-bottom: 20px;
    margin-top: 24px;
}
.case-ad img {
    max-height: 164px;
}
.case-breadcrumb {
    display: none;
}
.case-ad {
    margin-bottom: 24px;
}

}
