/*
Theme Name: 题引力
Theme URI: https://www.tiyinli.com
Description: 题引力（tiyinli.com）专用WordPress主题 - 专业考试题库与资讯门户，基于易考吧风格精确还原
Version: 2.0.0
Author: tiyinli.com
Text Domain: tiyinli
*/

/* ===== CSS Variables - 基于 etest8.com 精确色值 ===== */
:root {
  --sky-blue: #38bff4;
  --sky-blue-dark: #1fa8de;
  --text-dark: #14191e;
  --text-secondary: #333333;
  --text-muted: #555555;
  --bg-page: #f5f5f5;
  --bg-white: #ffffff;
  --bg-gray: #eff0f1;
  --bg-gray2: #fafafa;
  --border: #e5e5e5;
  --border-dark: #cccccc;
  --footer-bg: #757575;
  --footer-bottom-bg: #333333;
  --red: #ff0000;
  --shadow: 0 1px 5px rgba(7, 17, 27, 0.1);
  --container: 1200px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; }
body {
  font-family: "微软雅黑", "Microsoft YaHei", Helvetica, "Helvetica Neue", Tahoma, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* iconfont base */
.iconfont {
    display: inline-block;
    vertical-align: middle;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.icon-dianhua {
    background: url(https://img.etest8.com/index/v6/icon-dianhua.png) 0 0 no-repeat;
    background-size: 100% 100%;
    width: 20px;
    height: 20px;
}

a { color: var(--text-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sky-blue); }
a.sky { color: var(--sky-blue) !important; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ===== Layout ===== */
.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.clearfix::after { content: ''; display: table; clear: both; }

/* ===== Wall - 顶部工具栏 ===== */
.wall {
  width: 100%;
  background: var(--bg-white);
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--border);
}
.wall .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px;
  padding-left: 0;
  padding-right: 0;
}
.wall-nav {
  display: flex;
  align-items: center;
  float: left;
}
.wall-nav li {
  float: left;
  position: relative;
}
.wall-nav a {
  display: block;
  color: var(--text-secondary);
  padding: 0 20px;
  height: 52px;
  line-height: 52px;
  font-size: 14px;
}
.wall-nav a:hover { color: var(--sky-blue); }
.wall-nav .sep {
  float: left;
  color: var(--text-muted);
  padding: 0 2px;
  height: 52px;
  line-height: 52px;
  font-size: 12px;
}
.item-right {
  float: right;
  display: flex;
  align-items: center;
  gap: 0;
  height: 52px;
}
.item-right a {
  display: block;
  color: var(--text-secondary);
  padding: 0 12px;
  height: 52px;
  line-height: 52px;
  font-size: 14px;
}
.item-right a:hover { color: var(--sky-blue); }
.service {
  display: flex;
  align-items: center;
  gap: 16px;
  float: right;
  padding: 0 10px 0 0;
}
.service span {
  color: var(--text-muted);
  font-size: 12px;
}
.service a {
  color: var(--text-secondary);
  font-size: 14px;
}
.service a:hover { color: var(--sky-blue); }

/* ===== Information - Logo + 搜索区 ===== */
.information {
  background: var(--bg-white);
  padding: 10px 0;
}
.information .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 0;
  padding-right: 0;
}
.ui-grid-main1 {
  float: left;
  margin-left: 50px;
  margin-top: 16px;
}
.sehbom {
  float: right;
  width: 370px;
  height: 44px;
  background: var(--bg-white);
  border: 1px solid var(--border-dark);
  border-radius: 0;
  display: flex;
  align-items: center;
  margin-right: 0;
  position: relative;
}
.searchMenu {
  position: absolute;
  left: 0;
  top: 0;
  height: 44px;
  line-height: 44px;
  padding: 0 12px;
  background: var(--bg-gray);
  border-right: 1px solid var(--border);
  color: var(--text-dark);
  font-size: 14px;
  cursor: pointer;
  width: 70px;
  text-align: center;
  z-index: 2;
}
.sehbom form {
  width: 100%;
  height: 100%;
  display: flex;
}
.sehbom input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 8px 0 80px;
  font-size: 14px;
  color: var(--text-dark);
  background: transparent;
}
.sehbom button {
  width: 50px;
  height: 44px;
  background: var(--bg-gray);
  border: none;
  border-left: 1px solid var(--border);
  cursor: pointer;
  font-size: 16px;
  color: var(--text-secondary);
  position: absolute;
  right: 0;
  top: 0;
}
.sehbom button:hover { color: var(--sky-blue); background: var(--bg-gray2); }

