/* Dark surfaces alternate with slate sections. Product artwork keeps its original colors. */
html:has(body.et-dark){background:#0b121b;color-scheme:dark}
body.et-dark{--et-base:#0b121b;--et-soft:#1e2c3d;--et-card:#26384c;--et-ink:#f4f7fb;--et-text:#d8e2ed;--et-gold:#efd18a;background:var(--et-base)!important;color:var(--et-text)!important;color-scheme:dark}
html#kubio body.et-dark,body.et-dark .entry-content{background:var(--et-base)!important;color:var(--et-text)!important}
html#kubio body.et-dark .wp-block-kubio-section__outer{background-color:var(--et-base)!important;border-top:1px solid #354459!important;color:var(--et-text)!important}
html#kubio body.et-dark .wp-block-kubio-section__outer.et-tone-soft{background-color:var(--et-soft)!important}
html#kubio body.et-dark .wp-block-kubio-section__outer .background-wrapper{display:none!important}
html#kubio body.et-dark .wp-block-kubio-section__outer :is(.wp-block-kubio-row__container,.wp-block-kubio-column__inner){background-color:transparent!important}
html#kubio body.et-dark :is(h1,h2,h3,h4,h5,h6){color:var(--et-ink)!important}
html#kubio body.et-dark :is(p,li,figcaption,label,.wp-block-kubio-text__text){color:var(--et-text)!important}
html#kubio body.et-dark :is(p,li,h1,h2,h3,h4,h5,h6,.wp-block-kubio-text__text) :is(strong,b,em,span){color:inherit!important}
html#kubio body.et-dark a{color:var(--et-gold)!important}
html#kubio body.et-dark a:hover{color:#fff0c7!important}
html#kubio body.et-dark :is(a,h1,h2,h3,h4,h5,h6) .kubio-has-inline-color{color:inherit!important}
html#kubio body.et-dark .wp-block-kubio-hero__outer .overlay-image-layer{background-color:#06101d!important;opacity:.78!important}
html#kubio body.et-dark .wp-block-kubio-navigation__outer{position:relative!important;background:#0b121b!important;border-bottom:1px solid #354459!important}
html#kubio body.et-dark .wp-block-kubio-menu-offscreen__offscreen{background:#142131!important}
html#kubio body.et-dark .menu-item.current-menu-item>a,html#kubio body.et-dark .menu-item>a:hover{background:#34495f!important;color:#fff!important}
html#kubio body.et-dark .goog-te-combo,html#kubio body.et-dark .goog-te-gadget{color:#d8e2ed!important;background:#142131!important}
html#kubio body.et-dark :is(#hero-accent,#hero-accent-1)>.wp-block-kubio-section__inner{margin-top:0!important}
html#kubio body.et-dark :is(.wp-block-kubio-navigation__outer,.wp-block-kubio-navigation__outer a,.wp-block-kubio-logo__text){color:#f4f7fb!important}
html#kubio body.et-dark :is(.wp-block-kubio-dropdown-menu__menu,.wp-block-kubio-menu__menu) :is(.sub-menu,.kubio-offscreen){background:#142131!important}
html#kubio body.et-dark .h-svg-icon{color:var(--et-gold)!important}
html#kubio body.et-dark .h-svg-icon svg{fill:currentColor!important}
html#kubio body.et-dark :is(.wp-block-kubio-button__link,.wp-block-button__link){background:#e5c67b!important;border-color:#e5c67b!important;color:#111a25!important}
html#kubio body.et-dark :is(.wp-block-kubio-button__link,.wp-block-button__link) *{color:#111a25!important}
html#kubio body.et-dark :is(.wp-block-kubio-button__link,.wp-block-button__link):hover{background:#f4d995!important;color:#111a25!important}
/* Replace the former bright red/blue home cards with calm, contrasted panels. */
html#kubio body.et-dark :is(#hero-accent,#hero-accent-1) .wp-block-kubio-column__inner{background:#26384c!important;border:1px solid #43546b!important;border-radius:12px!important;box-shadow:0 12px 30px #0002!important}
html#kubio body.et-dark :is(#hero-accent,#hero-accent-1) .wp-block-kubio-column__container:nth-child(2) .wp-block-kubio-column__inner{background:#30455b!important}
html#kubio body.et-dark #vide{display:none!important}
/* Full-width alternating bands for the two carousels. */
body.et-dark .et-home-showcase{max-width:none;margin:0;padding:0;color:var(--et-text)}
body.et-dark .et-home-showcase .et-carousel{margin:0;padding:48px max(18px,calc((100% - 1144px)/2));border-top:1px solid #354459;background:var(--et-base)}
body.et-dark .et-home-showcase #et-logiciels{background:var(--et-soft)}
html#kubio body.et-dark .et-home-showcase .et-eyebrow,html#kubio body.et-dark .et-home-showcase .et-tag{color:var(--et-gold)!important}
body.et-dark .et-home-showcase :is(.et-section-mark,.et-counter){color:#c3d2e1!important}
body.et-dark .et-home-showcase .et-controls{border-color:#43546b}
body.et-dark .et-home-showcase .et-slide-copy{background:linear-gradient(135deg,#192f44,#0d1724)}
body.et-dark .et-home-showcase .et-slide-visual{background:#26384c}
body.et-dark .et-home-showcase .et-slides{border:1px solid #415268;box-shadow:0 12px 34px #0003}
body.et-dark .et-home-showcase button{background:#26384c;border-color:#536780;color:#f4f7fb}
body.et-dark .et-home-showcase button:hover{background:#364d65;color:#fff}
body.et-dark .et-home-showcase .et-dot[aria-pressed=true]{background:#e5c67b;border-color:#e5c67b;color:#111a25}
html#kubio body.et-dark .et-home-showcase a.et-slide-cta,html#kubio body.et-dark .et-home-showcase a.et-slide-cta *{background:#e5c67b;color:#111a25!important}
body.et-dark .et-home-showcase .et-software-all{margin:0;padding:0 max(18px,calc((100% - 1144px)/2)) 32px;background:var(--et-soft)}
/* Downloads, information panels, forms and footer. */
html#kubio body.et-dark :is(.et-downloads-card,.et-downloads-wide){background:#1e2c3d!important;border:1px solid #43546b!important;color:var(--et-text)!important}
html#kubio body.et-dark :is(.et-downloads-heading,.et-downloads-section-intro){color:var(--et-ink)!important}
html#kubio body.et-dark .et-downloads-nav a{background:#26384c!important;border-color:#536780!important;color:#f4f7fb!important}
html#kubio body.et-dark .et-downloads-card a{background:#e5c67b!important;color:#111a25!important}
html#kubio body.et-dark :is(input,select,textarea){background:#101c2a!important;color:#f4f7fb!important;border:1px solid #7c8fa5!important}
html#kubio body.et-dark :is(input,textarea)::placeholder{color:#b8c7d7!important;opacity:1}
html#kubio body.et-dark :is(table,th,td){color:#d8e2ed!important;background:#1e2c3d!important;border-color:#536780!important}
html#kubio body.et-dark th{background:#2b4056!important;color:#fff!important}
body.et-dark .eternytime-seo-rfid-section,body.et-dark [aria-labelledby="eternytime-seo-rfid-title"]{background:#1e2c3d!important;color:#d8e2ed!important;border-color:#43546b!important}
body.et-dark #et-global-language-widget,body.et-dark #et-global-language-select{background:#142131!important;color:#f4f7fb!important;border-color:#7c8fa5!important}
html#kubio body.et-dark :is(a,button,input,select,textarea):focus-visible{outline:3px solid #ffe09b!important;outline-offset:4px!important}
@media(max-width:760px){body.et-dark .et-home-showcase .et-carousel{padding:30px 18px}body.et-dark .et-home-showcase .et-software-all{padding:0 18px 26px}}


/* Preserve the original Kubio photos and keep text readable over them. */
html#kubio body.et-dark.home :is(#hero-accent,#hero-accent-1,#about-1,#contact)>.background-wrapper{display:block!important;background:rgba(6,16,29,.48)!important}
html#kubio body.et-dark.home #contact>.background-wrapper{background:rgba(6,16,29,.20)!important}
html#kubio body.et-dark.home #about-1>.background-wrapper{background:rgba(6,16,29,.65)!important}
html#kubio body.et-dark.home #hero{min-height:0!important;padding-top:60px!important;padding-bottom:64px!important;background-attachment:scroll!important;background-position:center 45%!important}
html#kubio body.et-dark.home #hero .overlay-image-layer{opacity:.58!important}
html#kubio body.et-dark.home #hero h1{font-size:clamp(36px,5vw,64px)!important;line-height:1.12!important}
html#kubio body.et-dark.home #hero .wp-block-kubio-text__text{font-size:18px!important;line-height:1.6!important}
@media(max-width:760px){html#kubio body.et-dark.home #hero{padding-top:38px!important;padding-bottom:42px!important}html#kubio body.et-dark.home #hero .wp-block-kubio-text__text{font-size:16px!important}}
html#kubio body.et-dark.home #hero>.h-navigation-padding{padding-top:0!important}
html#kubio body.et-dark #call-to-action{background-image:none!important}

/* Subtle sporting motion; photos stay in their existing sections. */
html#kubio body.et-dark.home .et-parallax{background-position:center calc(45% + var(--et-parallax-y,0px))!important;background-attachment:scroll!important}
@media(prefers-reduced-motion:no-preference){.et-reveal{opacity:0;transform:translateY(18px);transition:opacity .65s ease,transform .65s ease}.et-reveal.et-revealed,.et-reveal:focus-within{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.et-reveal{opacity:1!important;transform:none!important;transition:none!important}}

/* Opposing entrances, clipped to the showcase to avoid horizontal scrolling. */
body.et-dark .et-home-showcase{overflow-x:clip}
@media(prefers-reduced-motion:no-preference){
.et-carousel.et-reveal{transition:opacity .9s ease,transform .9s cubic-bezier(.22,.61,.36,1)}
.et-carousel.et-from-right:not(.et-revealed):not(:focus-within){transform:translateX(80px)}
.et-carousel.et-from-left:not(.et-revealed):not(:focus-within){transform:translateX(-80px)}
}
@media(max-width:760px) and (prefers-reduced-motion:no-preference){
.et-carousel.et-from-right:not(.et-revealed):not(:focus-within){transform:translateX(32px)}
.et-carousel.et-from-left:not(.et-revealed):not(:focus-within){transform:translateX(-32px)}
}
