/* 高校招生专题页样式 - 设计稿基准 1920 × 1080，宽/字号用 vw/19.2，高/行高用 vh/10.8 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #ecf4fe;
  color: #333;
  line-height: 1.5;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  overflow-x: hidden;
  background: url(../images/zszt-26/banner_bg.jpg) no-repeat center top;
  background-size: 100% auto;
}

.container {
  width: calc(1220vw / 19.2);
  margin: 0 auto;
  position: relative;
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

.links li:hover ul {
  display: none;
}

.footer .col-md-3>a+ul {
  display: none;
}

.footer .col-md-3>a:hover+ul {
  display: block;
  z-index: 9;
  opacity: 1;
  transform: translate(0, 0);
}

.footer .col-md-3>a+ul:hover {
  display: block;
  z-index: 9;
  opacity: 1;
  transform: translate(0, 0);
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  min-height: calc(650vh / 10.8);
  padding-top: calc(44vh / 10.8);
}

/* 顶部 Logo */
.header {
  position: relative;
  z-index: 10;
}

.logo img {
  width: calc(224vw / 19.2);
  height: calc(53vh / 10.8);
  max-width: 224px;
  max-height: 53px;
  object-fit: contain;
}

/* 教育要闻 */
.news-section {
  padding: calc(40vh / 10.8) 0 calc(50vh / 10.8);
}

.news-section__inner {
  display: flex;
  align-items: flex-start;
  gap: calc(33vw / 19.2);
}

.news-section__image {
  flex-shrink: 0;
  width: calc(595vw / 19.2);
  height: calc(400vh / 10.8);
  overflow: hidden;
  position: relative;
}

.news-section__swiper.swiper-container {
  margin: 0;
  overflow: hidden;
  z-index: 1;
}

.news-section__swiper .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.news-section__swiper .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

.news-section__image .swiper-wrapper,
.news-section__image .swiper-slide {
  height: 100%;
}

.news-section__slide-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.news-section__slide-link img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  object-fit: contain;
}