/* ===== Main Nav - 蓝色导航栏 ===== */
.navigation {
  width: 100%;
  background: var(--sky-blue);
  height: 50px;
}
.navigation .container {
  display: flex;
  align-items: center;
  height: 50px;
  padding-left: 0;
  padding-right: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  height: 50px;
}
.nav-list li {
  float: left;
  height: 50px;
  line-height: 50px;
}
.nav-list a {
  display: block;
  color: #fff;
  font-size: 16px;
  padding: 0 14px;
  height: 50px;
  line-height: 50px;
  transition: background 0.2s;
}
.nav-list a:hover, .nav-list li:hover a {
  background: rgba(0, 0, 0, 0.12);
}
.nav-list .en {
  font-size: 10px;
  opacity: 0.7;
  display: block;
  line-height: 1;
  margin-top: -2px;
}

/* ===== 主页主体 ify-main ===== */
.ify-main {
  max-width: var(--container);
  margin: 15px auto;
  display: flex;
  gap: 0;
  align-items: flex-start;
}
.left { float: left; }
.left.w900 { width: 900px; }
.left.w300 { width: 300px; float: right; }

/* ===== Banner Swiper ===== */
.ify-banner {
  width: 900px;
  height: 117px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
  background: var(--bg-gray);
}
.banner-img {
  width: 900px;
  height: 117px;
  object-fit: cover;
  display: block;
}
.banner-img-placeholder {
  width: 900px;
  height: 117px;
  background: linear-gradient(135deg, #2563eb 0%, #38bff4 50%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  position: relative;
  overflow: hidden;
}
.banner-img-placeholder::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

/* ===== ify-nav-box - 地方站导航 ===== */
.ify-nav-box {
  background: var(--bg-white);
  padding: 10px 0;
  margin: 0 0 0 0;
  width: 900px;
}
.ify-nav-img {
  float: left;
  width: 110px;
  height: 32px;
  line-height: 32px;
  margin: 5px 0;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  border-right: 1px solid var(--border);
  text-align: center;
}
.ify-nav-name {
  float: left;
  height: 21px;
  line-height: 21px;
  margin: 12px 0 0 20px;
  font-size: 14px;
  color: var(--text-dark);
  width: 740px;
  overflow: hidden;
}
.ify-nav-name a {
  display: inline-block;
  margin-right: 12px;
  color: var(--text-muted);
  font-size: 14px;
}
.ify-nav-name a:hover { color: var(--sky-blue); }
.ify-nav-name .sep {
  color: var(--border-dark);
  margin-right: 10px;
  font-size: 12px;
}
.province-sep {
  display: inline-block;
  color: var(--border-dark);
  margin: 0 8px;
  font-size: 12px;
}

/* ===== 分类列表 classinfo ===== */
.classinfo {
  background: var(--bg-white);
  width: 900px;
}
.info-list {
  display: flex;
  align-items: flex-start;
  width: 900px;
  min-height: 66px;
  border-bottom: 1px solid var(--bg-gray);
}
.info-list:last-child { border-bottom: none; }
.info-list-name {
  float: left;
  width: 85px;
  height: 45px;
  line-height: 45px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  padding-left: 12px;
  padding-right: 0;
  flex-shrink: 0;
  margin-top: 10px;
}
.info-list-con {
  float: left;
  width: 803px;
  padding: 12px 10px 8px;
  min-height: 66px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-left: 1px solid var(--bg-gray);
}
.info-list-con a {
  display: inline-block;
  color: var(--sky-blue);
  font-size: 14px;
  padding: 0 7px;
  margin-bottom: 6px;
  height: 20px;
  line-height: 20px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.info-list-con a:hover {
  color: var(--sky-blue-dark);
  text-decoration: underline;
}

/* ===== 广告区 ===== */
.advertising {
  width: 1200px;
  margin: 0 auto 15px;
  display: flex;
  justify-content: center;
}
.advertising img {
  max-width: 100%;
  display: block;
}

/* ===== BK 区块（内容+侧栏）====== */
.bk {
  width: 1210px;
  margin: 0 auto 15px;
  padding-left: 10px;
  display: flex;
  gap: 0;
  align-items: flex-start;
}
.bk-left {
  float: left;
  width: 900px;
}
.bk-left-con {
  width: 900px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bk-right {
  float: right;
  width: 400px;
  background: var(--bg-white);
  border: 1px solid var(--border-dark);
  padding: 10px 20px;
  margin-left: 10px;
  min-height: 419px;
}
.bk-right a { color: var(--text-dark); font-size: 14px; line-height: 1.6; }
.bk-right a:hover { color: var(--sky-blue); }

/* BK 区块标题行 */
.bk-title, .hot-title {
  background: var(--bg-white);
  height: 42px;
  line-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bg-gray);
  padding: 0 0;
  margin-bottom: 0;
}
.bk-title h3, .hot-title h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0 16px;
  height: 42px;
  line-height: 42px;
  display: flex;
  align-items: center;
}
.bk-title h3::before, .hot-title h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--sky-blue);
  border-radius: 2px;
  margin-right: 8px;
}
.bk-title .more, .hot-title .more {
  font-size: 12px;
  color: var(--text-muted);
  padding-right: 16px;
}
.bk-title .more:hover, .hot-title .more:hover { color: var(--sky-blue); }

