/* ==========================================================================
   旅游管理学院 · 新版样式表（响应式 · 宽屏适配 · 现代化）
   设计语言：学术蓝调 · 理性简洁（参考东北师范大学地理科学学院 geo.nenu.edu.cn）
   说明：本样式在保留原 CMS 标签结构的前提下，用纯 CSS 替代图片切片，
        实现圆角卡片、宽屏自适应与统一配色。
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --ink:      #22332C;   /* 墨绿黑，主文字 */
  --ink-2:    #55665D;   /* 次级文字 */
  --teal:     #2F5D50;   /* 墨绿，导航/标题主色 */
  --teal-deep:#1E4038;   /* 深墨绿，渐变端 */
  --cinnabar: #6FAF8C;   /* 浅绿，强调/图标 */
  --paper:    #F2F7F4;   /* 浅绿白底 */
  --mist:     #E8F0EA;   /* 浅绿，卡片底/分隔 */
  --line:     #D6E2DA;   /* 细分隔线 */
  --white:    #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(31,42,54,.06);
  --shadow-md: 0 4px 16px rgba(31,42,54,.08);
  --radius: 10px;
}

/* ---------- 基础重置 ---------- */
* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--white);
  /* 顶部通栏渐变画在 body 背景上，彻底避免 100vw 偏移造成的头部左移 */
  background-image: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 55%, #3E7A68 100%);
  background-repeat: no-repeat;
  background-size: 100% 140px;
  background-position: top center;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  overflow-x: hidden;
}

table { font-size: 14px; border-collapse: collapse; }

a { font-size: 14px; color: var(--teal); text-decoration: none; line-height: 1.7; }
a:hover { color: var(--cinnabar); }
a:visited, a:active { color: var(--teal); }

img { max-width: 100%; height: auto; border: 0; }

/* ---------- 页面容器：宽屏自适应 ---------- */
#container_page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  text-align: left;
  background-color: transparent; /* 透明以露出 body 顶部的渐变背景带 */
}

#container_content { width: 100%; padding: 6px 16px 26px; background: var(--white); }

/* 新闻列表圆点（替代 bottom1/2/3/4.gif 灰色方块图标） */
.dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cinnabar);
  vertical-align: 2px;
}

/* 首页左栏焦点图 */
td.focus-img img { border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; width: 100%; }
td.focus-img table, td.focus-img td { border: 0; }
/* 增大焦点轮播图尺寸；td 的固定高度改为最小高度，容纳图片+标题 */
td.focus-img { height: auto !important; min-height: 240px; }
/* 覆盖 CMS 容器内联样式（width:240px;height:180px;overflow:hidden）——
   内联样式必须用 !important 才能覆盖，否则标题区被裁掉 */
td.focus-img div[style*="width"] {
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  position: relative;
}
td.focus-img div[style*="width"] img {
  width: 100% !important;
  height: 238px !important;
  object-fit: cover;
}
/* 图片下方标题区（.dtjt9_div_text / .dtjt9_div_text_title）：居中显示、保证可见 */
td.focus-img .dtjt9_div_text,
td.focus-img .dtjt9_div_text_title {
  position: static !important;
  height: auto !important;
  overflow: visible !important;
  background: none !important;
  text-align: center;
}
td.focus-img .dtjt9_div_text_title a {
  display: block;
  padding: 9px 6px 2px;
  font-size: 14px;
  color: var(--ink) !important;
  background: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
td.focus-img .dtjt9_div_text_title a:hover { color: var(--teal); }
/* 页码圆点（.number 内 a.nomal / a.current）：圆形、浅灰底、间距均匀 */
td.focus-img .number {
  position: absolute;
  right: 10px;
  bottom: 10px;
  line-height: 0;
}
td.focus-img .number a {
  display: inline-block;
  width: 14px;
  height: 14px;
  line-height: 14px;
  border-radius: 50%;
  background: #DDD;
  color: transparent;
  font-size: 0;
  margin: 0 5px;
  vertical-align: middle;
  overflow: hidden;
  cursor: pointer;
}
/* 当前页圆点：朱红 */
td.focus-img .number a.current {
  background: var(--cinnabar);
}

/* 首页下方两列（专业设置/公共服务）卡片化 */
td.sidecol, td.halfcol {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2px 12px 14px;
}
td.sidecol, td.halfcol table, td.sidecol, td.halfcol td { border: 0; }

/* 修正 CMS 输出的双列/居中表格导致交错排列：侧栏/半列全部扁平化为单列 */
td.sidecol, td.halfcol table { display: block !important; width: 100% !important; }
td.sidecol, td.halfcol tr { display: block !important; }
td.sidecol, td.halfcol td {
  display: block !important;
  width: auto !important;
  text-align: left !important;
  padding: 4px 0;
}
td.sidecol, td.halfcol td[height="1"] { padding: 0; }
td.sidecol, td.halfcol td.biaoti { padding: 14px 18px 12px 31px; }
td.sidecol, td.halfcol td.svc-box { padding: 4px 12px; }
td.sidecol, td.halfcol span, td.sidecol, td.halfcol a, td.sidecol, td.halfcol p { text-align: left !important; }
td.sidecol, td.halfcol a { line-height: 2; }

/* 去掉栏目间的虚线背景（CMS 输出的 line.gif 分隔） */
td.sidecol, td.halfcol td { background-image: none !important; }
td.sidecol, td.halfcol td[height="1"] { display: none !important; }

/* 侧栏/半列二级板块标题（研究生专业设置），绿色竖线 */
.side-sub {
  position: relative;
  margin: 14px 0 2px 18px;
  padding-left: 13px;
  font-weight: 700;
}
.side-sub a { font-weight: 700; }
.side-sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 15px;
  background: var(--cinnabar);
  border-radius: 2px;
}
/* 首页「研究生专业设置」这一处：去掉竖线（上边距/左内边距已在 main.htm 内联覆盖） */
#grad-sub::before { display: none; }

