/**
 * 基础样式文件 - base.css
 * 包含全局重置、基础工具类、通用样式
 * 加载顺序：在Bootstrap之后，layout.css之前
 */

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

html {
    font-size: 14px;
    overflow-x: hidden;
}

body {
    font-family: 'Arial', 'Nunito Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

li {
    list-style: none;
}

a {
    color: #212529;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

p, dl, dt, dd, ul {
    margin: 0;
    padding: 0;
}

/* ========== 间距工具类（扩展Bootstrap） ========== */
.mt-6, .my-6 { margin-top: 4rem !important; }
.mt-7, .my-7 { margin-top: 5rem !important; }
.mt-8, .my-8 { margin-top: 6rem !important; }
.mt-9, .my-9 { margin-top: 7rem !important; }
.mt-10, .my-10 { margin-top: 8rem !important; }

.mb-6, .my-6 { margin-bottom: 4rem !important; }
.mb-7, .my-7 { margin-bottom: 5rem !important; }
.mb-8, .my-8 { margin-bottom: 6rem !important; }
.mb-9, .my-9 { margin-bottom: 7rem !important; }
.mb-10, .my-10 { margin-bottom: 8rem !important; }

.pt-6, .py-6 { padding-top: 4rem !important; }
.pt-7, .py-7 { padding-top: 5rem !important; }
.pt-8, .py-8 { padding-top: 6rem !important; }
.pt-9, .py-9 { padding-top: 7rem !important; }
.pt-10, .py-10 { padding-top: 8rem !important; }

.pb-6, .py-6 { padding-bottom: 4rem !important; }
.pb-7, .py-7 { padding-bottom: 5rem !important; }
.pb-8, .py-8 { padding-bottom: 6rem !important; }
.pb-9, .py-9 { padding-bottom: 7rem !important; }
.pb-10, .py-10 { padding-bottom: 8rem !important; }

/* ========== 边框工具类 ========== */
.border-top-dashed { border-top: 1px dashed #dee2e6 !important; }
.border-right-dashed { border-right: 1px dashed #dee2e6 !important; }
.border-bottom-dashed { border-bottom: 1px dashed #dee2e6 !important; }

/* ========== 字距工具类 ========== */
.ls-1 { letter-spacing: 1px; }
.ls-2 { letter-spacing: 2px; }
.ls-3 { letter-spacing: 3px; }
.ls-4 { letter-spacing: 4px; }
.ls-5 { letter-spacing: 5px; }

/* ========== 分页样式 ========== */
.page-num:not(:disabled) { cursor: pointer; }
.page-num, .page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #17a2b8;
    background-color: #fff;
    border: 1px solid #dee2e6;
}
a.page-num:hover, .page-link:hover { text-decoration: none; }
.page-num-current {
    z-index: 1;
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}
.page-num-current:hover { color: #fff; }

/* ========== 内容区域通用样式 ========== */
.pages {
    min-height: 500px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.position { color: #999; }
.position a { color: #999; }

.content {
    color: #666;
    line-height: 2;
}
.content img, .content iframe { max-width: 100% !important; }
.content li {
    list-style: disc outside none;
    margin-left: 20px;
}

/* ========== 导航栏扩展样式 ========== */
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.2rem;
    padding-left: 1.2rem;
    font-size: 14px;
}

.navbar-brand {
    font-size: 20px;
    padding-top: 0;
    padding-bottom: 0;
}

