.news-hero {
  width: 100%;
  height: 460px;

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-hero-inner {
  text-align: center;
}

.news-hero-title {
  font-size: 36px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.news-page-section {
  padding: 40px 0 60px;
}

.news-page-section .container {
  max-width: 1200px;
}

.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.news-page-card {
  display: block;
  background: #fff;
  border: 1px solid #e0e0e0;
  color: #262626;
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.news-page-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  color: #262626;
}

.news-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0f1420;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-page-card:hover .news-thumb img {
  transform: scale(1.03);
}

.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-block;
  background: #2878ff;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 4px 10px;
  border-radius: 3px;
  line-height: 1.5;
}

.news-card-body {
  padding: 18px 20px 20px;
}

.news-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888;
  margin: 0 0 10px;
  line-height: 1;
}

.news-card-date svg {
  flex-shrink: 0;
  color: #aaa;
}

.news-excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 14px;
}

.news-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  color: #2878ff;
  font-weight: 400;
}

.news-learn-more svg {
  flex-shrink: 0;
}

.news-detail-section {
  padding: 20px 0 80px;
}

.news-detail-section .container {
  max-width: 900px;
}

.news-detail-title {
  font-size: 30px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  margin-bottom: 14px;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #999;
}

.news-detail-hero {
  margin-bottom: 32px;
  overflow: hidden;
  border-radius: 4px;
}

.news-detail-hero img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.news-detail-body {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.75);
}

.news-detail-body p {
  margin-bottom: 18px;
  text-indent: 2em;
}

.news-detail-body h2,
.news-detail-body h3 {
  font-weight: 700;
  color: #111;
  margin: 28px 0 12px;
}

.news-detail-body h2 {
  font-size: 22px;
}

.news-detail-body h3 {
  font-size: 18px;
}

.news-detail-body img {
  max-width: 100%;
  height: auto;
  margin: 18px 0;
  display: block;
}

.news-detail-body a {
  color: #2878ff;
  text-decoration: underline;
}

.news-detail-body ul,
.news-detail-body ol {
  margin: 14px 0 14px 24px;
}

.news-detail-body li {
  margin-bottom: 8px;
}

.news-detail-body blockquote {
  border-left: 4px solid #2878ff;
  margin: 20px 0;
  padding: 12px 20px;
  background: #f5f8ff;
  font-style: italic;
  color: #555;
}

.no-news {
  width: 100%;
  text-align: center;
  padding: 60px;
  color: #aaa;
  font-size: 15px;
}

.news-loading {
  width: 100%;
  text-align: center;
  padding: 60px;
  color: #999;
  font-size: 14px;
  display: none;
}

@media (max-width: 960px) {
  .news-hero {
    height: 270px;
  }

  .news-hero-title {
    font-size: 28px;
  }

  .news-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .news-hero {
    height: 160px;
  }

  .news-hero-title {
    font-size: 22px;
  }

  .news-page-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-detail-title {
    font-size: 22px;
  }

  .news-detail-body {
    font-size: 15px;
  }
}

.news-hero-bitmain-skyline {
  background-image: url("../images/news/news-hero-bitmain-skyline.webp");
}
