@font-face {
  font-family: 'Inter';
  src: url('../font/Inter-VariableFont_opsz_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../font/Inter-Italic-VariableFont_opsz_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --primary: #8f000f;
  --primary-dark: #980713;
  --primary-deeper: #911421;
  --date-red: #93010e;
  --bg-light: #edf5fb;
  --bg-lighter: #f2f8fc;
  --text-dark: #333;
  --text-muted: #999;
  --footer-bg: #060708;
  --content-w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: opacity 0.2s; }
a:hover { opacity: 0.85; }
ul, li { list-style: none; }
img { max-width: 100%; vertical-align: middle; }

.wrap { width: var(--content-w); max-width: 100%; margin: 0 auto; padding: 0 15px; }

/* ===== 顶部栏 ===== */
.header {
  background: var(--primary);
  height: 100px;
  position: relative;
  z-index: 100;
}
.header .wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 100%;
  padding-top: 21px;
}
.header-logo img {
  height: 64px;
  width: auto;
}

/* 搜索框 — Figma: 总宽446px, 高48px */
.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  height: 48px;
  padding: 4px 4px 4px 0;
  margin-top: 1px;
}
.search-box input {
  border: none;
  outline: none;
  padding: 0 20px 0 33px;
  font-size: 16px;
  letter-spacing: 0.96px;
  color: var(--text-dark);
  flex: 1;
  width: 324px;
  height: 100%;
  background: transparent;
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box button {
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  border: none;
  width: 122px;
  height: 40px;
  font-size: 16px;
  letter-spacing: 0.96px;
  cursor: pointer;
  border-radius: 20px;
}
.search-box button:hover { opacity: 0.85; }

/* ===== 导航栏 — Figma: 高48px, 半透明叠加在banner上 ===== */
.nav {
  background: rgba(100, 20, 30, 0.75);
  height: 48px;
  position: relative;
  z-index: 99;
}
.nav .wrap {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-menu {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.nav-menu li a {
  color: #fff;
  font-size: 18px;
  letter-spacing: 1.08px;
  line-height: 18px;
  padding: 15px 0;
  display: block;
  white-space: nowrap;
}
.nav-menu li a:hover { opacity: 0.8; }

/* 下拉菜单 */
.nav-menu .has-dropdown { position: relative; }
.nav-menu .dropdown-toggle { display: flex; align-items: center; gap: 6px; }
.dropdown-arrow {
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
  transition: transform 0.25s;
}
.nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 160px;
  background: rgba(100, 20, 30, 0.95);
  padding: 6px 0;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 150;
}
.nav-menu .dropdown-menu li { width: 100%; }
.nav-menu .dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
  text-align: center;
}
.nav-menu .dropdown-menu li a:hover { background: rgba(255,255,255,0.12); opacity: 1; }
.nav-menu .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-menu .has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

/* 手机端汉堡按钮 */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== Banner横幅 ===== */
.banner {
  position: relative;
}
.banner-img {
  width: 100%;
  height: clamp(200px, calc(933 / 1920 * 100vw), 1400px);
  overflow: hidden;
}
.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
  display: block;
}
/* 底部红色装饰条 — 距导航栏底部875px, 高81px, 超出banner下方23px */
.banner-decor {
  position: absolute;
  top: clamp(170px, calc(875 / 1920 * 100vw), 1300px);
  left: 0;
  width: 48.5%;
  height: clamp(28px, calc(81 / 1920 * 100vw), 120px);
  background: var(--primary);
  z-index: 2;
}

.banner .swiper-button-next, .banner .swiper-button-prev{color:#000;background:#fffa;width:4.5em;height:4.5em;border-radius:50%;font-weight:bold}
.banner .swiper-button-next:hover, .banner .swiper-button-prev:hover{background:#fff}

/* ===== 通用组件 ===== */
.section-title {
  font-size: 40px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 2.4px;
  color: var(--text-dark);
  margin-bottom: 78.64px;
}
.section-title span {
  color: var(--primary);
}
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.84px;
  padding: 0 10px 0 20px;
  height: 36px;
  border-radius: 18px;
  transition: opacity 0.2s;
}
.btn-more:hover { opacity: 0.85; color: #fff; }
.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
}

/* ===== 学工动态 ===== */
.section-news {
  display: flex;
  position: relative;
  min-height: calc(832 / 1920 * 100vw);
}

/* 左栏 — 背景sky_bg + 浅蓝底色, 内容区约543px宽靠右 */
.news-left {
  width: 100%;
  position: relative;
  background: var(--bg-lighter);
  overflow: hidden;
}
.news-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../images/sky_bg.jpg) 0% 50% / auto 100% no-repeat;
  opacity: 0.2;
  z-index: 0;
}
.news-left::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--bg-lighter));
  z-index: 0;
}
.news-left-content {
  position: relative;
  z-index: 1;
  padding: 70px 40px 50px calc((100vw - var(--content-w)) / 2);
width: 50%;
}

