/* ConformTest — inner pages aligned with the existing homepage, 2026-09-09. */
body:not(.home) #primary-content { font-family:var(--ct-font,Inter,Aptos,"Segoe UI",Helvetica,Arial,sans-serif); color:var(--ct-slate,#4c5f79); background:#fff; }
body:not(.home) #primary-content > .bg-paper { background:#fff; padding-top:0; padding-bottom:0; }
body:not(.home) #main.site-main { width:100%; max-width:none; padding:0 0 5rem; border:0; box-shadow:none; background:#fff; }
body:not(.home) #main .entry-header { padding:clamp(2.75rem,6vw,5rem) max(1.5rem,calc((100% - 1184px)/2)); margin:0 0 3.5rem; border:0; border-bottom:1px solid var(--ct-line,#dce3ec); background:linear-gradient(90deg,rgba(1,33,105,.025) 1px,transparent 1px),linear-gradient(rgba(1,33,105,.025) 1px,transparent 1px),linear-gradient(105deg,#f9fbfe,#eef3f9); background-size:64px 64px,64px 64px,auto; }
body:not(.home) #main .entry-header:before { content:""; display:block; width:42px; height:3px; background:var(--ct-red,#c8102e); margin-bottom:1.5rem; }
body:not(.home) #main .entry-title { max-width:1100px; margin:0; color:var(--ct-navy-deep,#001640); font-family:var(--ct-font); font-size:clamp(2.25rem,4.1vw,4rem); font-weight:790; letter-spacing:-.045em; line-height:1.09; text-wrap:balance; overflow-wrap:break-word; }
body:not(.home) #main .entry-header > div { color:var(--ct-red); font-size:.875rem; letter-spacing:.1em; margin-bottom:1rem; }
body:not(.home) #main .entry-content, body:not(.home) #main > article > .entry-footer { width:calc(100% - 3rem); max-width:1120px; margin-inline:auto; font-family:var(--ct-font); font-size:1.0625rem; line-height:1.75; color:var(--ct-slate); }
body.single #main .entry-content { max-width:900px; }
body:not(.home) #main .entry-content:after { content:""; display:block; clear:both; }
body:not(.home) #main .entry-content p { margin-block:0 1.25rem; color:var(--ct-slate); line-height:1.75; }
body:not(.home) #main .entry-content > h2, body:not(.home) #main .entry-content .wp-block-heading:is(h2) { margin:2.5rem 0 1.25rem; color:var(--ct-navy-deep)!important; font-family:var(--ct-font); font-size:clamp(1.65rem,2.8vw,2.35rem)!important; letter-spacing:-.03em; line-height:1.2; font-weight:780; }
body:not(.home) #main .entry-content > h2:after { content:""; display:block; height:2px; width:32px; background:var(--ct-red); margin-top:1rem; }
body:not(.home) #main .entry-content h3.wp-block-heading { margin:1.5rem 0 1rem; color:var(--ct-navy-deep)!important; font-size:1.25rem!important; line-height:1.4; letter-spacing:-.02em; }
body:not(.home) #main .entry-content strong { color:inherit; }
body:not(.home) #main .entry-content a:not(.wp-block-button__link):not(.sd-button) { color:var(--ct-navy); text-underline-offset:3px; }
body:not(.home) #main .entry-content a:not(.wp-block-button__link):hover { color:var(--ct-red); }
body:not(.home) #main .entry-content .wp-block-spacer { height:.5rem!important; }
body:not(.home) #main .entry-content .wp-block-separator { clear:both; max-width:none; width:100%; height:1px; border:0; background:var(--ct-line); margin:2.5rem 0; opacity:1; }
body:not(.home) #main .entry-content .wp-block-image { margin:1.25rem 0 2rem; }
body:not(.home) #main .entry-content .wp-block-image figure { margin:0; }
body:not(.home) #main .entry-content .wp-block-image img { border-radius:5px; border:1px solid var(--ct-line); max-width:100%; }
body.page:not(.home) #main .entry-content > .wp-block-image:first-child { margin:0 0 2rem; padding:0; }
body.page:not(.home) #main .entry-content > .wp-block-image:first-child img { display:block; width:100%!important; height:auto!important; max-height:460px; object-fit:cover; box-shadow:12px 14px 0 rgba(1,33,105,.055); }
body.page:not(.home) #main .entry-content > ul.wp-block-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; margin:1.5rem 0 2rem; padding:0; list-style:none; }
body.page:not(.home) #main .entry-content > ul.wp-block-list > li { margin:0; padding:1rem 1.2rem; border:1px solid var(--ct-line); border-left:3px solid var(--ct-red); border-radius:4px; background:var(--ct-mist); color:var(--ct-ink); font-size:1rem; line-height:1.6; }
body:not(.home) #main .entry-content .wp-block-buttons { justify-content:flex-start; gap:.75rem; margin:1.5rem 0 2rem; }
body:not(.home) #main .entry-content .wp-block-button__link { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:.85rem 1.4rem; border:1px solid var(--ct-red)!important; border-radius:4px!important; background:var(--ct-red)!important; color:#fff!important; font-family:var(--ct-font); font-size:.9375rem!important; font-weight:750; line-height:1.4; text-decoration:none; box-shadow:none; }
body:not(.home) #main .entry-content .wp-block-button__link:hover { background:var(--ct-red-dark)!important; border-color:var(--ct-red-dark)!important; }
body:not(.home) #main .entry-content .wp-block-button.is-style-outline .wp-block-button__link { background:#fff!important; border-color:var(--ct-navy)!important; color:var(--ct-navy)!important; }
body:not(.home) #main .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover { background:var(--ct-mist)!important; }
body:not(.home) #main .entry-content .wp-block-accordion { margin:1.5rem 0 2rem; border:1px solid var(--ct-line); border-radius:5px; background:#fff; }
body:not(.home) #main .entry-content .wp-block-accordion-item + .wp-block-accordion-item { border-top:1px solid var(--ct-line); }
body:not(.home) #main .entry-content .wp-block-accordion-heading { margin:0; color:var(--ct-navy-deep); font-size:1.0625rem; }
body:not(.home) #main .entry-content .wp-block-accordion-heading__toggle { padding:1.25rem!important; font:inherit; line-height:1.5; }
body:not(.home) #main .entry-content .wp-block-accordion-heading__toggle-icon { color:var(--ct-red); }
body:not(.home) #main .entry-content .wp-block-accordion-panel { padding-inline:1.25rem; }
body:not(.home) #main .wp-block-table { margin-block:2rem; border:1px solid var(--ct-line); border-radius:4px; }
body:not(.home) #main .wp-block-table th { background:var(--ct-navy-deep); color:#fff; }
body:not(.home) #main .wp-block-table :is(th,td) { padding:1rem; border-color:var(--ct-line); font-size:1rem; }
body:not(.home) #main .wp-block-table tbody tr:nth-child(even) { background:var(--ct-mist); }
body:not(.home) #primary-content .text-gold { color:var(--ct-red)!important; }
body:not(.home) #primary-content .bg-gold { background:var(--ct-red)!important; }
body:not(.home) #primary-content .text-metallic-dark { color:var(--ct-slate); }
body:not(.home) #primary-content .text-ink { color:var(--ct-navy-deep); }
body:is(.page-template-page-contact,.page-template-page-certification-verify,.blog,.archive,.search,.error404) #primary-content h1 { color:var(--ct-navy-deep)!important; font-family:var(--ct-font); font-size:clamp(2.3rem,4.1vw,4rem)!important; line-height:1.1; letter-spacing:-.045em; font-weight:790; text-transform:none; text-shadow:none; }
body:is(.page-template-page-contact,.page-template-page-certification-verify,.blog) #primary-content section:has(h1) { padding-block:clamp(2.75rem,5vw,4.5rem); min-height:0; border-bottom:1px solid var(--ct-line); background:linear-gradient(105deg,#f9fbfe,#eef3f9); }
body.page-template-page-contact #primary-content > div { padding-top:0; padding-bottom:0; background:#fff; }
body.page-template-page-contact #primary-content section.py-20 { padding-block:3.5rem 5rem; }
body.page-template-page-contact #primary-content .grid > .bg-white { border-color:var(--ct-line); border-radius:5px; box-shadow:none; border-top:3px solid var(--ct-red); }
body.page-template-page-contact #primary-content h3 { color:var(--ct-navy-deep); letter-spacing:-.025em; }
body.page-template-page-contact #primary-content :is(input:not([type=hidden]):not([type=checkbox]),select,textarea), body.page-template-page-certification-verify #primary-content input[type=text] { width:100%; max-width:100%; min-height:48px; padding:.8rem 1rem; border:1px solid #bbc8da; border-radius:4px; background:#fff; color:var(--ct-ink); font:1rem/1.5 var(--ct-font); box-shadow:none; }
body.page-template-page-contact #primary-content select { appearance:auto; }
body.page-template-page-contact #primary-content :is(input,select,textarea):focus, body.page-template-page-certification-verify #primary-content input:focus { border-color:var(--ct-navy); outline:2px solid rgba(1,33,105,.22); outline-offset:2px; }
body:is(.page-template-page-contact,.page-template-page-certification-verify) #primary-content label { display:block; margin-bottom:.5rem; color:var(--ct-ink); font-size:.9375rem; font-weight:650; }
body:is(.page-template-page-contact,.page-template-page-certification-verify) #primary-content button[type=submit] { min-height:48px; padding:.85rem 1.4rem; border:1px solid var(--ct-red); border-radius:4px; background:var(--ct-red); color:#fff; font:750 .9375rem/1.4 var(--ct-font); text-transform:none; letter-spacing:0; box-shadow:none; }
body:is(.page-template-page-contact,.page-template-page-certification-verify) #primary-content button[type=submit]:hover { background:var(--ct-red-dark); }
body.page-template-page-certification-verify #primary-content .certificate-verification-page { padding-block:2.5rem 5rem; background:var(--ct-mist); }
body.page-template-page-certification-verify #primary-content .mcr-result-card-container { border:1px solid var(--ct-line); border-top:3px solid var(--ct-red); border-radius:5px; box-shadow:0 10px 30px rgba(1,33,105,.06); }
body.page-template-page-certification-verify #primary-content .mcr-container { width:100%; max-width:none; padding:0; margin:0; background:transparent; box-shadow:none; }
body.page-template-page-certification-verify #primary-content .mcr-search-form { display:flex; flex-direction:column; gap:1.25rem; }
body.blog #primary-content section:has(h1) > .absolute { display:none; }
body.blog #primary-content section:has(h1) .text-center { text-align:left; }
body.blog #primary-content section:has(h1) .items-center { align-items:flex-start; max-width:none; }
body.blog #primary-content section:has(h1) h1 { margin-bottom:0; }
body.blog #primary-content section:has(article) { padding-block:3.5rem 5rem; }
body.blog #primary-content article { min-height:260px; align-items:flex-start; padding:2rem; border:1px solid var(--ct-line); border-radius:5px; box-shadow:none; }
body.blog #primary-content article h2 { color:var(--ct-navy-deep); font-size:1.4rem; line-height:1.35; letter-spacing:-.025em; }
body.blog #primary-content article h2:after { content:""; display:block; width:32px; height:2px; background:var(--ct-red); margin-top:1.25rem; }
body.blog #primary-content a:hover article { border-color:#9dadc3; box-shadow:0 12px 32px rgba(1,33,105,.08); }
body.error404 #primary-content section { background:var(--ct-mist); padding-block:4rem; }
body.error404 #primary-content .rounded-2xl { border-radius:5px; border-color:var(--ct-line); box-shadow:none; }
body:not(.home) #primary-content :is(a,button):focus-visible { outline:3px solid var(--ct-navy); outline-offset:4px; }
@media(min-width:960px) {
body.page:not(.home) #main .entry-content > .wp-block-image:first-child { float:right; width:44%; margin:0 0 2.5rem 3rem; }
body.page:not(.home) #main .entry-content > .wp-block-image:first-child img { min-height:300px; max-height:400px; }
body.page:not(.home) #main .entry-content > .wp-block-image:first-child ~ h2:first-of-type { clear:both; padding-top:1rem; }
}
@media(max-width:700px) {
body:not(.home) #main .entry-header { padding:2.5rem 1.5rem; margin-bottom:2rem; }
body:not(.home) #main .entry-content { width:calc(100% - 3rem); font-size:1rem; }
body.page:not(.home) #main .entry-content > ul.wp-block-list { grid-template-columns:1fr; }
body:not(.home) #main .entry-content .wp-block-buttons,body:not(.home) #main .entry-content .wp-block-button { width:100%; }
body:not(.home) #main .entry-content .wp-block-button__link { width:100%; }
body.page-template-page-contact #primary-content .grid > .bg-white,body.page-template-page-certification-verify #primary-content .mcr-result-card-container { padding:1.5rem; }
body:not(.home) #main .entry-content .wp-block-columns { gap:1.5rem; }
}

