/* CMS 分类页（Thymeleaf category）正文区样式 */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  margin-bottom: 40px;
  border-radius: 0 0 20px 20px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #111;
}

.hero p {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.article-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-content {
  padding: 20px;
}

.article-title {
  font-size: 20px;
  margin: 0 0 10px 0;
}

.article-title a {
  color: #333;
  text-decoration: none;
}

.article-title a:hover {
  color: var(--primary-color);
}

.article-meta {
  font-size: 13px;
  color: #999;
}

.single-content {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  line-height: 1.75;
}

.single-content img {
  max-width: 100%;
  height: auto;
}

.cms-empty-tip {
  text-align: center;
  padding: 50px;
  color: #999;
}