/* 右栏 — 背景#980713, 斜线三角切入左栏 */
.news-right {
  width: 47.85%;
  min-height: calc(789 / 1920 * 100vw);
  position: absolute;
  right: 0;
  top: 0;
  background: var(--primary-dark);
  color: #fff;
  border-bottom-left-radius: 80px;
  z-index: 2;
}
.news-right-content {
  position: relative;
  z-index: 1;
  max-width: 579px;
  padding: 95px 40px 50px 60px;
}

/* 新闻日期行 — icon + 日期 + 短横线同行 */
.news-date-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom:20px;
}
.icon-calendar {
  color: var(--primary);
  flex-shrink: 0;
}
.news-date-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.96px;
  color: var(--primary);
  flex-shrink: 0;
}
.news-date-divider {
  width: 402px;
  height: 1px;
  background: #999999;
  margin-left: 14.38px;
  flex-shrink: 0;
}

/* 新闻标题/摘要 */
.news-title {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1.32px;
  color: #000;
  margin-bottom: 16px;
}
.news-desc {
  font-size: 16px;
  font-weight: 400;
/* line-height: 16px;*/
  letter-spacing: 0.96px;
  color: #999999;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.news-item-link {
  display: block;
  color: inherit;
}
.news-item-link:hover { opacity: 1; }
.news-item-link:hover .news-title { color: var(--primary); }
.news-right .news-item-link:hover .news-title { color: rgba(255,255,255,0.8); }

/* 新闻条目间距 */
.news-item {
  margin-bottom: 30px;
}
.news-item:last-child {
  margin-bottom: 49.39px;
}

/* 右栏白色文字 */
.news-right .icon-calendar { color: #fff; }
.news-right .news-date-text { color: rgba(255,255,255,0.8); }
.news-right .news-date-divider { display: none; }
.news-right .news-title { color: #fff; }
.news-right .news-desc { color: rgba(255,255,255,0.7); }

/* 右栏轮播图 */
.news-swiper-container {
  width: 100%;
  height: 388px;
  margin-bottom: 64px;
  border-radius: 4px;
  overflow: hidden;
}
.news-swiper,
.news-swiper .swiper-wrapper,
.news-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}
.news-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 翻页箭头 — 静态占位 */
.news-slide-nav {
  display: flex;
  align-items: center;
  gap: 54px;
  justify-content: center;
  margin-top: 51.39px;
}
.news-slide-nav button {
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  padding: 4px;
  transition: opacity 0.2s;
}
.news-slide-nav button:hover { opacity: 1; }

/* ===== 通知公告 ===== */
.section-notice {
  background: var(--bg-light);
  padding: 69px 0 60px;
}
.section-notice .section-title {
  margin-bottom: 55px;
}

/* 通知网格 — 3列×2行, 白色背景卡片 */
.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  background: #fff;
}
.notice-item {
  display: block;
  padding: 38px 28px 30px 32px;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  color: inherit;
}
.notice-item:hover { opacity: 1; }
.notice-item:hover .notice-text { color: var(--primary); }
.notice-item:nth-child(3n) {
  border-right: none;
}
.notice-item:nth-child(n+4) {
  border-bottom: none;
}

/* 通知日期 */
.notice-date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
}
.notice-day {
  font-size: 24px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 1.44px;
  color: var(--date-red);
}
.notice-month {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.96px;
  color: var(--date-red);
}

/* 通知标题 */
.notice-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1.08px;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 查看更多居中 */
.notice-more {
  text-align: center;
  margin-top: 40px;
}

