/* CSS-first dark mode. Set data-cldm-theme before first paint. */
:root{--cldm-background:#252633;--cldm-surface:#1c1d26;--cldm-text:#d0d5de;--cldm-muted:#8ea2bb;--cldm-accent:#16bfea;--cldm-border:#303849}
html[data-cldm-theme=dark]{color-scheme:dark}
html[data-cldm-theme=dark] body{background-color:var(--cldm-background);color:var(--cldm-text)}
html[data-cldm-theme=dark] :where(main,article,.site,.site-main,.site-content,.entry-content){color:var(--cldm-text)}
html[data-cldm-theme=dark] :where(h1,h2,h3,h4,h5,h6,p,li,blockquote,label,.elementor-heading-title,.elementor-widget-text-editor){color:inherit}
html[data-cldm-theme=dark] :where(a:not(.elementor-button)){color:var(--cldm-accent)}
html[data-cldm-theme=dark] :where(input:not([type=checkbox]):not([type=radio]),select,textarea){background-color:var(--cldm-surface);color:var(--cldm-text);border-color:var(--cldm-border)}
html[data-cldm-theme=dark] :where(.cldm-surface,.cldm-card){background-color:var(--cldm-surface)!important;color:var(--cldm-text)!important;border-color:var(--cldm-border)}
html[data-cldm-theme=dark] :where(.cldm-surface,.cldm-card) :where(h1,h2,h3,h4,h5,h6,p){color:inherit}
/* Purposefully do not use global filters or override photographic backgrounds and brand sections. */
.cldm-switch{display:inline-flex;vertical-align:middle;align-items:center;gap:2px;padding:3px;border-radius:999px;background:#3a3c49;line-height:1;white-space:nowrap;isolation:isolate}
.cldm-choice{appearance:none;-webkit-appearance:none;display:inline-grid;place-items:center;width:34px;height:34px;min-width:34px;min-height:34px;margin:0;padding:0;background:transparent!important;border:0!important;border-radius:999px!important;color:#d6d9df!important;cursor:pointer;box-shadow:none!important;line-height:1!important;touch-action:manipulation}
.cldm-choice svg{display:block;pointer-events:none}
.cldm-choice[aria-pressed=true]{background:#667081!important;color:#fff!important}
.cldm-choice:focus-visible{outline:2px solid #38bdf8!important;outline-offset:2px}
html[data-cldm-theme=light] .cldm-switch{background:#e2e5eb}
html[data-cldm-theme=light] .cldm-choice{color:#516071!important}
html[data-cldm-theme=light] .cldm-choice[aria-pressed=true]{background:#fff!important;color:#2d3748!important}
.cldm-logo{display:inline-block;vertical-align:middle;max-width:100%;background-image:var(--cldm-logo-light);background-position:center;background-size:contain;background-repeat:no-repeat}
html[data-cldm-theme=dark] .cldm-logo{background-image:var(--cldm-logo-dark)}
@media(max-width:767px){.cldm-choice{width:40px;height:40px;min-width:40px;min-height:40px}}

/* Cyclect.com homepage compatibility profile, based on live computed styles 15 Nov 2026.
   Scoped to the homepage so other WordPress installations remain unaffected.
   Only background-color is changed: existing photos, videos, gradients and images survive. */
html[data-cldm-theme="dark"] body.home :is(
.elementor-element-da4fe40,
.elementor-element-3e2bbb6,
.elementor-element-791c24b,
.elementor-element-10bb07b,
.elementor-element-fd39fe1,
.elementor-element-60438e4,
.elementor-element-f32443f,
.elementor-element-04f0e1b,
.elementor-element-74cd065,
.elementor-element-fece255,
.elementor-element-cd5f004
){background-color:var(--cldm-background)!important}
/* Floating content cards, hero inner panels and white statistic surfaces. */
html[data-cldm-theme="dark"] body.home :is(
.elementor-element-7e35881d,
.elementor-element-54802010,
.elementor-element-37f74a1a,
.elementor-element-ac8bc72,
.elementor-element-e724653,
.elementor-element-6b6a49b,
.elementor-element-fad7056,
.elementor-element-39a02c7,
.elementor-element-874d25b,
.elementor-element-6ffefd6
){background-color:var(--cldm-surface)!important;border-color:var(--cldm-border)}
/* Repeated legacy light widget-wrap overlays, seen in live diagnostics. */
html[data-cldm-theme="dark"] body.home .elementor-widget-wrap.elementor-element-populated{
background-color:rgba(28,29,38,.32)!important}
/* Header's sticky translucent white background; retained translucency. */
html[data-cldm-theme="dark"] .elementor-location-header .elementor-element-d31394f{
background-color:rgba(28,29,38,.90)!important}
/* Selected Cyclect homepage content: text contrast while preserving explicit cyan
   accents on inner spans and buttons. */
html[data-cldm-theme="dark"] body.home :is(
.elementor-element-7e35881d,
.elementor-element-54802010,
.elementor-element-37f74a1a,
.elementor-element-ac8bc72,
.elementor-element-e724653,
.elementor-element-6b6a49b,
.elementor-element-fad7056,
.elementor-element-39a02c7,
.elementor-element-874d25b,
.elementor-element-6ffefd6
) :is(.elementor-heading-title,p){color:var(--cldm-text)!important}

/* v0.2.1 — verified Cyclect homepage hero gradient and contrast fixes.
   Restrict hero overrides to known Elementor IDs; do not globally replace
   background images (which can contain photographs and video poster frames). */
html[data-cldm-theme="dark"] body.home .elementor-element-2c5b6d99{
  background-image:linear-gradient(228deg,#262b38 0%,#1c1d26 100%)!important;
  color:var(--cldm-text)
}
/* Elementor's counter number already retains the intended cyan accent. Its
   description has separately specified dark text, so correct only that label. */
html[data-cldm-theme="dark"] body.home :is(
  .elementor-element-7e35881d,
  .elementor-element-54802010,
  .elementor-element-37f74a1a
) :is(.elementor-counter-title,.elementor-counter .elementor-counter-title){
  color:var(--cldm-text)!important
}
/* Unlimited Elements mega menu: the site uses its own title link colours,
   independent of Elementor's general heading/text rules. */
html[data-cldm-theme="dark"] .elementor-location-header .elementor-widget-ucaddon_mega_menu .uc-mega_menu_title{
  color:var(--cldm-text)!important
}
html[data-cldm-theme="dark"] .elementor-location-header .elementor-widget-ucaddon_mega_menu .uc-mega_menu_title:is(:hover,:focus-visible){
  color:var(--cldm-accent)!important
}
/* Do not recolour desktop navigation or its image-backed mega-menu panels.
   The observed white wrapper is explicitly the responsive/mobile variant. */
html[data-cldm-theme="dark"] .elementor-location-header .elementor-widget-ucaddon_mega_menu .uc-mega_menu-wrapper.uc-mobile-mode{
  background-color:var(--cldm-surface)!important;
  color:var(--cldm-text)!important
}
html[data-cldm-theme="dark"] .elementor-location-header .elementor-widget-ucaddon_mega_menu .uc-mega_menu-wrapper.uc-mobile-mode :is(.uc-mega_menu_list,.uc-mega_menu_list_item){
  background-color:transparent;color:var(--cldm-text)
}


/* v0.3.0: Cyclect homepage/header compatibility from post-759.css and post-2457.css.
   Reuse existing HTML: no DOM reads or mutation observers. These rules are scoped
   to Elementor template 759 and header 2457 to avoid affecting other sites. */
html[data-cldm-theme="dark"] .elementor-759{
  --cldm-home-heading:#edf2f9;
  --cldm-home-copy:#d0d5de;
  --cldm-home-subtle:#adb9c9;
}
/* Both gradient layers, not only the inner hero gradient. */
html[data-cldm-theme="dark"] .elementor-759 .elementor-element.elementor-element-3cb909c6:not(.elementor-motion-effects-element-type-background),
html[data-cldm-theme="dark"] .elementor-759 .elementor-element.elementor-element-3cb909c6 > .elementor-motion-effects-container > .elementor-motion-effects-layer{
 background-image:linear-gradient(90deg,#252633 18%,#191e2b 80%)!important;
}
html[data-cldm-theme="dark"] .elementor-759 .elementor-element.elementor-element-2c5b6d99:not(.elementor-motion-effects-element-type-background),
html[data-cldm-theme="dark"] .elementor-759 .elementor-element.elementor-element-2c5b6d99 > .elementor-motion-effects-container > .elementor-motion-effects-layer{
 background-image:linear-gradient(228deg,#262b38 0%,#1c1d26 100%)!important;
}
/* Hero's title spans and the hard-coded grey description. Preserve accent. */
html[data-cldm-theme="dark"] .elementor-759 .elementor-element-855951f .ue-title-one,
html[data-cldm-theme="dark"] .elementor-759 .elementor-element-510c4935,
html[data-cldm-theme="dark"] .elementor-759 .elementor-element-9246d8c{
 color:var(--cldm-home-copy)!important;
}
html[data-cldm-theme="dark"] .elementor-759 .elementor-element-855951f .ue-title-two{color:var(--cldm-accent)!important}
/* Elementor text widgets and headings where original palette variables remain dark. */
html[data-cldm-theme="dark"] .elementor-759 :is(.elementor-element-b52da0a,.elementor-element-5cf30be,.elementor-element-8590bd9,.elementor-element-a06ab8f) .elementor-heading-title,
html[data-cldm-theme="dark"] .elementor-759 :is(.elementor-element-5bc7d0f,.elementor-element-cc4d0de,.elementor-element-ec8521a){color:var(--cldm-home-copy)!important}
/* Counter captions use explicit 'primary' styling rather than inherited colour. */
html[data-cldm-theme="dark"] .elementor-759 :is(.elementor-element-6a89c64,.elementor-element-f3fbe92,.elementor-element-1da1989) .elementor-counter-title{color:var(--cldm-home-copy)!important}
/* Engineering delivery cards: three copy-and-title widgets with black description. */
html[data-cldm-theme="dark"] .elementor-759 :is(.elementor-element-9001598,.elementor-element-0cbafa3,.elementor-element-e6f0b5e) :is(.ue-title,.ue-description){color:var(--cldm-home-copy)!important}
/* Homepage post grids, including their white interior panels and black titles. */
html[data-cldm-theme="dark"] .elementor-759 :is(.elementor-element-237d6e2,.elementor-element-e2a4044,.elementor-element-5edc094,.elementor-element-b6a1458,.elementor-element-599876d,.elementor-element-b632d40) .uc_content{
 background-color:var(--cldm-surface)!important;color:var(--cldm-home-copy)!important;
}
html[data-cldm-theme="dark"] .elementor-759 :is(.elementor-element-237d6e2,.elementor-element-e2a4044,.elementor-element-5edc094,.elementor-element-b6a1458,.elementor-element-599876d,.elementor-element-b632d40) :is(.uc_post_title a,.uc_post_title a *, .uc_post_text,.ue-grid-item-meta-data){color:var(--cldm-home-copy)!important}
/* Preserve photographs: recolour content overlays only. */
html[data-cldm-theme="dark"] .elementor-759 .elementor-element-f1acc0e :is(.uc_image_carousel_content,.uc_post_title,.uc_post_title-link){color:var(--cldm-home-copy)!important}
html[data-cldm-theme="dark"] .elementor-759 .elementor-element-f1acc0e :is(.uc_paragraph,.ue-grid-item-meta-data){color:var(--cldm-home-subtle)!important}
html[data-cldm-theme="dark"] .elementor-759 .elementor-element-f1acc0e .uc_more_btn{background:var(--cldm-surface)!important;color:var(--cldm-home-copy)!important}
/* Highlight sections and news list: preserve blue badges, make text legible. */
html[data-cldm-theme="dark"] .elementor-759 .elementor-element-5c46ca5 .uc_post_list_box{background-color:var(--cldm-surface)!important}
html[data-cldm-theme="dark"] .elementor-759 .elementor-element-5c46ca5 :is(.uc_post_list_title a,.uc_post_content){color:var(--cldm-home-copy)!important}
/* Header and its Unlimited Elements mega menu; panel must not remain white. */
html[data-cldm-theme="dark"] .elementor-2457 .elementor-element.elementor-element-d31394f:not(.elementor-motion-effects-element-type-background),
html[data-cldm-theme="dark"] .elementor-2457 .elementor-element.elementor-element-d31394f > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:rgba(28,29,38,.9)!important}
html[data-cldm-theme="dark"] .elementor-2457 .elementor-element.elementor-element-19b119c :is(.uc-mega_menu_section-cover,.uc-mega_menu-wrapper){background-color:var(--cldm-surface)!important}
html[data-cldm-theme="dark"] .elementor-2457 .elementor-element.elementor-element-19b119c :is(.uc-mega_menu_title,.ue-title,.ue-text,.ue-menu-title,.ue-link-item-link){color:var(--cldm-home-copy,#d0d5de)!important}
html[data-cldm-theme="dark"] .elementor-2457 .elementor-element.elementor-element-19b119c .uc-mega_menu_title:is(:hover,:focus-visible){color:var(--cldm-accent)!important}
html[data-cldm-theme="dark"] .elementor-2457 .elementor-element.elementor-element-19b119c .uc-mega_menu-close-btn-icon{background-color:#394255!important;color:#f2f5f9!important}
html[data-cldm-theme="dark"] .elementor-2457 .elementor-element.elementor-element-19b119c .uc-mega_menu-close-btn-icon svg{fill:#f2f5f9!important}
/* Keep carousel, buttons and actual images untouched unless specified above. */


/* v0.4.0 — site-wide Elementor compatibility.
   v0.3.x styled Elementor homepage 759 only. The other Elementor templates
   have independent generated CSS, often with white/pale surfaces and dark text.
   Restrict this layer to non-home content. Header/footer have separate rules.
   Never apply filters, background-image:none, or JS recolouring. */
html[data-cldm-theme="dark"] body:not(.home) .elementor:where(:not(.elementor-2457):not(.elementor-location-header):not(.elementor-location-footer)) :where(.e-con,.elementor-section,.elementor-column > .elementor-widget-wrap.elementor-element-populated):not(.cldm-preserve):not(.cldm-preserve *){
  /* Transparent, not opaque: keep background photography visible and let the
     dark root canvas show through on ordinary white sections. */
  background-color:rgba(37,38,51,.10)!important;
  border-color:var(--cldm-border);
}
/* Nested cards and panels gain separation from the page canvas. Image and
   gradient layers still render because only background-color is overridden. */
html[data-cldm-theme="dark"] body:not(.home) .elementor:where(:not(.elementor-2457):not(.elementor-location-header):not(.elementor-location-footer)) :where(.e-con .e-con,.elementor-inner-section,.elementor-column > .elementor-widget-wrap.elementor-element-populated):not(.cldm-preserve):not(.cldm-preserve *){
  /* A see-through ink layer, NOT a solid block: previous v0.5.0 obscured
     the photographic background behind nested Elementor cards. */
  background-color:rgba(27,31,43,.46)!important;
}
/* Dark mode text in independently styled Elementor/Unlimited Elements widgets.
   Do not force button/icon/badge colours; preserve branding and image overlays. */
html[data-cldm-theme="dark"] body:not(.home) .elementor:not(.elementor-2457):not(.elementor-location-header):not(.elementor-location-footer) :is(
 .elementor-heading-title,.elementor-widget-text-editor,.elementor-widget-text-editor p,
 .elementor-icon-box-title,.elementor-icon-box-description,
 .ue-title,.ue-description,.ue-text,.ue-menu-title,
 .uc_post_title a,.uc_post_title a *, .uc_post_text,.uc_post_list_title a,.uc_post_content,
 .uc_paragraph,.elementor-counter-title
):not(.cldm-preserve):not(.cldm-preserve *){
  color:var(--cldm-text)!important;
}
html[data-cldm-theme="dark"] body:not(.home) .elementor:not(.elementor-2457):not(.elementor-location-header):not(.elementor-location-footer) :is(
 .elementor-widget-text-editor,.ue-description,.ue-text,.uc_post_text,.uc_post_content,.uc_paragraph
){color:var(--cldm-muted)!important}
/* Common Elementor widget interiors and third-party post cards. This prevents
   bright white 'islands' even when their parent container becomes dark. */
html[data-cldm-theme="dark"] body:not(.home) .elementor:not(.elementor-2457):not(.elementor-location-header):not(.elementor-location-footer) :is(
 .uc_content,.uc_post_grid_style_one_item,.uc_post_list_box,.uc_post_list_content,
 .uc_image_carousel_content,.elementor-testimonial-wrapper,
 .elementor-accordion .elementor-tab-content,.elementor-toggle .elementor-tab-content
):not(.cldm-preserve):not(.cldm-preserve *){
  background-color:var(--cldm-surface)!important;
  border-color:var(--cldm-border)!important;
}
/* Elementor-generated template can explicitly set the page wrapper's pale
   background; body itself must not show a bright canvas between sections. */
html[data-cldm-theme="dark"] body:not(.home) :is(#page,.site,.site-main,.site-content,main,.entry-content){
  background-color:var(--cldm-background);
}
/* The global header is shared across all templates. Its active page pill was
   still pale blue, producing near-white text on light blue. */
html[data-cldm-theme="dark"] .elementor-2457 .elementor-element-19b119c :is(
 .uc-active_item .uc-mega_menu_title,
 .uc-mega_menu_title.uc-current-page
){background-color:#354559!important;color:#f0f5fb!important}
html[data-cldm-theme="dark"] .elementor-2457 .elementor-element-19b119c .uc-mega_menu_section-cover{
  background-color:var(--cldm-surface)!important
}
html[data-cldm-theme="dark"] .elementor-2457 .elementor-widget-ucaddon_mega_menu_inner_links :is(.ue-title,.ue-menu-title,.ue-text,.ue-link-item-link){
 color:var(--cldm-text)!important
}
/* Shared footer: avoid dark fixed colours on dark panels. */
html[data-cldm-theme="dark"] .elementor-location-footer :is(.elementor-heading-title,.elementor-icon-list-text,p,li,a:not(.elementor-button)){
 color:var(--cldm-text)!important
}
/* Accessibility: make focus visible without overwriting custom accent pills. */
html[data-cldm-theme="dark"] :is(.elementor a,.elementor button):focus-visible{
 outline:2px solid var(--cldm-accent);outline-offset:2px
}

/* v0.4.1: Header dropdown and footer corrective layer.
   The 15 Nov 2026 screenshots show a pale mega-menu flyout and a pale footer
   with light text. Match their surfaces to the dark palette without touching
   photographs, background images, or layout/positioning. */
html[data-cldm-theme="dark"] .elementor-location-footer,
html[data-cldm-theme="dark"] .elementor-location-footer :is(.e-con,.elementor-section,.elementor-column > .elementor-widget-wrap.elementor-element-populated){
  background-color:var(--cldm-surface)!important;
  border-color:var(--cldm-border)!important;
}
html[data-cldm-theme="dark"] .elementor-location-footer :is(.elementor-widget-text-editor,.elementor-widget-text-editor p,.elementor-heading-title,.elementor-icon-list-text,p,li,a:not(.elementor-button),small,span:not(.elementor-button-text)){
  color:var(--cldm-text)!important;
}
html[data-cldm-theme="dark"] .elementor-location-footer :is(.elementor-heading-title,.elementor-widget-heading h2,.elementor-widget-heading h3){color:#f0f3f8!important}
html[data-cldm-theme="dark"] .elementor-location-footer a:not(.elementor-button):is(:hover,:focus-visible){color:var(--cldm-accent)!important}
/* Explicit pale section and column backgrounds found in post-2457.css. */
html[data-cldm-theme="dark"] .elementor-2457 :is(
 .elementor-element-da4fe40,.elementor-element-3e2bbb6,
 .elementor-element-10bb07b,.elementor-element-791c24b,.elementor-element-fd39fe1
):not(.elementor-motion-effects-element-type-background){background-color:#252633!important}
html[data-cldm-theme="dark"] .elementor-2457 :is(
 .elementor-element-d55d324,.elementor-element-5cd7638,
 .elementor-element-7be5058,.elementor-element-bcf2d86,.elementor-element-14c004b,
 .elementor-element-b58f75c,.elementor-element-48f0c63
) > .elementor-widget-wrap.elementor-element-populated{background-color:#1c1d26!important}
html[data-cldm-theme="dark"] .elementor-2457 .elementor-element-19b119c :is(
 .uc-mega_menu_section-cover,.uc-mega_menu-wrapper,.uc-mega_menu_section,
 .uc-connected
){background-color:#252633!important}
html[data-cldm-theme="dark"] .elementor-2457 .elementor-widget-ucaddon_mega_menu_inner_links :is(
 .ue-link-item,.ue-mega-menu-inner-links
){background-color:transparent!important}
html[data-cldm-theme="dark"] .elementor-2457 .elementor-widget-ucaddon_mega_menu_inner_links :is(
 .ue-title,.ue-text,.ue-menu-title,.ue-link-item-link,.ue-ge-text
){color:var(--cldm-text)!important}
html[data-cldm-theme="dark"] .elementor-2457 .elementor-widget-ucaddon_mega_menu_inner_links .ue-link-item:is(:hover,:focus-within){background-color:#303849!important}
/* Root content canvas on internal templates, not embedded picture surfaces. */
html[data-cldm-theme="dark"] body:not(.home),
html[data-cldm-theme="dark"] body:not(.home) > #page,
html[data-cldm-theme="dark"] body:not(.home) .site-main > .elementor{
  background-color:var(--cldm-background)!important;
}


/* v0.4.2 — Non-home contrast fixes based on screenshots 15 Nov 2026.
   Address elementor/Unlimited Elements cards with explicitly styled text.
   Keep the rule tied to panels we recolour, not image-backed headings. */
html[data-cldm-theme="dark"] body:not(.home) .elementor:not(.elementor-2457):not(.elementor-location-footer) :is(
 .elementor-widget-ucaddon_circle_number_widget,
 .elementor-widget-ucaddon_icon_box,
 .elementor-widget-ucaddon_feature_box,
 .elementor-widget-ucaddon_content_box,
 .elementor-widget-icon-box
) :is(.ue-title,.ue-description,.ue-text,.elementor-icon-box-title,.elementor-icon-box-description){
 color:var(--cldm-text)!important
}
/* Widget cards with a new dark background must not retain explicit grey/navy
   headings. These styles do not touch buttons, graphics, or third-party maps. */
html[data-cldm-theme="dark"] body:not(.home) .elementor :is(
 .uc_post_grid_style_one_item,.uc_post_list_box,.uc_content
) :is(.uc_post_title a,.uc_post_title a *, .uc_post_text,.uc_post_content){
 color:var(--cldm-text)!important
}
/* v0.4.3: Removed the v0.4.2 global background-blend-mode:multiply.
   Multiply combines image pixels with the dark background colour and makes
   all image-backed Elementor sections appear artificially dark. The default
   normal blend preserves photographic brightness and original colours. */
html[data-cldm-theme="dark"] body:not(.home) .elementor:not(.elementor-2457):not(.elementor-location-header):not(.elementor-location-footer) :is(.e-con,.elementor-section){
 background-blend-mode:normal!important
}
/* Exact screenshot: sector-context info cards acquired dark surfaces but
   their title and description stayed dark. Pair card surface and foreground.
   This covers native Elementor icon/heading widgets in nested containers. */
html[data-cldm-theme="dark"] body:not(.home) .elementor .e-con .e-con :is(
 .elementor-widget-icon-box .elementor-icon-box-title,
 .elementor-widget-icon-box .elementor-icon-box-description,
 .elementor-widget-heading .elementor-heading-title,
 .elementor-widget-text-editor
){color:var(--cldm-text)!important}
/* Protect intentionally light external embeds such as Google Maps; the
   maps themselves must retain brand/legibility and are not filtered. */
html[data-cldm-theme="dark"] :is(.elementor-widget-google_maps,.elementor-widget-google_maps iframe,.jet-map-listing,.gm-style){
 filter:none!important
}


/* v0.5.0 — Cyclect glass design system.
   Source: uploaded Modern Web Guidance, CSS architecture / responsive design.
   Design principle: make interface surfaces translucent, never dim photographs.
   All enhancements are conditional on dark mode; standard CSS works without blur. */
html[data-cldm-theme="dark"] {
  --cldm-glass-strong:rgba(27,31,43,.90);
  --cldm-glass-medium:rgba(29,35,49,.82);
  --cldm-glass-soft:rgba(34,42,58,.72);
  --cldm-glass-edge:rgba(210,235,255,.17);
  --cldm-glass-highlight:rgba(255,255,255,.09);
  --cldm-glass-shadow:0 12px 32px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.08);
  --cldm-glass-radius:clamp(16px,2vw,26px);
}
/* Make the site chrome glassy without turning the whole page into one large
   costly blur layer. Header remains legible over animated photographs. */
html[data-cldm-theme="dark"] .elementor-location-header .elementor-element-d31394f{
  background:var(--cldm-glass-strong)!important;
  border:1px solid var(--cldm-glass-edge)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.18),inset 0 1px 0 var(--cldm-glass-highlight)!important;
}
/* Existing dark surfaces, and opt-in editor classes. Exact homepage IDs from
   supplied post-759.css; content surface names belong to Unlimited Elements. */
html[data-cldm-theme="dark"] :is(
  .cldm-glass,.cldm-card,.cldm-surface,
  body.home .elementor-element-2c5b6d99,
  body.home .elementor-element-e724653,
  body.home .elementor-element-7e35881d,
  body.home .elementor-element-54802010,
  body.home .elementor-element-37f74a1a,
  body.home .elementor-element-6b6a49b,
  body.home .elementor-element-fad7056,
  body.home .elementor-element-39a02c7,
  body.home .elementor-element-874d25b
){
  background-color:var(--cldm-glass-medium)!important;
  border-color:var(--cldm-glass-edge)!important;
  box-shadow:var(--cldm-glass-shadow)!important;
  border-radius:var(--cldm-glass-radius);
}
/* Hero requires removal of the original *light* gradient; a semi-transparent
   dark gradient gives a dimensional glass feel, without touching the adjacent
   image/video frame. */
html[data-cldm-theme="dark"] body.home .elementor-element-2c5b6d99{
  background-image:linear-gradient(135deg,rgba(66,83,106,.70),rgba(25,31,44,.90))!important;
}
/* Glass cards in known homepage content modules. Avoid changing .uc_post_image,
   <img>, video, background overlays and external embedded maps. */
html[data-cldm-theme="dark"] body.home .elementor-759 :is(
  .elementor-element-237d6e2,.elementor-element-e2a4044,.elementor-element-5edc094
) .uc_content,
html[data-cldm-theme="dark"] body.home .elementor-759 :is(
  .elementor-element-b6a1458,.elementor-element-599876d,.elementor-element-b632d40
) .uc_content,
html[data-cldm-theme="dark"] body.home .elementor-759 .elementor-element-5c46ca5 .uc_post_list_box{
  background:var(--cldm-glass-medium)!important;
  border:1px solid var(--cldm-glass-edge)!important;
  box-shadow:inset 0 1px 0 var(--cldm-glass-highlight);
}
/* Unlimited Elements dropdown glass with consistent foreground colours. */
html[data-cldm-theme="dark"] .elementor-2457 .elementor-element-19b119c :is(.uc-mega_menu_section-cover,.uc-connected){
  background-color:var(--cldm-glass-strong)!important;
  border-color:var(--cldm-glass-edge)!important;
}
html[data-cldm-theme="dark"] .elementor-2457 .elementor-element-19b119c .uc-mega_menu_title:is(:hover,:focus-visible){
  background-color:rgba(96,167,215,.16)!important;
  color:#e6f8ff!important;
}
/* Current-page and keyboard focus states are visible, not pale-on-pale. */
html[data-cldm-theme="dark"] .elementor-2457 .elementor-element-19b119c .uc-mega_menu_title:is(.uc-current-page,:focus-visible){
  outline-offset:2px;
}
/* Non-home Elementor: opt-in glass; previously recoloured cards can opt in
   without broad selectors that erase deliberate image backgrounds. */
html[data-cldm-theme="dark"] body:not(.home) :is(.elementor .cldm-glass,.elementor .cldm-card,.elementor .cldm-surface){
  color:var(--cldm-text)!important;
}
/* Optional image-backed hero glass overlay: add class cldm-glass to the TEXT
   panel only (not its parent image container). No global opacity or filter. */
html[data-cldm-theme="dark"] .cldm-glass :is(.elementor-heading-title,.elementor-icon-box-title,.ue-title){
  color:#edf3f9!important;
}
html[data-cldm-theme="dark"] .cldm-glass :is(p,.ue-description,.elementor-icon-box-description){
  color:var(--cldm-text)!important;
}
/* Modern browser native blur. Limit to chrome + specific opt-in panels;
   keep cards readable without blur on lower-power devices. */
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  html[data-cldm-theme="dark"] .elementor-location-header .elementor-element-d31394f,
  html[data-cldm-theme="dark"] .cldm-glass{
    -webkit-backdrop-filter:blur(10px) saturate(125%);
    backdrop-filter:blur(10px) saturate(125%);
  }
  html[data-cldm-theme="dark"] .elementor-2457 .elementor-element-19b119c .uc-mega_menu_section-cover{
    -webkit-backdrop-filter:blur(8px);
    backdrop-filter:blur(8px);
  }
}
/* Responsive controls: touch-friendly, without moving the menu or changing
   Elementor's breakpoints. Prefer element-owned controls to global buttons. */
html[data-cldm-theme="dark"] .cldm-switch{
  background:rgba(93,104,125,.40);
  border:1px solid var(--cldm-glass-edge);
  box-shadow:inset 0 1px 0 var(--cldm-glass-highlight);
}
html[data-cldm-theme="dark"] .cldm-choice[aria-pressed="true"]{
  background:rgba(170,200,230,.25)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15)!important;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  html[data-cldm-theme="dark"] .cldm-glass,
  html[data-cldm-theme="dark"] .cldm-choice{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease;}
  html[data-cldm-theme="dark"] .cldm-glass:hover{border-color:rgba(200,231,252,.32)!important;box-shadow:0 16px 36px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.12)!important;}
}
@media (max-width:767px){
  html[data-cldm-theme="dark"] .cldm-choice{min-width:44px;min-height:44px;width:44px;height:44px;}
  html[data-cldm-theme="dark"]{--cldm-glass-radius:18px;}
  /* Reduce mobile GPU cost; fall back to attractive translucency without blur. */
  html[data-cldm-theme="dark"] .cldm-glass{-webkit-backdrop-filter:none;backdrop-filter:none;}
}
@media (prefers-reduced-transparency:reduce), (forced-colors:active){
  html[data-cldm-theme="dark"]{
    --cldm-glass-strong:#1c1d26;--cldm-glass-medium:#252633;--cldm-glass-soft:#303849;
  }
  html[data-cldm-theme="dark"] :is(.cldm-glass,.elementor-location-header .elementor-element-d31394f){
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }
}
@media (prefers-reduced-motion:reduce){
  html[data-cldm-theme="dark"] :is(.cldm-glass,.cldm-choice){transition:none!important;}
}


/* v0.5.1 — Restore optical transparency shown in the WP Dark Mode reference.
   A section's photograph is a separate layer from the text/call-to-action
   panel above it. We do not apply filters or change image pixels. */
html[data-cldm-theme="dark"]{
  --cldm-glass-medium:rgba(34,43,59,.48);
  --cldm-glass-soft:rgba(33,43,59,.36);
}
/* A first-level page canvas should remain transparent; photographs and CSS
   background images are then rendered without a blanket opaque fill. */
html[data-cldm-theme="dark"] body:not(.home) .elementor:not(.elementor-2457):not(.elementor-location-header):not(.elementor-location-footer) :is(.e-con,.elementor-section):not(.cldm-preserve):not(.cldm-preserve *){
  background-blend-mode:normal!important;
}
/* Typical Elementor hero text panel has a directly nested H1 widget AND
   buttons. Scope blur to that content panel, never to its image-backed parent.
   :has() supported in current Chrome/Safari/Firefox; other browsers retain
   the translucent base colour from the rules above. */
@supports selector(.e-con:has(> .elementor-widget-heading h1)){
  html[data-cldm-theme="dark"] body:not(.home) .elementor :is(.e-con,.elementor-section):has(> .elementor-widget-heading h1):has(> .elementor-widget-button),
  html[data-cldm-theme="dark"] body:not(.home) .elementor .e-con:has(> .elementor-widget-ucaddon_dual_color_heading):has(> .elementor-widget-button){
    background-color:rgba(38,50,69,.49)!important;
    border-color:rgba(216,236,255,.26)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 12px 28px rgba(0,0,0,.15)!important;
  }
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  @supports selector(.e-con:has(> .elementor-widget-heading h1)){
    html[data-cldm-theme="dark"] body:not(.home) .elementor .e-con:has(> .elementor-widget-heading h1):has(> .elementor-widget-button),
    html[data-cldm-theme="dark"] body:not(.home) .elementor .e-con:has(> .elementor-widget-ucaddon_dual_color_heading):has(> .elementor-widget-button){
      -webkit-backdrop-filter:blur(12px) saturate(120%);
      backdrop-filter:blur(12px) saturate(120%);
    }
  }
}
/* Semi-transparent feature cards over illustrated/image-backed areas.
   Their own image/video elements remain unaffected. */
html[data-cldm-theme="dark"] body:not(.home) .elementor :where(.e-con .e-con:not(.cldm-preserve):not(.cldm-preserve *):not(:has(> :is(.elementor-widget-button,.elementor-widget-global):has(.elementor-button)))){
  background-color:var(--cldm-glass-medium)!important;
}
/* Never blur the whole hero/image section or embedded visual media. */
@media (max-width:767px), (prefers-reduced-transparency:reduce){
  html[data-cldm-theme="dark"] body:not(.home) .elementor .e-con{
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
}

/* v0.5.2 — Do not paint a background across Elementor CTA button rows.
   The previous broad nested .e-con rules gave a flex row of buttons an
   opaque dark fill, appearing as a horizontal stripe through frosted heroes.
   Scope to direct-child button groups; do not alter parent image sections,
   individual branded buttons, or headings/content panels. */
@supports selector(.e-con:has(> .elementor-widget-button)){
  html[data-cldm-theme="dark"] body:not(.home) .elementor
  .e-con:has(> .elementor-widget-button):not(:has(> .elementor-widget-heading,> .elementor-widget-text-editor,> .elementor-widget-ucaddon_dual_color_heading,> .e-con)){
    background:transparent!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    box-shadow:none!important;
    border-color:transparent!important;
  }
}
/* The widget wrappers must not carry a rectangular fill either. */
html[data-cldm-theme="dark"] body:not(.home) .elementor
.elementor-widget-button,
html[data-cldm-theme="dark"] body:not(.home) .elementor
.elementor-widget-button > .elementor-widget-container,
html[data-cldm-theme="dark"] body:not(.home) .elementor
.elementor-widget-button .elementor-button-wrapper{
  background-color:transparent!important;
  background-image:none!important;
}


/* v0.5.3 — Fix dark rectangular strips under CTA buttons.
   Elementor Global button widgets (.elementor-widget-global, global template
   elements 6003/6019) are not .elementor-widget-button, so the earlier
   :has(> .elementor-widget-button) exemption missed them. Only clear a row
   whose direct children are button widgets, with no heading or copy widget. */
@supports selector(.e-con:has(> .elementor-widget-global .elementor-button)){
  html[data-cldm-theme="dark"] body:not(.home) .elementor
  :is(.e-con,.elementor-section):has(> :is(.elementor-widget-button,.elementor-widget-global):has(.elementor-button)):not(:has(> :is(.elementor-widget-heading,.elementor-widget-text-editor,.elementor-widget-ucaddon_dual_color_heading,.e-con,.elementor-widget-icon-box))){
    background-color:transparent!important;
    background-image:none!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    box-shadow:none!important;
    border-color:transparent!important;
  }
}
/* Clear global button widget wrappers, never the button itself. */
html[data-cldm-theme="dark"] body:not(.home) .elementor :is(
  .elementor-widget-global:has(.elementor-button),
  .elementor-widget-global:has(.elementor-button) > .elementor-widget-container,
  .elementor-widget-global:has(.elementor-button) .elementor-button-wrapper
){background-color:transparent!important;background-image:none!important;}
/* Header: remove the additional glass outline without changing its native
   border radius, background, backdrop blur or soft shadow. */
html[data-cldm-theme="dark"] .elementor-location-header .elementor-element.elementor-element-d31394f{
  border:0!important;
}


/* v0.5.4 — Confirmed by computed-style/elementFromPoint diagnostic.
   Exact inner CTA strip: 85c9f8c; parent 0f0d3a1 is the intentional
   frosted panel; outer f5e4c42 is the photographic hero.
   Clear ONLY the inner strip and preserve parent glass/blur/image. */
html[data-cldm-theme="dark"] body.page-id-192 .elementor-192 .elementor-element.elementor-element-85c9f8c{
  background-color:transparent!important;
  background-image:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  box-shadow:none!important;
}
/* Other internal-page CTA-only rows: two or more button widgets,
   no heading/copy/nested section. Avoid changing hero information panels. */
@supports selector(.e-con:has(> .elementor-element .elementor-button)){
  html[data-cldm-theme="dark"] body:not(.home) .elementor .e-con:has(> .elementor-element .elementor-button):not(:has(> .e-con,> .elementor-widget-heading,> .elementor-widget-text-editor,> .elementor-widget-ucaddon_dual_color_heading)){
    background-color:transparent!important;
    background-image:none!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    box-shadow:none!important;
  }
}


/* v0.5.6 — Confirmed by Chrome elementsFromPoint on 16 Nov 2026.
   The white strip/outer white canvas on Industry detail pages is NOT the
   photographic widget dc4fe3a. It is a white-to-pale-blue Elementor
   background-image gradient on template 1436, container c961b34.
   Replacing that particular gradient is safe because it contains no photo.
   Preserve separately defined photos and their original image brightness. */
html[data-cldm-theme="dark"] body.single-industries
.elementor-1436 .elementor-element.elementor-element-c961b34{
  background-image:linear-gradient(180deg,#252633 55%,#202737 100%)!important;
  background-color:#252633!important;
  background-blend-mode:normal!important;
}
/* The specific Industry widget is a photograph: preserve its source image. */
html[data-cldm-theme="dark"] body.single-industries
.elementor-1436 .elementor-element.elementor-element-dc4fe3a{
  background-blend-mode:normal!important;
}


/* v0.5.7 — Surface-aware contrast for confirmed light illustrations.
   Elementor background-image URLs are artwork, not CSS colours. Keep their
   image pixels unchanged; pair a LIGHT surface with DARK ink. Confine these
   exceptions to known sections (16 Nov 2026 browser diagnostics).
   Do not apply this palette to the photographic hero or dark feature panels. */
html[data-cldm-theme="dark"]{
  --cldm-art-ink:#23364c;
  --cldm-art-secondary:#40566d;
  --cldm-art-glass:rgba(255,255,255,.84);
  --cldm-art-edge:rgba(43,70,98,.20);
}
/* Explicit reusable Elementor opt-in class for light-background art sections.
   Add cldm-light-art only to the outer illustration container, not the whole page. */
html[data-cldm-theme="dark"] :is(
  .cldm-light-art,
  .elementor-element.elementor-element-dc4fe3a,
  .elementor-element.elementor-element-1b55922
){color:var(--cldm-art-ink)!important}
/* Each section contains an intentional pale image. Remove the generic dark
   overlay fill from the outer artwork container, but NEVER its background-image. */
html[data-cldm-theme="dark"] body:not(.home) .elementor :is(
  .elementor-element.elementor-element-dc4fe3a,
  .elementor-element.elementor-element-1b55922
){background-color:transparent!important;background-blend-mode:normal!important}
/* Nested glass cards: a white translucent layer is readable on these pale
   illustrated photographs. More specific than v0.4/0.5 generic .e-con fills. */
html[data-cldm-theme="dark"] body:not(.home) .elementor :is(
  .cldm-light-art,
  .elementor-element.elementor-element-dc4fe3a,
  .elementor-element.elementor-element-1b55922
) .e-con:not(:has(> .elementor-widget-button)):not(:has(> .elementor-widget-global .elementor-button)){
  background-color:var(--cldm-art-glass)!important;
  border-color:var(--cldm-art-edge)!important;
  box-shadow:0 10px 22px rgba(24,44,67,.10),inset 0 1px 0 rgba(255,255,255,.55)!important;
}
/* Preserve element-level art: do not overwrite .e-con background-image here.
   Use dark text for native Elementor widgets and common custom widget text. */
html[data-cldm-theme="dark"] body:not(.home) .elementor :is(
  .cldm-light-art,
  .elementor-element.elementor-element-dc4fe3a,
  .elementor-element.elementor-element-1b55922
) :is(
  .elementor-heading-title,.elementor-widget-heading,.elementor-widget-text-editor,
  .elementor-widget-text-editor p,.elementor-icon-box-title,
  .elementor-icon-box-title a,.elementor-icon-box-description,
  .ue-title,.ue-description,.ue-text,
  h1,h2,h3,h4,h5,h6,p
){color:var(--cldm-art-ink)!important}
html[data-cldm-theme="dark"] body:not(.home) .elementor :is(
  .cldm-light-art,
  .elementor-element.elementor-element-dc4fe3a,
  .elementor-element.elementor-element-1b55922
) :is(.elementor-icon-box-description,.ue-description,.elementor-widget-text-editor p){
  color:var(--cldm-art-secondary)!important
}
/* Do not recolour native CTA buttons or icons on the same section. */
html[data-cldm-theme="dark"] :is(.cldm-light-art,.elementor-element-dc4fe3a,.elementor-element-1b55922) :is(.elementor-button,.elementor-button *,svg,img){filter:none}
/* For deliberately dark panels nested within illustrated sections, opt in to
   dark glass explicitly in Elementor and restore light text there. */
html[data-cldm-theme="dark"] body:not(.home) .elementor :is(
  .cldm-light-art,.elementor-element-dc4fe3a,.elementor-element-1b55922
) .cldm-dark-glass{
  background-color:rgba(27,31,43,.78)!important;
  border-color:rgba(218,235,255,.17)!important;
  color:var(--cldm-text)!important;
}
html[data-cldm-theme="dark"] body:not(.home) .elementor :is(
  .cldm-light-art,.elementor-element-dc4fe3a,.elementor-element-1b55922
) .cldm-dark-glass :is(h1,h2,h3,h4,h5,h6,p,.elementor-heading-title,.elementor-widget-text-editor){
  color:var(--cldm-text)!important
}
@media(max-width:767px){
  html[data-cldm-theme="dark"] :is(.cldm-light-art,.elementor-element-dc4fe3a,.elementor-element-1b55922){
    --cldm-art-glass:rgba(255,255,255,.92);
  }
}
@media(prefers-reduced-transparency:reduce){
  html[data-cldm-theme="dark"] :is(.cldm-light-art,.elementor-element-dc4fe3a,.elementor-element-1b55922){
    --cldm-art-glass:#f5f8fc;
  }
}

/* v0.5.8 — contrast repair for the two independently verified illustrated
   sections. Site-wide dark-text overrides were winning inside light art.
   Keep image URLs and photographic hero backgrounds intact. */
html[data-cldm-theme="dark"] body:not(.home) .elementor
  :is(.cldm-light-art,.elementor-element.elementor-element-1b55922,
      .elementor-element.elementor-element-dc4fe3a)
  :is(h1,h2,h3,h4,h5,h6,p,li,.elementor-heading-title,
      .elementor-widget-text-editor,.elementor-widget-text-editor p,
      .elementor-icon-box-title,.elementor-icon-box-description,
      .ue-title,.ue-description,.ue-text,.uc-heading,.uc-description,
      .elementor-counter-title){
  color:#24364b!important;
  -webkit-text-fill-color:#24364b!important;
}
/* Cover third-party widget labels that are <div>/<span>, without changing
   SVG icons, image pixels, button text or circular numeric badges. */
html[data-cldm-theme="dark"] body:not(.home) .elementor
  :is(.cldm-light-art,.elementor-element.elementor-element-1b55922,
      .elementor-element.elementor-element-dc4fe3a)
  :is(.ue-title *, .ue-description *, .ue-text *,
      .elementor-heading-title *, .elementor-icon-box-title *,
      .elementor-icon-box-description *){
  color:#24364b!important;
  -webkit-text-fill-color:#24364b!important;
}
/* Light illustrated cards: use white glass and dark readable content.
   This selector intentionally targets only cards nested under the verified
   illustration IDs; do not turn photographic heroes or parent panels white. */
html[data-cldm-theme="dark"] body:not(.home) .elementor
  :is(.elementor-element.elementor-element-1b55922,
      .elementor-element.elementor-element-dc4fe3a)
  :is(.e-con .e-con,.elementor-widget-icon-box .elementor-widget-container){
  background-color:rgba(255,255,255,.88)!important;
}
/* Recognise the pale artwork section's own headings/copy even when Elementor
   puts them in a wrapper outside the nearest nested content card. */
html[data-cldm-theme="dark"] body:not(.home) .elementor
  :is(.elementor-element.elementor-element-1b55922,
      .elementor-element.elementor-element-dc4fe3a)
  :is(.elementor-widget-heading,.elementor-widget-text-editor)
  :is(h1,h2,h3,h4,h5,h6,p,span){
  color:#24364b!important;
  -webkit-text-fill-color:#24364b!important;
}
/* Circular step numbers and branded links/buttons keep their own contrast. */
html[data-cldm-theme="dark"] body:not(.home) .elementor
  :is(.elementor-element.elementor-element-1b55922,
      .elementor-element.elementor-element-dc4fe3a)
  :is(.elementor-button,.elementor-button *,
      .elementor-counter-number,.elementor-counter-number-suffix,
      .uc-number,.ue-number,.uc_num){
  -webkit-text-fill-color:currentColor!important;
}
/* Industry template: photo sections stay photo-backed; the KNOWN white
   parent gradient is replaced with a charcoal canvas. Raise specificity
   above the Elementor page-template and generic plugin rules. */
html[data-cldm-theme="dark"] body.single-industries .elementor.elementor-1436
  .elementor-element.elementor-element-c961b34.e-con{
  background-image:linear-gradient(180deg,#252633 55%,#202737 100%)!important;
  background-color:#252633!important;
  background-blend-mode:normal!important;
}
/* Optional editor classes: dark ink on deliberate white illustrated art,
   and light ink on deliberately dark glass within it. */
html[data-cldm-theme="dark"] body:not(.home) .elementor .cldm-light-art
  :is(h1,h2,h3,h4,h5,h6,p,.elementor-heading-title,.ue-title,.ue-text){
  color:#24364b!important;
}
html[data-cldm-theme="dark"] body:not(.home) .elementor .cldm-light-art .cldm-dark-glass
  :is(h1,h2,h3,h4,h5,h6,p,.elementor-heading-title,.ue-title,.ue-text){
  color:#e5ebf4!important;-webkit-text-fill-color:#e5ebf4!important;
}
