:root {
  --main-color: #941bf2;
}

/*Semibold*/

@font-face {
  font-family: "PingFangSemibold";
  src: url("../fonts/PingFangSemibold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "PingFangSemibold", "Microsoft YaHei", "宋体", Arial, sans-serif !important;
  /*font-family:'PingFangSemibold', '宋体',  Arial, sans-serif !important;*/
}
@media (min-width: 1366px) {
  .container {
    width: 1320px;
  }
}

@media (min-width: 1600px) {
  .container {
    width: 1600px;
  }
}

a {
  position: relative;
  text-decoration: none !important;
}

a:hover {
  color: var(--main-color) !important;
}

/* a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--main-color);
  transition: width 0.3s ease, left 0.3s ease;
} */

a:hover::after {
  width: 100%;
  left: 0;
}

/* Logo Header */
.logo-header {
  padding: 20px 0;
  /*background: var(--main-color);*/
  background-image: url("../images/header.png");
  background-size: 100% 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.min-school-logo,
.search_an {
  display: none;
}

.school-logo {
  display: flex;
  flex: 1;
}

.school-logo img,
.header-code-img {
  height: 110px;
}

.header-code {
  display: flex;
  flex-direction: row;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  /* float: right; */
}

.search_btn1 {
  margin-left: 50px;
}

.icon1 {
  /* position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);    */

  width: 30px;
  height: 30px;
  cursor: pointer;
}

.header-close {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 30px 10px;
}

/* .search-input{
   height: 70px;
} */

.search-input input,
.input-group-btn button {
  height: 55px;
  border-radius: 27px;
  border-color: #000;
}

.input-group-btn button {
  padding: 10px 20px;
}

.search-input input:focus,
.search-input input:focus ~ span > button {
  outline-color: var(--main-color);
  box-shadow: -3px -3px 15px var(--main-color);
  transition: 0.1s;
  transition-property: box-shadow;
}

/* .header-close .input-group{
    width: 80%;
} */

.header-close .close {
  padding-left: 25px;
  width: 70px;
}

/* 导航菜单 */
.main-nav {
  background: var(--main-color);
  border: none;
}

/* 导航栏基础样式 */
.navbar-default {
  background: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
}

/* 主菜单项样式 */
.navbar-nav {
  float: none;
  display: flex;
  justify-content: space-between;
}

.navbar-nav > li {
  display: flex;
  flex: 1;
  justify-content: center;
}

.navbar-default .navbar-nav > li > a {
  color: #333;
  padding: 25px 5px;
  /* transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); */
  position: relative;
  text-align: center;
  font-weight: 500;
  white-space: nowrap;
}

/* .aaa {
    background-color: var(--main-color);
    color: #fff;
} */

/* 激活状态指示器 */
/* .navbar-default .navbar-nav>.active>a:after,
.navbar-default .navbar-nav>li>a:hover:after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 60%;
    height: 2px;
    background: var(--main-color);
    transform: translateX(-50%);
    transition: all 0.3s ease;
} */

.navbar-default .navbar-nav>.active>a,
    /*.navbar-default .navbar-nav>li:hover,*/
.navbar-default .navbar-nav>.open >a {
  border-bottom: 3px solid var(--main-color);
}

.navbar-default .navbar-nav > li > a {
  font-weight: bolder;
}

/* 文字颜色变化 */
.navbar-default .navbar-nav > .active,
.navbar-default .navbar-nav > li:hover,
.navbar-default .navbar-nav > li:hover > a,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .open,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover {
  /* color: #fff !important; */
  /* background-color: var(--main-color) !important; */
  color: var(--main-color) !important;
  background-color: #fff;
  /* border-bottom: 3px solid var(--main-color); */
}

/* 等宽下拉菜单 */
.dropdown-menu {
  width: 100%;
  min-width: 0;
  margin-top: 3px !important;
  border: none;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  text-align: center;
  padding: 10px 0;
  display: block; /* 关键：覆盖默认 display:none */
  visibility: hidden;
  transform: translateY(-10%); /* 初始上移 10px */
  transition: all 0.6s ease; /* 统一动画属性 */
}

.open .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0); /* 复位 */
}

/* 下拉菜单项样式 */
.dropdown-menu > li > a {
  padding: 12px 0px;
  color: #666;
  transition: all 0.2s;
  white-space: unset;
  text-align: center;
}

.dropdown-menu > li > a:hover {
  /* background: #b50e110d; */
  color: #b50e11;
}

.main-nav a {
  font-size: 18px;
  font-weight: bolder;
}

.home-carousel {
  height: calc(28vw);
  overflow: hidden;
}

