.pheader {
  display: none;
}

.pheader-drawer {
  display: none;
}

.child_nav-toggle {
  display: none;
}

@media screen and (max-width: 768px) {
  .w-1400 {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* 隐藏桌面端头部和导航 */
  .header,
  .dh_bx {
    display: none;
  }

  /* 手机端头部 */
  .pheader {
    display: block;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
  }

  .pheader-tool {
    background: #a40000;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .pheader-tool .pheader-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .pheader-tool .pheader-logo img {
    height: 30px;
  }

  .pheader-tool .pheader-logo .logo-tips {
    color: #fff;
    font-size: 16px;
    margin-left: 8px;
    font-family: fzdbsjw;
  }

  /* 汉堡菜单按钮 */
  .pheader-open {
    width: 28px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
  }

  .pheader-open span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
  }

  .pheader-open.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .pheader-open.active span:nth-child(2) {
    opacity: 0;
  }

  .pheader-open.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* 遮罩层 */
  .pheader-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .pheader-mask.show {
    opacity: 1;
    visibility: visible;
  }

  /* 左侧抽屉菜单 */
  .pheader-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: #fff;
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: block;
  }

  .pheader-drawer.show {
    transform: translateX(0);
  }

  .pheader-drawer .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #a40000;
  }

  .pheader-drawer .drawer-head .drawer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .pheader-drawer .drawer-head .drawer-logo img {
    height: 28px;
  }

  .pheader-drawer .drawer-head .drawer-logo span {
    color: #fff;
    font-size: 14px;
    margin-left: 6px;
    white-space: nowrap;
  }

  .pheader-drawer .drawer-menu {
    padding: 10px 0;
  }

  .pheader-drawer .drawer-menu .menu-level1 {
    display: flex;
    align-items: center;
    padding: 14px 15px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
  }

  .pheader-drawer .drawer-menu .menu-level1 .menu-text {
    flex: 1;
    color: #333;
    text-decoration: none;
  }

  .pheader-drawer .drawer-menu .menu-level1 .menu-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M8 5l8 7-8 7z'/%3E%3C/svg%3E") no-repeat center/contain;
  }

  .pheader-drawer .drawer-menu .menu-level1.expanded .menu-arrow {
    transform: rotate(90deg);
  }

  .pheader-drawer .drawer-menu .menu-level2-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
  }

  .pheader-drawer .drawer-menu .menu-level2-wrap.open {
    max-height: 500px;
  }

  .pheader-drawer .drawer-menu .menu-level2-wrap .menu-level2 {
    display: block;
    padding: 12px 15px 12px 45px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #eee;
  }

  .pheader-drawer .drawer-menu .menu-level2-wrap .menu-level2:active {
    color: #a40000;
    background: #f0f0f0;
  }

  .pheader-drawer .drawer-search {
    position: relative;
    margin: 12px 15px;
    border-radius: 20px;
    border: 1px solid #a40000;
    overflow: hidden;
  }

  .pheader-drawer .drawer-search input[type=text] {
    display: block;
    background: transparent;
    width: 100%;
    outline: none;
    border: none;
    font-size: 14px;
    color: #333;
    padding: 10px 40px 10px 12px;
  }

  .pheader-drawer .drawer-search input[type=text]::placeholder {
    color: #999;
  }

  .pheader-drawer .drawer-search input[type=button] {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: #a40000 url(../images/search_btn.png) no-repeat center center/18px auto;
    outline: none;
    border: none;
    border-radius: 50%;
    color: transparent;
    font-size: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }

  /* 板块一 - 学工新闻 + 通知公告 */
  .section01 {
    margin-top: 30px;
  }

  .section_tit a p {
    font-size: 24px;
    padding-left: 35px;
  }

  .section_tit a p::before {
    width: 28px;
    height: 28px;
    background-size: contain;
  }

  .section_tit a span {
    font-size: 14px;
    padding-right: 22px;
  }

  .s01_box {
    flex-direction: column;
    margin-bottom: 30px;
    margin-top: 15px;
  }

  .s01_boxL {
    width: 100%;
  }

  .s01_boxL::after {
    display: none;
  }

  .s01_tempel_box {
    width: 100%;
  }

  .s01_img {
    height: 220px;
  }

  .s01_info {
    width: 100%;
    padding: 15px;
  }

  .s01_info_nr p {
    font-size: 16px;
  }

  .s01_info_nr span {
    font-size: 12px;
  }

  .s01_time p {
    font-size: 28px;
  }

  .s01_time span {
    font-size: 14px;
  }

  .s01_tempel_list {
    width: 100%;
  }

  .s01_prev,
  .s01_next {
    width: 36px;
    height: 36px;
    background-size: contain;
  }

  .s01_prev {
    bottom: 60px;
  }

  .s01_next {
    bottom: 20px;
  }

  .s01_tempel::before {
    display: none;
  }

  .s01_boxR {
    width: 100%;
    margin-top: 30px;
  }

  .s01_boxR ul {
    margin-top: 15px;
  }

  .s01_boxR ul li {
    padding: 15px;
    margin-top: 12px;
  }


  .s01_boxR ul li a p {
    font-size: 15px;
  }

  .s01_boxR ul li a span {
    font-size: 12px;
  }

  /* 板块二 - 学生社区 + 资助动态 + 心理健康 */
  .s02_box {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }

  .s02_boxL,
  .s02_boxM,
  .s02_boxR {
    width: 100%;
  }

  .s02_boxLlist ul li p {
    font-size: 16px;
  }

  .s02_boxRlist ul li a .s02_boxRtime {
    width: 60px;
    height: 52px;
  }

  .s02_boxRtime p {
    font-size: 20px;
  }

  .s02_boxRtime span {
    font-size: 12px;
  }

  .s02_boxRtit {
    font-size: 15px;
    width: 76%;
  }

  /* 板块三 - 典型示范 */
  .section03 {
    padding-top: 30px;
  }

  .s03_swiper {
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .s03_swiper a {
    width: 100%;
    height: 360px;
  }

  .s03_info {
    bottom: 0;
    height: auto;
    padding: 10px 15px;
  }

  .s03_info:after {
    height: 150px;
  }

  .s03_tit {
    font-size: 18px;
    line-height: 36px;
  }

  .s03_info p {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 8px;
  }

  .s03_info span {
    font-size: 12px;
  }

  .s03_info i {
    font-size: 12px;
    margin-top: 10px;
  }

  .s03_next,
  .s03_prev {
    width: 24px;
    height: 60px;
    background-size: contain;
  }

  .s03_prev {
    left: -5px;
  }

  .s03_next {
    right: -5px;
  }

  /* 尾部 */
  .footer {
    background-size: cover;
  }

  .f_box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .f_boxL {
    width: 100%;
  }

  .f_logo img {
    height: 32px;
  }

  .f_info {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
  }

  .f_infoBox span {
    font-size: 14px;
  }

  .f_infoBox p {
    font-size: 15px;
    margin-top: 2px;
  }

  .f_boxR {
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
  }

  .f_icon {
    width: auto;
  }

  .f_icon ul {
    gap: 20px;
  }

  .f_icon ul li img {
    width: 28px;
  }

  .f_bq {
    margin-top: 20px;
    font-size: 12px;
  }

  /* 栏目导航切换按钮 */
  .child_nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    background: #faf2f2;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    padding: 0 20px;
    border: 1px solid #f1d9d9;
    border-top: 2px solid #a40000;
    margin-bottom: 10px;
    margin-top: 20px;
  }

  .child_nav-toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    transition: transform 0.3s;
  }

  .child_nav-toggle.open::after {
    transform: rotate(-135deg);
  }

  .child_nav {
    display: none;
  }

  .child_nav.show {
    display: block;
  }

  .child_nav>ul>li>a {
    font-size: 18px;
    line-height: 60px;
  }

  .child_navTird {
    width: 100%;
  }

  .child_navTird ul li a {
    font-size: 16px;
    line-height: 55px;
  }

  .child_icon {
    top: 24px;
    right: 15px;
  }

  /* Banner 图片适配 */
  .banner img {
    width: 100%;
    height: auto;
  }

  .banner_next,
  .banner_prev {
    width: 40px;
    height: 40px;
  }

  .banner_next {
    right: 5%;
  }

  .banner_prev {
    left: 5%;
  }

  /* 子页面通用 */
  .child_banner img {
    display: block;
    width: 100%;
    height: auto;
  }

  .child_lmmc {
    background: #a40000;
  }

  .child_lmmc:after {
    display: none;
  }

  .child_lmmcBox {
    margin-top: 0;
    padding: 24px 0 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .lmmc_box {
    font-size: 24px;
    line-height: 1.3;
  }

  .lmmc_box:before {
    display: none;
  }

  .dqwz {
    margin-bottom: 0;
    padding-left: 18px;
  }

  .dqwz a {
    font-size: 13px;
    margin: 0 4px;
  }

  .dqwz:before {
    width: 14px;
    height: 18px;
    background-size: contain;
    bottom: 0;
  }

  .child_main {
    flex-direction: column;
  }

  .child_mainL {
    width: 100%;
  }

  .child_mainR {
    width: 100%;
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .child_mainR ul li {
    padding: 18px 10px;
  }

  .child_mainR ul li a p {
    font-size: 14px;
    margin-top: 10px;
  }

  .child_mainR ul li a span {
    font-size: 12px;
  }

  .child_mainR ul li:hover {
    transform: none;
  }

  .child_content>h4 {
    font-size: 20px;
    padding: 0 10px;
  }

  .child_content>h6 {
    font-size: 14px;
  }

  .child_contentInfo {
    flex-wrap: wrap;
    padding-bottom: 10px;
    margin-bottom: 15px;
  }

  .child_contentInfo span {
    font-size: 12px;
    margin: 0 8px;
  }

  .child_content_nr {
    padding: 0 10px;
    min-height: 200px;
    font-size: 14px;
  }

  .content_page {
    flex-direction: column;
    gap: 12px;
    padding-top: 15px;
  }

  .content_page a {
    font-size: 13px;
  }
}