/* BK 左侧列表 */
.bk-left-list {
  display: flex;
  flex-wrap: wrap;
  background: var(--bg-white);
  padding: 10px 15px;
  gap: 0;
}
.bk-left-list li {
  width: 50%;
  float: left;
  height: 30px;
  line-height: 30px;
  padding: 0 5px;
  overflow: hidden;
}
.bk-left-list li a {
  font-size: 14px;
  color: var(--text-dark);
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.bk-left-list li a:hover { color: var(--sky-blue); }
.bk-left-list li .hot-tag {
  display: inline-block;
  background: #fee2e2;
  color: var(--red);
  font-size: 11px;
  padding: 0 5px;
  border-radius: 2px;
  margin-right: 4px;
  font-weight: 700;
}
.bk-left-list li .rec-tag {
  display: inline-block;
  background: var(--bg-gray);
  color: var(--text-muted);
  font-size: 11px;
  padding: 0 5px;
  border-radius: 2px;
  margin-right: 4px;
}

/* BK 文章列表 */
.bk-article-list {
  background: var(--bg-white);
  padding: 8px 0;
}
.bk-article-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--bg-gray);
  gap: 10px;
}
.bk-article-item:last-child { border-bottom: none; }
.bk-article-item:hover { background: var(--bg-gray2); }
.bk-article-item .article-date {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-muted);
  width: 60px;
  text-align: center;
}
.bk-article-item .article-date span {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--sky-blue);
  line-height: 1;
}
.bk-article-item .article-date small {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  line-height: 1.4;
}
.bk-article-item a {
  flex: 1;
  font-size: 14px;
  color: var(--text-dark);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.bk-article-item a:hover { color: var(--sky-blue); }

/* BK Tab切换 */
.bk-tab {
  background: var(--bg-white);
  display: flex;
  border-bottom: 1px solid var(--bg-gray);
  padding: 0;
}
.bk-tab a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  height: 40px;
  line-height: 20px;
}
.bk-tab a.active, .bk-tab a:hover {
  color: var(--sky-blue);
  border-bottom-color: var(--sky-blue);
}

