/* 基础样式 */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部导航 */
.header {
    background: #3498db;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo {
    height: 36px;
    margin-right: 10px;
}

.site-name {
    font-size: 18px;
    font-weight: bold;
}

.desktop-nav {
    display: flex;
    gap: 20px;
}

.desktop-nav a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    background: rgba(255, 255, 255, 0.1);
}

/* 移动端底部导航（默认显示，大屏隐藏） */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex; /* 修改：显示导航 */
    background-color: white;
    border-top: 1px solid #eee;
    z-index: 1000;
    height: 60px;
    padding: 0; /* 修改：移除多余内边距 */
}

.mobile-nav .nav-item {
    flex: 1; /* 修改：平均分配宽度 */
    text-align: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 修改：垂直居中 */
    align-items: center;
    padding: 0; /* 修改：移除多余内边距 */
}

.mobile-nav .nav-item.active {
    color: #3498db; /* 保持原有颜色 */
}

.mobile-nav .nav-icon {
    font-size: 20px;
    margin-bottom: 3px;
}

.mobile-nav .nav-text {
    font-size: 12px; /* 保持文字大小 */
}

/* 路径导航 */
.breadcrumbs {
    margin: 10px 0 20px;
    color: #666;
    font-size: 14px;
}



.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #2c3e50;
}

.breadcrumbs span {
    margin: 0 5px;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        padding-bottom: 70px; /* 为移动端底部导航留出空间 */
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
}