/* ====================================================================
   news-article.css — 新闻文章详情页样式
==================================================================== */

/* ============= Hero ============= */
.news-article-hero {
  padding: 80px 0 60px;
  color: #fff;
  background: linear-gradient(135deg, #1e3654 0%, #0e1a2b 100%);
  position: relative;
  overflow: hidden;
}
.news-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: linear-gradient(135deg, rgba(0,0,0,.5) 0%, transparent 70%);
  pointer-events: none;
}
.news-article-hero .container { position: relative; z-index: 1; }

.news-article-hero--company {
  background: linear-gradient(135deg, #1e3654 0%, #0e1a2b 100%);
}
.news-article-hero--event {
  background: linear-gradient(135deg, #2a7488 0%, #163d4a 100%);
}
.news-article-hero--industry {
  background: linear-gradient(135deg, #d97a00 0%, #7a3a00 100%);
}

.news-article-hero__crumb {
  margin-bottom: 24px;
}
.news-article-hero__crumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
}
.news-article-hero__crumb li::after {
  content: " ›";
  margin-left: 6px;
  opacity: 0.5;
}
.news-article-hero__crumb li:last-child::after { content: ""; }
.news-article-hero__crumb a {
  color: rgba(255,255,255,.85);
}
.news-article-hero__crumb a:hover { color: #ffdb6a; }

.news-article-hero__cat {
  display: inline-block;
  background: rgba(255,219,106,.18);
  color: #ffdb6a;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.news-article-hero__title {
  font-size: clamp(28px, 3.4vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 var(--sp-3);
  max-width: 1100px;
  letter-spacing: -0.01em;
}
.news-article-hero__sub {
  font-size: clamp(15px, 1.25vw, 21px);
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  max-width: 1000px;
  margin: 0 0 var(--sp-4);
}
.news-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.news-article-hero__meta time {
  background: rgba(255,255,255,.10);
  padding: 5px 12px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .news-article-hero { padding: 60px 0 40px; }
  .news-article-hero__title { font-size: 28px; }
  .news-article-hero__sub { font-size: 15px; }
}

/* ============= 文章正文 ============= */
.news-article {
  padding: 60px 0 80px;
  background: #fff;
}
/* 不硬限宽度 — 继承全站 .container 的响应式 max-width
   桌面 1280 / 2K 1600 / 4K 1920 / 巨屏 2200 */
.news-article__container {
  /* max-width 由 .container 继承 */
}
.news-article__layout {
  display: grid;
  /* 正文最大 900px（阅读舒适宽度）+ sidebar 300-380px */
  grid-template-columns: minmax(0, 900px) minmax(280px, 360px);
  gap: 64px;
  align-items: start;
  justify-content: center; /* 大屏时整体居中，两侧留白 */
  max-width: 1400px;
  margin: 0 auto;
}
.news-article__main { min-width: 0; }

/* 大屏：放宽整体上限 + 放宽 sidebar */
@media (min-width: 1600px) {
  .news-article__layout {
    grid-template-columns: minmax(0, 960px) minmax(320px, 400px);
    gap: 80px;
    max-width: 1500px;
  }
  .news-article__body { font-size: 18px; }
  .news-article__body > h3.news-article__h3 { font-size: 26px; }
}
@media (min-width: 1920px) {
  .news-article__layout {
    grid-template-columns: minmax(0, 1000px) minmax(340px, 420px);
    gap: 88px;
    max-width: 1600px;
  }
  .news-article__body { font-size: 19px; line-height: 1.9; }
  .news-article__body > h3.news-article__h3 { font-size: 28px; }
}

/* ============= 侧边栏 ============= */
.news-article__sidebar {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sidebar-card {
  background: #fff;
  border: 1px solid var(--c-border, #e3eaf2);
  border-radius: 14px;
  padding: 22px 22px 20px;
  position: relative;
  overflow: hidden;
}

/* CTA 卡片：深色品牌色 */
.sidebar-card--cta {
  background: linear-gradient(135deg, #1e4a72 0%, #3375af 100%);
  color: #fff;
  border-color: transparent;
}
.sidebar-card--cta::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(255,255,255,.15) 0%, transparent 70%);
}
.sidebar-card__eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,.7);
  margin-bottom: 10px;
}
.sidebar-card--cta h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff;
  line-height: 1.3;
}
.sidebar-card--cta p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  margin: 0 0 16px;
}
.sidebar-card .btn-block {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  letter-spacing: 0.3px;
  background: var(--c-accent, #e60012);
  color: #fff;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.sidebar-card .btn-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230,0,18,.35);
}
.sidebar-card__phone {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.92) !important;
  letter-spacing: 0.3px;
  padding: 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s;
}
.sidebar-card__phone:hover {
  background: rgba(255,255,255,.08);
}

/* 列表卡片：浅底 */
.sidebar-card__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--c-text);
  margin: 0 0 12px;
  letter-spacing: -0.2px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-primary);
  display: inline-block;
}
.sidebar-card__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-card__links li {
  margin-bottom: 8px;
}
.sidebar-card__links li:last-child { margin-bottom: 0; }
.sidebar-card__links a {
  display: block;
  font-size: 13px;
  color: var(--c-text);
  padding: 7px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, color .2s, padding-left .2s;
}
.sidebar-card__links a:hover {
  background: var(--c-bg-alt, #f0f5fa);
  color: var(--c-primary);
  padding-left: 14px;
}

@media (max-width: 1024px) {
  .news-article__layout { grid-template-columns: 1fr; gap: 40px; }
  .news-article__sidebar { position: static; }
}

.news-article__cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--sp-7);
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #e7eef5 0%, #c5d3e3 100%);
  position: relative;
}
.news-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-article__cover--ph::before {
  content: "📰 CESIPC NEWS";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(51,117,175,0.30);
}

