#xiaoyouhui {
  width: 100%;
  height: 767px;
  background-color: #f1faff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.position {
  width: 100%;
  height: 100px;
  border-bottom: 2px solid #999;
  display: flex;
  justify-content: center;
  padding-bottom: 2px;
}
.position .container {
  width: 1400px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  font-size: 28px;
  margin-bottom: 14px;
}
.position .container img {
  width: 32px;
  height: 32px;
  margin-right: 16px;
}
.position .container span {
  color: #999;
  margin-top: 6px;
  font-size: 20px;
}

#xiaoyouhui > .title {
  margin-top: 80px;;
}

#xiaoyouhui > .title::before{
  content: '';
  position: relative;
  top: 25px;
  left: -220px;
  display: block;
  width: 150px;
  height: 2px;
  background-color: #dbdbdb;
}
#xiaoyouhui > .title::after{
  content: '';
  display: block;
  width: 150px;
  position: relative;
  top: -23px;
  right: calc(-100% - 40px);
  height: 2px;
  background-color: #dbdbdb;
}

#xiaoyouhui > .title span:nth-of-type(1) {
  color: var(--primary-color);
  font-size: 46px;
  font-weight: bold;
  margin-right: 18px;
  letter-spacing: 8px;
}
#xiaoyouhui > .title span:nth-of-type(2) {
  color: gray;
  font-size: 42px;
}
#xiaoyouhui .content {
  width: 1400px;
  display: flex;
  height: 400px;
  margin-top: 80px;
}
#xiaoyouhui .content img {
  width: 600px;
  height: 400px;
}

#xiaoyouhui .content .right {
  position: relative;
  width: 800px;
  height: 400px;
  display: flex;
  flex-direction: column;
  padding-left: 40px;
}

.notice-title {
  display: block;
  width: 100%;
  font-size: 28px;
  font-weight: bold;
  color: #0075ae;
  margin-top: 4px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-content {
  position: relative;
}

.notice-content p {
  margin: 26px 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  font-size: 20px;
  height: fit-content;
  max-height: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-content p:first-child {
  text-indent: 2em;
}

.notice-more {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--primary-color);
  font-size: 14px;
  padding-bottom: 1px;
  border-bottom: var(--primary-color) 1px solid;
}

.notice-more .arrow {
  color: var(--primary-color);
  margin-left: 2px;
}

#activity {
  width: 100%;
  height: 780px;
  background-color: #f1faff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#activity > .title {
  margin-top: 80px;;
}

#activity > .title::before{
  content: '';
  position: relative;
  top: 25px;
  left: -220px;
  display: block;
  width: 150px;
  height: 2px;
  background-color: #dbdbdb;
}
#activity > .title::after{
  content: '';
  display: block;
  width: 150px;
  position: relative;
  top: -23px;
  right: calc(-100% - 40px);
  height: 2px;
  background-color: #dbdbdb;
}

#activity > .title span:nth-of-type(1) {
  color: var(--primary-color);
  font-size: 46px;
  font-weight: bold;
  margin-right: 18px;
  letter-spacing: 8px;
}
#activity > .title span:nth-of-type(2) {
  color: gray;
  font-size: 42px;
}

#fengcai {
  width: 100%;
  height: 1080px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("../img/fengcai.png");
  background-size: 100% 100%;
  background-position: center;
}
#fengcai > .title {
  margin-top: 80px;;
}

#fengcai > .title::before{
  content: '';
  position: relative;
  top: 25px;
  left: -220px;
  display: block;
  width: 150px;
  height: 2px;
  background-color: #dbdbdb;
}
#fengcai > .title::after{
  content: '';
  display: block;
  width: 150px;
  position: relative;
  top: -23px;
  right: calc(-100% - 40px);
  height: 2px;
  background-color: #dbdbdb;
}

#fengcai > .title span:nth-of-type(1) {
  color: var(--primary-color);
  font-size: 46px;
  font-weight: bold;
  margin-right: 18px;
  letter-spacing: 8px;
}
#fengcai > .title span:nth-of-type(2) {
  color: gray;
  font-size: 42px;
}

#alumni-profiles {
  margin-top: 80px;
}

.profile-container {
  width: 1400px;
  margin: 0 auto;
  display: flex;
  padding: 0 20px;
}

