/* ============================================
 * aiqilvse1.0 - 教育站定制样式（育达教育电商学院）
 * 覆盖律所风格 → 清新教育风
 * ============================================ */

/* --- 字体与基础 --- */
body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    color: #334155;
    background: #f6f8fb;
    line-height: 1.9;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 标题字体 */
h1, h2, h3, h4, h5, h6 {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

/* --- 容器微调 --- */
.aqs-container { max-width: 1200px; }

/* ============================================
 * 顶部导航（教育蓝）
 * ============================================ */
.aqs-header {
    background: rgba(255,255,255,.98);
    box-shadow: 0 2px 12px rgba(37,99,235,.08);
    height: 72px;
    backdrop-filter: blur(10px);
}
.aqs-header-inner { height: 72px; }
.aqs-logo h1 { font-size: 23px; font-weight: 800; color: #1d4ed8; letter-spacing: 1px; }
.aqs-logo h1 span { color: #0ea5e9; }

.aqs-nav-list > li > a {
    line-height: 72px;
    color: #475569;
    font-size: 15px;
    font-weight: 500;
}
.aqs-nav-list > li > a::after {
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    border-radius: 3px;
}
.aqs-nav-list > li:hover > a, .aqs-nav-list > li.current-menu-item > a { color: #1d4ed8; }

.aqs-header-tel { color: #1d4ed8 !important; }
.aqs-header-tel .aqs-tel-num { font-weight: 700; }

/* --- 首页区块标题 --- */
.ed-sec-head {
    border-bottom: none !important;
    padding-bottom: 14px !important;
    margin-bottom: 24px !important;
    position: relative;
}
.ed-sec-head::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 52px; height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
}
.ed-sec-head h2 {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    letter-spacing: 1px;
}
.ed-sec-head .ed-more {
    color: #2563eb !important;
    font-weight: 500;
    transition: all .3s;
}
.ed-sec-head .ed-more:hover { color: #1d4ed8 !important; }

/* --- 首页卡片 --- */
.ed-card {
    border-radius: 14px !important;
    border: 1px solid #e8edf5 !important;
    transition: all .35s cubic-bezier(.4,0,.2,1) !important;
    box-shadow: 0 2px 8px rgba(30,41,59,.04);
}
.ed-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 32px rgba(37,99,235,.14) !important;
    border-color: transparent !important;
}
.ed-card img { height: 178px !important; }
.ed-card-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 178px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #0ea5e9 100%);
    position: relative;
    overflow: hidden;
}
.ed-card-img-fallback::before {
    content: '';
    position: absolute;
    top: -40px; right: -30px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%);
    border-radius: 50%;
}
.ed-card-img-fallback::after {
    content: '';
    position: absolute;
    bottom: -50px; left: -20px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
    border-radius: 50%;
}
.ed-card-img-fallback span {
    font-size: 54px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.25));
    transition: transform .35s;
}
.ed-card:hover .ed-card-img-fallback span { transform: scale(1.15) rotate(-4deg); }
.ed-card-body { padding: 18px !important; }
.ed-card-body h3 { font-size: 16.5px !important; line-height: 1.5 !important; }
.ed-card-body h3 a { color: #1e293b !important; transition: color .3s; }
.ed-card-body h3 a:hover { color: #2563eb !important; }
.ed-card-body p {
    font-size: 13.5px !important;
    color: #64748b !important;
    line-height: 1.8 !important;
}

.ed-info-card {
    background: #fff !important;
    border: 1px solid #e8edf5;
    border-radius: 12px !important;
    padding: 22px !important;
    transition: all .3s;
}
.ed-info-card:hover {
    box-shadow: 0 10px 24px rgba(37,99,235,.1);
    transform: translateY(-3px);
}
.ed-info-card h3 { font-size: 15.5px !important; }
.ed-info-card h3 a { color: #1e293b !important; }
.ed-info-card h3 a:hover { color: #2563eb !important; }
.ed-info-card p { font-size: 13.5px !important; color: #64748b !important; }

/* ============================================
 * 栏目页（归档）教育化 · 璟致 nybanner 风格
 * ============================================ */
.aqs-banner-wrap{
    max-width:1360px;
    margin:20px auto 0;
    padding:0 15px;
    box-sizing:border-box;
}
.aqs-cat-hero{
    position:relative;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 4px 20px rgba(22,36,63,.10);
    aspect-ratio:1920 / 535;
    background-color:#dbe7fb;
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* 归档卡片 */
.aqs-archive-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 30px 0;
}
.aqs-archive-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8edf5;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 8px rgba(30,41,59,.04);
}
.aqs-archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(37,99,235,.14);
    border-color: transparent;
}
.aqs-archive-card-thumb img { width: 100%; height: 190px; object-fit: cover; }
.aqs-archive-card-placeholder {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 58px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #0ea5e9 100%);
    position: relative;
    transition: transform .35s;
}
.aqs-archive-card-placeholder::before {
    content: '';
    position: absolute;
    top: -45px; right: -25px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%);
    border-radius: 50%;
}
.aqs-archive-card-placeholder::after {
    content: '';
    position: absolute;
    bottom: -55px; left: -15px;
    width: 130px; height: 130px;
    background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
    border-radius: 50%;
}
.aqs-archive-card-placeholder { position: relative; }
.aqs-archive-card-placeholder svg, .aqs-archive-card-placeholder { position: relative; z-index: 1; }
.aqs-archive-card:hover .aqs-archive-card-placeholder { transform: scale(1.04); }
.aqs-archive-card-cat {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(37,99,235,.92);
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}
.aqs-archive-card-body { padding: 18px; }
.aqs-archive-card-body h3 { font-size: 16.5px; line-height: 1.5; }
.aqs-archive-card-body h3 a { color: #1e293b; text-decoration: none; transition: color .3s; }
.aqs-archive-card-body h3 a:hover { color: #2563eb; }
.aqs-archive-card-excerpt {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.aqs-archive-card-meta { color: #94a3b8; font-size: 12.5px; }

/* 分页 */
.aqs-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 3px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e8edf5;
    color: #475569;
    text-decoration: none;
    transition: all .3s;
}
.aqs-pagination .page-numbers.current {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    border-color: transparent;
    font-weight: 600;
}
.aqs-pagination .page-numbers:hover:not(.current) {
    color: #2563eb;
    border-color: #2563eb;
}

/* ============================================
 * 文章详情页教育化
 * ============================================ */
.aqs-single-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    line-height: 1.45 !important;
    letter-spacing: 1px;
    margin-bottom: 16px !important;
}
.aqs-single-meta {
    color: #94a3b8 !important;
    font-size: 13px !important;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8edf5;
    margin-bottom: 24px;
}
.aqs-single-content {
    font-size: 16px !important;
    line-height: 2 !important;
    color: #334155 !important;
}
.aqs-single-content p { margin-bottom: 1.4em; }
.aqs-single-content h2, .aqs-single-content h3, .aqs-single-content h4 {
    margin: 1.6em 0 .8em;
    color: #1e293b;
}
.aqs-single-content img { border-radius: 10px; max-width: 100%; height: auto; }
.aqs-single-content a { color: #2563eb; }
.aqs-single-content blockquote {
    border-left: 4px solid #2563eb;
    background: #f0f6ff;
    padding: 14px 20px;
    border-radius: 0 10px 10px 0;
    color: #475569;
}

/* 侧边栏 */
.aqs-sidebar-widget {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8edf5;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(30,41,59,.04);
}
.aqs-widget-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
}
.aqs-hot-item a, .aqs-new-item a {
    color: #475569 !important;
    transition: color .3s;
}
.aqs-hot-item a:hover, .aqs-new-item a:hover { color: #2563eb !important; }
.aqs-hot-badge, .aqs-new-num {
    background: linear-gradient(135deg, #2563eb, #0ea5e9) !important;
    color: #fff !important;
}

/* 面包屑 */
.aqs-breadcrumb a { color: #2563eb !important; }

/* ============================================
 * 按钮
 * ============================================ */
.aqs-btn {
    background: linear-gradient(135deg, #2563eb, #0ea5e9) !important;
    border-radius: 30px !important;
    padding: 10px 28px !important;
    font-weight: 600;
    color: #fff !important;
    border: none !important;
    transition: all .3s !important;
    box-shadow: 0 4px 14px rgba(37,99,235,.25);
}
.aqs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37,99,235,.35);
}

/* ============================================
 * 响应式
 * ============================================ */
@media (max-width: 992px) {
    .aqs-archive-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .aqs-archive-card-grid { grid-template-columns: 1fr; }
    .aqs-single-title { font-size: 22px !important; }
}

/* ============================================
 * 修复：fixed 导航遮挡页面 banner
 * 导航 fixed 72px，main 需要预留高度
 * ============================================ */
.aqs-main {
    padding-top: 72px !important;
}
@media (max-width: 768px) {
    .aqs-main {
        padding-top: 72px !important;
    }
}

/* ===== 栏目页 H1 标题（8/27 SEO 优化）===== */
.aqs-archive-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin: 28px 0 8px;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .aqs-archive-title { font-size: 22px; margin: 20px 0 6px; }
}
