/* =====================================================================
   广西大学继续教育学院 改版模板 - 样式表
   适用平台：博达站群系统（Boda Site Group）
   设计规范：深蓝主色 #002b5c / #004080，强调金 #ffd700，浅灰底 #f3f5f7
   说明：本文件为静态前端样式；博达组件（导航/标题列表/版权等）
        在模板编辑器中以组件方式嵌入，样式继承本文件即可。
   ===================================================================== */

/* ===== 基础重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, "宋体", sans-serif;
  background: #f3f5f7;
  color: #333;
  line-height: 1.6;
  font-size: 14px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.clearfix::after { content: ""; display: block; clear: both; }

/* ===== 容器（桌面 1366px，兼容博达常见版心） ===== */
.container { width: 1366px; margin: 0 auto; }

/* ===== 顶部工具条 ===== */
.top-bar {
  background: #1a1a2e;
  color: #ccc;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid #333;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar .left span { margin-right: 20px; white-space: nowrap; }
.top-bar .right a { margin-left: 18px; color: #ccc; transition: color .2s; white-space: nowrap; }
.top-bar .right a:hover { color: #ffd700; }

/* ===== 头部 LOGO 区 ===== */
.header {
  background: linear-gradient(135deg, #002b5c 0%, #004080 60%, #0059b3 100%);
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}
.header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.header .container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
.header .logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header .logo-icon {
  width: 70px; height: 70px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  flex-shrink: 0;
  overflow: hidden;
}
.header .logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.header .title h1 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.header .title p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  letter-spacing: 1px;
  margin-top: 2px;
}
.header .search-box {
  margin-left: auto;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border-radius: 25px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,0.3);
}
.header .search-box input {
  background: transparent;
  border: none;
  color: #fff;
  padding: 8px 16px;
  width: 260px;
  font-size: 14px;
  outline: none;
}
.header .search-box input::placeholder { color: rgba(255,255,255,0.6); }
.header .search-box button {
  background: #ffd700;
  border: none;
  color: #004080;
  padding: 8px 22px;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.header .search-box button:hover { background: #ffed4a; }

/* ===== 主导航 ===== */
.main-nav {
  background: #002b5c;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.main-nav .container { display: block; }
/* 移动端汉堡按钮（默认隐藏，≤768px 显示） */
.nav-toggle { display: none; }
.nav-menu { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  color: #fff;
  font-size: 15px;
  padding: 15px 22px;
  display: block;
  position: relative;
  transition: all .3s;
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #ffd700;
  transition: width .3s;
}
.nav-menu > li:hover > a,
.nav-menu > li > a.active { background: rgba(255,255,255,0.08); }
.nav-menu > li:hover > a::after,
.nav-menu > li > a.active::after { width: 70%; }

/* ===== 二级下拉导航（悬停显示） ===== */
.nav-menu > li.has-sub > a { padding-right: 34px; }
.nav-menu > li.has-sub > a::before {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 6px; height: 6px;
  border-right: 2px solid #ffd700;
  border-bottom: 2px solid #ffd700;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s;
}
.nav-menu > li.has-sub:hover > a::before { transform: translateY(-30%) rotate(225deg); }

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border-top: 3px solid #ffd700;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.nav-menu > li.has-sub:hover > .sub-menu,
.nav-menu > li.has-sub:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu > li > a {
  display: block;
  padding: 10px 22px;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
  border-left: 3px solid transparent;
  transition: all .2s;
}
.sub-menu > li > a:hover {
  background: #f3f5f7;
  color: #004080;
  border-left-color: #ffd700;
  padding-left: 28px;
}

/* ===== Banner 轮播区 ===== */
.banner {
  position: relative;
  height: 660px;
  overflow: hidden;
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
   display: none; 
}
/* .banner-slide.active { opacity: 1; } */
.banner-slide.active {  display: flex; opacity: 1; }
.banner-slide:nth-child(1) { background: linear-gradient(135deg, #1a3a5c 0%, #2d6fa8 50%, #5b9bd5 100%); }
.banner-slide:nth-child(2) { background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 50%, #c3e0e5 100%); }
.banner-slide:nth-child(3) { background: linear-gradient(135deg, #3c1053 0%, #ad5389 50%, #f3c6e2 100%); }
.banner-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 40px;
}
.banner-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 3px 8px rgba(0,0,0,0.3);
  letter-spacing: 2px;
}
.banner-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.8;
}
.banner-content .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.banner-content .btn {
  padding: 12px 32px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all .3s;
  cursor: pointer;
  display: inline-block;
}
.btn-primary { background: #ffd700; color: #004080; }
.btn-primary:hover { background: #ffed4a; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,215,0,0.4); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.banner-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.banner-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.8);
  cursor: pointer;
  transition: all .3s;
}
.banner-dot.active { background: #ffd700; border-color: #ffd700; }

/* ===== 核心入口区 ===== */
.quick-entries {
  background: #fff;
  padding: 40px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.quick-entries .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.entry-card {
  text-align: center;
  padding: 28px 12px;
  border-radius: 12px;
  background: #fafbfc;
  transition: all .3s;
  border: 1px solid #eee;
  cursor: pointer;
}
.entry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: #004080;
}
.entry-card .icon {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
}
.entry-card:nth-child(1) .icon { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.entry-card:nth-child(2) .icon { background: linear-gradient(135deg, #2e86de, #1e5fa8); }
.entry-card:nth-child(3) .icon { background: linear-gradient(135deg, #10ac84, #0a7c60); }
.entry-card:nth-child(4) .icon { background: linear-gradient(135deg, #8854d0, #5e3a99); }
.entry-card:nth-child(5) .icon { background: linear-gradient(135deg, #f39c12, #d68910); }
.entry-card:nth-child(6) .icon { background: linear-gradient(135deg, #e056a0, #b4407a); }
.entry-card .name { font-size: 16px; font-weight: 600; color: #222; }
.entry-card .desc { font-size: 12px; color: #999; margin-top: 4px; }

/* ===== 主体内容区 ===== */
.main-content { padding: 40px 0; }
.main-content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.main-content .full-row { display: block; }

.section-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid #f0f0f0;
}
.section-header h3 {
  font-size: 18px;
  color: #002b5c;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-header h3::before {
  content: '';
  width: 4px; height: 20px;
  background: #ffd700;
  border-radius: 2px;
}
.section-header .more { font-size: 13px; color: #999; transition: color .2s; }
.section-header .more:hover { color: #004080; }
.section-body { padding: 16px 24px; }

/* 新闻标题列表 */
.news-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  transition: color .2s;
  cursor: pointer;
}
.news-list li:last-child { border-bottom: none; }
.news-list li:hover { color: #004080; }
.news-list li .title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 16px;
}
.news-list li .date { font-size: 12px; color: #aaa; flex-shrink: 0; }

/* 新闻带图列表 */
.news-img-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: background .2s;
}
.news-img-list li:last-child { border-bottom: none; }
.news-img-list li:hover .info h4 { color: #004080; }
.news-img-list .thumb {
  width: 140px; height: 90px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: cover;
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.news-img-list .info h4 {
  font-size: 15px;
  margin-bottom: 6px;
  transition: color .2s;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-img-list .info p {
  font-size: 13px;
  color: #888;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-img-list .info .meta { font-size: 12px; color: #bbb; margin-top: 6px; }

/* 数据看板 */
.stats-section {
  background: linear-gradient(135deg, #002b5c, #004080);
  color: #fff;
  padding: 50px 0;
  margin: 40px 0;
}
.stats-section .container { text-align: center; }
.stats-section h3 {
  font-size: 26px;
  letter-spacing: 2px;
  margin-bottom: 36px;
  position: relative;
  display: inline-block;
}
.stats-section h3::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: #ffd700;
  margin: 12px auto 0;
  border-radius: 2px;
}
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; }
.stat-item {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .3s, background .3s;
}
.stat-item:hover { transform: translateY(-4px); background: rgba(255,255,255,0.14); }
.stat-item .num {
  font-size: 42px;
  font-weight: 700;
  color: #ffd700;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .label { font-size: 14px; opacity: 0.85; }

/* 推荐/培训项目卡片 */
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.project-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all .3s;
  cursor: pointer;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.project-card .img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
}
.project-card:nth-child(1) .img { background: linear-gradient(135deg, #e74c3c, #ff6b6b); }
.project-card:nth-child(2) .img { background: linear-gradient(135deg, #2e86de, #54a0ff); }
.project-card:nth-child(3) .img { background: linear-gradient(135deg, #10ac84, #1dd1a1); }
.project-card:nth-child(4) .img { background: linear-gradient(135deg, #8854d0, #a29bfe); }
.project-card .info { padding: 16px 20px; }
.project-card .info h4 { font-size: 16px; color: #222; margin-bottom: 6px; }
.project-card .info p {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 校园风光 */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item {
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { color: #fff; font-size: 14px; font-weight: 500; }
.gallery-item:nth-child(1) { background: linear-gradient(135deg, #3498db, #2980b9); }
.gallery-item:nth-child(2) { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.gallery-item:nth-child(3) { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.gallery-item:nth-child(4) { background: linear-gradient(135deg, #9b59b6, #8e44ad); }

/* ===== 底部 ===== */
.footer { background: #1a1a2e; color: #bbb; padding: 50px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: #ffd700;
}
.footer .contact-info p { font-size: 13px; line-height: 2; }
.footer a { color: #bbb; font-size: 13px; display: block; padding: 3px 0; transition: color .2s; }
.footer a:hover { color: #ffd700; }
.footer .qr-area { display: flex; gap: 14px; }
.footer .qr-code {
  width: 90px; height: 90px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #666;
  text-align: center;
  line-height: 1.5;
}
.footer .copyright { text-align: center; font-size: 13px; color: #777; line-height: 1.8; }

/* ===== 返回顶部（滚动后显示，subtle） ===== */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 43, 92, 0.5);
  color: #fff;
  font-size: 17px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .3s ease;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.back-top:hover { background: rgba(0, 43, 92, 0.85); }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width: 768px) {
  .back-top { right: 14px; bottom: 16px; width: 34px; height: 34px; line-height: 34px; font-size: 16px; }
}

/* ===== 当前位置（面包屑） ===== */
.crumb {
  padding: 14px 0;
  font-size: 13px;
  color: #888;
}
.crumb a { color: #004080; }
.crumb span.sep { margin: 0 8px; color: #bbb; }

/* ===== 列表页正文容器 ===== */
.page-wrap { padding: 30px 0 50px; }
.col-title {
  font-size: 24px;
  color: #002b5c;
  font-weight: 700;
  padding: 10px 0 18px;
  border-bottom: 2px solid #ffd700;
  margin-bottom: 20px;
}

/* ===== 内容页文章 ===== */
.article {
  background: #fff;
  border-radius: 10px;
  padding: 36px 48px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.article h1 {
  font-size: 26px;
  color: #1a1a2e;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 16px;
}
.article .article-meta {
  text-align: center;
  color: #999;
  font-size: 13px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #eee;
  margin-bottom: 24px;
}
.article .article-meta span { margin: 0 10px; }
.article .article-body { font-size: 16px; line-height: 2; color: #444; }
.article .article-body p { margin-bottom: 18px; text-indent: 2em; }
.article .article-body img { max-width: 100%; margin: 16px auto; border-radius: 6px; }

/* ===== 博达组件占位提示（预览时可见，正式发布前由组件替换） ===== */
.boda-slot {
  position: relative;
}
.boda-hint {
  display: none;
}
/* 仅当 body 带 preview-boda 类时显示占位提示，方便对照效果图检查组件位置 */
body.preview-boda .boda-hint {
  display: inline-block;
  position: absolute;
  top: 4px; right: 4px;
  background: #ff6b6b;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 1000;
  pointer-events: none;
}

/* ===== 响应式（博达站群多端访问常见需求） ===== */
@media (max-width: 1400px) {
  .container { width: 100%; padding: 0 16px; }
  .header .search-box input { width: 180px; }
}
@media (max-width: 992px) {
  .main-content .container { grid-template-columns: 1fr; }
  .quick-entries .container { grid-template-columns: repeat(3, 1fr); }
  .project-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header .title h1 { font-size: 22px; }
  .banner-content h2 { font-size: 32px; }
}
@media (max-width: 768px) {
  /* 顶部条：仅保留电话，其余链接收起 */
  .top-bar .left { display: none; }
  .top-bar .right { justify-content: center; gap: 10px; font-size: 12px; }
  .top-bar .right a:not([href^="tel"]) { display: none; }

  /* 头部：搜索框隐藏，标题缩小 */
  .header .search-box { display: none; }
  .header .title h1 { font-size: 19px; }
  .header .title p { font-size: 11px; }
  .logo-icon { width: 56px; height: 56px; }

  /* 导航：汉堡按钮 + 折叠菜单 */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
  }
  .main-nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .main-nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .main-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav .container { display: flex; align-items: center; padding: 0 12px; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: #002b5c;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
  }
  .main-nav.open .nav-menu { max-height: 80vh; overflow-y: auto; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { padding: 14px 16px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-menu > li > a::after { display: none; }
  .nav-menu > li.has-sub > a::before { right: 18px; transform: translateY(-70%) rotate(45deg); }
  .nav-menu > li.has-sub.sub-open > a::before { transform: translateY(-30%) rotate(225deg); }
  .sub-menu {
    position: static;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height .3s ease;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid #ffd700;
    border-radius: 0;
    min-width: 0;
    background: #003a73;
    padding: 0;
  }
  .nav-menu > li.has-sub.sub-open > .sub-menu { max-height: 800px; }
  .sub-menu > li > a { color: #d6e4f5; padding: 11px 16px 11px 36px; }
  .sub-menu > li > a:hover { background: rgba(255,255,255,.08); color: #fff; }

  /* Banner / 区块 */
  .banner { height: 300px; }
  .banner-content h2 { font-size: 22px; }
  .banner-content p { font-size: 14px; }
  .quick-entries .container { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .gallery-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .news-img-list .thumb { width: 100px; height: 68px; }
  .article { padding: 24px 16px; }
}

/* ===== 小屏手机（≤480px） ===== */
@media (max-width: 480px) {
  .header .title h1 { font-size: 17px; }
  .header .title p { display: none; }
  .logo-icon { width: 48px; height: 48px; }
  .banner { height: 200px; }
  .banner-content h2 { font-size: 18px; }
  .banner-content p { font-size: 13px; }
  .quick-entries .container { grid-template-columns: 1fr; }
  .footer-grid { gap: 18px; }
}

 .m2atcContent {
          display: flex;
          flex-direction: row;
        }
        .m2atcMenu {
          width: 200px;
          background-color: #002b5c;
          padding-top: 20px;
          padding-bottom: 20px;
        }
        .m2atcBody {
          width: calc(100% - 200px);
        }

        .vertical-list {
          list-style: none; /* 去掉默认小黑点 */
          padding: 0;
          margin: 0;
        }

        .vertical-list li {
          padding: 12px 16px;
          /* border-bottom: 1px solid #eee;  分割线 */
          font-size: 16px;
          transition: background 0.2s;
          text-align: center;
          color: #fff;
        }

        .vertical-list li:hover {
          background-color: #f3f5f7;
          color: #000;
          border-left: 3px solid #ffd700;
          border-bottom: 1px solid #eee;
        }

        .vertical-list .active {
          background-color: #f3f5f7;
          color: #000;
          border-left: 3px solid #ffd700;
          border-bottom: 1px solid #eee;
        }

        .vertical-list li a {
          display: block;
        }

.m2atcRconcontent .ul-item {
              display: flex;
              flex-direction: row;
              flex-wrap: wrap;
              justify-content: space-between;
            }
            .m2atcRconcontent .li-item {
              /* padding: 15px 0;
              width: 31%; */

              padding: 15px 0;
              width: 45%;
            }
            .m2atcRconcontent .item {
              display: flex;
              flex-direction: row;
              overflow: hidden;
              /*height: 15.73vw*/
            }

            .m2atcRconcontent samp {
              display: flex;
            }

            .m2atcRconcontent samp img {
              /* width: 250px;
              height: 300px; */
              transition: all 1s linear;
              object-fit: cover;

              width: 200px;
              height: 230px;
            }

            .m2atcRconcontent h4 {
              display: flex;
              flex: 1;
              overflow: hidden;
              padding: 0 15px;
              box-sizing: border-box;
              font-size: 16px;
              color: #333;
              /* margin-top: 26px; */
              transition: all 0.5s ease;
              line-height: 28px;
              /* height: 250px; */
              display: -webkit-box;
              -webkit-box-orient: vertical;
              text-overflow: ellipsis;
              /*white-space: nowrap;*/
              /* -webkit-line-clamp: 9; */
              font-weight: normal;
              margin-top: 10px;
              height: 200px;
              -webkit-line-clamp: 7;
            }