/* FGD Wheels — News / Blog 样式 */

.news-hero {
  padding: 56px 0 24px;
}

/* 文章卡片网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px 24px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.news-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.news-cat {
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg-3);
  color: var(--text-2);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.news-cat-guide { color: #4da3ff; border-color: rgba(77, 163, 255, 0.35); }
.news-cat-product { color: var(--accent); border-color: rgba(212, 43, 30, 0.4); }
.news-cat-brand { color: #7ee0a3; border-color: rgba(126, 224, 163, 0.35); }

.news-date {
  font-size: 13px;
  color: var(--text-3);
  white-space: nowrap;
}

.news-title {
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--text);
  margin: 0;
}

.news-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
  flex: 1;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-tag {
  font-size: 12px;
  color: var(--text-3);
  background: var(--bg-3);
  padding: 3px 9px;
  border-radius: 999px;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

.news-more span {
  transition: transform 0.2s ease;
}

.news-card:hover .news-more span {
  transform: translateX(4px);
}

/* ===== 单篇文章页 ===== */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 36px;
}

.article-header .news-card-top {
  justify-content: flex-start;
  margin-bottom: 16px;
}

.article-title {
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--text);
  margin: 0 0 16px;
}

.article-excerpt {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

.article-body h2 {
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin: 40px 0 14px;
  line-height: 1.2;
}

.article-body h3 {
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin: 30px 0 12px;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

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

.article-body strong {
  color: #fff;
  font-weight: 600;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 18px;
  margin: 0 0 18px;
  color: var(--text-2);
  font-style: italic;
}

.article-body .callout {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 18px 20px;
  margin: 0 0 20px;
  font-size: 15.5px;
}

.article-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
}

.article-back:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .article-title { font-size: 32px; }
  .article-body { font-size: 16px; }
}