/* 轮播图增强 */
.carousel-caption {
  padding: 2rem;
  border-radius: 10px;
  position: absolute;
  right: 15%;
  top: 20%;
  bottom: unset;
  left: 15%;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: #fff;
  text-align: left;
}

.carousel-caption h3 {
  font-size: 40px;
  line-height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.carousel-caption .carousel-btn {
  margin-top: 100px;
  display: inline-block;
  cursor: pointer;
  padding: 5px 30px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 25px;
  /* transition: all 0.3s ease; */
  text-decoration: none;
}

.carousel-caption .carousel-btn:hover {
  border: 1px solid var(--main-color);
}

.carousel-caption .carousel-btn img {
  /* padding-left: 15px; */
  margin-right: 15px;
  width: 15px;
  height: 15px;
}

/* 轮播图 */
.hero-carousel {
  height: 430px;
  overflow: hidden;
}

.carousel-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.8);
  transition: all 0.5s;
}

.hero-carousel:hover .carousel-inner .carousel-img {
  transform: scale(1.05);
  transition: all 0.5s;
}

.carousel-title {
  padding: 15px 0;
  background: var(--main-color);
  text-align: center;
  opacity: 0.7;
}

.title-content {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin: 0;
  transition: all 0.3s ease;
}

.carousel-control {
  background-image: none !important;
}

/* .carousel-indicators {
    bottom: -40px;
} */

/* .carousel-indicators li {
    border-color: #666;
} */

.carousel-indicators .active {
  background-color: var(--main-color);
}

/* 新闻板块 */
.news-section {
  padding: 0;
}

.title-view {
  /*border-bottom: 2px solid var(--main-color);*/
  /* padding-bottom: 15px; */
  /* background-color: var(--main-color); */
  padding: 0 10px;
  margin-bottom: 10px;
  display: flex;
  flex: 1;
  flex-direction: row;
}

.title-view .news-title {
  /*color: var(--main-color);*/
  font-weight: bolder;
  /* border-bottom: 2px solid var(--main-color);
    padding-bottom: 15px; */
  font-size: 26px;
  margin: 10px 0;
  display: flex;
  flex: 1;
  align-items: center;
}

.title-view .news-title span {
  width: 15px;
  height: 20px;
  margin-right: 10px;
  background-color: var(--main-color);
}

.title-view .more {
  /* color: #fff; */
  display: flex;
  width: 100px;
  justify-content: flex-end;
  align-items: center;
  /* margin-right: 10px; */
}

.more a {
  color: var(--main-color) !important;
}

/*

.news-columns {
    column-count: 2;
    column-gap: 30px;
} */

/* .news-item {
    break-inside: avoid;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
} */

/* .news-list {
    padding: 40px 0;
} */

/* 主色调定义 */
.news-highlight {
  color: var(--main-color);
}

.news-item {
  /* margin-bottom: 30px; */
  padding: 10px;
  /* border-left: 3px solid #b50e11; */
  transition: all 0.3s;
}

