/* Homepage navbar: OLUS Website Updates 2026 instances 12626:7103,
 * 12749:3694, 12882:6795 and 12882:4900. Poppins and Small CTA states
 * reuse the brand tokens and primary/secondary button rules.
 * Full navigation from 992px, matching the production homepage breakpoint.
 * Expanded compact navigation follows the supplied menu screenshot and Canada motion.
 */
body.page-template-template-homepage-2026 #header {
  font-family: var(--font-family-poppins);
}
body.page-template-template-homepage-2026 #header :is(a, button, .link-text, .link-text div) {
  font-family: var(--font-family-poppins);
}
body.page-template-template-homepage-2026 #header .header-wrapper {
  background: rgb(255 255 255 / 80%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
body.page-template-template-homepage-2026 #header .nav-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  min-height: 34px;
  margin: 0;
  padding: var(--button-padding-y-small) var(--button-padding-x-small);
  border: 0;
  border-radius: var(--radius-rounded-full);
  font: 600 var(--button-font-size-small) / 18px var(--font-family-poppins);
  letter-spacing: 0;
  color: var(--color-primary-openlane-blue);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--color-primary-openlane-blue);
  text-decoration: none;
  transition: color 150ms, background-color 150ms, box-shadow 150ms;
}
body.page-template-template-homepage-2026 #header .nav-button:is(.btn-full, .nav-button-signup) {
  background: var(--color-primary-openlane-blue);
  color: var(--color-primary-core-white);
  box-shadow: none;
}
body.page-template-template-homepage-2026 #header .nav-button:hover {
  background: var(--color-primary-openlane-blue);
  color: var(--color-primary-core-white);
  box-shadow: none;
}
body.page-template-template-homepage-2026 #header .nav-button:is(.btn-full, .nav-button-signup):hover {
  background: var(--color-primary-onward-blue);
  color: var(--color-primary-core-white);
}
body.page-template-template-homepage-2026 #header .nav-button:focus-visible {
  background: var(--color-primary-openlane-blue);
  color: var(--color-primary-core-white);
  box-shadow: inset 0 0 0 2px var(--color-primary-onward-blue), 0 0 4px rgb(0 0 0 / 25%);
  outline: none;
}
body.page-template-template-homepage-2026 #header .nav-button:is(.btn-full, .nav-button-signup):focus-visible {
  background: var(--color-primary-onward-blue);
  box-shadow: inset 0 0 0 2.5px var(--color-primary-openlane-blue);
}
body.page-template-template-homepage-2026 #header #main-menu a:not(.nav-button) {
  font: 600 14.86687px / 16.99071px var(--font-family-poppins);
  letter-spacing: 0;
  color: var(--color-primary-onward-blue);
}
body.page-template-template-homepage-2026 #header #main-menu a:not(.nav-button):is(:hover, :focus-visible) {
  color: var(--color-primary-openlane-blue) !important;
}
body.page-template-template-homepage-2026 #header #main-menu .link-text > svg path {
  fill: currentColor !important;
}
body.page-template-template-homepage-2026 #header #main-menu a:not(.nav-button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}
body.page-template-template-homepage-2026 #header .sub-menu li a div {
  font: var(--openlane-web-label);
  color: var(--color-neutral-medium-silver);
}
body.page-template-template-homepage-2026 #header #main-menu .sub-menu li a {
  font-size: var(--typography-body-default);
  line-height: 1.75 !important;
}
body.page-template-template-homepage-2026 #header .sub-menu {
  border-radius: var(--radius-rounded-2xl);
}
body.page-template-template-homepage-2026 #header .menu-main-menu-container .menu-item::after {
  background: transparent;
}
/* Keep the full desktop menu only where its logo, labels, and actions fit. */
@media (min-width: 992px) {
  body.page-template-template-homepage-2026 #header #main-menu .menu > li > a {
    padding: 14px 16px;
  }
  body.page-template-template-homepage-2026 #header .column-utility .row {
    gap: var(--gaps-sm);
    align-items: center;
  }
  body.page-template-template-homepage-2026 #header .column-utility .row .col {
    padding: 6px 0;
  }
  body.page-template-template-homepage-2026 #header .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    margin-top: 0 !important;
  }
}
@media (max-width: 991px) {
  body.page-template-template-homepage-2026 #header .header-container {
    padding: 12px;
    width: 100%;
    max-width: 100%;
  }
  body.page-template-template-homepage-2026 #header .header-wrapper { height: 52px; }
  body.page-template-template-homepage-2026 #header .header-wrapper > .row > .col.column-utility,
  body.page-template-template-homepage-2026 #header #desktop-navicon { display: none; }
  body.page-template-template-homepage-2026 #header .header-wrapper > .row > .col.column-logo {
    flex: 1 0 100%; max-width: 100%;
  }
  body.page-template-template-homepage-2026 #header #logo { height: 52px; padding: 14px 17px; }
  body.page-template-template-homepage-2026 #header #logo .logo { width: 160px; height: 24px; }
  body.page-template-template-homepage-2026 #header #navicon {
    display: block;
    width: 44px;
    height: 44px;
    top: 4px;
    right: 4px;
    background: var(--color-primary-openlane-blue) url('../images/homepage-2026/page-menu.svg') center / 21px 21px no-repeat;
  }
  body.page-template-template-homepage-2026 #header #navicon::before,
  body.page-template-template-homepage-2026 #header #navicon::after { display: none; }
  body.page-template-template-homepage-2026 #header #navicon:focus-visible { outline: 2px solid var(--color-primary-openlane-blue); outline-offset: 1px; }
  body.page-template-template-homepage-2026 #header #main-menu {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transform: none;
    width: 0;
    height: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: var(--color-primary-openlane-blue);
    border-radius: var(--radius-rounded-3xl);
    overflow: hidden;
  }
  body.page-template-template-homepage-2026 #header #main-menu::before { content: none; }
  body.page-template-template-homepage-2026 #header #main-menu-nav {
    width: 100%; max-height: none; min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 0 1 auto;
  }
  body.page-template-template-homepage-2026 #header #main-menu .menu {
    display: block; width: 100%;
  }
  body.page-template-template-homepage-2026 #header #main-menu .menu-item {
    width: 100%; max-width: 100%;
    opacity: 1; transform: none;
  }
  body.page-template-template-homepage-2026 #header #main-menu .menu > li > a {
    display: block;
    padding: 12px 24px;
    text-align: left;
    font: 600 28px / 42px var(--font-family-poppins);
    letter-spacing: normal;
    color: var(--color-primary-core-white);
  }
  body.page-template-template-homepage-2026 #header #main-menu .menu > li > a:is(:hover, :focus-visible) {
    color: var(--color-primary-core-white) !important;
    text-decoration: none !important;
  }
  body.page-template-template-homepage-2026 #header #main-menu .link-text > svg { width: 25px; height: 31px; margin-left: 10px; opacity: 0.6; }
  body.page-template-template-homepage-2026 #header #main-menu .menu > li > a svg path { fill: currentColor !important; }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu {
    position: relative;
    left: auto;
    min-width: 0 !important;
    width: calc(100% - 32px);
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0 16px !important;
    opacity: 1;
    box-shadow: none;
    pointer-events: none;
    background: var(--color-primary-core-white);
  }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu li { padding: 0; }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu li a { font-size: 22px; line-height: 1.4 !important; color: var(--color-primary-onward-blue) !important; }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu li a div { font: 400 18px / 1.4 var(--font-family-poppins); letter-spacing: normal; color: #6d6d6d; }
  body.page-template-template-homepage-2026 #header #main-menu .menu-item.sub-menu-toggle > .sub-menu { max-height: 1000px; pointer-events: auto; padding-block: 8px; }
  body.page-template-template-homepage-2026 #header #main-menu-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
    position: static;
    padding: 16px 24px 8px;
    margin: 0;
    opacity: 1;
    transform: none;
  }
  body.page-template-template-homepage-2026 #header #main-menu-buttons .nav-button {
    font-size: var(--Font-Label);
    line-height: 14px;
    color: var(--color-primary-core-white);
    box-shadow: inset 0 0 0 2px var(--color-primary-core-white);
  }
  body.page-template-template-homepage-2026 #header #main-menu-buttons .nav-button-signup {
    color: var(--color-primary-openlane-blue);
    background: var(--color-primary-core-white);
    box-shadow: none;
  }
  body.page-template-template-homepage-2026 #header #main-menu-buttons .nav-button:hover {
    background: transparent;
    color: var(--color-primary-core-white);
    box-shadow: inset 0 0 0 2.5px var(--color-primary-core-white);
  }
  body.page-template-template-homepage-2026 #header #main-menu-buttons .nav-button-signup:hover {
    background: var(--color-primary-core-white);
    color: var(--color-primary-openlane-blue);
    box-shadow: none;
  }
  body.page-template-template-homepage-2026 #header #main-menu-buttons .nav-button:focus-visible {
    background: var(--color-primary-core-white);
    color: var(--color-primary-openlane-blue);
    box-shadow: none;
  }
  body.page-template-template-homepage-2026 #header #main-menu-buttons .nav-button-signup:focus-visible {
    background: transparent;
    color: var(--color-primary-core-white);
    box-shadow: inset 0 0 0 2.5px var(--color-primary-openlane-blue);
  }
  .header-mobile-open body.page-template-template-homepage-2026 #header #main-menu {
    width: 100%;
    height: calc(100dvh - 24px);
    padding: 76px 0 16px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .header-mobile-style body.page-template-template-homepage-2026 #header .header-wrapper { background: transparent; }
  .header-mobile-style body.page-template-template-homepage-2026 #header #navicon { background: var(--color-primary-core-white); }
  .header-mobile-style body.page-template-template-homepage-2026 #header #navicon::before,
  .header-mobile-style body.page-template-template-homepage-2026 #header #navicon::after {
    display: block;
    width: 18px;
    left: calc(50% - 9px);
    top: calc(50% - 1px);
    background: var(--color-primary-openlane-blue);
  }
  .header-mobile-style body.page-template-template-homepage-2026 #header #navicon::before { transform: rotate(45deg); }
  .header-mobile-style body.page-template-template-homepage-2026 #header #navicon::after { transform: rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) {
  body.page-template-template-homepage-2026 #header * { transition-duration: 0s !important; }
}

