.h1-sytle {
      font-size: 2.5em;
      /* color: #4a90e2; */
      text-align: center;
      padding: 20px;
      background-color: #f9f9f9;
      border-bottom: 3px solid #24BE49;
      margin-top: 20px;
      margin-right: 20px;
      margin-left: 20px;
      text-transform: uppercase;
}
.tag-row {
margin-bottom: 12px;
margin-top: 20px;
font-size: 16px;
display: flex;
padding-left: 50px;
}

.tag-title {
  font-weight: bold;
  margin-right: 8px;
}

.tag-items {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  display: inline-block;
  padding: 4px 10px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}

.tag-item:hover {
  background: #24BE49;
  color: #fff;
}
.tag-item:active { 
  font-weight: bold; 
  background: #24BE49; 
  box-shadow: #333;
} 
.tag-item-active { 
  font-weight: bold; 
  background: #24BE49; 
  box-shadow: #fff;
  color: #fff;
} 





/* 瀑布流容器 */
.masonry {
  column-count: 4;
  column-gap: 16px;
  padding: 16px;
}

/* 卡片基础样式 */
.card {
  break-inside: avoid;
  background: #fff;
  border-radius: 6px;
  margin: 0 0 16px;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* hover 高亮效果 */
.card:hover {
  background: #f9f9ff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

/* 图片 */
.img-box img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover .img-box img {
  transform: scale(1.03);
}

/* 标签 */
.tags {
  padding: 8px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.tags li {
  font-size: 13px;
  margin: 0 6px 6px 0;
  padding: 2px 6px;
  background: #f0f0f0;
  border-radius: 4px;
}

/* ID */
.card-id {
  margin: 0;
  padding: 8px;
  border-top: 1px solid #e8e8e8;
  font-size: 13px;
  color: #666;
}

/* 响应式列数 */
@media (max-width: 1200px) {
  .masonry { column-count: 3; }
}
@media (max-width: 900px) {
  .masonry { column-count: 2; }
}
@media (max-width: 600px) {
  .masonry { column-count: 1; }
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li a,
.pagination li span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all 0.2s;
}

.pagination li a:hover {
  background: #f0f0f0;
  border-color: #bbb;
}

.pagination li.active span {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  font-weight: bold;
}

.pagination li.disabled span {
  color: #aaa;
  border-color: #eee;
  background: #f9f9f9;
}

.pagination li.ellipsis span {
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: bold;
}