/*
Theme Name: Module Child
Theme URI: https://www.pavoglobe.com/
Description: PAVO 站点使用的 Module 主题子主题。所有自定义代码放在这里，父主题升级时不会被覆盖。
Author: PAVO Web Team
Author URI: https://www.pavoglobe.com/
Template: module
Version: 1.9.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: module-child
*/
.archive-title{font-size:26px;font-weight:600;line-height:1.3;margin:0 0 24px;padding:0;color:inherit;word-break:break-word}@media (max-width:768px){.archive-title{font-size:22px;margin-bottom:18px}}@media (min-width:1024px){.pavo-attr-2col .entry-info-item-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;row-gap:0}.pavo-attr-2col .entry-info-item{min-width:0;overflow-wrap:break-word}.pavo-attr-2col .entry-info-item span{margin-right:6px}}.screen-reader-text{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.post-loop-product .thumb img{aspect-ratio:3/2;object-fit:cover}.wp-block-image>a,.wp-block-image>figure>a{display:inline-block}.wp-block-image img{box-sizing:border-box;height:auto;max-width:100%;vertical-align:bottom}.wp-block-image figure{margin:0}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull>a,.wp-block-image.alignwide>a{width:100%}.wp-block-image.alignfull img,.wp-block-image.alignwide img{height:auto;width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright,.wp-block-image.aligncenter,.wp-block-image.alignleft,.wp-block-image.alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption,.wp-block-image.aligncenter>figcaption,.wp-block-image.alignleft>figcaption,.wp-block-image.alignright>figcaption{caption-side:bottom;display:table-caption}.wp-block-image .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-image .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image:where(figcaption){margin-bottom:1em;margin-top:.5em}.wp-block-table{overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{border:1px solid;padding:.5em}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.blocks-gallery-grid:not(.has-nested-images),.wp-block-gallery:not(.has-nested-images){display:flex;flex-wrap:wrap;list-style-type:none;margin:0;padding:0}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item{display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0 1em 1em 0;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figure,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figure{align-items:center;display:flex;height:100%;justify-content:flex-start;margin:0}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item img{display:block;height:auto;max-width:100%;width:100%}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption{background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);bottom:0;box-sizing:border-box;color:#fff;font-size:.8em;margin:0;max-height:100%;overflow:auto;padding:.5em 1em;position:absolute;text-align:center;width:100%}.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item{width:calc(33.33333% - .66667em)}.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item{width:calc(25% - .75em)}.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-item{width:calc(50% - .5em)}.number-scroll .number-item-wrap .data-number{display:inline-block;min-width:5ch;font-variant-numeric:tabular-nums;text-align:center}#modules-32 .swiper-slide{width:100%!important}#modules-32 .swiper-container{aspect-ratio:1860/910}
/* F-A3 2026-11-28: 移动端 H1 移进首屏。混排模块 #modules-25 的文字区上内边距在移动端 120px→24px，H1 从视口底缘(~782/915)上移约 96px；双 ID 选择器确保覆盖主题内联样式 */
@media (max-width:767px){#modules-13 #modules-25 .mc-text{padding-top:24px}}
/* R9-B3（2026-11-28）：产品图去百分比高度。父主题规则 .entry-preview #preview .product-img img{height:100%} 存在循环依赖（img 高度依赖父容器、父容器高度又依赖图片与信息栏），首绘时序不同会解析出不同高度，是产品页桌面 CLS 0.239 里约 0.102 间歇位移的成因。height:auto + aspect-ratio:1/1（img 实为 800x800 方图）使高度自首绘即由宽高比钉死；特异性与父规则相同（1,2,1），子主题后加载故胜出。 */
.entry-preview #preview .product-img img{height:auto;aspect-ratio:1/1}
/* Narrow-fix 2026-11-28: 服务卡片标题在 375px 两列布局下 18px 装不下约 134px 文字宽，被 .service-item-wrap 的 overflow:hidden 截断；移动端改 16px 并显式禁止单词内断行 */
@media (max-width:767px){.service-item-title{font-size:16px;word-break:normal;overflow-wrap:normal;hyphens:none}}

/* --------------------------------------------------------------------------
   页脚错位修复（2026-11-27）
   --------------------------------------------------------------------------
   根因：页脚 .footer-widget 是 24 列 flex 行，6 个小工具合计占
   4×col-md-4（66.67%）+ 徽章 col-md-4（16.67%）+ 联系块 col-md-6（25%）
   + col-md-offset-2（8.33%）= 116.67%，联系块被挤到第二行、
   向左错 116.7px（1920 实测：行 1 y=5151，联系块 y=5649.9）。
   徽章是 2026-11-26 20:59 后加的第 5 个小工具，加之前合计正好 100%。

   修法（仅桌面 ≥992px，移动端页脚行本身 hidden-xs，不动）：
   导航列 16.67%→13%、徽章固定 165px（含两侧 15px 内边距，
   内容 135px 正好放 135×30 徽章）、联系块 28% 且去掉 offset，
   合计 970 容器：504+165+272=941（余 29px）、1200 容器：624+165+336
   =1125、1400 容器：728+165+392=1285，全部一行放下。
   电话字号 28px→24px：联系块收窄后 28px 电话（约 280px）在 970 容器
   的 242px 内容宽里会折行，24px（约 240px）可放下。
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    .footer .footer-widget .widget_nav_menu {
        flex: 0 0 13%;
        width: 13%;
    }
    .footer .footer-widget #custom_html-2 {
        flex: 0 0 165px;
        width: 165px;
    }
    .footer .footer-widget .widget_contact {
        flex: 0 0 28%;
        width: 28%;
        margin-left: 0;
    }
    .footer .widget-contact-wrap .widget-contact-tel {
        font-size: 24px;
    }
}
/* 992–1239 容器只有 970px，联系块内容宽 242px，24px 电话（约 243px）
   在真实字体下可能差 1–2px 折行；该区间电话再降到 22px（约 223px）。 */
@media (min-width: 992px) and (max-width: 1239px) {
    .footer .widget-contact-wrap .widget-contact-tel {
        font-size: 22px;
    }
}

/* CLS-fix 2026-12-01: 移动端产品页 CLS 真因是 main.js 图库初始化挂在图片 onload 上，首绘后把缩略图 ul 从 width:100% 改成 825px，#pg-list 从约 165-220px 塌到 55px，entry-info 上移约 165px（坏次 CLS 0.265）。让首绘即单行：ul 先给 width:max-content，JS 后续设宽成空操作；#pg-list 已有 overflow:hidden，多余缩略图照常被裁、箭头照常滚动。只影响 <=767px 移动端，桌面定高 364px 纵向条不受影响。min-height 是错的工具（改前比改后高，防不住收缩），不要用。 */
@media (max-width:767px){.entry-preview #preview #pg-list .pg-items ul{width:max-content}}
:root{--theme-color: #08c; --theme-hover: #07c; --menu-hover: #4A90E2; --header-height: 80px; --header-fixed-height: 72px; --header-font-size: 16px; --menu-font-weight: 600; --menu-item-gap: 30px; --logo-height: 55px; --logo-height-mobile: 34px; --theme-font-family: 'Open Sans', sans-serif; --theme-title-font: var(--theme-font-family); --theme-title-font-weight: 600; --theme-title-font-size: 32px; --theme-border-radius-s: 3px; --theme-border-radius-m: 5px; --theme-border-radius-l: 8px; --theme-border-radius-xl: 12px;}.entry .entry-content, .entry .entry-content > p {line-height: 1.47;}
#modules-1{margin-top: 0px;margin-bottom: 0px;padding: 0px 0px 0px 0px;background-image: url('/wp-content/uploads/2026/08/imageye___-_imgi_12_09631bd4d5e814f228c6705afb7799eb.jpeg');background-repeat: no-repeat;background-size: cover;background-position: center center;} @media (max-width: 767px){#modules-1{}} @media (min-width: 768px){#modules-1{}} #modules-2{margin-top: 0px;margin-bottom: 0px;} @media (max-width: 767px){#modules-2{}} #modules-2 > .container-inner{background-repeat: no-repeat;background-size: cover;background-position: center center;padding: 0px 0px 0px 0px;border-radius: 0px;} @media (min-width: 768px){#modules-2{}} #modules-1_4{margin-top: 400px;margin-bottom: 20px;color: #ffffff;} #modules-1_4 .sec-title{color: #ffffff;} #modules-1_4 .sec-title-wrap:after{background-color: #ffffff;} #modules-1_4 .sec-title-wrap:before{background-color: #ffffff;} #modules-1_4 .desc-inner{color: #ffffff;} #modules-4{margin-top: 0px;margin-bottom: 0px;padding: 0px 0px 0px 0px;background-repeat: no-repeat;background-size: cover;background-position: center center;} @media (max-width: 767px){#modules-4{}} @media (min-width: 768px){#modules-4{}} #modules-5{margin-top: 0px;margin-bottom: 60px;} @media (max-width: 767px){#modules-5{}} #modules-5 > .container-inner{background-repeat: no-repeat;background-size: cover;background-position: center center;padding: 20px 0px 20px 0px;border-radius: 0px;} @media (min-width: 768px){#modules-5{}} #modules-4_24{margin-top: 0px;margin-bottom: 0px;} #modules-4_24 .modules-button-inner{margin-top: calc(-20px / 2);margin-bottom: calc(-20px / 2);margin-left: calc(-20px / 2);margin-right: calc(-20px / 2);text-align: center;} #modules-4_24 .wpcom-btn{margin-top: calc(20px / 2);margin-bottom: calc(20px / 2);margin-left: calc(20px / 2);margin-right: calc(20px / 2);border-radius: 3px;display: inline-block;} #modules-4_24 .btn-0{border-color:;} #modules-4_24 .btn-0:hover{border-color:;} #modules-4_24 .btn-1{background-color: #1e88e5;color: #ffffff;} #modules-6{margin-top: 0px;margin-bottom: 0px;padding: 0px 0px 0px 0px;background-repeat: no-repeat;background-size: cover;background-position: center center;} @media (max-width: 767px){#modules-6{}} @media (min-width: 768px){#modules-6{}} #modules-7{margin-top: 0px;margin-bottom: 0px;} @media (max-width: 767px){#modules-7{}} #modules-7 > .container-inner{background-repeat: no-repeat;background-size: cover;background-position: center center;padding: 20px 0px 20px 0px;border-radius: 0px;} @media (min-width: 768px){#modules-7{}} #modules-9{margin-top: 0px;margin-bottom: 0px;} #modules-9 .mc-text{padding-top: 20px;padding-bottom: 20px;} #modules-10{margin-top: 0px;margin-bottom: 0px;padding: 0px 0px 0px 0px;background-repeat: no-repeat;background-size: cover;background-position: center center;} @media (max-width: 767px){#modules-10{}} @media (min-width: 768px){#modules-10{}} #modules-11{margin-top: 0px;margin-bottom: 60px;} @media (max-width: 767px){#modules-11{}} #modules-11 > .container-inner{background-repeat: no-repeat;background-size: cover;background-position: center center;padding: 20px 0px 20px 0px;border-radius: 0px;} @media (min-width: 768px){#modules-11{}} #modules-13{margin-top: 0px;margin-bottom: 0px;} 