@charset "UTF-8";
html {
  font-size: 100px;
}

body {
  font-family: "Microsoft YaHei", sans-serif, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "宋体";
  color: #333333;
  padding: 0;
  margin: 0;
  font-size: 0.16rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
dl,
dt,
dd,
hr,
input,
p {
  padding: 0;
  margin: 0;
  list-style: none;
  outline: none;
}

a {
  color: inherit;
  font: inherit;
  text-decoration: none;
  outline: none;
  transition: all 0.5s ease;
}

a:hover {
  text-decoration: none;
}

a:focus {
  border: none;
  outline: none;
  text-decoration: none;
}

.clearfix {
  zoom: 1;
}

.clearfix:after {
  clear: both;
  content: "";
  display: block;
  width: 0;
  height: 0;
  visibility: hidden;
}

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  /* Firefox */
  -webkit-box-sizing: border-box;
  /* Safari */
  border: none;
  outline: none;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

@media (min-width: 1024px) {
  .container {
    width: 1000px;
    padding: 0;
  }
}
@media (min-width: 1280px) {
  .container {
    width: 1260px;
    padding: 0;
  }
}
.pic {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.pic .img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: 0.5s linear;
}

img {
  max-width: 100%;
  border: none;
  transition: all 0.5s ease;
}

/* 通用样式 */
.flex {
  display: box;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* 动画延迟结束 */
.section {
  position: relative;
  overflow: hidden;
  margin: 0.4rem 0;
  min-height: 400px;
}
.section:before, .section:after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  /* background: #11578a; */
}
.section:before {
  top: 0.14rem;
}
.section:after {
  top: 0.64rem;
}
.section .ydy-title {
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.section .ydy-title h2 {
  width: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../images/title-bg.png) left center no-repeat;
  background-size: 100% 100%;
  height: 0.65rem;
  font-size: 0.18rem;
  font-weight: normal;
  color: #fff;
}
.section .ydy-title h2 img {
  height: 0.28rem;
  margin-right: 0.1rem;
}

.ydy-list {
  margin-top: 0.35rem;
}
.ydy-list ul {
  overflow: hidden;
  padding: 0 0.4rem;
}
.ydy-list ul li {
  float: left;
  width: 100%;
  margin-bottom: 0.3rem;
}
.ydy-list ul a {
  display: block;
  margin: 0 0.2rem;
  position: relative;
  transition: 0.3s linear;
}
.ydy-list ul a .box {
  position: relative;
  z-index: 5;
  /* background: #fff; */
  border: 1px solid #11578a;
  padding: 0.5rem 0.2rem;
  z-index: -99;
}
.ydy-list ul a p {
  font-size: 0.26rem;
  line-height: 0.3rem;
  height: 0.3rem;
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-weight: bold;
}
.ydy-list ul a:before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 0.04rem;
  height: 0.46rem;
  background: #11578a;
  transition: 0.3s linear;
  z-index: 0;
}
.ydy-list ul a:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: calc(100% + 0.1rem);
  /* background: #ededed; */
  transition: 0.3s linear;
  opacity: 0;
}
.ydy-list ul a:hover .box {
  border: 1px solid #ef9f62;
}
.ydy-list ul a:hover:before {
  background: #ef9f62;
}
.ydy-list ul a:hover:after {
  opacity: 1;
}

@media screen and (max-width: 992px) {
  .ydy-list ul {
    padding: 0;
  }
  .ydy-list ul li {
    width: 50%;
  }
}
@media screen and (max-width: 560px) {
  .ydy-list ul li {
    width: 100%;
  }
}