/* 移动端响应式样式 */

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 4px;
  right: 2px;
  z-index: 1001;
  background: #9e2f34;
  border: none;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: 0.3s;
}

/* 移动端菜单样式 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-menu-header {
  background: #9e2f34;
  color: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu-item {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.mobile-menu-item:hover {
  background: #f5f5f5;
}

.mobile-submenu {
  display: none;
  background: #f9f9f9;
}
.mobile-submenu-title{
	color: #9e2f34;
    padding: 10px 20px 10px 30px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    cursor: pointer;
}
.mobile-submenu.active {
  display: block;
}

.mobile-submenu-item {
  padding: 10px 20px 10px 40px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  cursor: pointer;
}

.mobile-submenu-item:hover {
  background: #f0f0f0;
}

.mobile-menu-item.has-submenu::after {
  content: '▼';
  float: right;
  transition: transform 0.3s;
}

.mobile-menu-item.has-submenu.active::after {
  transform: rotate(180deg);
}

@media screen and (min-width: 768px){
	.mobile-menu-toggle {
		display:none !important;
	}
}
/* 响应式设计 */
@media screen and (max-width: 768px) {
  .mySwiper {
    height: auto;
    min-height:0 !important;
  }
  .mySwiper .swiper-slide {
    height: 56vw !important;
     min-height:0 !important;
  }
  /* 隐藏桌面菜单 */
  .header-nav,
  .menu {
  }
  .page {
    min-width: 100px;
  }
  /* 显示移动端菜单按钮 */
  .mobile-menu-toggle {
    display: block;
  }

  /* 移动端显示菜单 */
  .mobile-menu,
  .mobile-menu-overlay {
    display: block;
  }

  /* 调整头部样式 */
  .header-container {
    min-width: auto;
  }

  .section_2 {
    min-width: auto;
    height: 60px;
    display: none;
  }

  .section_10 {
    height: 60px;
    padding: 0;
    padding-right: 50px;
  }

  .presentation-card {
    width: 100%;
  }
  .box_12,
  .box_19 {
    width: 100%;
  }
  /* 调整轮播图 */
  .box_10 {
    height: auto;
    background-image: none;
  }

  .box_11 {
    width: 98vw;
    height: auto;
    flex-direction: column;
    padding: 1vw;
    top: 0;
    margin: 0 !important;
  }

  .left-content,
  .right-date {
    width: 98vw;
    height: auto;
    flex: auto;
    padding: 0;
  }
  .data-wrapper,
  .section_37 {
    width: 98vw;
  }
  .main-content {
    min-height: 500px;
  }
  /* 调整内容区域 */
  .zph-content-item {
    width: 100%;
    height:auto;
    padding: 10px;
  }
  .box_13,
  .box_16,
  .box_20 {
    width: 100%;
    margin-bottom: 10px;
  }
	.block_18{
	margin-left:12px;
	margin-top:16px;
	}
	.sub-nav-title-day {

    margin: 16px 0 0 12px;

}
  /* 调整浮动元素 */
  .float-pic,
  .rightTool {
    display: none;
  }

  /* 调整机器人图标 */
  .robat {
    bottom: 10px;
    right: 10px;
  }

  .robat img {
    width: 60px;
    height: 60px;
  }
  .section_36 {
    width: 98vw;
  }
  #mobileMenuOverlay {
    display: none !important;
  }
  .section_31 {
    width: 100% !important;
    flex-direction: column;
  }
  .left-panel-container,
  .right-panel-container {
    flex: auto;
  }
  .yqlj_tp {
    flex: 0 0 30%;
  }
  .box_45-img-wrapper {
    width: 100%;
    flex-wrap: wrap;
    gap: 2vw;
  }
  .box_45 img {
    width: 100%;
    height: auto;
  }
  .paragraph_4 span {
    font-size: 12px;
  }
  .er-code img {
    width: 60px;
    height: 60px;
  }
  .box_12,
  .box_19 {
    height: auto;
    flex-direction: column;
    margin: 0;
  }
  .sub-content-title {
    width: 100%;
  }
  .footer-container {
    min-width: 100px;
  }
  .menu {
    width: 100%;
  }
  .menu-right {
    display: none;
  }
  .image_1 {
    width: 140px;
    height: 30px;
    margin: 0;
  }
  .text_7 {
    width: auto;
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    margin: 0;
  }
  .block_1 {
    margin: 0 5px;
  }
  .menu-left {
    align-items: center;
    width: 100%;
    justify-content: space-around;
  }
  .section_10 {
    height: 60px;
    padding: 0;
    padding-right: 50px;
  }
  .text-wrapper_5 {
    width: 100%;
    height: 20px;
    margin: 0;
    padding: 0 10px;
  }
  .box_40 {
    margin-left: 12px;
  }
  .sub-nav-title {
    font-size: 18px;
    margin: 16px 0 16px 12px;
  }
  .group_44 {
    margin-left: 12px;
  }
  .text-more {
    top: 20px;
    right: 12px;
    line-height: 18px;
  }
  #mcTooltip{
    width: calc(100vw - 44px) !important;
    padding: 5px;
  }

  #mcttCloseButton:after{
    left:0 !important;
  }
  #mcTooltipWrapper{
  left:0 !important;
  }
  #calendar-grid .section_20,
  #calendar-grid .section_21,
  #calendar-grid .section_22,
  #calendar-grid .section_23 {
    width: calc(100% - 20px);
    height: 34px;
    margin: 5px 0 0 10px;
  }
  .text-wrapper_7,
  .text_84 {
    width: 30px;
    height: 30px;
  }
  .notice-item-left {
    flex: 0 0 120px;
    height: 80px;
    border-radius: 4px;
  }
  .notice-title,
  .notice-content {
    width: calc(100% - 10px);
  }
  .notice-item-row {
    padding: 10px;
    gap: 12px;
  }
  .notice-item-right {
    width: 0;
  }
  .box_45 h1 {
    font-size: 30px;
  }
  .box_45 {
    margin: 12px 0;
    padding: 12px 0;
    gap: 12px;
  }
  .box_37 {
    margin-left: 12px;
  }
  .group_9 {
    width: calc(100% - 110px);
  }
}
