/* Protect the shared logo from older, page-specific span rules. */
.jmd-shell-header .brand .brand-mark,
.jmd-shell-footer .brand .brand-mark {
  width: 31px !important;
  height: 31px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center !important;
  background: #d9a62e !important;
  color: #14181c !important;
  border-radius: 9px !important;
  font: 800 17px Manrope, Arial, sans-serif !important;
}

.jmd-shell-header .brand .brand-light,
.jmd-shell-footer .brand .brand-light {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  color: #e5c45d !important;
  border-radius: 0 !important;
  font: inherit !important;
}

.jmd-shell-header .brand .brand-light { color: #8a6414 !important; }

.jmd-shell-mobile {
  display: none;
}

.jmd-shell-group .jmd-ai-category-link,
.jmd-shell-group .jmd-writing-category-link {
  display: block;
  margin: 0 0 7px;
  color: #8a6414;
  font: 700 9px Manrope, Arial, sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  cursor: pointer;
}

.jmd-shell-group .jmd-ai-category-link:hover,
.jmd-shell-group .jmd-writing-category-link:hover {
  color: #b8860f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jmd-shell-featured .jmd-shell-featured-link {
  background: #e5c45d;
  color: #30270e;
  padding: 8px 10px;
  border-radius: 6px;
  font: 800 10px Manrope, Arial, sans-serif;
  text-decoration: none;
}

@media (max-width: 850px) {
  .jmd-shell-mobile {
    display: block;
    width: 30px;
    height: 26px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0;
  }

  .jmd-shell-mobile::before,
  .jmd-shell-mobile::after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    margin: 6px 0;
    background: #14181c;
  }
}
