:root {
  --red-950: #650b0b;
  --red-900: #85110f;
  --red-800: #a91b14;
  --red-700: #c62a19;
  --gold-500: #e8b84d;
  --gold-300: #f8d98a;
  --cream: #fffaf0;
  --ink: #28160f;
  --muted: #80645a;
  --line: rgba(142, 51, 26, 0.15);
  --shadow: 0 20px 52px rgba(117, 37, 17, 0.12);
  --page-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #dbf9e8;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.main-content {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: repeat(3, auto);
  justify-content: space-between;
  row-gap: 20px;
  align-items: center;
  width: 1200px;
  margin: 0 auto;
  margin-top: 20px;
  /* background-color: #f6f4f4; */
}

.colume-img {
  width: 1200px;
  height: 360px;
  margin: 0 auto;
  overflow: hidden;
}

.top-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-nav {
  width: 1200px;
  height: 60px;
  background-color: rgb(37, 116, 232);
  margin: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 26px;

  /* overflow: hidden;
      clear: both; */
}

.top-nav a {
  color: rgb(249, 247, 247);
  font-size: 20px;
  font-family: 微软雅黑;
  font-weight: 600;
  letter-spacing: 2px;
}

.civilize-box-wmcj,
.civilize-box-wmsj,
.civilize-box-ddjs,
.civilize-box-wcnr,
.civilize-box-zyfw,
.civilize-box-gongyi {
  width: 580px;
  /* max-width: 580px; */
  margin: 0px auto;
  padding: 0px;
  /* border: #222 solid 1px; */
  box-shadow: 5px 5px 10px rgb(67, 153, 251);
  background-color: #eee;
}

/* 顶部标题栏 */
.civilize-title-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* margin-bottom: 20px; */
}

.line-left,
.line-right {
  flex: 1;
  height: 8px;
  background-image: linear-gradient(90deg, #e0edff 0%, #b8d8ff 100%);
  background-size: 12px 8px;
  background-repeat: repeat-x;
}

.civilize-title {
  background-color: #2574e8;
  color: #fff;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 3px;
  padding: 3px 15px;
  border-radius: 25px 8px 25px 8px;
  margin: 0 12px;
}

/* 头条图文区域 */
.top-news {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  flex-wrap: nowrap;
  /* 禁止换行 */
  overflow: hidden;
  margin-top: 25px;
  align-items: center;
  /* gap: 20px; */
  /* margin-bottom: 24px; */

}

.top-news-img {
  /* float: left; */
  width: 240px;
  height: 180px;
  object-fit: cover;
  border: 1px solid #eee;
}

.top-news-info {
  /* flex: 1; */
  /* border-bottom: 1px solid #661616; */
  width: 320px;
  height: 180px;
  /* float: right; */
  /* background-color: #e2e1dc; */
}

.top-news-info h3 {
  font-size: 20px;
  color: #222;
  line-height: 1.4;
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-justify: inter-ideograph;
  /* 消除最后一行也被拉伸，只让前面行两端对齐（常用！） */
  text-align-last: left;
}

.top-news-info p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  text-justify: inter-ideograph;
  /* 消除最后一行也被拉伸，只让前面行两端对齐（常用！） */
  text-align-last: left;
  text-indent: 2em;
  /* 首行缩进2字符 */
}

/* 新闻列表 */
.news-list {
  /* border: 1px solid #696868; */
  list-style: none;
  padding: 5px 0;
  /* display: flex;
      justify-content: space-between; */
  align-items: center;
}

.news-list h3 {
  font-family: 'PingFangSC,PingFang SC';
  font-weight: 500;
  font-size: 17px;
  color: #222;
  line-height: 36px;
  width: fit-content;
  /* 标题宽度自适应内容 */
  text-overflow: ellipsis;
  /* 标题超长省略号 */
  white-space: nowrap;
  /* 标题不换行 */
}

.news-list-time {
  white-space: nowrap;
  /* 时间不换行 */
}

.news-list h3::before {
  content: "●";
  /* 实心圆点 */
  color: #266afe;
  /* 圆点颜色 */
  margin-right: 3px;
  /* 圆点和文字间距 */
  font-size: 12px;
  align-content: center;
}

.news-list li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f4f4f4;
}

.news-list h3 a {
  color: #751a1a;
  font-size: 17px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

/* .news-list h3::before {
      content: "▶";
      color: #dd2222;
      margin-right: 2px;
      font-size: 12px;
    } */

.news-list h3 a:hover {
  color: #6f1d1d;
  text-decoration: none;
}

.news-date {
  color: #666;
  font-size: 16px;
}

.site-footer {
  width: 1200px;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, #2d5bd9, #3c63ab);
  /* border-top: 4px solid var(--gold-500); */
  font-family: 'PingFangSC,PingFang SC';
  font-weight: 600;
  font-size: 17px;
  text-align: center;
  letter-spacing: 1px;
  margin: 20px auto;
}

.site-footer .page-width {
  display: flex;
  height: 200px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 移动端适配 */
@media (max-width:768px) {
  .top-news {
    flex-direction: column;
  }

  .top-news-img {
    width: 100%;
    height: auto;
  }

  .civilize-title {
    font-size: 24px;
    padding: 6px 20px;
  }

  .top-news-info h3 {
    font-size: 22px;
  }
}