/* ============================================================
   mobile.css — 手机/Pad 端全面适配补充
   断点说明：
     ≤1024px  Pad横屏
     ≤768px   Pad竖屏
     ≤767px   手机通用
     ≤575px   小屏手机
     ≤480px   极小屏
   PC端（>1024px）不受本文件影响
   ============================================================ */

/* ============================================================
   1. 全局基础 - 防止横向溢出
   ============================================================ */
@media (max-width: 1024px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  *, *::before, *::after {
    box-sizing: border-box;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .container,
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }
}

/* ============================================================
   2. Header 头部导航
   ============================================================ */

/* Pad 横屏 (≤1024px) */
@media (max-width: 1024px) {
  .header-1 .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header-main {
    padding: 12px 0;
  }
  .logo img {
    max-height: 48px;
    width: auto;
  }
}

/* 手机端 (≤767px) */
@media (max-width: 767px) {
  .header-main {
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header-main .logo {
    flex-shrink: 0;
  }
  .logo img,
  .header-logo img,
  .header-logo-2 img {
    max-height: 32px !important;
    width: auto !important;
  }
  /* 右侧汉堡按钮 */
  .header__hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }
  .sidebar__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  .sidebar__toggle i {
    font-size: 20px;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
  }
  .sidebar__toggle:hover i {
    color: #ED2C25;
    transform: scale(1.1);
  }
  /* 粘性头部 */
  #header-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  /* 搜索图标位置 */
  .search-icon {
    margin-right: 10px;
  }
}

/* 极小屏 (≤480px) */
@media (max-width: 480px) {
  .logo img,
  .header-logo img,
  .header-logo-2 img {
    max-height: 28px !important;
  }
  .header-main {
    padding: 6px 0;
  }
  .sidebar__toggle i {
    font-size: 18px;
  }
}

/* ============================================================
   3. 手机侧边菜单 (Offcanvas)
   ============================================================ */
@media (max-width: 767px) {
  .offcanvas__info {
    width: 82vw;
    max-width: 320px;
  }
  .offcanvas__wrapper {
    padding: 20px 16px;
    height: 100%;
    overflow-y: auto;
  }
  .offcanvas__top {
    margin-bottom: 16px !important;
  }
  .offcanvas__top .offcanvas__logo img {
    max-height: 40px;
    width: auto;
  }
  .offcanvas__close button {
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
  }
  /* 菜单列表 */
  .mobile-menu .mean-nav ul li a {
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: block;
    color: #333;
  }
}

/* ============================================================
   4. Banner 大图轮播
   ============================================================ */

