﻿body {
  font-family: "Microsoft YaHei", "微软雅黑", Arial, Tahoma, Verdana, STHeiTi,
    sans-serif, Helvetica, SimSun;
  background-color: #f3f3f3;
  max-width: 1024px;
}

a {
  text-decoration: none;
}

.top {
  position: fixed;
  top: 0;
  width: 100%;
  height: auto;
  left: 50%;
  /* IE transform alternative */
  margin-left: -50%;
  z-index: 1000;
  border-bottom: #1f66b3 1px solid;
}

.banner {
  background-color: #0152a9;
  color: white;
  line-height: 70px;
  font-size: 32px; /* xx-large equivalent */
  text-align: center;
}

.top #nav {
  background-color: white;
  height: 70px;
  font-size: 24px; /* x-large equivalent */
}

.top #nav .cur {
  color: #0152a9;
}

.top #nav .swiper-slide {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
}

.newsBox {
  /* Removed CSS variable and replaced with fixed value */
  height: calc(100vh - 259px);
  overflow-y: auto;
  margin-top: 259px;
  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: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#News .pb img {
  width: 100%;
  border-radius: 10px;
}

#News .p1 img {
  width: 100%;
  height: 100%;
  /* object-fit alternative */
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 5px;
}

#News .p2 img {
  width: 48%;
  height: 136px;
  /* object-fit alternative */
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

#News .p3 img {
  width: 32%;
  height: 91px;
  /* object-fit alternative */
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

/* Additional IE-specific fixes */
.top #nav .swiper-slide {
  -ms-flex: 0 0 auto;
}

#News .p1 {
  position: relative;
  overflow: hidden;
}

#News .p2 img,
#News .p3 img {
  /* Center images without object-fit */
  margin: 0 auto;
  display: block;
}
