@font-face {
    font-family: 'MiSans-Regular';
    src: url('wikistatic/font/MiSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MiSans-Medium';
    src: url('wikistatic/font/MiSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'MiSans-Bold';
    src: url('wikistatic/font/MiSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'MiSans-Regular', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1a6fc4, #0a4a94);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-family: 'MiSans-Bold', sans-serif;
    font-size: 24px;
    margin-left: 10px;
}

.logo i {
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-family: 'MiSans-Medium', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: bold;
}

/* Main Content Styles */
.main-container {
display: flex
;
    gap: 30px;
    width: 1200px;
    margin: 0 auto;
    padding-top: 90px;
}

.content-main {
    flex: 7;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.content-sidebar {
    flex: 3;
}

/* Breadcrumb Styles */
.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #1a6fc4;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #0a4a94;
}

.breadcrumb i {
    margin: 0 8px;
    font-size: 12px;
}

/* Article Header Styles */
.article-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

.article-title {
    font-family: 'MiSans-Bold', sans-serif;
    font-size: 28px;
    color: #0a4a94;
    margin-bottom: 10px;
}

.article-meta {
    display: flex;
    color: #888;
    font-size: 14px;
    gap: 20px;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-meta i {
    margin-right: 5px;
}

/* Table of Contents Styles */
.article-toc {
    background-color: #f5f9ff;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.toc-title {
    font-family: 'MiSans-Medium', sans-serif;
    font-size: 18px;
    color: #0a4a94;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.toc-title i {
    margin-right: 8px;
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin: 8px 0;
}

.toc-list a {
    color: #1a6fc4;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.toc-list a:hover {
    color: #0a4a94;
}

.toc-list i {
    margin-right: 8px;
    font-size: 14px;
}

/* Article Content Styles */
.article-content {
    margin-bottom: 30px;
}

.article-section {
    margin-bottom: 25px;
}

.section-title {
    font-family: 'MiSans-Bold', sans-serif;
    font-size: 22px;
    color: #0a4a94;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e6f0ff;
    display: flex;
    width: 100%;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: #1a6fc4;
}

.article-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.article-content strong {
    font-family: 'MiSans-Medium', sans-serif;
    color: #0a4a94;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-table th {
    background-color: #e6f0ff;
    padding: 12px 15px;
    text-align: left;
    font-family: 'MiSans-Medium', sans-serif;
    color: #0a4a94;
}

.article-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #eaeaea;
}

.article-table tr:nth-child(even) {
    background-color: #f9fbff;
}

/* Related Articles Styles */
.related-articles {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.related-title {
    font-family: 'MiSans-Medium', sans-serif;
    font-size: 20px;
    color: #0a4a94;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.related-title i {
    margin-right: 10px;
}

.related-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.related-item {
    background-color: white;
    border-radius: 6px;
    padding: 12px;
    width: calc(33.33% - 10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-item a {
    color: #1a6fc4;
    text-decoration: none;
    font-family: 'MiSans-Medium', sans-serif;
}

.related-item a:hover {
    color: #0a4a94;
}

/* Comments Section Styles */
.comments-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.comments-title {
    font-family: 'MiSans-Medium', sans-serif;
    font-size: 20px;
    color: #0a4a94;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.comments-title i {
    margin-right: 10px;
}

.comment {
    background-color: #f9fbff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-user {
    display: flex;
    align-items: center;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1a6fc4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-family: 'MiSans-Bold', sans-serif;
}

.comment-name {
    font-family: 'MiSans-Medium', sans-serif;
}

.comment-date {
    color: #888;
    font-size: 14px;
}

.comment-content {
    line-height: 1.6;
}

/* Sidebar Styles */
.sidebar-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-title {
    font-family: 'MiSans-Medium', sans-serif;
    font-size: 18px;
    color: #0a4a94;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #e6f0ff;
    padding-bottom: 10px;
}

.sidebar-title i {
    margin-right: 8px;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    margin-bottom: 10px;
    align-items: flex-start;
}

.info-label {
    color: #666;
    width: 80px;
    flex-shrink: 0;
}

.info-value {
    color: #333;
    flex-grow: 1;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: #e6f0ff;
    color: #1a6fc4;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.tag:hover {
    background-color: #cce0ff;
}

.popular-list {
    list-style: none;
}

.popular-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
}

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

.popular-rank {
    width: 24px;
    height: 24px;
    background-color: #e6f0ff;
    color: #1a6fc4;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-family: 'MiSans-Bold', sans-serif;
}

.popular-item:nth-child(-n+3) .popular-rank {
    background-color: #1a6fc4;
    color: white;
}

.popular-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    flex-grow: 1;
}

.popular-link:hover {
    color: #1a6fc4;
}

.popular-views {
    color: #888;
    font-size: 14px;
    margin-left: 10px;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a6fc4, #0a4a94);
    color: white;
    padding: 30px 0;
    margin-top: 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    padding: 0 15px;
}

.footer-title {
    font-family: 'MiSans-Bold', sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

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