/* 全局Banner宽度设置 */
@media (max-width: 1024px) {
  .hero-section.hero-1 {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }
  
  .hero-section.hero-1 .hero-slider {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .hero-section.hero-1 .swiper-slide {
    width: 100% !important;
  }
  
  .hero-1 .hero-image {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }
}

/* Pad横屏 (≤1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .hero-section.hero-1,
  .hero-section.hero-1 .hero-slider,
  .hero-section.hero-1 .hero-image {
    height: 60vh !important;
    min-height: 400px !important;
  }
  .hero-section.hero-1 .hero_content {
    bottom: 30px !important;
  }
  .hero-1 .hero-image {
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* Pad竖屏 (≤768px) */
@media (max-width: 768px) and (min-width: 576px) {
  .hero-section.hero-1,
  .hero-section.hero-1 .hero-slider,
  .hero-section.hero-1 .hero-image {
    height: 50vh !important;
    min-height: 320px !important;
  }
  .hero-section.hero-1 .hero_content {
    bottom: 25px !important;
  }
  .hero-1 .hero-image {
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* 手机端 (≤575px) */
@media (max-width: 575px) {
  .hero-section.hero-1,
  .hero-section.hero-1 .hero-slider,
  .hero-section.hero-1 .hero-image {
    width: 100% !important;
    height: 45vh !important;
    min-height: 280px !important;
    max-height: 400px !important;
  }
  
  .hero-1 .hero-image {
    width: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .hero-section.hero-1 .hero_content {
    bottom: 20px !important;
  }
  
  .hero-section.hero-1 .hero_content a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s ease;
  }
  
  .hero-section.hero-1 .hero_content a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(3px);
  }
  
  .hero-section.hero-1 .hero_content .icon i {
    font-size: 16px !important;
    color: #fff !important;
  }
  
  /* 隐藏左右箭头 */
  .hero-1 .array-button {
    display: none !important;
  }
  
  /* 优化hero-content的padding */
  .hero-1 .hero-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: auto !important;
  }
}

/* 极小屏手机 (≤480px) */
@media (max-width: 480px) {
  .hero-section.hero-1,
  .hero-section.hero-1 .hero-slider,
  .hero-section.hero-1 .hero-image {
    width: 100% !important;
    height: 40vh !important;
    min-height: 250px !important;
    max-height: 350px !important;
  }
  
  .hero-section.hero-1 .hero_content {
    bottom: 15px !important;
  }
  
  .hero-section.hero-1 .hero_content a {
    width: 36px;
    height: 36px;
    line-height: 36px;
  }
  
  .hero-section.hero-1 .hero_content .icon i {
    font-size: 14px !important;
  }
}

/* 超小屏 (≤375px) */
@media (max-width: 375px) {
  .hero-section.hero-1,
  .hero-section.hero-1 .hero-slider,
  .hero-section.hero-1 .hero-image {
    width: 100% !important;
    height: 35vh !important;
    min-height: 220px !important;
    max-height: 300px !important;
  }
  
  .hero-section.hero-1 .hero_content {
    bottom: 12px !important;
  }
}

/* ============================================================
   5. 团学动态区
   ============================================================ */

/* Pad (≤991px) */
@media (max-width: 991px) {
  .xyxw .choose-wrapper .row {
    flex-direction: column;
  }
  .xyxw .col-xl-6.col-lg-6:first-child,
  .xyxw .col-xl-6.col-lg-6:last-child {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  .slideshow {
    margin: 0 auto 20px;
  }
  .slideshow .item img {
    height: 320px !important;
  }
  /* ★ 团学动态标题与更多内容间距缩小 */
  .section-title {
    margin-bottom: 10px !important;
  }
  /* ★ more-content与下方图片间距缩小 */
  .more-content {
    margin: 0 0 12px !important;
  }
  /* 右侧新闻列表上移 */
  .choose-content {
    margin-top: 0 !important;
  }
}

/* 手机 (≤767px) */
@media (max-width: 767px) {
  .xyxw {
    padding: 20px 0 !important;
    overflow: hidden;
  }
  /* ★ 团学动态区域：标题/更多内容/轮播图间距全面收紧 */
  .section-title {
    margin-bottom: 6px !important;
  }
  .more-content {
    margin: 0 0 10px !important;
    padding: 6px !important;
  }
  .slideshow {
    margin: 0 auto 10px !important;
  }
  /* ★ slick轮播指示圆点靠上，减少与下方内容的间距 */
  .slideshow .slick-dots {
    bottom: -16px !important;
    margin-top: 8px;
  }
  .slideshow .slick-dots li {
    margin: 0 6px;
  }
  .slideshow .slick-dots li button {
    width: 22px !important;
    height: 4px !important;
  }
  .slideshow .slick-dots li.slick-active button {
    width: 30px !important;
  }
  .slideshow .item img {
    height: 230px !important;
  }
  /* 新闻主标题 */
  .choose-content .news-title {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
    height: auto !important;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* 描述文字 */
  .choose-content .icon-area > div:first-child p {
    font-size: 14px !important;
    line-height: 22px !important;
    height: auto !important;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* 列表项 */
  .choose-content .icon-area .news-title-d li {
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 8px 0 !important;
    margin-bottom: 0 !important;
    align-items: center;
  }
  .choose-content .icon-area .news-title-d li .title {
    font-size: 14px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .choose-content .icon-area .news-title-d li .date {
    font-size: 12px !important;
    min-width: 38px !important;
    margin-left: 8px !important;
  }
}

/* 极小 (≤480px) */
@media (max-width: 480px) {
  .xyxw {
    padding: 15px 0 !important;
  }
  .section-title {
    margin-bottom: 4px !important;
  }
  .more-content {
    margin: 0 0 8px !important;
  }
  .slideshow {
    margin: 0 auto 8px !important;
  }
  .slideshow .item img {
    height: 170px !important;
  }
  .choose-content .icon-area .news-title-d li {
    font-size: 12px !important;
  }
  .choose-content .icon-area .news-title-d li .title {
    font-size: 12px !important;
  }
}

/* ============================================================
   6. 通知公告 & 团发文件
   ============================================================ */

/* Pad竖屏及以下 — 两列变单列 */
@media (max-width: 767px) {
  .news-section.style-2 .row {
    flex-direction: column;
  }
  .news-section.style-2 .col-xl-6.col-lg-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  /* 第一个卡片底部间距 */
  .news-section.style-2 .col-xl-6.col-lg-6:first-child {
    margin-bottom: 20px;
  }
  .notice-list-wrapper {
    padding: 16px !important;
  }
  .title-with-more .notice-list-title {
    font-size: 18px !important;
  }
  .more-link {
    font-size: 13px;
  }
  /* 列表项 */
  .notice-list li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .notice-list li:hover {
    padding-left: 10px;
  }
  .notice-item {
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .notice-date {
    font-size: 12px !important;
    padding: 5px 7px !important;
    min-width: 42px !important;
    text-align: center;
    flex-shrink: 0;
    line-height: 1.3;
  }
  /* ★ 通知公告/团发文件 标题强制换行，最多显示2行 */
  .notice-title {
    font-size: 14px !important;
    padding: 4px 0 !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    word-break: break-all !important;
    -webkit-line-clamp: 2 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .notice-arrow {
    display: none;
  }
  /* 隐藏背景水印logo */
  .notice-list::before {
    display: none;
  }
}

/* 极小 (≤480px) */
@media (max-width: 480px) {
  .notice-list-wrapper {
    padding: 12px !important;
  }
  .title-with-more .notice-list-title {
    font-size: 16px !important;
  }
  .notice-date {
    font-size: 11px !important;
    min-width: 38px !important;
  }
  .notice-title {
    font-size: 13px !important;
  }
}

/* ============================================================
   7. 基层风采 (Choices)
   说明：原结构是JS驱动的横向无限轮播（ul宽12000px，li宽1184px固定）
   Pad/手机端：JS已禁用（Choices.js判断≤1024px直接return），
   此处CSS将所有li全部竖排展示（不裁切，不依赖JS）
   ============================================================ */

/* ---- Pad横屏 + Pad竖屏 + 手机 (≤1024px) 统一竖排入口 ---- */
@media (max-width: 1024px) {
  /* 容器撑满，不裁剪 */
  section.about-section {
    overflow-x: hidden;
    background-attachment: scroll !important;
  }
  .Choices,
  .Choices_text,
  .Choices_content {
    max-width: 100%;
    overflow: visible;
  }

  /* 标题 */
  .Choices_head {
    width: 100% !important;
    height: auto !important;
    font-size: 30px !important;
    line-height: 1.4 !important;
    margin-bottom: 16px;
    float: none !important;
  }
  .Choicesnext {
    float: none !important;
    margin-left: 0 !important;
    text-align: right;
    padding-right: 0;
    display: block;
  }

  /* ★ 核心：banner 竖向全部展示，不再横向滑动 */
  .Choices_banner {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    overflow: visible !important;   /* 不能用hidden，否则只显示一条 */
  }
  .Choices_banner ul {
    width: 100% !important;         /* 覆盖原来的12000px */
    overflow: visible !important;
    float: none !important;
    margin-left: 0 !important;      /* 防止JS残留的marginLeft偏移 */
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
  }
  .Choices_banner ul li {
    width: 100% !important;         /* 覆盖原来的1184px */
    height: auto !important;
    float: none !important;
    display: flex !important;
    flex-direction: row !important; /* Pad横屏保持左右布局 */
    overflow: visible !important;
  }

  /* Pad横屏：左图50% 右文50% */
  .Choices_left {
    width: 50% !important;
    height: auto !important;
    float: none !important;
    flex-shrink: 0;
  }
  .Choices_left img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover;
    display: block;
  }
  .Choices_right {
    width: 50% !important;
    height: auto !important;
    float: none !important;
    padding: 24px !important;
    box-sizing: border-box;
  }
  .Choices_right h1 {
    width: 100% !important;
    height: auto !important;
    margin-top: 0 !important;
  }
  .Choices_right h2 {
    width: 100% !important;
    height: auto !important;
    padding-left: 0 !important;
    margin-top: 8px !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
  }
  .Choices_right p {
    width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  .Choicesbut {
    width: auto !important;
    margin-left: 0 !important;
    margin-top: 16px !important;
    display: inline-block !important;
    font-size: 15px !important;
    height: 42px !important;
    line-height: 42px !important;
    padding: 0 18px !important;
  }

  /* 导航指示器改为全宽 */
  .Choicestel {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    margin-top: 12px !important;
  }
  .Choicestel ul {
    width: 100% !important;
    margin-left: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
    overflow: visible !important;
  }
  .Choicestel ul li {
    width: auto !important;
    height: auto !important;
    float: none !important;
  }
}

/* ---- Pad竖屏 (≤768px)：左右改为上下 ---- */
@media (max-width: 768px) {
  .Choices_head {
    font-size: 26px !important;
  }
  .Choices_banner ul li {
    flex-direction: column !important; /* 图在上，文在下 */
  }
  .Choices_left {
    width: 100% !important;
  }
  .Choices_left img {
    height: 240px !important;
  }
  .Choices_right {
    width: 100% !important;
    padding: 20px !important;
  }
  .Choices_right h2 {
    font-size: 18px !important;
  }
}

/* ---- 手机 (≤767px) ---- */
@media (max-width: 767px) {
  .Choices_head {
    font-size: 22px !important;
    margin-bottom: 12px;
  }
  .Choices_head span {
    font-size: 13px !important;
    margin-left: 10px !important;
  }
  .Choices_banner ul {
    gap: 16px;
  }
  .Choices_left img {
    height: 200px !important;
  }
  .Choices_right {
    padding: 16px !important;
  }
  .Choices_right h1 {
    display: none !important;
  }
  .Choices_right h2 {
    font-size: 16px !important;
    margin-top: 0 !important;
  }
  .Choices_right p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  .Choicesbut {
    height: 38px !important;
    line-height: 38px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
    margin-top: 12px !important;
  }
  /* 竖排后指示器和箭头无实际作用，隐藏 */
  .Choicestel {
    display: none !important;
  }
  .Choicesnext {
    display: none !important;
  }
}

/* ---- 极小屏 (≤480px) ---- */
@media (max-width: 480px) {
  .Choices_left img {
    height: 170px !important;
  }
  .Choices_right {
    padding: 14px !important;
  }
  .Choices_right h2 {
    font-size: 15px !important;
  }
  .Choices_right p {
    font-size: 13px !important;
  }
}

/* ============================================================
   8. 六大模块 Tab 区（#our-photos）
   ============================================================ */

/* Pad横屏 (≤1024px) */
@media (max-width: 1024px) {
  #our-photos {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  #our-photos .nav-link {
    font-size: 16px;
    padding: 10px 18px;
  }
  .featured-image {
    height: 280px !important;
  }
  #our-photos .news-title-d li .title {
    font-size: 16px !important;
  }
}

/* Tab标签横向滚动 — Pad竖屏及手机 (≤768px) */
@media (max-width: 768px) {
  .tab-scroll-wrapper {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
    padding: 0 !important;
    /* 隐藏滚动条但保持可滑动 */
    scrollbar-width: none;
  }
  .tab-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }
  .tab-scroll-wrapper ul.nav.nav-pills {
    flex-wrap: nowrap !important;
    margin-bottom: 0 !important;
    padding-bottom: 6px;
    /* ★ 右侧留出16px，防止最后一个按钮被容器边缘截断 */
    padding-right: 16px !important;
  }
  .tab-scroll-wrapper .nav-item {
    flex-shrink: 0 !important;
    margin: 0 4px !important;
  }
  .tab-scroll-wrapper .nav-link {
    white-space: nowrap !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
  }
}

/* 手机 (≤767px) — 左右卡片堆叠为上下 */
@media (max-width: 767px) {
  #our-photos .featured-card .row.g-4 {
    flex-direction: column;
  }
  /* 左侧卡片 col-lg-5 */
  #our-photos .featured-card .col-lg-5,
  #our-photos .col-lg-5 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* 右侧列表 col-lg-7 */
  #our-photos .featured-card .col-lg-7,
  #our-photos .col-lg-7 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 16px;
  }
  #our-photos {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  #our-photos .our-photos-section.container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .featured-image {
    height: 210px !important;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
  }
  .featured-content {
    padding: 14px 16px !important;
  }
  .featured-title {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
  }
  .featured-desc {
    font-size: 13px !important;
    -webkit-line-clamp: 2 !important;
  }
  .featured-date {
    font-size: 11px !important;
    padding: 4px 8px !important;
    top: 10px !important;
    right: 10px !important;
  }
  #our-photos .featured-card {
    padding: 14px !important;
  }
  /* 右侧列表 */
  #our-photos .news-title-d li {
    font-size: 13px !important;
    line-height: 1.5 !important;
    padding: 8px 0 !important;
    margin-bottom: 0 !important;
  }
  #our-photos .news-title-d li > span:first-child {
    font-size: 13px !important;
    margin-right: 8px !important;
  }
  #our-photos .news-title-d li .title {
    font-size: 14px !important;
  }
  #our-photos .news-title-d li .date {
    font-size: 12px !important;
    min-width: 34px !important;
    margin-left: 8px !important;
  }
  .LIST-KAD-LEFT {
    margin-bottom: 0 !important;
  }
}

