/* ============================================
   pc.css  PC 端样式（>= 769px）
   作用：仅作用于桌面设备
   通过 media 属性加载，PC 端浏览器才会解析

   断点：
     - 默认（769-991px）：紧凑布局
     - 992-1199px：中等布局
     - >= 1200px：完整布局（设计稿宽度 1260px）
   ============================================ */

/* ============================================
   默认（769-991px）：紧凑布局
   容器不到 1000px，导航和工具区都要压缩
   ============================================ */

/* 头高度略低 */
.header-inner {
  height: 70px;
}

/* 导航字号小、内边距紧 */
.nav-item > a {
  padding: 0 10px;
  font-size: 14px;
}

/* 搜索框压缩 */
.search-box {
  width: 120px;
  height: 22px;
  padding: 0 8px 0 12px;
}

.search-input {
  font-size: 13px;
}

.search-icon {
  width: 11px;
  height: 11px;
}

/* 工具区紧凑 */
.header-tools {
  gap: 3px;
}

.tool-icon {
  width: 20px;
  height: 20px;
}

.tool-icon-img {
  width: 16px;
  height: 16px;
}

.mega-menu-container {
  /* height: 300px; */
}

/* mega-col 宽列修饰（只在 PC 生效，移动端 mobile.css 用 width:100% 覆盖）*/
.mega-col-wide {
  /* width: 120px; */
}

/* ---------- 幻灯片 Banner ---------- */
/* 769-991 紧凑档：基础尺寸已在 common.css（与默认一致，无需重复声明）*/

/* ---------- 图片列表 ---------- */
/* 769-991 紧凑档：3 列（与 common 一致）+ 内边距收紧 */
.image-grid {
  gap: 18px;
}
.image-list-title {
  font-size: 24px;
}
.image-card-title {
  font-size: 16px;
}

/* ---------- 表单模块 ---------- */
/* 769-991 紧凑档：3 列 + 间距收紧 */
.form-section {
  padding: 36px 0;
}
.form-grid {
  gap: 16px;
}
.form-card-title {
  font-size: 20px;
}

/* ---------- 通栏视频 ---------- */
/* PC 端：固定高度 780px（用户指定） */
.video-feature-wrapper {
  height: 780px;                        /* 覆盖 common 的 aspect-ratio */
  aspect-ratio: auto;
}
.video-feature-title {
  font-size: 42px;
  letter-spacing: 6px;
}

/* ---------- 新闻模块 ---------- */
/* 769-991 紧凑档：tab 字号缩小 */
.news-section {
  padding: 50px 0 40px;
}
.news-tab {
  font-size: 16px;
}
.news-tabs {
  gap: 32px;
}

/* ---------- 友情链接 ---------- */
.friend-links {
  padding: 14px 0;
}
.friend-links-list {
  font-size: 12px;
}

/* ---------- 底部：紧凑布局 ---------- */
.footer-top {
  padding: 22px 0 14px;
}

.footer-logo img {
  height: 32px;
}

.footer-main {
  padding: 12px 0 26px;
}

.footer-grid {
  gap: 36px;
}

.footer-title {
  font-size: 16px;
}

.footer-desc,
.footer-info p {
  font-size: 12px;
}

.footer-desc {
  /* max-width: 320px; */
}

.footer-qr {
  gap: 12px;
  margin-top: 16px;
}

.qr-img {
  width: 68px;
  height: 68px;
}

.qr-label {
  font-size: 10px;
}

.links-col a {
  font-size: 13px;
}

.links-col li {
  margin-bottom: 9px;
}


/* 769-991 紧凑档 */
@media (min-width: 769px) and (max-width: 991px) {
  .header-inner { height: 70px; }
  :root { --header-height: 70px; }          /* 同步：banner-fullscreen 用 */
  .container {
    /* background-color: red; */
  }
  .header-tools {
    display: none;
  }
  .nav-list {
    width: 100%;
  }
}

/* ============================================
   992-1199px：中等布局
   ============================================ */
@media (min-width: 992px) and (max-width: 1199px) {

  :root { --header-height: 75px; }          /* 同步：banner-fullscreen 用 */

  .nav-list {
    width: 95%;
  }

  .header-inner {
    height: 75px;
  }

  .nav-item > a {
    padding: 0 14px;
    font-size: 15px;
  }

  .search-box {
    width: 150px;
    height: 24px;
  }

  .search-icon {
    width: 12px;
    height: 12px;
  }

  .tool-icon {
    width: 22px;
    height: 22px;
  }

  .tool-icon-img {
    width: 18px;
    height: 18px;
  }

  /* ----- 底部 ----- */
  .footer-grid {
    gap: 50px;
  }
  .footer-title {
    font-size: 17px;
  }
  .qr-img {
    width: 75px;
    height: 75px;
  }

  /* ----- 图片列表 ----- */
  .image-list {
    padding: 50px 0;
  }
  .image-list-title {
    font-size: 26px;
  }
  .image-grid {
    grid-template-columns: repeat(3, 1fr);   /* 显式声明 3 列，避免被默认档覆盖 */
    gap: 20px;
  }

  /* ----- 表单模块 ----- */
  .form-section {
    padding: 44px 0;
  }
  .form-grid {
    gap: 20px;
  }
  .form-card-title {
    font-size: 21px;
  }

  /* ----- 友情链接 ----- */
  .friend-links-list {
    font-size: 13px;
  }

  /* ----- 幻灯片 Banner ----- */
  .banner {
    height: 600px;
  }
  .banner-title {
    font-size: 50px;
  }
  .banner-subtitle {
    font-size: 17px;
  }
  .banner-arrow {
    width: 50px;
    height: 50px;
  }
  .banner-arrow::after {
    font-size: 18px;
  }
  .banner-arrow-prev { left: 40px; }
  .banner-arrow-next { right: 40px; }

  /* ----- 通栏视频 ----- */
  /* 高度 780px（PC 通用） */
  .video-feature-title {
    font-size: 56px;
    letter-spacing: 8px;
  }

  /* ----- 新闻模块 ----- */
  .news-tab {
    font-size: 17px;
  }
}