.profile-column {
  max-width: 350px;
  height: 702px;
  flex: 1;
  background: rgba(255, 255, 255, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.profile-column:nth-of-type(2n) {
  flex-direction: column-reverse;
}

.profile-image {
  height: 351px;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  padding: 36px 24px;
  height: calc(351px - 72px);
  display: flex;
  flex-direction: column;
}

.alumni-name {
  font-size: 20px;
  margin-bottom: 0;
  color: #0074ad;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  font-weight: normal;
}

.alumni-desc {
  font-size: 20px;
  color: #333;
  line-height: 1.6;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.view-more {
  color: #0074ad;
  text-decoration: underline;
  font-size: 20px;
  text-align: right;
  margin-top: 10px;
  font-weight: bold;
}

.view-more:hover {
  text-decoration: underline;
}

.more {
  width: 131px;
  height: 44px;
  background-color: var(--primary-color);
  color: white;
  font-size: 20px;
  text-align: center;
  line-height: 44px;
  border-radius: 22px;
  margin-top: 60px;
}

/* 校友活动轮播图自定义样式 */
.activity-carousel-container {
  width: 1400px;
  margin: 0 auto;
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.activity-swiper {
  width: 1400px;
  height: 600px;
  position: relative;
}
.activity-swiper .swiper-wrapper {
  align-items: center;
  justify-content: space-between;
  gap: 52px;
  margin-top: 20px;
}
.activity-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s, box-shadow 0.4s;
  background: none;
  height: 100%;
}
.activity-card {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  height: 100%;
}
.activity-img {
  width: 100%;
  height: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.activity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.activity-title {
  font-size: 20px;
  color: #0074ad;
  width: calc(100% - 60px);
  margin: 30px 30px 0 30px;
  line-height: 1.5;
  max-height: 60px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.activity-desc {
  font-size: 20px;
  color: #333;
  width: calc(100% - 60px);
  margin: 4px 30px 0 30px;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 中间卡片放大 */
.activity-swiper .swiper-slide {
  width: 378px;
  height: 378px;
  opacity: 0.7;
  filter: blur(0.5px);
  z-index: 1;
}
.activity-swiper .swiper-slide.swiper-slide-active {
  width: 540px !important;
  height: 540px !important;
  opacity: 1;
  filter: none;
  z-index: 3;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.activity-swiper .swiper-slide.swiper-slide-prev,
.activity-swiper .swiper-slide.swiper-slide-next {
  width: 378px !important;
  height: 378px !important;
  opacity: 0.9;
  filter: none;
  z-index: 2;
}
.activity-swiper .swiper-slide.swiper-slide-prev .activity-title,
.activity-swiper .swiper-slide.swiper-slide-next .activity-title {
  width: calc(100% - 40px);
  margin: 20px 20px 0 20px;
  font-size: 14px;
  max-height: 40px;
  line-height: 1.5;

}
.activity-swiper .swiper-slide.swiper-slide-prev .activity-desc,
.activity-swiper .swiper-slide.swiper-slide-next .activity-desc {
  width: calc(100% - 40px);
  margin: 4px 20px 0 20px;
  font-size: 14px;
  max-height: 64px;
  line-height: 1.5;
}
.activity-swiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next) {
  opacity: 0.3;
  filter: blur(1px);
  z-index: 0;
}
/* 按钮样式 */
.activity-swiper-prev, .activity-swiper-next {
  width: 74px !important;
  height: 74px !important;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  font-size: 28px !important;
  color: #999 !important;
}
.activity-swiper-prev:hover, .activity-swiper-next:hover {
  background: #e6f4fa;
}
.activity-swiper-prev {
  left: -80px !important;
}
.activity-swiper-next {
  right: -80px !important;
}
.activity-swiper-prev:after {
  content: '<';
  font-size: 24px;
  font-weight: bold;
}
.activity-swiper-next:after {
  content: '>';
  font-size: 24px;
  font-weight: bold;
}
@media (max-width: 1400px) {
  .activity-carousel-container, .activity-swiper {
    width: 100vw;
    min-width: 0;
  }
}
.activity-pubdate {
  width: 100%;
  height: 22px;
  background: var(--primary-color);
  color: #cac8c8;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  margin: 0;
  padding: 0;
  padding-left: 20px;
  box-sizing: border-box;
  margin-top: -22px;
}
.swiper-slide-active .activity-pubdate {
  margin-top: -32px;
  height: 32px;
  font-size: 16px;
}