/* 侧栏/半列内部小节标题与公共服务内盒 */
td.sidecol, td.halfcol .biaoti { border-bottom: 1px solid var(--line); }
/* 「专业设置」标题现在是独立 div（flex 首行），竖线保持垂直居中；
   仅公共服务标题等仍嵌在多窗口单元格中的场景保留偏移 */
td.halfcol td[height="26"] > div.biaoti::before { top: 50%; }
td.sidecol, td.halfcol .svc-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 4px 12px;
  margin-top: 30px;
}

/* 公共服务链接两行三列：网格布局，表格层级用 display:contents 透传 */
td.sidecol, td.halfcol .svc-box {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  column-gap: 10px;
  row-gap: 2px;
  align-content: start;   /* 关键：防止行高被拉伸铺满整个容器高度 */
  vertical-align: top;
}
/* 公共服务嵌套层级（td>div.nav-item>div>a）全部透传，只让最内层 a 链接成为网格项 */
td.sidecol, td.halfcol .svc-box table,
td.sidecol, td.halfcol .svc-box tbody,
td.sidecol, td.halfcol .svc-box tr,
td.sidecol, td.halfcol .svc-box td,
td.sidecol, td.halfcol .svc-box div,
td.sidecol, td.halfcol .svc-box p,
td.sidecol, td.halfcol .svc-box ul,
td.sidecol, td.halfcol .svc-box li {
  display: contents !important;
}
td.sidecol, td.halfcol .svc-box a {
  display: block !important;
  width: auto !important;
  padding: 4px 0;
  text-align: center !important;
  box-sizing: border-box;
  break-inside: avoid;
}

/* 删除“下载中心”“文件管理”父栏目展开出的子栏目 ul 列表 */
td.sidecol, td.halfcol .svc-box li > ul,
td.sidecol, td.halfcol .svc-box ul ul,
td.sidecol, td.halfcol .svc-box td > ul { display: none !important; }

/* 隐藏导航频道的鼠标悬停下拉列表（仅隐藏下拉子菜单，不影响主导航） */
ul.sub-nav,
ul.sub-nav li,
#nav ul.sub-nav,
#nav ul.sub-nav li,
#nav .wlink td ul,
#nav .wlink td ol,
#nav .wlink td li > ul,
#nav .wlink td li > ol,
/* 侧栏/半列栏目上的悬停弹出子列表（内联绝对定位的 ul） */
td.sidecol, td.halfcol ul[style*="top"],
td.sidecol, td.halfcol ul[style*="absolute"],
td.sidecol, td.halfcol ul.sub-nav { display: none !important; }

/* 专业设置两个子栏目标题加粗 */
td.sidecol, td.halfcol span[frag="窗口204"],
td.sidecol, td.halfcol span[frag="窗口204"] span,
td.sidecol, td.halfcol span[frag="窗口207"],
td.sidecol, td.halfcol span[frag="窗口207"] span { font-weight: 700; }

/* 专业设置/公共服务下的栏目条目：去掉虚线与背景 */
td.sidecol, td.halfcol ul, td.sidecol, td.halfcol ol { list-style: none; margin: 0; padding: 0; }
td.sidecol, td.halfcol li {
  list-style: none;
  border-bottom: 0 !important;
  background: none !important;
  background-image: none !important;
  padding: 2px 0;
}

