.help-page {
  max-width: 1080px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.help-hero {
  max-width: 760px;
  margin: 2rem 0 3rem;
}

.help-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.help-search {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}

.help-article-card {
  border-color: #d9e2ec;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.help-article-card:hover,
.help-article-card:focus {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08);
}

.help-article-content {
  font-size: 1.05rem;
  line-height: 1.8;
}

.help-article-content h2,
.help-article-content h3,
.help-article-content h4 {
  margin-top: 2rem;
}

.help-article-content table {
  width: 100%;
  margin: 1rem 0;
}

.help-rich-editor {
  background: #fff;
}

.help-rich-editor[hidden] {
  display: none;
}

#help-rich-editor.ql-container {
  height: 260px;
  min-height: 260px;
}

.help-editor-actions {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #d9e2ec;
}

.help-editor-preview {
  position: sticky;
  top: 1rem;
  overflow: hidden;
  border: 1px solid #d9e2ec;
  border-radius: .5rem;
  background: #fff;
}

.help-editor-preview-header {
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.help-editor-preview-content {
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.5rem;
}

.help-editor-preview-content h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

@media (max-width: 991.98px) {
  .help-editor-preview {
    position: static;
  }

  .help-editor-preview-content {
    max-height: none;
  }
}

@media (max-width: 576px) {
  .help-search {
    flex-direction: column;
  }
}
