﻿/* ===== 全站基础重置与公共变量（汇总页） ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* rem 基准：沿用导航/轮播模块的设计稿 1920px -> 1rem=100px；1200px 以下按 750 设计稿缩放 */
html {
  font-size: clamp(12px, calc(100vw / 19.2), 100px) !important;
}

@media (max-width: 1199px) {
  html {
    font-size: clamp(12px, calc(100vw / 7.5), 160px) !important;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  color: #333;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  outline: 0;
}

img {
  display: block;
  max-width: 100%;
  border: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-weight: normal;
  line-height: 1.2;
}

button,
input {
  margin: 0;
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

/* work 系列 px 模块的公共版心容器 */
.main-wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 27px 20px;
}

/* 模块通用标题：与「学院新闻」标题样式一致（蓝色竖条 + 深色字 + 前两字蓝色高亮） */
.sec-title {
  display: flex;
  align-items: center;
  font-size: 36px;
  font-weight: 700;
  color: #1d2b45;
  letter-spacing: 0;
}

.sec-title .hl {
  color: #0066cc;
}

/* 标题图片（新海报 1560×876，16:9），按高度等比缩放 */
.sec-title .title-img,
.col-title .title-img,
.academic-title .title-img,
.recruit-title .title-img {
  height: 120px;
  width: auto;
  display: block;
}

@media (max-width: 1200px) {
  .sec-title {
    font-size: 30px;
  }

  .sec-title .title-img,
  .col-title .title-img,
  .academic-title .title-img,
  .recruit-title .title-img {
    height: 100px;
  }
}

@media (max-width: 992px) {
  .sec-title {
    font-size: 26px;
  }

  .sec-title .title-img,
  .col-title .title-img,
  .academic-title .title-img,
  .recruit-title .title-img {
    height: 85px;
  }
}

@media (max-width: 768px) {
  .sec-title {
    font-size: 24px;
  }

  .sec-title .title-img,
  .col-title .title-img,
  .academic-title .title-img,
  .recruit-title .title-img {
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