/* 专业设置内的「本科生/研究生专业设置」左右并列两列 */
/* 父单元格转为 flex 容器：标题占满一行，两个子 table 各占 50% 铺满 */
td.halfcol td[height="26"] {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  align-items: flex-start;
}
/* 标题「专业设置」独占一行 */
td.halfcol td[height="26"] > div.biaoti {
  width: 100% !important;
  flex: 0 0 100% !important;
}
/* 两个并列 table 各占一半 */
td.halfcol td[height="26"] > table[align] {
  float: none !important;
  display: block !important;
  flex: 0 0 50% !important;
  width: 50% !important;
  box-sizing: border-box;
  align-self: flex-start;
}
td.halfcol td[height="26"] > table[align="right"] { padding-left: 14px; }
/* 清除浮动占位 div 不参与 flex 换行占位 */
td.halfcol td[height="26"] > div[style*="clear"] { display: none !important; }
/* major-col 内部的层级扁平化，让窗口内容正常竖排 */
td.halfcol td.major-col { width: 100% !important; }
td.halfcol td.major-col table { display: block !important; width: 100% !important; }
td.halfcol td.major-col tr { display: block !important; }
td.halfcol td.major-col td { display: block !important; width: auto !important; text-align: left !important; padding: 3px 0; }

/* 友情链接（CMS links 窗口输出）：select 下拉，墨绿主题 */
td.halfcol div[frag="窗口206"] { padding: 6px 0 2px; }
td.halfcol div[frag="窗口206"] select {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  cursor: pointer;
}
td.halfcol div[frag="窗口206"] select:hover { border-color: var(--teal); }
td.halfcol div[frag="窗口206"] select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,93,80,.12); }

/* ---------- 头部品牌区（渐变来自 body 顶部背景带，自身透明） ---------- */
#head {
  width: 100%;
  min-height: 140px;
  background: transparent;
  color: var(--white);
}

#head table, #head td { border: 0; }

.sitelogo {
  float: left;
  width: auto;
  height: auto;
  padding: 24px 0 24px 32px;
}

.sitelogo img { max-height: 88px; width: auto; display: block; }

.site {
  float: left;
  width: auto;
  height: auto;
  padding: 28px 0 0 20px;
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.3;
}

#head .site { line-height: 1.3; }

/* ---------- 导航区 ---------- */
#nav,
#infotit {
  width: 100%;
  background: #2F5D50;   /* 墨绿纯色（不做渐变） */
  border-bottom: 3px solid var(--cinnabar);
}

/* 第二个 table：搜索 + 日期工具条，浅灰上下渐变背景 */
#nav > table:nth-child(2),
#infotit > table:nth-child(2) {
  background: linear-gradient(to bottom, #EDF3EF 0%, #D8E5DC 100%);
}

/* 主频道导航（保留原表格结构，去掉图片切片） */
#nav .wlink table,
#infotit .wlink table { margin: 0; width: 100%; }
/* 让 12 个频道两端对齐：把表格行转为 flex 容器，频道项均分 */
#nav .wlink tr,
#infotit .wlink tr { display: flex; justify-content: space-between; align-items: center; }
/* CMS 实际输出的导航表格（table.wp_nav）：两端对齐、单元格居中 */
#nav table.wp_nav,
#infotit table.wp_nav { width: 100%; }
/* 导航栏目整体居中 */
#nav table.wp_nav tbody,
#nav table.wp_nav tr,
#infotit table.wp_nav tbody,
#infotit table.wp_nav tr { display: flex; justify-content: center; align-items: center; }
#nav table.wp_nav td,
#infotit table.wp_nav td { text-align: center; white-space: nowrap; }
#nav .wlink td,
#infotit .wlink td {
  flex: 1 1 0;
  text-align: center;
  height: 46px;
  line-height: 46px;
  padding: 0;
  cursor: pointer;
  color: var(--white);
  font-weight: 600;
  font-size: 19px;
  white-space: nowrap;
}
#nav .wlink td table,
#infotit .wlink td table { width: auto; }
#nav .wlink td table tr,
#infotit .wlink td table tr { display: table-row; }

#nav .wlink a,
#infotit .wlink a { color: var(--white); font-weight: 600; font-size: 19px; }

#nav .wlink td:hover,
#nav .wlink td.hover,
#infotit .wlink td:hover,
#infotit .wlink td.hover { background: var(--cinnabar); }
/* 鼠标移上导航项时，a 标签文字变色（深墨绿，在浅绿背景上对比清晰） */
#nav .wlink td:hover a,
#nav .wlink td.hover a,
#nav .wlink a:hover,
#infotit .wlink td:hover a,
#infotit .wlink td.hover a,
#infotit .wlink a:hover { color: var(--teal-deep); }