/* Override the legacy menu's !important hover colors on the dark actions. */
@media (max-width: 991px) {
  body.page-template-template-homepage-2026 #header #main-menu-buttons .nav-button:hover {
    color: var(--color-primary-core-white) !important;
  }
  body.page-template-template-homepage-2026 #header #main-menu-buttons .nav-button-signup:hover,
  body.page-template-template-homepage-2026 #header #main-menu-buttons .nav-button:focus-visible {
    color: var(--color-primary-openlane-blue) !important;
  }
  body.page-template-template-homepage-2026 #header #main-menu-buttons .nav-button-signup:focus-visible {
    color: var(--color-primary-core-white) !important;
  }
}

/* Keep the fixed navigation below WordPress's logged-in toolbar. */
body.page-template-template-homepage-2026 #header .header-container { top: 0; }
body.admin-bar.page-template-template-homepage-2026 #header .header-container { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar.page-template-template-homepage-2026 #header .header-container { top: 46px; }
  .header-mobile-open body.admin-bar.page-template-template-homepage-2026 #header #main-menu { height: calc(100dvh - 70px); }
}
@media (min-width: 783px) and (max-width: 991px) {
  .header-mobile-open body.admin-bar.page-template-template-homepage-2026 #header #main-menu { height: calc(100dvh - 56px); }
}