/* Match contact title to homepage navy. */
body.page-template-page-contact:not(.home) #primary-content h1.text-gold { color:var(--ct-navy-deep)!important; }

/* Correct CE / UKCA certification card marks. Public-domain vector geometry: Wikimedia Commons CE logo / UKCA filled.svg. */
#certification .ct-cert-card:has(a[href*="/ce-marking/"]) .ct-cert-card__icon > svg { display:none; }
#certification .ct-cert-card:has(a[href*="/ce-marking/"]) .ct-cert-card__icon::before { content:""; display:block; width:32px; height:28px; flex-shrink:0; background-color:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20280%20200%22%3E%3Cpath%20d%3D%22M110%20199.498744A100%20100%200%200%201%20100%20200A100%20100%200%200%201%20100%200A100%20100%200%200%201%20110%20.501256L110%2030.501256A70%2070%200%200%200%20100%2030A70%2070%200%200%200%20100%20170A70%2070%200%200%200%20110%20169.498744Z%20M280%20199.498744A100%20100%200%200%201%20270%20200A100%20100%200%200%201%20270%200A100%20100%200%200%201%20280%20.501256L280%2030.501256A70%2070%200%200%200%20270%2030A70%2070%200%200%200%20201.620283%2085L260%2085L260%20115L201.620283%20115A70%2070%200%200%200%20270%20170A70%2070%200%200%200%20280%20169.498744Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20280%20200%22%3E%3Cpath%20d%3D%22M110%20199.498744A100%20100%200%200%201%20100%20200A100%20100%200%200%201%20100%200A100%20100%200%200%201%20110%20.501256L110%2030.501256A70%2070%200%200%200%20100%2030A70%2070%200%200%200%20100%20170A70%2070%200%200%200%20110%20169.498744Z%20M280%20199.498744A100%20100%200%200%201%20270%20200A100%20100%200%200%201%20270%200A100%20100%200%200%201%20280%20.501256L280%2030.501256A70%2070%200%200%200%20270%2030A70%2070%200%200%200%20201.620283%2085L260%2085L260%20115L201.620283%20115A70%2070%200%200%200%20270%20170A70%2070%200%200%200%20280%20169.498744Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
#certification .ct-cert-card:has(a[href*="/ukca-marking/"]) .ct-cert-card__icon > svg { display:none; }
#certification .ct-cert-card:has(a[href*="/ukca-marking/"]) .ct-cert-card__icon::before { content:""; display:block; width:28px; height:28px; flex-shrink:0; background-color:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%2280%2080%20480%20480%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M80%2080V230A70%2070%200%200%200%20150%20300H230A70%2070%200%200%200%20300%20230V80H250V230A20%2020%200%200%201%20230%20250H150A20%2020%200%200%201%20130%20230V80Z%20M340%2080V300H390V220L490%20300H560L420%20190%20560%2080H490L390%20160V80Z%20M300%20340V390H150A20%2020%200%200%200%20130%20410V490A20%2020%200%200%200%20150%20510H300V560H150A70%2070%200%200%201%2080%20490V410A70%2070%200%200%201%20150%20340Z%20M340%20560V410A70%2070%200%200%201%20410%20340H490A70%2070%200%200%201%20560%20410V560H510V510H390V560Z%20M390%20460H510V410A20%2020%200%200%200%20490%20390H410A20%2020%200%200%200%20390%20410Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%2280%2080%20480%20480%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M80%2080V230A70%2070%200%200%200%20150%20300H230A70%2070%200%200%200%20300%20230V80H250V230A20%2020%200%200%201%20230%20250H150A20%2020%200%200%201%20130%20230V80Z%20M340%2080V300H390V220L490%20300H560L420%20190%20560%2080H490L390%20160V80Z%20M300%20340V390H150A20%2020%200%200%200%20130%20410V490A20%2020%200%200%200%20150%20510H300V560H150A70%2070%200%200%201%2080%20490V410A70%2070%200%200%201%20150%20340Z%20M340%20560V410A70%2070%200%200%201%20410%20340H490A70%2070%200%200%201%20560%20410V560H510V510H390V560Z%20M390%20460H510V410A20%2020%200%200%200%20490%20390H410A20%2020%200%200%200%20390%20410Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
