/* ==================== 基础重置与全局样式 ==================== */
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  min-width: 1264px;
  font: 16px/28px 'Microsoft YaHei', Arial, Helvetica, sans-serif; /* 正文字体大小调整为16px */
  color: #f0e6d2; /* 微黄色文字 */
  background: #252525 url('../images/back.png') center/cover repeat;
}

/* ==================== 核心布局结构 ==================== */
.main {
  width: 940px;
  margin: 0 auto;
}

/* ==================== 头部与导航 ==================== */
header {
   padding: 17px 0px;  
}
.logo {
  font-size: 40px;
  color: #ffffff; /* Logo 颜色保持为白色 */
  padding: 10px 20px;
  background: url('../images/logo.png') center/cover no-repeat;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: border-color 0.3s;
}

.logo:hover {
  border-color: #ffffff; /* 鼠标悬停时的边框颜色 */
}

nav {
  width: 940px;
  margin: 0 auto;
  padding: 5px 0 11px;
}

nav .menu {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

nav .menu li {
  list-style: none;
  margin: 0 28px;
}

nav .menu li a {
  color: #ffffff; /* 导航链接颜色保持为白色 */
  font-size: 22px;
  text-transform: uppercase;
}

nav .menu li a:hover,
nav .menu li a.current {
  color: #7def53; /* 鼠标悬停和当前页面的导航链接颜色 */
}

/* ==================== 主要内容区域 ==================== */
#content {
  width: 960px;
  margin: 0 auto;
  padding-bottom: 55px;
}

.container {
  display: flex;
  margin-top: 30px;
  align-items: center;
  justify-content: center;
  width: 100%;    
}

.topTitle {
  margin-top: 30px;
  font-size: 45px;
  text-align: center;
}

.smallText {
  font-size: 16px;
  line-height: 30px;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none; /* 添加这行代码 */
    list-style-image: none;
}

ul.list-1 li {
    padding: 0px 0 0px 12px;
    line-height: 24px;
}

ul.list-1 li a {
    font-size: 16px; /* 链接字体大小调整为16px */
    color: #a09a8b; /* 柔和的灰色 */
    line-height: 24px;
}

ul.list-1 li a:hover {
    color: #7def53; /* 鼠标悬停时的链接颜色 */
}

ul.list-2 li {
    padding: 0 0 6px 15px;
    line-height: 28px; /* 调整行距 */
}

ul.list-2 li a {
    font-size: 16px; /* 链接字体大小调整为16px */
    color: #a09a8b; /* 柔和的灰色 */
}

ul.list-2 li a:hover {
    color: #7def53; /* 鼠标悬停时的链接颜色 */
}

ul.list-3 {
  list-style-type: square; /* 启用方块项目符号 */
  padding-left: 20px;
}

ul.list-3 li {
  padding: 0 0 6px 15px; /* 为每个列表项添加内边距 */
  line-height: 24px; /* 设置行高 */
}

ul.list-3 li a {
  font-size: 16px; /* 链接字体大小 */
  color: #fffffe; /* 链接颜色 */
  line-height: 24px; /* 链接行高 */
  cursor: pointer;
}

ul.list-3 li a:hover {
  color: #c9ceb4; /* 鼠标悬停时的链接颜色 */
}

ul.list-3 li::marker {
  font-size: 1.5em; /* 增大方块的大小 */
}

.list-item-style {
  color: #dcdcdc; /* 更柔和的文字颜色 */
  font-size: 15px;
  background: linear-gradient(to right, rgba(173, 216, 230, 0.1), rgba(173, 216, 230, 0.3)); /* 更柔和的渐变背景 */
  padding: 1px 15px !important; /* 增加内边距 */
  margin-bottom: 15px; /* 增加间距 */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* 添加文字阴影 */
  border: 1px solid rgba(255, 255, 255, 0.3); /* 添加边框 */
}

/* ==================== 通用组件样式 ==================== */
a {
  color: #fffffe; /* 链接颜色为微黄色 */
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #7def53; /* 鼠标悬停时的链接颜色 */
}

a:visited {
  color: #fffffe; /* 已访问链接颜色 */
}

a:active {
  color: #fffffe; /* 活动链接颜色 */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ==================== 页脚样式 ==================== */
footer {
  width: 940px;
  margin: 0 auto;
  padding: 37px 0 40px;
  background: url(../images/line.png) repeat-x;
  display: flex;
  justify-content: space-between;
}

footer a {
  color: #f0e6d2; /* 页脚链接颜色为微黄色 */
}

.link {color:#f0e6d2; text-decoration:none; }
.link:hover {text-decoration:underline;}

.clr-1 {
  color: #f0e6d2; /* 文字颜色为微黄色 */
}

.clr-2 {
  color: #f0e6d2; /* 文字颜色为微黄色 */
  font-size: 16px; /* 正文字体大小调整为16px */
  line-height: 28px; /* 调整行距 */
  text-indent: 2em; /* 段落首行缩进 */
  margin-bottom: 20px; /* 段落间距 */
}

.box-1 a {
  background: url(../images/marker-2.gif) right 13px no-repeat rgb(38, 56, 116);
  font-size: 26px;
  line-height: 32px;
  color: #f0e6d2; /* 文字颜色为微黄色 */
  letter-spacing: -1px;
  display: block;
  padding: 5px 26px 12px 25px;
}

.box-1 a:hover {
  background-color: #4062c7;/* 鼠标悬停时的背景颜色 */
}

.line {
  background: url(../images/line.png) 0 0 repeat-x;
  height: 5px;
}

.box-2 {
  overflow: hidden;
}

/* ==================== 特殊组件扩展 ==================== */
.list-2 li {
  padding: 0 0 6px 15px;
  line-height: 28px; /* 调整行距 */
}

.list-2 li a {
  color: #a09a8b; /* 柔和的灰色 */
}

.clr-2 {
  color: #e0e0d0; /* 更柔和的文字颜色 */
  font-size: 18px;
  line-height: 28px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)); /* 渐变背景 */
  padding: 10px; /* 添加内边距 */
}

.button {
  background: #2fa27a;
  color: #f0e6d2 !important; /* 按钮文字颜色为微黄色 */
  padding: 4px 12px 10px;
  border-radius: 4px;
  transition: background 0.3s;
}

.button:hover {
  background: #33844c; /* 鼠标悬停时的按钮背景颜色 */
}

.history-btn {
    margin-top: 0px;
    padding: 2px 6px;
    border: 1px solid #007bff;
    border-radius: 4px;
    background: #fff;
    color: #007bff;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.history-btn:hover {
    background: #007bff;
    color: #fff;
}

.sogou-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 14px;
  border:1px solid #a09a8b;
  color:#a09a8b;
  font-size:14px;
  border-radius:999px;
  text-decoration:none;
  transition:.25s;
}
.sogou-badge:hover{
  background:#5e5e5e;
}
