/* ===== News Detail Page — Shared Styles ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #FAF9F5;
  color: #333;
  line-height: 1.8;
}
.news-breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px 0;
  font-size: 14px;
  color: #999;
}
.news-breadcrumb a { color: #999; text-decoration: none; }
.news-breadcrumb a:hover { color: #c0392b; }
.news-breadcrumb span { margin: 0 6px; }
.news-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: 550px 1fr;
  gap: 40px;
}
.news-main { padding: 20px 0; }
.news-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  color: #111;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #888;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
  flex-wrap: wrap;
}
.news-meta .source-tag {
  background: #c0392b;
  color: #fff;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}
.news-body {
  max-width: 550px;
}
.news-body p {
  font-size: 20px;
  line-height: 2.0;
  margin-bottom: 16px;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'SF Pro Text', sans-serif;
}
.news-body strong { color: #111; }
.news-inline-recommend {
  margin: 28px 0;
  padding: 16px 20px;
  background: #f0f7ff;
  border-left: 4px solid #2980b9;
  border-radius: 0 8px 8px 0;
  font-size: 16px;
  line-height: 1.6;
}
.news-inline-recommend .rec-label {
  color: #555;
  font-size: 14px;
}
.news-inline-recommend a {
  color: #2980b9;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
  display: block;
  margin-top: 4px;
}
.news-inline-recommend a:hover {
  color: #1a5276;
  text-decoration: underline;
}
.news-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin: 40px 0 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'SF Pro Display', sans-serif;
}
.news-tweet-embed { margin: 32px 0; max-width: 550px; }
.news-tweet-embed blockquote { margin: 0 !important; }
.news-figure { margin: 32px 0; }
.news-figure a {
  display: block;
}
.news-figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  transition: opacity 0.2s;
  cursor: pointer;
}
.news-figure a:hover img {
  opacity: 0.9;
}
.news-figure figcaption {
  font-size: 13px;
  color: #999;
  margin-top: 8px;
  padding-left: 4px;
}
.news-source-box {
  margin-top: 48px;
  padding: 20px 24px;
  background: #f8f8f8;
  border-radius: 8px;
  font-size: 14px;
  color: #666;
  border: 1px solid #eee;
}
.news-source-box a { color: #c0392b; word-break: break-all; }
.news-sidebar { padding: 20px 0; }
.sidebar-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.sidebar-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c0392b;
}
.sidebar-list { list-style: none; }
.sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  line-height: 1.5;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li a { color: #333; text-decoration: none; }
.sidebar-list li a:hover { color: #c0392b; }
.related-section {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid #e5e5e5;
}
.related-section h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card { text-decoration: none; color: inherit; }
.related-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}
.related-card .related-title {
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.4;
  color: #333;
}
.related-card:hover .related-title { color: #c0392b; }
@media (max-width: 768px) {
  .news-layout { grid-template-columns: 1fr; gap: 0; padding: 0 16px 40px; }
  .news-title { font-size: 24px; }
  .news-body p { font-size: 17px; }
  .news-sidebar { padding: 0; }
  .related-grid { grid-template-columns: 1fr; }
}