/* ============================================
   >= 1200px：完整布局（设计稿 1260px）
   ============================================ */
@media (min-width: 1200px) {

  :root { --header-height: 80px; }          /* 与 base.css 默认一致；显式声明便于覆盖 */

  .nav-list {
    width:90%;
  }

  .header-inner {
    height: 80px;
  }

  .nav-item > a {
    padding: 0 20px;
    font-size: 16px;
  }

  .search-box {
    width: 180px;
    height: 26px;
  }

  .search-icon {
    width: 12px;
    height: 12px;
  }

  /* ----- 底部 ----- */
  .footer-top {
    padding: 32px 0 24px;
  }
  .footer-main {
    padding: 20px 0 40px;
  }
  .footer-grid {
    gap: 60px;
  }
  .footer-title {
    font-size: 18px;
  }
  .qr-img {
    width: 80px;
    height: 80px;
  }

  /* ----- 友情链接 ----- */
  .friend-links {
    padding: 18px 0;
  }
  .friend-links-list {
    font-size: 14px;
  }

  /* ----- 图片列表 ----- */
  .image-list {
    padding: 70px 0;
  }
  .image-list-title {
    font-size: 30px;
    padding-bottom: 14px;
  }
  .image-list-title::after {
    width: 60px;
    height: 4px;
  }
  .image-grid {
    grid-template-columns: repeat(3, 1fr);   /* 显式声明 3 列 */
    gap: 28px;
  }
  .image-card-title {
    font-size: 20px;
    padding: 24px 24px 10px;
  }
  .image-card-desc {
    font-size: 14px;
    padding: 0 24px 28px;
  }

  /* ----- 表单模块 ----- */
  .form-section {
    padding: 60px 0;
  }
  .form-grid {
    gap: 32px;
  }
  .form-card-title {
    font-size: 24px;
  }
  .form-card-title::after {
    /* 1200+ 档：下划线高度放大更醒目，hover 动画在 common.css */
    height: 10px;
  }
  .form-input {
    height: 44px;
    font-size: 14px;
  }
  .form-btn {
    height: 44px;
    font-size: 15px;
  }

  /* ----- 幻灯片 Banner ----- */
  .banner {
    height: calc(100vh - 80px);
  }
  .banner-title {
    font-size: 60px;
    letter-spacing: 4px;
  }
  .banner-subtitle {
    font-size: 20px;
    letter-spacing: 3px;
  }
  .banner-arrow {
    width: 56px;
    height: 56px;
  }
  .banner-arrow::after {
    font-size: 20px;
  }
  .banner-arrow-prev { left: 60px; }
  .banner-arrow-next { right: 60px; }
  .banner-caption {
    bottom: 100px;
    right: 80px;
    font-size: 14px;
  }

  /* ----- 通栏视频 ----- */
  .video-feature-title {
    font-size: 80px;
    letter-spacing: 12px;
  }
  .video-feature-caption {
    right: 40px;
    bottom: 100px;
    font-size: 15px;
  }
  .video-feature-controls {
    padding: 20px 32px;
  }
  .video-play-btn {
    width: 70px;                          /* 与 common 同步 */
    height: 70px;
  }
  .video-play-btn svg {
    width: 30px;
    height: 30px;
  }

  /* ----- 新闻模块 ----- */
  .news-section {
    padding: 80px 0 60px;
  }
  .news-header {
    margin-bottom: 48px;
  }
  .news-tab {
    font-size: 20px;
  }
  .news-tabs {
    gap: 48px;
  }
  .news-card-pic {
    height: 380px;                     /* 用户指定：PC 端图片高度 380px */
    aspect-ratio: auto;               /* 覆盖 common 的 16:10 */
  }
  .news-card-title {
    font-size: 18px;
  }
}

/* ============================================
   大屏适配（>= 1440px）
   ============================================ */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
  .nav-list {
    width:85%;
  }
}

/* ============================================
   鼠标悬停效果（仅在指针设备下生效）
   ============================================ */
@media (hover: hover) and (pointer: fine) {
  /* hover 动效已写在 common.css */
}

/* ============================================
   移动端专用 _new 容器：PC 端强制隐藏
   ============================================ */
.mega-menu-container_new {
  display: none !important;
}