﻿/* home.css - 首页 */
.hero {
  background: var(--theme-bg-gradient);
  padding: var(--space-8) 0;
  text-align: center;
}
.hero h1 {
  font-size: var(--text-4xl);
  max-width: 20ch;
  margin: 0 auto var(--space-4);
  line-height: 1.25;
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin: 0 auto var(--space-6);
}
.hero-cta {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}
.entry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin: var(--space-7) 0;
}
.entry-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--duration-normal);
}
.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.entry-icon {
  font-size: 40px;
  margin-bottom: var(--space-3);
}
.entry-card h3 {
  margin-bottom: var(--space-2);
}
.entry-count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: var(--space-7) 0 var(--space-4);
}
.section-title h2 { margin: 0; }
.section-title a { font-size: var(--text-sm); }
@media (max-width: 767px) {
  .hero h1 { font-size: var(--text-2xl); }
  .entry-cards { grid-template-columns: 1fr; }
}