* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; background: #f5f5f5; color: #333; font-size: 14px; }
a { text-decoration: none; color: #333; }
a:hover { color: #e74c3c; }

/* 顶部条 */
.top-bar { background: #fff; border-bottom: 2px solid #2b6cb0; }
.top-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-link { display: block; line-height: 0; flex-shrink: 0; }
.logo-link img { width: 100px; height: 40px; display: block; }
.logo-link:hover { opacity: .9; }
.logo-text { font-size: 22px; font-weight: bold; color: #2b6cb0; }
.logo-sub { font-size: 12px; color: #999; }
.search-box { display: flex; align-items: center; }
.search-box input { width: 280px; height: 36px; border: 2px solid #2b6cb0; border-right: none; border-radius: 4px 0 0 4px; padding: 0 12px; font-size: 13px; outline: none; }
.search-box button { height: 36px; padding: 0 20px; background: #2b6cb0; color: #fff; border: none; border-radius: 0 4px 4px 0; cursor: pointer; font-size: 14px; }
.hot-words { display: flex; gap: 12px; font-size: 12px; color: #999; margin-right: 20px; }
.hot-words span { cursor: pointer; }
.hot-words span:hover { color: #e74c3c; }

/* 顶栏一行：logo | 学段导航 | 搜索 */
.top-inner{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
  max-width:1200px;
  margin:0 auto;
  padding:10px 20px;
  box-sizing:border-box;
}
.top-bar .logo{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:8px !important;
  flex:0 0 auto !important;
  min-width:max-content !important;
}
.top-bar .logo-link img{
  width:100px !important;
  height:40px !important;
  object-fit:contain !important;
}
.top-bar .logo-text{
  font-size:18px !important;
  line-height:1.3 !important;
  white-space:nowrap !important;
}
.top-bar .top-stage-nav{
  flex:1 1 auto !important;
  min-width:0 !important;
  max-width:100%;
  overflow:hidden;
}
.top-bar .edu-stage-nav{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:4px 6px !important;
  box-shadow:none !important;
  border:1px solid #e5eaf2;
  border-radius:10px;
  box-sizing:border-box !important;
  justify-content:space-between !important;
  gap:0 !important;
}
.top-bar .edu-stage-nav a.edu-stage-tab,
.top-bar .edu-stage-nav .edu-stage-tab{
  flex:1 1 0 !important;
  min-width:0 !important;
  height:32px !important;
  line-height:32px !important;
  padding:0 2px !important;
  font-size:13px !important;
}
.top-bar .top-search-wrap{
  flex:0 0 auto !important;
  margin-left:auto;
}
.top-bar .search-box input{ width:180px; }

/* 导航栏 */
.nav-bar { background: #2b6cb0; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; padding: 0 20px; }
.nav-bar a { color: #fff; padding: 12px 22px; font-size: 15px; display: block; transition: background .2s; }
.nav-bar a:hover, .nav-bar a.active { background: rgba(255,255,255,.15); color: #fff; }
.nav-bar .btn-apply { margin-left: auto; background: #e67e22; color: #fff; padding: 8px 22px; border-radius: 4px; font-size: 14px; font-weight: bold; }
.nav-bar .btn-apply:hover { background: #d35400; }

/* 面包屑 */
.breadcrumb { max-width: 1200px; margin: 16px auto; padding: 0 20px; font-size: 13px; color: #999; }
.breadcrumb a { color: #2b6cb0; }

/* 城市列表 */
.city_list_title {
  max-width: 1160px;
  margin: 24px auto 0;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  background: #2b6cb0;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.city_list_box {
  max-width: 1160px;
  margin: 0 auto 16px;
  padding: 14px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.city_list_title + .city_list_box {
  margin-top: 0;
  border-radius: 0 0 8px 8px;
}
.city_list_item a {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  color: #2b6cb0;
  background: #f0f4f8;
  border-radius: 4px;
  border: 1px solid #e0e8f0;
  transition: all .2s;
  white-space: nowrap;
}
.city_list_item a:hover {
  color: #fff;
  background: #2b6cb0;
  border-color: #2b6cb0;
}

/* 主内容区 */
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px 40px; }

/* Banner区 */
.banner-section { display: flex; gap: 20px; margin-bottom: 24px; }
.banner-left { flex: 1; background: linear-gradient(135deg, #1a4a8a 0%, #2b6cb0 40%, #e67e22 100%); border-radius: 8px; padding: 40px 36px; color: #fff; position: relative; overflow: hidden; min-height: 260px; }
.banner-left h1 { font-size: 32px; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.banner-left .sub { font-size: 16px; opacity: .9; margin-bottom: 20px; }
.banner-left .tag { display: inline-block; background: rgba(255,255,255,.2); padding: 6px 18px; border-radius: 20px; font-size: 14px; margin-right: 10px; }
.banner-left .tag.highlight { background: #e67e22; font-weight: bold; }
.banner-dots { position: absolute; bottom: 16px; right: 24px; display: flex; gap: 6px; }
.banner-dots span { width: 24px; height: 4px; background: rgba(255,255,255,.4); border-radius: 2px; cursor: pointer; }
.banner-dots span.active { background: #fff; width: 32px; }

.banner-right { width: 380px; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.panel-header { background: #2b6cb0; color: #fff; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: bold; }
.panel-header .more { font-size: 12px; font-weight: normal; opacity: .8; color: inherit; text-decoration: none; }
.notice-list { padding: 12px 16px; }
.notice-list li { list-style: none; padding: 8px 0; border-bottom: 1px dashed #eee; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.notice-list li:last-child { border-bottom: none; }
.notice-list li .date { color: #999; font-size: 12px; flex-shrink: 0; margin-left: 10px; }
.notice-list li a { display: block; flex: 1; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 考试日历 */
.exam-calendar { background: #fff; border-radius: 8px; margin-bottom: 24px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.calendar-tabs { display: flex; border-bottom: 2px solid #2b6cb0; }
.calendar-tabs span { padding: 12px 28px; font-size: 15px; cursor: pointer; font-weight: bold; color: #666; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.calendar-tabs span.active { color: #2b6cb0; border-bottom-color: #e67e22; }
.calendar-content { padding: 16px 20px; }
.calendar-pane { display: none; }
.calendar-pane.active { display: block; }
.exam-empty { padding: 30px; text-align: center; color: #999; font-size: 14px; }
.exam-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.exam-table th { background: #f0f4f8; padding: 10px 12px; text-align: left; font-weight: bold; color: #2b6cb0; border: 1px solid #e0e0e0; }
.exam-table td { padding: 10px 12px; border: 1px solid #e0e0e0; }
.exam-table tr:hover td { background: #fafbfc; }
.exam-row-hidden { display: none; }
.exam-more-wrap { text-align: center; padding: 10px 0; }
.exam-more-btn { background: #2b6cb0; color: #fff; border: none; padding: 6px 18px; border-radius: 4px; font-size: 13px; cursor: pointer; }
.exam-more-btn:hover { background: #1a4a8a; }
.label-open { background: #e8f5e9; color: #2e7d32; padding: 2px 8px; border-radius: 3px; font-size: 12px; }
.label-test { background: #fff3e0; color: #e65100; padding: 2px 8px; border-radius: 3px; font-size: 12px; }
.label-result { background: #e3f2fd; color: #1565c0; padding: 2px 8px; border-radius: 3px; font-size: 12px; }

/* 热门院校 - 专业分类核心区 */
.institute-section { background: #fff; border-radius: 8px; margin-bottom: 24px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.section-header { background: #2b6cb0; color: #fff; padding: 12px 20px; font-size: 16px; font-weight: bold; display: flex; align-items: center; gap: 8px; }
.section-header .icon { font-size: 18px; }
.section-header .more { margin-left: auto; font-size: 12px; font-weight: normal; opacity: .8; color: inherit; text-decoration: none; }

/* 院校Tab栏 */
.inst-tabs { display: flex; flex-wrap: wrap; padding: 16px 20px 0; gap: 0; border-bottom: 2px solid #eee; }
.inst-tab { padding: 10px 20px; font-size: 14px; cursor: pointer; color: #666; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all .2s; white-space: nowrap; }
.inst-tab:hover { color: #2b6cb0; }
.inst-tab.active { color: #2b6cb0; font-weight: bold; border-bottom-color: #e67e22; }

.inst-pane { display: none; }
.inst-pane.active { display: block; }

/* 院校详情内容 */
.inst-content { padding: 20px; }
.inst-info { display: flex; gap: 20px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px dashed #eee; }
.inst-logo { width: 100px; height: 100px; background: #f0f4f8; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #2b6cb0; font-weight: bold; text-align: center; flex-shrink: 0; border: 2px solid #e0e0e0; }
.inst-logo img { max-width: 90%; max-height: 90%; object-fit: contain; }
.inst-detail h3 { font-size: 18px; color: #2b6cb0; margin-bottom: 6px; }
.inst-detail .inst-tags { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.inst-detail .inst-tag { background: #f0f4f8; color: #2b6cb0; padding: 2px 10px; border-radius: 3px; font-size: 12px; }
.inst-detail .inst-desc { font-size: 13px; color: #888; line-height: 1.6; }

/* 专业分类网格 */
.major-category { margin-bottom: 20px; }
.major-category:last-child { margin-bottom: 0; }
.cat-title { font-size: 14px; font-weight: bold; color: #333; padding: 8px 0 10px; border-left: 3px solid #e67e22; padding-left: 10px; margin-bottom: 12px; }
.major-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.major-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #fafbfc; border: 1px solid #eee; border-radius: 4px; font-size: 13px; cursor: pointer; transition: all .2s; }
.major-item:hover { border-color: #2b6cb0; background: #f0f4f8; }
.major-item .level { font-size: 11px; color: #fff; padding: 1px 6px; border-radius: 2px; margin-left: 6px; }
.level-bk { background: #2b6cb0; }
.level-zk { background: #e67e22; }
.major-item .arrow { color: #ccc; font-size: 12px; }

/* 三列下方模块 */
.bottom-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.bottom-cols > * { min-width: 0; }

/* 提升方案 */
.plan-list { padding: 12px 16px; }
.plan-list li { list-style: none; border-bottom: 1px dashed #eee; font-size: 13px; }
.plan-list li:last-child { border-bottom: none; }
.plan-list .plan-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; color: #333; }
.plan-list .plan-item:hover { color: #e74c3c; }
.plan-list .plan-item .arrow { color: #2b6cb0; }
.plan-list .plan-item:hover .arrow { color: #e74c3c; }

/* 工具箱 */
.toolbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px; }
.tool-btn { display: flex; flex-direction: column; align-items: center; padding: 12px 4px; border: 1px solid #eee; border-radius: 6px; font-size: 12px; cursor: pointer; transition: all .2s; color: #333; text-decoration: none; }
.tool-btn:hover { border-color: #2b6cb0; background: #f0f4f8; }
.tool-btn .t-icon { font-size: 22px; margin-bottom: 4px; }

/* 最新资讯 */
.news-list { padding: 12px 16px; overflow: hidden; }
.news-list li { list-style: none; padding: 8px 0; border-bottom: 1px dashed #eee; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; min-width: 0; }
.news-list li:last-child { border-bottom: none; }
.news-list li .date { color: #999; font-size: 12px; flex-shrink: 0; }
.news-list li a { display: block; flex: 1; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

 /* 国开优势卡片 */
 .advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 20px; }
 .advantage-card { background: #f0f4f8; border: 1px solid #b0c4de; border-radius: 8px; padding: 20px 16px; text-align: center; transition: all .2s; }
 .advantage-card:hover { border-color: #2b6cb0; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
 .advantage-card .a-icon { font-size: 36px; margin-bottom: 8px; }
 .advantage-card .a-title { font-size: 15px; font-weight: bold; color: #2b6cb0; margin-bottom: 6px; }
 .advantage-card .a-desc { font-size: 12px; color: #888; line-height: 1.5; }

/* 页脚声明 + 公共 footer */
.bot-about {
  max-width: 1200px;
  width: 100%;
  margin: 20px auto 0;
  padding: 20px 50px;
  text-align: center;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  background: #f5f5f5;
}

.footer {
  margin-top: 0 !important;
  width: 100%;
  background-color: #666;
  color: #999;
  padding: 0;
}

.footer .wenzi {
  padding: 12px 0;
  text-align: center;
  border-top: 0 !important;
  line-height: normal;
  font-size: 14px !important;
}

.footer .wenzi a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
}

.footer .wenzi a:hover {
  color: #f60;
  text-decoration: underline;
}

.footer .notice {
  text-align: center;
  display: block;
  margin-top: 15px;
  font-size: 14px !important;
}

.footer .notice a {
  color: #999;
}

.footer .new-shotcut {
  margin-top: 0;
  padding-top: 10px;
}

.footer .new-shotcut-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 15px;
}

.footer .new-shotcut-wrap ul li a,
.footer .new-shotcut-wrap ul li a div {
  color: #666;
}

.footer .new-shotcut-wrap ul li a:hover div {
  color: #f60;
}
