.jianhua-news-center {
  position: relative;
  overflow: hidden;
  padding: var(--section-padding) 0;
  background: #fff;
}

.jianhua-news-center__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.jianhua-news-center__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.jianhua-news-center > .container {
  position: relative;
  z-index: 1;
}

.jianhua-news-center__header {
  margin: 0 auto;
  text-align: center;
}

.jianhua-news-center__heading {
  margin: 0;
  color: #0C0700;
  font-family: var(--title-font-family);
  font-size: var(--font-size-h2);
  font-weight: 700;
  line-height: 1.2;
}

.jianhua-news-center__description {
  margin: 1rem 0 0;
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: var(--font-size-20);
  font-weight: 400;
  line-height: 1.5;
}

.jianhua-news-center__swiper {
  margin-top: var(--section-padding);
  overflow: hidden;
}

.jianhua-news-center__wrapper {
  align-items: stretch;
}

.jianhua-news-center__slide {
  display: flex;
  height: auto;
}

.jianhua-news-center__card,
.jianhua-news-center__link {
  min-width: 0;
}

.jianhua-news-center__card {
  display: flex;
  width: 100%;
}

.jianhua-news-center__link {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  padding: 3.75rem 1.625rem 2.25rem;
  border-radius: 1rem;
  background: transparent;
  color: #0C0700;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* .jianhua-news-center__link:hover, */
.jianhua-news-center__slide.is-selected .jianhua-news-center__link,
.jianhua-news-center__link:focus-visible {
  background: var(--color-primary);
}

.jianhua-news-center__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.jianhua-news-center__date-day {
  color: #616161;
  font-family: var(--title-font-family);
  font-size: 4.875rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.jianhua-news-center__date-month {
  color: #616161;
  font-family: var(--font-family);
  font-size: var(--font-size-20);
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.jianhua-news-center__image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
  margin-top: 2rem;
}

.jianhua-news-center__image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.jianhua-news-center__title {
  display: -webkit-box;
  margin-top: 1.25rem;
  overflow: hidden;
  color: currentColor;
  font-family: var(--title-font-family);
  font-size: var(--font-size-26);
  font-weight: 700;
  line-height: 1.2;
  height: calc(var(--font-size-26) * 1.2 * 3);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  transition: color 0.3s ease;
}

.jianhua-news-center__more {
  display: inline-flex;
  align-items: center;
  gap: 1.875rem;
  margin-top: auto;
  color: #616161;
  font-family: var(--font-family);
  font-size: var(--font-size-18);
  font-weight: 400;
  line-height: 1.2;
  margin-top: 2rem;
  transition: color 0.3s ease;
}

.jianhua-news-center__more svg {
  width: 1.375rem;
  height: 1.375rem;
  transition: transform 0.3s ease;
}

/* .jianhua-news-center__link:hover .jianhua-news-center__image,
.jianhua-news-center__link:focus-visible .jianhua-news-center__image {
  transform: scale(1.05);
} */

/* .jianhua-news-center__link:hover .jianhua-news-center__date-day,
.jianhua-news-center__link:hover .jianhua-news-center__date-month,
.jianhua-news-center__link:hover .jianhua-news-center__title,
.jianhua-news-center__link:hover .jianhua-news-center__more, */

.jianhua-news-center__slide.is-selected .jianhua-news-center__date-day,
.jianhua-news-center__slide.is-selected .jianhua-news-center__date-month,
.jianhua-news-center__slide.is-selected .jianhua-news-center__title,
.jianhua-news-center__slide.is-selected .jianhua-news-center__more,
.jianhua-news-center__link:focus-visible .jianhua-news-center__date-day,
.jianhua-news-center__link:focus-visible .jianhua-news-center__date-month,
.jianhua-news-center__link:focus-visible .jianhua-news-center__title,
.jianhua-news-center__link:focus-visible .jianhua-news-center__more {
  color: #fff;
}

/* .jianhua-news-center__link:hover .jianhua-news-center__more svg,
.jianhua-news-center__link:focus-visible .jianhua-news-center__more svg {
  transform: translateX(0.375rem);
} */


/* .jianhua-news-center__link:hover .jianhua-news-center__more svg path, */

.jianhua-news-center__slide.is-selected .jianhua-news-center__more svg path,
.jianhua-news-center__link:focus-visible .jianhua-news-center__more svg path {
  stroke: #fff;
}

.jianhua-news-center__pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2.5rem;
}

.jianhua-news-center__pagination.swiper-pagination-lock {
  display: none;
}

.jianhua-news-center__pagination .swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  margin: 0 !important;
  border-radius: 999px;
  background: #d9d9d9;
  opacity: 1;
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.jianhua-news-center__pagination .swiper-pagination-bullet-active {
  width: 3.75rem;
  background: var(--color-primary);
}
