body.tmd-custom-shell #header,
body.tmd-custom-shell .ct-header,
body.tmd-custom-shell header.ct-header {
  display: none !important;
}

.tmd-mm-header,
.tmd-mm-header * {
  box-sizing: border-box;
}

.tmd-mm-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  font-family: 'Work Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.admin-bar .tmd-mm-header {
  top: 32px;
}

.tmd-mm-wrap {
  position: relative;
  width: 100%;
}

.tmd-mm-navbar {
  background: #262e4f;
  padding: 0 20px;
  display: flex;
  align-items: center;
  min-height: 56px;
  gap: 2px;
  position: relative;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.tmd-mm-logo {
  display: flex;
  align-items: center;
  min-width: 150px;
  height: 40px;
  margin-right: 16px;
  flex-shrink: 0;
  gap: 9px;
  color: #fff;
  text-decoration: none;
}

.tmd-mm-logo img {
  max-height: 40px;
  max-width: 150px;
  object-fit: contain;
}

.tmd-mm-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #128ceb;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

.tmd-mm-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.tmd-mm-logo-text strong {
  font-size: 15px;
  letter-spacing: .04em;
  color: #fff;
}

.tmd-mm-logo-text span {
  margin-top: 3px;
  font-size: 10px;
  color: #128ceb;
  letter-spacing: .16em;
  font-weight: 700;
}

.tmd-mm-home,
.tmd-mm-nav-link {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #e6e6e6;
  padding: 6px 11px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  border: none;
  background: transparent;
  transition: color .15s, background .15s;
  text-decoration: none;
  min-height: 34px;
  line-height: 1;
}

.tmd-mm-home:hover,
.tmd-mm-nav-link:hover,
.tmd-mm-nav-link.active {
  color: #ffc33c;
  background: rgba(255,255,255,.07);
}

.tmd-mm-nav-link .chev {
  font-size: 9px;
  opacity: .65;
  transition: transform .2s;
}

.tmd-mm-nav-link.active .chev {
  transform: rotate(180deg);
}

@media (min-width: 1025px) {
  .tmd-mm-logo,
  .tmd-mm-icons {
    flex: 0 0 166px;
  }

  .tmd-mm-logo {
    min-width: 166px;
    margin-right: 0;
  }

  .tmd-mm-nav-first,
  .tmd-mm-icons {
    margin-left: auto;
  }

  .tmd-mm-icons {
    justify-content: flex-end;
  }
}

.tmd-mm-icons {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.tmd-mm-icon-btn {
  color: #e6e6e6;
  background: transparent;
  border: none;
  padding: 7px 9px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  transition: color .15s, background .15s;
  position: relative;
  text-decoration: none;
}

.tmd-mm-icon-btn:hover {
  color: #ffc33c;
  background: rgba(255,255,255,.07);
}

.tmd-mm-icon-btn .dot {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 6px;
  height: 6px;
  background: #ffc33c;
  border-radius: 50%;
  border: 1.5px solid #262e4f;
}

.tmd-mm-panel {
  display: none;
  position: absolute;
  top: 56px;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 3px solid #128ceb;
  border-bottom: .5px solid #e0e0e0;
  z-index: 190;
  box-shadow: 0 12px 32px rgba(0,0,0,.13);
}

.tmd-mm-panel.visible {
  display: block;
}

.tmd-mm-inner {
  padding: 24px 24px 20px;
  display: grid;
  gap: 16px;
}

.tmd-mm-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tmd-mm-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tmd-mm-card {
  min-width: 0;
  text-decoration: none;
}

.tmd-mm-img {
  width: 100%;
  height: 100px;
  border-radius: 6px;
  margin-bottom: 10px;
  background:
    linear-gradient(135deg, rgba(18,140,235,.18), rgba(38,46,79,.12)),
    #f0f4fa;
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.tmd-mm-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,195,60,.45), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(18,140,235,.25), transparent 30%);
}

.tmd-mm-title {
  font-size: 13px;
  font-weight: 700;
  color: #262e4f;
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 2px solid #ffc33c;
}

.tmd-mm-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tmd-mm-items a {
  font-size: 12px;
  color: #3c3c3c;
  padding: 2px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .12s;
  text-decoration: none;
}

.tmd-mm-items a:hover {
  color: #128ceb;
}

.tmd-mm-items a::before {
  content: '›';
  color: #128ceb;
  font-size: 13px;
  font-weight: 700;
}

.tmd-mm-panel-footer {
  background: #f8f9fc;
  border-top: .5px solid #e8ecf2;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tmd-mm-footer-link {
  font-size: 12px;
  color: #128ceb;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.tmd-mm-footer-link:hover {
  color: #262e4f;
}

.tmd-mm-footer-sep {
  color: #ccc;
  margin: 0 8px;
}

.tmd-mm-small-panel {
  display: none;
  position: absolute;
  top: 56px;
  left: 330px;
  background: #1e2540;
  border-top: 3px solid #128ceb;
  z-index: 190;
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
  border-radius: 0 0 8px 8px;
  min-width: 220px;
}

.tmd-mm-small-panel.visible {
  display: block;
}

.tmd-mm-small-item {
  font-size: 13px;
  font-weight: 400;
  color: #e6e6e6;
  padding: 11px 20px;
  border-bottom: .5px solid rgba(255,255,255,.07);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .12s, color .12s;
  text-decoration: none;
}

.tmd-mm-small-item:last-child {
  border-bottom: none;
}

.tmd-mm-small-item:hover {
  background: rgba(18,140,235,.18);
  color: #128ceb;
}

.tmd-mm-small-item i {
  color: #5e748b;
}

.tmd-mm-mobile-toggle {
  display: none;
  margin-left: auto;
  color: #e6e6e6;
  background: transparent;
  border: none;
  padding: 7px 9px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 24px;
}

@media (max-width: 1024px) {
  .tmd-mm-navbar {
    min-height: 60px;
    flex-wrap: wrap;
  }

  .tmd-mm-logo {
    min-width: auto;
  }

  .tmd-mm-mobile-toggle {
    display: flex;
    align-items: center;
  }

  .tmd-mm-home,
  .tmd-mm-nav-link,
  .tmd-mm-icons {
    display: none;
  }

  .tmd-mm-navbar.mobile-open .tmd-mm-home,
  .tmd-mm-navbar.mobile-open .tmd-mm-nav-link {
    display: flex;
    width: 100%;
    padding: 12px 4px;
  }

  .tmd-mm-navbar.mobile-open .tmd-mm-icons {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    padding-bottom: 12px;
  }

  .tmd-mm-panel,
  .tmd-mm-small-panel {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  .tmd-mm-inner,
  .tmd-mm-grid-4,
  .tmd-mm-grid-3 {
    grid-template-columns: 1fr;
  }

  .tmd-mm-img {
    height: 72px;
  }
}

@media (max-width: 782px) {
  .admin-bar .tmd-mm-header {
    top: 46px;
  }
}
