﻿:root {
  /*首页版心宽度*/
  --web-mainwidth: 1370px;
  /*其他页版心宽度*/
  --web-main-width: 1200px;
  /*布局行距*/
  --web-divmargin: 50px;
  /*字体*/
  --web-fontfamily: Microsoft YaHei, 微软雅黑, Arial, Tahoma, Verdana, STHeiTi,
    sans-serif, Helvetica, SimSun;
  /*字体颜色*/
  --web-fontcolor: #333;
  /*基准字体大小（新闻标题）*/
  --web-fontsize: 18px;
  /*比基准小*/
  --web-fontsize-s: 16px;
  /*比基准大（栏目标题）*/
  --web-fontsize-x: 20px;
  /*比基准加大（导航）*/
  --web-fontsize-xx: 24px;
  /*主体蓝色*/
  --web-bule: #0152a9;
  /*灰色背景*/
  --web-grey: #f2f6fb;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica,
    Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB",
    "Microsoft Yahei", sans-serif;
  background-color: #f3f3f3;
  max-width: 1024px;
}

a {
  text-decoration: none;
}

.top {
  position: fixed;
  top: 0;
  width: 100%;
  height: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  border-bottom: #1f66b3 1px solid;
}

.banner {
  background-color: #0152a9;
  color: white;
  line-height: 70px;
  font-size: xx-large;
  text-align: center;
}

.top #nav {
  background-color: white;
  height: 70px;
  font-size: x-large;
}

.top #nav .cur {
  color: #0152a9;
}

.top #nav .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.newsBox {
  height: calc(100vh - var(--top-height));
  overflow-y: auto;
  margin-top: var(--top-height);
  background-color: white;
}

#News .list {
  padding: 20px;
  border-bottom: 1px solid #f9f9f9;
  overflow: hidden;
}

#News .title {
  font-size: 24px;
  line-height: 36px;
  color: #333;
}

#News .time {
  color: #b2b2b2;
  line-height: 21px;
  font-size: 18px;
  padding-top: 18px;
}

#News .p1 {
  float: right;
  width: 190px;
  height: 110px;
  margin-left: 10px;
}

#News .p2,
#News .p3,
#News .pb {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
}

#News .pb img {
  width: 100%;
  border-radius: 10px;
}

#News .p1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

#News .p2 img {
  width: 48%;
  height: 136px;
  object-fit: cover;
  border-radius: 8px;
}

#News .p3 img {
  width: 32%;
  height: 91px;
  object-fit: cover;
  border-radius: 6px;
}

.banner {
  display: flex;
  align-items: center; /* 垂直居中 */
  justify-content: space-between; /* 两端对齐，但我们需要进一步调整 */
}

.banner .svg-container {
  flex: 0 0 auto; /* 图片容器不扩展，保持其原始大小 */
  display: flex;
  padding-left: 20px;
}

.banner .text-container {
  flex: 1 1 auto; /* 文本容器扩展以填充剩余空间 */
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中（虽然这里可能不需要，因为外层已经居中了） */
  text-align: center; /* 确保文本在容器内居中 */
}

.banner svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.newscontent {
  padding: 20px;
  background-color: white;
}

.title {
  font-size: 31px;
  font-weight: 700;
  line-height: 45px;
  color: #2d2d2d;
}

.pubtime {
  font-size: 18px;
  color: #999;
  margin-top: 12px;
  letter-spacing: -0.8px;
}

.content {
  font-size: 26px;
  line-height: 40px;
  color: #333;
  margin-top: 30px;
}
.content p {
  /*text-indent: 2em;*/
}

.content img,
.content video {
  width: 100%;
  height: auto !important;
}