/* ===== 媒体看学工 ===== */
.section-media {
  position: relative;
  overflow: hidden;
  min-height: calc(874 / 1920 * 100vw);
}
/* 背景层 — 底层天空图铺满 + 上层宿舍图裁75% */
.media-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}
.media-bg-bottom {
  position: absolute;
  top: 0;
  left: 34%;
  right: 0;
  opacity: 0.3;
  height: 100%;
  background: url(../images/sky_bg.jpg) 0 0% / cover no-repeat;
}
.media-bg-bottom::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, #fff 100%);
}
.media-bg-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 64%;
  height: 100%;
  overflow: hidden;
  border-bottom-right-radius: 80px;
}
.media-bg-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64.1% 100%;
  display: block;
}

/* 媒体看学工标题覆盖块 — 380x386, 红色半透明 */
.media-title-overlay {
  position: absolute;
  top: 0;
  left: 18%;
  width: calc(380 / 1920 * 100vw);
  height: calc(386 / 1920 * 100vw);
  background: linear-gradient(to bottom, rgba(143, 0, 15, 0.9), transparent);
  display: flex;
  justify-content: center;
  z-index: 2;
}
.media-title-overlay h2 {
  margin-top: 100px;
  font-size: 40px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 2.4px;
  color: #fff;
}

/* 右侧 — 深红背景 + 新闻内容 */
.media-right {
  width: calc(689 / 1920 * 100vw);
  min-height: calc(728 / 1920 * 100vw);
  background: var(--primary);
  color: #fff;
  position: absolute;
  right: 19%;
  top: 0;
  z-index: 3;
  border-radius: 20px;
}
.media-right-inner {
  padding: 54.1px 30.6px;
}

.media-headline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 头条新闻 */
.media-headline-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.96px;
  color: #fff;
}
.media-headline-date {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0.84px;
  color: rgba(255,255,255,0.7);
}
.media-headline-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.84px;
  color: rgba(255,255,255,0.8);
}

/* 分隔线 — 长虚线 */
.media-divider {
  height: 2px;
  background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.3) 0, rgba(255, 255, 255, 0.3) 10px, transparent 10px, transparent 18px);
  margin: 16px 0;
}

/* 新闻列表 */
.media-list li {
  background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.3) 0, rgba(255, 255, 255, 0.3) 10px, transparent 10px, transparent 18px);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: bottom;
  padding: 25px 0;
}
.media-list li:first-child {
  padding-top: 0;
}
.media-list li:last-child {
  background-image: none;
}
.media-list a {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #fff;
}
.media-list-title {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.96px;
}
.media-list-date {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0.84px;
  color: rgba(255,255,255,0.7);
}

/* 查看更多 — 右下角 */
.media-more {
  position: absolute;
  bottom: 20px;
  right: 19%;
  z-index: 4;
}

/* ===== 专题栏目 ===== */
.section-special {
  position: relative;
  background: url(../images/south_gate_panorama.jpg) center / cover no-repeat;
  min-height: calc(546 / 1920 * 100vw);
  padding: 83.61px 0 60px;
  margin-top: 100px;
}
.section-special::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(143, 0, 15, 0.85);
}
.section-special .wrap {
  position: relative;
  z-index: 1;
}
.section-special .section-title-white {
  margin-bottom: 93px;
}
.section-title-white {
  color: #fff;
}
.section-title-white span {
  color: #fff;
}

/* 卡片网格 — 4列 */
.special-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}
.special-card {
  display: block;
  text-align: center;
  color: #fff;
}
.special-card img {
  width: 100%;
  aspect-ratio: 267 / 173;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 39px;
}
.special-card span {
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 1.2px;
}

/* ===== 友情链接 ===== */
.section-links {
  background: var(--bg-light);
  padding: 50px 0 70px;
}
.section-links .section-title {
  margin-bottom: 30px;
}
.links-row {
  display: flex;
  flex-wrap: wrap;
gap: 0.8em 2em;
  margin-bottom: 33.4px;
}
.links-row:last-child {
  margin-bottom: 0;
}
.links-row-1 a {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.96px;
  color: var(--text-dark);
}
.links-row-2 a {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.96px;
  color: var(--text-dark);
}

