.architecture-content {
  /* max-width: 1200px; */
  width: 85%;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.masonry-grid {
  width: 100%;
}

.masonry-item {
  width: calc(25% - 15px);
  /* margin-bottom: 20px; */
  float: left;
}

/* 保持其他样式不变 */
.item-card {
  background: white;
  overflow: hidden;
  width: 100%;
  /* border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}

.image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* 图片保持原始比例 */
.responsive-image {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 12px 10px 10px;
}

.image-title {
  color: white;
  font-size: 1.5rem;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  /* regular字重  thin 100 Extra Light200 */
  font-family: "EnLight";
  /* font-weight: 100; */
}

.content-area {
  padding: 16px 0px;
  box-sizing: border-box;
}

.project-name {
  font-size: 16px;
  /* regular字重  thin 100 Extra Light200 */
  font-weight: 400;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.9rem;
  color: #000000;
  line-height: 1.4;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.6rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  font-size: 11px;
  color: #999;
}

.load-more-container {
  text-align: center;
  margin-top: 40px;
  clear: both; /* 清除浮动 */
}

.load-more-btn {
  display: inline-block;
  padding: 5px 22px;
  /* background: #333; */
  color: #666;
  border: 1px solid #b0b0b0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #7c7c7c;
}

/* .load-more-btn:hover {
    background: #555;
    transform: translateY(-1px);
} */

.load-more-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.loading-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .masonry-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .architecture-content {
    padding: 80px 16px 32px;
  }

  .masonry-grid {
    column-count: 2;
  }

  .masonry-item {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .masonry-grid {
    column-count: 1;
  }

  .content-area {
    padding: 12px;
  }
}

/* 图片加载动画 */
.image-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  width: 100%;
  height: 200px;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* 分类标题样式 */
.category-title-container {
  /* max-width: 1200px; */
  width: 85%;
  margin: 0 auto;
  padding: 120px 20px 20px;
}

.category-title {
  font-size: 32px;
  font-weight: 400;
  color: #333;
  margin: 0;
  text-align: left;
}

@media (max-width: 768px) {
  .category-title {
    font-size: 24px;
    text-align: center;
  }
}
