.site-page.help-page {
  background: radial-gradient(ellipse 125% 560px at 50% -160px, #fff2d7, #fff);
}

.help-page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.help-search-area {
  padding-block: 32px;
}

.help-search {
  max-width: 1000px;
  margin-inline: auto;
}

.help-content {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  max-width: 1060px;
  padding-bottom: 100px;
}

.help-categories,
.help-results {
  border: 1px solid #ece9e3;
  border-radius: 20px;
  background: #fff;
}

.help-categories {
  padding: 20px 14px;
}

.help-results {
  min-height: 320px;
  padding: 24px 28px;
}

.help-categories h2,
.help-results h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}

.help-categories h2 {
  padding-inline: 12px;
}

.help-categories ul,
.help-articles {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.help-categories ul {
  display: grid;
  gap: 4px;
}

.help-categories a {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  overflow-wrap: anywhere;
}

.help-categories img {
  flex: none;
  object-fit: contain;
}

.help-categories a:hover,
.help-categories a[aria-current="page"] {
  background: #fff4db;
  color: #794b00;
}

.help-categories a[aria-current="page"] {
  font-weight: 700;
}

.help-results__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 18px;
}

.help-results__header a {
  color: #794b00;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.help-articles li + li {
  border-top: 1px solid #eee;
}

.help-list-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 54px;
  align-items: center;
  gap: 14px;
  padding: 12px 8px;
  border-radius: 8px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.help-list-item:hover {
  background: #fffaef;
  color: #794b00;
}

.help-article-icon {
  position: relative;
  width: 15px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  color: var(--color-accent);
}

.help-article-icon::after {
  position: absolute;
  inset: 5px 3px auto;
  height: 5px;
  border-block: 1px solid currentColor;
  content: "";
}

.help-article-arrow {
  color: var(--color-secondary);
}

.help-empty {
  padding: 24px 12px 36px;
  color: var(--color-secondary);
  text-align: center;
}

.help-empty img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.help-empty p {
  margin: 8px 0 0;
}

.help-empty p:first-of-type {
  color: var(--color-ink);
  font-weight: 700;
}

@media (max-width: 700px) {
  .help-search-area {
    padding-block: 24px;
  }

  .help-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 64px;
  }

  .help-categories,
  .help-results {
    padding: 16px;
    border-radius: 16px;
  }

  .help-categories h2 {
    padding: 0;
  }

  .help-categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .help-categories a {
    gap: 6px;
    padding: 8px 10px;
    background: var(--color-panel);
    font-size: 14px;
  }

  .help-categories img {
    width: 20px;
    height: 20px;
  }

  .help-list-item {
    gap: 10px;
    padding-inline: 4px;
  }
}
