/* 页面背景和全局字体设置 */
body {
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}
ul {
    list-style: none; /* 隐藏默认项目符号 */
    padding-left: 20px;
}

ul li {
    position: relative;
    padding-left: 25px; /* 为自定义符号留出空间 */
}

ul li::before {
    content: "•"; /* 自定义符号（例如圆点、图标等） */
    position: absolute;
    left: 0;
    color: #1e88e5; /* 自定义符号颜色 */
    font-size: 1.2em; /* 符号大小 */
}

/* 包装内容的主容器 */
 
.ad-wrapper {
    max-width: 900px;
    margin: 10px auto; /* 距离文章区域的间距 */
    background: #fff;
   
    text-align: center; /* 居中显示内容，可选 */
}
 
.page-wrapper {
    max-width: 880px;
    margin: 80px auto; /* 上方加大间距，确保与导航栏有足够距离 */
	 margin-bottom: 10px;
    background: #fff;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    padding: 10px; /* 确保顶部内容有足够的内间距 */
}
.rel_post
{
    max-width: 900px;
    margin: 10px auto; /* 上方加大间距，确保与导航栏有足够距离 */
    background: #fff;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    padding-top: 10px; /* 确保顶部内容有足够的内间距 */
}
/* 主内容容器 */
.content-container {
    padding: 20px;
}

/* 标题部分样式 */
.content-header {
    padding: 10px 0;
    text-align: center;
    margin-bottom: 20px;
}

.content-title {
    font-size: 2.5em;
    color: #3d5afe;
    margin: 0;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
}

.content-date {
    font-size: 0.9em;
    color: #666;
}

/* 文章内容样式 */
.content-body {
    font-size: 1.2em;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.content-body p {
    margin-bottom: 1em;
}

/* 图片自适应屏幕宽度 */
.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

/* 链接颜色样式 */
.content-body a {
    color: #3d5afe;
    text-decoration: underline;
    transition: color 0.3s;
}

.content-body a:hover {
    color: #1a237e;
}

/* 相关文章区域 */
.related-posts {
    background: #f1f3f5;
    padding: 20px;
    border-top: 2px solid #3d5afe;
}

.related-posts h2 {
    font-size: 1.5em;
    color: #3d5afe;
    margin-bottom: 15px;
}

/* 清除浮动 */
.clear {
    clear: both;
}

/* 固定导航栏 */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1); /* 给导航栏增加阴影区分内容 */
    padding: 10px 0; /* 导航栏内边距 */
}

/* 标题容器最小高度，确保多行标题不重叠 */
.content-header {
    min-height: 20px; /* 根据实际需要调整 */
    padding-top: 10px;
    text-align: center;
    margin-bottom: 20px;
}


