@charset "utf-8";

/* 招生专业：强制一行 7 个横排，覆盖站点旧样式 */
.major .major__list {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	list-style: none !important;
	overflow: hidden;
}

/* CMS 输出 li 结构 */
.major .major__list > li {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	max-width: calc(100% / 7);
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	float: none !important;
	width: auto !important;
}

/* CMS 输出 table 包裹 */
.major .major__list table {
	display: block !important;
	width: 100% !important;
	border: 0 !important;
	border-collapse: collapse !important;
	margin: 0 !important;
}

.major .major__list tbody {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-start;
	gap: 10px;
	width: 100% !important;
}

/* CMS 输出 tr/td：每个 tr 一项，横排 */
.major .major__list tr {
	display: block !important;
	flex: 1 1 0 !important;
	min-width: 0 !important;
	max-width: calc(100% / 7);
	float: none !important;
	width: auto !important;
}

.major .major__list > tr {
	display: block !important;
	flex: 1 1 0 !important;
	min-width: 0 !important;
	max-width: calc(100% / 7);
}

.major .major__list td {
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
	height: auto !important;
	width: 100% !important;
	border: 0 !important;
	vertical-align: top !important;
}

.major .major__list a {
	display: block !important;
	min-width: 0;
	text-decoration: none;
}

.major .major__list .news-feature__img {
	position: relative;
	width: 100% !important;
	min-width: 0;
	height: auto !important;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f0f3f8;
	border-radius: 4px;
}

.major .major__list img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	border: 0 !important;
	object-fit: cover;
	object-position: center;
}

.major .major__list a:hover img {
	transform: scale(1.03);
	transition: transform 0.25s ease;
}

@media (max-width: 768px) {
	.major .major__list,
	.major .major__list tbody {
		gap: 6px;
	}
}


/* =========================
   全局基础
========================= */
html, body {
  margin: 0;
  padding: 0;
  background: #f5f6f8;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* =========================
   内容区整体
========================= */
#content_bg {
  padding: 20px;
}

/* =========================
   左右布局核心（关键）
========================= */
.content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* =========================
   左侧菜单（order）
   ✔ 只在内容区内
   ✔ 高度600px
========================= */
.order {
  width: 220px;
  height: 630px;

  background: linear-gradient(180deg, #ff8a00 0%, #ff5a00 100%);
  border-radius: 10px;

  overflow-y: auto;
  flex-shrink: 0;

  padding-top: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* logo */
.order img {
  display: block;
  margin: 0 auto 10px;
  width: 140px;
}

/* =========================
   菜单列表
========================= */
.order ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.order ul li {
  width: 100%;
}

.order ul li a {
  display: block;
  padding: 12px 14px;

  color: #fff;
  text-decoration: none;
  font-size: 14px;

  transition: 0.25s;
}

/* hover效果 */
.order ul li a:hover {
  background: rgba(255,255,255,0.18);
  padding-left: 20px;
}

/* =========================
   右侧内容区域
========================= */
.news {
  flex: 1;

  background: #fff;
  border-radius: 10px;

  padding: 20px;
  min-height: 630px;

  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* =========================
   当前位置
========================= */
.now_add {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

/* =========================
   标题
========================= */
.news h2 {
  font-size: 20px;
  margin: 10px 0;
  color: #111;
  line-height: 1.4;
}

/* =========================
   文章信息
========================= */
.news .info {
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
}

/* =========================
   正文
========================= */
.news .text {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* =========================
   列表页
========================= */
.news .list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news .list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.news .list li a {
  color: #333;
  text-decoration: none;
}

.news .list li a:hover {
  color: #ff5a00;
}

/* =========================
   清除浮动（废弃）
========================= */
.clearfloat {
  display: none;
}

/* =========================
   响应式（可选）
========================= */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
  }

  .order {
    width: 100%;
    height: auto;
  }

  .news {
    min-height: auto;
  }
}

/* =========================
   footer（适配右侧）
========================= */
.bottom-bar {
  margin-left: 0px;
  width: calc(100% - 0px);

  padding: 16px 12px;

  background: linear-gradient(180deg, #0b0f14 0%, #000000 100%);
  color: rgba(255,255,255,0.55);

  text-align: center;
  font-size: 12px;

  border-top: 1px solid rgba(255,255,255,0.08);
}

/* 分割线 */
.bottom-bar .divider {
  margin: 0 8px;
  opacity: 0.3;
}

/* 访客数 */
.bottom-bar .visitor {
  color: #fff;
  font-weight: 500;
}

/* 顶部发光线 */
.bottom-bar::before {
  content: "";
  position: absolute;
  left: 0%;
  top: 0;

  width: 100%;
  height: 1px;
  transform: translateX(-50%);

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.2),
    transparent
  );
}