/* CMS 输出的 wp_nav 导航文字（深底白字） */
#nav table.wp_nav a,
#infotit table.wp_nav a { color: var(--white); }

/* 导航下方工具条（搜索 + 日期）：浅灰背景上，日期用深色文字 */
#nav .bt2,
#infotit .bt2 { color: var(--ink-2); font-size: 13px; }

/* 搜索区：按钮嵌入搜索框内（胶囊通栏 + 右侧放大镜/按钮）
   #nav = 首页/列表页导航容器；#infotit = 内容页导航容器（displayinfo.htm） */
#nav div[frag="窗口99"],
#infotit div[frag="窗口99"] {
  position: relative;
  display: block;
  max-width: 340px;
  margin: 0 auto;
}
#nav div[frag="窗口99"] table,
#infotit div[frag="窗口99"] table { width: 100%; }
#nav div[frag="窗口99"] td,
#infotit div[frag="窗口99"] td { padding: 0; border: 0; }
#nav input[type="text"],
#nav .SearchTitleInput,
#infotit input[type="text"],
#infotit .SearchTitleInput {
  width: 100% !important;
  height: 38px;
  padding: 0 46px 0 18px;
  border: 1px solid var(--line);
  border-radius: 19px;
  font-size: 13px;
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 1px 2px rgba(31,42,54,.04);
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
}
#nav input[type="text"]:focus,
#nav .SearchTitleInput:focus,
#infotit input[type="text"]:focus,
#infotit .SearchTitleInput:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20,85,107,.12);
}
#nav input[type="text"]::placeholder,
#infotit input[type="text"]::placeholder { color: #9FB5AA; }

/* 搜索按钮：置于框内右侧（图片按钮=放大镜；文字按钮=黛青圆片） */
#nav div[frag="窗口99"] input[type="image"],
#infotit div[frag="窗口99"] input[type="image"] {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  border: 0; background: none;
  cursor: pointer;
}
/* 搜索按钮：框内右侧，纯放大镜图标（去色块） */
#nav div[frag="窗口99"] input[type="submit"],
#nav div[frag="窗口99"] input[type="button"],
#nav div[frag="窗口99"] button,
#nav div[frag="窗口99"] input[type="image"],
#infotit div[frag="窗口99"] input[type="submit"],
#infotit div[frag="窗口99"] input[type="button"],
#infotit div[frag="窗口99"] button,
#infotit div[frag="窗口99"] input[type="image"] {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  min-width: 0;
  padding: 0;
  border: 0; border-radius: 50%;
  background-color: transparent;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F5D50' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cline x1='15.5' y1='15.5' x2='21' y2='21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  color: transparent;
  font-size: 0;
  text-indent: -9999px;
  cursor: pointer;
  transition: opacity .2s;
}
#nav div[frag="窗口99"] input[type="submit"]:hover,
#nav div[frag="窗口99"] input[type="button"]:hover,
#nav div[frag="窗口99"] button:hover,
#nav div[frag="窗口99"] input[type="image"]:hover,
#infotit div[frag="窗口99"] input[type="submit"]:hover,
#infotit div[frag="窗口99"] input[type="button"]:hover,
#infotit div[frag="窗口99"] button:hover,
#infotit div[frag="窗口99"] input[type="image"]:hover { opacity: .6; }

/* ---------- 通用标题栏（替代 main1.gif 色块） ---------- */
.biaoti, .biaotin {
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--teal);
  padding: 14px 18px 12px 31px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

/* 竖线用绝对定位，避免 CMS 输出的 display:block 标题把竖线挤到单独一行 */
.biaoti::before, .biaotin::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 17px;
  background: var(--cinnabar);
  border-radius: 2px;
}

/* 列表页左栏栏目标题 */
.bs {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  padding: 14px 0;
}

.bys {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
}

/* ---------- 内容页文章标题 ---------- */
.biaoti3 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  padding: 16px 20px 4px;
}

.biaoti8 {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  padding: 0 20px;
}

/* ---------- 正文 ---------- */
.content { font-size: 15px; line-height: 1.9; }