/* ===== 右侧栏 right300 ===== */
.right300 {
  float: right;
  width: 300px;
  margin-left: 0;
  background: var(--bg-gray);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 登录卡片 */
.enter {
  background: var(--bg-gray);
  padding: 0 20px;
  width: 300px;
}
.ente-con {
  background: var(--bg-white);
  padding: 10px 15px;
  width: 260px;
}
.ente-info {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 10px;
}
.icon-photop {
  width: 40px;
  height: 40px;
  background: var(--bg-gray);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
}
.ente-info-name {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.4;
}
.enter-login {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}
.enter-login a {
  display: block;
  text-align: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.enter-login a:hover { color: var(--sky-blue); border-color: var(--sky-blue); }
.enter-login input {
  width: 100%;
  height: 34px;
  border: 1px solid var(--border);
  padding: 0 10px;
  font-size: 13px;
  outline: none;
  background: var(--bg-white);
}
.enter-login input:focus { border-color: var(--sky-blue); }

/* ===== 考试提醒表格 ===== */
.kststab {
  background: var(--bg-white);
  border: 1px solid var(--border);
  width: 290px;
  margin: 0 0 0 10px;
}
.kststab-top {
  padding: 0 8px;
  border-bottom: 1px solid var(--bg-gray);
  height: 31px;
  line-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kststab-top span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 700;
}
.kststab-top-btn {
  display: flex;
  gap: 0;
}
.kststab-top-btn a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 0 6px;
}
.kststab-top-btn a:hover { color: var(--sky-blue); }
.kststab-title {
  padding: 5px 8px;
}
.kststab-title a {
  font-size: 14px;
  color: var(--red);
  font-weight: 700;
}
.kststab-title a:hover { color: var(--sky-blue-dark); }
.kststab-con {
  padding: 0 8px;
}
.kststab-con table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}
.kststab-con td {
  padding: 6px 4px;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.kststab-con tr:last-child td { border-bottom: none; }
.kststab-con td a { color: var(--text-muted); font-size: 14px; }
.kststab-con td a:hover { color: var(--sky-blue); }
.kststab-con-list {
  padding: 4px 0;
  border-bottom: 1px solid var(--bg-gray);
}
.kststab-con-list:last-child { border-bottom: none; }

/* ===== 热点信息区 ===== */
.hot_info_wrapper {
  width: 1200px;
  margin: 0 auto;
}
.hot_info_list_wrapper {
  display: flex;
  background: var(--bg-white);
  flex-wrap: wrap;
  padding: 10px 0;
}
.hot_info_list_wrapper a {
  display: block;
  width: 50%;
  float: left;
  font-size: 14px;
  color: var(--text-dark);
  padding: 6px 20px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hot_info_list_wrapper a:hover { color: var(--sky-blue); }

/* ===== 媒体矩阵 ===== */
.hot_mt_wrapper {
  background: var(--bg-white);
  width: 1200px;
  margin: 15px auto 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}
.hot_mt_wrapper .title {
  float: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 10px 20px;
  height: 42px;
  line-height: 22px;
  background: var(--bg-gray);
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  width: 120px;
}
.hot_mt_list {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 20px;
  flex-wrap: wrap;
  height: 42px;
  overflow: hidden;
}
.hot_mt_list a {
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}
.hot_mt_list a:hover { color: var(--sky-blue); }
.hot_mt_wrapper a img {
  width: 70px;
  height: 42px;
  object-fit: cover;
}

/* ===== 软件区 ===== */
.software {
  background: var(--bg-white);
  width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
}
.software-banner {
  padding: 0 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.software-banner a {
  font-size: 14px;
  color: var(--text-secondary);
  display: block;
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.software-banner a:hover { color: var(--sky-blue); }

/* ===== 今日头条 ===== */
.today-news {
  background: var(--bg-white);
  width: 1200px;
  margin: 15px auto 0;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
}
.today-news .today-left {
  width: 200px;
  background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-shrink: 0;
}
.today-news .today-left h3 {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}
.today-news .today-left p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}
.today-news .today-right {
  flex: 1;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.today-news .today-right a {
  font-size: 14px;
  color: var(--text-dark);
  padding: 8px 0;
  border-bottom: 1px solid var(--bg-gray);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
}
.today-news .today-right a:last-child { border-bottom: none; }
.today-news .today-right a:hover { color: var(--sky-blue); }

/* ===== Footer ===== */
.footer {
  width: 100%;
  margin-top: 30px;
}
.foot-top {
  background: var(--footer-bg);
  padding: 40px 0 30px;
}
.foot-top .container {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding-left: 0;
  padding-right: 0;
}
.foot-col {
  float: left;
  width: 200px;
}
.foot-col.wide { width: 280px; }
.foot-col dt {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  padding-left: 20px;
}
.foot-col dd {
  padding: 4px 20px;
}
.foot-col dd a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  display: block;
  padding: 3px 0;
}
.foot-col dd a:hover { color: #fff; }
.foot-bottom {
  background: var(--footer-bottom-bg);
  padding: 25px 0;
  text-align: center;
}
.foot-bottom p {
  font-size: 14px;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.6;
}
.foot-bottom a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.foot-bottom a:hover { color: #fff; }
.foot-bottom-link {
  max-width: var(--container);
  margin: 12px auto 0;
  padding: 0 86px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-bottom-link a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.foot-bottom-link a:hover { color: #fff; }

/* ===== Section标题（可复用）====== */
.section-head {
  background: var(--bg-white);
  height: 42px;
  line-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bg-gray);
  width: 100%;
  margin-bottom: 0;
}
.section-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0 16px;
  height: 42px;
  line-height: 42px;
  display: flex;
  align-items: center;
}
.section-head h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--sky-blue);
  border-radius: 2px;
  margin-right: 8px;
}
.section-head .more {
  font-size: 12px;
  color: var(--text-muted);
  padding-right: 16px;
}
.section-head .more:hover { color: var(--sky-blue); }

/* ===== 分类卡片（可复用）====== */
.cat-section {
  width: 1200px;
  margin: 0 auto 15px;
}
.cat-section-list {
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
}

/* ===== 文章列表（可复用）====== */
.article-section {
  background: var(--bg-white);
  padding: 8px 0;
}
.article-row {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--bg-gray);
  gap: 10px;
}
.article-row:last-child { border-bottom: none; }
.article-row:hover { background: var(--bg-gray2); }
.article-date-badge {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
}
.article-date-badge .day {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--sky-blue);
  line-height: 1;
}
.article-date-badge .month {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.article-row a {
  flex: 1;
  font-size: 14px;
  color: var(--text-dark);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.article-row a:hover { color: var(--sky-blue); }

/* ===== 右侧栏通用卡片 ===== */
.side-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  margin-left: 10px;
  width: 290px;
}
.side-card-title {
  padding: 0 8px;
  border-bottom: 1px solid var(--bg-gray);
  height: 31px;
  line-height: 31px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 700;
}
.side-card-body {
  padding: 10px 12px;
}
.side-card-body ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.side-card-body li {
  padding: 7px 4px;
  border-bottom: 1px solid var(--bg-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-card-body li:last-child { border-bottom: none; }
.side-card-body li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky-blue);
  flex-shrink: 0;
}
.side-card-body li a {
  font-size: 14px;
  color: var(--text-dark);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.side-card-body li a:hover { color: var(--sky-blue); }

/* ===== 联系我们侧边栏卡片 ===== */
.contact-card {
  background: var(--sky-blue);
  margin-left: 10px;
  width: 290px;
  padding: 16px 20px;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
}
.contact-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-card p {
  font-size: 13px;
  margin-bottom: 6px;
  opacity: 0.9;
}

/* ===== 搜索结果页 ===== */
.search-results {
  background: var(--bg-white);
  padding: 0;
  margin-bottom: 20px;
}
.search-result-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bg-gray);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.search-result-item h3 a { color: var(--sky-blue); }
.search-result-item h3 a:hover { text-decoration: underline; }
.search-result-item p { font-size: 14px; color: var(--text-muted); }
.search-result-item .search-meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ===== 分页 ===== */
.pagination {
  width: 1200px;
  margin: 20px auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.pagination a, .pagination span {
  display: inline-block;
  padding: 4px 12px;
  font-size: 14px;
  color: var(--text-dark);
  border: 1px solid var(--border);
  background: var(--bg-white);
  margin: 0 2px;
}
.pagination a:hover { color: var(--sky-blue); border-color: var(--sky-blue); }
.pagination .current { background: var(--sky-blue); color: #fff; border-color: var(--sky-blue); }

/* ===== 面包屑 ===== */
.breadcrumb {
  width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--sky-blue); }
.breadcrumb .sep { color: var(--border-dark); }

/* ===== 文章详情页 ===== */
.single-content {
  background: var(--bg-white);
  max-width: 900px;
  margin: 0 auto 15px;
  padding: 30px 30px;
}
.single-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bg-gray);
}
.single-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.single-meta span { display: inline-flex; align-items: center; gap: 4px; }
.single-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
}
.single-body p { margin-bottom: 16px; }
.single-body h2 { font-size: 18px; font-weight: 700; margin: 24px 0 12px; color: var(--text-secondary); }
.single-body h3 { font-size: 16px; font-weight: 700; margin: 20px 0 10px; }
.single-body ul { margin: 0 0 16px 24px; list-style: disc; }
.single-body li { margin-bottom: 6px; }
.single-body a { color: var(--sky-blue); }
.single-body a:hover { text-decoration: underline; }

