/* ============================================
   xcjncl 企业模板 - 参照 jamvacuum.com 风格
   ============================================ */

/* === 基础变量 === */
:root {
    --primary-blue: #1E3C72;
    --primary-blue-light: #2A5298;
    --accent-cyan: #0DCAF0;
    --accent-blue: #0D6EFD;
    --dark-bg: #212529;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --text-light: #999999;
    --bg-light-blue: #E8F9FF;
    --bg-light-gray: #F8F9FA;
    --card-shadow: 0 8px 16px rgba(0,0,0,0.1);
    --card-shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --header-shadow: 0 2px 4px rgba(0,0,0,0.075);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --footer-gradient: linear-gradient(to right, #1C1F3F, #3D0B40);
    --hero-gradient: linear-gradient(135deg, #1E3C72, #2A5298);
    --font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans SC", Arial, sans-serif;
}

/* === 全局样式 === */
body {
    font-family: var(--font-family);
    background-color: #fff;
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-blue);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* === 头部导航 === */
.xcjncl-header {
    background-color: #fff;
    box-shadow: var(--header-shadow);
}

/* 导航下拉 */* 导航下拉 */
.xcjncl-dropdown {
    position: relative;
}

.xcjncl-dropdown-list {
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    min-width: 160px;
    background: #fff;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--card-shadow);
    z-index: 900;
    padding: 8px 0;
    margin: 0;
    list-style: none;
}

.xcjncl-dropdown:hover .xcjncl-dropdown-list {
    display: block;
}

.xcjncl-dropdown-list li a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    color: var(--text-dark);
    white-space: nowrap;
    transition: background 0.2s;
}

.xcjncl-dropdown-list li a:hover {
    background-color: var(--bg-light-blue);
    color: var(--accent-blue);
}

/* === 主内容区 === */
.mipcms-main {
    margin-top: 72px;
}

/* === Hero Banner === */
.xcjncl-hero {
    background: var(--hero-gradient);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    margin-top: -15px;
}

.xcjncl-hero h1 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.xcjncl-hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.xcjncl-hero .hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.xcjncl-hero .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    background: #fff;
    color: var(--primary-blue);
    border: none;
    transition: all 0.3s;
    text-decoration: none;
}

.xcjncl-hero .hero-btn:hover {
    background: rgba(255,255,255,0.9);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* === 通用卡片/盒子 === */
.xcjncl-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.xcjncl-card:hover {
    box-shadow: var(--card-shadow);
    transform: translateY(-2px);
}

.xcjncl-card .card-heading {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.xcjncl-card .card-heading h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    line-height: 1.4;
}

.xcjncl-card .card-body {
    padding: 24px;
}

/* === 区块标题 === */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.section-title-light h2 {
    color: #fff;
}

.section-title-light p {
    color: rgba(255,255,255,0.7);
}

/* === 浅色背景区块 === */
.xcjncl-section-light-blue {
    background-color: var(--bg-light-blue);
    padding: 60px 0;
}

.xcjncl-section-light-gray {
    background-color: var(--bg-light-gray);
    padding: 60px 0;
}

.xcjncl-section-white {
    background-color: #fff;
    padding: 60px 0;
}

/* === 文章列表项 === */
.xcjncl-article-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.xcjncl-article-item:last-child {
    border-bottom: none;
}

.xcjncl-article-item:hover {
    background-color: var(--bg-light-gray);
}

.xcjncl-article-item .item-media {
    flex-shrink: 0;
    position: relative;
    width: 220px;
    height: 140px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background-color: #eee;
}

.xcjncl-article-item .item-media a {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.xcjncl-article-item .item-media .card-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e2e8f0;
    transition: transform 0.4s;
}

.xcjncl-article-item:hover .item-media .card-bg {
    transform: scale(1.05);
}

.xcjncl-article-item .item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.xcjncl-article-item .item-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.xcjncl-article-item .item-content h4 a {
    color: #2C3E50;
}

.xcjncl-article-item .item-content h4 a:hover {
    color: var(--accent-blue);
}

.xcjncl-article-item .item-content .description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xcjncl-article-item .item-content .meta {
    font-size: 13px;
    color: var(--text-light);
}

/* === 侧边栏 === */
.xcjncl-sidebar .xcjncl-card {
    margin-bottom: 20px;
}

.xcjncl-sidebar .xcjncl-card .card-heading h3 {
    font-size: 16px;
}

/* 侧边栏列表 */
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li a {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sidebar-list li a:hover {
    color: var(--accent-blue);
}

.sidebar-list li .date {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 3px;
}

/* === 标签样式 === */
.xcjncl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.xcjncl-tags li a {
    display: inline-block;
    padding: 4px 14px;
    font-size: 13px;
    color: var(--text-muted);
    background-color: var(--bg-light-gray);
    border-radius: 20px;
    transition: all 0.3s;
}

.xcjncl-tags li a:hover {
    background-color: var(--accent-blue);
    color: #fff;
}

/* === 文章详情 === */
.article-detail-header {
    margin-bottom: 24px;
}

.article-detail-header .detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #2C3E50;
    line-height: 1.4;
    margin: 15px 0;
    word-break: break-all;
}

.article-detail-header .info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.article-detail-header .info ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-detail-header .tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-detail-header .tags li a {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    color: var(--accent-blue);
    background: rgba(13,110,253,0.08);
    border-radius: 4px;
}

.article-detail-header .tags li a:hover {
    background: var(--accent-blue);
    color: #fff;
}

/* 文章正文 */
.mipcms-detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    word-wrap: break-word;
}