/* Collapsed dropdowns must not expose invisible keyboard targets. */
body.page-template-template-homepage-2026 #header .sub-menu { visibility: hidden; }
@media (min-width: 992px) {
  body.page-template-template-homepage-2026 #header .menu-item-has-children:is(:hover, :focus-within) > .sub-menu { visibility: visible; }
}
@media (max-width: 991px) {
  body.page-template-template-homepage-2026 #header .menu-item.sub-menu-toggle > .sub-menu { visibility: visible; }
}

/* Exact closed-state geometry from the four page design instances. */
body.page-template-template-homepage-2026 #header .header-container {
  width: 100%; max-width: 100%; padding: 12px;
}
body.page-template-template-homepage-2026 #header .header-wrapper {
  position: relative; height: 50px; border-radius: 36px;
}
body.page-template-template-homepage-2026 #header .header-wrapper > .row {
  height: 100%; margin: 0; align-items: center; justify-content: space-between;
}
body.page-template-template-homepage-2026 #header .header-wrapper > .row > .col.column-logo {
  width: 207px; max-width: 207px; flex: 0 0 207px; padding: 0;
}
body.page-template-template-homepage-2026 #header #logo {
  height: 50px; padding: 0 16px; display: flex; align-items: center;
}
body.page-template-template-homepage-2026 #header #logo .logo {
  width: 175px; height: 23px; position: relative;
}
body.page-template-template-homepage-2026 #header #logo picture {
  display: flex; width: 100%; height: 100%; align-items: center; justify-content: center;
}
body.page-template-template-homepage-2026 #header #logo picture img.logo-default {
  position: static; width: auto; height: auto; max-width: none;
}
body.page-template-template-homepage-2026 #header .header-wrapper > .row > .col.column-utility {
  display: block; width: auto; max-width: none; flex: 0 0 auto;
  padding: 0 8px 0 0 !important;
}
body.page-template-template-homepage-2026 #header .column-utility .row {
  margin: 0; gap: 8px; align-items: center;
}
body.page-template-template-homepage-2026 #header .column-utility .row .col {
  padding: 0; flex: 0 0 auto; width: auto; max-width: none;
}
body.page-template-template-homepage-2026 #header #desktop-navicon { display: none; }
body.page-template-template-homepage-2026 #header #navicon {
  top: 8px; right: 8px; width: 35px; height: 34px;
}
@media (min-width: 992px) {
  body.page-template-template-homepage-2026 #header #navicon { display: none; }
  body.page-template-template-homepage-2026 #header #main-menu {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    height: 50px; display: flex; align-items: center;
  }
  body.page-template-template-homepage-2026 #header #main-menu .menu {
    display: flex; gap: 40px; align-items: center;
  }
  body.page-template-template-homepage-2026 #header #main-menu .menu > li > a {
    padding: 16.5px 0; white-space: nowrap;
  }
  body.page-template-template-homepage-2026 #header #main-menu .link-text > svg { display: none; }
  body.page-template-template-homepage-2026 #header .menu > .menu-item-has-children > a .link-text::after {
    content: ''; display: inline-block; width: 12.041px; height: 7.426px;
    margin-left: 8px; background: url('../images/homepage-2026/page-chevron.svg') center no-repeat;
  }
}
@media (min-width: 767px) and (max-width: 991px) {
  body.page-template-template-homepage-2026 #header .header-wrapper > .row > .col.column-utility { padding-right: 51px !important; }
  body.page-template-template-homepage-2026 #header #main-menu-buttons { display: none; }
}
@media (max-width: 991px) {
  body.page-template-template-homepage-2026 #header .header-wrapper { height: 46px; }
  body.page-template-template-homepage-2026 #header #logo { height: 46px; padding: 0 12px; }
  body.page-template-template-homepage-2026 #header #logo .logo { width: 152px; height: 20px; }
  body.page-template-template-homepage-2026 #header .header-wrapper > .row > .col.column-logo { width: 176px; max-width: 176px; flex-basis: 176px; }
  body.page-template-template-homepage-2026 #header #navicon { top: 6px; right: 6px; }
}
@media (min-width: 767px) and (max-width: 991px) {
  body.page-template-template-homepage-2026 #header .header-wrapper > .row > .col.column-utility { padding-right: 49px !important; }
}
@media (max-width: 766px) {
  body.page-template-template-homepage-2026 #header .header-wrapper > .row > .col.column-utility { display: none; }
}
.header-mobile-style body.page-template-template-homepage-2026 #header #logo picture { display: none; }
/* Preserve the Figma logo frame and the Small CTA component widths. */
body.page-template-template-homepage-2026 #header #logo .logo { flex-shrink: 0; }
body.page-template-template-homepage-2026 #header .col-login .nav-button { width: 76px; }
body.page-template-template-homepage-2026 #header .col-signup .nav-button { width: 86px; }
@media (min-width: 992px) {
  body.page-template-template-homepage-2026 #header #main-menu { left: calc(50% + 6.5px); }
  body.page-template-template-homepage-2026 #header #main-menu .menu > li:nth-child(1) { width: 148.756px; }
  body.page-template-template-homepage-2026 #header #main-menu .menu > li:nth-child(2) { width: 82.169px; }
  body.page-template-template-homepage-2026 #header #main-menu .menu > li:nth-child(3) { width: 83.32px; }
  body.page-template-template-homepage-2026 #header #main-menu .menu > li:nth-child(4) { width: 163.434px; }
}
body.page-template-template-homepage-2026 #header #logo .logo { max-width: none; }
@media (max-width: 991px) {
  body.page-template-template-homepage-2026 #header #main-menu .menu { display: flex; flex-direction: column; }
  .header-mobile-style body.page-template-template-homepage-2026 #header .column-utility .nav-button {
    color: var(--color-primary-core-white); box-shadow: inset 0 0 0 2px var(--color-primary-core-white);
  }
  .header-mobile-style body.page-template-template-homepage-2026 #header .column-utility .btn-full {
    background: var(--color-primary-core-white); color: var(--color-primary-openlane-blue); box-shadow: none;
  }
}

