/* 进度条样式 */
.mknews-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    z-index: 1000;
}

.mknews-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    width: 0%;
    transition: width 0.3s ease;
}

/* 主容器 */
.mknews-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 2%;
}

/* 左侧栏 */
.mknews-left-sidebar {
    flex: 0 0 250px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    position: sticky;
    top: 20%;
    align-self: flex-start;
    height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e8e8;
}

/* 宣传语区域 */
.mknews-promo {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.mknews-promo-title {
    font-size: 18px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 10px;
}

.mknews-promo-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.mknews-phone {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
    color: #333;
}

.mknews-phone-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: #0066cc;
}

.mknews-customer-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0066cc, #00aaff);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.15);
}

.mknews-customer-service:hover {
    background: linear-gradient(135deg, #0055aa, #0099ee);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.2);
}

/* 文章导航区域 */
.mknews-article-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mknews-article-nav-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    color: #333;
}

.mknews-article-nav-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #0066cc;
    border-radius: 2px;
}

.mknews-article-nav-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

/* 自定义滚动条 */
.mknews-article-nav-content::-webkit-scrollbar {
    width: 6px;
}

.mknews-article-nav-content::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.mknews-article-nav-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.mknews-article-nav-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.mknews-article-nav-list {
    list-style: none;
}

.mknews-article-nav-item {
    margin-bottom: 8px;
}

.mknews-article-nav-link {
    color: #555;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    transition: all 0.2s;
    border-radius: 6px;
    line-height: 1.4;
    border-left: 3px solid transparent;
    background: #f9f9f9;
}

.mknews-article-nav-link:hover {
    color: #0066cc;
    background-color: #f0f7ff;
    border-left-color: #0066cc;
}

.mknews-article-nav-link.active {
    color: #0066cc;
    font-weight: 600;
    background-color: #e8f2ff;
    border-left-color: #0066cc;
}

.mknews-article-nav-h1 {
    font-weight: 600;
    font-size: 15px;
    padding-left: 0;
}

.mknews-article-nav-h2 {
    font-weight: 500;
    font-size: 14px;
    padding-left: 12px;
}

.mknews-article-nav-h3 {
    font-weight: 400;
    font-size: 13px;
    padding-left: 24px;
    color: #777;
}

/* 中间内容区域 */
.mknews-main-content {
    flex: 1;
    min-width: 300px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    position: relative;
    border: 1px solid #e8e8e8;
}

/* 文章标题区域 */
.mknews-article-header {
    background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%);
    padding: 25px 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e6f0ff;
    border-radius: 10px;
    border-left: 5px solid #0066cc;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.08);
    position: relative;
    overflow: hidden;
}

.mknews-article-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 12px;
}

.mknews-article-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    border-radius: 3px;
}

.mknews-article-meta {
    width: 75%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e6f0ff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mknews-meta-item {
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 20px;
}

.mknews-meta-item:not(:last-child):after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background-color: #d9e6ff;
}

.mknews-meta-label {
    color: #555;
    font-weight: 500;
    margin-right: 5px;
}

.mknews-meta-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    color: #0066cc;
}

/* 新闻正文 */
.mknews-article-content {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 20px;
    color: #444;
}

.mknews-article-content h1 {
    font-size: 24px;
    color: #0066cc;
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.mknews-article-content h2 {
    font-size: 20px;
    color: #0088dd;
    margin: 22px 0 12px;
    border-left: 4px solid #0088dd;
    padding-left: 12px;
}

.mknews-article-content h3 {
    font-size: 18px;
    color: #0099ee;
    margin: 18px 0 10px;
    border-left: 3px solid #0099ee;
    padding-left: 12px;
}

.mknews-article-content p {
    margin-bottom: 16px;
    color: #444;
}

.mknews-article-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

/* 上一篇/下一篇导航 */
.mknews-article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.mknews-nav-prev,
.mknews-nav-next {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
    background-color: #f8fafc;
    transition: all 0.3s;
    text-decoration: none;
    border: 1px solid #e6f0ff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mknews-nav-prev:hover,
.mknews-nav-next:hover {
    background-color: #f0f7ff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
    border-color: #0066cc;
}

.mknews-nav-prev {
    margin-right: 15px;
}

.mknews-nav-next {
    margin-left: 15px;
}

.mknews-nav-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.mknews-nav-title-small {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.mknews-nav-icon-small {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    color: #0066cc;
}

/* 右侧栏 */
.mknews-right-sidebar {
    flex: 0 0 280px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    position: sticky;
    top: 20%;
    align-self: flex-start;
    border: 1px solid #e8e8e8;
}

.mknews-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

/* CTA模块 */
.mknews-cta {
    background: linear-gradient(135deg, #0066cc, #00aaff);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.mknews-cta-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.mknews-cta-text {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.mknews-cta-button {
    display: inline-block;
    background-color: white;
    color: #0066cc;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mknews-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #f0f7ff;
}

/* 工具模块 - 添加链接 */
.mknews-tool-link {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    background: #f9f9f9;
}

.mknews-tool-link:hover {
    border-color: #0066cc;
    background-color: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.mknews-tool-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    color: #0066cc;
}

.mknews-tool-text {
    font-weight: 500;
    color: #333;
}

/* 热门文章模块 */
.mknews-popular-article {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mknews-popular-article:last-child {
    border-bottom: none;
}

.mknews-popular-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #f0f7ff;
    color: #0066cc;
    font-weight: 700;
    font-size: 12px;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.mknews-popular-rank.top3 {
    background-color: #0066cc;
    color: white;
}

.mknews-popular-content {
    flex: 1;
}

.mknews-popular-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
}

.mknews-popular-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.mknews-popular-title a:hover {
    color: #0066cc;
}

.mknews-popular-date {
    font-size: 12px;
    color: #888;
}

/* 下载模块 */
.mknews-download-link {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    background: #f9f9f9;
}

.mknews-download-link:hover {
    border-color: #0066cc;
    background-color: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.mknews-download-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.mknews-download-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    color: #0066cc;
}

.mknews-download-details {
    flex: 1;
}

.mknews-download-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 3px;
}

.mknews-download-url {
    font-size: 12px;
    color: #666;
    word-break: break-all;
    max-width: 160px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .mknews-container {
        flex-direction: column;
    }
    
    .mknews-left-sidebar {
        position: static;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    
    .mknews-right-sidebar {
        position: static;
        width: 100%;
    }
    
    .mknews-article-nav-content {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .mknews-main-content {
        padding: 15px;
    }
    
    .mknews-article-title {
        font-size: 24px;
    }
    
    .mknews-article-meta {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .mknews-meta-item:not(:last-child):after {
        display: none;
    }
    
    .mknews-article-content h1 {
        font-size: 22px;
    }
    
    .mknews-article-content h2 {
        font-size: 20px;
    }
    
    .mknews-article-content h3 {
        font-size: 18px;
    }
    
    .mknews-article-navigation {
        flex-direction: column;
    }
    
    .mknews-nav-prev,
    .mknews-nav-next {
        margin: 0 0 15px 0;
        width: 100%;
    }
    
    .mknews-download-url {
        max-width: 120px;
    }
}