/*
 * 项目发布 — 内容详情页专用样式（对照 CaseDetailPage / OpportunityDetailPage）
 * 配合：release-content-stl.html 等
 * 依赖：stl-pages.css（.wrap、.hero--release-bg）
 */

/* —— Hero —— */

.hero--release-detail {
  padding: 48px 0;
}

.release-detail-hero {
  position: relative;
  z-index: 1;
}

.release-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.15s;
}

.release-detail-back:hover {
  color: #fff;
  text-decoration: none;
}

.release-detail-title {
  margin: 0 0 12px;
  font-size: clamp(1.625rem, 3.2vw, 1.875rem);
  font-weight: 700;
  line-height: 1.35;
  max-width: 900px;
}

.release-detail-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
}

.release-detail-date__ico {
  flex-shrink: 0;
  opacity: 0.9;
}

/* —— 正文卡片 —— */

.release-detail-sec {
  padding: 32px 0 48px;
  background: #f9fafb;
}

.release-detail-wrap {
  max-width: 56rem;
}

.release-detail-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (max-width: 640px) {
  .release-detail-card {
    padding: 24px 20px;
  }
}

.release-detail-kicker {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #6b7280;
}

.release-detail-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
}

.release-detail-body > :first-child {
  margin-top: 0;
}

.release-detail-body p {
  margin: 0 0 1rem;
}

.release-detail-body p:last-child {
  margin-bottom: 0;
}

/* 短标题行：项目名称：、项目详情：、解决方案： 等 */
.release-detail-body p strong,
.release-detail-body b {
  font-weight: 600;
  color: #1f2937;
}

.release-detail-body h2,
.release-detail-body h3,
.release-detail-body h4 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
}

.release-detail-body h2:first-child,
.release-detail-body h3:first-child {
  margin-top: 0;
}

.release-detail-body ul,
.release-detail-body ol {
  margin: 0 0 1rem;
  padding-left: 0;
  list-style: none;
}

.release-detail-body ul li,
.release-detail-body ol li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  color: #374151;
  line-height: 1.75;
}

.release-detail-body ul li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #6b7280;
}

.release-detail-body a {
  color: #1e4a8c;
}

.release-detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.release-detail-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9375rem;
}

.release-detail-body th,
.release-detail-body td {
  border: 1px solid #e5e7eb;
  padding: 8px 12px;
  text-align: left;
}

.release-detail-body th {
  background: #f9fafb;
  font-weight: 600;
}

/* —— 底部 CTA —— */

.release-detail-cta {
  padding: 48px 0;
  background: linear-gradient(105deg, #1a3a6e 0%, #142d55 50%, #0f2447 100%);
  text-align: center;
}

.release-detail-cta__title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #fff;
}

.release-detail-cta__sub {
  margin: 0 0 24px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.release-detail-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: #1e4a8c;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.release-detail-cta__btn:hover {
  background: #f3f4f6;
  text-decoration: none;
}