/* ===== 页脚 ===== */
.footer {
  background: var(--footer-bg) url(../images/copy_bg.png) center 65% / cover no-repeat;
  color: #fff;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
background:linear-gradient(to bottom, #8b4f56f0, #6b000bed);
  z-index: 1;
}
.footer-main {
  position: relative;
  z-index: 2;
  padding: 40px 0 35px;
}
.footer-grid {
  display: flex;
  align-items: center;justify-content: space-between;
}
.footer-logo {
  flex-shrink: 0;
  margin-right: 170px;
}
.footer-logo img {
  height: 82px;
  width: auto;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 27px;
}
.footer-info p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.96px;
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-info p:first-child {
  line-height: 40px;
}
.footer-info p:last-child {
  line-height: 16px;
}
.footer-icon {
  flex-shrink: 0;
}
.footer-info p:first-child .footer-icon {
  margin-top: 12px;
}
.footer-qrcode {
  flex-shrink: 0;
  margin-left: 33.7px;
}
.footer-qrcode img {
  width: 148px;
  height: 149px;
}
.footer-copyright {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
}
.footer-copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(255, 255, 255, 0.1); */
  z-index: -1;
}
.footer-copyright p {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.96px;
  color: #fff;
}
.footer-info .p_address2 { margin: -1.5em auto 0 4.6em; }

.show-body { min-height: 300px;  -webkit-line-clamp: initial; }

/* ===== 响应式 ===== */

/* --- 2K / 4K 大屏 --- */
@media (min-width: 2560px) {
  :root { --content-w: 1400px; }
}
@media (min-width: 3840px) {
  :root { --content-w: 1800px; }
  .header { height: 130px; }
  .header .wrap { padding-top: 28px; }
  .header-logo img { height: 84px; }
  .search-box { height: 62px; border-radius: 31px; }
  .search-box input { font-size: 20px; width: 400px; }
  .search-box button { width: 150px; height: 52px; font-size: 20px; border-radius: 26px; }
  .nav { height: 62px; }
  .nav-menu li a { font-size: 22px; padding: 20px 0; }
}

