/* 高考数据网 PC 端样式覆盖，加载在 main.css 之后。
   主要把大圆角、阴影、胶囊这些改回老门户的直角细线排版。 */

/* 换掉 main.css 里那套偏科技蓝的配色，下面用到这些变量的地方会跟着变 */
:root {
    --brand: #1667a8;
    --brand-dark: #12548c;
    --brand-deep: #0d3f6d;
    --brand-soft: #eaf2fa;
    --brand-pale: #f4f8fc;
    --brand-line: #c3d9ec;
    --ink: #1a1a1a;
    --text: #333333;
    --muted: #767676;
    --line: #e2e2e2;
    --line-strong: #cccccc;
    --surface: #ffffff;
    --canvas: #f5f5f5;
    --danger: #c8161d;
    --font-sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

body {
    min-width: 1200px;
    background: #f5f5f5;
    color: #333;
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}
a { color: #1a1a1a; text-decoration: none; }
a:hover { color: #12548c; text-decoration: underline; }
img { border: 0; display: block; }
button, a, input, select { transition: color .15s, background-color .15s, border-color .15s; }

/* 头部 */
.site-header { background: #fff; border-bottom: 1px solid #e2e2e2; }
.head { background: #fff; border-bottom: 1px solid #e2e2e2; }
.head-inner { height: 68px; display: flex; align-items: center; gap: 20px; }
.logo { width: 200px; flex: 0 0 200px; display: inline-flex; align-items: center; }
.logo img { max-width: 196px; max-height: 46px; width: auto; height: auto; }

.site-search {
    flex: 1;
    max-width: 430px;
    height: 34px;
    display: grid;
    grid-template-columns: 1fr 76px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    overflow: hidden;
}
.site-search input {
    min-width: 0; height: 32px; border: 0; outline: 0; padding: 0 12px;
    color: #1a1a1a; font-size: 13px;
}
.site-search input::placeholder { color: #a0a0a0; }
.site-search button {
    border: 0; background: #12548c; color: #fff; font-size: 13px; cursor: pointer;
}
.site-search button:hover { background: #0d3f6d; }

.head-links { margin-left: auto; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.head-btn { position: relative; }
.head-btn-link {
    height: auto;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    background: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: normal;
    color: #767676;
    line-height: 20px;
}
.head-btn-link:hover { color: #12548c; text-decoration: underline; }
.head-btn-pop {
    position: absolute;
    top: 30px;
    right: 0;
    width: 700px;
    padding: 0;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 120;
}
.head-btn:hover .head-btn-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.head-btn-pop img {
    width: 700px;
    height: 300px;
    object-fit: cover;
    display: block;
    border: 1px solid #e2e2e2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.main-nav { background: #12548c; border-bottom: 0; }
.main-nav .wrap { display: grid; grid-template-columns: repeat(10, 1fr); }
.main-nav a {
    height: 42px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 15px; font-weight: normal; white-space: nowrap;
}
.main-nav a:hover, .main-nav .nav-home { background: #0d3f6d; color: #fff; text-decoration: none; }

.sub-nav { height: 34px; background: #fafafa; border-bottom: 1px solid #e2e2e2; }
.sub-nav .wrap { height: 34px; display: flex; align-items: center; gap: 0; white-space: nowrap; }
.sub-nav strong { color: #12548c; font-size: 13px; font-weight: normal; flex-shrink: 0; padding-right: 10px; }
.sub-nav a {
    font-size: 13px; color: #555; padding: 0 14px;
    border-right: 1px solid #e6e6e6;
}
.sub-nav a:last-child { border-right: 0; }
.sub-nav a:hover { color: #12548c; text-decoration: none; }

/* 栏目标题 */
.block-heading {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 9px;
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 14px;
}
.block-heading h2 {
    position: relative;
    padding-left: 11px;
    color: #1a1a1a;
    font-size: 19px;
    line-height: 1.3;
    font-weight: bold;
    letter-spacing: 0;
}
.block-heading h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    background: #12548c;
}
.block-heading > a { font-size: 13px; color: #888; }
.block-heading > a:hover { color: #12548c; }
.block-heading > p { color: #767676; font-size: 13px; }

.compact-heading { min-height: 0; margin-bottom: 10px; padding-bottom: 7px; }
.compact-heading h2 { font-size: 17px; }
.home-page .block-heading h2,
.home-page .compact-heading h2 { font-size: 19px; color: #1a1a1a; font-weight: bold; letter-spacing: 0; }

/* 首页 */
.home-page { padding-top: 14px; }
.content-section {
    margin-top: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e2e2e2;
}

.gaokao-countdown { background: #fff; border-top: 0; border-bottom: 1px solid #e2e2e2; }
.gaokao-countdown p { max-width: 1200px; margin: 0 auto; padding: 8px 16px; font-size: 13px; line-height: 1.6; color: #555; }
.gaokao-countdown strong { color: #c8161d; font-size: 15px; }

.college-logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.college-logo-card {
    min-height: 0;
    display: flex; flex-direction: column; align-items: center;
    padding: 12px 10px 11px;
    border: 1px solid #e2e2e2;
    border-radius: 0;
    background: #fff;
    text-align: center;
    transition: border-color .15s;
}
.college-logo-card:hover { border-color: #1667a8; box-shadow: none; transform: none; }
.college-logo-ring {
    width: 66px; height: 66px; border-radius: 50%; overflow: hidden;
    background: #f4f4f4; border: 1px solid #e8e8e8;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.college-logo-ring img { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; }
.college-logo-name {
    width: 100%; margin-top: 8px; font-size: 14px; font-weight: normal; color: #1a1a1a; line-height: 1.4;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.college-logo-remark {
    width: 100%; margin-top: 3px; color: #999; font-size: 12px; line-height: 1.45;
    display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
}
.college-logo-card:hover .college-logo-name { color: #12548c; }
.college-empty { padding: 26px 0; color: #767676; text-align: center; font-size: 13px; background: #fafafa; border: 1px dashed #ccc; }

.college-tabs { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 14px; border-bottom: 1px solid #e2e2e2; }
.college-tab {
    min-height: 30px; padding: 0 15px; margin-bottom: -1px;
    border: 1px solid #e2e2e2; border-bottom: 0;
    background: #fafafa; color: #555; font-size: 13px; font-weight: normal;
    cursor: pointer; border-radius: 0;
}
.college-tab:hover { border-color: #1667a8; color: #12548c; }
.college-tab.active { background: #fff; border-color: #1667a8; color: #12548c; font-weight: bold; }

/* 缩略图统一 160x90，用 contain 让 1:1 的校徽图也能完整显示 */
.news-two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.media-news-item {
    min-width: 0; display: grid; grid-template-columns: 160px 1fr; gap: 12px;
    padding: 12px 0; border-bottom: 1px dashed #e2e2e2;
}
.media-thumb { width: 160px; height: 90px; overflow: hidden; background: #fff; border-radius: 0; }
.media-thumb img { width: 100%; height: 100%; object-fit: contain; }
.media-news-item h3 {
    font-size: 15px; line-height: 1.45; margin-bottom: 4px; font-weight: normal;
    overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.media-news-item h3 a { color: #1a1a1a; }
.media-news-item h3 a:hover { color: #12548c; text-decoration: none; }
.media-news-item p {
    display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
    color: #888; font-size: 13px; line-height: 1.5;
}
.media-news-item time { display: block; margin-top: 3px; color: #aaa; font-size: 12px; }

.cate-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; padding: 14px 16px; }
.cate-column { min-width: 0; }
.cate-column .block-heading { margin-bottom: 6px; }
.cate-wide { grid-column: 1 / -1; border-top: 1px solid #e2e2e2; margin-top: 4px; padding-top: 4px; }
.cate-news-list { min-width: 0; }
.cate-news-list .media-news-mini {
    display: grid; grid-template-columns: 160px 1fr; gap: 10px; align-items: center;
    padding: 9px 0; border-bottom: 1px dashed #e2e2e2;
}
.cate-news-list .media-news-mini:last-child { border-bottom: 0; }
.cate-news-list .mini-thumb { width: 160px; height: 90px; overflow: hidden; border-radius: 0; background: #fff; flex-shrink: 0; }
.cate-news-list .mini-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cate-news-list .media-news-mini:hover .mini-thumb img { transform: none; }
.cate-news-list .media-news-mini h3 { font-size: 14px; line-height: 1.45; font-weight: normal; margin: 0; }
.cate-news-list .media-news-mini h3 a {
    display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    color: #1a1a1a;
}
.cate-news-list .media-news-mini h3 a:hover { color: #12548c; text-decoration: none; }
.cate-news-list .media-news-mini .mini-summary {
    display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
    margin-top: 3px; color: #999; font-size: 12px; line-height: 1.5;
}
.cate-news-list .media-news-mini time { display: block; margin-top: 3px; color: #aaa; font-size: 12px; }
.cate-news-wide .media-news-mini { grid-template-columns: 160px 1fr; }
.cate-news-wide .mini-thumb { width: 160px; height: 90px; }

.ranked-news-list { counter-reset: rank; }
.ranked-news-list li {
    counter-increment: rank; min-width: 0;
    display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start;
    padding: 7px 0; border-bottom: 1px dashed #e2e2e2;
}
.ranked-news-list li::before {
    content: counter(rank); width: 18px; height: 18px; line-height: 18px;
    text-align: center; background: #f0f0f0; color: #777;
    font-size: 11px; border-radius: 0;
}
.ranked-news-list li:nth-child(-n+3)::before { background: #12548c; color: #fff; }
.ranked-news-list li span { display: none; }
.ranked-news-list a { font-size: 14px; line-height: 1.5; }

.employment-gallery { padding: 16px 18px 18px; overflow: hidden; }
.employment-heading { min-height: 0; margin-bottom: 12px; }
.employment-heading-note { color: #767676; font-size: 13px; }
.employment-carousel { display: flex; align-items: center; gap: 8px; }
.employment-viewport { min-width: 0; flex: 1; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.employment-viewport::-webkit-scrollbar { display: none; }
.employment-track { width: max-content; display: flex; gap: 12px; padding: 3px 2px 6px; }
.employment-card { width: 160px; flex: 0 0 160px; overflow: hidden; border: 1px solid #e2e2e2; background: #fff; border-radius: 0; }
.employment-card:hover { border-color: #1667a8; box-shadow: none; transform: none; }
.employment-cover { display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: #f0f0f0; }
.employment-cover img { width: 100%; height: 100%; object-fit: cover; }
.employment-card:hover .employment-cover img { transform: none; }
.employment-card-body { min-height: 84px; display: block; padding: 9px 10px 10px; }
.employment-card-title {
    display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    color: #1a1a1a; font-size: 13px; font-weight: normal; line-height: 1.5;
}
.employment-card-body > span {
    display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    margin-top: 4px; color: #999; font-size: 12px; line-height: 1.5;
}
.employment-arrow {
    width: 30px; height: 30px; flex: 0 0 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #ccc; border-radius: 0;
    background: #fff; color: #666; font-size: 20px; line-height: 1; cursor: pointer;
}
.employment-arrow:hover { border-color: #12548c; background: #12548c; color: #fff; }

.province-grid { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid #e2e2e2; border-left: 1px solid #e2e2e2; }
.province-grid a {
    min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 3px;
    border-right: 1px solid #e2e2e2; border-bottom: 1px solid #e2e2e2;
    font-size: 13px; color: #1a1a1a;
}
.province-grid a:hover { background: #eaf2fa; color: #12548c; text-decoration: none; }
.province-grid span { color: #999; font-size: 12px; }

.friend-links { margin-top: 16px; padding: 12px 18px; background: #fff; border: 1px solid #e2e2e2; font-size: 13px; }
.friend-links strong { color: #1a1a1a; margin-right: 14px; font-weight: bold; }
.friend-links a { margin-right: 14px; color: #666; }

/* 内页骨架 */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid #e2e2e2; }
.breadcrumb-bar .wrap { min-height: 38px; display: flex; align-items: center; gap: 7px; color: #888; font-size: 13px; }
.breadcrumb-bar a { color: #666; }
.breadcrumb-bar a:hover { color: #12548c; }

.page-layout { display: grid; grid-template-columns: 846px 324px; gap: 20px; align-items: start; padding-top: 14px; padding-bottom: 30px; }
.page-main { min-width: 0; background: #fff; border: 1px solid #e2e2e2; border-radius: 0; padding: 20px 22px; overflow: hidden; }
.page-sidebar { min-width: 0; }

.page-title-block { border-bottom: 1px solid #e2e2e2; padding-bottom: 12px; margin-bottom: 4px; }
.page-title-block h1 { color: #1a1a1a; font-size: 24px; line-height: 1.4; font-weight: bold; }
.page-title-block p { margin-top: 6px; color: #767676; font-size: 13px; line-height: 1.7; }

.article-list-item {
    min-width: 0; display: grid; grid-template-columns: 160px 1fr; gap: 16px;
    padding: 15px 0; border-bottom: 1px dashed #e2e2e2;
}
.article-list-item:last-child { border-bottom: 0; }
.article-list-thumb { width: 160px; height: 90px; overflow: hidden; background: #fff; border-radius: 0; }
.article-list-thumb img { width: 100%; height: 100%; object-fit: contain; }
.article-list-item:hover .article-list-thumb img { transform: none; }
.article-list-body { min-width: 0; }
.article-list-body h2 {
    font-size: 17px; line-height: 1.45; margin-bottom: 5px; font-weight: normal;
    overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.article-list-body h2 a { color: #1a1a1a; }
.article-list-body h2 a:hover { color: #12548c; text-decoration: none; }
.article-list-body p {
    display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    color: #888; font-size: 13px; line-height: 1.6;
}
.article-list-meta { display: flex; gap: 14px; margin-top: 6px; color: #aaa; font-size: 12px; }

.pagination-wrap { margin-top: 20px; }
.pager { display: flex; flex-wrap: wrap; gap: 4px; }
.pager a, .pager span {
    min-width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 8px; border: 1px solid #ccc; background: #fff;
    color: #555; font-size: 13px; border-radius: 0;
}
.pager a:hover, .pager a.cur, .pager .cur { background: #12548c; border-color: #12548c; color: #fff; text-decoration: none; }

/* 详情页 */
.article-header { padding-bottom: 12px; border-bottom: 1px solid #e2e2e2; text-align: left; }
.article-category { color: #12548c; font-size: 13px; font-weight: normal; }
.article-header h1 { max-width: none; color: #1a1a1a; font-size: 26px; line-height: 1.4; margin: 6px 0 10px; font-weight: bold; word-break: break-word; }
.article-meta { display: flex; gap: 16px; color: #888; font-size: 13px; }
.article-meta > span + span { padding-left: 16px; border-left: 1px solid #e2e2e2; }
.article-source { color: #888; font-size: 13px; }

/* 正文用固定 16px，字号调节在详情页脚本里直接改 font-size */
.article-content {
    padding: 4px 0 6px;
    color: #333;
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: break-word;
}
.article-content p { margin: 14px 0; text-align: justify; font-size: 16px; line-height: 1.85; color: #333; }
.article-content li { font-size: 16px; line-height: 1.85; color: #333; }
.article-content h2 {
    color: #1a1a1a; font-size: 18px; line-height: 1.5;
    margin: 1.5em 0 .6em; font-weight: bold;
    border-left: 0; padding-left: 0;
}
.article-content h3 { color: #1a1a1a; font-size: 16px; margin: 1.2em 0 .5em; font-weight: bold; }
.article-content h4 { color: #1a1a1a; font-size: 15px; margin: 1.1em 0 .5em; font-weight: bold; }
.article-content img {
    max-width: 100%; height: auto; margin: 16px auto;
    border-radius: 0; box-shadow: none; border: 1px solid #e2e2e2;
}
.article-content a { color: #12548c; text-decoration: underline; text-underline-offset: 3px; }
.article-content ul, .article-content ol { margin: .8em 0 1.1em 2em; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content blockquote {
    margin: 16px 0; padding: 12px 16px;
    background: #fafafa; border-left: 3px solid #ccc;
    border-radius: 0; color: #555;
}
.article-content strong { color: #1a1a1a; }

.table-scroll { width: 100%; overflow-x: auto; margin: 16px 0; -webkit-overflow-scrolling: touch; }
.article-content table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 13px;
    line-height: 1.6;
    border: 1px solid #ccc;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}
.article-content th, .article-content td {
    border-bottom: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
    padding: 7px 10px;
    vertical-align: middle;
    text-align: left;
}
.article-content th:last-child, .article-content td:last-child { border-right: 0; }
/* 表头不要底色 */
.article-content th {
    background: transparent;
    color: #1a1a1a;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}
/* 表格是 UEditor 导出的，第一行用 td.firstRow 当表头，加粗居中区分 */
.article-content td.firstRow,
.article-content tbody tr:first-child td {
    font-weight: bold;
    color: #1a1a1a;
    text-align: center;
    background: transparent;
}
.article-content tbody tr:last-child td { border-bottom: 0; }
.article-content tbody tr:nth-child(even) td { background: #fafafa; }
.article-content tbody tr:hover td { background: #f4f8fc; }

.related-section { clear: both; margin-top: 22px; overflow: hidden; }
.related-list { display: grid; grid-template-columns: 1fr; }
.related-item {
    display: grid; grid-template-columns: 160px 1fr; gap: 12px;
    align-items: stretch; min-width: 0; min-height: 90px;
    padding: 10px 0; border-bottom: 1px dashed #e2e2e2;
}
.related-item .related-thumb {
    display: block; width: 160px; height: 90px;
    overflow: hidden; border-radius: 0; background: #fff;
}
.related-item .related-thumb img { width: 160px; height: 90px; display: block; object-fit: contain; }
.related-body { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.related-item h3 { margin: 0 0 4px; font-size: 15px; line-height: 1.45; font-weight: normal; }
.related-item h3 a {
    color: #1a1a1a;
    display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.related-item h3 a:hover { color: #12548c; text-decoration: none; }
.related-item time, .related-meta time { color: #aaa; font-size: 12px; }
.related-meta { margin: 0; display: flex; gap: 12px; align-items: baseline; color: #aaa; font-size: 12px; }

.reading-toolbar { position: fixed; left: 10px; top: 50%; transform: translateY(-50%); z-index: 999; display: flex; flex-direction: column; gap: 6px; }
.tool-btn {
    position: relative; width: 42px;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    background: transparent; border: 0; padding: 0; cursor: pointer; user-select: none;
}
.tool-icon {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid #ccc; border-radius: 0;
    box-shadow: none; color: #666; font-size: 14px; font-weight: normal;
    transition: color .15s, background-color .15s, border-color .15s;
}
.tool-name { font-size: 12px; color: #888; }
.tool-btn:hover .tool-icon { border-color: #12548c; background: #12548c; color: #fff; transform: none; }
.tool-btn:hover .tool-name { color: #12548c; }
.tool-btn.back-top { opacity: 0; pointer-events: none; transform: translateY(-4px); }
.tool-btn.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

.share-pop {
    position: absolute; left: 46px; top: 50%; transform: translateY(-50%);
    width: 170px; padding: 12px; background: #fff;
    border: 1px solid #ccc; border-radius: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .12); text-align: center; z-index: 1000;
}
.share-pop-title { font-size: 13px; color: #1a1a1a; margin-bottom: 8px; }
.share-pop-qr { width: 120px; height: 120px; margin: 0 auto 8px; }
.share-pop-qr img { width: 120px; height: 120px; display: block; }
.share-pop-copy {
    width: 100%; height: 30px; border: 0; border-radius: 0;
    background: #12548c; color: #fff; font-size: 13px; cursor: pointer;
}
.share-pop-copy:hover { background: #0d3f6d; }
.link-toast {
    position: fixed; left: 50%; top: 40%; transform: translate(-50%, -50%);
    padding: 9px 18px; background: rgba(0, 0, 0, .82); color: #fff;
    font-size: 13px; border-radius: 0; z-index: 1001;
    opacity: 0; pointer-events: none; transition: opacity .2s;
}

/* 侧栏 */
.sidebar-panel {
    background: #fff; border: 1px solid #e2e2e2; border-radius: 0;
    margin-bottom: 12px; padding: 14px 16px;
}
.sidebar-query { border-top: 2px solid #12548c; }
.sidebar-query h2 { color: #1a1a1a; font-size: 17px; font-weight: bold; margin-bottom: 10px; }
.sidebar-query form { display: grid; grid-template-columns: 1fr 60px; height: 32px; border: 1px solid #ccc; border-radius: 0; overflow: hidden; }
.sidebar-query input { min-width: 0; border: 0; outline: 0; padding: 0 10px; font-size: 13px; }
.sidebar-query button { border: 0; background: #12548c; color: #fff; font-size: 13px; cursor: pointer; }
.sidebar-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.sidebar-shortcuts a { padding: 6px 8px; background: #f7f7f7; color: #555; font-size: 13px; text-align: center; border-radius: 0; }
.sidebar-shortcuts a:hover { background: #eaf2fa; color: #12548c; text-decoration: none; }

.sidebar-heading { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid #e2e2e2; padding-bottom: 8px; }
.sidebar-heading h2 { color: #1a1a1a; font-size: 16px; font-weight: bold; }
.sidebar-heading > a { color: #888; font-size: 12px; }

.sidebar-news-list { counter-reset: sidebar-rank; padding-top: 4px; }
.sidebar-news-list li {
    counter-increment: sidebar-rank; min-width: 0;
    display: grid; grid-template-columns: 18px 1fr; gap: 8px;
    padding: 8px 0; border-bottom: 1px dashed #e2e2e2;
}
.sidebar-news-list li:last-child { border-bottom: 0; }
.sidebar-news-list li::before {
    content: counter(sidebar-rank); width: 18px; height: 18px; line-height: 18px;
    text-align: center; background: #f0f0f0; color: #777;
    font-size: 11px; border-radius: 0;
}
.sidebar-news-list li:nth-child(-n+3)::before { background: #12548c; color: #fff; }
.sidebar-news-list li span { display: none; }
.sidebar-news-list a { min-width: 0; font-size: 13px; line-height: 1.5; }

.sidebar-university-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding-top: 4px; }
.sidebar-university-list li { min-width: 0; border-bottom: 1px dashed #e2e2e2; }
.sidebar-university-list a { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 8px 0; color: #555; font-size: 13px; overflow: hidden; }
.sidebar-university-list a:hover { color: #12548c; }
.sidebar-university-list img { width: 32px; height: 32px; flex: 0 0 32px; object-fit: cover; border-radius: 50%; background: #f0f0f0; }
.sidebar-university-list span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.sidebar-feature-list { padding-top: 2px; }
.sidebar-feature-list > a {
    min-width: 0; display: grid; grid-template-columns: 88px 1fr; gap: 9px;
    align-items: center; padding: 9px 0; border-bottom: 1px dashed #e2e2e2;
}
.sidebar-feature-list img { width: 88px; height: 58px; display: block; object-fit: contain; background: #fff; border-radius: 0; }
.sidebar-feature-list span {
    display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.5;
    -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}

.sidebar-qr { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e2e2e2; text-align: center; }
.sidebar-qr img { width: 100%; height: auto; display: block; border-radius: 0; }
.sidebar-qr p { margin-top: 6px; font-size: 12px; color: #767676; }

.sidebar-change {
    border: 0; background: none; color: #888; font-size: 12px;
    cursor: pointer; padding: 0; border-radius: 0;
}
.sidebar-change:hover { color: #12548c; text-decoration: underline; }

.sidebar-univ-new { display: block; padding-top: 2px; }
.sidebar-univ-new li { border-bottom: 1px dashed #e2e2e2; }
.sidebar-univ-new li:last-child { border-bottom: 0; }
.sidebar-univ-new a { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.sidebar-univ-new img { width: 40px; height: 40px; flex: 0 0 40px; object-fit: cover; border-radius: 50%; background: #f0f0f0; }
.sidebar-univ-new .univ-info { min-width: 0; flex: 1; }
.sidebar-univ-new .univ-name { display: block; font-size: 14px; color: #1a1a1a; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sidebar-univ-new .univ-remark { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1; margin-top: 2px; font-size: 12px; color: #999; line-height: 1.5; }
.sidebar-univ-new a:hover .univ-name { color: #12548c; }

.province-section { padding-bottom: 10px; }
.province-links { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 4px; }
.province-links a {
    height: 28px; display: flex; align-items: center; justify-content: center;
    color: #666; font-size: 13px; border-bottom: 1px dashed #e2e2e2;
}
.province-links a:hover { background: #eaf2fa; color: #12548c; text-decoration: none; }

/* 页脚 */
.site-footer { background: #fff; border-top: 1px solid #e2e2e2; }
.footer-main { display: flex; justify-content: center; padding: 22px 0 18px; text-align: center; }
.footer-brand > strong { color: #1a1a1a; font-size: 18px; font-weight: bold; }
.footer-brand p { max-width: 40em; margin: 8px auto 0; color: #767676; font-size: 13px; line-height: 1.7; }
.footer-bottom { background: #f2f2f2; border-top: 1px solid #e2e2e2; padding: 12px 0; color: #777; font-size: 12px; text-align: center; }
.footer-bottom p + p { margin-top: 4px; }
.footer-bottom a { color: #666; }
.footer-bottom a:hover { color: #12548c; }
.footer-sep { margin: 0 8px; color: #ccc; }

.empty-state { padding: 20px; color: #767676; text-align: center; background: #fafafa; border: 1px dashed #ccc; }
.large-empty { padding: 60px 20px; }
.large-empty strong { display: block; color: #1a1a1a; font-size: 18px; margin-bottom: 6px; font-weight: bold; }
