@charset "UTF-8";
/* 全局重置与变量 */
:root {
  --primary: #b71c1c;
  --accent: #efefef;
  --text: #333;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  margin: 0 auto;
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* 使用响应式内边距，替代固定 260px，以适应不同屏幕 */
  padding: 12px 5vw;
  font-size: 14px;
  background-color: #f3f3f3;
}
.top-row .top-row-left, .top-row .top-row-right {
  display: flex;
  gap: 24px; /* 减小间距，避免窄屏时溢出 */
  align-items: center;
  cursor: pointer;
  flex-wrap: wrap;
}

/* 顶部导航 */
.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  /* 响应式左右内边距，避免固定 260px 导致窄屏溢出 */
  padding: 10px 5vw;
  gap: 16px;
}
.site-header .header-img {
  /* 固定像素可能导致布局问题，改为自适应并保持最大宽度 */
  flex: 0 0 auto;
  max-width: 228px;
  width: auto;
  height: 68px;
}
.site-header .header-img img {
  display: block;
  max-width: 100%;
  height: auto;
}
.site-header .header-nav {
  display: flex;
  font-size: 16px;
  /* 使用响应式 gap，避免在不同宽度下表现突兀 */
  gap: clamp(8px, 2.5vw, 80px);
  min-width: 0; /* 允许子元素收缩 */
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-left: auto; /* 保持搜索区靠右 */
}
.site-header .header-nav .nav-item {
  position: relative; /* 为下拉菜单定位 */
  flex: 0 0 auto; /* 不拉伸，但允许换行 */
  cursor: pointer;
  padding: 6px 8px;
  white-space: nowrap; /* 单个项内部不换行 */
}
.site-header .header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 30px; /* 保持搜索区靠右 */
  flex: 0 0 auto;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  white-space: nowrap; /* 防止内部换行 */
  line-height: 1;
}
.site-header .header-search .search {
  color: #000;
}
.site-header .header-search .sep {
  color: rgba(0, 0, 0, 0.1);
  margin: 0 6px;
}
.site-header .header-search .lang {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000;
}
.site-header .header-search .lang-text {
  line-height: 1;
}