/* --- 中等桌面 1440~1920 --- */
@media (max-width: 1680px) {
  /* 顶部栏 */
  .header { height: 88px; }
  .header-logo img { height: 56px; }
  .search-box { height: 44px; }
  .search-box input { width: 280px; font-size: 15px; }
  .search-box button { width: 110px; height: 36px; font-size: 15px; }

  /* 导航栏 */
  .nav-menu li a { font-size: 16px; letter-spacing: 0.5px; }

  /* 学工动态左栏 */
  .news-left::before { background-size: 80% auto; }
  .news-left-content { padding: 50px 30px 40px calc((100vw - var(--content-w)) / 2); }
  .news-date-divider { width: 340px; }
  .news-item { margin-bottom: 28px; }
  .news-item:last-child { margin-bottom: 36px; }
  .news-title { font-size: 20px; }
  .news-desc { font-size: 15px; }

  /* 学工动态右栏 */
  .news-right-content { padding: 60px 30px 30px 40px; }
  .news-swiper-container { height: 300px; margin-bottom: 40px; }
  .news-slide-nav { margin-top: 30px; }

  /* 通知公告 */
  .section-notice { padding: 55px 0 50px; }
  .section-notice .section-title { margin-bottom: 45px; }
  .notice-item { padding: 30px 24px 26px 28px; }

  /* 媒体看学工红色块 */
  .media-right-inner { padding: 36px 24px; }
  .media-headline-title { font-size: 15px; }
  .media-headline-desc {
    font-size: 13px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .media-headline { gap: 12px; }
  .media-divider { margin: 12px 0; }
  .media-list li { padding: 16px 0; }
  .media-list a { gap: 10px; }
  .media-list-title { font-size: 14px; line-height: 1.4; }
  .media-list-date { font-size: 13px; }
  .media-title-overlay h2 { font-size: 36px; margin-top: 80px; }

  /* 专题栏目 */
  .section-special { padding: 60px 0 50px; }
  .section-special .section-title-white { margin-bottom: 60px; }
  .special-cards { gap: 32px; }
  .special-card img { margin-bottom: 24px; }
  .special-card span { font-size: 18px; }

  /* 友情链接 */
  .section-links { padding: 55px 0 50px; }
  .links-row { gap: 50px; margin-bottom: 28px; }

  /* 页脚 */
  .footer-logo { margin-right: 120px; }
  .footer-info p { font-size: 15px; }
  .footer-qrcode img { width: 130px; height: 131px; }
}

/* --- 笔记本 / 小桌面 1280~1440 --- */
@media (max-width: 1440px) {
  .wrap { width: 100%; padding: 0 30px; }
  .search-box input { width: 240px; }
  .news-date-divider { width: 300px; }
  .footer-logo { margin-right: 80px; }
}

@media (max-width: 1280px) {
  .wrap { width: 100%; padding: 0 20px; }
  .search-box input { width: 200px; }
  .nav-menu { gap: 20px; }
  .news-date-divider { width: 200px; }
  .notice-grid { gap: 0; }
  .special-cards { gap: 24px; }
  .links-row { gap: 40px; }
  .footer-logo { margin-right: 60px; }
  .footer-grid { gap: 20px; }
}

/* --- 平板 768~1280 --- */
@media (max-width: 1024px) {
  /* 头部 */
  .header { height: 80px; }
  .header .wrap { padding-top: 15px; }
  .header-logo img { height: 50px; }
  .search-box { display: none; }

  /* 导航 */
  .hamburger { display: block; }
  .nav .wrap { position: relative; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: rgba(100, 20, 30, 0.95);
    z-index: 200;
    padding: 8px 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a {
    padding: 12px 20px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  /* 移动端下拉菜单：展开式 */
  .nav-menu .has-dropdown { width: 100%; }
  .nav-menu .dropdown-toggle { justify-content: space-between; }
  .nav-menu .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 0;
    width: 100%;
    background: rgba(0,0,0,0.15);
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .nav-menu .has-dropdown.open .dropdown-menu { display: block; }
  .nav-menu .has-dropdown.open .dropdown-arrow { transform: rotate(180deg); }
  .nav-menu .dropdown-menu li a {
    padding: 10px 40px;
    font-size: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  /* 禁用移动端 hover 展开 */
  .nav-menu .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* Banner */
  .banner-img { height: 500px; }
  .banner-decor { top: 460px; height: 50px; }

  /* 学工动态 */
  .section-news { height: auto;flex-wrap: wrap; }
  .news-left-content { padding: 40px 20px 30px 20px;  width: 100%;  }
  .news-date-divider { width: 200px; }
  .news-right { position: relative; width: 100%; height: auto; border-bottom-left-radius: 0; }
  .news-right-content { max-width: 100%; padding: 40px 20px; }
  .news-swiper-container { height: 280px; }

  /* 通知公告 */
  .section-notice { padding: 40px 0; }
  .section-notice .section-title { margin-bottom: 30px; }
  .notice-grid { grid-template-columns: repeat(2, 1fr); }

  /* 媒体看学工 */
  .section-media { height: auto; display: flex; flex-direction: column; }
  .media-bg { position: relative; width: 100%; height: 350px; }
  .media-bg-top { width: 100%; border-bottom-right-radius: 0; }
  .media-title-overlay { position: absolute; width: 100%; height: 100%; left: 0; top: 0; }
  .media-title-overlay h2 { font-size: 30px; }
  .media-right { position: relative; width: 100%; height: auto; right: auto; border-radius: 0; }
  .media-right-inner { padding: 40px 20px; }
  .media-more { position: relative; bottom: auto; right: auto; text-align: right; padding: 20px; z-index: 4; }

  /* 专题栏目 */
  .section-special { height: auto; margin-top: 60px; padding: 50px 0 40px; }
  .section-special .section-title-white { margin-bottom: 40px; }
  .special-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .special-card img { margin-bottom: 15px; }

  /* 友情链接 */
  .section-links { padding: 40px 0; }
  .links-row { gap: 30px; }

  /* 页脚 */
  .footer-grid { flex-wrap: wrap; }
  .footer-logo { margin-right: 40px; }
  .footer-logo img { height: 60px; }
  .footer-qrcode { margin-left: auto; }
  .footer-qrcode img { width: 100px; height: 100px; }
}

/* --- 手机 <768px --- */
@media (max-width: 768px) {
  /* 头部 */
  .header { height: 60px; }
  .header .wrap { padding-top: 10px; }
  .header-logo img { height: 36px; }
  .search-box { display: none; }

  /* 导航 */
  .hamburger { display: block; }
  .nav { height: 44px; }
  .nav .wrap { position: relative; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    background: rgba(100, 20, 30, 0.95);
    z-index: 200;
    padding: 8px 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a {
    padding: 12px 20px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
.banner .swiper-button-next::after, 
.banner .swiper-button-prev::after { font-size: 20px; }
.banner .swiper-button-next, .banner .swiper-button-prev { width: 2.5em; height: 2.5em; }
  /* 通用 */
  .section-title { font-size: 28px; line-height: 28px; margin-bottom: 30px; }
  .wrap { padding: 0 15px; }

  /* Banner */
  .banner-img { height: 300px; }
  .banner-decor { top: 270px; height: 35px; width: 60%; }

  /* 学工动态 */
  .section-news { height: auto; flex-direction: column; }
  .news-left { width: 100%; }
  .news-left::before { background-size: cover; }
  .news-left-content { padding: 30px 15px; }
  .news-title { font-size: 18px; line-height: 24px; white-space: normal; }
  .news-desc { font-size: 14px; line-height: 20px; }
  .news-date-divider { width: 150px; }
  .news-right { position: relative; width: 100%; height: auto; border-bottom-left-radius: 0; }
  .news-right-content { max-width: 100%; padding: 30px 15px; }
  .news-swiper-container { height: 200px; }
  .news-slide-nav { margin-top: 20px; gap: 30px; }

  /* 通知公告 */
  .section-notice { padding: 30px 0; }
  .section-notice .section-title { margin-bottom: 20px; }
  .notice-grid { grid-template-columns: 1fr; }
  .notice-item { padding: 20px 15px; }
  .notice-text { font-size: 16px; }

  /* 媒体看学工 */
  .section-media { height: auto; flex-direction: column; display: flex; }
  .media-bg { position: relative; width: 100%; height: 250px; }
  .media-bg-top { width: 100%; border-bottom-right-radius: 0; }
  .media-bg-bottom { display: none; }
  .media-title-overlay { position: absolute; width: 100%; height: 100%; left: 0; top: 0; z-index: 2; }
  .media-title-overlay h2 { font-size: 28px; line-height: 28px; }
  .media-right { position: relative; width: 100%; height: auto; right: auto; border-radius: 0; }
  .media-right-inner { padding: 30px 15px; }
  .media-headline-title { font-size: 15px; }
  .media-list-title { font-size: 14px; }
  .media-more { position: relative; bottom: auto; right: auto; text-align: right; padding: 15px; z-index: 4; }

  /* 专题栏目 */
  .section-special { height: auto; margin-top: 40px; padding: 40px 0 30px; }
  .section-special .section-title-white { margin-bottom: 30px; }
  .special-cards { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .special-card img { margin-bottom: 10px; }
  .special-card span { font-size: 14px; }

  /* 友情链接 */
  .section-links { padding: 30px 0; }
  .section-links .section-title { margin-bottom: 20px; }
  .links-row { gap: 15px 20px; margin-bottom: 15px; }
  .links-row-1 a, .links-row-2 a { font-size: 14px; line-height: 20px; }

  /* 页脚 */
  .footer-main { padding: 30px 0 20px; }
  .footer-grid { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .footer-logo { margin-right: 0; }
  .footer-logo img { height: 50px; }
  .footer-info { align-items: center; }
  .footer-info p { font-size: 13px; line-height: 22px; justify-content: center; flex-wrap: wrap; }
  .footer-info p:first-child { line-height: 22px; }
  .footer-info p:first-child .footer-icon { margin-top: 0; }
  .footer-qrcode { margin-left: 0; }
  .footer-qrcode img { width: 100px; height: 100px; }
  .footer-copyright { padding: 15px 0; }
  .footer-copyright p { font-size: 13px; }
.footer-info .p_address2 { margin-left: 5em; }
}

/* --- 小手机 <480px --- */
@media (max-width: 480px) {
  .banner-img { height: 200px; }
  .banner-decor { top: 175px; height: 28px; }
  .special-cards { grid-template-columns: 1fr; gap: 20px; }
  .special-card img { margin-bottom: 8px; }
  .notice-item { padding: 15px 10px; }
}