@charset "UTF-8";
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 0;
}

.breadcrumb {
  font-size: 13px;
  color: #999;
}
.breadcrumb span {
  cursor: pointer;
  transition: color 0.2s;
}
.breadcrumb span:hover {
  color: #1890ff;
}
.breadcrumb .sep {
  margin: 0 8px;
  color: #d9d9d9;
}
.breadcrumb .current {
  color: #333;
  cursor: default;
}
.breadcrumb .current:hover {
  color: #333;
}

.page-body {
  padding: 32px 0 80px;
}

.page-title-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.customer-logo img {
  height: 50px;
  max-width: 150px;
  object-fit: contain;
}

.title-content {
  flex: 1;
}
.title-content h1 {
  font-size: 32px;
  color: #1a1a2e;
  margin: 0 0 12px;
  line-height: 1.3;
}
.title-content .meta-info {
  display: flex;
  align-items: center;
  gap: 12px;
  /* 空间不足时摘要换行，而不是挤压标签 */
  flex-wrap: wrap;
}
.title-content .meta-info .summary-text {
  font-size: 15px;
  color: #666;
}

.case-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
}
@media (max-width: 1024px) {
  .case-layout {
    grid-template-columns: 1fr;
  }
}

.case-section {
  margin-bottom: 56px;
}
.case-section h2 {
  font-size: 28px;
  margin: 12px 0 24px;
  color: #222;
}

.section-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background: #e6f4ff;
  color: #1890ff;
  margin-bottom: 8px;
}
.section-badge.challenge {
  background: #fff2e8;
  color: #fa8c16;
}
.section-badge.solution {
  background: #f6ffed;
  color: #52c41a;
}
.section-badge.result {
  background: #f9f0ff;
  color: #722ed1;
}

.rich-content {
  line-height: 2;
  font-size: 16px;
}
.rich-content p {
  margin-bottom: 16px;
  color: #555;
}
.rich-content h3 {
  font-size: 20px;
  margin: 24px 0 12px;
  color: #222;
}
.rich-content ul, .rich-content ol {
  padding-left: 24px;
  color: #555;
}
.rich-content ul li, .rich-content ol li {
  margin-bottom: 8px;
}
.rich-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 12px 0;
}

.case-footer {
  margin-top: 48px;
}

.case-sidebar p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.sidebar-cta {
  text-align: center;
}
.sidebar-cta .cta-icon {
  font-size: 36px;
  margin-bottom: 8px;
}
.sidebar-cta h3 {
  font-size: 17px;
  color: #1a1a2e;
  margin-bottom: 6px;
}
.sidebar-cta p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}
.sidebar-cta .sidebar-cta-btn {
  background: #1890ff !important;
  border-color: #1890ff !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
}
.sidebar-cta .sidebar-cta-btn:hover {
  background: #40a9ff !important;
  border-color: #40a9ff !important;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  transition: color 0.2s;
}
.related-item:hover {
  color: #1890ff;
}
.related-item .related-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: #1890ff;
  border-radius: 50%;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .breadcrumb-bar {
    padding: 12px 0;
  }
  .breadcrumb {
    font-size: 12px;
  }
  .breadcrumb .current {
    max-width: 160px;
  }
  .page-body {
    padding: 20px 0 36px;
  }
  .container {
    padding: 0 16px;
  }
  .page-title-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }
  .title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .customer-logo img {
    height: 40px;
  }
  .title-content h1 {
    font-size: 22px;
  }
  .title-content .meta-info {
    flex-wrap: wrap;
    gap: 8px;
  }
  .title-content .meta-info .summary-text {
    font-size: 13px;
  }
  .case-layout {
    gap: 24px;
  }
  .case-section {
    margin-bottom: 36px;
  }
  .case-section h2 {
    font-size: 22px;
    margin: 8px 0 16px;
  }
  .rich-content {
    font-size: 15px;
  }
  .rich-content h3 {
    font-size: 18px;
  }
  .case-sidebar {
    margin-top: 8px;
  }
}
@media (max-width: 480px) {
  .title-content h1 {
    font-size: 20px;
  }
  .case-section h2 {
    font-size: 20px;
  }
}
.prev-next-nav {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
}

.pn-link {
  display: block;
  font-size: 14px;
  color: #888;
  line-height: 2;
  text-decoration: none;
  transition: color 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pn-link:hover {
  color: #1890ff;
}

/* n-card / n-tag 静态还原 */
.side-card {
  background: #fff;
  border: 1px solid #efeff5;
  border-radius: 8px;
  padding: 20px;
}
.side-card .side-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 14px;
}

.side-divider {
  height: 1px;
  background: #efeff5;
  margin: 16px 0;
}

.text-link {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #1890ff;
  text-decoration: none;
  transition: color 0.2s;
}
.text-link:hover {
  color: #40a9ff;
}

.industry-tag {
  display: inline-block;
  padding: 0 8px;
  height: 22px;
  line-height: 22px;
  font-size: 12px;
  border-radius: 2px;
  color: #2080f0;
  background: rgba(32, 128, 240, 0.1);
  /* 中文任意两字间可换行，flex 压缩会把标签挤成 1 字宽导致竖排，强制单行不收缩 */
  white-space: nowrap;
  flex-shrink: 0;
}

.sidebar-cta-btn {
  display: block;
  width: 100%;
  padding: 0 16px;
  height: 40px;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid #1890ff;
}
