/* ========================================
   法律课件平台 - 统一样式表
   ======================================== */

/* ---------- 重置与基础 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- 统一页面容器（导航/内容/页脚共用，保证左右对齐） ---------- */
.page-wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ---------- 导航栏 ---------- */
.navbar-wrap {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #3498db;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo span {
    color: #2482a9;
}

.breadcrumb {
    font-size: 14px;
    color: #888;
    white-space: nowrap;
}

.breadcrumb a {
    color: #3498db;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

/* ---------- 内容区 ---------- */
.container {
    width: 100%;
    padding: 40px 0;
    flex: 1;
}

/* ---------- 页脚 ---------- */
.footer-wrap {
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.footer {
    text-align: center;
    padding: 24px 0;
    font-size: 13px;
    color: #aaa;
}

.footer p {
    margin: 4px 0;
}

.footer a {
    color: #3498db;
}

.footer a:hover {
    text-decoration: underline;
}
