/* 后台内容长度和表格列数不固定，限定在当前详情页内。 */
.cert-detail-page .anchor-nav-in{flex-wrap:wrap;gap:0 24px}
.cert-detail-page .anchor-tabs{min-width:0;max-width:100%;overflow-x:auto}
.cert-detail-page .breadcrumb{flex-wrap:wrap;padding:12px 0;line-height:1.7}
.cert-detail-page .dt-intro.no-logo{grid-template-columns:1fr}
.cert-detail-page .dt-fact{align-items:flex-start;flex-wrap:wrap}
.cert-detail-page .dt-fact b{min-width:0;overflow-wrap:anywhere;white-space:pre-line}
.cert-detail-page .dt-timeline p,.cert-detail-page .dt-docs li{white-space:pre-line;overflow-wrap:anywhere}
.cert-rich{min-width:0;overflow-wrap:anywhere}
.cert-rich img{max-width:100%!important;height:auto!important}
.cert-rich .dt-table-wrap{max-width:100%;overflow-x:auto;margin:24px 0}
.cert-rich table{max-width:100%;width:100%!important}
.cert-rich td,.cert-rich th{overflow-wrap:anywhere}
.cert-rich ul,.cert-rich ol{padding-left:24px}
.cert-detail-page .dt-tags+.cert-rich{margin-top:24px}
.cert-detail-page .dt-tags span{max-width:100%;overflow-wrap:anywhere}
@media(max-width:767px){.cert-detail-page .anchor-tabs{width:100%}.cert-detail-page .breadcrumb{font-size:12px}.cert-rich .dt-table{min-width:520px}}

/* 国际认证详情表格：统一后台富文本中不一致的字号、对齐和内边距。 */
.cert-detail-page .cert-rich table,
.cert-detail-page .cert-rich table *{font-size:12px!important;text-align:center!important}
.cert-detail-page .cert-rich table td,
.cert-detail-page .cert-rich table th{padding:10px 12px!important;vertical-align:middle!important;height:auto!important}
.cert-detail-page .cert-rich table p,
.cert-detail-page .cert-rich table div{margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important;line-height:1.8!important}
.cert-detail-page .cert-rich table:not(:has(> tr ~ tr, > :is(thead,tbody,tfoot) > tr ~ tr, > :is(thead,tbody,tfoot) ~ :is(thead,tbody,tfoot) > tr)) td,.cert-detail-page .cert-rich table:not(:has(> tr ~ tr, > :is(thead,tbody,tfoot) > tr ~ tr, > :is(thead,tbody,tfoot) ~ :is(thead,tbody,tfoot) > tr)) th{background:#fff!important;color:var(--text)!important;font-size:12px!important;font-weight:400!important}
.cert-detail-page .cert-rich table:not(:has(> tr ~ tr, > :is(thead,tbody,tfoot) > tr ~ tr, > :is(thead,tbody,tfoot) ~ :is(thead,tbody,tfoot) > tr)) td *,.cert-detail-page .cert-rich table:not(:has(> tr ~ tr, > :is(thead,tbody,tfoot) > tr ~ tr, > :is(thead,tbody,tfoot) ~ :is(thead,tbody,tfoot) > tr)) th *{background-color:transparent!important;color:var(--text)!important;font-size:12px!important;font-weight:400!important}
.cert-detail-page .cert-rich table img{width:200px!important;max-width:100%!important;height:auto!important;margin-left:auto;margin-right:auto}
.cert-detail-page #scope > .cert-rich:not(:empty) + .dt-tags{margin-top:24px}

/* 编辑器段落不额外增加上外间距或字间距。 */
.cert-detail-page .cert-rich p{margin-top:0!important}
.cert-detail-page .cert-rich,
.cert-detail-page .cert-rich *{letter-spacing:normal!important}

/* 旧版资料保留后台富文本排版，图片和宽表格限制在正文区域。 */
.cert-legacy{min-width:0;max-width:100%;overflow-x:auto;overflow-wrap:anywhere;line-height:1.8}
.cert-legacy img{max-width:100%!important;height:auto!important}
.cert-legacy table{max-width:100%}
.cert-legacy ul,.cert-legacy ol{padding-left:24px}

/* 仅将认证资料卡标志列的图片居中，保留图片尺寸、正文配图及说明列排版。 */
.cert-detail-page :is(.cert-legacy,.cert-rich) [data-gc-cert-logo]{vertical-align:middle!important}
.cert-detail-page :is(.cert-legacy,.cert-rich) [data-gc-cert-logo] img{display:block;float:none!important;margin-left:auto!important;margin-right:auto!important}

/* 简介正文上方显示后台当前主题标题。 */
.cert-detail-page .dt-intro-copy{min-width:0}
.cert-detail-page .dt-intro-title{margin:0 0 14px;font-size:24px;line-height:1.5;font-weight:700;color:var(--text);overflow-wrap:anywhere}
@media(max-width:767px){.cert-detail-page .dt-intro-title{font-size:20px;margin-bottom:12px}}

/* 未识别为表头的旧版首行保留普通底色，避免资料卡和测试步骤误套表头。 */
.cert-detail-page .cert-legacy table > thead:first-of-type > tr:first-child:not([data-gc-table-header]) > :is(td,th),
.cert-detail-page .cert-legacy table:not(:has(> thead)) > tbody:first-of-type > tr:first-child:not([data-gc-table-header]) > :is(td,th),
.cert-detail-page .cert-legacy table > tr:first-child:not([data-gc-table-header]) > :is(td,th){background:#fff!important;color:var(--text)!important}
.cert-detail-page .cert-legacy table > thead:first-of-type > tr:first-child:not([data-gc-table-header]) > :is(td,th) *,
.cert-detail-page .cert-legacy table:not(:has(> thead)) > tbody:first-of-type > tr:first-child:not([data-gc-table-header]) > :is(td,th) *,
.cert-detail-page .cert-legacy table > tr:first-child:not([data-gc-table-header]) > :is(td,th) *{background-color:transparent!important;color:inherit!important}

/* 真实列标题使用品牌绿；同时覆盖编辑器嵌套文字的内联颜色和字重。 */
.cert-detail-page :is(.cert-legacy,.cert-rich) table > :is(thead,tbody,tfoot) > tr[data-gc-table-header] > :is(td,th),
.cert-detail-page :is(.cert-legacy,.cert-rich) table > tr[data-gc-table-header] > :is(td,th){background:#009b4b!important;color:#fff!important;font-weight:700!important}
.cert-detail-page :is(.cert-legacy,.cert-rich) tr[data-gc-table-header] > :is(td,th) *{background-color:transparent!important;color:#fff!important;font-weight:700!important}