.mipcms-detail-body h1,
.mipcms-detail-body h2,
.mipcms-detail-body h3,
.mipcms-detail-body h4,
.mipcms-detail-body h5,
.mipcms-detail-body h6 {
    font-weight: 600;
    margin: 30px 0 15px;
    color: #2C3E50;
}

.mipcms-detail-body h1 { font-size: 24px; }
.mipcms-detail-body h2 { font-size: 22px; }
.mipcms-detail-body h3 { font-size: 20px; }
.mipcms-detail-body h4 { font-size: 18px; }

.mipcms-detail-body p {
    margin: 0 0 15px 0;
    line-height: 1.8;
}

.mipcms-detail-body a {
    color: var(--accent-blue);
}

.mipcms-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
    margin: 10px 0;
}

.mipcms-detail-body blockquote {
    border-left: 4px solid var(--accent-blue);
    padding: 10px 20px;
    margin: 20px 0;
    background: var(--bg-light-gray);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.mipcms-detail-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.mipcms-detail-body table td,
.mipcms-detail-body table th {
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    text-align: left;
}

.mipcms-detail-body table thead {
    background: var(--bg-light-gray);
}

.mipcms-detail-body code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Consolas', 'Monaco', monospace;
}

.mipcms-detail-body pre {
    background: #f8f9fa;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
}

/* === 上下篇导航 === */
.item-up-down-page {
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}

.item-up-down-page ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

.item-up-down-page .item-up-page,
.item-up-down-page .item-down-page {
    max-width: 48%;
}

.item-up-down-page p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.item-up-down-page a {
    font-size: 14px;
    color: var(--text-dark);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}

.item-up-down-page a:hover {
    color: var(--accent-blue);
}

/* === 分页 === */
.pagination {
    display: inline-flex;
    padding-left: 0;
    margin: 20px 0;
    list-style: none;
    gap: 5px;
}

.pagination > li > a,
.pagination > li > span {
    display: inline-block;
    padding: 6px 14px;
    font-size: 14px;
    color: var(--text-dark);
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s;
    text-decoration: none;
}

.pagination > li > a:hover,
.pagination > li > span:hover {
    background: var(--bg-light-blue);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.pagination > .active > a,
.pagination > .active > span {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
}

.pagination > .disabled > a,
.pagination > .disabled > span {
    color: #ccc;
    background: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
}

/* === 面包屑 === */
.breadcrumb {
    background: transparent;
    padding: 15px 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item a:hover {
    color: var(--accent-blue);
}

.breadcrumb-item.active {
    color: var(--text-dark);
}

/* === 标签页面 === */
.tag-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.tag-header .tag-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light-blue);
    border-radius: var(--border-radius-sm);
    font-size: 24px;
    color: var(--accent-blue);
}

.tag-header h2 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 600;
    color: #2C3E50;
}

.tag-header p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

.tag-list-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}

.tag-list-grid a {
    display: inline-block;
    padding: 6px 16px;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-light-gray);
    border-radius: 20px;
    transition: all 0.3s;
}

.tag-list-grid a:hover {
    background: var(--accent-blue);
    color: #fff;
}

/* === 搜索页面 === */
.search-warp {
    text-align: center;
    padding: 80px 0 40px;
}

