@media (max-width: 1580px) {
  .sec-register .sec-wrap {
    padding-top: max(20px, calc(var(--header-h) + 140 * var(--px)));
    padding-bottom: max(20px, calc(var(--header-h) + 40 * var(--px)));
  }

  .sec-register .sec-title-sub {
    font-size: 18px;
    line-height: 1.2;
  }

  .step-bar {
    margin-top: 10px;
  }

  .step-bar .item {
    padding: 10px 20px;
  }

  .sec-register .submit {
    margin-top: 0;
  }

  .sec-register .form-wrap {
    margin-top: 10px;
  }

  .sec-register .el-input__inner {
    height: 35px;
  }

  .sec-index-4 .sec-title {
    font-size: var(--font-30);
  }

  .cookies-wrap .title {
    font-size: 20px;
  }

  .cookies-wrap .intro {
    font-size: 14px;
  }
}

@media (max-width: 1280px) {
  header {
    padding: 0 20px;
  }
}

/* -------- <=1024: 平板竖屏/小桌面 -------- */
@media (max-width: 1024px) {

  /* 图文分栏统一纵向堆叠 */
  .sec-index-2 .container,
  .sec-index-3 .container,
  .sec-index-4 .sec-wrap {
    flex-direction: column;
  }

  /* 分栏图片全宽展示 */
  .sec-index-2 .pic,
  .sec-index-3 .pic {
    width: 100%;
  }

  /* 卡片栅格：3 -> 2 列（全局） */
  .card-wrap {
    --column: 2;
  }

  /* 图片墙（原 7 列）：先降为 4 列 */
  .picture-cont .card-wrap {
    --column: 4;
  }

  /* 登录/注册页细节：表单区域更宽松（若有固定宽度则释放约束） */
  /* 页脚内容稍微拉开 */
  .footer-wrap {
    gap: max(20px, 6%);
  }

  .sec-news-list .card-wrap {
    --column: 2;
  }

  .sec-login .form-wrap {
    width: 100%;
  }

  /* sec-index-1 卡片改为竖排 */
  .sec-index-1 .item {
    flex-direction: column !important;
  }

  .sec-index-1 .item .pic {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
  }

  .sec-index-1 .item .txt {
    padding: max(20px, 4%) 20px;
  }

  /* 个人中心上下堆叠 */
  .personal-wrap {
    flex-direction: column;
  }

  .personal-info,
  .personal-area {
    width: 100%;
  }

  /* 图片墙：4 -> 3 列 */
  .picture-cont .card-wrap {
    --column: 3;
  }

  /* 页内横幅收缩 */
  .page-banner {
    height: max(320px, 480 * var(--px));
  }

  .sec-index-1-expand .info-wrap {
    --column: 1;
  }

  .sec-index-4 .sec-top {
    width: 100%;
  }
}

