/* 基础重置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* 背景图设置：使用 cover 保证铺满且不变形 */
    background-image: url('p/bj.png'); 
    background-repeat: no-repeat; 
    background-size: cover;
    background-attachment: fixed;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
    color: #333;
    line-height: 1.8;
}

/* 内容主体容器：增加半透明白色背景，保证文字清晰可读 */
.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px 50px;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-top: 6px solid #8B0000; /* 暗红色顶边框，呼应红场主题 */
}

/* 排版与标题 */
h1 {
    text-align: center;
    color: #8B0000;
    font-size: 2.5em;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

h2 {
    color: #8B0000;
    border-bottom: 2px solid #D4AF37; /* 金色下划线 */
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
}

h3 {
    color: #8B0000;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
    text-align: justify;
}

/* 图片统一样式：响应式宽度、圆角与阴影 */
img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 列表美化 */
ul, ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

ul li, ol li {
    margin-bottom: 10px;
}

ul ul {
    margin-top: 10px;
}

/* 链接美化 */
a {
    color: #B8860B;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

a:hover {
    color: #8B0000;
    text-decoration: underline;
}

/* 分割线美化 */
hr {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, rgba(139, 0, 0, 0), rgba(139, 0, 0, 0.75), rgba(139, 0, 0, 0));
    margin: 40px 0;
}

/* 文字高亮工具类 (替代原来的内联样式) */
.text-red { color: #C50000; font-weight: bold; }
.text-darkred { color: #8B0000; font-weight: bold; }
.text-blue { color: #0125C5; font-weight: bold; }
.text-gold { color: #C5A801; font-weight: bold; }

del b {
    color: #888;
}