.search-warp .logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.search-form {
    display: inline-flex;
    gap: 0;
}

.search-input {
    width: 400px;
}

.search-input input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 2px solid #dee2e6;
    border-right: none;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input input:focus {
    border-color: var(--accent-blue);
}

.search-btn {
    height: 44px;
    padding: 0 24px;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: var(--primary-blue);
}

.hot-keywords {
    max-width: 600px;
    margin: 30px auto 0;
}

.hot-keywords .hot-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.hot-keywords .hot-item a {
    display: inline-block;
    padding: 5px 14px;
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-light-gray);
    border-radius: 20px;
    transition: all 0.3s;
}

.hot-keywords .hot-item a:hover {
    background: var(--accent-blue);
    color: #fff;
}

/* 搜索结果 */
.search-header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
    background: #fff;
    box-shadow: var(--header-shadow);
    padding: 12px 0;
}

.search-main {
    margin-top: 80px;
}

.res-item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.res-title {
    margin: 0 0 8px 0;
}

.res-title a {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-blue);
}

.res-title a:hover {
    color: var(--accent-blue);
}

.res-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* === 页脚 === */
.xcjncl-footer {
    background: var(--footer-gradient);
    padding: 48px 0 24px;
    color: rgba(255,255,255,0.7);
}

.xcjncl-footer .footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.xcjncl-footer .footer-col h6 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.xcjncl-footer .footer-col p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    margin: 0;
}

.xcjncl-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.xcjncl-footer .footer-col ul li {
    margin-bottom: 8px;
}

.xcjncl-footer .footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}

.xcjncl-footer .footer-col ul li a:hover {
    color: rgba(255,255,255,0.9);
}

.xcjncl-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}

.xcjncl-footer .footer-bottom a {
    color: rgba(255,255,255,0.5);
}

.xcjncl-footer .footer-bottom a:hover {
    color: rgba(255,255,255,0.8);
}

/* 友情链接 */
.friend-link {
    margin-bottom: 15px;
}

.friend-link ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.friend-link li:first-child {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.friend-link a {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.friend-link a:hover {
    color: rgba(255,255,255,0.8);
}

/* === 推荐文章顶部区域 === */
.xcjncl-recommend {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.xcjncl-recommend mip-img,
.xcjncl-recommend img {
    width: 100%;
    display: block;
}

.xcjncl-recommend .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.xcjncl-recommend .caption h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.xcjncl-recommend .caption h3 a {
    color: #fff;
}

.xcjncl-recommend .caption h3 a:hover {
    color: var(--accent-cyan);
}

.xcjncl-recommend .caption .time {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 5px;
    display: block;
}

/* === 分类区块 === */
.xcjncl-category-section {
    margin-bottom: 30px;
}

.xcjncl-category-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-blue);
    display: inline-block;
}

.xcjncl-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.xcjncl-category-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.xcjncl-category-list li:last-child {
    border-bottom: none;
}

.xcjncl-category-list li a {
    font-size: 14px;
    color: var(--text-dark);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 10px;
}

.xcjncl-category-list li a:hover {
    color: var(--accent-blue);
}

.xcjncl-category-list li time {
    font-size: 12px;
    color: var(--text-light);
    flex-shrink: 0;
}

/* === 404页面 === */
.page-404 {
    text-align: center;
    padding: 100px 0;
}

.page-404 .error-code {
    font-size: 120px;
    font-weight: 700;
    color: #e0e0e0;
    line-height: 1;
    margin-bottom: 20px;
}

.page-404 .error-message {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.page-404 .btn-back {
    display: inline-block;
    padding: 10px 30px;
    background: var(--accent-blue);
    color: #fff;
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    transition: background 0.3s;
}

.page-404 .btn-back:hover {
    background: var(--primary-blue);
    color: #fff;
}

/* === 图片文章页 === */
.page-img {
    width: 100%;
    border-radius: var(--border-radius-sm);
}

.mip-page-pagination {
    text-align: center;
    margin: 20px 0;
}

.mip-page-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    gap: 5px;
}

.mip-page-pagination ul li {
    float: left;
}

.mip-page-pagination ul li.active a {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
}

.mip-page-pagination ul li a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--text-dark);
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius-sm);
}

.mip-page-pagination ul li a:hover {
    background: var(--bg-light-blue);
    color: var(--accent-blue);
}

