@charset "UTF-8";

/* ==========================================
   MK体育在线官网 - 资讯列表页样式 (P5分类标签前置)
   ========================================== */

/* ---- 分类标签前置区 (P5) ---- */
.filter-bar {
  background: var(--light-bg);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 100;
}
.filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 0.88rem;
  font-weight: 700;
  font-style: italic;
  color: var(--dark);
  white-space: nowrap;
}
.filter-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-tag {
  display: inline-block;
  padding: 8px 18px;
  background: var(--white);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  font-style: italic;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-tag:hover, .filter-tag.active {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

/* ---- 资讯列表 ---- */
.news-list { padding: 50px 0; }
.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* 大图卡片 */
.news-card-lg {
  grid-column: span 2;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: all 0.35s ease;
}
.news-card-lg:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}
.news-card-lg .card-img {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  color: var(--white);
  font-size: 3rem;
}
.news-card-lg .card-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.news-card-lg h3 { font-size: 1.3rem; color: var(--dark); margin-bottom: 12px; line-height: 1.4; }
.news-card-lg p { font-size: 0.9rem; color: #6B8A6B; line-height: 1.7; margin-bottom: 16px; }

/* 标准卡片 */
.news-card-std {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.35s ease;
}
.news-card-std:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px var(--shadow);
}
.news-card-std .card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 2.5rem;
}
.news-card-std .card-body { padding: 24px; }
.news-card-std h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.news-card-std p { font-size: 0.86rem; color: #7A9A7A; line-height: 1.65; }

/* 列表项 */
.news-list-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}
.news-list-item:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 16px var(--shadow);
  border-color: var(--secondary);
}
.item-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}
.item-date .day { font-size: 1.6rem; font-weight: 800; font-style: italic; color: var(--dark); line-height: 1; }
.item-date .month { font-size: 0.75rem; color: var(--secondary); font-weight: 600; margin-top: 2px; }
.item-content h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 6px; }
.item-content p { font-size: 0.86rem; color: #7A9A7A; line-height: 1.6; }
.item-meta { display: flex; gap: 12px; margin-top: 8px; font-size: 0.78rem; color: #9AB89A; font-style: italic; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .news-list-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card-lg { grid-column: span 2; }
}

@media (max-width: 768px) {
  .filter-bar { position: static; }
  .news-list-grid { grid-template-columns: 1fr; }
  .news-card-lg { grid-template-columns: 1fr; grid-column: span 1; }
  .news-card-lg .card-img { min-height: 180px; }
  .news-list-item { grid-template-columns: 60px 1fr; gap: 14px; padding: 18px; }
  .item-date .day { font-size: 1.3rem; }
}