/* The current site's compact mobile menu scales down below 381px. */
@media (max-width: 380px) {
  body.page-template-template-homepage-2026 #header #main-menu .menu > li > a { font-size: 24px; line-height: 36px; }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu li a { font-size: 18px; }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu li a div { font-size: var(--Font-Label); }
}

/* Expanded menu: screenshot layout, Canada panel easing and stagger timings.
 * Keep the full layout behind a clip so opening and closing do not reflow links.
 * The existing synchronous toggle also lets a second tap reverse the transition.
 */
@media (max-width: 991px) {
  body.page-template-template-homepage-2026 #header #main-menu {
    box-sizing: border-box;
    width: 100%;
    height: calc(100dvh - 24px);
    padding: 76px 0 16px;
    border-radius: var(--radius-card-lg);
    clip-path: inset(0 0 calc(100% - 46px) 0 round 24px);
    transition: clip-path 300ms cubic-bezier(.62, 0, .36, 1),
                opacity 200ms 100ms, visibility 0s 300ms;
  }
  .header-mobile-open body.page-template-template-homepage-2026 #header #main-menu {
    clip-path: inset(0 0 0 0 round 24px);
    transition: clip-path 300ms cubic-bezier(.62, 0, .36, 1),
                opacity 200ms, visibility 0s;
  }
  body.page-template-template-homepage-2026 #header #main-menu .menu > .menu-item {
    opacity: 0;
    transform: translateY(100%);
    transition: transform 400ms cubic-bezier(0, .62, .36, 1), opacity 500ms;
    transition-delay: 0s;
  }
  .header-mobile-open body.page-template-template-homepage-2026 #header #main-menu .menu > .menu-item {
    opacity: 1;
    transform: none;
    transition-delay: 50ms;
  }
  .header-mobile-open body.page-template-template-homepage-2026 #header #main-menu .menu > .menu-item:nth-child(2) { transition-delay: 100ms; }
  .header-mobile-open body.page-template-template-homepage-2026 #header #main-menu .menu > .menu-item:nth-child(3) { transition-delay: 150ms; }
  .header-mobile-open body.page-template-template-homepage-2026 #header #main-menu .menu > .menu-item:nth-child(4) { transition-delay: 200ms; }
  body.page-template-template-homepage-2026 #header #main-menu-buttons {
    display: flex;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    opacity: 0;
    transform: translateY(100%);
    transition: transform 200ms cubic-bezier(0, .62, .36, 1), opacity 200ms;
    transition-delay: 0s;
  }
  .header-mobile-open body.page-template-template-homepage-2026 #header #main-menu-buttons {
    opacity: 1;
    transform: none;
    transition-delay: 600ms;
  }
  /* The expanded panel owns the actions at every compact breakpoint. */
  .header-mobile-style body.page-template-template-homepage-2026 #header .header-wrapper > .row > .col.column-utility { visibility: hidden; }
  body.page-template-template-homepage-2026 #header #main-menu .link-text > svg {
    height: 16px;
    vertical-align: middle;
    transition: transform 200ms;
  }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu-toggle > a .link-text > svg { transform: rotate(180deg); }
  body.admin-bar.page-template-template-homepage-2026 #header #main-menu { height: calc(100dvh - 56px); }
}
@media (max-width: 782px) {
  body.admin-bar.page-template-template-homepage-2026 #header #main-menu { height: calc(100dvh - 70px); }
}
@media (prefers-reduced-motion: reduce) {
  body.page-template-template-homepage-2026 #header #main-menu,
  body.page-template-template-homepage-2026 #header #main-menu .menu > .menu-item,
  body.page-template-template-homepage-2026 #header #main-menu-buttons,
  body.page-template-template-homepage-2026 #header #main-menu .link-text > svg {
    transition: none !important;
  }
}

