/* Positioning only: YOOtheme retains the native header/menu/footer layout and content. */
html, body.x52-homepage { margin: 0; background: #07161f; }
body.x52-homepage .tm-page { background: #07161f; overflow: visible; }
body.x52-homepage .tm-header, body.x52-homepage .tm-header-mobile { position: fixed; inset: 0 0 auto; z-index: 1000; }
body.x52-homepage .tm-header > [uk-sticky], body.x52-homepage .tm-header-mobile > [uk-sticky] { position: relative !important; top: 0 !important; width: 100% !important; transform: none !important; }
body.x52-homepage .tm-header .uk-sticky-placeholder, body.x52-homepage .tm-header-mobile .uk-sticky-placeholder { display: none !important; }
body.x52-homepage :is(.tm-header,.tm-header-mobile) .uk-navbar-container { background: transparent !important; box-shadow: none; border-bottom-color: transparent !important; }
body.x52-homepage :is(.tm-header,.tm-header-mobile) .uk-navbar-nav > li > a,
body.x52-homepage :is(.tm-header,.tm-header-mobile) .uk-navbar-toggle { color: #fff !important; }
body.x52-homepage :is(.tm-header,.tm-header-mobile) .uk-logo > img:not(.uk-logo-inverse) { display: block !important; }
body.x52-homepage :is(.tm-header,.tm-header-mobile) .uk-logo > .uk-logo-inverse { display: none !important; }
.x52-content { color:#fff; font:300 16px/1.5 'Oxanium',system-ui,sans-serif; }
.x52-content h1, .x52-content h2, .x52-content button { font-family:inherit; }
.x52-content .title h1 { color:#fff; }
.x52-last { display:flex; flex-direction:column; min-height:100svh; position:relative; }
.x52-last .contact { padding-top:calc(var(--head-h) + 32px); }
.x52-shared-footer { margin-top:auto; position:relative; z-index:2; }
.x52-content .modal { z-index:2000; }

/* The homepage owns its requestAnimationFrame scroll interpolation. */
html.x52-document { scroll-behavior:auto !important; }
html.x52-document.x52-shell-open { overflow:hidden; }

body.x52-homepage #sticky-to-top { display: none !important; }
body.x52-homepage #sticky-to-top.x52-totop-visible { display: block !important; }

/* The central strip scrolls over the opening scene without moving camera rests. */
body.x52-homepage #xq-header-strips { position:absolute; inset:0 0 auto; z-index:999; }
body.x52-homepage #xq-header-strips[hidden] { display:none !important; }
/* UIkit writes inline position:fixed!important on the sticky child. Offset that child in either state. */
body.x52-homepage :is(.tm-header,.tm-header-mobile) > [uk-sticky] { top:var(--x52-strip-offset, 0px) !important; }
