@import url("https://s1.pstatp.com/cdn/expire-1-M/font-awesome/4.6.0/css/font-awesome.min.css");
:root {
  --main-color: #d9aa7c;
  --gray-color: #c9ccd0;
}
/* ==========================css reset================== */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
ul,
li,
ol,
dl,
dt,
dd,
input,
figure,
figcaption {
  padding: 0;
  margin: 0;
}
ul,
ol {
  list-style: none;
}
img {
  display: block;
}
input {
  outline: none;
}
body {
  font-size: 14px;
  color: #3e3e3e;
  font-family: "微软雅黑";
}
a {
  text-decoration: none;
  color: #999;
}
/* a:hover {
  text-decoration: underline;
  color: #e50011;
} */
/* ============================css public================ */
.w {
  width: 1410px;
  margin: 0 auto;
}
.l {
  float: left;
}
.r {
  float: right;
}
.sticky {
  position: sticky;
}

.fixed {
  position: fixed;
}
.mt-4 {
  margin-top: 1rem;
}
/* ===========================兼容====================== */
header,
footer,
nav,
section,
main,
article,
aside,
figure,
figcaption {
  display: block;
}

html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  --swiper-theme-color: var(--main-color);
}
html,
body {
  width: 100%;
}
.line-x {
  width: 100%;
  height: 1px;
  background-color: #d2d2d2;
  transform: scale(1, 0.5);
}
.line-y {
  width: 1px;
  height: 40%;
  background-color: #d2d2d2;
}
.header {
  transition-property: background-color;
}
.header .active {
  color: var(--main-color);
}
footer a:hover {
  color: #ffffff;
}
.shadow-yp {
  box-shadow: 0px 4px 10px 0px rgb(0 0 0 / 7%);
}
header li div {
  min-width: 110px;
}
.logo-white {
  display: block;
}

.logo-black {
  display: none;
}

.shadow-yp .logo-white {
  display: none;
}

.shadow-yp .logo-black {
  display: block;
}
.content-box {
  padding: 20px 10px;
}

body {
  background-color: #f6f6f6;
}
.list-nav *,
footer *,
main * {
  box-sizing: border-box;
}
.header-bg {
  height: 260px;
  position: relative;
}
.header-bg img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}
.header-title {
  position: relative;
  height: 100%;
  width: var(--body-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}
.header-line {
  width: 30px;
  height: 4px;
  margin-top: 10px;
  background-color: #fff;
}
.header-title h1 {
  color: #fff;
  font-size: 32px;
  width: 100%;
}
.header-title h5 {
  color: #f3f3f3;
  font-size: 14px;
  width: 100%;
  margin-top: 12px;
  font-weight: normal;
}
.list-nav {
  margin: 0 auto;
  background-color: #fff;
}
.nav {
  display: flex;
  justify-content: space-between;
  height: 46px;
}
.nav-left {
  display: flex;
}
.nav-left .item {
  height: 100%;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px 20px;
  transition: background-color 0.2s;
  font-size: 14px;
  color: #494949;
}

.nav-left .item.active,
.nav-left .item:hover {
  background-color: var(--main-color);
  color: #eee;
}
.nav-left-list {
  padding-right: 20px;
}
.nav-right-list,
.nav-left-list,
.nav-right {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-icon {
  width: 16px;
  height: 16px;
}
.nav-icon svg {
  width: 100%;
  height: 100%;
}
.nav-btn {
  margin-left: 6px;
  font-size: 14px;
  cursor: pointer;
}
.nav-btn a {
  color: #494949;
}
.nav-btn:last-child {
  margin-right: 12px;
}
.navbar-back-icon {
  width: 12px;
  height: 12px;
  margin-right: 6px;
}
.navbar-back-icon svg {
  width: 100%;
  height: 100%;
}
.navbar {
  display: flex;
  margin-top: 30px;
  background-color: #fff;
  padding: 30px;
}
.navbar-btn {
  display: flex;
  width: 100%;
}
.navbar-btn-left,
.navbar-btn-right {
  width: 50%;
}
.navbar-back {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #eee;
  cursor: pointer;
}
.navbar-btn svg {
  width: 18px;
  height: 18px;
}
.navbar-btn .p1 {
  display: inline-flex;
  align-items: center;
  color: #a6a6a6;
  width: 100%;
}
.p2 {
  color: #333;
  margin-top: 15px;
  width: 80%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.navbar-btn a {
  display: inline-block;
  width: 100%;
}
.navbar-btn a:hover {
  color: #333;
}
.list-pages {
  width: 100%;
  height: 60px;
  margin-top: 40px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.list-page {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 100%;
  margin: 0 6px;
  cursor: pointer;
}
.list-page.prev {
  background-color: #e9e9e9;
}
.list-page.active,
.list-page:hover {
  background-color: #f86238;
  color: #eee;
}
.content-left {
  width: 75%;
  margin-right: 15px;
}
.content-right {
  background-color: #fff;
  width: calc(25% - 15px);
}
@media (max-width: 992px) {
  .header-title {
    width: 100%;
  }
  .list-nav {
    width: 100%;
  }

  .nav-right {
    height: 46px;
  }
  .nav {
    padding: 0 12px;
    flex-direction: column-reverse;
    height: auto;
  }
  .nav-left {
    flex-wrap: wrap;
  }
  .nav-left-list {
    height: 46px;
    margin-top: 6px;
  }
  .nav-right {
    padding: 12px 0;
  }

  .content-left,
  .content-right {
    width: 96%;
    margin-left: 2%;
  }
  .content-left {
    margin-right: 0;
  }
  .content-right {
    margin-top: 30px;
  }
  .navbar-btn {
    width: 100%;
  }
  .navbar-btn-left,
  .navbar-btn-right {
    width: 50%;
  }
  .navbar {
    overflow: hidden;
    flex-direction: column;
  }
  .navbar-back {
    display: none;

    margin-top: 45px;
    width: 100%;
    border: none;
    justify-content: flex-start;
  }
}
@media (max-width: 576px) {
  main .second-card .second-card-container {
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
  }
  main .second-card .second-card-body .second-card-body-news {
    width: 100%;
  }
  .nav-btn a {
    font-size: 12px;
  }
}
@media (min-width: 992px) {
  .nav-left .item:hover {
    background-color: var(--main-color);
    color: #eee;
  }
}
