/* ============================================================
   列表页 / 内容页通用样式（课程中心、资讯、师资、关于、登录）
   ============================================================ */

/* ---------- 页头横幅 ---------- */
.page-head { background: linear-gradient(120deg, #00245A 0%, #0A3E8C 55%, #1257B5 100%); color: #fff; padding: 30px 0 34px; position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; right: -60px; bottom: -110px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.05); }
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { font-size: 28px; font-weight: 800; letter-spacing: 1px; margin-bottom: 8px; }
.page-head p { font-size: 14px; opacity: .85; margin-bottom: 16px; }
.page-head .ph-stat { display: flex; gap: 28px; flex-wrap: wrap; }
.page-head .ph-stat span { font-size: 13px; opacity: .8; display: flex; align-items: center; gap: 5px; }
.page-head .ph-stat b { font-size: 17px; font-weight: 800; color: #FFC46B; }

/* ---------- 筛选栏 ---------- */
.filter-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 18px; }
.fb-row { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); }
.fb-row:last-child { border: 0; }
.fb-row .fl { width: 62px; flex: none; font-size: 13px; color: var(--ink-3); padding-top: 4px; }
.fb-row .fr2 { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.fb-row .fr2 li { padding: 4px 14px; border-radius: 16px; font-size: 13px; color: var(--ink-2); cursor: pointer; transition: all .18s; }
.fb-row .fr2 li:hover { background: var(--brand-025); color: var(--brand-500); }
.fb-row .fr2 li.on { background: var(--brand-500); color: #fff; font-weight: 600; }
.fb-row select { height: 32px; border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 10px; font-size: 13px; background: #fff; cursor: pointer; }
.fb-row .sortsel { margin-left: auto; }

/* ---------- 结果统计条 ---------- */
.result-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 13px; color: var(--ink-3); }
.result-bar b { color: var(--accent); }

/* ---------- 直播专区 ---------- */
.live-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.live-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: all .22s; }
.live-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.lc-cover { height: 118px; position: relative; display: flex; align-items: center; justify-content: center; color: #fff; }
.lc-cover .lc-t { font-size: 15px; font-weight: 700; text-align: center; padding: 0 14px; line-height: 1.5; }
.lc-cover .lc-s { position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.35); font-size: 11px; padding: 2px 8px; border-radius: 3px; }
.lc-cover .lc-live { position: absolute; right: 10px; top: 10px; background: var(--danger); font-size: 11px; padding: 2px 8px; border-radius: 3px; display: flex; align-items: center; gap: 4px; }
.lc-cover .lc-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 0%,100% { opacity: 1 } 50% { opacity: .25 } }
.lc-body { padding: 13px 14px 15px; }
.lc-body h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.lc-body p { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.lc-body .lc-ft { display: flex; align-items: center; justify-content: space-between; }
.lc-body .lc-ft .num { font-size: 12px; color: var(--ink-4); }

/* ---------- 资讯图文列表 ---------- */
.art-list { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 4px 20px; }
.art-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px dashed var(--line-2); align-items: center; }
.art-item:last-child { border: 0; }
.art-pic { width: 160px; height: 100px; border-radius: var(--r-s); flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; }
.art-tx { flex: 1; min-width: 0; }
.art-tx h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.5; }
.art-item:hover .art-tx h3 { color: var(--brand-500); }
.art-tx .as { font-size: 13px; color: var(--ink-3); line-height: 1.8; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-tx .am { font-size: 12px; color: var(--ink-4); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.art-tx .am .ico { font-size: 13px; }
.art-go { flex: none; align-self: center; }

/* 资讯右侧 */
.side-card { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 16px 18px; margin-bottom: 14px; }
.side-card h4 { font-size: 15px; font-weight: 700; color: var(--brand); margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.side-card h4::before { content: ''; width: 3px; height: 13px; background: var(--accent); border-radius: 2px; }
.sd-svc { background: linear-gradient(135deg, var(--brand-500), var(--brand)); color: #fff; border-radius: var(--r); padding: 18px; text-align: center; }
.sd-svc h4 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.sd-svc h4::before { display: none; }
.sd-svc p { font-size: 12px; opacity: .82; margin-bottom: 14px; line-height: 1.7; }
.sd-svc .btn { width: 100%; }

/* ---------- 师资详情横幅 ---------- */
.tea-detail { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 24px; margin-bottom: 18px; display: flex; gap: 24px; }
.tea-detail .td-av { width: 96px; height: 96px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 38px; font-weight: 700; }
.tea-detail .td-tx { flex: 1; }
.tea-detail h2 { font-size: 22px; font-weight: 800; color: var(--brand); margin-bottom: 6px; }
.tea-detail .td-ti { font-size: 14px; color: var(--accent); margin-bottom: 12px; }
.tea-detail p { font-size: 14px; color: var(--ink-2); line-height: 1.9; margin-bottom: 12px; }
.tea-detail .td-mt { display: flex; gap: 24px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.tea-detail .td-mt b { color: var(--brand-500); font-size: 16px; }

/* ---------- 关于我们 ---------- */
.ab-intro { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: center; }
.ab-intro .ab-tx h2 { font-size: 22px; font-weight: 800; color: var(--brand); margin-bottom: 14px; }
.ab-intro .ab-tx p { font-size: 14px; color: var(--ink-2); line-height: 2; margin-bottom: 12px; }
.ab-pic { height: 260px; border-radius: var(--r); background: linear-gradient(135deg, #00245A, #1257B5); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.ab-pic .big { font-size: 34px; font-weight: 800; letter-spacing: 1px; }
.ab-pic .sm { font-size: 13px; opacity: .8; }

.cul-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cul-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-align: center; transition: all .22s; }
.cul-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.cul-card .ci2 { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-050); color: var(--brand-500); display: flex; align-items: center; justify-content: center; font-size: 25px; margin: 0 auto 12px; }
.cul-card h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.cul-card p { font-size: 13px; color: var(--ink-3); line-height: 1.8; }

.his-list { position: relative; padding-left: 26px; }
.his-list::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.his-item { position: relative; padding-bottom: 24px; }
.his-item::before { content: ''; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-500); }
.his-item .hy { font-size: 18px; font-weight: 800; color: var(--brand-500); margin-bottom: 4px; }
.his-item h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.his-item p { font-size: 13px; color: var(--ink-3); line-height: 1.8; }

.co-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: all .22s; }
.co-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #CFDAEE; }
.co-card .ci2 { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-050); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; }
.co-card h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.co-card p { font-size: 13px; color: var(--ink-3); line-height: 1.8; margin-bottom: 12px; }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ct-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; text-align: center; }
.ct-card .ci2 { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-050); color: var(--brand-500); display: flex; align-items: center; justify-content: center; font-size: 21px; margin: 0 auto 12px; }
.ct-card h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.ct-card p { font-size: 13px; color: var(--ink-3); }