.news-article__body {
  font-size: 17px;
  color: var(--c-text);
  line-height: 1.85;
}
.news-article__body > p {
  margin: 0 0 var(--sp-5);
}
.news-article__body > p strong {
  color: var(--c-primary);
  font-weight: 700;
}
.news-article__body > h3.news-article__h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1.35;
  margin: var(--sp-7) 0 var(--sp-3);
  letter-spacing: -0.01em;
  padding-left: 16px;
  border-left: 4px solid var(--c-accent);
}
.news-article__list {
  list-style: none;
  padding: var(--sp-4) var(--sp-6);
  margin: 0 0 var(--sp-5);
  background: var(--c-bg-alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--c-primary);
}
.news-article__list li {
  position: relative;
  padding: 8px 0 8px 24px;
  line-height: 1.7;
  font-size: 15px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}
.news-article__list li:last-child { border-bottom: 0; }
.news-article__list li::before {
  content: "▸";
  position: absolute;
  left: 4px;
  color: var(--c-accent);
  font-weight: 700;
}
.news-article__list li strong { color: var(--c-primary); }

.news-article__tags {
  margin: var(--sp-6) 0;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.news-article__tags-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: 0.05em;
  margin-right: 6px;
}
.news-article__tags span:not(.news-article__tags-label) {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.news-article__share {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--c-text-2);
}
.news-article__share a {
  color: var(--c-accent);
  font-weight: 700;
  padding: 6px 14px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  transition: all var(--t-fast);
}
.news-article__share a:hover {
  border-color: var(--c-accent);
  background: rgba(230,0,18,.04);
}

/* CTA 视觉由 components.css 统一接管，本块已清理 */

/* ============= 相关新闻 ============= */
.news-related {
  padding: var(--sp-12) 0;
  background: #fff;
}
.news-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}
.news-related-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none !important;
  color: var(--c-text) !important;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.news-related-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary);
  box-shadow: 0 14px 36px rgba(13,31,90,0.12);
}
.news-related-card__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #e7eef5 0%, #c5d3e3 100%);
  overflow: hidden;
  position: relative;
}
.news-related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.news-related-card:hover .news-related-card__media img { transform: scale(1.05); }
.news-related-card__media--ph::before {
  content: "📰";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  opacity: 0.25;
}
.news-related-card__body {
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.news-related-card__cat {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.10em;
  color: var(--c-accent);
  text-transform: uppercase;
}
.news-related-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.45;
  margin: 4px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-related-card time {
  font-size: 11px;
  color: var(--c-muted);
  font-family: 'Inter', sans-serif;
  margin-top: auto;
}

@media (max-width: 1024px) {
  .news-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-related-grid { grid-template-columns: 1fr; }
}
