/*
 * 专属样式: Site Navigation Page
 * 迁移自: Site Navigation模版.txt
 */

/* --- 全局样式 --- */
body {
    /* 字体在 public.css 中已定义，此处无需重复 */
    background-color: #ffffff; /* 纯白背景 */
    color: #1a1a1a; /* 深黑文字 */
}

/* --- 容器样式 --- */
.site-nav-container {
    max-width: 1200px;
    margin: 60px auto; /* 上下留出足够空间 */
    padding: 20px 40px;
}

/* --- 主标题 --- */
.site-nav-header h1 {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.5px;
}

/* --- 带子分类的网格布局 --- */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 响应式网格 */
    gap: 50px; /* 网格间距 */
    border-bottom: 1px solid #e0e0e0; /* 分隔线 */
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.nav-section h2 {
    font-size: 20px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 20px;
}

.nav-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-section ul li {
    margin-bottom: 12px;
}

.nav-section ul li a {
    text-decoration: none;
    color: #333333; /* 次级文字颜色 */
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-section ul li a:hover {
    color: #000000; /* 悬停时变纯黑 */
}

/* --- 简单链接区域 --- */
.nav-simple-links {
    display: flex;
    justify-content: center; /* 居中排列 */
    gap: 40px; /* 链接间距 */
    flex-wrap: wrap; /* 移动端换行 */
}

.nav-simple-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 5px;
    position: relative;
}

/* 悬停下划线效果 */
.nav-simple-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #1a1a1a;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.nav-simple-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}