/* === 响应式 === */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 991px) {
    .mipcms-main {
        margin-top: 105px;
    }
    
    .xcjncl-footer .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .xcjncl-article-item {
        flex-direction: column;
    }
    
    .xcjncl-article-item .item-media {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .xcjncl-hero {
        padding: 50px 0;
    }
    
    .xcjncl-hero h1 {
        font-size: 24px;
    }
    
    .xcjncl-footer .footer-top {
        grid-template-columns: 1fr;
    }
    
    .search-input {
        width: 200px;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .article-detail-header .detail-title {
        font-size: 22px;
    }
    
    .xcjncl-article-item .item-content h4 {
        font-size: 16px;
    }
    
    .page-404 .error-code {
        font-size: 80px;
    }
    
    .xcjncl-dropdown-list {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .xcjncl-hero .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .xcjncl-article-item .item-media {
        height: 150px;
    }
    
    .search-form {
        flex-direction: column;
        align-items: center;
    }
    
    .search-input {
        width: 100%;
    }
    
    .search-input input {
        border-right: 2px solid #dee2e6;
        border-radius: var(--border-radius-sm);
    }
    
    .search-btn {
        width: 100%;
        border-radius: var(--border-radius-sm);
        margin-top: 8px;
    }
}

/* === 工具类 === */
.d-none { display: none; }
.text-center { text-align: center; }
.mb-3 { margin-bottom: 15px; }
.mt-3 { margin-top: 15px; }
.p-0 { padding: 0; }

/* 隐藏MIP相关样式 */
mip-fixed[type="top"] {
    overflow: initial;
}

.d-none {
    display: none;
}

/* === 图片增强样式 === */

/* Hero 背景图 */
.xcjncl-hero {
    position: relative;
    background-size: cover;
    background-position: center;
}

/* 推荐卡片图片效果 */
.xcjncl-recommend {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.xcjncl-recommend mip-img,
.xcjncl-recommend img {
    transition: transform 0.5s ease;
}

.xcjncl-recommend:hover mip-img,
.xcjncl-recommend:hover img {
    transform: scale(1.05);
}

.xcjncl-recommend .caption {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    padding: 15px 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.xcjncl-recommend .caption h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.xcjncl-recommend .caption h3 a {
    color: #fff;
}

.xcjncl-recommend .caption h3 a:hover {
    color: var(--accent-cyan);
}

.xcjncl-recommend .caption .time {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    display: block;
    margin-bottom: 5px;
}

/* 侧边栏图片卡片 */
.xcjncl-sidebar .xcjncl-card mip-img {
    transition: transform 0.4s;
}

.xcjncl-sidebar .xcjncl-card:hover mip-img {
    transform: scale(1.03);
}

/* 文章列表图片增强 */
.xcjncl-article-item .item-media {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 页脚背景纹理 */
.xcjncl-footer {
    position: relative;
}

.xcjncl-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.xcjncl-footer .container {
    position: relative;
    z-index: 1;
}

/* 回到顶部按钮增强 */
mip-gototop {
    background: var(--accent-blue) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(13,110,253,0.3) !important;
    width: 44px !important;
    height: 44px !important;
    bottom: 30px !important;
    right: 30px !important;
}

/* === 页脚精确匹配 jamvacuum.com === */
.xcjncl-footer {
    background: linear-gradient(to right, #1C1F3F, #3D0B40) !important;
    padding: 48px 0 24px !important;
    color: rgba(255,255,255,0.7) !important;
}

.xcjncl-footer::before { display: none !important; }

.xcjncl-footer .footer-top {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
}

.xcjncl-footer .footer-col {
    background: rgba(255,255,255,0.06) !important;
    border-radius: 12px !important;
    padding: 24px !important;
}

.xcjncl-footer .footer-col h6 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0DCAF0 !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.xcjncl-footer .footer-col h6 i {
    font-size: 18px;
}

.xcjncl-footer .footer-col p {
    font-size: 13px !important;
    color: rgba(255,255,255,0.5) !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

.xcjncl-footer .footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.xcjncl-footer .footer-col ul li {
    margin-bottom: 8px !important;
    font-size: 13px !important;
    color: rgba(255,255,255,0.5) !important;
    line-height: 1.6 !important;
}

.xcjncl-footer .footer-col ul li i {
    color: rgba(255,255,255,0.3);
}

.xcjncl-footer .footer-col ul li a {
    font-size: 13px !important;
    color: rgba(255,255,255,0.5) !important;
    transition: color 0.3s !important;
    text-decoration: none !important;
}

.xcjncl-footer .footer-col ul li a:hover {
    color: rgba(255,255,255,0.9) !important;
}

.xcjncl-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    padding-top: 20px !important;
    text-align: center !important;
    font-size: 14px !important;
    color: rgba(255,255,255,0.4) !important;
}

.xcjncl-footer .footer-bottom p {
    margin: 0;
}

.xcjncl-footer .footer-bottom a {
    color: rgba(255,255,255,0.5) !important;
}

.xcjncl-footer .footer-bottom a:hover {
    color: rgba(255,255,255,0.8) !important;
}

@media (max-width: 991px) {
    .xcjncl-footer .footer-top {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .xcjncl-footer .footer-top {
        grid-template-columns: 1fr !important;
    }
}

/* === 导航条按实际站点布局 === */
/* 实际内容: 长站名 + 首页 + 6栏目(体育头条/足球赛场/篮球风云/电竞赛事/综合体育/平台公告) */
.xcjncl-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.075);
}
.xcjncl-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    height: 62px;
    margin: 0 auto;
    padding: 0 15px;
}
.xcjncl-header .logo-text {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 300px;
}
.xcjncl-header .logo-text a {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 17px;
    font-weight: 700;
    color: #1e3a8a;
    height: 62px;
    text-decoration: none;
    transition: color 0.3s;
}
/* Logo 图标: 渐变圆底 + 足球图标 */
.xcjncl-header .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0D6EFD 0%, #1e3a8a 100%);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(13,110,253,0.35);
}
.xcjncl-header .logo-name {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.xcjncl-header .logo-text a:hover {
    color: #0D6EFD;
}
.xcjncl-header .nav-wrap {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 16px;
}
.xcjncl-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.xcjncl-nav::-webkit-scrollbar {
    display: none;
}
.xcjncl-nav > li {
    position: relative;
    flex-shrink: 0;
}
.xcjncl-nav > li > a {
    display: block;
    padding: 0 13px;
    line-height: 62px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.25s;
}
.xcjncl-nav > li > a:hover {
    color: #0D6EFD;
}
.xcjncl-nav > li.active > a {
    color: #0D6EFD;
    font-weight: 600;
    position: relative;
}
.xcjncl-nav > li.active > a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 13px;
    right: 13px;
    height: 3px;
    border-radius: 3px;
    background: #0D6EFD;
}
.xcjncl-header .header-actions {
    flex: 0 0 auto;
}
.xcjncl-header .btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 500;
    color: #1e3a8a;
    background: #f0f4ff;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s;
}
.xcjncl-header .btn-login:hover {
    background: #0D6EFD;
    color: #fff;
}
.xcjncl-dropdown-list {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    min-width: 160px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 900;
    padding: 8px 0;
    margin: 0;
    list-style: none;
}
.xcjncl-dropdown:hover .xcjncl-dropdown-list {
    display: block;
}
.xcjncl-dropdown-list li a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s;
}
.xcjncl-dropdown-list li a:hover {
    background: #f0f4ff;
    color: #0D6EFD;
}
@media (max-width: 991px) {
    .xcjncl-header .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 8px 15px 0;
    }
    .xcjncl-header .logo-text {
        flex: 1 1 auto;
        max-width: none;
    }
    .xcjncl-header .logo-text a {
        height: 40px;
        font-size: 16px;
        gap: 7px;
    }
    .xcjncl-header .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    .xcjncl-header .nav-wrap {
        order: 3;
        flex: 0 0 100%;
        margin: 0;
    }
    .xcjncl-nav {
        justify-content: flex-start;
        gap: 0;
    }
    .xcjncl-nav > li > a {
        padding: 0 12px;
        line-height: 40px;
        font-size: 14px;
    }
    .xcjncl-nav > li.active > a::after {
        bottom: 4px;
    }
    .xcjncl-dropdown-list {
        top: 40px;
    }
    .mipcms-main {
        margin-top: 100px;
    }
}
@media (max-width: 576px) {
    .xcjncl-header .logo-text a {
        font-size: 15px;
        gap: 6px;
    }
    .xcjncl-header .logo-icon {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    .xcjncl-header .btn-login {
        height: 30px;
        padding: 0 12px;
        font-size: 13px;
    }
    .xcjncl-header .btn-login span {
        display: none;
    }
    .mipcms-main {
        margin-top: 92px;
    }
}
