@charset "utf-8";

/* ============================================================
   财科学校首页 · 门户版 B（亮色）
   多层导航 + 三栏首屏 + 高密度模块
   ============================================================ */

:root {
  --navy: #1b3fa8;
  --navy-2: #16359b;
  --brand: #2f6bff;
  --brand-soft: #eef3ff;
  --amber: #ff7a45;
  --bg: #f5f7fb;
  --line: #e8edf6;
  --line-2: #eef1f6;
  --ink: #1f2937;
  --ink-2: #55607a;
  --ink-3: #8d96ab;
  --white: #fff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  font-size: 14px; line-height: 1.6; color: var(--ink);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--brand); }
img { border: 0; vertical-align: middle; }
ul, ol, li, p, h1, h2, h3, h4, dl, dd, dt, blockquote, table, th, td { margin: 0; padding: 0; }
li { list-style: none; }
em, i { font-style: normal; }
table { border-collapse: collapse; }
.wrap { width: 1200px; margin: 0 auto; }

/* ============================================================
   顶部工具条
   ============================================================ */
.topbar { height: 34px; background: #f7f8fa; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.topbar__links { display: flex; height: 34px; }
.topbar__links > li { position: relative; }
.topbar__links > li > a { display: block; padding: 0 14px; height: 34px; line-height: 34px; color: var(--ink-2); white-space: nowrap; }
.topbar__links > li > a:hover { color: var(--brand); }
.topbar__links .is-accent { color: var(--amber); font-weight: 600; }
.drop {
  position: absolute; top: 34px; left: 50%; transform: translateX(-50%);
  min-width: 140px; padding: 6px 0; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(18,50,92,.1); z-index: 300;
  display: none;
}
.has-drop:hover .drop { display: block; }
.drop a { display: block; padding: 6px 16px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.drop a:hover { background: var(--brand-soft); color: var(--brand); }
/* 关注我们：三张二维码横排 */
.drop--qr {
  left: auto; right: 0; transform: none;
  padding: 16px;
  border-top: 2px solid var(--brand);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 20px rgba(18, 50, 92, .14);
}
.has-drop:hover .drop--qr { display: flex; gap: 18px; }
.drop--qr .qr { flex: none; width: 112px; text-align: center; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.drop--qr .qr img {
  display: block; width: 100px; height: 100px;
  margin: 0 auto 8px; padding: 3px;
  border: 1px solid #eef1f6; border-radius: 4px; background: #fff;
}

/* ============================================================
   品牌区
   ============================================================ */
.masthead { background: #fff; }
/* 三列网格：logo 左 / 搜索居中 / 电话右 */
.masthead__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 110px; }
.brand { justify-self: start; display: flex; align-items: center; }
.brand__slogan { padding-left: 16px; border-left: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }

.search { justify-self: center; width: 420px; }
.search__box { display: flex; height: 38px; border: 2px solid var(--brand); }
.search__box input {
  flex: 1; padding: 0 12px; border: 0; outline: 0;
  font-family: inherit; font-size: 14px; color: var(--ink);
}
.search__box button {
  width: 78px; border: 0; background: var(--brand); color: #fff;
  font-family: inherit; font-size: 14px; cursor: pointer;
}
.search__box button:hover { background: #164bc4; }
.search__hot { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.search__hot a { margin-right: 10px; color: var(--ink-3); }
.search__hot a:hover { color: var(--brand); }

.hotline { justify-self: end; text-align: right; }
.hotline span { display: block; font-size: 14px; color: var(--ink-3); }
.hotline b { font-size: 32px; color: var(--navy); letter-spacing: .5px; }
.hotline b i { color: var(--amber); font-size: 28px; margin-right: 4px; }

/* ============================================================
   主导航
   ============================================================ */
/* 主导航背景：品牌蓝 #1f56d5 */
.mainnav { background: #0060ff; }
.nav-groups { display: flex; align-items: stretch; height: 72px; }

/* 首页：单独一格，垂直居中 */
.nav-home { display: flex; align-items: stretch; flex: none; }
.nav-home > a {
  display: flex; align-items: center;
  padding: 0 20px; font-size: 14px; color: #fff;
}
.nav-home > a:hover { background: #11378f; color: #e9b24d; }

/* 每个栏目组：标题在左，子链接两列铺在右 */
.nav-group {
  display: flex; align-items: center;
  gap: 10px; padding: 0 10px;
  border-left: 1px solid rgba(255,255,255,.16);
  flex: 1;
}
.nav-group--wide { flex: 1.35; }
.nav-group:hover { background: #1f56d5; }

.nav-group__title {
  flex: none; font-size: 14px; font-weight: 600;
  color: #fff;
}
.nav-group__links {
  display: grid; grid-template-columns: repeat(2, auto);
  gap: 5px 10px; align-content: center;
}
.nav-group__links--3 { grid-template-columns: repeat(3, auto); }

/* 问答 / 直播课：与首页一样是独立格 */
.nav-solo { display: flex; align-items: stretch; flex: none; border-left: 1px solid rgba(255,255,255,.14); }
.nav-solo > a { display: flex; align-items: center; padding: 0 14px; font-size: 14px; color: #fff; white-space: nowrap; }
.nav-solo > a:hover { background: #11378f; color: #e9b24d; }

.nav-group__links a {
  font-size: 14px; color: #fff; white-space: nowrap;
}
.nav-group__links a:hover { color: #e9b24d; }



/* ============================================================
   吸顶单行菜单（滚动超过主导航后出现）
   ============================================================ */
.sticky-nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 600;
  background: #0060ff;
  transform: translateY(-100%);
  transition: transform .22s ease;
}
.sticky-nav.is-show { transform: translateY(0); }
.sticky-nav .wrap { display: flex; align-items: center; height: 46px; }
.sticky-nav ul { display: flex; align-items: center; width: 100%; height: 46px; }
.sticky-nav li {
  display: flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 12px;
}
.sticky-nav li + li { border-left: 1px solid rgba(255,255,255,.18); }
.sticky-nav li:hover { background: #1f56d5; }
.sticky-nav strong { font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; }
.sticky-nav a { font-size: 14px; color: #fff; white-space: nowrap; }
.sticky-nav a:hover { color: #e9b24d; }

/* ============================================================
   考试指南：九宫格快捷入口（替换原「免费试听」轮播）
   ============================================================ */
.exam-guide {
  padding-bottom: 12px;
  border-radius: 6px;
  background: #fff;
}
.exam-guide__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 10px;
}
.exam-guide__links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1px solid #e3e8f2;
  border-radius: 4px;
  background: #f7f9fd;
  font-size: 14px;
  color: #4b5563;
  text-decoration: none;
  transition: border-color .2s, background-color .2s, color .2s;
}
.exam-guide__links a:hover {
  border-color: #1f56d5;
  background: #eef3ff;
  color: #1f56d5;
  text-decoration: none;
}

/* ============================================================
   报考倒计时（版式参考 sieredu .examTypeModuleRight，类名自有 / 结构精简）
   颜色换成本站蓝 + 橙
   ============================================================ */
.cpa-countdown {
  background: #fff;
  border-radius: 6px;
  margin-top: 12px;
  padding-bottom: 8px;
  overflow: hidden;
}

/* 头部：渐变底 + 右上角日历装饰 */
.cpa-countdown__head {
  position: relative;
  display: block;
  height: 112px;
  padding: 16px 0 0 20px;
  background: url(../images/kssjxrimg.png) no-repeat right 14px top 14px / 88px 88px,
              linear-gradient(180deg, #e6f0ff, #fff);
  overflow: hidden;
}
.cpa-countdown__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  color: #333;
}
.cpa-countdown__clock {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  margin: 10px 0 0;
}
.cpa-countdown__clock b {
  width: 40px;
  height: 46px;
  margin-right: 4px;
  border-radius: 6px;
  border: 1px solid #e3e7ee;
  background: #fff;
  color: #1f56d5;
  font-size: 38px;
  font-weight: 800;
  line-height: 46px;
  text-align: center;
}
.cpa-countdown__clock i {
  font-style: normal;
  font-size: 16px;
  color: #333;
  line-height: 46px;
}

/* 时间线 */
.cpa-countdown__track {
  position: relative;
  height: 196px;
  margin: 0px 10px 0 12px;
  padding: 4px 6px 0 26px;
  overflow-y: auto;
}
.cpa-countdown__track::-webkit-scrollbar { width: 3px; }
.cpa-countdown__track::-webkit-scrollbar-thumb { background: #d6dce6; border-radius: 3px; }

.cpa-countdown__node {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
/* 节点之间的连接线：从本节点中心画到下一节点中心（随内容延伸，滚动不掉线） */
.cpa-countdown__node::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 2px;
  height: calc(100% + 18px);
  background: #eef1f6;
  z-index: 0;
}
.cpa-countdown__node:last-child::before { display: none; }

/* 圆点：圆心落在竖线中心（-15px） */
.cpa-countdown__node::after {
  content: "";
  position: absolute;
  left: -20.5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border: 1.5px solid #c7d3ea;
  border-radius: 50%;
  background: #fff;
  z-index: 1;
}
.cpa-countdown__node span {
  width: 100px;
  height: 24px;
  line-height: 24px;
  padding: 0 5px;
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cpa-countdown__node em {
  flex: 1;
  margin-left: 8px;
  font-style: normal;
  font-size: 12px;
  color: #8d96ab;
}

/* 未来节点：虚线框 + 主题蓝 */
.cpa-countdown__node.is-future span {
  border: 1px dashed #1f56d5;
  background: #eef3ff;
  color: #1f56d5;
}
.cpa-countdown__node.is-future em { color: #4b5563; }

/* 已完成节点 */
.cpa-countdown__node.is-done span {
  background: #d6dce6;
  color: #fff;
}

/* 当前节点：橙色 */
.cpa-countdown__node.is-active::after {
  background: #ff7a45;
  border-color: #ff7a45;
  box-shadow: 0 0 0 4px rgba(255, 122, 69, .16);
}
.cpa-countdown__node.is-active span {
  background: #ff7a45;
  border: 1px solid #ff7a45;
  color: #fff;
}
.cpa-countdown__node.is-active em { color: #1f2937; }

.cpa-guard__item:hover p { color: #fff; }

/* ============================================================
   友情链接（原 screenFriendLinks，迁移并改名）
   ============================================================ */
.cpa-friendlink {
  width: 1200px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 5px 20px #efefef;
}
.cpa-friendlink__head {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 12px 0 0;
}
.cpa-friendlink__title {
  position: relative;
  padding-left: 26px;
  font-size: 20px;
  font-weight: 600;
  color: #2b2b2b;
}
.cpa-friendlink__title::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: #1f56d5;
}
.cpa-friendlink__more { margin-left: auto; font-size: 14px; color: #999; }
.cpa-friendlink__more:hover { color: #1f56d5; }

/* ============================================================
   页脚（原 pageFooter，迁移并改名）
   ============================================================ */
.cpa-footer { background: #1c1c1c; }

/* 城市分站 */
.cpa-footer__cities {
  padding: 15px 0;
  background: url(../images/footer-area-bg.png) no-repeat center;
  background-size: cover;
}
.cpa-footer__cities-inner { width: 1200px; margin: 0 auto; }
.cpa-footer__city-links a {
  display: inline-block;
  vertical-align: middle;
  margin: 8px 0;
  padding: 2px 18px;
  font-size: 14px;
  line-height: 22px;
  color: #f5f5f5;
  border-radius: 15px;
}
.cpa-footer__city-links a:hover {
  background: #ff720e;
  color: #fff;
  text-decoration: none;
}

/* 主导航列（源站靠 .container 居中，这里补回 1200 容器） */
.cpa-footer__main {
  width: 1200px;
  margin: 0 auto;
  padding: 40px 0 30px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.cpa-footer__col { float: left; width: 100px; }
.cpa-footer__col--wide { width: 300px; }
.cpa-footer__col + .cpa-footer__col { margin-left: 20px; }
.cpa-footer__item {
  margin-bottom: 10px;
  font-size: 14px;
  color: #f96203;
}
.cpa-footer__item span { color: #fff; }
.cpa-footer__item a { display: block; color: #8b8b8b; }
.cpa-footer__item a:hover { color: #fff; text-decoration: none; }
.cpa-footer__title {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

/* 右侧：logo / 关注我们 / 热线 */
.cpa-footer__aside {
  float: right;
  box-sizing: content-box;
  width: 270px;
  height: 260px;
  padding-left: 16px;
  border-left: 1px solid #616161;
}
.cpa-footer__logo {
  width: 270px;
  height: 52px;
  margin: 0 0 10px 20px;
  background: url(../images/footer-logo.png) no-repeat;
}
.cpa-footer__follow-title {
  margin: 15px 0 2px 20px;
  font-size: 18px;
  font-weight: bold;
  color: #8b8b8b;
}
.cpa-footer__follow ul { display: flex; padding-top: 12px; }
.cpa-footer__follow ul li { position: relative; margin-left: 22px; text-align: center; }
.cpa-footer__ico {
  width: 34px;
  height: 34px;
  margin: 0 auto;
  background: url(../images/footer-followus-ico.png) no-repeat 0 0;
  background-size: 200px;
}
.cpa-footer__ico--xcx { background-position: -39px 0; }
.cpa-footer__ico--gzh { background-position: -79px 0; }
.cpa-footer__ico--weibo { background-position: -119px 0; }
.cpa-footer__follow ul > li:hover .cpa-footer__ico { background-position: 0 -48px; }
.cpa-footer__follow ul > li:hover .cpa-footer__ico--xcx { background-position: -39px -48px; }
.cpa-footer__follow ul > li:hover .cpa-footer__ico--gzh { background-position: -79px -48px; }
.cpa-footer__follow ul > li:hover .cpa-footer__ico--weibo { background-position: -119px -48px; }
.cpa-footer__ico-label { margin-top: 5px; font-size: 12px; color: #999; }
.cpa-footer__follow ul > li:hover .cpa-footer__ico-label { color: #1e81f4; }

/* 二维码气泡 */
.cpa-footer__qr {
  display: none;
  position: absolute;
  top: -116px;
  left: 50%;
  width: 108px;
  margin-left: -54px;
  padding: 8px 0;
  background: #fff;
  border-radius: 8px;
  filter: drop-shadow(0 5px 16px rgba(0, 0, 0, .06));
}
.cpa-footer__follow ul > li:hover .cpa-footer__qr { display: block; }
.cpa-footer__qr::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  margin-left: -6px;
  border-style: solid;
  border-width: 6px;
  border-color: #fff transparent transparent transparent;
}
.cpa-footer__qr-img { width: 90px; height: 90px; margin: 0 auto; }
.cpa-footer__qr-img img { width: 100%; height: 100%; }

/* 咨询热线 */
.cpa-footer__tel-num {
  padding-top: 12px;
  height: 42px;
  font-size: 16px;
  line-height: 36px;
  color: #fff;
}
.cpa-footer__tel-num i {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-right: 2px;
  margin-top: -2px;
  vertical-align: middle;
  background: url(../images/footer-followus-ico.png) no-repeat -166px 0;
  background-size: 200px;
}
.cpa-footer__tel-tip { margin-left: 40px; font-size: 14px; color: #999; }

/* 版权 / 备案 */
.cpa-footer__copyright {
  padding: 10px 0;
  background: #1c1c1c;
  font-size: 14px;
  color: #fff;
  text-align: center;
}
.cpa-footer__record {
  width: 100%;
  padding-bottom: 10px;
  background: #1c1c1c;
  text-align: center;
}
.cpa-footer__record-inner { padding-top: 10px; }
.cpa-footer__record a {
  display: inline-block;
  height: 23px;
  padding-left: 26px;
  padding-right: 10px;
  font-size: 12px;
  line-height: 23px;
  color: #fff;
  text-align: left;
}
.cpa-footer__record a:hover { color: #fff; text-decoration: none; }

/* ============================================================
   面板标题（考试指南等通用区块头）
   ============================================================ */
.panel-head {
  position: relative;
  height: 50px;
  padding-right: 8px;
  line-height: 50px;
}
.panel-head__title {
  float: left;
  padding-left: 22px;
  font-size: 17px;
  color: #333;
}
.panel-head__title a { color: #333; }
.panel-head__title a:hover { color: #1f56d5; text-decoration: none; }
.panel-head__title::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: #1f56d5;
}
.panel-head__more { font-size: 14px; color: #999; text-decoration: none; }
.panel-head__more:hover { color: #1f56d5; }
