.phoa-navbar {
  min-height: 78px;
  display: grid;
  align-items: center;
  column-gap: 22px;
}

.phoa-site-header.has-registration-button .phoa-navbar {
  grid-template-columns: minmax(220px, 1fr) auto minmax(150px, 1fr);
}

.phoa-site-header.without-registration-button .phoa-navbar {
  grid-template-columns: minmax(220px, 285px) minmax(0, 1fr);
}

.phoa-navbar-logo {
  min-width: 0;
}

.phoa-navbar-logo img {
  width: auto;
  max-width: 100%;
  max-height: 72px;
}

.phoa-desktop-menu {
  min-width: 0;
}

.phoa-site-header.has-registration-button .phoa-desktop-menu {
  justify-self: center;
}

.phoa-site-header.without-registration-button .phoa-desktop-menu {
  justify-self: end;
}

.phoa-desktop-menu nav > ul {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.phoa-desktop-cta {
  justify-self: end;
}

.phoa-sidebar-toggle {
  width: 48px;
  height: 48px;
  display: none;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 1;
  transition: opacity 1s ease;
}

body.phoa-sidebar-open .phoa-sidebar-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.phoa-sidebar-toggle span {
  width: 29px;
  height: 3px;
  display: block;
  border-radius: 2px;
  background: #0e3c6d;
  transition: background-color 1s ease;
}

.phoa-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000099;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(4, 22, 39, 0.64);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 1s ease, visibility 0s linear 1s;
}

.phoa-mobile-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000100;
  width: min(88vw, 420px);
  min-height: 100vh;
  min-height: 100dvh;
  display: block;
  overflow: hidden;
  padding: 0;
  background: #fff;
  box-shadow: 18px 0 52px rgba(4, 22, 39, 0.22);
  text-align: center;
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 1s;
}

.phoa-sidebar-scroll-content {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 24px 43px 28px 30px;
  scrollbar-width: none;
}

.phoa-sidebar-scroll-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.phoa-sidebar-scrollbar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: 13px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e2e7ec;
  background: #fff;
  user-select: none;
}

.phoa-scrollbar-arrow {
  position: relative;
  width: 12px;
  height: 17px;
  flex: 0 0 17px;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: pointer;
}

.phoa-scrollbar-arrow::before {
  content: "";
  position: absolute;
  left: 3px;
  width: 0;
  height: 0;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
}

.phoa-scrollbar-up::before {
  top: 5px;
  border-bottom: 6px solid #0e3c6d;
}

.phoa-scrollbar-down::before {
  bottom: 5px;
  border-top: 6px solid #0e3c6d;
}

.phoa-scrollbar-track {
  position: relative;
  flex: 1 1 auto;
  min-height: 30px;
  background: #fff;
  cursor: pointer;
}

.phoa-scrollbar-thumb {
  position: absolute;
  top: 0;
  right: 2px;
  left: 2px;
  min-height: 42px;
  border-radius: 5px;
  background: #0e3c6d;
  cursor: grab;
  transition: background-color 0.2s ease;
}

.phoa-scrollbar-thumb:active {
  cursor: grabbing;
  background: #de9b44;
}

body.phoa-sidebar-open {
  overflow: hidden;
}

body.phoa-sidebar-open .phoa-sidebar-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

body.phoa-sidebar-open .phoa-mobile-sidebar {
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}

