body .eh-header[data-studio-navigation] {
  --studio-nav-surface: linear-gradient(132deg, #395c60, #294449);
  --studio-nav-hover: linear-gradient(132deg, #43696c, #315055);
  --studio-nav-panel: #1d3337;
  --studio-nav-edge: #536867;
  --studio-nav-active: #325153;
  --studio-nav-text: #fcfbf8;
  --studio-nav-peer-height: 44px;
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] :is(.eh-mainnav > a, .eh-mainnav > details > summary) {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  block-size: var(--studio-nav-peer-height);
  min-block-size: var(--studio-nav-peer-height);
  min-height: var(--studio-nav-peer-height);
  padding-block: 0;
  margin-block: 0;
  border: 1px solid transparent;
  border-radius: .72rem;
  color: var(--studio-nav-text);
  line-height: 1.35;
  touch-action: manipulation;
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav > :is(.eh-service-menu, .pilot-company) > summary {
  justify-content: space-between;
  padding-inline: .85rem;
  background: var(--studio-nav-surface);
  font-weight: 700;
  gap: .55rem;
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav > a.pilot-header-consult {
  --studio-action-surface: var(--studio-nav-surface);
  min-height: var(--studio-nav-peer-height);
  margin-block-start: 0;
  background: var(--studio-action-surface);
}

/* The theme also sets a dark hover label on the previous gold trigger. */
body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] :is(.eh-mainnav > a, .eh-mainnav > details > summary):is(:hover, :focus-visible) {
  box-shadow: none;
  color: var(--studio-nav-text) !important;
  background-color: var(--studio-nav-active);
  filter: none;
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav > :is(.eh-service-menu, .pilot-company)[open] > summary,
body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav > :is(.eh-service-menu, .pilot-company) > summary:is(:hover, :focus-visible) {
  background: var(--studio-nav-hover);
  border-color: #6c8886;
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] :is(.eh-mainnav > a, .eh-mainnav > details > summary):focus-visible {
  outline: 2px solid var(--studio-focus, #edda9d);
  outline-offset: 3px;
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav > a.pilot-header-consult:is(:hover, :focus-visible) {
  --studio-action-surface: var(--studio-nav-hover);
  background: var(--studio-action-surface);
}

body .eh-header[data-studio-navigation] .eh-service-menu > summary > .eh-caret {
  margin-inline-start: 0;
  color: #edda9d;
  font-size: .8rem;
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav > .pilot-company > summary {
  position: relative;
}

body .eh-header[data-studio-navigation] .pilot-company > summary::after {
  margin-inline-start: 0;
  border-color: #edda9d;
  flex-shrink: 0;
}

body .eh-header[data-studio-navigation] .pilot-company[open] > summary::after {
  transform: rotate(225deg) translate(-.08rem, -.08rem);
}

body .eh-header[data-studio-navigation] .pilot-mobile-services {
  --studio-action-surface: var(--studio-nav-surface);
  border-color: transparent;
  border-radius: .72rem;
  background: var(--studio-action-surface);
  color: var(--studio-nav-text);
  touch-action: manipulation;
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-service-menu > .eh-mega {
  border: 1px solid var(--studio-nav-edge);
  border-radius: 1rem;
  background: var(--studio-nav-panel);
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mega :is(.eh-mega-areas, .eh-mega-groups, .eh-mega-results) {
  min-inline-size: 0;
  padding: .5rem;
  border-color: var(--studio-nav-edge);
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mega :is(a, button) {
  border-radius: .55rem;
  overflow-wrap: anywhere;
  touch-action: manipulation;
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mega :is(a, button):is(:hover, :focus-visible, [aria-expanded="true"], [aria-current="page"]) {
  background-color: var(--studio-nav-active);
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav .pilot-company-links {
  box-sizing: border-box;
  padding: .4rem;
  border: 1px solid var(--studio-nav-edge);
  border-radius: .9rem;
  background: var(--studio-nav-panel);
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav .pilot-company-links a {
  box-sizing: border-box;
  min-block-size: 44px;
  max-inline-size: 100%;
  padding: .45rem .7rem;
  border: 0;
  border-radius: .48rem;
  color: var(--studio-nav-text);
  line-height: 1.35;
  overflow-wrap: anywhere;
  touch-action: manipulation;
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav .pilot-company-links a:is(:hover, :focus-visible, [aria-current="page"]) {
  background: var(--studio-nav-active);
  color: var(--studio-nav-text);
}

body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .pilot-company-links a:focus-visible {
  outline-offset: -2px;
}

@media (min-width: 1025px) {
  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav {
    column-gap: clamp(.42rem, .85vw, 1.05rem);
  }

  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav > a:not(.pilot-header-consult) {
    padding-inline: clamp(.24rem, .36vw, .42rem);
  }

  /* A pointer can cross directly from the raised trigger into its flyout. */
  body .eh-header[data-studio-navigation] .pilot-company[open] > summary::before {
    content: '';
    position: absolute;
    inset: 100% 0 auto;
    block-size: .35rem;
  }

  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav .pilot-company-links {
    min-inline-size: max(100%, 11.5rem);
    max-inline-size: min(16rem, calc(100vw - 2rem));
    box-shadow: 0 10px 28px #0c22275c;
  }

  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-service-menu > .eh-mega {
    overflow: hidden;
    box-shadow: 0 14px 36px #0c22275c;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-pilot-header][data-studio-navigation] {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: .35rem;
  }

  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-pilot-header][data-studio-navigation] .eh-mainnav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    flex-wrap: nowrap;
  }

  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-pilot-header][data-studio-navigation] .eh-header-tools {
    grid-column: 2;
    grid-row: 1;
  }

  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-pilot-header][data-studio-navigation] .eh-brand {
    justify-self: start;
    inline-size: clamp(10rem, 16vw, 12rem);
    max-inline-size: 100%;
  }

  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-pilot-header][data-studio-navigation] .eh-brand img {
    inline-size: 100%;
    block-size: auto;
  }
}

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] :is(.eh-mainnav > a, .eh-mainnav > details > summary) {
    transition: background-color .18s ease-out, color .18s ease-out, transform .18s ease-out;
  }

  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] :is(.eh-mainnav > a, .eh-mainnav > details > summary):hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] :is(.eh-mainnav > a, .eh-mainnav > details > summary) {
    transform: none;
    transition: none;
  }
}

@media (max-width: 1024px) {
  body .eh-header[data-studio-navigation] {
    --studio-nav-peer-height: 50px;
  }

  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav {
    gap: .45rem;
  }

  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation][data-menu-open="true"] .eh-mainnav {
    --studio-nav-height: calc(100dvh - var(--studio-header-height, 76px) - var(--eh-admin-offset, 0px));
    box-sizing: border-box;
    block-size: var(--studio-nav-height);
    max-block-size: var(--studio-nav-height);
    padding-block-end: max(1.4rem, env(safe-area-inset-bottom));
    border-block-end: 0;
    box-shadow: none;
  }

  html:has(.eh-header[data-studio-navigation][data-menu-open="true"]) {
    overflow: hidden;
  }

  body:has(.eh-header[data-studio-navigation][data-menu-open="true"]) :is(main, .eh-footer) {
    visibility: hidden;
  }

  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] :is(.eh-mainnav > a, .eh-mainnav > details > summary) {
    block-size: auto;
    padding-block: .45rem;
    overflow-wrap: anywhere;
  }

  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-mainnav .pilot-company-links {
    margin-block: .55rem;
  }

  body :is(.ebt-site, #elitebiz-homepage-v4) .eh-header[data-studio-navigation] .eh-service-menu > .eh-mega {
    margin-block: .55rem;
    margin-inline: 0;
  }
}

body .eh-footer[data-studio-footer] {
  --studio-footer-ink: #fcfbf8;
  --studio-footer-light: #c6d5d1;
  --studio-footer-accent: #f0dba7;
  --studio-footer-rule: #526969;
  padding-block: clamp(2rem, 5vw, 4.5rem) 1.2rem;
  color: var(--studio-footer-ink);
  background: linear-gradient(135deg, #20383c, #152a30);
}

body [data-studio-footer] .studio-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.8rem clamp(1rem, 3.1vw, 3rem);
  margin-block-end: clamp(1.6rem, 3.8vw, 3rem);
}

body [data-studio-footer] :is(.studio-footer-brand, .studio-footer-contact) {
  grid-column: 1 / -1;
  min-inline-size: 0;
}

body [data-studio-footer] .studio-footer-brand > a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
}

body [data-studio-footer] .studio-footer-brand .eh-footer-logo {
  inline-size: min(100%, 13rem);
  block-size: auto;
}

body [data-studio-footer] .studio-footer-brand .eh-footer-brief {
  max-inline-size: 34ch;
  margin: 1rem 0 0;
  color: var(--studio-footer-light);
  line-height: 1.65;
}

body :is(.ebt-site, #elitebiz-homepage-v4) [data-studio-footer] .studio-footer-grid :is(.eh-footer-nav, .pr-footer-quick) {
  display: block;
  min-inline-size: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

body :is(.ebt-site, #elitebiz-homepage-v4) [data-studio-footer] .studio-footer-grid h2 {
  margin: 0 0 .45rem;
  color: var(--studio-footer-accent);
  font: 700 clamp(1rem, 1.5vw, 1.15rem) / 1.35 EBTManrope, Manrope, system-ui, sans-serif;
  text-wrap: balance;
}

body [data-studio-footer] .studio-footer-grid ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

body [data-studio-footer] .studio-footer-grid ul li {
  display: block;
  min-inline-size: 0;
  margin: 0;
}

body [data-studio-footer] .studio-footer-grid ul li a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  inline-size: fit-content;
  max-inline-size: 100%;
  min-block-size: 44px;
  height: auto;
  padding: .4rem 0;
  border: 0;
  color: var(--studio-footer-ink);
  background: transparent;
  font: 550 .91rem / 1.45 EBTManrope, Manrope, system-ui, sans-serif;
  overflow-wrap: anywhere;
  text-align: start;
  text-decoration: none;
  text-underline-offset: .24em;
}

body [data-studio-footer] .studio-footer-grid ul li a:is(:hover, :focus-visible) {
  color: var(--studio-footer-accent);
  background: transparent;
  box-shadow: none;
  transform: none;
  text-decoration: underline;
}

body [data-studio-footer] .studio-footer-grid .pr-footer-quick li:last-child > a {
  margin-block-start: .35rem;
  justify-content: center;
  padding: .55rem .8rem;
  border: 1px solid #607775;
  border-radius: .65rem;
  background: #2c484b;
  color: var(--studio-footer-ink);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
}

body [data-studio-footer] .studio-footer-grid .pr-footer-quick li:last-child > a:is(:hover, :focus-visible) {
  background: #37555a;
  border-color: var(--studio-footer-accent);
  color: var(--studio-footer-ink);
  text-decoration: none;
}

body [data-studio-footer] .studio-footer-contact .eh-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .65rem 0 0;
}

body [data-studio-footer] .studio-footer-contact .eh-footer-socials a {
  min-inline-size: 44px;
  min-block-size: 44px;
  border-color: var(--studio-footer-rule);
}

body [data-studio-footer] .studio-footer-contact .eh-footer-socials a:is(:hover, :focus-visible) {
  border-color: var(--studio-footer-accent);
  background: #355257;
}

body [data-studio-footer] .eh-legal {
  padding: .55rem 0;
  margin: 0;
  border-block: 1px solid var(--studio-footer-rule);
}

body [data-studio-footer] .eh-legal > summary {
  min-block-size: 44px;
  color: var(--studio-footer-accent);
  overflow-wrap: anywhere;
}

body [data-studio-footer] .eh-footer-bottom {
  align-items: center;
  justify-content: flex-start;
  column-gap: 1.2rem;
  row-gap: 0;
  padding-block-start: .65rem;
  color: var(--studio-footer-light);
  overflow-wrap: anywhere;
}

body [data-studio-footer] .eh-footer-bottom .ebt-cookie-settings-link {
  min-block-size: 44px;
  color: var(--studio-footer-ink);
  white-space: normal;
}

body [data-studio-footer] .eh-footer-bottom .ebt-cookie-settings-link:is(:hover, :focus-visible) {
  color: var(--studio-footer-accent);
}

body [data-studio-footer] :is(a, summary):focus-visible {
  outline: 2px solid var(--studio-footer-accent);
  outline-offset: 3px;
}

@media (min-width: 900px) {
  body [data-studio-footer] .studio-footer-grid[data-studio-footer-columns="4"] {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, .95fr) minmax(0, 1.15fr) minmax(0, 1fr);
  }

  body [data-studio-footer] .studio-footer-grid[data-studio-footer-columns="3"] {
    grid-template-columns: minmax(0, 1.28fr) repeat(2, minmax(0, 1fr));
  }

  body [data-studio-footer] :is(.studio-footer-brand, .studio-footer-contact) {
    grid-column: auto;
  }

  body [data-studio-footer] .eh-footer-bottom > span:first-child {
    margin-inline-end: auto;
  }
}

@media (max-width: 359px) {
  body [data-studio-footer] .studio-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.35rem;
  }
}
