/* ========================================
   新闻中心组件样式
======================================== */

.junhua-new-center-section {
  position: relative;
  padding: var(--spacing-9xl) 0;
  background-color: var(--bg-color-white);
  overflow: hidden;
}

.junhua-new-center-container {
  position: relative;
  z-index: 1;
}

/* 标题区域 */
.junhua-new-center-header {
  text-align: center;
  margin-bottom: var(--spacing-7xl);
}

.junhua-new-center-title {
  font-family: var(--font-family);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--text-color-strong);
  margin-bottom: var(--spacing-2xl);
}

.junhua-new-center-highlight-title {
  color: var(--primary-color);
}

.junhua-new-center-subtitle {
  font-family: var(--font-family);
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-title);
  color: var(--text-color-strong);
  margin: 0;
}

/* 轮播容器 */
.junhua-new-center-carousel-wrapper {
  position: relative;
}

/* Swiper 容器 */
.junhua-new-center-list {
  overflow: hidden;
  width: 100%;
}

.junhua-new-center-list {
  padding: var(--spacing-2xl) var(--spacing-md);
}

.junhua-new-center-item-wrapper {
  height: auto;
}

.junhua-new-center-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: transparent;
  transition: var(--transition-base);
}

/* 图片区域 */
.junhua-new-center-item-image {
  width: 100%;
  max-height: 10.1rem;
  overflow: hidden;
  border-radius: 0;
}

.junhua-new-center-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-base);
}

.junhua-new-center-item:hover .junhua-new-center-item-image img {
  transform: scale(1.05);
}

/* 内容区域 */
.junhua-new-center-item-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-base);
  padding: var(--spacing-base) var(--spacing-2xl);
  background-color: var(--bg-color-white);
  box-shadow: var(--shadow-md);
  justify-content: space-between;
  flex: 1;
}

.junhua-new-center-item-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.junhua-new-center-item-title {
  font-family: var(--font-family);
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-title);
  color: var(--text-color-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.junhua-new-center-item-desc {
  font-family: var(--font-family);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-title);
  color: var(--text-color-gray-600);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.junhua-new-center-item-tag-list {
  display: flex;
  gap: 4px;
}
/* 标签 */
.junhua-new-center-item-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-xs) var(--spacing-sm);
  background-color: var(--bg-color-tertiary);
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-title);
  color: var(--text-color-gray-400);
  width: fit-content;
  height: auto;
}

/* 分割线 */
.junhua-new-center-item-divider {
  width: 100%;
  height: var(--border-width-thin);
  background-color: var(--bg-color-light);
}

/* 底部区域 */
.junhua-new-center-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.junhua-new-center-item-date {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-title);
  color: var(--text-color-gray-600);
}

.junhua-new-center-item-link {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-title);
  text-decoration: none;
  transition: var(--transition-base);
  color: var(--text-color-primary);
}

.junhua-new-center-item-link:hover {
  color: var(--primary-active-color);
  text-decoration: none;
}

/* ========================================
   响应式设计
======================================== */