/* -------- <=768: 手机横向/常见手机竖屏 -------- */
@media (max-width: 768px) {
  .mobile-nav {
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
  }

  .mobile-nav .ph_l {
    width: 61%;
    height: 100%;
    position: fixed;
    top: 80px;
    left: -61%;
    z-index: 1120;
    overflow: hidden;
    background: #fff;
    color: rgba(255, 255, 255, .6);
    transition: left .3s;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, .08);
  }

  .mobile-nav .ph_l .sign {
    padding: 20px;
    border-radius: 0;
  }

  .mobile-nav .ph_l .sign-wrap {
    gap: 20px;
  }

  .mobile-nav .ph_l .btn-wrap-m {
    margin-top: 20px;
    padding: 20px;
    gap: 20px;
  }

  .mobile-nav .ph_l .btn-wrap-m .btn-lay {
    width: 100%;
    text-align: center;
  }

  .mobile-nav .ph_r {
    display: block;
    width: 40%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    position: fixed;
    right: -40%;
    top: 80px;
    z-index: 1101;
    transition: right .3s;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, .08);
  }

  .ph_l ul li {
    border-bottom: 1px solid #ccc;
    position: relative;
  }

  .ph_l ul li a {
    padding: 20px;
    color: #000;
    cursor: pointer;
  }

  .ph_l ul li a svg {
    transition: .3s;
  }

  .ph_l ul li a.active svg {
    transform: rotate(90deg);
  }

  .ph_l ul .mobile-nav_secont {
    margin-left: 5px;
  }

  .ph_l ul .mobile-nav_secont a {
    padding: 10px;
  }

  .btn-head-nav-toggle {
    display: block;
    margin-left: 10px;
  }

  .mob-nav-sec {
    margin-bottom: 20px;
    display: none;
  }

  .ph_l ul li .mob-nav-sec a {
    display: block;
    padding: 5px 40px;
  }

  .btn-large-nav-expand {
    display: inherit;
    flex-direction: column;
    cursor: pointer;
  }

  .btn-large-nav-expand i {
    display: block;
    width: 24px;
    height: 2px;
    flex: 0 0 auto;
    background: var(--theme-color);
    margin-bottom: 4px;
    transition: .5s cubic-bezier(.15, 1, .336, 1)
  }

  .btn-large-nav-expand i:last-of-type {
    margin-bottom: 0
  }

  .btn-large-nav-expand.active i {
    transition: .4s cubic-bezier(.1, .84, .2, 1.4)
  }

  .btn-large-nav-expand.active i:first-of-type {
    transform: translateY(300%) rotate(45deg)
  }

  .btn-large-nav-expand.active i:nth-of-type(2) {
    transform: scaleX(0)
  }

  .btn-large-nav-expand.active i:nth-of-type(3) {
    transform: translateY(-300%) rotate(-45deg)
  }

  /* 表单两列 -> 一列 */
  .contact-us-form .input-filed.w33,
  .contact-us-form .input-filed.w50,
  .personal-area .form .el-form-item {
    width: 100%;
  }

  .contact-us-form .privacy {
    align-items: flex-start;
  }

  /* index 图文区间距统一 */
  .sec-index-2 .container,
  .sec-index-3 .container {
    gap: var(--px-20-40);
  }

  /* 通用卡片：2 -> 1 列 */
  .card-wrap {
    --column: 1;
  }

  /* 图片墙：3 -> 2 列 */
  .picture-cont .card-wrap {
    --column: 2;
  }

  /* 选择卡组单列 */
  .chooes-wrap .card-wrap {
    --column: 1;
  }

  /* Footer 纵排 */
  .footer-wrap {
    flex-direction: column;
  }

  footer .contact-wrap {
    width: 100%;
  }

  /* 详情页：面包屑左对齐、标题尺寸稍降（与之前的细化样式配合） */
  .sec-news-detail .breadcrumb {
    justify-content: flex-start;
  }

  .sec-news-detail .article {
    padding: max(14px, 24 * var(--px));
  }

  /* 横幅进一步压缩 */
  .page-banner {
    height: max(260px, 380 * var(--px));
  }

  /* 详情页按钮在窄屏更好点按 */
  .btn-lay.format1 {
    width: 100%;
    text-align: center;
  }

  .sec-news-list .card-wrap {
    --column: 1;
  }

  .main {
    margin: 0 20px;
  }

  .sec-news-detail .article {
    width: 100%;
  }

  .sec-index-4 {
    height: auto;
  }

  .copyright {
    flex-wrap: wrap;
  }

  .sec-aboutus-2 .container {
    --margin: 20px;
    flex-direction: column;
    padding: 0 30px;
  }

  .sec-aboutus-2 .info {
    flex-direction: column;
    width: 80%;
  }

  .dialog-wrap {
    width: calc(100% - 20px);
    min-height: 80vh;
    overflow-y: auto;
  }

  .index-dialog-wrap .dialog-wrap {
    padding-bottom: 80px;
  }

  .sec-index-1-expand .top .pic {
    padding: 10px;
  }

  .sec-index-1-expand .top .sec-title-thin {
    font-size: 16px;
  }

  .dialog-close-right {
    bottom: 0;
    top: unset;
    right: 50%;
    transform: translate(50%, -50%);
  }

  .dialog-close-right:hover {
    transform: translate(50%, -50%) rotate(90deg);
  }

  .sec-register .sec-top {
    width: 100%;
  }

  .picture-cont .tips {
    flex-direction: column;
  }

  .header-nav,
  .lang-wrap {
    display: none;
  }
}

