/* ============================================
   陕西单招网 PbootCMS 模板样式
   配色：教育蓝白
   主色 #1a5fb4 | 辅色 #e8f1fa | 强调 #ff6b35
   ============================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #2c3e50;
    background: #f5f7fa;
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: #1a5fb4; text-decoration: none; transition: color .2s; }
a:hover { color: #ff6b35; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, button { font-family: inherit; font-size: inherit; border: none; outline: none; }
button { cursor: pointer; }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ---- Top Bar ---- */
.top-bar {
    background: #0d3b6f;
    color: #b3d4f5;
    font-size: 13px;
    padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.welcome-text { opacity: .9; }
.top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-date { color: #8ec5fc; }
.top-consult {
    color: #fff;
    background: #ff6b35;
    padding: 3px 14px;
    border-radius: 3px;
    font-size: 12px;
    transition: background .2s;
}
.top-consult:hover { background: #e85a28; color: #fff; }

/* ---- Header Main ---- */
.header-main {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo-area a { display: block; }
.site-logo {
    height: 56px;
    width: auto;
    display: block;
}
.site-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a5fb4;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.2;
}
.site-subtitle {
    font-size: 12px;
    color: #888;
    letter-spacing: 1px;
    margin-top: 4px;
}
.header-right { display: flex; align-items: center; gap: 30px; }
.hotline { text-align: right; }
.hotline-label { display: block; font-size: 12px; color: #888; }
.hotline-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
    font-family: "Arial", sans-serif;
}

/* ---- Search ---- */
.search-box { flex-shrink: 0; }
.search-form { display: flex; border: 2px solid #1a5fb4; border-radius: 4px; overflow: hidden; }
.search-input {
    width: 220px;
    padding: 8px 12px;
    font-size: 14px;
    border: none;
}
.search-btn {
    background: #1a5fb4;
    color: #fff;
    padding: 8px 20px;
    font-size: 14px;
    transition: background .2s;
}
.search-btn:hover { background: #164a8c; }

/* ---- Navigation ---- */
.main-nav {
    background: linear-gradient(135deg, #1a5fb4, #0d3b6f);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(26,95,180,.3);
}
.nav-list { display: flex; }
.nav-item { position: relative; }
.nav-item > a {
    display: block;
    color: #fff;
    padding: 15px 22px;
    font-size: 15px;
    font-weight: 500;
    transition: all .2s;
    position: relative;
}
.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #ff6b35;
    transition: all .3s;
    transform: translateX(-50%);
}
.nav-item:hover > a { background: rgba(255,255,255,.1); color: #8ec5fc; }
.nav-item:hover > a::after { width: 60%; }
.nav-item.active > a { background: rgba(255,255,255,.15); }
.nav-item.active > a::after { width: 60%; }

/* Nav Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    border-radius: 0 0 6px 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s;
    z-index: 100;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li a {
    display: block;
    padding: 10px 18px;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: all .2s;
}
.nav-dropdown li:last-child a { border-bottom: none; }
.nav-dropdown li a:hover { background: #e8f1fa; color: #1a5fb4; padding-left: 24px; }

/* Mobile Nav Toggle */
.nav-mobile-toggle { display: none; cursor: pointer; padding: 10px; }
.nav-mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: .3s;
    border-radius: 2px;
}

/* ---- Mobile Search (hidden on desktop) ---- */
.mobile-search { display: none; background: #fff; padding: 10px 0; border-bottom: 1px solid #e8eaed; }
.mobile-search .search-form { border-width: 1px; }
.mobile-search .search-input { width: 100%; flex: 1; }

/* ============================================
   HERO / BANNER
   ============================================ */
.hero-section { position: relative; overflow: hidden; }
.banner-slider { position: relative; height: 380px; overflow: hidden; }
.banner-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .8s ease-in-out;
}
.banner-slide.active { opacity: 1; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    padding: 40px 0 30px;
    color: #fff;
}
.banner-overlay h2 { font-size: 26px; font-weight: 700; margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.banner-overlay p { font-size: 14px; opacity: .9; max-width: 600px; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

/* Banner Dots */
.banner-dots {
    position: absolute;
    bottom: 12px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 5;
}
.banner-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: .3s;
}
.banner-dot.active { background: #ff6b35; transform: scale(1.2); }

/* ============================================
   PATH SELECTOR (两轨路径选择区)
   ============================================ */
.path-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.path-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 30px;
    border-radius: 12px;
    color: #fff;
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}
.path-card::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.path-card::after {
    content: '';
    position: absolute;
    bottom: -40px; right: 40px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}
.path-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.path-card:hover .path-card-title,
.path-card:hover .path-card-sub,
.path-card:hover .path-card-arrow { color: #000; opacity: 1; }
.path-card:hover .path-card-links a { color: #000; border-color: #000; background: rgba(255,255,255,.4); }
.path-card-blue { background: linear-gradient(135deg, #2589d4, #0d3b6f); }
.path-card-orange { background: linear-gradient(135deg, #ff8c42, #d44a1a); }
.path-card-body { flex: 1; position: relative; z-index: 1; }
.path-card-title { font-size: 22px; font-weight: 700; margin-bottom: 4px; transition: color .2s; }
.path-card-sub { font-size: 13px; opacity: .85; margin-bottom: 10px; }
.path-card-links { display: flex; gap: 14px; flex-wrap: wrap; }
.path-card-links a {
    color: #fff;
    font-size: 13px;
    padding: 3px 12px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 20px;
    transition: all .2s;
}
.path-card-links a:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.path-card-arrow {
    flex-shrink: 0;
    font-size: 24px;
    opacity: .6;
    position: relative;
    z-index: 1;
}

/* ============================================
   QUICK ACCESS ICONS
   ============================================ */
.quick-access {
    background: #fff;
    padding: 30px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border-radius: 8px;
    margin-left: 15px;
    margin-right: 15px;
}
.quick-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.quick-item { text-align: center; transition: all .2s; }
.quick-item:hover { transform: translateY(-2px); }
.quick-item a {
    display: block;
    color: #333;
    padding: 14px 6px;
    transition: all .2s;
}
.quick-item a:hover { color: #1a5fb4; }
.quick-item p {
    font-size: 16px;
    color: inherit;
    margin: 0;
    font-family: 'SimHei', 'Heiti SC', 'STHeiti', 'Microsoft YaHei', sans-serif;
    font-weight: 700;
}

/* Quick Access Colors */
.qa-blue { background: linear-gradient(135deg, #4facfe, #00c6fb); }
.qa-purple { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.qa-green { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.qa-orange { background: linear-gradient(135deg, #fa709a, #fee140); }
.qa-red { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.qa-teal { background: linear-gradient(135deg, #2af598, #009efd); }
.qa-indigo { background: linear-gradient(135deg, #6a11cb, #2575fc); }
.qa-cyan { background: linear-gradient(135deg, #00b4db, #0083b0); }

/* ============================================
   SECTION LAYOUT
   ============================================ */
.section { padding: 30px 0; }
.section-gray { background: #f5f7fa; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    border-bottom: 2px solid #e8eaed;
    padding-bottom: 12px;
}
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a5fb4;
    position: relative;
    padding-left: 14px;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0; top: 4px;
    width: 4px; height: 22px;
    background: linear-gradient(180deg, #1a5fb4, #ff6b35);
    border-radius: 2px;
}
.section-title .sub { font-size: 14px; color: #999; font-weight: 400; margin-left: 10px; }
.section-more {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}
.section-more:hover { color: #ff6b35; }

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }

/* ---- News Card ---- */
.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 2px solid #f0f4f8;
}
.news-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a5fb4;
    padding-left: 12px;
    position: relative;
}
.news-card-title::before {
    content: '';
    position: absolute;
    left: 0; top: 2px;
    width: 3px; height: 18px;
    background: #ff6b35;
    border-radius: 2px;
}
.news-card-body { padding: 8px 18px 16px; }
.news-card-body li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.news-card-body li:last-child { border-bottom: none; }
.news-card-body li a {
    color: #444;
    font-size: 14px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
}
.news-card-body li a:hover { color: #1a5fb4; }
.news-card-body li .date { font-size: 12px; color: #aaa; flex-shrink: 0; }

/* Hot News Badge */
.news-card-body li.hot a::before {
    content: '热';
    display: inline-block;
    background: #ff6b35;
    color: #fff;
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
}
.news-card-body li.new a::before {
    content: '新';
    display: inline-block;
    background: #52c41a;
    color: #fff;
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
}

/* ---- Featured News (first item in card) ---- */
.news-featured {
    display: flex;
    gap: 14px;
    padding: 10px 0 14px;
    border-bottom: 2px solid #f0f4f8;
    margin-bottom: 6px;
}
.news-featured a { display: block; }
.news-featured-img {
    width: 140px; height: 90px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-featured:hover img { transform: scale(1.08); }
.news-featured-text { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.news-featured-text h3 { font-size: 15px; color: #333; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.news-featured-text p { font-size: 12px; color: #888; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ============================================
   COLLEGE / INSTITUTION CARDS
   ============================================ */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card-grid-6 { grid-template-columns: repeat(6, 1fr); }

.info-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: all .3s;
    border: 1px solid #f0f0f0;
}
.info-card:hover {
    box-shadow: 0 8px 25px rgba(26,95,180,.15);
    transform: translateY(-4px);
    border-color: #1a5fb4;
}
.info-card-img {
    height: 160px;
    overflow: hidden;
    position: relative;
    background: #e8f1fa;
}
.info-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.info-card:hover .info-card-img img { transform: scale(1.1); }
.info-card-tag {
    position: absolute;
    top: 10px; left: 10px;
    background: rgba(26,95,180,.9);
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 3px;
}
.info-card-body { padding: 14px; }
.info-card-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.info-card-body p {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.info-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f5f5f5;
}
.info-card-footer .tag { font-size: 12px; color: #1a5fb4; }
.info-card-footer .date { font-size: 12px; color: #bbb; }

/* ============================================
   TIMELINE LIST (latest info)
   ============================================ */
.timeline-list { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.timeline-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    transition: background .2s;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item:hover { background: #f8fafc; }
.timeline-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    color: #1a5fb4;
    font-weight: 600;
    font-size: 13px;
}
.timeline-date .day { font-size: 20px; display: block; line-height: 1; }
.timeline-date .month { font-size: 11px; color: #aaa; }
.timeline-content { flex: 1; padding-left: 16px; border-left: 2px solid #e8eaed; }
.timeline-content a { color: #444; font-size: 14px; }
.timeline-content a:hover { color: #1a5fb4; }

/* ============================================
   TAB SECTION
   ============================================ */
.tab-section { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.tab-headers {
    display: flex;
    background: #f0f4f8;
    border-bottom: 2px solid #e8f1fa;
}
.tab-header {
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all .2s;
    position: relative;
}
.tab-header.active { background: #fff; color: #1a5fb4; }
.tab-header.active::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 3px;
    background: #1a5fb4;
}
.tab-content { padding: 16px 20px; display: none; }
.tab-content.active { display: block; }
.tab-content li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.tab-content li:last-child { border-bottom: none; }
.tab-content li a { color: #444; font-size: 14px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 10px; }
.tab-content li a:hover { color: #1a5fb4; }
.tab-content li .date { font-size: 12px; color: #aaa; }

/* ============================================
   LIST PAGE (通用列表页)
   ============================================ */
.page-banner {
    height: 200px;
    background: linear-gradient(135deg, #1a5fb4, #0d3b6f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 30px 30px;
}
.page-banner h2 { font-size: 32px; font-weight: 700; position: relative; z-index: 1; }
.page-banner p { font-size: 14px; opacity: .8; margin-top: 8px; position: relative; z-index: 1; }

.breadcrumb {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #e8eaed;
    font-size: 13px;
    color: #888;
}
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: #1a5fb4; }
.breadcrumb .sep { margin: 0 6px; color: #ccc; }
.breadcrumb .current { color: #1a5fb4; }

.list-layout { display: grid; grid-template-columns: 1fr 300px; gap: 25px; padding: 25px 0; }

/* List Items */
.article-list { background: #fff; border-radius: 8px; padding: 10px 20px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }

/* Sub-category filter */
.subcat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 0 12px;
    border-bottom: 1px dashed #eee;
    margin-bottom: 10px;
}
.subcat-filter a {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: #f5f7fa;
    color: #555;
    font-size: 13px;
    transition: all .2s;
}
.subcat-filter a:hover,
.subcat-filter a.active {
    background: #1a5fb4;
    color: #fff;
}

.article-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}
.article-item:last-child { border-bottom: none; }
.article-item-img {
    width: 180px; height: 120px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f4f8;
}
.article-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-item:hover .article-item-img img { transform: scale(1.08); }
.article-item-content { flex: 1; display: flex; flex-direction: column; }
.article-item-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.article-item:hover .article-item-content h3 { color: #1a5fb4; }
.article-item-content .desc {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.article-item-meta {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    font-size: 12px;
    color: #aaa;
}
.article-item-meta span { display: flex; align-items: center; gap: 4px; }

/* Simple List (no image) */
.article-simple li {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.article-simple li:last-child { border-bottom: none; }
.article-simple li a { color: #444; font-size: 14px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 10px; }
.article-simple li a:hover { color: #1a5fb4; }
.article-simple li .date { font-size: 12px; color: #aaa; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 30px 0;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    transition: all .2s;
}
.pagination a:hover { border-color: #1a5fb4; color: #1a5fb4; }
.pagination .active { background: #1a5fb4; color: #fff; border-color: #1a5fb4; }

/* Sidebar */
.sidebar > div { background: #fff; border-radius: 8px; padding: 16px 18px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a5fb4;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f1fa;
    position: relative;
}
.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 40px; height: 2px;
    background: #ff6b35;
}
.sidebar-list li { padding: 8px 0; border-bottom: 1px dashed #eee; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li a { color: #555; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.sidebar-list li a:hover { color: #1a5fb4; }
.sidebar-list li .rank { display: inline-block; width: 20px; height: 20px; line-height: 20px; text-align: center; background: #ccc; color: #fff; font-size: 11px; border-radius: 3px; margin-right: 6px; }
.sidebar-list li:nth-child(1) .rank { background: #ff6b35; }
.sidebar-list li:nth-child(2) .rank { background: #fa8c16; }
.sidebar-list li:nth-child(3) .rank { background: #faad14; }

/* ============================================
   CONTENT PAGE (详情页)
   ============================================ */
.content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 25px; padding: 25px 0; }
.content-main { background: #fff; border-radius: 8px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.content-header { border-bottom: 2px solid #f0f4f8; padding-bottom: 20px; margin-bottom: 25px; text-align: center; }
.content-header h1 { font-size: 24px; font-weight: 700; color: #2c3e50; margin-bottom: 12px; line-height: 1.4; }
.content-meta { display: flex; justify-content: center; gap: 20px; font-size: 13px; color: #999; }
.content-meta span { display: flex; align-items: center; gap: 4px; }
.content-body { font-size: 15px; line-height: 1.8; color: #444; }
.content-body p { margin-bottom: 16px; }
.content-body h2, .content-body h3 { color: #1a5fb4; margin: 20px 0 12px; font-weight: 600; }
.content-body img { max-width: 100%; border-radius: 6px; margin: 16px 0; }
.content-body table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.content-body table td, .content-body table th { border: 1px solid #e0e0e0; padding: 10px 14px; }
.content-body table th { background: #e8f1fa; color: #1a5fb4; }
.content-body a { color: #1a5fb4; text-decoration: underline; }
.content-body ul, .content-body ol { margin: 10px 0 16px 20px; }
.content-body ul li { list-style: disc; margin-bottom: 6px; }
.content-body ol li { list-style: decimal; margin-bottom: 6px; }
.content-body blockquote { border-left: 4px solid #1a5fb4; background: #f8fafc; padding: 14px 20px; margin: 16px 0; color: #666; border-radius: 0 6px 6px 0; }

.content-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f4f8;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.content-footer a { color: #666; }
.content-footer a:hover { color: #1a5fb4; }
.content-prev, .content-next { max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.content-next { text-align: right; }

/* ============================================
   ABOUT / CONTACT PAGE
   ============================================ */
.about-layout { padding: 30px 0; }
.about-main { background: #fff; border-radius: 8px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.about-main h2 { font-size: 20px; color: #1a5fb4; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #e8f1fa; }
.about-content { font-size: 15px; line-height: 1.8; color: #444; }
.about-content p { margin-bottom: 16px; }

/* ============================================
   FRIEND LINKS
   ============================================ */
.friend-links { background: #fff; padding: 16px 0; border-top: 1px solid #e8eaed; }
.links-title { font-size: 14px; font-weight: 600; color: #666; margin-bottom: 8px; }
.links-list { display: flex; flex-wrap: wrap; gap: 12px; }
.links-list a { font-size: 13px; color: #888; padding: 2px 8px; border: 1px solid #eee; border-radius: 3px; transition: all .2s; }
.links-list a:hover { color: #1a5fb4; border-color: #1a5fb4; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: linear-gradient(135deg, #0d3b6f, #082548); color: #b3d4f5; padding: 40px 0 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-col h3, .footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.footer-logo { font-size: 20px; font-weight: 700; color: #fff; }
.footer-desc { font-size: 13px; line-height: 1.7; margin-bottom: 14px; opacity: .8; }
.footer-contact p { font-size: 13px; margin-bottom: 6px; opacity: .85; }
.fc-icon { color: #8ec5fc; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav li a { color: #b3d4f5; font-size: 13px; opacity: .85; }
.footer-nav li a:hover { color: #fff; opacity: 1; }
.footer-qr { text-align: center; }
.qr-code img { width: 120px; height: 120px; margin: 0 auto 8px; border-radius: 6px; background: #fff; padding: 6px; }
.qr-code p { font-size: 12px; opacity: .7; }
.footer-bottom { padding: 16px 0; text-align: center; font-size: 13px; opacity: .7; }
.footer-bottom p { margin: 2px 0; }
.footer-bottom a { color: #b3d4f5; }

/* ============================================
   DOCUMENT LIST (doclist.html)
   ============================================ */
.doc-list-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f0f4f8;
    border-bottom: 2px solid #1a5fb4;
    font-size: 14px;
    font-weight: 600;
    color: #1a5fb4;
}
.doc-col-title { flex: 1; }
.doc-col-date { width: 120px; text-align: center; }
.doc-col-views { width: 80px; text-align: center; }

.doc-list-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #eef0f3;
    transition: background .15s;
}
.doc-list-item:hover { background: #f8fafe; }
.doc-item-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    overflow: hidden;
}
.doc-item-link:hover { color: #1a5fb4; }
.doc-icon {
    flex-shrink: 0;
    font-size: 18px;
    color: #1a5fb4;
}
.doc-item-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.doc-item-date {
    width: 120px;
    text-align: center;
    font-size: 13px;
    color: #999;
}
.doc-item-views {
    width: 80px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

/* ---- Document Detail (doc.html) ---- */
.doc-toolbar {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eef0f3;
}
.doc-btn-print, .doc-btn-share, .doc-btn-font {
    padding: 6px 14px;
    font-size: 13px;
    color: #555;
    background: #f5f7fa;
    border: 1px solid #e0e4ea;
    border-radius: 4px;
    cursor: pointer;
    transition: all .2s;
}
.doc-btn-print:hover, .doc-btn-share:hover, .doc-btn-font:hover {
    color: #1a5fb4;
    border-color: #1a5fb4;
    background: #f0f6ff;
}
.doc-body { line-height: 2; font-size: 16px; }
.doc-body.font-large { font-size: 18px; }
.doc-body.font-xlarge { font-size: 20px; }
.doc-body img { max-width: 100%; height: auto; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.doc-body table td, .doc-body table th {
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 14px;
}

/* ============================================
   BACK TO TOP & FLOAT CONSULT
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 80px; right: 20px;
    width: 44px; height: 44px;
    background: #1a5fb4;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(26,95,180,.3);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #ff6b35; transform: translateY(-2px); }

.float-consult {
    position: fixed;
    bottom: 20px; right: 20px;
    z-index: 999;
}
.float-consult-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: #ff6b35;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 12px;
    box-shadow: 0 4px 15px rgba(255,107,53,.4);
    transition: all .3s;
}
.float-consult-btn:hover { background: #e85a28; color: #fff; transform: translateY(-2px); }

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
[data-reveal] {
    opacity: 0;
    transition: opacity .7s cubic-bezier(.16,.84,.44,1),
                transform .7s cubic-bezier(.16,.84,.44,1);
    will-change: opacity, transform;
}
[data-reveal="fade-up"]    { transform: translateY(40px); }
[data-reveal="fade-down"]  { transform: translateY(-40px); }
[data-reveal="fade-left"]  { transform: translateX(50px); }
[data-reveal="fade-right"] { transform: translateX(-50px); }
[data-reveal="zoom-in"]    { transform: scale(.85); }
[data-reveal="blur-in"]    { filter: blur(8px); }

[data-reveal].reveal-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Stagger: 同一容器内子元素错开延迟 */
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }
[data-reveal-delay="6"] { transition-delay: .48s; }
[data-reveal-delay="7"] { transition-delay: .56s; }
[data-reveal-delay="8"] { transition-delay: .64s; }

/* Reduced motion: 尊重无障碍偏好，直接显示 */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

/* ============================================
   CASE LIST 案例/院校列表（卡片网格）
   ============================================ */

/* 筛选栏 */
.case-filter {
    background: #f7f8fa;
    padding: 14px 20px;
    border-radius: 6px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.case-filter .filter-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    margin-right: 8px;
}
.case-filter .filter-item {
    display: inline-block;
    padding: 4px 14px;
    font-size: 13px;
    color: #555;
    border-radius: 3px;
    transition: all .2s;
}
.case-filter .filter-item:hover {
    color: #1e6fff;
}
.case-filter .filter-item.active {
    background: #1e6fff;
    color: #fff;
}

/* 卡片网格 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 单个卡片 */
.case-card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    transition: all .25s;
    text-decoration: none;
    color: inherit;
}
.case-card:hover {
    border-color: #1e6fff;
    box-shadow: 0 6px 20px rgba(30, 111, 255, .12);
    transform: translateY(-3px);
}
.case-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f2f5;
}
.case-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.case-card:hover .case-card-img img {
    transform: scale(1.06);
}
.case-card-body {
    padding: 16px 18px;
}
.case-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.case-card-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.65;
    margin: 0 0 12px;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.case-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}
.case-card-arrow {
    color: #1e6fff;
    font-weight: 600;
}

/* 详情页大封面 */
.case-cover {
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 28px;
    background: #f0f2f5;
}
.case-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 响应式：案例网格 */
@media (max-width: 1024px) {
    .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .case-grid { grid-template-columns: 1fr; gap: 16px; }
    .case-filter { padding: 10px 12px; }
    .case-filter .filter-item { padding: 3px 10px; font-size: 12px; }
    .case-cover { aspect-ratio: 16 / 9; }
}
