/* 科学研究部分样式 */
.research-section {
  padding: 56px 0;
  background-color: #f2f3f5;
  position: relative;
  overflow: hidden;
}

.research-bg-left,
.research-bg-right {
  position: absolute;
  top: 0;
  width: 777px;
  height: 1000px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.research-bg-left img {
  object-fit: cover;
}

.research-bg-left {
  left: 1px;
}

.research-bg-right {
  right: 1px;
}

.research-bg-left.animate,
.research-bg-right.animate {
  opacity: 1;
  transform: translateY(0);
}

.research-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.research-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.research-title-group {
  width: 160px;
}

.research-title {
  font-family: "OPPOSans";
  font-weight: 600;
  font-size: 32px;
  line-height: 1.4;
  color: #7c1419;
}

.research-underline {
  width: 66px;
  height: 6px;
  background-color: #7c1419;
  margin-top: 8px;
}

.research-intro {
  margin-bottom: 35px;
}

.research-intro-title {
  font-family: "OPPOSans";
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  color: #871519;
  margin-bottom: 10px;
}

.research-intro-text {
  font-family: "OPPOSans";
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #871519;
}

.research-cards {
  display: flex;
  gap: 32px;
  margin-bottom: 72px;
  cursor: pointer;
  display: flex;
  /* flex-direction: column; */
margin-top: 35px;
}

.swiper-wrapper {
  display: flex;
  gap: 32px;
}

.research-card {
  width: 584px !important;
  height: 610px !important;
  background: #e3e5e5;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s ease;
  display: flex !important;
  flex-direction: column;
  margin-right: 0 !important;
}

.research-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.research-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  background: #c7c7c7;
}
.research-card-image-wrapper {
  width: 584px;
  height: 326px;
  overflow: hidden;
}

.research-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
}

.research-card:hover .research-card-image {
  transform: scale(1.05);
}

.research-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.research-card-title {
  font-family: "OPPOSans";
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  color: #333333;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.research-card-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #000000;
  transition: width 0.3s ease;
}

.research-card:hover .research-card-title::after {
  width: 192px;
}

.research-card-description {
  font-family: "OPPOSans";
  font-weight: 400;
  font-size: 16px;
  line-height: 1.625;
  color: #666666;
  margin-bottom: 24px;
  height: 130px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.research-card-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.research-card-link-text {
  font-family: "OPPOSans";
  font-weight: 400;
  font-size: 16px;
  line-height: 1.625;
  color: #333333;
}

.research-card-link-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background-color: transparent;
  background: url("../images/arrow-right-research.svg");
}

.research-card-link-icon .icon-arrow {
  width: 24px;
  height: 12px;
  filter: brightness(0) saturate(100%) invert(67%) sepia(0%) saturate(0%)
    hue-rotate(153deg) brightness(89%) contrast(85%);
  transition: all 0.3s ease;
}

.research-card:hover .research-card-link-icon {
  /* background-color: #7c1419;
  border-color: #7c1419; */
  background: url("../images/arrow-right-research-active.svg");
}

.research-card:hover .research-card-link-icon .icon-arrow {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%)
    hue-rotate(288deg) brightness(102%) contrast(102%);
}

.research-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-bar {
  position: relative;
  width: 584px;
  height: 8px;
}

.progress-track {
  position: absolute;
  top: 3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #7c1419 0%, rgba(186, 23, 35, 0) 100%);
}

.progress-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 8px;
  background: #7c1419;
}

.progress-controls {
  display: flex;
  gap: 24px;
}

.control-button {
  width: 48px !important;
  height: 48px !important;
  border: 1px solid #999999;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.research-swiper-prev {
  bottom: 0 !important;
  right: 10px !important;
  left: 90% !important;
  top: 98% !important;
}
.research-swiper-next {
  bottom: 0 !important;
  right: 10px !important;
  left: 95% !important;
  top: 98% !important;
}

.control-button:hover {
  /* border-color: #7c1419; */
}

.control-button:hover svg {
  /* stroke: #7c1419; */
}

.control-button.active {
  /* border-color: #7c1419; */
}

.control-button.active svg {
  /* stroke: #7c1419; */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.research-container .swiper-pagination {
  text-align: left !important;
  top: 97% !important;
}

.research-container .swiper-pagination-bullet {
  background: #ffffff;
  border-radius: 0 !important;
  width: 60px;
  height: 8px;
  flex-shrink: 0;
}
.research-container .swiper-pagination-bullet-active {
  background: #7c1419;
  width: 60px;
  height: 8px;
  flex-shrink: 0;
}
.research-container .swiper-pagination::before {
  content: "";
  /* background: linear-gradient(90deg, #7c1419 0.01%, rgba(186, 23, 35, 0) 100%); */
  background: linear-gradient(
    90deg,
    rgba(186, 23, 35, 0) 0.01%,
    #7c1419 15.87%,
    rgba(186, 23, 35, 0) 100%
  );
  width: 584px;
  height: 2px;
  flex-shrink: 0;
  display: block;
  position: absolute;
  top: 12px;
  left: 4px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}