/* -------- <=576: 小屏手机 -------- */
@media (max-width: 576px) {

  /* 图片墙：2 -> 1 列，保证缩略图可读 */
  .picture-cont .card-wrap {
    --column: 1;
  }

  /* 标签与文本间距更紧凑 */
  .label {
    height: 36px;
    padding: 0 16px;
  }

  .sec-title-thin {
    margin-top: var(--px-10-20);
  }

  /* 登录/注册输入块的间距与字号轻度收敛（继承全局变量） */
  .form-wrap .input-wrap {
    height: 56px;
  }

  .index-banner .main {
    padding-top: 50px;
    justify-content: start;
  }

  .index-banner .swiper-pagination {
    bottom: 12%;
  }

  .sec-login .sec-wrap,
  .sec-register .sec-wrap {
    padding: calc(var(--header-h) + 30px) 0;
    align-items: start;
  }

  .sec-news-list .sec-top,
  .sec-news-list .hero {
    flex-direction: column;
  }

  .sec-news-list .hero .pic {
    width: 100%;
  }

  .sec-news-detail .article {
    padding: 0;
  }

  .sec-news-detail .sec-title {
    max-width: 100%;
  }

  header {
    padding: 0;
    top: 0;
    background-color: #fff;
  }

  .header-wrap {
    margin: 0 20px;
    height: var(--header-h);
  }

  header .logo {
    height: 100%;
  }

  header .logo img {
    height: calc(100% - 20px);
  }

  .sec-login .main {
    flex-direction: column;
    display: flex;
    justify-content: center;
  }

  .step-bar .item {
    flex-direction: column;
  }

  .step-bar .item span {
    text-align: center;
    font-size: 12px;
  }

  /* .full-page {
    height: auto;
  } */

  .index-banner .full-page {
    height: 46vh;
    margin-top: var(--header-h);
  }

  .el-message-box {
    width: calc(100% - 20px);
  }


  .sec-register,
  .sec-register .sec-wrap {
    height: auto;
  }

  .personal-area .swiper .record {
    gap: 10px;
  }

  .personal-area .swiper .record .state {
    width: 100px;
    right: 10px;
    font-size: 10px;
  }

  .personal-area .swiper .record .pic {
    height: 70%;
  }

  .personal-area .swiper .record .title {
    font-size: 14px;
  }

  .personal-area .swiper .record .time {
    font-size: 12px;
  }

  .personal-area .swiper .record .time span {
    font-size: 14px;
  }

  .sec-index-1 .item .pic {
    height: 50%;
  }

  .sec-index-1 .item .pic img {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }

  .sec-index-2 .sec-wrap,
  .sec-index-3 .sec-wrap {
    padding: 30px 0;
  }

  .sec-index-4 .container .sec-intro-thin,
  .sec-index-4 .container .intro,
  .sec-index-4 .contact-us-form .privacy,
  .sec-password-forget .sec-title-sub,
  .sec-login .tips,
  .sec-login .tips a,
  .sec-login .register {
    color: #fff;
  }

  .sec-login .register a {
    color: var(--theme-color-green);
  }

  .footer-cont {
    display: none;
  }

  .sec-index-4 .info-wrap p {
    font-size: var(--font-16);
  }

  .filter-wrap {
    gap: 0;
  }

  .filter-wrap a {
    font-size: 10px;
    padding: 5px;
  }

}