@media screen and (max-width: 1024px) {
  .wrap {
    width: 100%;
  }

  .body-content {
    min-height: auto;
    padding-top: 3.6rem;
  }

  .header-box {
    position: relative;
    width: 100%;
    flex-wrap: wrap;
    height: 3.6rem
  }

  .header-box .logo {
    width: 100%;
    height: 3.6rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: .4rem 1rem;
    box-sizing: border-box;
  }

  .header-box .logo img {
    height: 100%;
  }

  .header-box .top-box .it-box {
    display: none
  }

  .header-box .mobile-btn {
    position: absolute;
    display: flex;
    padding: .4rem;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    right: .6rem;
    top: .6rem;
    width: 4rem;
    height: 2.4rem;
    border-radius: 8px;
    z-index: 99999
  }

  .header-box .mobile-btn .line {
    width: 2rem;
    height: 2px;
    background-color: #fff;
    transition: .4s
  }

  .header-box .mobile-btn .line:nth-child(2) {
    width: 2.6rem
  }

  .header-box .mobile-btn.close .line:nth-child(1) {
    width: 1.4rem;
    transform: rotate(-45deg) translate(0.6rem, .75rem);
  }

  .header-box .mobile-btn.close .line:nth-child(2) {
    transform: rotate(45deg)
  }

  .header-box .mobile-btn.close .line:nth-child(3) {
    width: 1.4rem;
    transform: rotate(-45deg) translate(.1rem)
  }

  .header-box .mobile-btn.close {
    position: fixed;
  }

  .header-box .search-box {
    width: 100%
  }

  .header-box .search-box input {
    width: 0;
    flex: 1
  }

  .header-box .nav-box {
    position: fixed;
    top: 0;
    right: 0;
    height: 0;
    left: 0;
    transition: .4s;
    background-color: #0000;
    z-index: 100;
    display: none;
  }

  .header-box .nav-box li {
    float: none;
  }

  .header-box .nav-box.show {
    display: block;
    background-color: #0009;
    height: 100%;
    padding-top: 0;
  }

  .header-box .nav-box.show .menus-list {
    transform: translate(0)
  }

  .header-box .nav-box.show .nav-box-ul {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
  }

  .nav-box>ul>li>a {
    height: 3rem;
    line-height: 3rem;
    color: #131313;
  }

  .nav-box>ul>li>a:hover,
  .nav-box>ul>li>a.active {
    color: #ae0c2a;
    background-color: #fff
  }

  .home-banner {
    height: 10rem;
  }

  .home-banner img {
    height: 10rem;
    object-fit: cover;
  }

  .container {
    width: 100%;
  }

  /*首页*/
  .home-surname .surname-list li {
    width: 100%;
    padding: .4rem 0;
  }

  .home-surname .surname-list li .surname{
    line-height: 3rem;
  }
  
  .home-culture {
    width: 100%;
  }

  .home-culture .culture-list .pic {
    width: 6rem;
    height: 5rem;
  }

  .home-culture .culture-list .info {
    padding-left: 7rem;
  }

  .home-festival .festival-list li {
    width: 50%;
  }

  .home-news{
    width: 100%;
  }

  /*族谱*/
  .genealogy-wrap .ul-list {
    margin: 0;
  }

  .genealogy-wrap .ul-list li {
    width: 100%;
    padding: 1.2rem;
    box-sizing: border-box;
  }

  .genealogy-wrap .ul-list .info-box {
    width: 16rem;
    height: 20rem;
    margin: 0 auto;
  }

  .genealogy-wrap .ul-list .info-box .name {
    height: 7rem;
  }

  .surname-container{
    padding: 0 1.2rem;
  }

  .news-container{
    display: flex;
    flex-direction: column;
  }
  .news-container .news-type{
    width: 100%;
  }

  .news-container .news-type ul{
    width: 100%;
    display: flex;
  }

  .news-container .news-type ul li{
    flex: 1;
  }

  .news-container .list-box .picture{
    width: 11rem;
    height: 8rem;
  }

  .news-container .list-box .info{
    padding-left: 12rem;
  }

  .news-container .list-box{
    padding: .8rem .4rem 0;
    width: 100%;
  }
  .news-container .hot-list{
    width: 100%;
  }

  .festival-wrap ul li{
    width: 100%;
  }

  .news-detail{
    padding: 2rem .8rem;
  }

  .news-detail .title h1{
    font-size: 2rem;
  }

  .calligraphy-banner{
    height: 12rem;
  }

  /*底部*/
  .footer-box .nav {
    display: flex;
    flex-wrap: wrap;
  }

  .footer-box .nav a {
    display: block;
    width: 50%;
    line-height: 3rem;
    text-align: center;
  }

  .copyright {
    padding: 0 1.2rem;
  }

  .footer-box .footer-bottom .beian-box {
    padding: 0 1.2rem;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .footer-box .footer-bottom .beian-box a {
    flex: 1;
    text-align: left;
  }

}