/* 师生服务页面样式 */
.back{
width:50px;
height:50px;
border-radius:50%;
position:fixed;
bottom:30px;
right:30px;
display:flex;
justify-content: center;
    align-items: center;
       background: linear-gradient(180deg, #ffffff 0%, /* 顶部纯白 */ #ffffff 80%, /* 中间保持白色 */ rgba(228, 228, 228, 0.8) 100% /* 底部浅灰色 */);
box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.6);

}
.back img{
  width:35px;
}
/* 主容器 */
.ssfw-container {
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 10px;
}

/* 顶部介绍区域 */
.ssfw-intro {
  text-align: center;
  margin-bottom: 50px;
  border-radius: 8px;
  padding-top: 30px;
}

.ssfw-intro h2 {
  font-size: 30px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  position: relative;
}
.notice-wrap{
overflow:hidden;
}
.ssfw-intro h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 7px;
  background: #c41e3a;
}

.ssfw-intro p {
  font-size: 22px;
  line-height: 1.8;
  color: #404010;
  text-align: justify;
  text-indent: 2em;
  letter-spacing: 1px;
}

/* 通知公告区域 */
.notice-section {
  margin-bottom: 170px;
  border-radius: 8px;
}

.notice-header {
  display: flex;
  align-items: center;
  padding: 20px 30px;
  color: #fff;
  position: relative;
  width: 320px;
  height: 80px;
  border-radius: 40px;
  background: linear-gradient(180deg,
      #ffffff 0%,
      /* 顶部纯白 */
      #ffffff 80%,
      /* 中间保持白色 */
      rgba(228, 228, 228, 0.8) 100%
      /* 底部浅灰色 */
    );
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  justify-content: center;
  margin-bottom: 30px;
}

.notice-icon {
  margin-right: 15px;
  font-size: 20px;
  z-index: 1;
  position: relative;
}

.notice-icon img {
  position: relative;
  top: 4px;
}

.notice-header h3 {
  font-size: 35px;
  color: #404040;
  font-weight: bold;
  z-index: 1;
  position: relative;
}

.notice-swiper {
  padding: 28px 0px;
  position: relative;
  overflow: visible;
}

.notice-swiper .swiper-wrapper {
  align-items: stretch;
}

.notice-swiper .swiper-slide {
  height: auto;
  padding: 0 12px;
  box-sizing: border-box;
}

/* 卡片样式（白底、圆角、阴影），右侧为红色箭头方块 */
.notice-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.notice-item {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); */
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 120px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.notice-item.card-large {
  padding: 26px;
}

.notice-card:hover .notice-item {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
  background: #fff !important;
  background-image: url("../image/hoverBg.png") !important;
  background-repeat: no-repeat !important;
  background-size: 18% !important;
  background-position: 80% 80% !important;
}

.notice-content {
  flex: 1;
  padding-right: 12px;
}

.notice-content h4 {
  margin: 0 0 15px 0;
  color: #404040;
  font-size: 18px;
  line-height: 1.4;
min-height:50px;
}

.notice-date {
  display: block;
  color: #666;
  font-size: 15px;
}

.notice-arrow {
  width: 60px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  right: 0;
  bottom: 0;
}

.notice-arrow img {
  display: block;
}

.notice-more {
  text-align: center;
  padding: 20px;
  background: transparent;
}

.more-btn {
  display: inline-block;
  padding: 10px 30px;
  background: #b44e51;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.more-btn:hover {
  background: #a01729;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}
.notice-card:hover .notice-content h4{
 color:#a93135;

  font-weight: 700;
}
/* 服务事项区域 */
.service-section {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
margin-top:-60px;
}

.search-box {
  position: absolute;
  right: 0;
  top: 10px;
}

.ssfw-bg {
  background: url("../image/fullBg.png") no-repeat;
  background-size: 100% 112%;
  padding-bottom: 40px;
}

.service-header {
  display: flex;
  align-items: center;
  padding: 10px 30px;
  color: #fff;
  position: relative;
  margin-bottom: 50px;
}

/* 将 notice 样式的 pill 放到服务标题并居中 */
.service-header .service-title {

  z-index: 2;
  display: flex;
  align-items: center;
  width: initial;
  padding: 0 65px;
  height: 80px;
  border-radius: 40px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 80%, rgba(228, 228, 228, 0.8) 100%);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.2);
  justify-content: center;
}

.service-header .service-title .notice-icon img {
  width: 45px;
}

.service-header .service-title h3 {
  font-size: 32px;
  color: #404040;
  margin: 0;
  font-weight: 700;
}

.service-header .service-icon {
  margin-right: 15px;
  font-size: 20px;
}

.service-header h3 {
  font-size: 20px;
  font-weight: bold;
  flex: 1;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 5px;
}