/* Hero - 使 banner 在各个宽度下完整展示（按比例缩放，不裁切） */
.hero {
  position: relative;
  width: 100%;
  /* 不使用固定高度，图片高度随宽度按比例适配 */
  overflow: visible;
}
.hero img {
  display: block;
  width: 100%;
  height: auto; /* 按原始纵横比显示整个图片，不裁切 */
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

/* 如果需要在极窄设备上更紧凑显示，降低 max-height */
@media (max-width: 420px) {
  .hero img {
    max-height: 50vh;
  }
}
/* 关于我们 */
.about {
  /* 使用响应式内边距，避免窄屏时内容被挤出 */
  padding: 64px 260px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.about .about-inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  /* 在空间不足时换行，避免压缩内容并推挤下面元素 */
  flex-wrap: wrap;
}
.about .about-inner .photo {
  /* 允许图片区域自适应并有最大宽度 */
  flex: 1 1 48%;
}
.about .about-inner .photo img {
  width: 100%;
  max-width: 800px;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.about .about-inner .content {
  flex: 1 1 48%;
  margin-left: 0; /* 取消固定左边距，使用 gap 控制间距 */
  min-width: 0; /* 允许在 flex 容器中收缩，避免溢出 */
}
.about .about-inner .content .container-title {
  font-size: 35px;
  font-weight: 700;
  margin-top: 0.5rem;
}
.about .about-inner .content .lead {
  line-height: 1.7;
  /* 限制宽度并换行，防止推挤下面元素 */
  max-width: 100%;
  word-break: break-word;
  margin-top: 1rem;
}
.about .about-inner .content .know-more {
  width: 190px;
  height: 50px;
  line-height: 50px;
  margin-top: 24px;
  text-align: center;
  border: 1px solid #eaeaea;
  border-radius: 30px;
  color: #b01f25;
  cursor: pointer;
}
.about .stats {
  display: flex;
  margin-top: 30px;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.about .stats .stat {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  text-align: center;
  flex: 1;
  margin: 0; /* 取消固定左边距 */
}
.about .stats .stat .stat-top {
  display: flex;
  align-items: end;
  color: #b02025;
  padding-bottom: 10px;
  border-bottom: 1px solid #ededed;
}
.about .stats .stat .stat-top .num {
  font-size: 35px;
  font-weight: 700;
}
.about .stats .stat .stat-top .text {
  font-size: 15px;
  margin-left: 3px;
  line-height: 2;
}
.about .stats .stat .stat-top .icon {
  font-size: 24px;
  color: #a5a5a5;
  margin-left: auto;
  margin-bottom: 5px;
}
.about .stats .stat .stat-bottom {
  padding-top: 10px;
  text-align: left;
  color: #838383;
}

/* 小屏优化：图片与文本竖向排列，减少间距 */
@media (max-width: 720px) {
  .about {
    padding: 32px 4vw;
  }
  .about .about-inner {
    flex-direction: column;
    gap: 16px;
  }
  .about .about-inner .photo,
  .about .about-inner .content {
    flex: 1 1 100%;
  }
  .about .content .container-title {
    margin-top: 0;
  }
}
/* 学校理念 cards */
.cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 260px;
  background-color: #f7f7f7;
  /* 悬停时从左侧弹出的红色蒙层，宽度占卡片的 50% */
}
.cards .cards-title {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 80px;
}
.cards .card-row {
  width: 100%;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: nowrap;
}
.cards .card {
  width: 385px;
  height: 520px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease;
}
.cards .card .card-normal {
  position: relative;
  width: 100%;
  height: 100%;
}
.cards .card .card-normal .icon {
  position: absolute;
  bottom: 90px;
  left: 30px;
  width: 30px;
  height: 30px;
}
.cards .card .card-normal .icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.cards .card .card-normal .text {
  position: absolute;
  bottom: 40px;
  left: 30px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}
.cards .card:hover {
  transform: translateY(-6px);
}
.cards .card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.cards .card:hover img {
  transform: scale(1.05);
}
.cards .card-overlay {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(176, 31, 37, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 28px;
  box-sizing: border-box;
  transition: left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cards .card:hover .card-overlay {
  left: 0;
}
.cards .overlay-content {
  /* 内容垂直居中并留白 */
  display: flex;
  flex-direction: column;
}
.cards .overlay-content .content-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 30px;
}
.cards .overlay-content .content-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.cards .overlay-content p {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
  opacity: 0.95;
}

/* 专业团队 */
.team {
  position: relative;
  /* 改成响应式内边距，避免固定 260px 在窄屏时造成挤压 */
  padding: 100px 260px;
  box-sizing: border-box;
  /* 红色背景盒子：保持绝对定位但使用响应式尺寸和右侧间距 */
  /* 背景图片改为响应式尺寸并保持纵横比；窄屏时切换为非绝对定位以避免遮挡/挤压 */
}
.team .team-bg-box {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(200px, 30vw, 500px);
  height: clamp(200px, 30vw, 500px);
  background-color: #b01f24;
  pointer-events: none;
}
.team .team-bg-img {
  position: absolute;
  top: 100px;
  right: 5vw;
  width: clamp(240px, 50vw, 900px);
  /* 保持图片的长宽比（900:600 -> 3/2） */
  aspect-ratio: 3/2;
  overflow: hidden;
  transform: translateZ(0);
  pointer-events: none;
}
.team .team-bg-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.team .team-content {
  display: flex;
  gap: 32px;
  min-height: 1px; /* 保证 flex 子项在收缩时表现正确 */
}
.team .team-content .content-left {
  display: flex;
  flex-direction: column;
}
.team .team-content .content-left .left-title {
  font-size: 42px;
  font-weight: 700;
}
.team .team-content .content-left .scroll-box {
  display: flex;
  margin-top: 100px;
}
.team .team-content .content-left .scroll-box .scroll-line {
  position: relative;
  width: 4px;
  height: 350px;
  background-color: #f2f2f2;
}
.team .team-content .content-left .scroll-box .scroll-line .line-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 45%;
  background-color: #b01f24;
}
.team .team-content .content-left .scroll-box .scroll-right {
  display: flex;
  flex-direction: column;
  margin-left: 40px;
}
.team .team-content .content-left .scroll-box .scroll-right .item {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
}
.team .team-content .content-left .scroll-box .scroll-right .item .btn {
  /* 垂直水平居中：使用 top 50% + translateY(-50%) 和 flex 布局 */
  position: absolute;
  top: 60%;
  right: -70px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  background-color: #b01f24;
  color: #fff;
  transform: translateY(-50%);
  font-size: 16px;
  line-height: 1;
}
.team .team-content .content-left .scroll-box .scroll-right .item .btn .btn1 {
  margin-left: 7px;
  font-size: 12px;
}
.team .team-content .content-left .scroll-box .scroll-right .item .title {
  font-size: 26px;
  font-weight: 700;
  color: #c15053;
  margin-bottom: 20px;
}
.team .team-content .content-left .scroll-box .scroll-right .item .content {
  /* 使用响应式宽度，避免固定 450px 在窄屏把背景图或其它元素挤到左侧 */
  width: 350px;
  font-size: 15px;
  color: #666;
  min-width: 0;
}

/* 校园新闻 */
.news {
  padding: 80px 0;
  background-color: #f8f8f8;
}
.news .container {
  padding: 0 260px;
}
.news .container .news-row {
  display: flex;
  justify-content: space-between;
}
.news .container .news-row .cards-title {
  font-size: 35px;
  font-weight: 700;
}
.news .container .news-row .news-btn {
  width: 180px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: #fff;
  background-color: #b01f24;
  border-radius: 80px;
}
.news .container .news-list {
  display: flex;
  margin-top: 60px;
}
.news .container .news-list .news-item:last-child {
  margin-right: 0;
}
.news .container .news-list .news-item {
  width: 370px;
  margin-right: 50px;
}
.news .container .news-list .news-item .news-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.news .container .news-list .news-item .news-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.news .container .news-list .news-item .news-content {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: #fff;
}
.news .container .news-list .news-item .news-content .date {
  font-size: 14px;
  color: #888888;
}
.news .container .news-list .news-item .news-content .title {
  font-size: 20px;
  margin-top: 20px;
}
.news .container .news-list .news-item .news-content .arrow {
  color: #b01f24;
  margin-top: 40px;
  font-size: 20px;
  font-weight: 700;
}
.news .container .news-line-row {
  margin-top: 40px;
  display: flex;
  align-items: center;
}
.news .container .news-line-row .news-line {
  position: relative;
  width: 85%;
  height: 4px;
  background-color: #d8d8d8;
}
.news .container .news-line-row .news-line .block {
  position: absolute;
  left: 0;
  width: 78%;
  height: 4px;
  background-color: #b01f24;
}
.news .container .news-line-row .btn-left {
  margin-left: auto;
  width: 50px;
  height: 50px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #000;
  font-size: 20px;
  transform: rotate(180deg);
}
.news .container .news-line-row .btn-right {
  margin-left: 20px;
  width: 50px;
  height: 50px;
  background-color: #b01f24;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  margin-left: 20px;
}

.facilities {
  background-color: #fff;
  padding: 80px 0;
  box-sizing: border-box;
}
.facilities .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.facilities .container .cards-title {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 40px;
}
.facilities .container .facilities-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.facilities .container .facilities-content .facilities-left {
  display: flex;
  flex-direction: column;
  width: 1160px;
  gap: 20px;
}
.facilities .container .facilities-content .facilities-left .left-top {
  display: flex;
  gap: 20px;
}
.facilities .container .facilities-content .facilities-left .left-top .img1 {
  max-width: 380px;
  max-height: 480px;
}
.facilities .container .facilities-content .facilities-left .left-top .img2 {
  max-width: 760px;
  max-height: 480px;
}
.facilities .container .facilities-content .facilities-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 20px;
}
.facilities .container .facilities-content .facilities-right .img3 {
  width: 100%;
}
.facilities .container .facilities-content .facilities-right .img4 {
  width: 100%;
}

/* 页脚 */
.site-footer {
  background: #0b0b0b;
  color: #fff;
  padding: 100px 260px 60px;
  position: relative;
}
.site-footer .footer-btn {
  position: absolute;
  top: 30px;
  right: 60px;
  width: 60px;
  height: 60px;
}
.site-footer .footer-btn img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.site-footer .container {
  width: 100%;
  display: flex;
}
.site-footer .container .container-left {
  display: flex;
  flex-direction: column;
}
.site-footer .container .container-left .footer-logo {
  width: 224px;
  height: 64px;
}
.site-footer .container .container-left .left-text1 {
  margin-top: 20px;
  color: #fff;
  font-size: 16px;
}
.site-footer .container .container-left .left-text2 {
  margin-top: 20px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}
.site-footer .container .container-left .footer-logo1 {
  width: 70px;
  height: 70px;
  margin-top: 20px;
}
.site-footer .container .container-left .footer-logo1 img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.site-footer .container .container-left .footer-logo2 {
  width: 118px;
  height: 50px;
  margin-top: 20px;
}
.site-footer .container .container-right {
  display: flex;
  flex-direction: column;
  margin-left: auto;
}
.site-footer .container .container-right .right-top {
  display: flex;
  gap: 40px;
}
.site-footer .container .container-right .right-top .column {
  display: flex;
  flex-direction: column;
}
.site-footer .container .container-right .right-top .column .col-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 30px;
}
.site-footer .container .container-right .right-top .column .col-item {
  font-size: 14px;
  color: #bfbfbf;
  margin-bottom: 12px;
}
.site-footer .container .container-right .right-bottom {
  margin-top: 60px;
  width: 400px;
  height: 54px;
  margin-left: auto;
}
.site-footer .container .container-right .right-bottom img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

