@media screen and (max-width: 767px) {
  .mobile-nav-switch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    margin-left: -5px;
    margin-right: 12px;
    transition: background-color 0.3s ease;
  }

  .mobile-nav-switch-btn.nav-active,
  .mobile-nav-divider.nav-active {
    display: none !important;
  }

  .mobile-nav-switch-btn:hover {
    background-color: rgba(0, 120, 168, 0.1);
  }

  .mobile-nav-switch-btn .switch-btn__icon svg rect {
    fill: white;
  }

  .mobile-nav-switch-btn .switch-btn__icon svg path {
    stroke: #0078a8;
  }

  .mobile-nav-switch-btn--default .switch-btn__icon svg rect {
    fill: #0078a8;
  }

  .mobile-nav-switch-btn--default .switch-btn__icon svg path {
    stroke: white;
  }

  .mobile-nav-switch-btn--default:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }

  .switch-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
  }

  .mobile-nav-switch-btn.is-active .switch-btn__icon {
    transform: rotate(180deg);
  }

  .mobile-nav-divider {
    width: 1px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    margin-right: 20px;
    flex-shrink: 0;
  }

  .mobile-main-nav {
    display: block;
    width: 100%;
    height: 45px;
    position: relative;
    overflow: hidden;
  }

  .mobile-main-nav .menu-nav__list {
    display: flex;
    align-items: center;
    overflow-x: auto;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    height: 100%;
    scroll-behavior: smooth;
  }

  .mobile-main-nav .menu-nav__list::-webkit-scrollbar {
    display: none;
  }

  .mobile-main-nav .menu-nav__item {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    margin-top: 2px;
  }

  .mobile-main-nav .menu-nav__link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 14px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    background-color: #0078a8;
    border-bottom: 3px solid transparent;
  }

  .mobile-main-nav .menu-nav__link:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 1);
    height: 3px;
    transition: transform 0.3s ease;
    transform: scale(1, 0);
  }

  .mobile-main-nav .menu-nav__link:hover {
    background-color: #0078a8;
    color: rgba(255, 255, 255, 0.9);
  }

  .mobile-main-nav .menu-nav__link.is-active {
    color: white;
    background-color: #0078a8;
  }

  .mobile-main-nav .menu-nav__link.is-active:before {
    transform: scale(1, 1);
  }

  .mobile-main-nav--default .menu-nav__link {
    background-color: white;
    color: #666666;
  }

  .mobile-main-nav--default .menu-nav__link:hover {
    background-color: white;
    color: #333333;
  }

  .mobile-main-nav--default .menu-nav__link.is-active {
    background-color: white;
    color: #000000;
  }

  .mobile-main-nav--default .menu-nav__link:before {
    background: #0078a8;
  }

  .mobile-main-nav--individual .menu-nav__link {
    background-color: #b4cdc5;
    color: #4a5a52;
  }

  .mobile-main-nav--individual .menu-nav__link:hover {
    background-color: #b4cdc5;
    color: #2d3a34;
  }

  .mobile-main-nav--individual .menu-nav__link.is-active {
    background-color: #b4cdc5;
    color: #1a231f;
  }

  .mobile-main-nav--individual .menu-nav__link:before {
    background: #0078a8;
  }

  .sub-menu__link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 14px;
    text-decoration: none;
    color: #1f1f22;
    border-radius: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    background-color: transparent;
    border-bottom: 3px solid transparent;
    opacity: 0.6;
  }

  .sub-menu__link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0078a8;
    height: 3px;
    transition: transform 0.3s ease;
    transform: scale(1, 0);
  }

  .sub-menu__link:hover {
    color: #0078a8;
    background-color: #e2eef5;
    opacity: 0.9;
  }

  .sub-menu__link.is-active {
    color: #0078a8;
    font-weight: 700;
    background-color: transparent;
    opacity: 1;
  }

  .sub-menu__link.is-active:before {
    transform: scale(1, 1);
  }

  .page__head--primary .sub-menu__link,
  .page__head--entity .sub-menu__link {
    color: rgba(255, 255, 255, 0.5);
    background-color: transparent;
    border-bottom: 3px solid transparent;
    opacity: 0.6;
  }

  .page__head--primary .sub-menu__link:before,
  .page__head--entity .sub-menu__link:before {
    background: rgba(255, 255, 255, 1);
  }

  .page__head--primary .sub-menu__link:hover,
  .page__head--entity .sub-menu__link:hover {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 0.9;
  }

  .page__head--primary .sub-menu__link.is-active,
  .page__head--entity .sub-menu__link.is-active {
    color: rgba(255, 255, 255, 1);
    background-color: transparent;
    opacity: 1;
  }

  .page__head--primary .sub-menu__link.is-active:before,
  .page__head--entity .sub-menu__link.is-active:before {
    transform: scale(1, 1);
  }

  .sub-menu__back-to-button {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background: linear-gradient(to right, rgba(0, 120, 168, 1) 0%, rgba(0, 120, 168, 0) 100%);
    pointer-events: none;
  }

  .sub-menu__back-to-button.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .sub-menu__back-to-button-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 50%;
  }

  .sub-menu__back-to-button svg {
    width: 10px;
    height: 7px;
    transform: rotate(90deg);
  }

  .sub-menu__back-to-button svg path {
    stroke: white;
  }

  .page__submenu {
    height: 50px !important;
    position: relative;
    overflow: hidden;
  }

  .page__submenu .sub-menu {
    margin: 0 !important;
    padding: 0 !important;
    height: 50px !important;
    align-items: center !important;
    display: flex !important;
  }

  .page__submenu .subnav {
    height: 50px !important;
    align-items: center !important;
  }

  .page__submenu .subnav__item,
  .page__submenu .sub-menu__item {
    height: 50px !important;
  }

  .page__submenu .subnav__link,
  .page__submenu .sub-menu__link {
    height: 100% !important;
    line-height: 50px !important;
    font-size: 13px !important;
    padding: 0 14px !important;
  }

  .sub-menu__inner {
    position: relative;
  }

  .page__head--primary .mobile-nav-divider,
  .page__head--entity .mobile-nav-divider {
    background-color: rgba(255, 255, 255, 0.3);
  }

  .page__head--default .sub-menu__back-to-button {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  }

  .page__head--default .sub-menu__back-to-button svg path {
    stroke: #1f1f22;
  }

  .sub-menu__back-to-button--default {
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%
    ) !important;
  }

  .sub-menu__back-to-button--default svg path {
    stroke: #1f1f22 !important;
  }

  .page__head--individual .sub-menu__back-to-button {
    background: linear-gradient(to right, rgba(180, 205, 197, 1) 0%, rgba(180, 205, 197, 0) 100%);
  }

  .page__head--individual .sub-menu__back-to-button svg path {
    stroke: #1f1f22;
  }
}

@media screen and (min-width: 768px) {
  .mobile-nav-switch-btn,
  .mobile-main-nav,
  .mobile-nav-divider,
  .sub-menu__back-to-button {
    display: none !important;
  }
}