/* Public OPENLANE mobile menu reference, verified October 20, 2026.
 * Keep the page's closed header and desktop navigation; match the open menu
 * below the live site's 992px desktop breakpoint.
 */
@media (max-width: 991px) {
  .header-mobile-style body.page-template-template-homepage-2026 #header .header-container { padding: 8px; }
  .header-mobile-style body.page-template-template-homepage-2026 #header .header-wrapper { height: 52px; border-radius: 36px; }
  .header-mobile-style body.page-template-template-homepage-2026 #header #logo { display: block; height: 52px; padding: 15px 17px; }
  .header-mobile-style body.page-template-template-homepage-2026 #header #logo .logo { width: 160px; height: 24px; }
  .header-mobile-style body.page-template-template-homepage-2026 #header #navicon { width: 36px; height: 36px; top: 8px; right: 12px; }
  body.page-template-template-homepage-2026 #header #main-menu,
  .header-mobile-open body.page-template-template-homepage-2026 #header #main-menu {
    height: 100dvh;
    /* Balance the 14px clipped panel bottom when centering the content. */
    justify-content: center;
    padding: 100px 0 114px;
    border-radius: 28px;
    clip-path: inset(0 0 calc(100% - 46px) 0 round 28px);
  }
  .header-mobile-open body.page-template-template-homepage-2026 #header #main-menu { clip-path: inset(0 0 14px 0 round 28px); }
  body.page-template-template-homepage-2026 #header #main-menu-nav { flex: 0 1 auto; max-height: 100%; }
  body.page-template-template-homepage-2026 #header #main-menu .menu { gap: 0; }
  body.page-template-template-homepage-2026 #header #main-menu .menu > .menu-item { order: 0; }
  body.page-template-template-homepage-2026 #header #main-menu .menu > li > a { padding: 1vh 28px; }
  body.page-template-template-homepage-2026 #header #main-menu .link-text > svg { height: 31px; vertical-align: middle; }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu-toggle > a .link-text > svg { transform: none; }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu {
    width: 100%; min-width: 0 !important; margin: 0 !important;
    border-radius: 0; padding: 0 4px;
  }
  body.page-template-template-homepage-2026 #header #main-menu .menu-item.sub-menu-toggle > .sub-menu { padding: 0 4px; }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu li:first-child { padding-top: 18px; }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu li:last-child { padding-bottom: 16px; }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu .link-text > svg { height: 14px; width: auto; margin-left: 9px; margin-bottom: 1px; }
  body.page-template-template-homepage-2026 #header #main-menu-buttons {
    gap: 0; padding: 0 23px; margin-top: 15px;
  }
  body.page-template-template-homepage-2026 #header #main-menu-buttons .nav-button {
    display: inline-block; flex: 1 0 50%; width: 50%; max-width: 160px;
    min-height: 0; padding: 19px 32px; margin: 5px;
    border: 2px solid white; border-radius: 26px; box-shadow: none;
    font: 600 14px / 14px var(--font-family-poppins);
  }
  body.page-template-template-homepage-2026 #header #main-menu-buttons .nav-button:hover { box-shadow: none; }
  body.page-template-template-homepage-2026 #header #main-menu-buttons .nav-button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
  body.admin-bar.page-template-template-homepage-2026 #header #main-menu { height: calc(100dvh - 32px); }
}
@media (max-width: 380px) {
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu li a { padding: 5px 24px !important; }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu li:first-child { padding-top: 9px; }
  body.page-template-template-homepage-2026 #header #main-menu .sub-menu li:last-child { padding-bottom: 8px; }
}
@media (max-width: 782px) {
  body.admin-bar.page-template-template-homepage-2026 #header #main-menu { height: calc(100dvh - 46px); }
}
@media (max-width: 991px) and (max-height: 500px) {
  body.page-template-template-homepage-2026 #header #main-menu,
  .header-mobile-open body.page-template-template-homepage-2026 #header #main-menu { padding: 50px 0 64px; }
}

/* Fit the full navigation between the logo and actions on smaller desktops. */
@media (min-width: 992px) and (max-width: 1439px) {
  body.page-template-template-homepage-2026 #header #main-menu { left: 50%; }
  body.page-template-template-homepage-2026 #header #main-menu .menu { gap: 16px; }
  body.page-template-template-homepage-2026 #header #main-menu .menu > li:nth-child(n) { width: auto; }
}
