/* ========================================
   移动端样式适配 (≤ 768px)
   ======================================== */
@media (max-width: 768px) {
  /* 头部导航移动端适配 */
  .header {
    height: auto;
    min-height: 3rem;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-container {
    flex-wrap: nowrap;
    padding: var(--spacing-sm) var(--spacing-md);
    align-items: center;
  }

  .header-logo {
    flex: 1;
    align-items: center;
  }

  .logo-img {
    height: 1.2rem;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  /* 移动端侧滑菜单 */
  .header-nav {
    position: fixed;
    top: 0;
    right: -80vw;
    width: 80vw;
    height: 100vh;
    background: linear-gradient(180deg, #590110 0%, #9e031c 100%);
    z-index: 1000;
    padding: var(--spacing-xl) var(--spacing-lg);
    overflow-y: auto;
    transition: right 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none;
  }

  .header-nav.active {
    right: 0;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--spacing-md) 0;
  }

  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    padding: var(--spacing-md) 0;
    font-size: 1rem;
    display: block;
  }

  .nav-link.active {
    color: var(--white);
    font-weight: 600;
  }

  /* 移动端显示菜单按钮 */
  .menu-btn {
    display: flex;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    user-select: none;
  }

  .menu-btn:active,
  .menu-btn:focus {
    outline: none;
    background-color: transparent;
  }

  .header-actions {
    order: 2;
    align-items: center;
  }

  .search-btn {
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }

  .search-btn:active,
  .search-btn:focus {
    outline: none;
  }

  .search-icon {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
  }

  /* 轮播图移动端适配 */
  .banner-swiper {
    height: 20rem;
  }

  .banner-title {
    font-size: 1.5rem;
  }

  .banner-desc {
    font-size: 0.9rem;
  }

  /* 移动端分页器样式 */
  .banner-swiper .swiper-pagination {
    bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    padding: 0.3rem 0;
    gap: 1rem;
  }

  .banner-swiper .swiper-pagination-bullet {
    width: 0.8rem;
    height: 0.8rem;
    margin: 0;
  }

  .banner-swiper .swiper-pagination-bullet-active {
    background-color: transparent;
    background-image: url('../../assets/images/icon_horse.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 2rem;
    height: 2rem;
    box-shadow: none;
  }

  .banner-swiper .swiper-button-prev,
  .banner-swiper .swiper-button-next {
    width: 2rem;
    height: 2rem;
  }

  .banner-swiper .swiper-button-prev::after,
  .banner-swiper .swiper-button-next::after {
    font-size: 0.8rem;
  }

  /* 新闻区域移动端适配 */
  .news-section {
    padding: 1rem 0;
  }

  .section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
  }

  .header-left {
    display: none;
  }

  .header-center {
    position: static;
    transform: none;
    text-align: left;
    flex: 1;
  }
  .header-center::before{
    display: none;
  }

  .section-title {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  .section-subtitle {
    font-size: 0.7rem;
    display: none;
  }

  .header-right {
    flex: 1;
    flex-shrink: 0;
  }

  .more-link {
    font-size: 0.8rem;
  }

  /* 新闻内容移动端 - 1列布局 */
  .news-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .news-image {
    height: 12rem;
  }

  .news-info {
    padding: 1rem;
  }

  .news-date {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .news-title {
    font-size: 1rem;
  }

  /* 横向新闻卡片移动端 */
  .news-list {
    margin-top: 2rem;
    gap: 0;
    grid-template-columns: 1fr;
  }

  .news-card-horizontal {
    padding: 1rem 0;
    flex-direction: row;
    gap: 1rem;
    border-radius: 0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: none !important;
  }

  .news-card-horizontal:last-child {
    border-bottom: none;
  }

  /* 移动端去除hover效果 */
  .news-card-horizontal::after {
    display: none;
  }

  .news-card-horizontal:hover {
    box-shadow: none !important;
  }

  .news-card-horizontal:hover .card-bg-logo {
    opacity: 0;
  }

  /* 日期区域在右侧 */
  .card-date {
    flex-direction: column;
    border-right: none;
    border-left: 1px solid #e0e0e0;
    padding-right: 0;
    padding-left: 1rem;
    padding-bottom: 0;
    min-width: 4rem;
    order: 2;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
  }

  .date-day {
    font-size: 2rem;
  }

  .date-month {
    font-size: 0.75rem;
    margin-top: 0.3rem;
    align-self: center;
  }

  /* 内容区域在左侧 */
  .card-content {
    order: 1;
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-bg-logo {
    display: none;
  }

  /* 通知公告区域 */
  .notice-section {
    padding: 2rem 1rem;
    height: 23rem;
  }

  .notice-section .container {
    padding-top: 1rem;
    flex-direction: column;
    gap: 1.5rem;
    background-size: cover;
    height: 10rem;
    width: 100%;
    margin: 0 auto;
    background-size: 100% 100%;
    padding: 2rem 1rem;
    box-sizing: border-box;
  }

  /* 左侧标题区域 */
  .notice-header {
    width: 100%;
    padding: 0rem 0rem 0rem 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-image: url('../../assets/images/title_bg.png');
    background-repeat: no-repeat;
    background-size: 50%;
  }

  .title-cn {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
  }

  .title-en {
    font-size: 0.7rem;
  }

  .notice-nav {
    gap: 0.5rem;
  }

  .nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    background: transparent;
    border: none;
    padding: 0;
  }

  .nav-btn:active,
  .nav-btn:focus {
    outline: none;
  }

  .nav-btn:hover {
    transform: scale(1.05);
  }

  .nav-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* 右侧通知卡片列表 */
  .notice-list {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
  }

  /* 通知卡片 */
  .notice-card {
    box-sizing: border-box;
    padding: 1rem;
    flex-direction: row;
    gap: 0.8rem;
    align-items: center;
    min-width: 0;
  }
  .notice-card::before{
    display: none;
  }

  .notice-card:hover {
    transform: none;
  }

  .notice-date {
    margin-bottom: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  .date-day {
    font-size: 1.5rem;
    line-height: 1;
  }

  .date-year {
    font-size: 0.7rem;
    margin-top: 0;
  }

  .notice-card-title {
    font-size: 0.9rem;
    min-height: auto;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
  }

  .notice-more {
    display: none;
  }

  /* 魅力开元 */
  .mzky-section {
    padding: 1rem 0;
  }

  .mzky-section .container{
    height: auto;
  }

  .mzky-swiper-container {
    padding: 0 1rem;
  }

  .mzky-swiper{
    height: 8rem;
    padding: 1rem 0;
    overflow: hidden;
  } 
  .mzky-bg{
    display: none;
  }
  .mzky-swiper .mzky-card{
    border-radius: 0.5rem;
    overflow: hidden;
  }
  .mzky-swiper .mzky-card img{
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
  }
  
  /* .mzky-content .mzky-card:nth-child(1) {
    width: 100%;
    height: 7rem;
  }

  .mzky-content .mzky-card:nth-child(2) {
    width: 100%;
    height: 7rem;
  }

  .mzky-content .mzky-card:nth-child(3) {
    width: 100%;
    height: 7rem;
  }

  .mzky-content .mzky-card:nth-child(1) img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    bottom: 0;
  }

  .mzky-content .mzky-card:nth-child(2) img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mzky-content .mzky-card:nth-child(3) img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  } */
  .mzky-arrow-box{
    display: none;
  }
}