/* ===== 页面模板 ===== */
.page-content {
  background: var(--bg-white);
  max-width: 900px;
  margin: 0 auto 15px;
  padding: 30px;
}
.page-content h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--sky-blue);
}

/* ===== Responsive ===== */
@media (max-width: 1210px) {
  .container { max-width: 960px; }
  .wall, .information, .navigation { width: 100%; overflow: hidden; }
  .bk, .hot_info_wrapper, .hot_mt_wrapper, .software, .today-news { width: 100%; }
  .ify-main { max-width: 960px; }
  .left.w900 { width: 640px; }
  .left.w300 { width: 300px; }
  .classinfo { width: 640px; }
  .info-list { width: 640px; }
  .info-list-name { width: 85px; }
  .info-list-con { width: 543px; }
  .bk-right { width: 300px; }
  .bk-left { width: 640px; }
  .bk-left-con { width: 640px; }
  .bk-title, .section-head { width: 640px; }
  .bk-left-list { width: 640px; }
  .bk-left-list li { width: 50%; }
  .bk-article-item { width: 640px; }
  .advertising { width: 100%; }
  .advertising img { width: 100%; }
}
/* ================================================
   MOBILE RESPONSIVE - etest8 mobile style
   ================================================ */

/* ---- 1200px=desktop, no changes ---- */