/* 小屏 (≤575px) */
@media (max-width: 575px) {
  .featured-image {
    height: 180px !important;
  }
  .featured-content {
    padding: 12px !important;
  }
  .featured-title {
    font-size: 14px !important;
  }
  .featured-desc {
    font-size: 12px !important;
    -webkit-line-clamp: 1 !important;
  }
  #our-photos .nav-link {
    font-size: 13px !important;
    padding: 7px 13px !important;
  }
  #our-photos .news-title-d li .title {
    font-size: 13px !important;
  }
}

/* 极小 (≤480px) */
@media (max-width: 480px) {
  .featured-image {
    height: 155px !important;
  }
  .featured-title {
    font-size: 13px !important;
  }
  .featured-desc {
    display: none !important;
  }
  #our-photos .nav-link {
    font-size: 12px !important;
    padding: 6px 12px !important;
  }
}

/* ============================================================
   9. Footer 页脚
   ============================================================ */

/* Pad (≤991px) */
@media (max-width: 991px) {
  .footer-widgets-wrapper .row {
    flex-wrap: wrap;
  }
  .footer-widgets-wrapper .col-xl-6.col-lg-4.col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .footer-widgets-wrapper .col-xl-3.col-lg-3.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .footer-content .social-icon img {
    width: 90px !important;
    height: 90px !important;
  }
  .footer-content p {
    font-size: 15px !important;
  }
}