.phoa-sidebar-header {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.phoa-sidebar-logo {
  display: block;
  max-width: calc(100% - 58px);
}

.phoa-sidebar-logo img {
  width: auto;
  max-width: 100%;
  max-height: 76px;
  display: block;
  margin: 0;
}

.phoa-sidebar-close {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 1s ease;
}

.phoa-sidebar-close:hover,
.phoa-sidebar-close:focus-visible {
  background: transparent;
  outline: none;
  transform: rotate(90deg);
}

.phoa-sidebar-close span {
  position: absolute;
  top: 21px;
  left: 11px;
  width: 22px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: #0e3c6d;
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

body.phoa-sidebar-open .phoa-sidebar-close span:first-child {
  opacity: 1;
  transform: rotate(45deg);
}

body.phoa-sidebar-open .phoa-sidebar-close span:last-child {
  opacity: 1;
  transform: rotate(-45deg);
}

.phoa-sidebar-menu {
  flex: 0 0 auto;
  margin-top: 20px;
  text-align: center;
}

.phoa-sidebar-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.phoa-sidebar-menu li {
  display: block;
  margin: 0;
}

.phoa-sidebar-menu a {
  display: inline-block;
  padding: 8px 10px;
  color: #0e3c6d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.25s ease;
}

.phoa-sidebar-menu a:hover,
.phoa-sidebar-menu a:focus-visible,
.phoa-sidebar-menu .current-menu-item > a,
.phoa-sidebar-menu .current-menu-ancestor > a {
  color: #de9b44;
  outline: none;
}

.phoa-sidebar-menu a.phoa-submenu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.phoa-submenu-arrow {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex: 0 0 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.65s ease, margin-top 0.65s ease;
}

.phoa-sidebar-menu .is-submenu-open > a .phoa-submenu-arrow {
  margin-top: 4px;
  transform: rotate(225deg);
}

.phoa-sidebar-menu .sub-menu {
  position: static !important;
  width: calc(100% + 60px) !important;
  max-height: 0;
  display: block !important;
  overflow: hidden !important;
  margin: 0 -30px !important;
  padding: 0 30px !important;
  border: 0 !important;
  background: #f3f5f7 !important;
  box-shadow: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: none !important;
  transition: max-height 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, padding 0.65s ease, margin 0.65s ease, visibility 0s linear 0.65s;
}

.phoa-sidebar-menu .is-submenu-open > .sub-menu {
  margin-top: 4px !important;
  margin-bottom: 5px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition-delay: 0s;
}

.phoa-sidebar-menu .sub-menu a {
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 14px;
  font-weight: 500;
}

.phoa-sidebar-menu .sub-menu-toggle {
  display: none !important;
}

.phoa-sidebar-cta {
  flex: 0 0 auto;
  margin-top: 30px;
  padding: 0 !important;
  border: 0 !important;
  text-align: center;
}

.phoa-sidebar-cta a {
  width: auto;
  min-width: 170px;
  max-width: 100%;
  padding: 12px 20px;
}

.phoa-sidebar-contact {
  width: calc(100% + 60px);
  margin: auto -30px -28px;
  padding: 20px 30px;
  border-top: 50px solid #fff;
  background: #0e3c6d;
  text-align: center;
}

.phoa-sidebar-address,
.phoa-sidebar-social {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.phoa-sidebar-address li {
  margin: 0 0 7px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.phoa-sidebar-address li:last-child {
  margin-bottom: 0;
}

.phoa-sidebar-address i {
  margin-right: 7px;
  color: #fff;
}

.phoa-sidebar-address a {
  color: inherit;
  text-decoration: none;
}

.phoa-sidebar-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.phoa-sidebar-social li {
  display: block;
}

.phoa-sidebar-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.phoa-sidebar-social a:hover,
.phoa-sidebar-social a:focus-visible {
  border-color: #de9b44;
  background: #de9b44;
  color: #fff;
  outline: none;
}

@media (max-width: 1199px) {
  .phoa-site-header .header-top {
    display: none !important;
  }

  .phoa-site-header .header-bottom {
    height: 88px;
  }

  .phoa-site-header .hb-inner {
    position: absolute;
  }

  .phoa-site-header .sticky-header .hb-inner {
    position: fixed;
  }

  .phoa-navbar,
  .phoa-site-header.has-registration-button .phoa-navbar,
  .phoa-site-header.without-registration-button .phoa-navbar {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
  }

  .phoa-navbar-logo {
    max-width: min(290px, calc(100% - 70px));
    padding: 10px 0 !important;
    text-align: left !important;
  }

  .phoa-navbar-logo a,
  .phoa-navbar-logo img {
    display: block;
  }

  .phoa-navbar-logo img {
    max-height: 68px;
  }

  .phoa-desktop-menu,
  .phoa-desktop-cta {
    display: none !important;
  }

  .phoa-sidebar-toggle {
    display: flex;
  }
}

@media (min-width: 1200px) {
  .phoa-sidebar-backdrop,
  .phoa-mobile-sidebar {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .phoa-site-header .header-bottom,
  .phoa-navbar,
  .phoa-site-header.has-registration-button .phoa-navbar,
  .phoa-site-header.without-registration-button .phoa-navbar {
    min-height: 82px;
    height: 82px;
  }

  .phoa-navbar-logo {
    max-width: min(225px, calc(100% - 66px));
  }

  .phoa-navbar-logo img {
    max-height: 62px;
  }

  .phoa-mobile-sidebar {
    width: min(92vw, 390px);
    padding: 0;
  }

  .phoa-sidebar-scroll-content {
    padding: 20px 37px 24px 24px;
  }

  .phoa-sidebar-logo {
    max-width: calc(100% - 52px);
  }

  .phoa-sidebar-logo img {
    max-height: 68px;
  }

  .phoa-sidebar-menu .sub-menu {
    width: calc(100% + 48px) !important;
    margin-right: -24px !important;
    margin-left: -24px !important;
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  .phoa-sidebar-contact {
    width: calc(100% + 48px);
    margin-right: -24px;
    margin-bottom: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phoa-sidebar-backdrop,
  .phoa-mobile-sidebar,
  .phoa-sidebar-toggle span,
  .phoa-sidebar-close,
  .phoa-sidebar-close span,
  .phoa-submenu-arrow,
  .phoa-sidebar-menu .sub-menu {
    transition-duration: 0.01ms !important;
  }
}
