/* =========================================
   NEWS DETAIL PAGE — Page-Specific Styles
   ========================================= */

/* ── Split Banner ─────────────────────── */
.news-detail-banner {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 2vw 80px;
  background-color: #0f172a;
}

.banner-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.banner-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(15px) brightness(0.4);
  transform: scale(1.1);
  /* Prevent blurred edges */
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%,
      rgba(15, 23, 42, 0.4) 0%,
      rgba(15, 23, 42, 0.9) 100%);
}

.news-banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.banner-info {
  color: #fff;
}

.banner-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.banner-tag {
  color: #fff;
  background: linear-gradient(135deg, var(--secend-color) 0%, #ff8c42 100%);
  padding: 0.4rem 1.25rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.25);
}

.banner-date {
  opacity: 0.7;
}

.banner-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.banner-excerpt {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.8;
  /* max-width: 600px; */
}

.banner-visual {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(255, 255, 255, 0.15);
  /* transform: rotate(2deg); */
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.banner-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* ── Content Section ─────────────────── */
.news-detail-section {
  padding: 5rem 2vw;
  /* background: #f9fafb; */
}

.news-article-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: flex-start;
}

.article-content {
  background: #fff;
  border-radius: 16px;
  padding: 3.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.article-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #374151;
}

.article-body h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #111827;
  margin: 3rem 0 1.5rem;
  line-height: 1.2;
}

.article-body p {
  margin-bottom: 1.5rem;
}
.article-body ul{
  list-style: disc;
  padding-left: 2em;
}
.article-body blockquote {
  border-left: 4px solid var(--secend-color);
  padding: 1.5rem 2rem;
  margin: 3rem 0;
  background: #f8fafc;
  font-style: italic;
  font-size: 1.5rem;
  color: #111827;
  font-weight: 500;
}

.article-body figure {
  margin: 3rem -2rem;
  /* Slight breakout */
}

.article-body figure img {
  width: 100%;
  border-radius: 24px;
}

.article-body figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 1rem;
}

/* 内链css */
.article-body a {
  color: #0F69FC;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.article-body a:hover {
  color: #FF8421;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

/* ── Related News ────────────────────── */
.related-news-section {
  padding: 6rem 2vw;
  /* background: #f8fafc;
  border-top: 1px solid #e5e7eb; */
}

.related-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.news-card-v {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  border: 1px solid #e5e7eb;
}

.news-card-v:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--secend-color);
}

.news-card-v-img {
  height: 240px;
  overflow: hidden;
}

.news-card-v-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card-v:hover .news-card-v-img img {
  transform: scale(1.05);
}

.news-card-v-body {
  padding: 2rem;
}

.news-card-v-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.news-card-v-tag {
  color: #fff;
  background: linear-gradient(135deg, var(--secend-color) 0%, #ff8c42 100%);
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  font-weight: 700;
}

.news-card-v-date {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}

.news-card-v-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.news-card-v-title a,
.news-card-v-title a:link,
.news-card-v-title a:visited,
.news-card-v-title a:hover,
.news-card-v-title a:active {
  text-decoration: none;
  color: inherit;
  outline: none;
}

/* ── Social Share ────────────────────── */
.article-footer {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid #eef2f6;
}

.share-links-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.share-label {
  font-weight: 800;
  color: #111827;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.share-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-item {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  color: #64748b;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e5e7eb;
}

.social-item:hover {
  background: var(--secend-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 102, 0, 0.2);
  border-color: var(--secend-color);
}

.social-item svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

/* ── Responsive ──────────────────────── */
@media (max-width: 1024px) {
  .news-banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .banner-excerpt {
    margin: 0 auto;
  }

  .banner-visual {
    max-width: 600px;
    margin: 0 auto;
    transform: rotate(0);
  }

  .news-article-wrap {
    grid-template-columns: 1fr;
  }

  .related-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .banner-meta {
    justify-content: center;
  }

  .news-banner-inner {
    gap: 1rem;
  }

  .news-detail-banner {
    padding: 120px 1rem 80px;
  }

  .article-body figure {
    margin: 2rem 0;
  }

  .related-news-grid {
    grid-template-columns: 1fr;
  }

  .news-detail-section,
  .related-news-section {
    padding: 2rem 1rem;
  }

  .article-content {
    padding: 15px;
  }

  .news-article-wrap {
    gap: 2rem;
  }

  .section-header {
    margin-bottom: 2rem !important;
  }
}