/* ============================================================
   商会动态 — 列表页样式 (KSGCC Theme v5)
   Navy: #1e3a5f  Red: #d63031  Gold: #e1a948
   Surface: #fff / #f5f7fa  Text: #2d3436
   ============================================================ */

/* === Page === */
.news-page {
  width: 100%;
  min-width: 1200px;
  background: #f5f7fa;
  padding-bottom: 48px;
  margin-top: 98px;
}
.news-container {
  width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* === Page Header (替代 banner) === */
.news-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 40px 0 32px;
  border-bottom: 1px solid #ebeef2;
  margin-bottom: 32px;
}
.news-page-title {
  font-size: 28px;
  font-weight: 800;
  color: #2c3e50;
  letter-spacing: 3px;
  margin: 0 0 8px;
}

/* === Breadcrumb === */
.news-breadcrumb {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #b2bec3;
}
.news-breadcrumb a {
  color: #999;
  transition: color 0.2s;
}
.news-breadcrumb a:hover {
  color: #d4a853;
}
.news-breadcrumb svg {
  margin: 0 6px;
  flex-shrink: 0;
  color: #ddd;
}
.news-breadcrumb-current {
  color: #2c3e50;
  font-weight: 600;
}

/* === Featured Card (置顶) === */
.news-featured {
  margin-bottom: 40px;
}
.news-featured-link {
  display: flex;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  cursor: pointer;
}
.news-featured-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #d63031, #e1a948);
  border-radius: 0 2px 2px 0;
  z-index: 2;
}
.news-featured-link:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
@media (prefers-reduced-motion: reduce) {
  .news-featured-link:hover { transform: none; }
}
.news-featured-img {
  width: 520px;
  height: 360px;
  flex-shrink: 0;
  overflow: hidden;
}
.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-featured-link:hover .news-featured-img img {
  transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .news-featured-link:hover .news-featured-img img { transform: none; }
}
.news-featured-info {
  flex: 1;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: linear-gradient(135deg, #d63031, #e74c3c);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(214,48,49,0.25);
}
.news-featured-title {
  font-size: 24px;
  font-weight: 700;
  color: #2d3436;
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.news-featured-link:hover .news-featured-title {
  color: #d63031;
}
.news-featured-desc {
  font-size: 15px;
  color: #636e72;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 24px;
}
.news-featured-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #f0f2f5;
}
.news-featured-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #1e3a5f;
  font-weight: 600;
}
.news-featured-date svg {
  color: #d63031;
}
.news-featured-more {
  font-size: 14px;
  color: #b2bec3;
  font-weight: 500;
  transition: color 0.2s;
}
.news-featured-link:hover .news-featured-more {
  color: #d63031;
}

/* === Recommend Cards === */
.news-recommend {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 8px;
}
.news-recommend-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  max-width: 580px;
}
.news-recommend-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #d63031, #e1a948);
  opacity: 0;
  transition: opacity 0.3s;
}
.news-recommend-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.news-recommend-card:hover::after {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .news-recommend-card:hover { transform: none; }
}
.news-recommend-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.news-recommend-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-recommend-card:hover .news-recommend-img img {
  transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .news-recommend-card:hover .news-recommend-img img { transform: none; }
}
.news-recommend-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-recommend-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #d63031;
  font-weight: 500;
  margin-bottom: 10px;
}
.news-recommend-title {
  font-size: 16px;
  font-weight: 600;
  color: #2d3436;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.news-recommend-card:hover .news-recommend-title {
  color: #d63031;
}
.news-recommend-desc {
  font-size: 14px;
  color: #b2bec3;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === News List === */
.news-list-section {
  width: 100%;
  min-width: 1200px;
  background: #f5f7fa;
  padding: 16px 0 40px;
}
.news-list-container {
  width: 1200px;
  margin: 0 auto;
}
.news-item {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: box-shadow 0.3s ease, transform 0.25s ease;
  cursor: pointer;
  position: relative;
}
.news-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #d63031;
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: 0 2px 2px 0;
}
.news-item:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.news-item:hover::before {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .news-item:hover { transform: none; }
}
.news-item-body {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding: 28px 32px;
  min-height: 0;
}
.news-item-date {
  width: 72px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 28px;
  padding-right: 28px;
  border-right: 1px solid #f0f2f5;
}
.news-date-day {
  font-size: 36px;
  font-weight: 800;
  color: #1e3a5f;
  line-height: 1;
  margin-bottom: 4px;
}
.news-item:hover .news-date-day {
  color: #d63031;
}
.news-date-ym {
  font-size: 13px;
  color: #b2bec3;
  white-space: nowrap;
}
.news-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.news-item-title {
  font-size: 18px;
  font-weight: 600;
  color: #2d3436;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.news-item:hover .news-item-title {
  color: #d63031;
}
.news-item-desc {
  font-size: 14px;
  color: #b2bec3;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item-thumb {
  width: 280px;
  flex-shrink: 0;
  overflow: hidden;
}
.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-item:hover .news-item-thumb img {
  transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .news-item:hover .news-item-thumb img { transform: none; }
}
