@ chartset "utf-8";
/*---------- base ---------*/
*{padding:0;margin:0;box-size:border-box;}

/* 移动端汉堡菜单按钮 - 默认隐藏，移动端显示 */
.mobile-menu-btn {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 100;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 8px 6px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 针对小屏幕设备 */
@media (max-width: 420px) {
  /* 移动端头部样式 */
  .head {
    height: auto !important;
    background: linear-gradient(135deg, #2e5299 0%, #3d6dcc 50%, #5298FF 100%);
    position: relative;
    padding-bottom: 0;
  }
  
  /* 汉堡菜单按钮显示 */
  .mobile-menu-btn {
    display: block;
  }
  
  /* headTop 改为垂直居中布局 */
  #headTop {
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 15px 15px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }
  
  /* 标题样式 */
  .blogTitle {
    float: none !important;
    line-height: 1.4 !important;
    font-size: 24px !important;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 8px;
  }
  
  /* Logo图片样式 */
  #headTopLeft {
    float: none !important;
    width: auto !important;
    max-width: 80% !important;
    min-width: auto !important;
    padding: 0 !important;
    margin: 0 auto 8px !important;
    text-align: center;
  }
  #headTopLeft h1 {
    text-align: center;
  }
  #headTopLeft a {
    width: auto !important;
    min-width: auto !important;
    display: inline-block !important;
  }
  #headTopLeft img {
    max-height: 50px;
    width: auto;
  }
  
  /* 副标题显示并居中 */
  #headTopRight {
    display: block !important;
    float: none !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
  }
  #headTopRight span {
    margin-top: 0 !important;
    color: rgba(255,255,255,0.9) !important;
    font-size: 13px !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  }
  
  /* 移动端导航菜单 - 默认隐藏 */
  #headBottom.mobile-nav {
    display: none;
    height: auto !important;
    background: rgba(46, 82, 153, 0.98) !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  #headBottom.mobile-nav.active {
    display: block;
  }
  
  /* 导航菜单样式调整 */
  #headMenu {
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .menutList {
    float: none !important;
    height: auto !important;
    margin-top: 0 !important;
  }
  .menutListItem {
    float: none !important;
    height: auto !important;
    min-width: auto !important;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .menutListItemLink {
    height: 44px !important;
    min-width: auto !important;
    margin: 0 !important;
    line-height: 44px !important;
    padding: 0 20px;
    text-align: left;
  }
  .menutListItem a:hover {
    border-bottom: none !important;
    background: rgba(255,255,255,0.1);
  }
  
  /* 下拉菜单调整 */
  .dropList {
    position: static !important;
    opacity: 1 !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(0,0,0,0.1) !important;
    border: none !important;
    display: none;
  }
  .menutListItem:hover .dropList {
    display: block;
  }
  .dropListItem {
    border-top: 1px solid rgba(255,255,255,0.05) !important;
  }
  .dropListItemLink {
    padding-left: 40px !important;
  }
  
  /* 原有样式 */
  #siteRight, .listBoxImg{display:none;}
  #siteLeft, .listBoxLiRight {width: 100%;}
  .siteLeftBox{width:100%; max-width:100%; margin-right:0;}
  #friendLink dl dd ul li{width: calc(25% - 7px);}
  #friendLink dl dd ul li:nth-child(4n){margin-right: 0;}
}

/* 针对中等屏幕设备 */
@media (min-width: 421px) and (max-width: 768px) {
  /* 移动端头部样式 */
  .head {
    height: auto !important;
    background: linear-gradient(135deg, #2e5299 0%, #3d6dcc 50%, #5298FF 100%);
    position: relative;
    padding-bottom: 0;
  }
  
  /* 汉堡菜单按钮显示 */
  .mobile-menu-btn {
    display: block;
    top: 20px;
    right: 20px;
  }
  
  /* headTop 改为垂直居中布局 */
  #headTop {
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 25px 20px 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }
  
  /* 标题样式 */
  .blogTitle {
    float: none !important;
    line-height: 1.4 !important;
    font-size: 28px !important;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 10px;
  }
  
  /* Logo图片样式 */
  #headTopLeft {
    float: none !important;
    width: auto !important;
    max-width: 70% !important;
    min-width: auto !important;
    padding: 0 !important;
    margin: 0 auto 10px !important;
    text-align: center;
  }
  #headTopLeft h1 {
    text-align: center;
  }
  #headTopLeft a {
    width: auto !important;
    min-width: auto !important;
    display: inline-block !important;
  }
  #headTopLeft img {
    max-height: 60px;
    width: auto;
  }
  
  /* 副标题显示并居中 */
  #headTopRight {
    display: block !important;
    float: none !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
  }
  #headTopRight span {
    margin-top: 0 !important;
    color: rgba(255,255,255,0.9) !important;
    font-size: 14px !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  }
  
  /* 移动端导航菜单 - 默认隐藏 */
  #headBottom.mobile-nav {
    display: none;
    height: auto !important;
    background: rgba(46, 82, 153, 0.98) !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  #headBottom.mobile-nav.active {
    display: block;
  }
  
  /* 导航菜单样式调整 */
  #headMenu {
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .menutList {
    float: none !important;
    height: auto !important;
    margin-top: 0 !important;
  }
  .menutListItem {
    float: none !important;
    height: auto !important;
    min-width: auto !important;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .menutListItemLink {
    height: 48px !important;
    min-width: auto !important;
    margin: 0 !important;
    line-height: 48px !important;
    padding: 0 25px;
    text-align: left;
    font-size: 15px !important;
  }
  .menutListItem a:hover {
    border-bottom: none !important;
    background: rgba(255,255,255,0.1);
  }
  
  /* 下拉菜单调整 */
  .dropList {
    position: static !important;
    opacity: 1 !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(0,0,0,0.1) !important;
    border: none !important;
    display: none;
  }
  .menutListItem:hover .dropList {
    display: block;
  }
  .dropListItem {
    border-top: 1px solid rgba(255,255,255,0.05) !important;
  }
  .dropListItemLink {
    padding-left: 50px !important;
  }
  
  /* 原有样式 */
  #siteRight{display:none;}
  #siteLeft {width: 100%;}
}

/* 针对较大屏幕设备 */
@media (min-width: 769px) and (max-width: 1110px) {
  #siteLeft {width: calc(73% - 11px);}
  #siteRight {width: 27%;}
}