/* 下拉菜单样式 */
.site-header .nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 100;
  overflow: visible; /* 允许子菜单显示在外部 */
}

.site-header .nav-dropdown.open {
  display: block;
}

.site-header .dropdown-item {
  position: relative; /* 为右侧子下拉定位基准 */
  padding: 16px 24px;
  white-space: nowrap;
  cursor: pointer;
}

.site-header .sub-dropdown {
  position: absolute;
  top: 0;
  left: 100%; /* 紧挨二级下拉的右侧 */
  min-width: 160px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 200;
}

.site-header .sub-dropdown.open {
  display: block;
}

.site-header .sub-item {
  padding: 16px 24px;
  cursor: pointer;
}

.site-header .dropdown-item:hover, .site-header .sub-item:hover {
  background: #f5f5f5;
}

/* 使用类显示箭头，兼容不支持 :has 的浏览器 */
.site-header .nav-title::after {
  content: "";
  /* 箭头大一些 */
  display: inline-block;
  font-size: 20px;
  color: #333;
  vertical-align: middle;
}

.site-header .nav-item.has-children .nav-title::after {
  content: "▾";
  display: inline-block;
  font-size: 20px; /* 放大箭头 */
  height: 20px;
  line-height: 20px;
  color: #333;
  vertical-align: middle;
}