.news-section__slide-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 calc(90vw / 19.2) 0 calc(16vw / 19.2);
  height: calc(48vh / 10.8);
  line-height: calc(48vh / 10.8);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: calc(16vw / 19.2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.news-section__arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: calc(36vw / 19.2);
  height: calc(56vh / 10.8);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.news-section__swiper:hover .news-section__arrow {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.news-section__arrow::before {
  content: "";
  display: block;
  width: calc(14vw / 19.2);
  height: calc(14vw / 19.2);
  border-left: calc(2vw / 19.2) solid rgba(255, 255, 255, 0.95);
  border-bottom: calc(2vw / 19.2) solid rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
}

.news-section__arrow--prev {
  left: calc(8vw / 19.2);
}

.news-section__arrow--prev::before {
  transform: rotate(45deg);
  margin-left: calc(4vw / 19.2);
}

.news-section__arrow--next {
  right: calc(8vw / 19.2);
}

.news-section__arrow--next::before {
  transform: rotate(-135deg);
  margin-right: calc(4vw / 19.2);
}

.news-section__pagination {
  position: absolute;
  right: calc(16vw / 19.2);
  bottom: 0;
  z-index: 6;
  height: calc(48vh / 10.8);
  display: flex;
  align-items: center;
  line-height: 0;
}

.news-section__pagination .swiper-pagination-switch {
  display: inline-block;
  width: calc(8vw / 19.2);
  height: calc(8vw / 19.2);
  margin: 0 0 0 calc(8vw / 19.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  opacity: 1;
  cursor: pointer;
  vertical-align: middle;
}

.news-section__pagination .swiper-pagination-switch:first-child {
  margin-left: 0;
}

.news-section__pagination .swiper-active-switch {
  background: #0099ff;
}

.news-section__content {
  flex: 1;
  min-width: 0;
  padding-top: calc(2vh / 10.8);
}

.news-tabs {
  display: flex;
  align-items: center;
  gap: calc(12vw / 19.2);
  font-size: calc(24vw / 19.2);
  font-weight: bold;
  letter-spacing: calc(1.92vw / 19.2);
  line-height: calc(24vh / 10.8);
}

.news-tabs__item {
  cursor: pointer;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.news-tabs__item--active {
  color: #2487f0;
}

.news-tabs__item:hover {
  color: #2487f0;
}

.news-tabs__divider {
  color: #333;
  font-weight: normal;
}

.news-tabs__line {
  height: 1px;
  background: #4f9fee;
  margin: calc(14vh / 10.8) 0 calc(20vh / 10.8);
}

.news-list li {
  font-size: calc(18vw / 19.2);
  line-height: calc(43vh / 10.8);
  letter-spacing: calc(1.44vw / 19.2);
  width: 100%;
  overflow: hidden;
}

.news-list,
.info-panel-list {
  display: none;
  width: 100%;
}

.news-list--active,
.info-panel-list--active {
  display: block;
}

.info-panel-list li {
  font-size: calc(18vw / 19.2);
  line-height: calc(42vh / 10.8);
  letter-spacing: calc(1.44vw / 19.2);
  width: 100%;
  overflow: hidden;
}

.news-list a,
.info-panel-list a {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
  transition: color 0.2s;
}

.news-list a:hover,
.info-panel-list a:hover {
  color: #2487f0;
}

/* 信息公开 / 招生资讯 */
.info-section {
  padding-bottom: calc(50vh / 10.8);
}

.info-section__wrap {
  position: relative;
  height: calc(465vh / 10.8);
}

.info-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(5vw / 19.2);
  display: none;
  pointer-events: none;
}

.info-section__bg--active {
  display: block;
}

.info-section__nav {
  position: absolute;
  left: 25%;
  top: 0;
  z-index: 3;
  width: 15%;
  height: 100%;
}

.info-section__nav-btn {
  position: absolute;
  left: 0;
  width: 100%;
  height: 14%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
}

.info-section__nav-btn:focus {
  outline: none;
  text-decoration: none;
}

.info-section__nav-btn[data-main="xinxigongkai"] {
  top: 29%;
}

.info-section__nav-btn[data-main="zhaoshengzixun"] {
  top: 57%;
}

.info-panel-group {
  display: none;
}

.info-panel-group--active {
  display: block;
}

.info-section__content {
  position: absolute;
  right: calc(14vw / 19.2);
  top: calc(15vh / 10.8);
  width: calc(677 / 1220 * 100%);
  height: calc(364 / 390 * 100%);
  z-index: 2;
  padding: calc(56vh / 10.8) calc(48vw / 19.2) calc(30vh / 10.8);
  overflow: hidden;
}

.info-panel-tabs {
  display: flex;
  align-items: center;
  gap: calc(12vw / 19.2);
  font-size: calc(24vw / 19.2);
  letter-spacing: calc(1.92vw / 19.2);
  line-height: calc(24vh / 10.8);
}

.info-panel-tabs__item {
  cursor: pointer;
  color: #6f6f6f;
  font-weight: normal;
  text-decoration: none;
  transition: color 0.2s;
}

.info-panel-tabs__item--active {
  color: #444;
  font-weight: bold;
}

.info-panel-tabs__item:not(.info-panel-tabs__item--active):hover {
  color: #444;
}

.info-panel-tabs__divider {
  color: #444;
  font-weight: normal;
}

.info-panel-tabs__line {
  height: 1px;
  background: #acacac;
  margin: calc(14vh / 10.8) 0 calc(20vh / 10.8);
}

/* 快捷服务图标 */
.icon-nav {
  padding: calc(24vh / 10.8) 0 calc(36vh / 10.8);
}

.icon-nav__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: calc(8vw / 19.2);
  height: calc(180vh / 10.8);
  padding: 0 calc(62vw / 19.2);
}

.icon-nav__item {
  flex: 1;
  display: flex;
  justify-content: center;
}

.icon-nav__item a {
  display: block;
  text-align: center;
  transition: transform 0.2s, opacity 0.2s;
}

.icon-nav__item a:hover {
  transform: translateY(calc(-4vh / 10.8));
  opacity: 0.85;
}

.icon-nav__item img {
  height: calc(149vh / 10.8);
  max-height: 149px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* 招生服务信息平台 */
.service-section {
  padding-bottom: calc(80vh / 10.8);
}

.service-section__title {
  text-align: center;
  margin-bottom: calc(30vh / 10.8);
}

.service-section__title img {
  height: calc(80vh / 10.8);
  max-height: 80px;
  margin: 0 auto;
  object-fit: contain;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(21vh / 10.8) calc(33vw / 19.2);
}

.service-grid__item {
  background: #fff;
  border-radius: calc(10vw / 19.2);
  height: calc(73vh / 10.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-grid__item a {
  font-size: calc(18vw / 19.2);
  letter-spacing: calc(0.9vw / 19.2);
  line-height: calc(23vh / 10.8);
  text-align: center;
  padding: 0 calc(16vw / 19.2);
}

.service-grid__item:hover {
  box-shadow: 0 calc(4vh / 10.8) calc(12vh / 10.8) rgba(25, 133, 255, 0.15);
  transform: translateY(calc(-2vh / 10.8));
}

.service-grid__item:hover a {
  color: #1985ff;
}

/* 移动端适配 - 设计稿基准 750 × 1334，宽/字号用 vw/7.5，高/行高用 vh/13.34 */
@media screen and (max-width: 768px) {
  .container {
    width: calc(690vw / 7.5);
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }

  .page {
    background-size: 300%;
    background-position: top;
  }

  .banner {
    min-height: calc(400vh / 13.34);
    padding-top: calc(30vh / 13.34);
  }

  .logo img {
    width: calc(300vw / 7.5);
    height: calc(71vh / 13.34);
    max-width: none;
    max-height: none;
  }

  /* 教育要闻 */
  .news-section {
    padding: calc(30vh / 13.34) 0 calc(36vh / 13.34);
  }

  .news-section__inner {
    flex-direction: column;
    gap: calc(24vw / 7.5);
  }

  .news-section__image {
    width: 100%;
    height: calc(360vh / 13.34);
  }

  .news-section__slide-title {
    padding: 0 calc(100vw / 7.5) 0 calc(20vw / 7.5);
    height: calc(44vh / 13.34);
    line-height: calc(44vh / 13.34);
    font-size: calc(24vw / 7.5);
  }

  .news-section__pagination {
    right: calc(16vw / 7.5);
    height: calc(44vh / 13.34);
  }

  .news-section__pagination .swiper-pagination-switch {
    width: calc(10vw / 7.5);
    height: calc(10vw / 7.5);
    margin-left: calc(10vw / 7.5);
  }

  .news-section__swiper .news-section__arrow {
    opacity: 0;
    visibility: hidden;
  }

  .news-section__arrow {
    width: calc(48vw / 7.5);
    height: calc(64vh / 13.34);
    transform: translateY(-50%);
  }

  .news-section__arrow::before {
    width: calc(18vw / 7.5);
    height: calc(18vw / 7.5);
    border-width: calc(2vw / 7.5);
  }

  .news-section__arrow--prev {
    left: calc(4vw / 7.5);
  }

  .news-section__arrow--prev::before {
    margin-left: calc(6vw / 7.5);
  }

  .news-section__arrow--next {
    right: calc(4vw / 7.5);
  }

  .news-section__arrow--next::before {
    margin-right: calc(6vw / 7.5);
  }

  .news-section__content {
    width: 100%;
    min-width: 0;
    padding-top: 0;
    overflow: hidden;
  }

  .news-tabs {
    gap: calc(16vw / 7.5);
    font-size: calc(32vw / 7.5);
    letter-spacing: calc(2vw / 7.5);
    line-height: calc(32vh / 13.34);
  }

  .news-tabs__line {
    margin: calc(16vh / 13.34) 0 calc(20vh / 13.34);
  }

  .news-list li,
  .info-panel-list li {
    font-size: calc(28vw / 7.5);
    line-height: calc(40vw / 7.5);
    letter-spacing: calc(1vw / 7.5);
  }

  .news-list a,
  .info-panel-list a {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* 信息公开 / 招生资讯 */
  .info-section {
    padding-bottom: calc(36vh / 13.34);
  }

  .info-section__wrap {
    height: auto;
    padding-bottom: 0;
    background: #3c9aff;
    border-radius: calc(12vw / 7.5);
    padding: calc(24vh / 13.34) calc(20vw / 7.5);
  }

  .info-section__bg {
    display: none !important;
  }

  .info-section__nav {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    gap: calc(20vw / 7.5);
    margin-bottom: calc(20vh / 13.34);
  }

  .info-section__nav-btn {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    text-indent: 0;
    overflow: visible;
    padding: calc(10vh / 13.34) calc(28vw / 7.5);
    border-radius: calc(8vw / 7.5);
    font-size: calc(28vw / 7.5);
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
  }

  .info-section__nav-btn--active {
    background: #fff;
    color: #3c9aff;
    font-weight: bold;
  }

  .info-section__content {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: calc(12vw / 7.5);
    padding: calc(28vh / 13.34) calc(24vw / 7.5) calc(24vh / 13.34);
    overflow: hidden;
    box-sizing: border-box;
  }

  .info-panel-tabs {
    gap: calc(16vw / 7.5);
    font-size: calc(32vw / 7.5);
    letter-spacing: calc(2vw / 7.5);
    line-height: calc(32vh / 13.34);
  }

  .info-panel-tabs__line {
    margin: calc(16vh / 13.34) 0 calc(20vh / 13.34);
  }

  /* 快捷服务图标 */
  .icon-nav {
    padding: calc(24vh / 13.34) 0 calc(30vh / 13.34);
  }

  .icon-nav__list {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: calc(24vh / 13.34) calc(16vw / 7.5);
    gap: calc(20vh / 13.34) 0;
    border-radius: calc(12vw / 7.5);
  }

  .icon-nav__item {
    flex: 0 0 33.33%;
  }

  .icon-nav__item img {
    height: calc(180vh / 13.34);
    max-height: none;
  }

  /* 招生服务信息平台 */
  .service-section {
    padding-bottom: calc(50vh / 13.34);
  }

  .service-section__title {
    margin-bottom: calc(24vh / 13.34);
  }

  .service-section__title img {
    height: calc(60vh / 13.34);
    max-height: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: calc(16vh / 13.34) 0;
  }

  .service-grid__item {
    border-radius: calc(12vw / 7.5);
    height: calc(80vh / 13.34);
  }

  .service-grid__item a {
    font-size: calc(28vw / 7.5);
    letter-spacing: calc(1vw / 7.5);
    line-height: calc(36vh / 13.34);
    padding: 0 calc(20vw / 7.5);
  }
}
