@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-Regular';
    src: url('wikistatic/font/MiSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'MiSans-Bold';
    src: url('wikistatic/font/MiSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Alibaba-PuHuiTi-Medium';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/Alibaba-PuHuiTi-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'MiSans-Regular', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    padding-top: 60px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #0056b3, #007bff);
    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;
}

.logo {
    font-family: 'Alibaba-PuHuiTi-Medium', sans-serif;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

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

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

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

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

/* Main Content Styles */
.main-content {
    display: flex;
    margin: 30px 0;
    gap: 30px;
}

.content-left {
    flex: 7;
}

.content-right {
    flex: 3;
}

/* Breadcrumb Styles */
.breadcrumb {
    display: flex;
    font-size: 14px;
    margin-bottom: 20px;
    color: #6c757d;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 8px;
}

/* Category Header Styles */
.category-header {
    margin-bottom: 25px;
}

.category-header h1 {
    font-family: 'MiSans-Bold', sans-serif;
    font-size: 28px;
    color: #0056b3;
    margin-bottom: 10px;
}

.category-header p {
    color: #6c757d;
    line-height: 1.6;
}

/* Entry List Styles */
.entry-list {
    margin-bottom: 30px;
}

.entry-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.entry-card h3 {
    font-family: 'MiSans-Medium', sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.entry-card h3 a {
    color: #0056b3;
    text-decoration: none;
}

.entry-card h3 a:hover {
    text-decoration: underline;
}

.entry-card p {
    color: #6c757d;
    margin-bottom: 10px;
    font-size: 14px;
}

.entry-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #adb5bd;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    background-color: white;
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pagination a:hover {
    background-color: #f1f8ff;
}

.pagination a.active {
    background-color: #007bff;
    color: white;
}

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

.sidebar-section h2 {
    font-family: 'MiSans-Medium', sans-serif;
    font-size: 18px;
    color: #0056b3;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.popular-list, .related-list, .latest-list {
    list-style: none;
}

.popular-list li, .related-list li, .latest-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e9ecef;
}

.popular-list li:last-child, .related-list li:last-child, .latest-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-list a, .related-list a, .latest-list a {
    color: #495057;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.popular-list a:hover, .related-list a:hover, .latest-list a:hover {
    color: #007bff;
}

.popular-list .rank {
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: #e9ecef;
    color: #6c757d;
    border-radius: 4px;
    text-align: center;
    line-height: 22px;
    margin-right: 10px;
    font-size: 12px;
}

.popular-list .rank.top {
    background-color: #007bff;
    color: white;
}

.related-list i, .latest-list i {
    margin-right: 8px;
    color: #007bff;
    font-size: 14px;
}

.latest-list .date {
    font-size: 12px;
    color: #adb5bd;
    margin-top: 3px;
}

/* Footer Styles */
footer {
    background-color: #343a40;
    color: #adb5bd;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}



/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    
    .content-left, .content-right {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    .footer-container {
        flex-direction: column;
    }
}