.service-header .search-box {
  margin-left: auto;
  z-index: 3;
  background: transparent;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.search-box input {
  background: transparent;
  border: none;
  color: #fff;
  padding: 8px 15px;
  font-size: 14px;
  width: 200px;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-btn {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

.service-content {
  display: flex;
  min-height: 400px;
  justify-content: space-between;
}

/* 左侧常办事项 */
.service-left {
  width: 750px;
  background-color: rgba(255, 255, 255, 0.5);
  /* background-color: #fafafa; */
  border-radius: 5px;
  padding-bottom: 12px;
}

.frequent-services {
  height: 100%;
}

.frequent-header {
  display: flex;
  align-items: center;
  margin: 20px 0;
  justify-content: space-between;
}

.frequent-header h4 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.trophy-icon {
  font-size: 24px;
}

.frequent-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding: 0 30px;
}

.frequent-list li {
  display: flex;
  align-items: center;
  padding: 15px 0;
  /* border-bottom: 1px solid #f5f5f5; */
  transition: all 0.3s ease;
  cursor: pointer;
}

.frequent-list li:hover {
  background: #f8f9fa;
  padding-left: 10px;
}

.frequent-list li:last-child {
  border-bottom: none;
}

.number {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: #c41e3a;
  color: #fff;
  text-align: center;
  line-height: 30px;
  /* border-radius: 50%; */
  font-size: 22px;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.frequent-list li:hover {
  border-bottom: 1px dashed #a93135;
  font-weight: bold;
}

.frequent-list .type {
  font-weight: bold;
  font-size: 22px !important;
  color: #a93135 !important;
}

.frequent-list li span:not(.number) {
  color: #404040;
  font-size: 22px;
  line-height: 1.5;
}

.frequent-list li {
  color: #404040;
  font-size: 22px;
  line-height: 1.5;
  /* 超出一行显示省略号 */
  width: 100%;
  /* 1. 强制文本在一行内显示 */
  white-space: nowrap;
  /* 2. 隐藏溢出内容 */
  overflow: hidden;
  /* 3. 用省略号表示被截断的文本 */
  text-overflow: ellipsis;

}

.frequent-more {
  text-align: center;
  margin-top: 20px;
}

.frequent-more a {
  display: block;
  width: 140px;
  height: 40px;
  border: 1px solid #a93135;
  line-height: 40px;
  text-align: center;
  font-size: 18px;
  color: #404040;
  border-radius: 20px;
  margin-right: 20px;
}

.more-link {
  color: #c41e3a;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.more-link:hover {
  color: #a01729;
  text-decoration: underline;
}

/* 右侧服务分类 */
.service-right {
  width: 600px;
  border: 1px solid #a93135;
  margin-right: 5px;
}

.service-categories {
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: 100%;
  justify-content: center;
  position: relative;
}

.service-categories .sxlb {
  position: absolute;
  left: 0;
  top: 0;
}

.category-item {
  display: flex;
  align-items: center;
  background: #f4f4f4;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 60%;
  margin: 0 auto;
  justify-content: center;
  gap: 35px;
  margin-bottom: 25px;
}

.category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-icon {
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 90px;
  border-radius: 50%;
  font-size: 32px;
  color: #c41e3a;
  transition: all 0.3s ease;
}

.category-icon img {
  width: 100%;
  position: relative;
  top: -20px;
  /* height: 80px; */
}

.category-icon:hover {
  color: #fff;
  transform: scale(1.1);
}

.student-icon {
  color: #007bff;
}


.teacher-icon {
  border-color: #28a745;
  color: #28a745;
}



.self-service-icon {
  border-color: #ffc107;
  color: #ffc107;
}

.category-item h4 {
  font-size: 25px;
  font-weight: bold;
  color: #404040;
}

.search-input {
  border: 1px solid #a01729 !important;
}

.search-input::placeholder {
  color: #a01729 !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .ssfwLogo {
    width: 60%;
  }

  .notice-section {
    margin-bottom: 30px;
    overflow: hidden;
  }

  .notice-header h3 {
    font-size: 28px;
  }

  .ssfw-bg {
    background: transparent;
  }

  .notice-header {
    width: 60%;
    /* padding: 0 65px; */
  }

  .ssfw-container {
    padding: 20px 10px;
  }

  .service-header .service-title h3 {
    font-size: 28px;
  }

  .service-content {
    flex-direction: column;
  }

  .service-header {
    flex-direction: column;
  }

  .service-left {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .service-header .search-box {
    position: initial;
    transform: initial;
    margin-left: 0;
    margin-top: 30px;
  }

  .search-box {
    position: initial;
    margin: 0 auto;
    justify-content: center;
  }

  .service-header {
    margin-bottom: 10px;
  }

  .service-left {
    width: 100%;
  }

  .frequent-more {
    margin-top: 0;
  }

  .frequent-list {
    padding: 0;
  }

  .frequent-list .type,
  .frequent-list li {
    font-size: 16px !important;
  }

  .frequent-header img {
    height: 45px;
  }

  .search-box input {
    width: 150px;
  }

  .service-right {
    width: 100%;
  }

  .ssfw-intro p {
    font-size: 18px;
  }

  .notice-item {
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);

  }

  .category-icon img {
    top: 0;
  }

  .notice-item h4 {
    margin-bottom: 10px;
  }

  .category-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin-bottom: 0;
  }

  .category-icon {
    margin-right: 0;
  }

  .service-categories .sxlb {
    width: 50px;
  }

  .service-categories {
    padding: 10px 0;
  }
}

/* 底部样式 */
.site-footer {
  background-color: #f8f9fa;
  padding: 40px 0;
  border-top: 1px solid #e9ecef;
}
.site-footer .footer-left{
 width:auto;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.footer-left {
  flex-shrink: 0;
}

.footer-left .footer-link {
  display: block;
  transition: transform 0.3s ease;
}

.footer-left .footer-link:hover {
  transform: scale(1.05);
}

.footer-left img {
  /* height: 80px; */
  width: auto;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-info {
  text-align: left;
  border-left: 1px solid #fff;
  padding-left: 20px;
}

.footer-address {
  font-size: 14px;
  color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.footer-copy {
  font-size: 14px;
  color: #fff;
  margin: 0;
  line-height: 1.5;
  text-align: left;
}

/* 底部响应式设计 */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-right {
    flex-direction: column;
    gap: 15px;
    margin-left: 0;
  }

  .footer-info {
    text-align: center;
    border: none;
    padding-left: 0;
  }

  .footer-left img {
    height: 60px;
  }

  .footer-logo img {
    height: 50px;
  }
}