/* Keep text colors paired with their actual surface. Content and layout are unchanged. */
html body :is(.knowledge-checklist,.knowledge-conclusion,.field-case-conclusion,.engineering-calculator-results) {
  color:#f4f7f8!important;
}
html body :is(.knowledge-checklist,.knowledge-conclusion,.field-case-conclusion,.engineering-calculator-results) :is(h2,h3,h4,p,li,ul,ol,strong,small,span,label) {
  color:#f4f7f8!important;-webkit-text-fill-color:currentColor!important;
}
html body :is(.knowledge-checklist,.knowledge-conclusion,.field-case-conclusion) .eyebrow {color:#ffc5a4!important;}
html body :is(.knowledge-checklist,.knowledge-conclusion,.field-case-conclusion) a:not(.button) {
  color:#bfe9ff!important;-webkit-text-fill-color:currentColor!important;
  text-decoration:underline;text-underline-offset:.18em;
}
html body :is(.knowledge-checklist,.knowledge-conclusion,.field-case-conclusion) a:not(.button):is(:hover,:focus-visible) {color:#fff!important;}
html body :is(.knowledge-checklist,.knowledge-conclusion,.field-case-conclusion) :is(.button-outline,.button-ghost-light) {
  color:#fff!important;border-color:#b9cbd2!important;background:transparent!important;
}
/* Reviewed article sidebars use a light surface; legacy sidebars retain their dark surface. */
html body .knowledge-aside>div :is(h2,h3,p,li,strong,small) {color:#f4f7f8!important;}
html body .article-reviewed .knowledge-aside>div :is(h2,h3,p,li,strong,small),
html body .knowledge-aside>div.knowledge-aside-card :is(h2,h3,p,li,strong,small) {color:#263d49!important;}
html body .article-reviewed .knowledge-aside>div a:not(.button) {color:#285566!important;}
html body .article-reviewed .knowledge-aside>div .eyebrow {color:#88432f!important;}
html body .contact-section .contact-copy>p,html body .knowledge-cta p:not(.eyebrow) {color:#30464d!important;}
html body :is(.knowledge-cta,.intl-article-cta,.intl-cta,.contact-section) :is(p,li) {color:#30464d!important;}
html body :is(.knowledge-cta,.intl-article-cta,.intl-cta,.contact-section) a:not(.button) {color:#285566!important;}
html body :is(.knowledge-cta,.intl-article-cta,.intl-cta) a:not(.button) {text-decoration:underline;text-underline-offset:.18em;}
html body :is(.knowledge-cta,.intl-article-cta,.intl-cta) :is(.button-outline,.button-ghost-light) {color:#203d49!important;border-color:#526a73!important;}
html body :is(.systems-section,.rfq-readiness-section,.contact-section) .eyebrow {color:#88432f!important;}
html body .knowledge-article-header :is(.breadcrumb,.knowledge-meta) span {color:inherit!important;}
html body .knowledge-table-wrap thead :is(th,td) {background:#e4e9e8!important;color:#203640!important;}
/* A consistent accessible copper for colored action buttons. */
html body .button.button-orange,html body .mobile-conversion-quote {
  background:#a65033!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html body .button.button-orange :is(span,strong) {color:inherit!important;-webkit-text-fill-color:inherit!important;}
html body .button.button-orange:is(:hover,:focus-visible),html body .mobile-conversion-quote:is(:hover,:focus-visible) {background:#86412a!important;}
html body .mobile-conversion-whatsapp {background:#137640!important;color:#fff!important;}
html body .product-anchor-nav a[href="#product-faq"] {color:#fff!important;}
html body .site-header :is(.language-option-name,.language-switcher-menu a>span) {color:#914328!important;}
html body :is(.family-mobile-link small,.family-entry-language) {color:#50616a!important;}
html body :is(.info-number,.news-topic-library article>span,.about-values-grid article>span,.scope-grid article>span,.thermal-flow article>span,.unit-card-grid article>span,.product-info-grid article>span) {color:#984b32!important;}
html body .text-link span {color:#984b32!important;}
html body .product-card-image>span {color:#88432f!important;}
html body .about-strengths span {color:#59615f!important;}
html body .intl-hero-grid figcaption {color:#52636b!important;}
/* Give image labels their own small solid backing, independent of the photo below. */
html body .photo-gallery-item>span {background:#263a46!important;color:#fff!important;padding:4px 7px;border-radius:3px;}
html body .photo-gallery-item>span>:is(span,strong) {color:#fff!important;}
html body .photo-gallery-item>span>strong {color:#ffc5a4!important;}
html body .manufacturing-page-image>span {background:#a65033!important;color:#fff!important;}
html body .intl-diagram figcaption {color:#52636b!important;}
html body .field-case-conclusion .text-link span {color:#bfe9ff!important;}
html body :is(.category-intro>div>span,.solution-stage-grid>li>span,.intl-factor-grid>article>span,.skid-scope-grid>article>span) {color:#914328!important;}
html body .intl-product-card strong>span {color:#914328!important;}
html body[data-structure-review] main .solution-stage-grid>li>span:first-child,
html body[data-structure-review] .about-footprint-section .about-slogan>b,
html body .intl-product-routes a strong>span {color:#914328!important;-webkit-text-fill-color:currentColor!important;}
/* Photographic and gradient-backed captions need a predictable contrast surface. */
html body .knowledge-article-header .knowledge-article-header-inner,
html body .intl-article-header>.shell {
  background:rgba(242,245,243,.96)!important;color:#203d49!important;text-shadow:none!important;
}
html body .knowledge-article-header .knowledge-article-header-inner :is(h1,p,span,bdi,a,time),
html body .intl-article-header>.shell :is(h1,p,span,bdi,a,time) {
  color:#203d49!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;
}
html body .knowledge-article-header .knowledge-article-header-inner :is(.knowledge-kicker,.eyebrow),
html body .intl-article-header>.shell .eyebrow {color:#88432f!important;}
html body .knowledge-article-header .knowledge-article-header-inner a,
html body .intl-article-header>.shell a {color:#285566!important;text-decoration:underline;text-underline-offset:.18em;}
html body .manufacturing-card>span,html body .systems-visual .systems-visual-note {background:rgba(242,245,243,.96)!important;}
html body .manufacturing-card>span strong {color:#203d49!important;}
html body .project-card :is(.project-card-body,.project-card-copy)>span,
html body .news-list-meta>span,html body .contact-page-details .eyebrow {color:#88432f!important;}
html body .contact-page-details .contact-detail-list span {color:#50616a!important;}
/* Clearer homepage capsules, without changing their copy or destinations. */
html body[data-structure-review] main > .hero[data-home-positioning] .hero-product-routes a {
  background:transparent!important;border-color:#294351!important;
}
html body[data-structure-review] main > .hero[data-home-positioning] .hero-product-routes a:first-child :is(span,strong) {color:#1b3542!important;-webkit-text-fill-color:#1b3542!important;}
html body[data-structure-review] main > .hero[data-home-positioning] .hero-product-routes a:nth-child(2) > span {color:#3c5662!important;}
@media(min-width:1361px){
 html:not(:lang(ru),:lang(id)) body[data-structure-review] main > .hero[data-home-positioning] .hero-product-routes a {min-height:46px!important;}
}
@media(min-width:1536px){
 html:is(:lang(ru),:lang(id)) body[data-structure-review] main > .hero[data-home-positioning] .hero-product-routes a {min-height:46px!important;}
}
@media(min-width:901px) and (max-width:1360px){
 html:lang(en) body[data-structure-review] main > .hero[data-home-positioning] .hero-product-routes {grid-template-columns:1fr!important;gap:4px!important;}
 html:lang(en) body[data-structure-review] main > .hero[data-home-positioning] .hero-product-routes a {min-height:38px!important;padding:4px 8px!important;gap:2px!important;}
 html:lang(en) body[data-structure-review] main > .hero[data-home-positioning] .hero-product-routes a>span {font-size:10.5px!important;line-height:1.1!important;}
 html:lang(en) body[data-structure-review] main > .hero[data-home-positioning] .hero-product-routes strong {font-size:14.5px!important;line-height:1.1!important;}
}
@media(max-width:900px){
 html body[data-structure-review] main > .hero[data-home-positioning] .hero-product-routes a {min-height:46px!important;padding-block:6px!important;gap:3px!important;}
}

/* Transparent photo captions with a soft, neutral shadow. No copy changes. */
html body[data-structure-review] main .knowledge-article-header .knowledge-article-header-inner {position:relative!important;}
html body[data-structure-review] main .knowledge-article-header .knowledge-article-header-inner :is(h1,p,a,span) {overflow-wrap:anywhere;}
html body[data-structure-review] main :is(.hero-slide-caption,.systems-visual .systems-visual-note,.manufacturing-card>span,.photo-gallery-item>span,.manufacturing-page-image>span,.page-hero .shell.page-hero-inner,.knowledge-article-header .knowledge-article-header-inner) {
  isolation:isolate!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  color:#fff!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:0 1px 2px rgba(28,32,36,.85),0 3px 9px rgba(48,52,56,.7)!important;
}
/* A feathered grey shade, without a hard-edged opaque plate. */
html body[data-structure-review] main :is(.hero-slide-caption,.systems-visual .systems-visual-note,.manufacturing-card>span,.photo-gallery-item>span,.manufacturing-page-image>span,.page-hero .shell.page-hero-inner,.knowledge-article-header .knowledge-article-header-inner)::before {
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(110deg,rgba(30,36,40,.40),rgba(30,36,40,.18));
  filter:blur(12px);border-radius:inherit;
}
html body[data-structure-review] main :is(.hero-slide-caption,.systems-visual .systems-visual-note,.manufacturing-card>span,.photo-gallery-item>span,.manufacturing-page-image>span,.page-hero .shell.page-hero-inner,.knowledge-article-header .knowledge-article-header-inner) :is(h1,h2,h3,p,strong,span,bdi,a,time,small,.eyebrow,.breadcrumb) {
  color:#fff!important;-webkit-text-fill-color:currentColor!important;
  text-shadow:0 1px 2px rgba(28,32,36,.85),0 3px 9px rgba(48,52,56,.7)!important;
}

/* Consistent, bounded page-photo text column; preserve pictures and wording. */
html body[data-structure-review] main :is(.page-hero,.knowledge-article-header) h1 {text-wrap:balance!important;}
html body[data-structure-review] main :is(.page-hero,.knowledge-article-header) .page-hero-inner>p:not(.breadcrumb),
html body[data-structure-review] main .knowledge-article-header .knowledge-deck {text-wrap:pretty;}
@media(min-width:621px){
 html body[data-structure-review] main .page-hero:not(.page-hero-projects) .page-hero-inner {
  width:min(640px,calc(100% - 56px))!important;
  max-width:min(640px,calc(100% - 56px))!important;
 }
 html body[data-structure-review] main .page-hero:not(.page-hero-projects) .page-hero-inner>:is(h1,p) {
  max-width:none!important;
 }
 html body[data-structure-review] main .knowledge-article-header .knowledge-article-header-inner {
  width:min(640px,calc(100% - 64px))!important;
  max-width:min(640px,calc(100% - 64px))!important;
 }
 html body[data-structure-review] main .knowledge-article-header .knowledge-article-header-inner>:is(h1,p) {
  max-width:none!important;
 }
}
/* Projects has a separate text column on desktop, with no photograph behind it. */
@media(min-width:901px){
 html body[data-structure-review] main .page-hero.page-hero-projects .shell.page-hero-inner,
 html body[data-structure-review] main .page-hero.page-hero-projects .shell.page-hero-inner :is(h1,p,a,span) {
  color:#203d49!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;
 }
 html body[data-structure-review] main .page-hero.page-hero-projects .shell.page-hero-inner::before {display:none!important;}
}

/* A half-step reduction: one CSS pixel below each existing header-title size. */
html body[data-structure-review] main .page-hero .shell.page-hero-inner h1 {font-size:27px!important;}
html body[data-structure-review] main .knowledge-article-header .knowledge-article-header-inner h1 {font-size:35px!important;}
@media(max-width:900px){
 html body[data-structure-review] main .page-hero .shell.page-hero-inner h1 {font-size:23px!important;}
 html body[data-structure-review] main .knowledge-article-header .knowledge-article-header-inner h1 {font-size:27px!important;}
}

/* A fine neutral outline keeps white lettering distinct from bright photo detail. */
html body[data-structure-review] main :is(.hero-slide-caption,.systems-visual .systems-visual-note,.manufacturing-card>span,.photo-gallery-item>span,.manufacturing-page-image>span,.page-hero .shell.page-hero-inner,.knowledge-article-header .knowledge-article-header-inner),
html body[data-structure-review] main :is(.hero-slide-caption,.systems-visual .systems-visual-note,.manufacturing-card>span,.photo-gallery-item>span,.manufacturing-page-image>span,.page-hero .shell.page-hero-inner,.knowledge-article-header .knowledge-article-header-inner) :where(h1,h2,h3,p,strong,span,bdi,a,time,small,.eyebrow,.breadcrumb) {
 -webkit-text-stroke:.6px rgba(30,36,40,.92)!important;
 paint-order:stroke fill!important;
}
html body[data-structure-review] main :is(.page-hero .shell.page-hero-inner,.knowledge-article-header .knowledge-article-header-inner) h1 {
 -webkit-text-stroke:.8px rgba(30,36,40,.92)!important;
}
@media(min-width:901px){
 html body[data-structure-review] main .page-hero.page-hero-projects .shell.page-hero-inner,
 html body[data-structure-review] main .page-hero.page-hero-projects .shell.page-hero-inner :is(h1,p,a,span) {
  -webkit-text-stroke:0 transparent!important;
 }
}

/* A slightly narrower measure for sans-serif photo copy; title sizes stay unchanged. */
@media(min-width:621px){
 html body[data-structure-review] main .page-hero:not(.page-hero-projects) .shell.page-hero-inner>p,
 html body[data-structure-review] main .knowledge-article-header .knowledge-article-header-inner>:is(p,.knowledge-meta){
  max-width:min(100%,540px)!important;
 }
}
@media(min-width:621px) and (max-width:900px){
 html body[data-structure-review] main .page-hero.page-hero-projects .shell.page-hero-inner>p{
  max-width:min(100%,540px)!important;
 }
}

/* Both product capsules use the same open, outlined treatment. */
html body[data-structure-review] main > .hero[data-home-positioning] .hero-product-routes a:first-child > span {color:#3c5662!important;-webkit-text-fill-color:#3c5662!important;}
