/* 最新资讯组件样式 */
.kenda_latest_news {
  padding: 74px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.kenda_latest_news .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部区域 */
.kenda_latest_news .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.kenda_latest_news .section-title {
  color: var(--text-color);
  text-align: center;
  font-family: var(--second-font-family);
  font-size: 64px;
  font-style: italic;
  font-weight: 900;
  line-height: normal;
  text-transform: capitalize;
  margin-bottom: 20px;
}

.kenda_latest_news .section-subtitle {
  max-width: 800px;
  margin: 0 auto;
  color: #475569;
  text-align: center;
  font-family: var(--font-family);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  text-transform: capitalize;
  margin-bottom: 60px;
}

/* 新闻网格 */
.kenda_latest_news .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 120px;
}

/* 新闻卡片 */
.kenda_latest_news .news-card {
  background: #FFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.kenda_latest_news .news-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.kenda_latest_news .card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.kenda_latest_news .card-image {
  width: 100%;
  height: 282px;
  border-radius: 20px;
  overflow: hidden;
  background: #F8F8F8;
}

.kenda_latest_news .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.kenda_latest_news .news-card:hover .card-image img {
  transform: scale(1.05);
}

.kenda_latest_news .card-content {
  padding: 29px;
}

.kenda_latest_news .card-title {
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: capitalize;
  margin: 0 0 5px 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.kenda_latest_news .card-desc {
  color: #475569;
  font-family: var(--font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
  margin: 0 0 36px 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.kenda_latest_news .card-date {
  color: #64748B;
  font-family: var(--font-family);
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  display: block;
}

/* 底部按钮 */
.kenda_latest_news .section-footer {
  text-align: center;
}

.kenda_latest_news .view-more-btn {
  display: flex;
  width: fit-content;
  padding: 16px 28px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--color-primary);
  color: #FFF;
  font-family: var(--font-family);
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: capitalize;
  text-decoration: none;
  border-radius: 18px;
  transition: background 0.3s ease;
}

.kenda_latest_news .view-more-btn:hover {
  background: #E5582D;
}

.kenda_latest_news .view-more-btn:active {
  background: var(--color-second);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .kenda_latest_news {
    padding: 60px 0;
  }

  .kenda_latest_news .section-title {
    font-size: 40px;
  }

  .kenda_latest_news .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kenda_latest_news .news-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .kenda_latest_news {
    padding: 40px 0;
  }

  .kenda_latest_news .section-header {
    margin-bottom: 40px;
  }

  .kenda_latest_news .section-title {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .kenda_latest_news .section-subtitle {
    font-size: 14px;
  }

  .kenda_latest_news .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }

  .kenda_latest_news .news-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .kenda_latest_news .card-image {
    height: 200px;
  }

  .kenda_latest_news .card-content {
    padding: 20px;
  }

  .kenda_latest_news .card-title {
    font-size: 16px;
  }

  .kenda_latest_news .view-more-btn {
    padding: 12px 32px;
    font-size: 14px;
  }
}