/* ==========================================================================
   LIUTONG FOUNTAIN - News Page Styles
   ========================================================================== */

/* ---------- News Tabs ---------- */
.news-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--line);
  margin-bottom: 48px;
}
.news-tab {
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.25s var(--ease);
}
.news-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-water);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.news-tab:hover {
  color: var(--text);
}
.news-tab.active {
  color: var(--brand);
}
.news-tab.active::after {
  transform: scaleX(1);
}

/* ---------- News List ---------- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.news-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.news-item-thumb {
  overflow: hidden;
  height: 100%;
  min-height: 200px;
}
.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.news-item:hover .news-item-thumb img {
  transform: scale(1.06);
}
.news-item-body {
  padding: 28px 28px 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-item-body .tag {
  margin-bottom: 10px;
}
.news-item-body h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--brand);
  margin: 0 0 10px;
  line-height: 1.35;
  transition: color 0.2s;
}
.news-item:hover .news-item-body h3 {
  color: var(--brand-3);
}
.news-item-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-item-meta svg {
  width: 14px;
  height: 14px;
  stroke: var(--muted);
}
.news-item-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 统一了首页风格的 View More 按钮 */
.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--brand-3, #0088ff);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.3s var(--ease);
  align-self: flex-start;
}
.btn-view-more:hover {
  background: #006dd6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 136, 255, 0.3);
}
.btn-view-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.btn-view-more:hover svg {
  transform: translateX(3px);
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
}
.page-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.page-btn:hover {
  border-color: var(--brand-3);
  color: var(--brand-3);
}
.page-btn.active {
  background: var(--brand-3);
  color: #fff;
  border-color: var(--brand-3);
}
.page-btn.arrow {
  font-size: 18px;
}
.page-btn.arrow:hover {
  background: var(--bg-2);
}

/* ==========================================================================
   Responsive Design (合并清理后的媒体查询)
   ========================================================================== */

@media (max-width: 1024px) {
  .news-item {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .news-tabs {
    margin-bottom: 32px;
  }
  .news-tab {
    padding: 12px 20px;
    font-size: 13px;
  }
  .news-item {
    grid-template-columns: 1fr;
  }
  .news-item-thumb {
    height: 200px;
    min-height: unset;
  }
  .news-item-body {
    padding: 20px;
  }
  .pagination {
    flex-wrap: wrap;
  }
}