@charset "UTF-8";

/* 移动端头部和导航样式 */
.m_header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: auto;
}

.m_header_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  min-height: 60px;
}

.m_header_logo {
  flex: 1;
}
.m_header_search {
  display: flex;
  align-items: center;
  margin: 0 10px;
  cursor: pointer;
}

.m_header_search input {
  display: none;
}

.m_search_btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.m_search_btn svg {
  width: 20px;
  height: 20px;
}

/* 移动端搜索框 */
.m_search_box {
  display: none;
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #e0e0e0;
}

.m_search_box.active {
  display: flex;
  align-items: center;
  gap: 10px;
}

.m_search_box.active > div,
.m_search_box.active > div > div,
.m_search_box.active div:has(> .qwss):has(> .tj) {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.m_search_box .qwss {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  line-height: normal;
  background-color: #fff;
}

.m_search_box .qwss:focus {
  border-color: #004b8d;
}

.m_search_box .tj {
  width: 42px;
  min-width: 42px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background-color: #004b8d;
  background-image: url(../images/icon_search.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.m_search_box .tj:hover {
  background-color: #003d70;
}

.m_menu_btn {
  width: 24px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
}

.m_menu_btn span {
  width: 100%;
  height: 2px;
  background-color: #004b8d;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.m_menu_btn::before,
.m_menu_btn::after {
  display: none;
}

.m_nav_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1998;
}

.m_nav_menu {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 1999;
  overflow-y: auto;
  transition: left 0.3s ease;
  box-shadow: none;
}

.m_nav_menu.active {
  left: 0;
}

.m_nav_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.m_nav_logo {
  flex: 1;
  display: flex;
  align-items: center;
}

.m_nav_logo img {
  height: 30px;
  width: auto;
}

.m_nav_close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.m_nav_close svg {
  width: 24px;
  height: 24px;
}

.m_nav_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.m_nav_list>li {
  border-bottom: 1px solid #f0f0f0;
}

.m_nav_list>li>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  color: #333;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.m_nav_list>li>a:hover {
  background-color: #f5f5f5;
}

.m_nav_arrow {
  color: #999;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.m_nav_has_sub.active .m_nav_arrow {
  transform: rotate(90deg);
}

.m_nav_sub {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #f9f9f9;
}

.m_nav_has_sub.active .m_nav_sub {
  display: block;
}

.m_nav_sub li a {
  display: block;
  padding: 12px 20px 12px 40px;
  color: #666;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.m_nav_sub li a:hover {
  background-color: #f0f0f0;
  color: #004b8d;
}

@media (max-width: 1400px) {

  .swiper-button-prev.banner-button-prev {
    left: 10px;
  }

  .swiper-button-next.banner-button-next {
    right: 10px;
  }

  .top,
  .content .wrap,
  footer .wrap,
  .party_building,
  .international {
    width: 1200px;
  }

  .top .news {
    width: calc(60% - 10px);
  }

  .top .notice {
    width: calc(40% - 10px);
  }
  .m_header_logo img {
    width: 80%;
    height: auto;
  }
  .header_wrap{
    width: 1160px !important;
  }
  nav .wrap{
    width: 1200px;
  }
}

@media (max-width: 1200px) {

  .top,
  .content .wrap,
  footer .wrap,
  .party_building,
  .international {
    width: 1024px;
  }

  .header_wrap{
    width: 1000px !important;
  }
  nav .wrap{
    width: 1024px;
  }

  header .header_wrap .header_logo img {
    height: auto;
    margin-top: 6px;
  }
}

@media (max-width: 1024px) {

  header.pc_header,
  nav {
    display: none;
  }

  .m_header {
    display: block;
  }

  .m_nav_overlay.active {
    display: block;
  }

  .m_nav_menu {
    display: block;
  }

  .content .wrap,
  footer .wrap {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
  }

  .top,
  .party_building,
  .international {
    width: 100%;
    margin-left: 0;
  }

  .top {
    flex-direction: column;
  }

  .top .news,
  .top .notice {
    width: 100%;
    margin-bottom: 30px;
  }

  .top .news .news_content {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .party_content {
    flex-direction: column;
    gap: 15px;
  }

  .party_main {
    width: 100%;
  }

  .party_main_item .party_img {
    height: 300px;
  }

  .party_side {
    width: 100%;
  }

  .party_side_images {
    flex-direction: row;
    gap: 15px;
  }

  .party_side_item .party_img {
    height: 200px;
  }

  .international_content {
    flex-direction: column;
    gap: 15px;
  }

  .international_left {
    width: 100%;
  }

  .international_item_top .international_img {
    height: 300px;
  }

  .international_bottom {
    flex-direction: row;
    gap: 15px;
    height: auto;
  }


  .international_bottom .international_item .international_img {
    height: 145px;
  }

  .international_item_right {
    width: 100%;
  }

  .international_item_right .international_img {
    height: 455px;
  }

  footer {
    margin-top: 30px;
  }

  footer .wrap {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
  }

  .footer_up {
    flex-direction: column;
    align-items: center;
  }

  .footer_contact {
    text-align: center;
    margin-bottom: 30px;
  }

  .detail {
    padding-bottom: 30px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
  .m_nav_logo img{
    height: 35px;
    width: auto;
  }
}

@media screen and (max-width: 768px) {
  .banner-pagination.swiper-pagination {
    display: none;
  }

  .banner-carousel {
    height: 200px;
  }

  .top .news .news_content {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .top .news .news_content .news_item .news_img {
    height: 180px;
  }

  .party_content {
    gap: 15px;
  }

  .party_main_item .party_img {
    height: 250px;
  }

  .party_side_images {
    flex-direction: column;
    gap: 15px;
  }

  .party_side_item {
    width: 100%;
  }

  .party_side_item .party_img {
    height: 200px;
  }

  .international_content {
    gap: 15px;
  }

  .international_item_top .international_img {
    height: 280px;
  }

  .international_bottom {
    flex-direction: column;
    gap: 15px;
  }

  .international_bottom .international_item {
    width: 100%;
  }

  .international_bottom .international_item .international_img {
    height: 200px;
  }

  .international_item_right .international_img {
    height: 280px;
  }

  .title {
    margin-bottom: 20px;
    align-items: center;
  }

  .top .news .title,
  .top .notice .title,
  .party_building .title,
  .international .title {
    justify-content: center;
  }

  .title_name {
    font-size: 20px;
    line-height: 1.2;
    margin-top: 6px;
    margin-bottom: 0;
  }

  .content .title a {
    font-size: 12px;
    padding: 0px 20px 0px 15px;
    height: 32px;
    line-height: 32px;
    top: 0;
  }

  .party_side_content {
    padding: 20px;
  }

  .party_side_content .party_title {
    font-size: 18px;
  }

  .party_side_content .party_desc {
    font-size: 14px;
  }

  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }

  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
  .m_header_logo img {
    width: 100%;
    height: auto;
  }
  .m_nav_logo img{
    height: auto;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .banner-carousel {
    height: 150px;
  }

  .top {
    margin-top: 20px;
  }

  .top .news .news_content .news_item .news_img {
    height: 150px;
  }

  .top .news .news_content .news_item .news_item_con {
    padding: 12px;
  }

  .top .news .news_content .news_item .news_title {
    font-size: 14px;
  }

  .notice_items {
    padding: 12px 15px;
    height: auto;
    min-height: 70px;
  }

  .notice_items .notice_date {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .notice_items .notice_con_title {
    font-size: 14px;
  }

  .party_building,
  .international {
    margin-top: 30px;
  }

  .party_main_item .party_img {
    height: 200px;
  }

  .party_side_content {
    padding: 15px;
  }

  .party_side_content .party_title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .party_side_content .party_date {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .party_side_content .party_desc {
    font-size: 13px;
  }

  .party_side_item .party_img {
    height: 180px;
  }

  .international_item_top .international_img {
    height: 240px;
  }

  .international_bottom .international_item .international_img {
    height: 180px;
  }

  .international_item_right .international_img {
    height: 240px;
  }

  .title_name {
    font-size: 18px;
    line-height: 1.2;
    margin-top: 6px;
    margin-bottom: 0;
  }

  .content .title a {
    font-size: 11px;
    padding: 0px 18px 0px 12px;
    height: 30px;
    line-height: 30px;
    top: 0;
  }

  footer {
    padding: 30px 0;
  }

  .footer_contact p {
    font-size: 12px;
    line-height: 24px;
  }

  .footer_erweima {
    width: 120px;
  }

  .footer_erweima img {
    width: 100px;
    height: 100px;
  }

  .footer_erweima div {
    font-size: 12px;
  }

  .detail {
    font-size: 12px;
  }
}