.site-header .dropdown-item.has-sub::after {
  /* 右箭头 */
  content: "▸";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px; /* 放大箭头 */
  color: #333;
}

.top-img-box {
  height: 28vh;
  width: 100%;
  position: relative;
  display: flex;
  overflow: hidden;
}
.top-img-box .box-left, .top-img-box .box-right {
  background-size: cover;
  width: calc(-1000px + 100vw);
  min-width: 40%;
  height: 100%;
  position: absolute;
  z-index: 5;
  /* 保持模糊的同时叠加带透明度的红色层以实现带颜色的毛玻璃效果 */
  filter: blur(5px);
  background-color: rgba(176, 31, 36, 0.4); /* #b01f24 半透明叠层 */
  background-blend-mode: overlay;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.top-img-box .box-left {
  background-position: left center;
  left: 0px;
}
.top-img-box .box-right {
  background-position: right center;
  right: 0px;
}
.top-img-box .box-center {
  -o-object-fit: cover;
     object-fit: cover;
  width: 33.33%;
  height: 100%;
  z-index: 10;
  max-width: 100%;
  margin: auto;
}

a {
  font-size: 1.1em;
  color: -webkit-link;
  cursor: pointer;
  text-decoration: underline;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 50vh;
  padding: 0px calc(-500px + 50vw);
  margin-bottom: 20px;
  font-weight: 500;
}
.page-container .container-title {
  display: block;
  font-size: 1.7em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}
.page-container .container-p {
  font-size: 1.1em;
  text-indent: 2em;
  text-align: justify;
  margin-top: 7px;
  margin-bottom: 7px;
  line-height: 1.6em;
}
.page-container p > img {
  max-width: 100%;
  -o-object-fit: scale-down;
     object-fit: scale-down;
  margin: auto;
}
.page-container ul > p {
  font-size: 1.1em;
}
.page-container li {
  font-size: 1.1em;
}/*# sourceMappingURL=index.css.map */