/* 新闻详情页面样式 */

.news-detail-main {
  background: #ffffff;
  padding: 3rem 0 0;
}

.news-detail-breadcrumb .breadcrumb {
  margin-bottom: 1.5rem;
  background: transparent;
  padding: 0;
}

.news-detail-breadcrumb .breadcrumb-item a {
  color: rgba(0, 0, 0, 0.65);
  text-decoration: none;
}

.news-detail-breadcrumb .breadcrumb-item.active {
  color: #0a0a0a;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #4d4d4d;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.meta-category {
  background: #8248f6;
  color: #fff;
  font-size: 0.85rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
}

.news-detail-title {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: #0a0a0a;
  /*width: 90%;*/ text-align:left;
  margin: 0 auto 1.5rem;
}

.news-detail-hero {
  width: 750px;
  text-align: center;
  margin: 0 auto 2rem;
}

.news-detail-hero img {
  width: 750px;
  height: 421.875px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.hero-caption {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 0.5rem;
}

.news-detail-highlights {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.news-detail-highlights ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #0a0a0a;
}

.news-detail-body {
  color: #0a0a0a;
  font-size: 1.025rem;
  line-height: 1.85;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /*margin-bottom: 2.5rem;*/
}

.related-news-section {
  background: #ffffff;
  padding: 4rem 0;
}

.related-news-section .section-heading-wrapper {
  max-width: 1180px;
  margin: 0 auto 1.5rem;
  text-align: left;
}

.related-news-section .section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 0.5rem;
}

.related-news-section .section-subtitle {
  color: #666;
  margin: 0;
}

.related-news-section .news-carousel-section {
  padding: 0;
  background: transparent;
  max-width: 1180px;
  margin: 0 auto;
}

.related-news-section .news-carousel-wrapper {
  min-height: 664.75px;
  height: 664.75px;
  align-items: stretch;
  position: relative;
}

.related-news-section .news-carousel-container {
  height: 100%;
}

.related-news-section .news-carousel-item {
  flex: 0 0 calc((100% - 3rem) / 3);
  padding: 0;
}

.related-news-section .news-card {
  height: 100%;
  background: #f7f7f7;
  border-radius: 24px;
  border: 1px solid #e3e3e3;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.related-news-section .news-card>img {
  width: 100%;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.related-news-section .news-content {
  align-items: flex-start;
  width: 100%;
  text-align: left;
  padding: 1.75rem;
  gap: 1.25rem;
}

.related-news-section .news-content *,
.related-news-section .news-meta span,
.related-news-section .news-title,
.related-news-section .news-excerpt {
  color: #0a0a0a;
}

.related-news-section .news-meta {
  width: 100%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #0a0a0a;
  padding-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.related-news-section .news-meta .news-date {
  margin-right: auto;
  text-align: left;
}

.related-news-section .news-meta .news-categories {
  margin-left: auto;
  text-align: right;
  display: inline-flex;
  gap: 0.25rem;
}

.related-news-section .btn-news-link {
  background: #000000;
  color: #ffffff;
  width: 100%;
  min-height: 46px;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.related-news-section .btn-news-link:hover {
  background: #1f1f1f;
  color: #ffffff;
}

.related-news-section .carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #06030b;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.related-news-section .carousel-arrow:hover {
  background: #2d2d2d;
}

.related-news-section .carousel-arrow-left {
  left: -32px;
}

.related-news-section .carousel-arrow-right {
  right: -32px;
}

.related-news-section .carousel-dots {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {

  .news-detail-hero,
  .news-detail-hero img {
    width: 100%;
    height: auto;
  }

  .news-detail-title {
    width: 100%;
  }

  /* 缩短相关新闻区域的高度 */
  .related-news-section {
    padding: 2rem;
  }

  .related-news-section .news-carousel-wrapper {
    min-height: auto;
    height: auto;
  }

  .related-news-section .news-carousel-container {
    height: auto;
  }

  .related-news-section .news-card {
    height: auto;
  }

  .related-news-section .news-carousel-item {
    flex: 0 0 100%;
    width: 100%;
  }
}