/* Consent2: use the available desktop banner width for its heading. */
@media (min-width: 769px) {
  body .oc2-root .oc2-banner .oc2-title {
    max-width: none;
  }
}

/* MIKANIT mobile header and Helix off-canvas menu. */
@media (max-width: 991.98px) {
  #sp-header .container-fluid {
    height: 100%;
  }

  #sp-header .logo a {
    margin-top: 10px;
  }

  #sp-header #offcanvas-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid #d8e4db;
    border-radius: 12px;
    background: #f8fbf9;
    color: #15462d;
    box-shadow: 0 2px 8px rgba(7, 63, 30, .06);
  }

  #sp-header #offcanvas-toggler:hover,
  #sp-header #offcanvas-toggler:focus-visible {
    background: #eaf4ed;
    border-color: #82af91;
    color: #0b5b2a;
    box-shadow: 0 4px 14px rgba(7, 63, 30, .10);
  }

  body.offcanvs-position-right .offcanvas-menu {
    --mikanit-drawer-width: min(360px, calc(100vw - 44px));
    width: var(--mikanit-drawer-width);
    background: #fcfefd;
    border-left: 1px solid #dce8df;
    box-shadow: -24px 0 60px rgba(4, 32, 17, .18);
  }

  body.offcanvs-position-right:not(.offcanvas-active) .offcanvas-menu {
    right: calc(-1 * var(--mikanit-drawer-width)) !important;
  }

  body.offcanvs-position-right.offcanvas-active .offcanvas-menu {
    right: 0 !important;
  }

  body .offcanvas-overlay {
    background: rgba(5, 30, 16, .58);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  .offcanvas-menu > .d-flex:first-child {
    min-height: 78px;
    padding: 16px 20px !important;
    border-bottom: 1px solid #e7eee9;
  }

  .offcanvas-menu > .d-flex:first-child .logo,
  .offcanvas-menu > .d-flex:first-child .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 128px;
    width: 128px;
    height: 42px;
    overflow: hidden;
  }

  .offcanvas-menu > .d-flex:first-child .logo-image {
    display: block;
    flex: 0 0 128px;
    width: 128px !important;
    height: 128px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
  }

  .offcanvas-menu .close-offcanvas {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid #d8e4db;
    border-radius: 12px;
    background: #f4f8f5;
    color: #17492e;
    box-shadow: 0 2px 8px rgba(7, 63, 30, .05);
  }

  .offcanvas-menu .close-offcanvas:hover,
  .offcanvas-menu .close-offcanvas:focus-visible {
    background: #e8f3eb;
    border-color: #82af91;
    color: #0b5b2a;
  }

  .offcanvas-menu .offcanvas-inner {
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    padding: 18px 18px 28px;
  }

  .offcanvas-menu .offcanvas-inner .header-modules {
    margin-bottom: 0 !important;
  }

  .offcanvas-menu .offcanvas-inner ul.menu {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
  }

  body .offcanvas-menu .offcanvas-inner ul.menu > li > a,
  body .offcanvas-menu .offcanvas-inner ul.menu > li > span {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 11px 14px;
    border: 0;
    border-radius: 10px;
    color: #1d2e22;
    background: transparent;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.25;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
  }

  body .offcanvas-menu .offcanvas-inner ul.menu > li > a:hover,
  body .offcanvas-menu .offcanvas-inner ul.menu > li > a:focus-visible {
    color: #0b5b2a;
    background: #edf6f0;
  }

  body .offcanvas-menu .offcanvas-inner ul.menu > li.active > a,
  body .offcanvas-menu .offcanvas-inner ul.menu > li > a[aria-current="page"] {
    color: #0b5b2a;
    background: #e9f3ec;
    box-shadow: inset 3px 0 #0b5b2a;
  }

  body .offcanvas-menu .offcanvas-inner ul.menu > li > a[href^="tel:"] {
    justify-content: center;
    min-height: 50px;
    margin-top: 15px;
    padding: 12px 14px !important;
    border: 1px solid #a9cbb4 !important;
    background: #fff;
    color: #164d2e;
    font-weight: 750;
    box-shadow: 0 3px 10px rgba(7, 63, 30, .05);
  }

  body .offcanvas-menu .offcanvas-inner ul.menu > li > a[href^="tel:"]:hover,
  body .offcanvas-menu .offcanvas-inner ul.menu > li > a[href^="tel:"]:focus-visible {
    background: #eef6f0;
    border-color: #0b5b2a !important;
  }

  body .offcanvas-menu .offcanvas-inner ul.menu > li > a.mikanit-header-cta {
    justify-content: center;
    min-height: 50px;
    margin-top: 9px;
    padding: 12px 14px !important;
    border: 1px solid #f68a3d !important;
    background: #f68a3d;
    color: #101713 !important;
    font-weight: 750;
    box-shadow: 0 8px 18px rgba(223, 111, 37, .16);
  }

  body .offcanvas-menu .offcanvas-inner ul.menu > li > a.mikanit-header-cta:hover,
  body .offcanvas-menu .offcanvas-inner ul.menu > li > a.mikanit-header-cta:focus-visible {
    background: #ee7d2e;
    border-color: #ee7d2e !important;
    box-shadow: 0 10px 22px rgba(223, 111, 37, .22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .offcanvas-menu .offcanvas-inner ul.menu > li > a {
    transition: none;
  }
}
