.blog-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.blog-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: #222;
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
  border: 1px solid #eee;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.blog-post-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.blog-post-title a {
  color: #333;
  text-decoration: none;
}

.blog-post-title a:hover {
  color: #007acc;
}

.blog-meta {
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.blog-excerpt {
  color: #444;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.read-more {
  display: inline-block;
  font-size: 0.9rem;
  color: #007acc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: #005fa3;
}


/* ========== 搜索框样式 ========== */
.search-box {
  text-align: center;
  margin-bottom: 2rem;
}

.search-box input {
  width: 100%;
  max-width: 400px;
  padding: 0.6rem 1rem;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.search-box input:focus {
  outline: none;
  border-color: #007acc;
  box-shadow: 0 2px 6px rgba(0,122,204,0.15);
}
