@import url("./reset.css");
:root,
:host {
  --theme-color: #038ce3;
  --theme-color-rgb: 3 140 227;
}
/* 手机菜单按钮 -开始 */
.menu-icon {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  /* background: rgb(0, 0, 0); */
  padding: 5px;
  cursor: pointer;
}
.menu-icon input {
  display: none;
}
.menu-icon span {
  display: block;
  position: relative;
  height: 2px;
  width: 100%;
  background: #1e69d4;
  border-radius: 10px;
  opacity: 1;
  left: 0;
  margin-bottom: 24%;
  transition: 0.3s ease-in-out;
}
.menu-icon span {
  transform-origin: left center;
}
.menu-icon input:checked ~ span {
  background: #1e69d4;
  left: 5px;
  margin-bottom: 30%;
}
.menu-icon input:checked ~ span:nth-of-type(1) {
  transform: rotate(45deg);
}
.menu-icon input:checked ~ span:nth-of-type(2) {
  opacity: 0;
}
.menu-icon input:checked ~ span:nth-of-type(3) {
  transform: rotate(-45deg);
}
@media (max-width: 1024px) {
  .menu-icon {
    display: block;
    padding-top: 9px;
  }
}
/* 手机菜单结束 */
header .nav-wap-content {
  position: fixed;
  top: 55px;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000000e6;
  color: #fff;
  text-align: left;
  font-size: 16px;
  display: none;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 2;
  /* padding-top: 60px; */
}
header .nav-wap-content .nav-wap-box {
  overflow-y: auto;
  height: 100%;
}
header .nav-wap-content .box-ul {
  padding-top: 40px;
}
header .nav-wap-content .box-ul .box-li {
  opacity: 1;
  /* transform: translateY(-50%); */
  padding: 15px 0;
  border-bottom: 1px solid #f1f1f12b;
}
header .nav-wap-content .box-ul .box-li .box-li-title {
  cursor: pointer;
}
.active-title {
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.container-box {
  --container-box-padding-x: 20px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-box-padding-x);
  padding-right: var(--container-box-padding-x);
}
@media (min-width: 640px) {
  .container-box {
    --container-box-padding-x: 40px;
  }
}
@media (min-width: 768px) {
  .container-box {
    --container-box-padding-x: 60px;
  }
}
@media (min-width: 1024px) {
  .container-box {
    --container-box-padding-x: 80px;
  }
}
@media (min-width: 1280px) {
  .container-box {
    --container-box-padding-x: 120px;
  }
}
@media (min-width: 1536px) {
  .container-box {
    --container-box-padding-x: 160px;
  }
}
@media (min-width: 1920px) {
  .container-box {
    --container-box-padding-x: 240px;
  }
}
.header .container-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.header > .container-box {
  height: 100px;
}
@media (max-width: 960px) {
  .header > .container-box {
    height: 60px;
  }
}
.header .logo {
  width: auto;
  height: 80%;
}
@media (max-width: 960px) {
  .header .logo {
    width: 40%;
    height: auto;
  }
}
@media (max-width: 768px) {
  .header .logo {
    width: 65%;
    height: auto;
  }
}
.header .contact {
  display: flex;
  align-items: center;
  column-gap: 8px;
  font-size: 28px;
  font-weight: 700;
  margin-top: 0;
  color: var(--theme-color);
}
.header .contact .icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  color: var(--theme-color);
}
@media (max-width: 1024px) {
  .header .contact {
    display: none;
  }
}
.nav {
  height: 64px;
  background-color: var(--theme-color);
}
@media (max-width: 960px) {
  .nav {
    height: unset;
    padding: 20px 0;
  }
}
@media (max-width: 960px) {
  .nav .container-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: unset;
  }
}
.nav .nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  border-bottom: 3px solidvar(--theme-color);
  font-weight: 600;
  color: #fff;
}
.nav .nav-item:hover,
.nav .nav-item.active {
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
@media (max-width: 960px) {
  .nav .nav-item {
    padding: 4px 8px;
  }
}
.hero .swiper {
  --swiper-theme-color: #fff;
}
.hero .swiper .swiper-slide {
  width: 100%;
  height: auto;
  aspect-ratio: 24/9;
}
@media (max-width: 960px) {
  .hero .swiper .swiper-slide {
    aspect-ratio: unset;
  }
}
.hero .swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 960px) {
  .hero .swiper {
    --swiper-navigation-size: 24px;
  }
}
.class {
  display: grid;
  grid: auto-flow dense / repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 80px;
  /* padding: 32px 20px; */
  border-radius: 8px;
  background-color: #f5f5f5;
}
@media (max-width: 960px) {
  .class {
    margin-top: 40px;
  }
}
.class .class-item {
  padding-top: 24px;
}
.class .class-item:hover {
  -webkit-box-shadow: inset 0 0 38px rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 0 38px rgba(0, 0, 0, 0.08);
  -webkit-transition: all 0.15s ease;
  transition: all 0.15s ease;
}
.class .class-item .image {
  width: 100%;
  height: clamp(230px,12.8vw, 260px);
  /* aspect-ratio: 4/3; */
  object-fit: cover;
}
.class .class-item .caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 4px;
  margin-top: 16px;
  padding: 0 20px;
  font-weight: 300;
}
.class .class-item .title {
  font-size: 1.25rem;
}
.class .class-item .subtitle {
  font-size: 0.875rem;
  color: #666;
}
.class .class-item .subtitle::before,
.class .class-item .subtitle::after {
  content: "·";
}
.highlight {
  padding: 80px 0;
}
@media (max-width: 960px) {
  .highlight {
    margin-top: 40px;
    padding: 40px 0;
  }
}
.highlight .container-box {
  display: grid;
  grid-template: "a a d" 16.666vw "b c d" 16.666vw / 1fr 1fr 1fr;
  gap: 12px;
}
@media (max-width: 960px) {
  .highlight .container-box {
    grid-template: "a" 160px "b" 240px "c" 240px "d" 480px;
  }
}
.highlight .highlight-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.highlight .highlight-item .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.highlight .highlight-item .caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px 16px;
  background-color: rgb(var(--theme-color-rgb) / 0.8);
  backdrop-filter: blur(4px);
  color: #fff;
  z-index: 1;
}
.highlight .highlight-item .title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.highlight .highlight-item .description {
  font-size: 0.875rem;
  opacity: 0.88;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
.highlight .highlight-item:nth-child(1) {
  grid-area: a;
}
.highlight .highlight-item:nth-child(1) .caption {
  display: flex;
  align-items: center;
  height: 100%;
  /* margin-left: 40px; */
  background-color: unset;
  backdrop-filter: unset;
}
.highlight .highlight-item:nth-child(1) .title {
  font-size: 2rem;
}
@media screen and (max-width: 768px) {
  .highlight .highlight-item:nth-child(1) .title {
    font-size: 20px;
  }
}
.highlight .highlight-item:nth-child(2) {
  grid-area: b;
}
.highlight .highlight-item:nth-child(3) {
  grid-area: c;
}
.highlight .highlight-item:nth-child(4) {
  grid-area: d;
}
.major {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 960px) {
  .major {
    /* margin-top: 40px; */
  }
}
.major .heading {
  position: relative;
  width: fit-content;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--theme-color);
}
.major .heading::after {
  display: block;
  width: 50%;
  height: 2px;
  margin-left: 25%;
  margin-top: 8px;
  background-color: var(--theme-color);
  content: "";
}
.major .swiper {
  --swiper-theme-color: #fff;
  width: 100%;
  /* .swiper-wrapper {
      transition-timing-function: linear;
    } */
}
.major .swiper .swiper-slide {
  border: 1px solid #e7e7e7;
  border-radius: 4px;
  overflow: hidden;
}
.major .swiper .image {
  width: 100%;
  aspect-ratio: 14/9;
  object-fit: cover;
}
.major .swiper .caption {
  width: 100%;
  padding: 20px 16px;
  border-right: 12px solid rgb(var(--theme-color-rgb) / 0.5);
}
.major .swiper .title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #666;
}
.major .swiper .description {
  font-size: 0.875rem;
  color: #888;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
.about {
  margin-top: 80px;
  padding: 80px 0;
  background-color: rgb(var(--theme-color-rgb) / 0.19);
}
@media (max-width: 960px) {
  .about {
    margin-top: 40px;
    padding: 40px 0;
  }
}
.about .heading {
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--theme-color);
}
.about .content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  row-gap: 40px;
  column-gap: 80px;
}
@media (max-width: 960px) {
  .about .content {
    grid-template-columns: unset;
  }
}
.about .image-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  padding: 20px;
  border-radius: 8px;
  background-color: #fff;
}
.about .image-wrapper .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.about .caption {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}
.about .title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--theme-color);
}
.about .description {
  color: #444;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
}
.about .button {
  display: block;
  width: fit-content;
  min-width: 120px;
  margin-top: 8px;
  padding: 8px 20px;
  border-radius: 9999px;
  background-color: var(--theme-color);
  font-weight: 500;
  text-align: center;
  color: #fff;
}
.about .button:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  color: #fff;
}
.faculty {
  padding: 80px 0;
  background-color: #f5f5f5;
  --swiper-pagination-bullet-inactive-color: #fff;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-color: var(--theme-color);
  --swiper-pagination-bullet-width: 13px;
  --swiper-pagination-bullet-height: 14px;
}
@media (max-width: 960px) {
  .faculty {
    /* margin-top: 40px; */
    padding: 40px 0;
  }
}
.faculty .container-box {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
}
@media (max-width: 960px) {
  .faculty .container-box {
    grid-template-columns: unset;
    gap: 20px;
  }
}
.faculty .caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 20px;
}
.faculty .heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--theme-color);
}
.faculty .description {
  font-size: 0.875rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  line-clamp: 8;
}
.faculty .button {
  display: block;
  width: fit-content;
  min-width: 160px;
  margin-top: 20px;
  padding: 12px 20px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  background-color: #fff;
  font-weight: 500;
  text-align: center;
  color: var(--theme-color);
  transition: all 0.5s;
}
.faculty .button:hover {
  background-color: var(--theme-color);
  color: #fff;
}
.faculty .swiper {
  --swiper-theme-color: #fff;
  width: 100%;
  /* height: 100%; */
  /* aspect-ratio: 16/9; */
  overflow: hidden;
}
.faculty .swiper .swiper-wrapper {
  transition-timing-function: linear;
}
.faculty .swiper .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.faculty .swiper .caption {
  width: 100%;
  padding: 20px 16px;
}
.faculty .swiper .title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #666;
}
.faculty .swiper .description {
  font-size: 0.875rem;
  color: #888;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
@media (max-width: 768px) {
  .faculty .button {
    margin-top: 5px;
  }
  .faculty .swiper {
    aspect-ratio: 13/9;
  }
}
.faculty .swiper-pagination-bullet {
  border: 1px solid var(--theme-color);
}
.faculty-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 80px;
}
@media (max-width: 960px) {
  .faculty-2 {
    grid-template-columns: unset;
    margin-top: 40px;
  }
}
.faculty-2 .image-wrapper {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.faculty-2 .image {
  width: 100%;
  height: clamp(290px, 27vw, 550px);
  object-fit: cover;
}
.faculty-2 .caption {
  padding: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #666;
}
.contact {
  margin-top: 80px;
}
@media (max-width: 960px) {
  .contact {
    margin-top: 40px;
  }
}
.contact .container-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 320px;
}
@media (max-width: 960px) {
  .contact .container-box {
    height: 260px;
  }
}
.contact .caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 20px;
}
.contact .heading {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.contact .description {
  font-size: 0.875rem;
  color: #fff;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  line-clamp: 8;
}
.contact .button {
  display: block;
  width: fit-content;
  min-width: 160px;
  margin-top: 20px;
  padding: 12px 20px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  background-color: #fff;
  font-weight: 500;
  text-align: center;
  color: var(--theme-color);
  transition: all 0.6s;
}
.contact .button:hover {
  background-color: var(--theme-color);
  color: #fff;
}
@media (max-width: 960px) {
  .contact .button {
    margin-top: 0px;
  }
}
.footer .links {
  padding: 80px 0;
}
.footer .links .container-box {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 960px) {
  .footer .links .container-box {
    flex-direction: column;
    row-gap: 40px;
  }
}
.footer .links .list-wrapper {
  display: flex;
  column-gap: 60px;
}
@media (max-width: 960px) {
  .footer .links .list-wrapper {
    justify-content: center;
  }
}
.footer .links .list {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 8px;
  list-style: none;
}
.footer .links .list-item:hover {
  color: var(--theme-color) !important;
}
.footer .links .list-item:first-child {
  margin-bottom: 8px;
}
.footer .links .list-item:not(:first-child) {
  font-size: 0.875rem;
  color: #666;
}
.footer .links .right {
  display: flex;
  flex-direction: column;
  align-items: end;
  row-gap: 20px;
}
@media (max-width: 960px) {
  .footer .links .right {
    align-items: center;
  }
}
.footer .links .tel {
  font-size: 2rem;
  color: #666;
}
@media (max-width: 960px) {
  .footer .links .tel {
    font-size: 1.5rem;
    text-align: center;
  }
}
.footer .links .button {
  display: block;
  width: fit-content;
  min-width: 120px;
  margin-top: 8px;
  padding: 8px 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background-color: #f5f5f5;
  font-weight: 500;
  text-align: center;
  color: var(--theme-color);
  transition: all 0.6s;
}
.footer .links .button:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.footer .info {
  background-color: #f5f5f5;
  color: #666;
}
.footer .info .container-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px 20px;
  font-size: 0.875rem;
}
@media (max-width: 960px) {
  .footer .info .container-box {
    flex-direction: column;
  }
}
.page .active {
  color: #fff;
  background-color: #038ce3;
}
.current {
  background-color: #038ce3;
  color: #fff;
}