/* ---------- 登录 ---------- */
.login-wrap { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: center; padding: 44px 0 56px; }
.login-left h2 { font-size: 28px; font-weight: 800; color: var(--brand); margin-bottom: 12px; letter-spacing: .5px; }
.login-left > p { font-size: 14px; color: var(--ink-3); line-height: 2; margin-bottom: 24px; }
.login-adv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.la-item { display: flex; gap: 12px; align-items: flex-start; }
.la-item .li2 { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-050); color: var(--brand-500); display: flex; align-items: center; justify-content: center; font-size: 19px; flex: none; }
.la-item b { display: block; font-size: 14px; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
.la-item span { font-size: 12.5px; color: var(--ink-3); }

.login-box { background: #fff; border-radius: var(--r-l); box-shadow: var(--shadow-3); padding: 30px; }
.login-box .lb-tabs { display: flex; gap: 26px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.login-box .lb-tabs span { padding-bottom: 12px; font-size: 17px; font-weight: 700; color: var(--ink-4); cursor: pointer; position: relative; }
.login-box .lb-tabs span.on { color: var(--brand-500); }
.login-box .lb-tabs span.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand-500); border-radius: 2px; }
.lb-form .lf { margin-bottom: 16px; position: relative; }
.lb-form .lf .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-4); font-size: 17px; }
.lb-form .lf input { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 14px 0 42px; font-size: 14px; transition: border-color .18s; }
.lb-form .lf input:focus { border-color: var(--brand-500); }
.lb-form .lf code { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--brand-500); cursor: pointer; }
.lb-form .lf-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.lb-form .lf-row a:hover { color: var(--accent); }
.lb-form .btn { width: 100%; height: 46px; font-size: 15px; }
.lb-form .btn:disabled { opacity: .6; cursor: not-allowed; }
.lb-form .lb-err { min-height: 18px; margin-top: 10px; font-size: 13px; color: #E5484D; text-align: center; }
.lb-form .lb-err:empty { min-height: 0; margin-top: 0; }
.lb-third { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2); text-align: center; }
.lb-third p { font-size: 12.5px; color: var(--ink-4); margin-bottom: 12px; }
.lb-third .t3 { display: flex; justify-content: center; gap: 16px; }
.lb-third .t3 a { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-025); color: var(--brand-500); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.lb-third .t3 a:hover { background: var(--brand-500); color: #fff; }
.lb-tip { margin-top: 16px; font-size: 12px; color: var(--ink-4); text-align: center; line-height: 1.8; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .live-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-intro { grid-template-columns: 1fr; }
  .cul-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .co-grid { grid-template-columns: 1fr; }
  .login-wrap { grid-template-columns: 1fr; gap: 28px; padding: 24px 0 36px; }
  .login-left { text-align: center; }
  .page-head h1 { font-size: 22px; }
  .art-pic { width: 120px; height: 76px; }
}
@media (max-width: 768px) {
  .page-head { padding: 20px 0 22px; }
  .page-head h1 { font-size: 19px; }
  .page-head .ph-stat { gap: 14px; }
  .filter-bar { padding: 12px; }
  .fb-row { flex-direction: column; gap: 6px; }
  .fb-row .fl { width: auto; padding-top: 0; }
  .fb-row .sortsel { margin-left: 0; }
  .art-item { flex-direction: column; align-items: stretch; gap: 10px; }
  .art-pic { width: 100%; height: 120px; font-size: 34px; }
  .art-tx h3 { font-size: 15px; }
  .live-grid { grid-template-columns: 1fr; }
  .cul-grid, .contact-grid { grid-template-columns: 1fr; }
  .tea-detail { flex-direction: column; text-align: center; gap: 14px; }
  .tea-detail .td-mt { justify-content: center; }
  .login-box { padding: 20px; }
  .login-adv { grid-template-columns: 1fr; }
}
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; padding-bottom: 36px; }
.news-layout > div { min-width: 0; }
@media (max-width: 900px) {
  .news-layout { grid-template-columns: minmax(0, 1fr); }
}
