/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* 内容区域 */
.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: none;
}

/* 布局容器 */
.layout-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 左侧导航 */
.sidebar {
    flex: 0 0 280px;
    background: #1a365d;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    position: relative;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    pointer-events: none;
}

.sidebar-header {
    padding: 35px 25px 25px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: #1a365d;
}

.sidebar-title {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    position: relative;
    letter-spacing: 2px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
}

.sidebar-nav {
    padding: 30px 0;
    position: relative;
    z-index: 1;
}

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

.nav-item1 {
    margin: 0;
}

.nav-link1 {
    display: block;
    padding: 18px 25px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid transparent;
}

.nav-link1:hover {
    color: #ffffff;
    background-color: rgba(255,255,255,0.15);
    border-left-color: rgba(255,255,255,0.7);
}

.nav-item1.active .nav-link1 {
    color: #ffffff;
    background-color: rgba(255,255,255,0.2);
    border-left-color: #ffffff;
    font-weight: 600;
}

.nav-link1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: rgba(255,255,255,0.1);
    transition: width 0.3s ease;
}

.nav-link1:hover::before {
    width: 100%;
}

/* 右侧内容 */
.main-content {
    flex: 1;
    background-color: #ffffff;
    border-radius: 0;
    padding: 30px;
    box-shadow: none;
}

/* 面包屑导航 */
.breadcrumb-container {
    margin-bottom: 25px;
    text-align: right;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-icon {
    margin-right: 8px;
    font-size: 16px;
}

.breadcrumb-text {
    color: #666;
}

.breadcrumb-text a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-text a:hover {
    color: #1a365d;
    text-decoration: underline;
}

.current-category {
    color: #333;
    font-weight: 500;
}

/* 内容标题 */
.content-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.content-title {
    font-size: 28px;
    font-weight: bold;
    color: #1a365d;
    margin: 0;
    position: relative;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #2c5aa0;
}

/* 文章列表 */
.article-list {
    background-color: #ffffff;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-radius: 0;
    margin-bottom: 0;
    font-weight: 600;
    color: #1a365d;
    border-bottom: 1px solid #e0e0e0;
}

.list-title {
    flex: 1;
    font-size: 16px;
}

.list-date {
    flex: 0 0 120px;
    text-align: right;
    font-size: 14px;
}

.article-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.article-item:hover {
    background-color: #f5f8ff;
    transform: translateX(5px);
}

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

.article-bullet {
    width: 8px;
    height: 8px;
    background-color: #2c5aa0;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.article-item:hover .article-bullet {
    transform: scale(1.2);
}

.article-title {
    flex: 1;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}
.article-title a{
    font-size: 16px;
    color: #333;
    text-decoration: none;
}
.article-item:hover .article-title {
    color: #2c5aa0;
}

.article-date {
    flex: 0 0 120px;
    text-align: right;
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .layout-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .sidebar {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .sidebar-header {
        padding: 20px 20px 15px;
    }
    
    .sidebar-title {
        font-size: 20px;
    }
    
    .nav-list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding: 0 10px 10px;
    }
    
    .nav-item1 {
        flex: 0 0 auto;
        margin-right: 10px;
    }
    
    .nav-link1 {
        padding: 10px 15px;
        font-size: 14px;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .nav-item1.active .nav-link1 {
        border-left: none;
        border-bottom-color: #ffffff;
    }
    
    .nav-link1:hover {
        border-left: none;
        border-bottom-color: rgba(255,255,255,0.5);
    }
    
    .nav-link1::before {
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        height: 0;
        width: 100%;
    }
    
    .nav-link1:hover::before {
        height: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .content-area {
        padding: 15px;
    }
    
    .layout-container {
        gap: 15px;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .content-title {
        font-size: 24px;
    }
    
    .breadcrumb {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .list-header {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .article-item {
        padding: 15px;
    }
    
    .article-title {
        font-size: 15px;
    }
    
    .article-date {
        font-size: 12px;
        flex: 0 0 100px;
    }
    
    .list-date {
        flex: 0 0 100px;
    }
}

@media (max-width: 480px) {
    .content-area {
        padding: 10px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .content-title {
        font-size: 20px;
    }
    
    .content-title::after {
        width: 40px;
        height: 2px;
    }
    
    .breadcrumb {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .list-header {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .article-item {
        padding: 12px 15px;
    }
    
    .article-bullet {
        width: 6px;
        height: 6px;
        margin-right: 12px;
    }
    
    .article-title {
        font-size: 14px;
    }
    
    .article-date {
        font-size: 11px;
        flex: 0 0 80px;
    }
    
    .list-date {
        flex: 0 0 80px;
    }
    
    .sidebar-header {
        padding: 15px 15px 10px;
    }
    
    .sidebar-title {
        font-size: 18px;
    }
    
    .nav-link1 {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-area {
    animation: fadeInUp 0.6s ease-out;
}

.sidebar {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.main-content {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* 左侧导航光泽效果 */
.sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}