/* Help center — adds only what main.css doesn't already cover:
   search dropdown, intro-note accent, article-body prose scoping, feedback widget,
   and dark-theme overrides for resources-base.css / sticky-sidebar.css toc.
   Cards, sections, buttons, border-radius: use main.css utilities. */

.help-main {
  background: var(--cl-black-bg);
  color: var(--cl-white);
  min-height: 60vh;
}

/* Primary recruiter card on landing — extends .card card_white_5 br_24 with hover lift. */
.help-landing-primary {
  padding: 40px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.help-landing-primary:hover { border-color: var(--cl-green); }
@media (max-width: 768px) {
  .help-landing-primary { padding: 24px; }
}

/* Search input + dropdown */
.help-search-wrap {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 8px auto 0;
}
.help-search-wrap-left { margin-left: 0; margin-right: 0; }
.help-search-input {
  width: 100%;
  padding: 18px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  color: var(--cl-white);
  font-family: var(--ff-euclid);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.help-search-input::placeholder { color: rgba(255,255,255,0.4); }
.help-search-input:focus {
  border-color: var(--cl-green);
  background: rgba(255,255,255,0.08);
}
.help-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #1a1d26;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  list-style: none;
  padding: 8px;
  margin: 0;
  max-height: 360px;
  overflow-y: auto;
  z-index: 20;
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}
.help-search-results li a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--cl-white);
  text-decoration: none;
}
.help-search-results li a:hover { background: rgba(255,255,255,0.06); }
.help-search-results .help-search-audience {
  font-size: 12px;
  color: var(--cl-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.help-search-results .help-search-empty {
  padding: 16px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

/* Intro note on recruiter section index */
.help-intro-note {
  background: rgba(187,236,83,0.08);
  border: 1px solid rgba(187,236,83,0.24);
  padding: 20px 24px;
  border-radius: 16px;
  max-width: 720px;
}
.help-intro-note p { margin: 0; }

/* Collection card body spacing (card itself uses .card .card_white_5 .br_24) */
.help-collection { display: flex; flex-direction: column; gap: 16px; }
.help-article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.help-article-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--cl-white);
  text-decoration: none;
  transition: background 0.15s ease, padding 0.15s ease;
}
.help-article-list li a:hover { background: rgba(255,255,255,0.04); padding-left: 16px; }
.help-article-list li a .help-arrow { color: rgba(255,255,255,0.3); }
.help-article-list li a:hover .help-arrow { color: var(--cl-green); }

/* Article prose — scoped to .article-body inside help-main. */
.help-main .article-body { color: rgba(255,255,255,0.88); font-size: 17px; line-height: 28px; }
.help-main .article-body > * + * { margin-top: 16px; }
.help-main .article-body h2 {
  font-family: var(--ff-euclid);
  font-size: var(--title-h3-fz);
  line-height: var(--title-h3-lh);
  font-weight: var(--fw-medium);
  color: var(--cl-white);
  margin: 40px 0 12px;
}
.help-main .article-body h3 {
  font-family: var(--ff-euclid);
  font-size: var(--title-h4-fz);
  line-height: var(--title-h4-lh);
  font-weight: var(--fw-medium);
  color: var(--cl-white);
  margin: 28px 0 8px;
}
.help-main .article-body h2:first-child,
.help-main .article-body h3:first-child { margin-top: 0; }
.help-main .article-body ul,
.help-main .article-body ol { padding-left: 24px; }
.help-main .article-body li { margin-bottom: 8px; }
.help-main .article-body strong { font-weight: var(--fw-semibold); color: var(--cl-white); }
.help-main .article-body a {
  color: var(--cl-green);
  text-decoration: underline;
  text-decoration-color: rgba(187,236,83,0.4);
  text-underline-offset: 3px;
}
.help-main .article-body a:hover { text-decoration-color: var(--cl-green); }
.help-main .article-body code {
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.help-main .article-body blockquote {
  border-left: 3px solid var(--cl-green);
  padding-left: 16px;
  color: rgba(255,255,255,0.7);
  margin: 20px 0;
}

/* Feedback widget — uses site frame idiom (white_10 tint + br_24). */
.help-feedback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  margin: 32px 0 24px;
}
.help-feedback-title { margin: 0; }
.help-feedback-thanks { margin: 0; }

/* Dark-theme overrides for resources-base.css / sticky-sidebar.css on article pages. */
.help-main .toc-title { color: var(--cl-white); }
.help-main .toc-h2 {
  background: transparent;
  color: rgba(255,255,255,0.7);
  text-align: left;
  padding: 10px 12px;
  display: block;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.help-main .toc-h2:hover { background: rgba(255,255,255,0.06); color: var(--cl-white); }
.help-main .toc-group.active .toc-h2 {
  background: rgba(187,236,83,0.1);
  color: var(--cl-green);
}
.help-main .content { color: var(--cl-white); }

/* Hide in-app Intercom chat on help center (not relevant here). */
.help-main + * .intercom-lightweight-app { display: none !important; }

/* Mobile */
@media (max-width: 899px) {
  .help-main .article-body { font-size: 16px; line-height: 26px; }
  .help-main .article-body h2 { font-size: 24px; line-height: 32px; margin-top: 28px; }
  .help-search-input { padding: 14px 18px; font-size: 15px; }
}