/* ---------- 内容页正文区（displayinfo）：白色卡片 ---------- */
#infotit + #container_content table.article-wrap,
table.article-wrap {
  background: var(--white) !important;
  background-image: none !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  margin: 0 0 14px;
}
/* 保险：清除原模板蓝色切片背景（CMS 输出可能还原 main3_*.gif） */
table.article-wrap td {
  background-color: transparent !important;
  background-image: none !important;
}
table.article-wrap .content,
table.article-wrap .Article_Content,
table.article-wrap .wp_articlecontent { color: var(--ink); text-align: left; }
#infocontent div { font-size: 15px; line-height: 1.9; }

.list_content { color: #2E3B34; font-size: 13px; line-height: 22px; overflow: hidden; }
.list_content p { padding-bottom: 8px; }
.list_content img { max-width: 100%; height: auto; }
.list_content td { text-indent: 0; }

/* ---------- 列表页左侧栏/半列 ---------- */
#listleft {
  float: left;
  width: 25%;
  background-color: var(--paper);
  border-radius: var(--radius);
}

#listright {
  float: right;
  width: 73%;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

#position { padding: 6px; }
.listtitfont { font-size: 15px; font-weight: normal; }
#listtit { font-size: 15px; font-weight: normal; padding: 18px 5px 12px 15px; }

#newslist { padding: 12px 18px; width: 100%; font-size: 15px; }
#newslist div { font-size: 15px; line-height: 1.9; }
#newslist img { background-color: #FFF; border: 2px solid #FFF; }
/* 列表页文章行：加大字体 + 纵向间距（仅作用于标题单元格，用行高撑开，避免撑爆固定行高导致溢出） */
.newslist table td a { font-size: 15px; line-height: 2; display: inline-block; padding: 6px 0; }

/* ---------- 页脚 ---------- */
#foot {
  clear: both;
  width: 100%;
  background: var(--ink);
  color: #C6D8CD;
  padding: 26px 32px;
  font-size: 13px;
  line-height: 1.9;
}

#foot table { width: 100%; border: 0; }
#foot td { border: 0; color: #C6D8CD; }

/* 页脚整体居中：把表格行扁平化为块级，让文字在整页宽度上居中 */
#foot td {
  display: block !important;
  width: auto !important;
  text-align: center !important;
}
#foot .foothang, #foot p { text-align: center !important; }
#foot p { margin: 0.35em 0; }

.foothang { color: #C6D8CD; line-height: 1.9; }

#foot a { color: #C6D8CD; }
#foot a:hover { color: var(--white); }

/* ---------- 宽幅轮播图（导航下方通栏） ---------- */
#hero-banner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: 500px;
  overflow: hidden;
  position: relative;
  background: var(--teal-deep);
}
#hero-banner .hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
#hero-banner .hero-slide {
  position: absolute;
  inset: 0;
  display: none;
}
#hero-banner .hero-slide.active { display: block; }
#hero-banner .hero-slide a {
  display: block;
  width: 100%;
  height: 100%;
}
#hero-banner .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 底部半透明标题栏（已弃用，保留以防引用） */
#hero-banner .hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 24px;
  background: linear-gradient(transparent, rgba(20,45,36,.72));
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 左右切换箭头 */
#hero-banner .hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  line-height: 44px;
  text-align: center;
  font-size: 22px;
  color: #fff;
  background: rgba(0, 46, 115, .45);
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
  z-index: 10;
}
#hero-banner .hero-arrow:hover {
  background: var(--cinnabar);
  color: #fff;
}
#hero-banner .hero-prev { left: 18px; }
#hero-banner .hero-next { right: 18px; }

/* ---------- 响应式：宽屏 + 移动端 ---------- */
@media (max-width: 1024px) {
  .site { font-size: 26px; padding-top: 34px; }
  .sitelogo { padding-left: 20px; }
}

@media (max-width: 768px) {
  .sitelogo { float: none; padding: 20px 20px 6px; }
  .sitelogo img { max-height: 60px; margin: 0 auto; }
  .site { float: none; padding: 0 20px 18px; font-size: 22px; text-align: center; letter-spacing: 1px; }

  #listleft, #listright { float: none; width: 100%; }

  #nav, #infotit { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #nav .wlink td, #infotit .wlink td { padding: 0 14px; font-size: 14px; white-space: nowrap; }

  #hero-banner { height: 240px; }

  /* 首页下方两列在移动端堆叠为单列 */
  td.halfcol { display: block !important; width: 100% !important; }
  td[width="20"] { display: none !important; }
  /* 专业设置内的本科生/研究生两列在移动端也堆叠 */
  td.halfcol td[height="26"] > table[align] { flex: 0 0 100% !important; width: 100% !important; padding: 0; }

  #foot { padding: 22px 20px; }
  .biaoti3 { font-size: 20px; }
}

/* ---------- 尊重系统减弱动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