/* 手机 (≤767px) — 版权两列改为居中单列 */
@media (max-width: 767px) {
  .footer-bottom .footer-bottom-wrapper .row {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom .footer-bottom-wrapper .col-lg-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  .footer-bottom .footer-bottom-wrapper .col-lg-6:last-child {
    margin-top: 6px;
  }
  /* 右对齐文字改为居中 */
  .text-align-right,
  .text-align-right a {
    text-align: center !important;
    font-size: 13px !important;
  }
  .footer-bottom .footer-bottom-wrapper p {
    text-align: center !important;
    font-size: 13px !important;
  }
  .footer-widgets-wrapper .single-footer-widget {
    margin-bottom: 20px;
  }
  .footer-widgets-wrapper .col-xl-3.col-lg-3.col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .footer-content .social-icon {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer-content .social-icon img {
    width: 80px !important;
    height: 80px !important;
  }
  .footer-content p {
    font-size: 14px !important;
  }
  .widget-head img {
    max-height: 45px;
    width: auto;
  }
  .list-area li a {
    font-size: 15px !important;
  }
  /* 友情链接标题 .read 在手机端缩小 */
  .footer-widgets-wrapper .single-footer-widget .widget-head h3 .read {
    font-size: 15px !important;
  }
  /* 友情链接列表字号 */
  .footer-widgets-wrapper .single-footer-widget .list-area li a {
    font-size: 15px !important;
  }
  .footer-bottom {
    padding: 16px 0;
  }
}

/* 极小 (≤480px) */
@media (max-width: 480px) {
  .footer-bottom .footer-bottom-wrapper p,
  .text-align-right,
  .text-align-right a {
    font-size: 12px !important;
  }
  .footer-content .social-icon img {
    width: 72px !important;
    height: 72px !important;
  }
  .footer-content p {
    font-size: 13px !important;
  }
}

/* ============================================================
   10. 通用辅助 & 细节修复
   ============================================================ */

/* section标题区 Pad */
@media (max-width: 1024px) {
  .section-title {
    margin-bottom: 10px;
  }
  .witr_back_title h4 {
    font-size: 80px;
  }
}

/* section标题区 手机 */
@media (max-width: 767px) {
  .section-title h2 {
    font-size: 22px !important;
    line-height: 1.4 !important;
  }
  .witr_back_title h4 {
    font-size: 48px !important;
  }
  .section-title .witr_back_title {
    top: -28px;
  }
}

/* 更多内容按钮 */
@media (max-width: 767px) {
  .more-content {
    font-size: 14px;
    margin: 8px 0;
  }
  .more-content::before {
    width: 60px;
    right: calc(50% + 42px);
  }
  .more-content::after {
    width: 60px;
    left: calc(50% + 42px);
  }
}
@media (max-width: 480px) {
  .more-content {
    font-size: 13px;
  }
  .more-content::before,
  .more-content::after {
    width: 30px;
  }
  .more-content::before {
    right: calc(50% + 32px);
  }
  .more-content::after {
    left: calc(50% + 32px);
  }
}

/* section间距 */
@media (max-width: 767px) {
  .section-padding {
    padding: 30px 0 !important;
  }
  .xyxw {
    padding: 30px 0 !important;
  }
}
@media (max-width: 480px) {
  .section-padding {
    padding: 24px 0 !important;
  }
}

/* 下载向下箭头在小屏适当缩小 */
@media (max-width: 575px) {
  .hero_content a {
    width: 38px;
    height: 38px;
    line-height: 38px;
    font-size: 14px;
  }
}

/* ============================================================
   11. 青春风采模块 (testimonials-one)
   ============================================================ */

/* Pad横屏 (≤1024px) */
@media (max-width: 1024px) {
  .testimonials-one {
    padding: 50px 0 !important;
  }
  
  .testimonials-one .section-title h2 {
    font-size: 26px !important;
  }
  
  .testimonials-one .thm-swiper__slider {
    padding: 0 20px;
  }
  
  .testimonials-one__box {
    padding: 20px !important;
  }
  
  .testimonials-one__box p .title {
    font-size: 18px !important;
  }
  
  .testimonials-one__box p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}

/* Pad竖屏 (≤768px) */
@media (max-width: 768px) {
  .testimonials-one {
    padding: 40px 0 !important;
  }
  
  .testimonials-one .section-title h2 {
    font-size: 24px !important;
  }
  
  .testimonials-one__box {
    padding: 18px !important;
  }
  
  .testimonials-one__box p .title {
    font-size: 17px !important;
  }
  
  .testimonials-one__box p {
    font-size: 14px !important;
  }
}

/* 手机端 (≤767px) */
@media (max-width: 767px) {
  .testimonials-one {
    padding: 30px 0 !important;
  }
  
  .testimonials-one .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .testimonials-one .section-title h2 {
    font-size: 22px !important;
    margin-bottom: 20px !important;
  }
  
  .testimonials-one .more-content {
    margin-bottom: 20px !important;
  }
  
  .testimonials-one .thm-swiper__slider {
    padding: 0 10px;
  }
  
  .testimonials-one__box {
    padding: 16px !important;
    margin-bottom: 15px;
  }
  
  .testimonials-one__box p .title {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }
  
  .testimonials-one__box p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  
  /* 分页器样式 */
  .testimonials-one__swiper-pagination {
    margin-top: 15px !important;
    margin-bottom: 20px !important;
  }
  
  .testimonials-one__swiper-pagination .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    margin: 0 5px !important;
  }
}

/* 小屏手机 (≤575px) */
@media (max-width: 575px) {
  .testimonials-one {
    padding: 25px 0 !important;
  }
  
  .testimonials-one .section-title h2 {
    font-size: 20px !important;
    margin-bottom: 15px !important;
  }
  
  .testimonials-one__box {
    padding: 14px !important;
    margin-bottom: 12px;
  }
  
  .testimonials-one__box p .title {
    font-size: 15px !important;
    margin-bottom: 8px !important;
  }
  
  .testimonials-one__box p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  
  .testimonials-one__swiper-pagination {
    margin-top: 12px !important;
    margin-bottom: 15px !important;
  }
}

/* 极小屏 (≤480px) */
@media (max-width: 480px) {
  .testimonials-one {
    padding: 20px 0 !important;
  }
  
  .testimonials-one .section-title h2 {
    font-size: 18px !important;
    margin-bottom: 12px !important;
  }
  
  .testimonials-one__box {
    padding: 12px !important;
    margin-bottom: 10px;
  }
  
  .testimonials-one__box p .title {
    font-size: 14px !important;
  }
  
  .testimonials-one__box p {
    font-size: 12px !important;
  }
  
  .testimonials-one__swiper-pagination .swiper-pagination-bullet {
    width: 7px !important;
    height: 7px !important;
    margin: 0 4px !important;
  }
}

/* ============================================================
   12. 基层风采Swiper模块 (choices-swiper)
   ============================================================ */

/* Pad横屏 (≤1024px) */
@media (max-width: 1024px) {
  .choices-swiper .swiper-slide .Choices_left,
  .choices-swiper .swiper-slide .Choices_right {
    height: 350px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right h2 {
    font-size: 22px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right p {
    font-size: 15px !important;
  }
  
  .choices-swiper-pagination {
    margin-top: 25px;
  }
}

/* Pad竖屏 (≤768px) */
@media (max-width: 768px) {
  .choices-swiper .swiper-slide .Choices_left,
  .choices-swiper .swiper-slide .Choices_right {
    height: 320px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right {
    padding: 0 25px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right h2 {
    font-size: 20px !important;
    margin-top: 12px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right p {
    font-size: 14px !important;
    margin-top: 12px !important;
  }
  
  .choices-swiper-pagination {
    margin-top: 20px;
  }
}

/* 手机端 (≤767px) - 单列显示 */
@media (max-width: 767px) {
  .choices-swiper {
    padding: 0;
  }
  
  .choices-swiper .swiper-slide .Choices_left,
  .choices-swiper .swiper-slide .Choices_right {
    width: 100% !important;
    height: auto !important;
    float: none !important;
  }
  
  .choices-swiper .swiper-slide .Choices_left {
    height: 200px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_left img {
    height: 100%;
  }
  
  .choices-swiper .swiper-slide .Choices_right {
    padding: 18px !important;
    min-height: 180px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right h2 {
    font-size: 17px !important;
    margin-top: 8px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-top: 10px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right .Choicesbut {
    width: 110px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 15px !important;
    margin-top: 15px !important;
  }
  
  .choices-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 6px;
  }
  
  .choices-swiper-pagination {
    margin-top: 18px;
  }
}

/* 小屏手机 (≤575px) */
@media (max-width: 575px) {
  .choices-swiper .swiper-slide .Choices_left {
    height: 180px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right {
    padding: 15px !important;
    min-height: 160px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right h2 {
    font-size: 16px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right .Choicesbut {
    width: 100px !important;
    height: 35px !important;
    line-height: 35px !important;
    font-size: 14px !important;
    margin-top: 12px !important;
  }
  
  .choices-swiper-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 5px;
  }
  
  .choices-swiper-pagination {
    margin-top: 15px;
  }
}

/* 极小屏 (≤480px) */
@media (max-width: 480px) {
  .choices-swiper .swiper-slide .Choices_left {
    height: 160px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right {
    padding: 12px !important;
    min-height: 140px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right h2 {
    font-size: 15px !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right p {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }
  
  .choices-swiper .swiper-slide .Choices_right .Choicesbut {
    width: 90px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 13px !important;
    margin-top: 10px !important;
  }
  
  .choices-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
}

/* ============================================================
   13. 通用移动端优化
   ============================================================ */

/* 触摸友好：增加点击区域 */
@media (max-width: 767px) {
  a, button {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* 防止文字选中 */
  .no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* 优化滚动性能 */
  .smooth-scroll {
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
  }
}

/* 图片懒加载优化 */
@media (max-width: 767px) {
  img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  img[data-src].loaded {
    opacity: 1;
  }
}

/* 防止iOS Safari自动缩放 */
@media (max-width: 767px) {
  input, textarea, select {
    font-size: 16px !important;
  }
}

/* 优化表格在移动端的显示 */
@media (max-width: 767px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  th, td {
    white-space: nowrap;
    padding: 8px 12px;
  }
}

/* 隐藏打印样式 */
@media print {
  .no-print {
    display: none !important;
  }
}


/* 搜索框覆盖层 */
@media (max-width: 575px) {
  .search-wrap .search-field-holder {
    width: 90%;
  }
  .search-wrap .main-search-input {
    height: 48px;
    font-size: 15px;
  }
}

/* 修复图片最大宽度在所有区域 */
@media (max-width: 1024px) {
  .Choices_left img,
  .slideshow img,
  .featured-image img {
    max-width: 100%;
  }
}

/* 触摸滑动优化 */
@media (max-width: 1024px) {
  .swiper-wrapper,
  .slider-track,
  .Choices_banner ul {
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================================
   14. 新页面响应式补充
   ============================================================ */

/* 文章内容区域 */
@media (max-width: 991px) {
  .article-body {
    padding: 2rem;
  }
  .article-body p {
    font-size: 1rem;
  }
  .article-body p:first-of-type::first-letter {
    font-size: 3em;
  }
}

@media (max-width: 767px) {
  .article-body {
    padding: 1.5rem;
  }
  .article-body p {
    font-size: 0.95rem;
    line-height: 1.9;
  }
  .article-body p:first-of-type::first-letter {
    font-size: 2.5em;
  }
  .article-figure {
    margin: 1.5rem 0;
  }
  .article-links {
    padding: 1.2rem;
  }
  .article-attach {
    padding: 1.2rem;
  }
  .related-articles {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  .related-articles .news-card {
    flex-direction: column;
  }
  .related-articles .news-card-img {
    flex: none;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .article-body {
    padding: 1.2rem;
  }
  .article-body p {
    font-size: 0.9rem;
  }
  .article-body p:first-of-type::first-letter {
    font-size: 2.2em;
  }
  .article-figure figcaption {
    font-size: 0.75rem;
    padding: 0.5rem;
  }
  .article-links h4 {
    font-size: 0.95rem;
  }
  .article-links ul li a {
    font-size: 0.85rem;
  }
  .article-attach h4 {
    font-size: 0.9rem;
  }
  .attach-file {
    font-size: 0.82rem;
    padding: 0.4rem 0.7rem;
  }
  .related-articles .news-card-body h4 {
    font-size: 0.95rem;
  }
  .related-articles .news-card-body p {
    font-size: 0.78rem;
  }
}

/* 新闻筛选栏 */
@media (max-width: 767px) {
  .news-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 1rem 0;
  }
  .filter-tabs {
    justify-content: center;
    gap: 0.4rem;
  }
  .filter-tab {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  .filter-search {
    width: 100%;
  }
  .filter-search .sb-search {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .filter-tabs {
    gap: 0.3rem;
  }
  .filter-tab {
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* 文章导航（上下篇） */
@media (max-width: 767px) {
  .article-nav {
    flex-direction: column;
    gap: 0.8rem;
  }
  .article-nav-item {
    padding: 1rem;
  }
  .article-nav-label {
    font-size: 0.7rem;
  }
  .article-nav-title {
    font-size: 0.85rem;
  }
}

/* 分页器 */
@media (max-width: 575px) {
  .p-pagination {
    gap: 0.3rem;
  }
  .pg-num, .pg-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .pg-num, .pg-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
    border-radius: 6px;
  }
}

/* 侧边栏文章目录 */
@media (max-width: 991px) {
  .p-sidebar {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .sb-widget {
    padding: 1.2rem;
  }
  .sb-title {
    font-size: 0.88rem;
    margin-bottom: 0.8rem;
  }
  .sb-cat li a {
    font-size: 0.82rem;
    padding: 0.5rem 0.6rem;
  }
  .sb-hot li a {
    font-size: 0.8rem;
  }
  .sb-rank {
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
  }
  .sb-search input {
    font-size: 0.82rem;
    padding: 0.5rem 0.8rem;
  }
  .sb-search button {
    padding: 0.5rem 0.8rem;
  }
  .sb-author h4 {
    font-size: 0.95rem;
  }
  .sb-author p {
    font-size: 0.75rem;
  }
  .sb-related li a img {
    width: 48px;
    height: 40px;
  }
  .sb-related li a span {
    font-size: 0.78rem;
  }
  .sb-tags a {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }
  .info-tile {
    padding: 1.5rem;
  }
  .info-tile h4 {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
  }
  .info-tile ul li {
    font-size: 0.82rem;
    padding: 0.4rem 0;
  }
}

@media (max-width: 480px) {
  .sb-widget {
    padding: 1rem;
  }
  .sb-title {
    font-size: 0.82rem;
    margin-bottom: 0.6rem;
  }
  .sb-cat li a {
    font-size: 0.78rem;
    padding: 0.4rem 0.5rem;
  }
  .sb-hot li a {
    font-size: 0.75rem;
  }
  .sb-rank {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }
  .sb-search input {
    font-size: 0.78rem;
    padding: 0.4rem 0.7rem;
  }
  .sb-search button {
    padding: 0.4rem 0.7rem;
  }
  .sb-author h4 {
    font-size: 0.9rem;
  }
  .sb-author p {
    font-size: 0.7rem;
  }
  .sb-related li a img {
    width: 44px;
    height: 36px;
  }
  .sb-related li a span {
    font-size: 0.75rem;
  }
  .sb-tags a {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
  .info-tile {
    padding: 1.2rem;
  }
  .info-tile h4 {
    font-size: 0.9rem;
  }
  .info-tile ul li {
    font-size: 0.78rem;
  }
}
