/* ============================================================
   Mizeno 移动端精修样式（≤768px 生效，桌面端不受影响）
   目标：字号整体收小、间距收紧，更像原生手机站
   ============================================================ */
@media (max-width: 768px) {

    /* ---------- 全局基础 ---------- */
    body {
        font-size: 14px;
        line-height: 1.65;
    }
    p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* ---------- 字号工具类整体下调 ---------- */
    .font-70 { font-size: 27px !important; line-height: 1.25 !important; }
    .font-50 { font-size: 24px !important; line-height: 1.3 !important; }
    .font-45 { font-size: 22px !important; line-height: 1.3 !important; }
    .font-36 { font-size: 19px !important; line-height: 1.3 !important; }
    .font-30 { font-size: 18px !important; }
    .font-20 { font-size: 14px !important; }

    /* 标题内的段落（如 QUALITY & PRODUCTION... 下面的正文） */
    .title p,
    .textC p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    /* ---------- 栏目标题 ---------- */
    .modHead .h,
    .modHead.standalone .h {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    /* ---------- 顶部 Header ---------- */
    .oxy-header-container {
        padding: 0 12px !important;
        height: 52px !important;
    }
    .oxy-header-center img,
    .oxy-header-container img {
        max-height: 38px !important;
        width: auto !important;
    }

    /* ---------- 顶栏 + 固定头部让位 ----------
       手机端 #mobile2 是 position:fixed; top:0，
       顶栏同样固定在最上，头部整体下移 32px */
    .site-topbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 230000;
    }
    #mobile2 {
        top: 32px !important;
    }

    /* ---------- 区块留白收紧 ---------- */
    .mod,
    .section,
    section {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }
    .modHead.standalone {
        margin-bottom: 16px !important;
    }

    /* ---------- 按钮 ---------- */
    .btn,
    a[class*="btn"],
    .more a,
    .viewMore {
        font-size: 13px !important;
        padding: 9px 22px !important;
    }

    /* ---------- 底部固定导航 ---------- */
    #wap-bottom a {
        font-size: 11px !important;
        line-height: 1.2 !important;
        height: 46px !important;
    }
    #wap-bottom i,
    #wap-bottom .iconfont {
        font-size: 18px !important;
    }

    /* ---------- 右侧悬浮按钮 ---------- */
    .floatBtn,
    .side-btn,
    .kefu-float {
        transform: scale(0.85);
        transform-origin: right center;
    }

    /* ---------- 表单 ---------- */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 14px !important;
    }

    /* ============================================================
       内页字号统一精修（第二轮：production/about/service/faq/详情页）
       ============================================================ */

    /* ---------- 全站通用 ---------- */
    /* 面包屑（Home / Production 20px 太大） */
    .mbx, .mbx a, .mbx span {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
    /* 底部菜单链接 18px、栏目头 20px 收小 */
    #footer .menu a { font-size: 13px !important; }
    #footer p.first { font-size: 15px !important; }
    /* 产品列表页大标题 All Products / 分类面板标题 */
    h1.font-40, h1.Auxil-h1 { font-size: 20px !important; }
    span.h6.block.font-26 { font-size: 16px !important; }
    /* 首页卡片标题（18/19px 的新闻、产品卡片链接） */
    a.text.font-30 { font-size: 15px !important; }
    a.title.font-36 { font-size: 16px !important; }

    /* ---------- production 页 ---------- */
    /* OUR FULL-LINK PRODUCTION 60px 大标语 */
    span.tag.font-bold { font-size: 24px !important; line-height: 1.3 !important; }
    /* 段落正文 20px */
    p.font1 { font-size: 14px !important; line-height: 1.7 !important; }
    /* Production Capacity 标题（模板内已压到30px，再收一档） */
    h2.font-78 { font-size: 20px !important; }

    /* ---------- about 页 ---------- */
    .title.font-48, .title.font-48.font-bold { font-size: 20px !important; line-height: 1.35 !important; }
    /* 模板内 500px 断点把这里锁成 24px!important，需同特异性覆盖 */
    .about-page .about-1 .top .text .title { font-size: 20px !important; }
    .tipsTitle2.font-48 { font-size: 20px !important; }
    .grid-box .tit { font-size: 15px !important; }
    /* 计数器数字（限定 .data 内，避免误伤联系页邮箱等 em） */
    .grid-box .data em { font-size: 26px !important; }
    .grid-box .data sub { font-size: 16px !important; }
    .yearTag { font-size: 30px !important; }
    /* 历程滑块里 19px 的说明文字 */
    .swiper-slide .left .title { font-size: 14px !important; }

    /* ---------- faq 页 ---------- */
    .faq-page span.txt.font-24 { font-size: 15px !important; }
    .faq-page span.h2 { font-size: 19px !important; }

    /* ---------- service 页 ---------- */
    .service-page .flowHead span.h2 { font-size: 22px !important; line-height: 1.35 !important; }
    .service-page h2 > span.h2 { font-size: 16px !important; }
    .service-page span.h6 { font-size: 15px !important; }
    .service-page span.font-24 { font-size: 15px !important; }
    .service-page em { font-size: 14px !important; }
    h3.font-44 { font-size: 20px !important; }

    /* ---------- 产品详情页 ---------- */
    span.h2.font-50 { font-size: 19px !important; }
    /* 详情页 50px 的相关文章标题 */
    div.title.font-32.font-auton { font-size: 20px !important; line-height: 1.35 !important; }
    /* 富文本里的 h3/strong 18px */
    .product-1 .text h3 { font-size: 16px !important; }
    .product-1 .text strong { font-size: 14px !important; }
    .product-1 .text p { font-size: 14px !important; }

    /* ============================================================
       首页模块移动端优化
       ============================================================ */

    /* 1) OUR STRENGTHS：一排两个 */
    #index-body .init-1 {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }
    #index-body .init-1 .container {
        gap: 14px;
    }
    #index-body .init-1 .container .left,
    #index-body .init-1 .container .right {
        display: contents;
    }
    #index-body .init-1 .container .list {
        width: calc(50% - 7px) !important;
        margin: 0 !important;
        flex-direction: column;
        align-items: flex-start;
    }
    #index-body .init-1 .container .list .imgC {
        width: 56px !important;
        height: 56px !important;
        margin-top: 0 !important;
    }
    #index-body .init-1 .container .list .imgC .img {
        width: 26px !important;
        height: 26px !important;
    }
    #index-body .init-1 .container .list .textC {
        width: 100% !important;
        margin-top: 10px !important;
    }
    #index-body .init-1 .container .list .textC .title,
    #index-body .init-1 .container .list .textC .title p {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }
    #index-body .init-1 .container .list .textC .des,
    #index-body .init-1 .container .list .textC .des p {
        font-size: 12px !important;
        line-height: 1.55 !important;
        margin-top: 6px !important;
    }

    /* 2) FULL RANGE 模块：解除固定高度裁切（分类文字被盖住） */
    #index-body .init-2 {
        height: auto !important;
        padding-bottom: 34px !important;
    }

    /* 3) 推荐产品轮播：一次两屏、图片缩小 */
    #index-body .init-3 {
        padding-bottom: 48px !important;
    }
    #index-body .init-3 .container ul li .box {
        min-height: 0 !important;
        padding: 14px 10px !important;
    }
    #index-body .init-3 .container ul li .box .img {
        width: 100% !important;
    }
    #index-body .init-3 .container ul li .box .img img {
        height: 120px !important;
        object-fit: contain !important;
    }
    #index-body .init-3 .container ul li .box .rightC {
        width: 100% !important;
    }
    #index-body .init-3 .container ul li .box .rightC .title {
        font-size: 13px !important;
        line-height: 1.4 !important;
        min-height: 0 !important;
        margin-top: 8px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    #index-body .init-3 .container ul li .box .rightC .des,
    #index-body .init-3 .container ul li .box .rightC .des p {
        font-size: 12px !important;
        line-height: 1.55 !important;
        margin-top: 6px !important;
    }
    #index-body .init-3 .container ul li .box .rightC .des p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    #index-body .init-3 .container ul li .box .rightC .more {
        margin-top: auto !important;
        align-self: flex-start !important;
        width: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 11px !important;
        padding: 6px 14px !important;
        border-radius: 6px !important;
    }
    /* 两卡片等高：标题/摘要占位，按钮统一沉底对齐 */
    #index-body .init-3 .swiper-wrapper {
        align-items: stretch !important;
    }
    #index-body .init-3 .swiper-slide {
        height: auto !important;
        display: flex !important;
    }
    #index-body .init-3 .container ul li .box {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        height: 100% !important;
    }
    #index-body .init-3 .container ul li .box .rightC {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        flex: 1 !important;
    }
    #index-body .init-3 .container ul li .box .rightC .title {
        min-height: 37px !important; /* 两行标题占位，保证摘要起始对齐 */
    }
    #index-body .init-3 .container ul li .box .rightC .des {
        flex: 1 !important;
    }

    /* ---------- 列表两列化：更紧凑 ---------- */
    /* 新闻/文章列表：三列窄卡改两列 */
    .news-page .sideBarRight .list ul {
        justify-content: space-between;
        gap: 12px;
    }
    .news-page .sideBarRight .list ul.flex-3 > * {
        width: calc(50% - 6px) !important;
    }
    .news-page .sideBarRight .list ul.flex-3 > * .content .text p {
        font-size: 12px !important;
        line-height: 1.55 !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .news-page .sideBarRight .list ul.flex-3 > * .content .h6 {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}

/* ---------- ≤500px：产品列表从 1 列改 2 列 ---------- */
@media (max-width: 500px) {
    .list ul.grid.grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    .list ul.grid.grid-3 .product-item .h6 {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
    .list ul.grid.grid-3 .product-item .img .link {
        font-size: 12px !important;
    }
    .list ul.grid.grid-3 .product-item .img .link a {
        padding: 6px 12px !important;
    }
}

/* ==================== 新闻列表卡片化改版（2026-11-02） ==================== */
.news-page .sideBarRight .list ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}
.news-page .sideBarRight .list ul.flex-3 > * {
    width: auto !important;
}
.news-page .sideBarRight .list ul li {
    padding: 0 !important;
}
.news-page .sideBarRight .list ul li,
.news-page .sideBarRight .list ul.flex-3 > * {
    background: #fff;
    border: 1px solid #ebebe8;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.news-page .sideBarRight .list ul li:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(20, 34, 97, 0.10);
    border-color: rgba(20, 34, 97, 0.18);
}
.news-page .list ul li a.img-box {
    position: relative;
    display: block;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f3f3f0;
}
.news-page .list ul li a.img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.news-page .list ul li:hover a.img-box img {
    transform: scale(1.06);
}
.news-page .list ul li a.img-box time {
    left: 14px !important;
    top: 14px !important;
    bottom: auto !important;
    background: rgba(20, 34, 97, 0.92) !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1 !important;
    padding: 7px 11px !important;
    border-radius: 999px !important;
    font-weight: 500;
}
.news-page .list ul li .content {
    padding: 18px 20px 20px !important;
    display: flex;
    flex-direction: column;
}
.news-page .list ul li .content span.h6,
.news-page .sideBarRight .list ul.flex-3 > * .content .h6 {
    font-size: 16.5px !important;
    line-height: 1.45 !important;
    margin: 0 0 10px !important;
    font-weight: 600;
    min-height: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-page .list ul li .content .text,
.news-page .sideBarRight .list ul.flex-3 > * .content .text {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    color: #8a8a86 !important;
    flex: 1;
}
.news-page .list ul li .content .text p,
.news-page .sideBarRight .list ul.flex-3 > * .content .text p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-page .list ul li .content .text::after {
    content: "Read More \2192";
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color, #142261);
    transition: letter-spacing .3s ease;
}
.news-page .list ul li:hover .content .text::after {
    letter-spacing: .5px;
}
.news-page .sideBarRight .list > .pagination {
    padding: 30px 14px 0;
}
@media (max-width: 900px) {
    .news-page .sideBarRight .list ul {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}
@media (max-width: 640px) {
    .news-page .sideBarRight .list ul {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .news-page .list ul li a.img-box {
        aspect-ratio: 16 / 9;
    }
    .news-page .list ul li .content {
        padding: 14px 16px 16px !important;
    }
}

/* ==================== 新闻详情页 Related News 卡片化（2026-11-02） ==================== */
.news-page .related-posts ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}
.news-page .related-posts ul.flex-3 > * {
    width: auto !important;
}
.news-page .related-posts ul li {
    padding: 0 !important;
    margin-bottom: 0 !important;
    background: #fff;
    border: 1px solid #ebebe8;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.news-page .related-posts ul li:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(20, 34, 97, 0.10);
    border-color: rgba(20, 34, 97, 0.18);
}
.news-page .related-posts ul li a.img-box {
    position: relative;
    display: block;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f3f3f0;
}
.news-page .related-posts ul li a.img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.news-page .related-posts ul li:hover a.img-box img {
    transform: scale(1.06);
}
.news-page .related-posts ul li .content {
    padding: 16px 18px 18px !important;
}
.news-page .related-posts ul li .content span.h6 {
    font-size: 15.5px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    font-weight: 600;
    min-height: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 900px) {
    .news-page .related-posts ul {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}
@media (max-width: 640px) {
    .news-page .related-posts ul {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .news-page .related-posts ul li a.img-box {
        aspect-ratio: 16 / 9;
    }
}
