﻿.secondary-development-major {
  width: 100vw;
  height: 616px;
  background: url('../images/major-swiper/background.png') no-repeat center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.secondary-development-major .major-white-board-bg {
  width: 1350px;
  height: 250px;
  background: #FFFFFF;
  border-radius: 8px;
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.secondary-development-major .major-container {
  width: 1200px;
  position: relative;
  z-index: 2;
}
.secondary-development-major .major-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  position: relative;
}
.secondary-development-major .major-title {
  font-size: 30px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
  display: flex;
  align-items: center;
}
.secondary-development-major .major-title::before,
.secondary-development-major .major-title::after {
  content: '';
  width: 402px;
  height: 0;
  border-top: 1px solid;
  flex-shrink: 0;
}
.secondary-development-major .major-title::before {
  border-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4)) 1 1;
  margin-right: 24px;
}
.secondary-development-major .major-title::after {
  border-image: linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)) 1 1;
  margin-left: 24px;
}
.secondary-development-major .major-more {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}
.secondary-development-major .major-more:hover {
  opacity: 0.8;
}
.secondary-development-major .major-more .more-icon {
  width: 16px;
  height: 16px;
  background: url('../images/major-swiper/Icon-arrow.png') no-repeat center;
  background-size: contain;
}
.secondary-development-major .major-swiper {
  width: 1200px;
  overflow: hidden;
}
.secondary-development-major .major-swiper .swiper-wrapper {
  display: flex;
}
.secondary-development-major .major-swiper .swiper-slide {
  width: 224px;
  flex-shrink: 0;
  margin-right: 20px;
}
.secondary-development-major .major-swiper .swiper-slide:last-child {
  margin-right: 0;
}
.secondary-development-major .major-card {
  display: block;
  width: 224px;
  text-decoration: none;
}
.secondary-development-major .major-card .major-img {
  width: 224px;
  height: 280px;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.secondary-development-major .major-card .major-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.secondary-development-major .major-card .major-white-board {
  width: 224px;
  height: 60px;
  background: #FFFFFF;
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.secondary-development-major .major-card .major-name {
  font-family: "PingFang SC", "PingFang SC";
  font-weight: 400;
  font-size: 16px;
  color: #231916;
  line-height: 1;
  text-align: center;
  font-style: normal;
  text-transform: none;
  transition: color 0.3s;
}
.secondary-development-major .major-card:hover .major-name {
  color: #B01313;
}
.secondary-development-major .swiper-button-prev,
.secondary-development-major .swiper-button-next {
  width: 28px;
  height: 28px;
  background: url('../images/major-swiper/left-circle-fill.png') no-repeat center;
  background-size: contain;
  cursor: pointer;
  z-index: 3;
  transition: background-image 0.3s;
  position: absolute;
  top: 50%;
  margin-top: 30px;
}
.secondary-development-major .swiper-button-prev:hover,
.secondary-development-major .swiper-button-next:hover {
  background-image: url('../images/major-swiper/left-circle-hover.png');
}
.secondary-development-major .swiper-button-prev::after,
.secondary-development-major .swiper-button-next::after {
  display: none;
}
.secondary-development-major .swiper-button-prev {
  left: calc(50% - 651px);
}
.secondary-development-major .swiper-button-next {
  right: calc(50% - 651px);
  transform: rotate(180deg);
}