
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

/* 响应式图片 */
img {
    max-width: 100%;
    height: auto;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

/* 导航栏 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}
.header .zqy_logo {
  /* width: 172px; */
  width: 193px;
  height: 90px;
  text-indent: -999px;
  background-image: url(../images/logo.png);
  background-size: 100% 100%;
  /* margin-right: 20px;
  margin-left: 20px */
}
/* wp-change */
.h-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 120px;
}
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.main-nav a {
    padding: 25px 20px;
    text-decoration: none;
    color: #000;
    display: block;
    text-align: center;
    font-size: 20px;
    line-height: 1;
}
.main-nav a img {
        margin-top: 10px;
   }
.main-nav a span {
    font-size: 14px;
}
/* wp-change */
.main-nav .active {
    color: #2F88FF;
}
.main-nav .active span {
    font-size: 14px;
    /* color: #FB4721; */
}
/* 导航栏二级目录 */
.main-nav ul>li {
    position: relative;
}
.main-nav ul>li>ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  padding-bottom: 5px;
  min-width: 100%;
  text-align: left;
  font-size: 12px;
  background-color: blanchedalmond;
}
.main-nav  ul>li>a:hover {
    background-color: blanchedalmond;
}
.main-nav  ul>li:hover>ul {
  display: block;
}


/* banner区域 */
.banner {clear:both;overflow:hidden;background-color:#fff;padding-top:130px}
.banner-post {padding-top:10px;padding-left:20px}
.banner-related {padding-left:20px}
.banner-navbar,.banner-site {margin-bottom:15px;background:0 0}
.banner-sticky {margin-bottom:1px}
.banner-contenttop {margin-bottom:1px;border-radius:5px 5px 0 0;background-color:#F7F7F7}
.banner img {display:block;width:100%;border-radius: 5px;}


/* 页脚 */
.footer {
    background: #000;
    color: #fff;
    /* padding: 60px 0 40px; */
    padding: 30px;
}
.footer .container {
    padding: 0;
}
.footer-content {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 1px solid #7a7a7a;
    padding-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #fff;
    opacity: 0.6;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}
.footer-section .attention {
   display:flex;
   text-align: center;
}
.footer-section .attention .code {
    margin-right: 20px;
}
.footer-section .attention .code img {
        width: 120px;
        border-radius: 10px;
        margin-bottom: 5px;
}
/* 公用 */
.two-line-clamp {
    display: -webkit-box; /* 设置为WebKit内核的弹性盒子模型 */
    -webkit-box-orient: vertical; /* 垂直排列 */
    -webkit-line-clamp: 2; /* 限制显示两行 */
    overflow: hidden; /* 隐藏超出范围的内容 */
    text-overflow: ellipsis; /* 使用省略号 */
}
.one-line-clamp {
    display: -webkit-box; /* 设置为WebKit内核的弹性盒子模型 */
    -webkit-box-orient: vertical; /* 垂直排列 */
    -webkit-line-clamp: 1; /* 限制显示两行 */
    overflow: hidden; /* 隐藏超出范围的内容 */
    text-overflow: ellipsis; /* 使用省略号 */
}
/* 边框阴影 */
.shadow-md {
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
/* 公用动画 */
/* 向下浮动 */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
}
/* 放大 */
.card-scale:hover {
    transform: scale(1.1)
 }
/* 响应式设计 */
@media (max-width: 1280px) {
    /* wp-change */
    .header .zqy_logo {
        /* width: 172px; */
        width: 129px;
        height: 60px;
        margin-left: 20px;
    }
    /* 导航栏 */
    .container {
        padding: 10px 0;
    }
    .h-nav {
       display: flex;
       align-items: center;
        justify-content: space-between;
        height: 60px;
        padding: 20px 0px;
    }
    .banner {padding-top:100px}

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: calc(100vh - 100px);
        background: rgba(1, 1, 1, .8);
    }
    .main-nav a {
        
        color: #fff;
   
   }
   
    .h-nav .active {
        display: block;
    }
    .main-nav .active {
        color: #fff;
        background-color: transparent;
    }
    .main-nav ul {
        flex-direction: column;
    }
    
    /* .mobile-menu-toggle {
        display: block;
        margin-right: 40px;
    } */
     div .nav_box {
    display: block;
    width: 30px;
    height: 40px;
    color: #fff;
    text-align: right;
    font-size: 18px;
    line-height: 40px;
    float: right;
    margin-right: 20px;
  }

  div .nav_box .open {
    width: 100%;
    background-color: rgba(1, 1, 1, .8);
    text-align: right
  }

  .navicon {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 5px;
    background-color: #000;
    margin-bottom: 3px;
    margin-right: 10px
  }

  .navicon:after,
  .navicon:before {
    position: absolute;
    display: block;
    width: 30px;
    height: 5px;
    background: #000;
    content: '';
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-property: margin, -webkit-transform;
    transition-property: margin, -webkit-transform;
    transition-property: margin, transform;
    transition-property: margin, transform, -webkit-transform
  }

  .navicon:before {
    margin-top: -10px
  }

  .navicon:after {
    margin-top: 10px
  }

  div.open {
    display: block;
    width: 30px;
    height: 40px;
    color: #fff;
    text-align: right;
    font-size: 18px;
    line-height: 40px;
    float: right;
    margin-right: 20px;
  }

  div.open .navicon {
    background: 0
  }

  div.open .navicon:before {
    margin-top: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
  }

  div.open .navicon:after {
    margin-top: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg)
  }

  div.open .navicon:after,
  #mobile_nav div.open .navicon:before {
    position: absolute;
    display: block;
    width: 30px;
    height: 5px;
    background: #000;
    content: '';
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-property: margin, -webkit-transform;
    transition-property: margin, -webkit-transform;
    transition-property: margin, transform;
    transition-property: margin, transform, -webkit-transform
  }
    .main-nav ul>li>ul {
         position: static;
         display: none;
    }
    .main-nav ul>li:hover>ul {
        display: none;
    }
    .main-nav ul>li>a:hover {
        background-color: transparent;
    }

    .footer-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        margin-bottom: 40px;
        border-bottom: 1px solid #7a7a7a;
        padding-bottom: 40px;
    }
    .footer-content .footer-section {
        margin-right: 10px;
        margin-bottom: 30px;
    }
    .footer-section .minCode {
        margin-left: 50px;
    }
    .footer-section .attention {
        font-size: 12px;
    }
   
    
}