/* 前台「案例分享」内容页 */
.content-page-body { padding: 28px 0 60px; }

/* ===== 顶部横幅 ===== */
.content-page-hero { padding: 30px 0 24px; }
.content-page-hero .cp-hero-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: #db2777;
  background: #fce7f3;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.content-page-hero .about-hero-title {
  font-size: 26px;
  line-height: 1.4;
  max-width: 760px;
  margin: 0 auto 8px;
}
.content-page-hero .cp-hero-meta { font-size: 13px; color: #9ca3af; }
.cp-article-meta { display: none; }

/* ===== 正文卡片 ===== */
.content-article {
  background: #fff;
  border: 1px solid #f1e4e8;
  border-radius: 14px;
  padding: 30px 36px;
  line-height: 1.9;
  color: #374151;
  font-size: 15px;
  word-break: break-word;
  box-shadow: 0 6px 24px rgba(219, 39, 119, 0.05);
}
.content-article > :first-child { margin-top: 0; }
.content-article h1,
.content-article h2,
.content-article h3,
.content-article h4 { color: #1f2937; line-height: 1.4; margin: 1.6em 0 0.7em; }
.content-article h1 { font-size: 24px; }
.content-article h2 { font-size: 20px; }
.content-article h3 { font-size: 17px; }
.content-article p { margin: 0 0 1em; }

/* 首段引导 */
.content-article > p:first-of-type {
  font-size: 16px;
  color: #4b5563;
  background: #fef9fb;
  border-radius: 10px;
  padding: 14px 16px;
}

.content-article ul,
.content-article ol { margin: 0 0 1em; padding-left: 1.6em; }
.content-article li { margin: 0.3em 0; }
.content-article a { color: #db2777; text-decoration: none; border-bottom: 1px dashed #f9a8d4; }
.content-article a:hover { color: #be185d; }
.content-article blockquote {
  margin: 1em 0;
  padding: 10px 16px;
  background: #fef2f7;
  border-left: 4px solid #f9a8d4;
  border-radius: 6px;
  color: #9d174d;
}

/* 图片：聊天截图等以“手机卡片”形式居中展示，点击放大 */
.content-article img {
  display: block;
  max-width: min(100%, 460px);
  width: auto;
  height: auto;
  margin: 14px auto;
  border-radius: 12px;
  border: 1px solid #f0e4ea;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  cursor: zoom-in;
}
.content-article img.cp-no-zoom { cursor: default; }
.content-article hr { border: none; border-top: 1px dashed #ece2e7; margin: 1.6em 0; }

/* ===== 底部操作 ===== */
.cp-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}
.cp-action-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  color: #db2777;
  background: #fff;
  border: 1px solid #f9a8d4;
  transition: all 0.15s;
}
.cp-action-btn:hover { background: #fef9fb; transform: translateY(-1px); }
.cp-action-btn.cp-action-back { background: var(--color-primary, #ff589b); color: #fff; border-color: var(--color-primary, #ff589b); }
.cp-action-btn.cp-action-back:hover { background: #ec4899; }

.content-empty { text-align: center; color: #9ca3af; padding: 60px 0; }

/* ===== 灯箱 ===== */
.cp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.86);
  padding: 24px;
  cursor: zoom-out;
}
.cp-lightbox.open { display: flex; }
.cp-lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.cp-lightbox-close {
  position: absolute;
  top: 16px; right: 22px;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}
.cp-lightbox-close:hover { opacity: 1; }

@media (max-width: 767px) {
  .content-page-body { padding-top: 48px; }
  .cp-article-meta {
    display: block;
    margin: 0 4px 10px;
    text-align: right;
    font-size: 12px;
    color: #9ca3af;
  }
  .content-article { padding: 18px 16px; border-radius: 10px; }
  .content-article > p:first-of-type { font-size: 15px; padding: 12px 14px; }
  .content-article img { max-width: 100%; }
}

/* ===== 严重通报专用排版（内容页 id=7） ===== */
.content-page--notice .content-page-hero {
  padding: 44px 0 30px;
  background: linear-gradient(180deg, #fff7f8 0%, #ffffff 100%);
  border-bottom: 1px solid #fecdd3;
}
.content-page--notice .cp-hero-kicker {
  background: #9f1239;
  color: #fff;
  font-weight: 700;
  letter-spacing: 3px;
  border-radius: 4px;
  padding: 4px 14px;
}
.content-page--notice .about-hero-title {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #881337;
  max-width: 860px;
}
.content-page--notice .cp-hero-meta {
  color: #9f1239;
  font-size: 13px;
  letter-spacing: .5px;
}
.content-page--notice .content-page-body {
  max-width: 920px;
  margin: 0 auto;
  padding: 34px 20px 72px;
}
.content-page--notice .content-article {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  font-size: 17px;
  line-height: 2.05;
  color: #27272a;
  padding: 48px 56px 44px;
  border: 1px solid #fecdd3;
  border-top: 5px solid #be123c;
  border-radius: 4px 4px 14px 14px;
  box-shadow: 0 12px 40px rgba(136, 19, 55, 0.08);
}
.content-page--notice .content-article > p:first-of-type {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 700;
  color: #881337;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-left: 6px solid #be123c;
  border-radius: 0 10px 10px 0;
  padding: 22px 26px;
  margin-bottom: 2.2em;
  text-align: left;
}
.content-page--notice .content-article h2 {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #881337;
  line-height: 1.5;
  letter-spacing: .5px;
  margin: 2.4em 0 1em;
  padding-left: 16px;
  border-left: 6px solid #e11d48;
}
.content-page--notice .content-article h2:first-of-type { margin-top: 1.4em; }
.content-page--notice .content-article p {
  margin: 0 0 1.15em;
  text-align: justify;
  text-justify: inter-ideograph;
}
.content-page--notice .content-article strong {
  color: #9f1239;
  font-weight: 800;
}
.content-page--notice .content-article blockquote {
  margin: 1.8em 0;
  padding: 20px 24px;
  background: #fff1f2;
  border-left: 6px solid #be123c;
  border-radius: 0 8px 8px 0;
  color: #881337;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
}
.content-page--notice .content-article ul {
  list-style: none;
  padding: 0;
  margin: 1.2em 0 1.8em;
  display: grid;
  gap: 10px;
}
.content-page--notice .content-article li {
  position: relative;
  margin: 0;
  padding: 12px 16px 12px 42px;
  background: #fafafa;
  border: 1px solid #f4f4f5;
  border-radius: 8px;
  line-height: 1.8;
}
.content-page--notice .content-article li::before {
  content: "!";
  position: absolute;
  left: 14px;
  top: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #be123c;
  color: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}
.content-page--notice .content-article img {
  max-width: min(100%, 430px);
  margin: 22px auto;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(24, 24, 27, 0.12);
}
.content-page--notice .content-article hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fda4af, transparent);
  margin: 2.4em 0 1.8em;
}
.content-page--notice .cp-article-actions { margin-top: 28px; }

@media (max-width: 767px) {
  .content-page--notice .content-page-hero { padding: 28px 0 22px; }
  .content-page--notice .about-hero-title {
    font-size: 24px;
    line-height: 1.45;
    padding: 0 8px;
  }
  .content-page--notice .content-page-body { padding: 20px 12px 48px; }
  .content-page--notice .content-article {
    padding: 24px 18px 28px;
    font-size: 16px;
    line-height: 1.95;
    border-radius: 2px 2px 10px 10px;
  }
  .content-page--notice .content-article > p:first-of-type {
    font-size: 16px;
    padding: 18px 16px;
  }
  .content-page--notice .content-article h2 {
    font-size: 19px;
    margin: 2em 0 0.9em;
    padding-left: 12px;
  }
  .content-page--notice .content-article p { text-align: left; }
  .content-page--notice .content-article blockquote {
    font-size: 16px;
    padding: 16px;
  }
  .content-page--notice .content-article li {
    padding: 10px 12px 10px 38px;
  }
  .content-page--notice .content-article li::before {
    left: 12px;
    top: 11px;
  }
}

/* 移动端固定标题栏高 60px：给正文和通报页顶部留出安全距离，避免被标题栏压住 */
@media (max-width: 1023.98px) {
  .content-page-body,
  .content-page--notice .content-page-body { padding-top: 72px; }
}
