.tags-container {
  max-width: 1300px;
  margin: 50px auto;
  padding: 0 20px;
  color: #333;
  line-height: 1.8;
}

/* 标题 */
.tags-header {
  text-align: center;
  margin-bottom: 50px;
}

.tags-header h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.tags-header p {
  color: #777;
}

/* 分区 */
.tags-section {
  margin-bottom: 40px;
}

.tags-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

/* 标签网格 */
.tags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
}

/* 标签 */
.tag-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  border-radius: 12px;
  background: #f2f2f2;
  text-decoration: none;
  color: #333;
  transition: all .2s;
  font-size: 15px;
}

.tag-item:hover {
  background: #ff4d4f;
  color: #fff;
  transform: translateY(-2px);
}

/* 横向区块 */
.tags-highlight {
  max-width: 1260px;
  background: linear-gradient(135deg, #ff4d4f, #ff7a45);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  margin: 60px auto;
  border-radius: 12px;
}

.highlight-inner {
  max-width: 900px;
  margin: 0 auto;
}

.tags-highlight h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.tags-highlight p {
  opacity: 0.9;
  margin-bottom: 20px;
}

/* 推荐标签 */
.highlight-tags {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.highlight-tags a {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  text-decoration: none;
  transition: .2s;
}

.highlight-tags a:hover {
  background: rgba(255,255,255,0.35);
}

/* 自适应 */
@media (max-width: 768px) {
  .tags-header h1 {
    font-size: 26px;
  }

  .tag-item {
    height: 52px;
    font-size: 14px;
  }

  .tags-highlight {
    padding: 40px 20px;
  }
}