.news-item:hover {
  transform: translateX(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-date {
  position: relative;
  padding-left: 25px;
}

.news-date:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 2px;
  background: #666;
}

.news-img {
  border-radius: 4px;
  margin-bottom: 15px;
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.notice-list {
  list-style: none;
  padding: 0;
  column-gap: 40px;
  margin-top: -20px;
}

.notice-list1 {
  list-style: none;
  padding: 0;
  column-gap: 40px;
  margin-top: -10px;
}

.notice-item {
  break-inside: avoid;
  /*padding: 5px 0;*/
  border-bottom: 1px solid #eee;
  transition: all 0.3s;
}

/*.notice-item:hover {*/
/*    transform: translateY(10px);*/
/*    background: #f8f8f8;*/
/*}*/

.notice-item:hover .title,
.notice-item:hover .date {
  color: var(--main-color);
}

.notice-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #555;
  text-decoration: none;
  /*line-height: 40px;*/
  padding: 0 5px;
}

.notice-date {
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.notice-date .date {
  font-size: 28px;
  color: #000;
  font-weight: bolder;
}

.notice-date .date1 {
  color: var(--main-color);
}

.notice-date .year-date {
  font-size: 14px;
}

.notice-content {
  display: flex;
  flex: 1;
  padding: 16px 10px;
  flex-direction: column;
}

.notice-list1 .notice-content {
  padding: 20px 10px;
}

.notice-content .title {
  font-size: 18px;
  margin: 10px 0;
  font-weight: bolder;
  color: #000;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  display: -webkit-box;
}
.notice-content .detail {
  font-size: 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  display: -webkit-box;
  color: #777;
}

.notice-content:hover .detail {
  color: var(--main-color);
}

/*.notice-item .title {*/
/*    color: #666;*/
/*    margin: 0;*/
/*    font-size: 16px;*/
/*    flex: 1;*/
/*    padding-right: 10px;*/
/*    display: -webkit-box;*/
/*    -webkit-box-orient: vertical;*/
/*    -webkit-line-clamp:1;*/
/*    overflow: hidden;*/
/*}*/

/*.notice-item .date {*/
/*    color: #666;*/
/*    font-size: 14px;*/
/*    white-space: nowrap;*/
/*}*/

.news-list {
  list-style: none;
  padding: 0;
  column-gap: 40px;
}

.news-list-item {
  break-inside: avoid;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s;
}

.news-list-item:hover {
  transform: translateY(10px);
  background: #f8f8f8;
}

.news-list-item:hover .title,
.news-list-item:hover .date {
  color: var(--main-color);
}

.news-list-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* color: #333; */
  text-decoration: none;
  line-height: 60px;
  padding: 0 5px;
}

.news-list-link .title {
  color: #666;
  margin: 0;
  font-size: 20px;
  flex: 1;
  padding-right: 20px;
}

.news-list-link .date {
  color: #666;
  font-size: 16px;
  white-space: nowrap;
}

.category-list {
  list-style: none;
  padding: 0;
  column-gap: 40px;
}

.category-list-item {
  break-inside: avoid;
  padding: 5px 0;
  margin-bottom: 5px;
  border-bottom: 1px solid #ddd;
  transition: all 0.3s;
  border-radius: 10px;
  background: rgba(148, 27, 247, 0.1);
}

.category-list-item .active {
  color: var(--main-color) !important;
}

.category-list-link {
  display: flex;
  justify-content: center;
  align-items: center;
  /* color: #333; */
  text-decoration: none;
  line-height: 80px;
  padding: 0 5px;
  font-size: 23px;
  color: #555;
  text-align: center;
}

.category-list-link:hover {
  color: var(--main-color) !important;
  transition: all 0.3s;
}

.grid-view {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}
.grid-item {
  width: 32%;
  background: #fafafa;
  border-radius: 0;
  opacity: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.grid-padding {
  height: 30px;
}
.grid-img {
  width: 50px;
  height: 50px;
}
.grid-h2 {
  text-align: center;
  width: 100%;
  height: 32px;
  line-height: 32px;
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.grid-btn {
  display: inline-block;
  padding: 5px 30px;
  color: #000;
  border: 1px solid var(--main-color);
  border-radius: 25px;
  /* transition: all 0.3s ease; */
  text-decoration: none;
}

.grid-btn img {
  /* padding-left: 15px; */
  margin-left: 15px;
  width: 15px;
  height: 15px;
}

.grid-btn:hover {
  background: #fff;
  color: #333;
  cursor: pointer;
  /* transform: translateY(-3px); */
}

.grid-link {
  padding: 20px 30px;
  cursor: pointer;
}

.grid-link-padding {
  margin-bottom: 15px;
  background-color: #fff;
  outline: 1px solid transparent; /* 创建一个透明的边框 */
  outline-offset: -1px; /* 控制边框的位置 */
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1)); /* 应用模糊效果 */
}

.grid-link img {
  height: 40px;
  width: 100%;
}

.grid-link span {
  font-size: 16px;
  color: #000;
  height: 40px;
  line-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.grid-link span:hover {
  color: var(--main-color);
}

.m2pos {
  font-size: 16px;
  margin: 20px 0;
}
.m2pos a {
  color: var(--main-color);
}

.post-title .title {
  font-size: 38px;
  line-height: 60px;
  margin-top: 2vw;
  text-align: center;
}
.post-title .post-info {
  padding: 20px 0 30px;
  border-bottom: 4px solid var(--main-color);
  line-height: 24px;
  font-size: 20px;
  overflow: hidden;
  text-align: center;
}
.post-title .time {
  padding-right: 15px;
}
.post-title .author {
  padding-left: 15px;
}

/* 页脚 */
.main-footer {
  background: #612f98;
  color: #fff;
  padding: 15px 0;
  /* margin-top: 50px; */
}

.list-unstyled {
  /* column-count: 2;
    column-gap: 20px; */
  display: flex;
  flex: 1;
  flex-direction: row;
  flex-wrap: wrap;
}

.list-unstyled li {
  padding: 5px 0;
  width: 25%;
}

.list-unstyled a {
  color: #fff !important;
}

.text-white:hover {
  /*color: goldenrod !important;*/
  opacity: 0.8;
}

.contact-us {
  display: flex;
  flex: 1;
  height: 70px;
}

.contact-us h4 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.address-view {
  display: flex;
  flex-direction: row;
  height: 70px;
  align-items: center;
  justify-content: space-evenly;
}

.address-view1 {
  display: flex;
  flex-direction: column;
}

.address-view1 p {
  font-weight: 400;
  font-size: 12px;
  color: #ffffff;
  opacity: 0.7;
  line-height: 22px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.main-footer .h2,
.main-footer h2 {
  font-size: 24px;
}
.copyright-view {
  display: flex;
  justify-content: flex-end;
  height: 70px;
  align-items: flex-end;
}

.copyright-view p {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  line-height: 14px;
}

@media (max-width: 1600px) {
  .dropdown-menu > li > a,
  .navbar-default .navbar-nav > li > a {
    font-size: 15px;
  }

  .school-logo img,
  .header-code-img {
    height: 100px;
  }

  /* 轮播图 */
  .hero-carousel {
    height: 350px;
    overflow: hidden;
  }

  .notice-list {
    height: 360px;
    overflow: hidden;
  }
}

/* 响应式调整 */
@media (max-width: 1366px) {
  .school-logo img,
  .header-code-img {
    height: 80px;
  }

  .dropdown-menu > li > a,
  .navbar-default .navbar-nav > li > a {
    font-size: 14px;
  }

  /* 轮播图 */
  .hero-carousel {
    height: 310px;
    overflow: hidden;
  }

  /* .notice-list {
    height: 336px;
    overflow: hidden;
  } */

  .column-title {
    font-size: 14px;
  }
}

@media (max-width: 1200px) {
  .notice-list {
    margin-top: 0;
    height: auto;
  }
  .hero-carousel {
    height: auto;
  }

  .column-title {
    font-size: 12px;
  }
}

@media (max-width: 992px) {
  .search_an {
    display: none;
  }

  /* 轮播图 */
  .hero-carousel {
    height: auto;
    overflow: visible;
  }

  .notice-list {
    height: auto;
    overflow: visible;
  }

  .column-title {
    font-size: 20px;
  }

  .logo-header .container {
    text-align: center;
  }

  .header-code-img {
    display: none;
  }

  .title-view {
    margin-top: 25px;
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .navbar-header {
    background-color: var(--main-color);
  }

  .min-navbar-header {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .search_button {
    display: flex;
    width: 100px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .min-school-logo {
    height: 90px;
    margin-left: 15px;
    display: flex;
    flex: 1;
    align-items: center;
  }

  .min-school-logo img {
    height: 50px;
  }

  .logo-header {
    display: none;
  }
  .school-logo img,
  .header-code-img {
    height: 60px;
  }

  .header-close {
    padding: 10px;
  }

  .search-input input,
  .input-group-btn button {
    height: 40px;
    border-radius: 20px;
  }

  .input-group-btn button {
    padding: 10px;
  }

  .header-close .close {
    padding-left: 25px;
    width: 50px;
  }

  .header-code {
    display: none;
  }

  .search_an {
    display: block;
    /* position: absolute; */
    width: 23px;
    height: 23px;
    /* top: 50%;
        right: calc(40px);
        transform: translateY(-50%); */
    cursor: pointer;
    z-index: 99;
  }

  .navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
  }

  .hero-carousel {
    height: 250px;
    overflow: hidden;
  }

  .navbar-nav {
    display: block;
  }

  .dropdown-menu {
    width: auto;
    left: 0 !important;
    transform: none !important;
    text-align: left;
  }

  .navbar-default .navbar-nav > li > a {
    padding: 15px 20px;
  }

  .dropdown-menu > li > a,
  .navbar-default .navbar-nav > li > a {
    font-size: 16px;
  }

  .title-content {
    font-size: 20px;
  }

  .title-view .news-title {
    font-size: 22px;
  }

  .notice-item .title {
    font-size: 14px;
  }

  .carousel-title {
    padding: 15px 0;
  }

  .column-title {
    font-size: 18px;
  }
  .news-item {
    margin-bottom: 20px;
  }

  .list-unstyled li {
    padding: 5px 0;
    width: 33%;
  }

  .h2,
  h2 {
    font-size: 22px;
  }
}

.notice1-list {
  list-style: none;
  padding: 0;
  column-gap: 40px;
}

.notice1-item {
  break-inside: avoid;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s;
}

.notice1-item:hover .title,
.notice1-item:hover .date {
  color: var(--main-color);
}

.notice1-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* color: #333; */
  text-decoration: none;
  line-height: 40px;
  padding: 0 5px;
}

.notice1-item .title {
  color: #666;
  margin: 0;
  font-size: 14px;
  flex: 1;
  padding-right: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice1-item .date {
  color: #666;
  font-size: 12px;
  white-space: nowrap;
}

.top-hot {
  display: flex;
  flex-direction: row;
  width: 50px;
  position: absolute;
  right: 0;
  top: 40%;
}
.tophot {
  width: 30px;
  height: 30px;
  margin: 0 auto;
}