@media only screen and (max-width: 1249px) {
  .desktop-header {
    display: none !important;
  }
}

@media only screen and (min-width: 1250px) {
  .mobile-header {
    display: none !important;
  }
}

:root {
  --bg: #ffffff;
  --text: #111;
  --border: rgba(0, 0, 0, .10);
  --overlay: rgba(0, 0, 0, .35);
  --highlight: #6b648c;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 64px;
}

* {
  box-sizing: border-box;
}

 

/* mobile page header */
.mobile-header {
  position: sticky;
  top: 0;
  height: 100px;
  background: var(--color-header-middle-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  z-index: 5;
}

.mobile-title {
  font-weight: 800;
  letter-spacing: .2px;
}

.mobile-main {
  padding: 24px 14px;
  max-width: 900px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

/* Toggle button */
.mm-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  line-height: 0;
  color: var(--color-alt-content-text);
}

.mm-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.mm-icon--close {
  display: none;
}

body.mm-open .mm-icon--hamburger {
  display: none;
}

body.mm-open .mm-icon--close {
  display: block;
}

/* Menu root */
.mm {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.mm.is-open {
  pointer-events: auto;
}

.mm__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  transition: opacity .25s var(--ease);
}

.mm.is-open .mm__overlay {
  opacity: 1;
}

/* FULL WIDTH drawer */
.mm__drawer {
  position: absolute;
  inset: 0;
  /* full screen */
  background: var(--color-alt-content-bgbg);
  transform: translateX(105%);
  transition: transform .28s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

button.mm__item.mm__item--next:hover {
    color: var(--color-content-link-hover);
}

 

.mm.is-open .mm__drawer {
  transform: translateX(0);
  background: var(--color-alt-content-bg);
}

/* Panels are stacked, only active is visible */
/* Panels - smooth fade between menu levels */
.mm__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;

  background: var(--color-alt-content-bg);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  z-index: 1;

  transition:
    opacity .3s ease,
    visibility 0s linear .3s;

  will-change: opacity;
}

/* Currently visible panel */
.mm__panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  z-index: 2;

  transition:
    opacity .3s ease,
    visibility 0s linear 0s;
}

/* Previous / next panels */
.mm__panel.is-left,
.mm__panel.is-right {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/*=================================================*/

.mm__panelHeader {
  flex: 0 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  
}

.mm__panelTitle {
  font-size: 18px;
  font-weight: 600;
}

.mm__back {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: white;
  padding: 10px 8px;
  margin-left: -8px;
}

.mm__backIcon {
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
}

.mm__closeInline {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 10px 8px;
  margin-right: -8px;
  color: var(--text);
}

.mm__list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.mm__li, .second_level_mobile a {
  margin-bottom: 0px;
  border-bottom: 1px solid var(--color-alt-content-border);
}

.mm__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-alt-content-text);
  text-decoration: none;
  background: var(--color-alt-content-bg);
  border-left: 0px;
  border-right: 0px;
  border-top: 0px;
  cursor: pointer;
  text-align: left;
  margin-bottom: 0px !important;
}


ul.mm__list.second_level_mobile li {
  margin-bottom: 0px;
}

.second_level_mobile a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-alt-content-text);
  text-decoration: none;
  background: var(--color-alt-content-bg);
  border-left: 0px;
  border-right: 0px;
  border-top: 0px;
  cursor: pointer;
  text-align: left;
  margin-bottom: 0px !important;
}

.mm__item:active {
  opacity: .7;
}

.mm__item--next .mm__chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-top: 2px solid white;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.mm__item--highlight {
  background: var(--highlight);
  color: #fff;
}


.mm__panelHeader {
  background: #333;
  color: white;
}

button.mm__closeInline {
  background: white;
  border-radius: 100%;
  height: 40px;
  width: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}