/* ---- 1024px tablet: reduce sidebar ---- */
@media (max-width: 1024px) {
  .container { max-width: 100%; padding: 0; }
  .ify-main { max-width: 100%; padding: 0 10px; }
  .ify-main > .left { width: 100% !important; }
  .left.w900 { width: 100% !important; }
  .left.w300 { display: none; }
  .bk-left { width: 100% !important; }
  .bk-right { display: none; }
  .classinfo { width: 100%; }
  .advertising { width: 100%; }
  .advertising img { width: 100%; height: auto; }
  .hot_info_wrapper, .hot_mt_wrapper, .software, .today-news { width: 100%; }
  .info-list-name { width: 80px !important; }
  .info-list-bor { width: calc(100% - 90px) !important; }
  .info-list-con { padding: 10px 8px 6px !important; }
}

/* ---- 768px mobile ---- */
@media (max-width: 768px) {
  /* reset body */
  body { min-width: 0; overflow-x: hidden; font-size: 13px !important; }
  .container { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }

  /* wall bar - hide on mobile */
  .wall { display: none !important; }

  /* information area */
  .information { padding: 10px 12px !important; background: #fff !important; }
  .information .container { flex-direction: column !important; align-items: flex-start !important; }
  #logo { float: none !important; margin-bottom: 10px !important; }
  #logo img { height: 36px !important; width: auto !important; }
  .ui-grid-main1 { float: none !important; width: 100% !important; margin: 0 !important; }
  .seh { width: 100% !important; border-radius: 4px !important; margin: 0 !important; }
  .seh input[type="text"] { font-size: 13px !important; height: 36px !important; line-height: 36px !important; padding: 0 8px !important; }
  .seh button { padding: 0 14px !important; height: 36px !important; font-size: 13px !important; }
  .info-phone { float: none !important; font-size: 18px !important; margin: 8px 0 0 !important; }
  .info-phone .icon-dianhua { display: inline-block !important; vertical-align: middle !important; }

  /* mobile nav - hamburger */
  .navigation { min-width: 0 !important; background-color: #38bbf4 !important; position: sticky !important; top: 0 !important; z-index: 999; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
  .navigation .container { display: flex !important; align-items: center !important; }
  .nav-list { display: none !important; width: 100%; background: #fff; position: absolute; top: 50px; left: 0; right: 0; max-height: 70vh; overflow-y: auto; border-top: 1px solid #eee; z-index: 1000; }
  .nav-list.nav-open { display: block !important; }
  .nav-list li { float: none !important; width: 100% !important; height: auto !important; border-bottom: 1px solid #f0f0f0 !important; }
  .nav-list li a { padding: 12px 16px !important; font-size: 14px !important; color: #333 !important; display: block !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-list li a:hover { color: #38bbf4 !important; background: #f9f9f9; }
  .nav-list .en { display: none !important; }
  .nav-toggle { display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: none; cursor: pointer; margin-left: auto; padding: 0 12px; position: relative; flex-shrink: 0; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: all .2s; border-radius: 2px; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 22px; height: 2px; background: #fff; position: absolute; left: 0; transition: all .2s; border-radius: 2px; }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }
  .nav-toggle.active span { background: transparent; }
  .nav-toggle.active span::before { transform: rotate(45deg); top: 0; background: #333; }
  .nav-toggle.active span::after { transform: rotate(-45deg); top: 0; background: #333; }

  /* main area */
  #main { margin: 8px 0 0 !important; }
  .ify-main { max-width: 100% !important; padding: 0 !important; display: block !important; }
  .ify-main > .left { float: none !important; width: 100% !important; }

  /* banner */
  .ify-banner { height: 117px !important; overflow: hidden; }
  .ify-banner img, .ify-banner .swiper-container { height: 117px !important; }

  /* province nav - horizontal scroll */
  .ify-nav-box { margin: 8px 0 !important; padding: 8px 0 !important; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ify-nav-box::-webkit-scrollbar { display: none; }
  .ify-nav-name { white-space: nowrap !important; overflow-x: auto !important; font-size: 13px !important; border-left: none !important; padding-left: 12px !important; }
  .ify-nav-img { display: none !important; }
  .ify-nav-name a { font-size: 13px !important; margin: 0 4px !important; }

  /* category info */
  .classinfo { width: 100% !important; background: #fff !important; }
  .info-list { display: flex !important; flex-direction: column !important; border-bottom: 1px solid #eee !important; padding: 0 !important; }
  .info-list-name { float: none !important; width: 100% !important; font-size: 14px !important; font-weight: bold !important; color: #333 !important; padding: 10px 12px !important; background: #f8f8f8 !important; border-left: 3px solid #38bbf4 !important; line-height: 1.4 !important; }
  .info-list-bor { float: none !important; width: 100% !important; height: auto !important; overflow: visible !important; }
  .info-list-con { padding: 8px 12px !important; display: flex !important; flex-wrap: wrap !important; gap: 6px !important; border: none !important; box-shadow: none !important; }
  .info-list-con a { font-size: 13px !important; padding: 4px 10px !important; background: #f5f5f5 !important; border-radius: 3px !important; color: #333 !important; white-space: nowrap !important; display: inline-block !important; }

  /* ad */
  .advertising { width: 100% !important; padding: 0 !important; }
  .advertising img { width: 100% !important; height: auto !important; display: block !important; }

  /* bk blocks */
  .bk { width: 100% !important; padding: 0 !important; background: #fff !important; margin: 8px 0 !important; }
  .bk-left { float: none !important; width: 100% !important; }
  .bk-right { display: none !important; }
  .bk-title h3 { font-size: 16px !important; }
  .bk-title .more { font-size: 12px !important; }
  .bk-left-list { width: 100% !important; }
  .bk-left-list li { width: 100% !important; font-size: 13px; display: flex; align-items: baseline; }
  .bk-left-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: #38bbf4; border-radius: 50%; margin-right: 8px; flex-shrink: 0; }

  /* article cards */
  .bk-article-list { width: 100%; }
  .bk-article-item { width: 100% !important; display: flex; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
  .article-date { flex-shrink: 0; width: 48px; height: 48px; background: #38bbf4; color: #fff; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin-right: 12px; }
  .article-date small { font-size: 11px; opacity: .8; }
  .bk-article-item a { font-size: 14px !important; line-height: 1.6; color: #333; }

  /* exam reminder table */
  .kststab { margin: 8px 12px !important; border-radius: 6px; overflow: hidden; border: 1px solid #e5e5e5; }
  .kststab table { font-size: 12px; width: 100%; }
  .kststab td { padding: 6px 4px !important; }
  .kststab-top { padding: 8px 12px; background: #fafafa; }
  .kststab-title { padding: 8px 12px; font-size: 13px; border-bottom: 1px solid #eee; }

  /* login card */
  .enter { margin: 8px 12px !important; border-radius: 6px; overflow: hidden; }
  .ente-con { padding: 12px !important; }
  .ente-info { margin-bottom: 8px; }
  .enter-login li { height: 36px !important; }
  .enter-btn input[type="submit"] { font-size: 13px !important; padding: 6px 16px !important; }

  /* hot info */
  .hot_info_wrapper { width: 100% !important; padding: 0 12px; box-sizing: border-box; }
  .hot-title { padding: 12px 0 8px !important; border-top: 2px solid #38bbf4 !important; }
  .hot-title h3 { font-size: 15px !important; }
  .hot_info_list_wrapper a { font-size: 13px !important; padding: 8px 0 !important; }

  /* media matrix */
  .hot_mt_wrapper { width: 100% !important; flex-direction: column; margin: 8px 12px !important; border-radius: 6px; overflow: hidden; border: 1px solid #e5e5e5 !important; }
  .hot_mt_wrapper .title { border-right: none !important; border-bottom: 1px solid #e5e5e5; padding: 10px 12px; font-size: 14px; }
  .hot_mt_list { flex-wrap: wrap !important; padding: 10px 12px !important; gap: 6px !important; height: auto !important; }
  .hot_mt_list a { font-size: 12px !important; padding: 4px 10px !important; }

  /* software area */
  .software { width: 100% !important; padding: 0 12px; box-sizing: border-box; }
  .software-banner { flex-direction: column; }
  .software-banner a { display: block; padding: 8px 0; font-size: 13px; border-bottom: 1px solid #f0f0f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* pagination */
  .pagination { width: 100%; justify-content: center; padding: 12px; font-size: 13px; }

  /* footer */
  #colophon, .footer, .footer-wrapper { width: 100% !important; padding: 16px 12px !important; box-sizing: border-box; }
  .footer-grid { flex-direction: column !important; }
  .foot-col { width: 100% !important; float: none !important; padding: 10px 0 !important; border-bottom: 1px solid rgba(255,255,255,.1) !important; }
  .foot-col h4 { font-size: 14px !important; }
  .foot-col a, .foot-col p { font-size: 12px !important; }
  .footer-bottom { font-size: 11px !important; text-align: center !important; padding: 10px 0 !important; }

  /* single page */
  .single-content { padding: 12px !important; }
  .single-content h1 { font-size: 18px !important; line-height: 1.5; }
  .single-content p { font-size: 14px !important; line-height: 1.8; }
  .breadcrumb { padding: 8px 12px; font-size: 12px; background: #f5f5f5; overflow: hidden; }

  /* right sidebar on mobile = stacked */
  .left.w300 { float: none !important; width: 100% !important; display: block !important; }
}

/* ---- 480px narrow ---- */
@media (max-width: 480px) {
  .info-phone { font-size: 16px !important; }
  .info-list-con a { font-size: 12px !important; padding: 3px 8px !important; }
  .ify-banner { height: 90px !important; }
  .ify-banner img { height: 90px !important; }
  .bk-article-item a { font-size: 13px !important; }
  .hot_mt_list a { font-size: 11px !important; }
}

/* ---- 375px iPhone SE ---- */
@media (max-width: 375px) {
  body { font-size: 12px !important; }
  .info-list-name { font-size: 13px !important; }
  .nav-list li a { padding: 10px 12px !important; font-size: 13px !important; }
  .ify-nav-name a { font-size: 12px !important; }
}



/* ===== Utility ===== */
.hidden { display: none; }
.text-muted { color: var(--text-muted); }
.text-sky { color: var(--sky-blue); }
.bg-white { background: var(--bg-white); }
.bg-gray { background: var(--bg-gray); }
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
