/* 鎵嬫満绔牱寮 */
@media (max-width: 768px) {
/* 鑿滃崟鎴栨悳绱㈡墦寮€鏃剁姝㈤〉闈㈡粴鍔 */
body.menu-open,
body.search-open {
  overflow: hidden;
}

/* 鎵嬫満绔彍鍗曟寜閽 - 涓存椂鍦ㄦ墍鏈夊昂瀵告樉绀虹敤浜庢祴璇 */
.mobile-menu-btn {
  display: block !important;
  position: fixed;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  z-index: 10000;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  position: absolute;
  height: 3px;
  width: 24px;
  background: #fff;
  left: 8px;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn span:nth-child(1) {
  top: 12px;
}

.mobile-menu-btn span:nth-child(2) {
  top: 18px;
}

.mobile-menu-btn span:nth-child(3) {
  top: 24px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 18px;
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 18px;
}
.logo-section{
 border:none;
}
  .dropdown-menu-third{
    position: initial;
  }
  /* 绂佺敤瑙︽懜楂樹寒鏁堟灉 */
  * {
    -webkit-tap-highlight-color: transparent;
  }

  .silde-bar{
  display:none;
}
  .main-nav > li:hover > a {
    background-color: transparent !important;
  }
  
  .dropdown-menu {
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block !important;
  }
  
  /* 绉诲姩绔笁绾ц彍鍗曟牱寮 */
  .dropdown-menu-third {
    display: none;
    padding-left: 20px;
    background-color: rgba(255, 255, 255, 0.05);
  }
  
  .dropdown-submenu.active .dropdown-menu-third {
    display: block !important;
  }
  
  
  .dropdown-menu-third li a {
    padding: 10px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
  }
  
  /* 閫氱敤鏍峰紡 */
  .container {
    width: 100%;
    padding: 0 15px;
  }
  
  /* 椤堕儴淇℃伅鏍 */
  .top-bar {
    background-size: cover;
  }
  
  .logo-section {
    flex-direction: column;
    padding: 10px 0;
  }
  
  .logo img {
    height: 40px;
  }
  
  .top-links {
    margin-top: 10px;
    justify-content: center;
  }
  
  .top-links li a {
    padding: 0 8px;
    font-size: 14px;
  }
  
  /* 绉诲姩绔悳绱㈡ */
  .search-container {
    justify-content: center;
    position: relative;
  }
  
  .search-container .search-btn {
    background-size: contain;
    width: 24px;
    height: 24px;
  }
  
  .search-container .search-text {
    display: none;
  }
  
  /* 绉诲姩绔悳绱㈠脊鍑哄眰 */
  .mobile-search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .mobile-search-popup.active {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  
  .mobile-search-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 20px;
  }
  
  .mobile-search-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
  }
  
  .mobile-search-close {
    color: #fff;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .mobile-search-form {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
  }
  
  .mobile-search-input {
    flex: 1;
    height: 40px;
    padding: 0 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    border: 1px solid #fff;
    color: #fff;
  }
  .mobile-search-input::placeholder {
    color: #fff;
  }
  .mobile-search-submit {
    width: 60px;
    height: 40px;
    background-color: #0068b7;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    cursor: pointer;
  }
  
  .mobile-search-keywords {
    width: 100%;
    margin-top: 20px;
  }
  
  .mobile-search-keywords h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .mobile-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .mobile-search-tag {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
  }
  
  /* 瀵艰埅鑿滃崟 */
  .nav-container {
    position: fixed;
    top: 0;
    left: -200%;
    width: 80%;
    height: 100%;
    background-color: #0068b7;
    z-index: 999;
    transition: all 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* 娣诲姞鎯€ф粴鍔ㄦ敮鎸 */
  }
  
  .nav-container.active {
    left: 0;
  }
  
  .nav-wrapper {
    max-width: 100%;
  }
  
  .main-nav {
    flex-direction: column;
    padding: 60px 0 20px;
  }
  
  .main-nav > li > a {
    padding: 12px 15px;
    font-size: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .dropdown-menu {
    position: static;
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu a {
    padding: 10px 25px;
    color: #fff;
    text-align: left;
  }
  
  /* 閬僵灞 */
  .mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    -webkit-tap-highlight-color: transparent; /* 绉婚櫎鐐瑰嚮楂樹寒鏁堟灉 */
  }
  
  .mobile-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease; /* 娣诲姞娓愬彉鍔ㄧ敾 */
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  /* Banner杞挱鍥 */
  .banner-swiper .swiper-slide img {
    height: 200px;
    object-fit: cover;
  }
  
  .banner-swiper .swiper-button-next,
  .banner-swiper .swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
    display: none;
  }
  
  /* 鏂伴椈閫氱煡鍏憡鍖哄煙 */
  .news-notice-wrapper {
    flex-direction: column;
  }
  
  .news-area,
  .notice-area {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .news-slide-content {
    flex-direction: column;
  }
  .swiper-pagination{
    left: 50% !important;
    transform: translateX(-50%);
    width: 100% !important;
  }
  .swiper-pagination-bullet{
    width: 36px !important;
    height: 36px !important;
  }
  .news-time{
    margin-top: 30px;
  }
  .news-pagination{
    justify-content: center;
    bottom: 50px !important;
  }
  .news-image {
    width: 100%;
    height:220px;
  }
  
  .news-info {
    padding: 15px;
  }
  
  .news-title {
    font-size: 16px;
    padding: 10px 15px 0;
  }
  
  .news-summary {
    font-size: 14px;
    padding: 5px 15px 0;
  }
  
  .news-list {
    flex-direction: column;
  }
  
  .news-item {
    width: 100%;
    margin-bottom: 30px;
  }
  
  /* 瀛︽湳鐪嬫澘鍖哄煙 */
  .academic-swiper .swiper-slide {
    width: 100% !important;
  }
  
  .academic-slide-box {
    width: 100%;
  }
  .academic-board-section{
    background-color: #0068b7;
    background:#0068b7;
    margin: 30px auto;
  }
  .academic-info {
    width: 100%;
    height: auto;
    position: absolute;
    border-radius: 0;
    padding: 15px;
  }
  .academic-board-container{
    max-width: 96%;
    margin: 0 auto;
  }
  .swiper-slide .academic-divider img{
    width: initial;
  }
  .academic-progress{
    display: none;
  }
  .party-building-container{
    max-width: 96%;
    margin: 0 auto;
  }
  .academic-controls{
    justify-content: center;
    margin-bottom: 20px;
  }
  .party-building-section{
    padding: 0;
  }
  .party-building-item{
    padding: 0;
  }
  .teacher-student-section{
    margin-top: 0;
  }
  /* 鍏氬缓宸ヤ綔鍖哄煙 */
  .party-building-content {
    flex-direction: column;
  }
  
  .party-building-links,
  .party-building-image {
    width: 100%;
  }
  
  .party-building-image {
    margin-top: 20px;
    height: auto;
  }
  .academic-swiper .swiper-slide:nth-child(odd) .academic-slide-box{
    height: auto;
  }
  .academic-swiper .swiper-slide:nth-child(even) .academic-slide-box{
    height: auto;
  }
  .teacher-student-container{
    max-width: 96%;
    margin: 0 auto;
  }
  .friend-links-btn{
    width: 50%;
    margin: 0 auto;
  }
  /* 甯堢敓椋庨噰鍖哄煙 */
  .teacher-student-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "center-large"
      "left-top"
      "left-bottom"
      "right-top"
      "right-bottom";
  }
  
  .teacher-student-item {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 15px;
  }
  
  .teacher-student-item img {
    height: 200px;
  }
  
  /* 搴曢儴淇℃伅鏍 */
  .footer {
    padding: 20px 0;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
  }
  
  .footer-logo {
    margin-bottom: 15px;
    justify-content: center;
  }
  
  .footer-info {
    margin-left: 0;
    padding-left: 0;
    text-align: center;
  }
  
  .footer-info::before {
    display: none;
  }
  
  .footer-info p {
    margin: 10px 0;
    line-height: 1.8;
    font-size: 16px;
  }
  
  /* 璁╀功璁伴偖绠卞崟鐙珯涓€鎺 */
  .footer-info p:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
  }
  
  .footer-info p:nth-child(2) span {
    display: block;
  }
  
  .footer-contact {
    margin-top: 15px;
    margin-left: 0;
    text-align: center;
  }
  
  .friend-links {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
  }
  
  .friend-links-btn {
    width: 50%;
    margin: 0 auto;
    border-radius: 30px;
    padding: 10px 15px;
    font-size: 16px;
    background-color: #fff;
  }
  
  /* 绉诲姩绔弸鎯呴摼鎺ヤ笅鎷夎彍鍗 */
  .friend-links-dropdown {
    position: static !important;
    width: 100% !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .friend-links-list {
    flex-direction: column !important;
    gap: 5px !important;
  }
  
  .friend-links-list a {
    display: block;
    text-align: center;
    padding: 10px !important;
  }
}

/* 骞虫澘鐢佃剳鏍峰紡 */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }
  
  .logo img {
    height: 50px;
  }
  
  .news-notice-wrapper {
    flex-direction: column;
  }
  
  .news-area,
  .notice-area {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .teacher-student-content {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "center-large center-large"
      "left-top right-top"
      "left-bottom right-bottom";
  }
  
  .teacher-student-item {
    width: 100% !important;
  }
}