/* Help Center — page-scoped styles (loaded only by help.php).
   Uses the site design tokens from bibliopolis.less :root — no new colors/fonts. */

.page-help .help-hero-slim .page-hero-inner { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.page-help .help-hero-back { color: inherit; text-decoration: none; }
.page-help .help-hero-back:hover { color: var(--orange); }

/* search */
.help-search {
  display: flex;
  max-width: 560px;
  margin: 1.5rem auto 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.page-hero .help-search { margin-left: 0; }
.help-search input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
}
.help-search button {
  border: 0;
  background: var(--orange);
  color: #fff;
  padding: 0 1.25rem;
  font-size: 1.05rem;
  cursor: pointer;
}
.help-search button:hover { background: var(--amber); }

/* layout */
.help-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

/* collection cards */
.help-collections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.help-collection-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.help-collection-card:hover {
  box-shadow: 0 8px 24px rgba(15, 30, 61, 0.12);
  transform: translateY(-2px);
}
.help-collection-icon { font-size: 2rem; }
.help-collection-icon i {
  --fa-primary-color: var(--cobalt);
  --fa-secondary-color: var(--orange);
  --fa-secondary-opacity: 0.4;
}
.help-collection-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}
.help-collection-desc {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

/* article lists */
.help-recent-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0 0 1rem;
}
.help-recent-title i { font-size: 1.15rem; margin-right: 0.35rem; }
.help-article-list { list-style: none; margin: 0; padding: 0; }
.help-article-list li { border-bottom: 1px solid var(--border); }
.help-article-list li:last-child { border-bottom: 0; }
.help-article-list a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 0.25rem;
  text-decoration: none;
}
.help-article-list a:hover .help-article-list-title { color: var(--orange); }
.help-article-list-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--cobalt);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.help-article-list-title i { font-size: 0.9rem; color: var(--muted); }
.help-article-list-summary {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 1.55rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.help-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cobalt);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
}
.help-pill-both { color: var(--orange); }

/* search results — platform filter pills */
.help-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
}
.help-fpill {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
}
.help-fpill span { color: var(--muted); font-weight: 500; margin-left: 0.15rem; }
.help-fpill:hover { border-color: var(--cobalt); }
.help-fpill.is-active { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.help-fpill.is-active span { color: rgba(255, 255, 255, 0.75); }
.help-badge-draft {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--amber);
  border-radius: 4px;
  padding: 0.18rem 0.5rem;
  vertical-align: middle;
}
.help-empty {
  font-family: var(--sans);
  color: var(--muted);
  padding: 2rem 0;
}

/* collection directory — sections with counts (drill-down) */
.help-dir-group { margin: 0 0 2rem; }
.help-dir-heading {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.6rem;
}
/* section cards laid out 3 per row (same card component as the main-page collections) */
.help-dir-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 1024px) { .help-dir-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px)  { .help-dir-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .help-dir-list { grid-template-columns: 1fr; } }

/* single article */
.help-article-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
/* with a related-articles sidebar: widen the wrap, two columns on desktop */
.help-article-wrap.has-side { max-width: 1140px; }
.help-article-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.help-article-wrap.has-side .help-article-cols { grid-template-columns: minmax(0, 1fr) 280px; }
@media (max-width: 900px) {
  .help-article-wrap.has-side { max-width: 820px; }
  .help-article-wrap.has-side .help-article-cols { grid-template-columns: minmax(0, 1fr); }
}
.help-side-card {
  border: 1px solid var(--border);
  background: #fff;
  padding: 1.25rem 1.25rem 1rem;
  position: sticky;
  top: 1.5rem;
}
.help-side-title {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.help-side-list { list-style: none; margin: 0; padding: 0; font-family: var(--sans); }
.help-side-list li { border-bottom: 1px solid var(--border); }
.help-side-list li:last-child { border-bottom: 0; }
.help-side-list a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
}
.help-side-list a:hover { color: var(--orange); }
.help-side-list a i { font-size: 0.8rem; color: var(--muted); flex: none; }
/* "In this section" contents nav — current article highlighted (not a link); long
   manuals scroll within the sticky card rather than running off the viewport. */
.help-side-list .is-current {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--orange);
}
.help-side-list .is-current i { font-size: 0.8rem; color: var(--orange); flex: none; }
/* A section-contents TOC can be long, so it flows at natural height and scrolls with the
   page (no pinned, nested-scroll box). The short related-articles card stays sticky. */
.help-side-card--toc { position: static; }

/* Legacy → new-platform promo, shown in the (dark) hero on Legacy Platform pages */
.help-legacy-promo {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 640px;
  margin: 1.5rem 0 0;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.help-legacy-promo strong { color: #fff; }  /* override the global dark <strong> color on the dark hero */
.help-legacy-promo > i { color: var(--amber); font-size: 1.15rem; margin-top: 0.1rem; flex: none; }
.help-legacy-promo a { color: var(--amber); font-weight: 600; text-decoration: none; white-space: nowrap; }
.help-legacy-promo a:hover { text-decoration: underline; }

/* FAQ format — accordion of <details class="help-faq-item"> + a jump-list of questions */
.help-faq-jump {
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.help-faq-jump-title {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.help-faq-jump ul { list-style: none; margin: 0; padding: 0; }
.help-faq-jump li { margin: 0.3rem 0; }
.help-faq-jump a { font-family: var(--sans); font-size: 0.95rem; color: var(--cobalt); text-decoration: none; }
.help-faq-jump a:hover { color: var(--orange); text-decoration: underline; }
.help-article-body details.help-faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 0 0 0.75rem;
  background: #fff;
  overflow: hidden;
  scroll-margin-top: 5.5rem;
}
.help-article-body details.help-faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.help-article-body details.help-faq-item > summary::-webkit-details-marker { display: none; }
.help-article-body details.help-faq-item > summary::after {
  content: "\002B";
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
  flex: none;
}
.help-article-body details.help-faq-item[open] > summary::after { content: "\2212"; }
.help-article-body details.help-faq-item > summary:hover { color: var(--orange); }
.help-faq-answer { padding: 0 1.25rem 1.15rem; }
.help-faq-answer > *:first-child { margin-top: 0; }
.help-faq-answer > *:last-child { margin-bottom: 0; }
.help-breadcrumb {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
/* cross-platform counterpart banner ("there's a version for the other platform") */
.help-crosslink {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.75rem;
  padding: 0.8rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cobalt);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
}
.help-crosslink > i { color: var(--cobalt); font-size: 1.1rem; flex: none; }
.help-crosslink a { color: var(--cobalt); font-weight: 600; text-decoration: none; }
.help-crosslink a:hover { color: var(--orange); }
.help-breadcrumb a { color: var(--cobalt); text-decoration: none; }
.help-breadcrumb a:hover { color: var(--orange); }
.help-article-title {
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.help-article-title .help-badge-draft { font-size: 0.75rem; margin-left: 0.5rem; }
.help-article-meta {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.help-article-body {
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
}
.help-article-body h2, .help-article-body h3, .help-article-body h4 {
  font-family: var(--serif);
  color: var(--ink);
  margin: 2rem 0 0.75rem;
}
.help-article-body img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 1rem 0;
}
/* Attachment / download link (e.g. the BookHound manual PDF) — a subtle file row,
   not a filled button */
.help-article-body a.help-download {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--cobalt);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}
.help-article-body a.help-download:hover { border-color: var(--cobalt); }
.help-article-body a.help-download > i { font-size: 1.5rem; color: #b23b3b; flex: none; }
.help-download-name { font-weight: 600; color: var(--ink); }
.help-download-meta { font-size: 0.82rem; color: var(--muted); }
.help-article-body a { color: var(--cobalt); }
.help-article-body a:hover { color: var(--orange); }
.help-article-body code {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.9em;
}
.help-article-body pre {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  overflow-x: auto;
  margin: 1rem 0;
}
.help-article-body pre code { background: none; border: 0; padding: 0; }

/* ============================================================
   Normalized help-content vocabulary (hc-*).
   Replaces the legacy ScreenSteps/Zoho markup with a small, flat,
   TinyMCE-friendly kit. (The legacy ScreenSteps/Zoho classes have been fully
   migrated out of every article and their CSS removed.)
   ------------------------------------------------------------
   Screenshot:  <figure class="hc-shot"><img alt="" src=""></figure>
   Callout:     <div class="hc-note hc-note--intro|tip|warning|info">…</div>
   Body:        bare <p> <h2> <h3> <ul> <ol> — no wrapper
   ============================================================ */
.help-article-body .hc-shot { margin: 1.5rem 0; }
.help-article-body .hc-shot img { display: block; max-width: min(100%, 820px); height: auto; }
.help-article-body .hc-shot figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.45rem; }
.help-article-body .hc-note {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cobalt);
  border-radius: 6px;
}
.help-article-body .hc-note > :first-child { margin-top: 0; }
.help-article-body .hc-note > :last-child { margin-bottom: 0; }
.help-article-body .hc-note--tip { border-left-color: var(--orange); }
.help-article-body .hc-note--warning { border-left-color: var(--amber); }
/* --intro and --info keep the default cobalt accent */
/* content tables */
.help-article-body table {
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.75rem 0;
}
.help-article-body table th,
.help-article-body table td {
  text-align: left;
  padding: 0.5rem 0.85rem;
  border: 1px dashed var(--border);
}
.help-article-body table th {
  background: var(--cream);
  font-weight: 600;
}

/* ticket band */
.help-ticket-band { background: var(--cobalt); }
.help-ticket-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.help-ticket-inner h2 {
  font-family: var(--serif);
  color: #fff;
  margin: 0 0 0.25rem;
  font-size: 1.6rem;
}
.help-ticket-inner p {
  font-family: var(--sans);
  color: var(--parchment);
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .help-article-title { font-size: 1.6rem; }
  .help-ticket-inner { justify-content: center; text-align: center; }
}

/* ── Annotated figures (help_annotate.js) ─────────────────────────────────── */
.help-fig { margin: 1.75rem 0; }
.help-fig-frame {
  position: relative;
  display: block;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 30, 61, 0.08);
}
.help-fig-img { display: block; width: 100%; height: auto; }
.help-fig-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
/* strokes stay a constant weight regardless of the non-uniform viewBox scale */
.hf-box, .hf-circle, .hf-arrow {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}
.hf-arrow { stroke-width: 2.5; stroke-linecap: round; }
.hf-arrowhead { fill: var(--orange); stroke: none; }
/* numbered step badge */
.hf-badge {
  position: absolute;
  transform: translate(-50%, -50%);
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
/* caption chip pinned on the image */
.hf-note {
  position: absolute;
  transform: translateY(4px);
  max-width: 44%;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.hf-note b { color: var(--amber); }
/* small label under a highlight box */
.hf-label {
  position: absolute;
  transform: translateY(3px);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.help-fig-caption {
  margin-top: 0.6rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

/* ── Pending screenshot placeholders (.help-shot-pending) ─────────────────────
   Authored into article bodies where an annotated screenshot belongs but has
   not been captured yet. Carries a machine-readable data-shot JSON (admin page,
   what to show, what to annotate) for the capture pass. HIDDEN on the live
   site; renders as a dashed panel on the dev preview (body.help-preview). */
.help-shot-pending { display: none; }
.help-preview .help-shot-pending {
  display: block;
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  border: 2px dashed var(--border);
  background: var(--cream);
}
.help-preview .help-shot-pending figcaption {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.help-preview .help-shot-pending .help-shot-tag {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.1rem 0.5rem;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Persistent Help Center header (gradient — mirrors help.bibliopolis.com, ties to admin) ── */
.help-topbar {
  background: linear-gradient(180deg, var(--navy) 0%, var(--cobalt) 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(15, 30, 61, 0.18);
}
.help-topbar-inner {
  max-width: 1400px;      /* match main-site nav/footer (48px) so the logo lines up with the footer edge */
  margin: 0 auto;
  padding: 0.85rem 48px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
@media (max-width: 1024px) { .help-topbar-inner { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 640px)  { .help-topbar-inner { padding-left: 24px; padding-right: 24px; } }
.help-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
}
.help-brand i {
  --fa-primary-color: #fff;
  --fa-secondary-color: var(--amber);
  --fa-secondary-opacity: 0.65;
  font-size: 1.35rem;
}
/* Reset the main-site marketing-nav styling that leaks onto ANY bare <nav> element
   (position:fixed; top/left:0; width:100%; background:#fff; z-index:100) — without this the
   help header nav / breadcrumb render as a white strip pinned over the gradient bar. */
.page-help .help-topbar .help-topnav,
.page-help .help-breadcrumb {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  background: transparent !important;
  z-index: auto !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}
/* The FAQ jump-list is ALSO a bare <nav>, so the leaked marketing-nav rule pins it fixed to the
   top of the viewport (over the header). Reset ONLY the positioning here — keep its own cream
   background/border/padding from .help-faq-jump. */
.page-help .help-faq-jump {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  z-index: auto !important;
}
.help-topnav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: 1.5rem;   /* breathing room between the masthead (logo + Help Center) and the section links */
  flex-wrap: wrap;
}
/* "What's New" as a distinct outlined item so it reads as its own thing, not another section link */
.help-topnav-new {
  color: #fff;
  padding: 0.28rem 0.7rem;
  margin-left: 0.25rem;
}
.help-topnav-new:hover { background: rgba(255, 255, 255, 0.12); }
.help-topnav-new i { --fa-primary-color: var(--amber); --fa-secondary-color: #fff; margin-right: 0.3rem; }
.help-topnav-link {
  color: var(--parchment);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.84rem;   /* a notch smaller than the masthead so the links recede */
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.help-topnav-link:hover { color: #fff; }
.help-topnav-link.is-active { color: #fff; border-bottom-color: var(--orange); }
.help-topsearch {
  display: flex;
  background: #fff;
  border-radius: 0;   /* square — matches the rest of the site (0px corners everywhere) */
  overflow: hidden;
  min-width: 260px;
  margin-left: auto;  /* float to the far right edge; logo + nav stay left-packed */
}
.help-topsearch input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0.5rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  background: transparent;
}
.help-topsearch button {
  border: 0;
  background: var(--orange);
  color: #fff;
  padding: 0 0.95rem;
  cursor: pointer;
}
.help-topsearch button:hover { background: var(--amber); }
/* Hamburger toggle for the section nav — hidden on desktop (nav is inline), shown on mobile */
.help-nav-toggle {
  display: none;
  order: 1;
  margin-left: auto;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  border-radius: 0;
  padding: 0.3rem 0.6rem;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.help-nav-toggle i { --fa-primary-color: #fff; --fa-secondary-color: var(--amber); }
.help-nav-toggle:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
@media (max-width: 700px) {
  .help-topbar-inner { row-gap: 0.75rem; }
  .help-nav-toggle { display: inline-flex; }
  .help-topsearch { width: 100%; min-width: 0; flex-basis: 100%; order: 2; margin-left: 0; }
  /* nav collapses behind the hamburger; opens as a full-width stacked panel */
  .help-topnav {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
  .help-topnav.is-open { display: flex; }
  .help-topnav .help-topnav-link { width: 100%; padding: 0.55rem 0; font-size: 0.95rem; border-bottom: 0; }
  .help-topnav .help-topnav-link.is-active { color: #fff; border-bottom: 0; }
  .help-topnav .help-topnav-new { border: 0; padding: 0.55rem 0; margin-left: 0; align-self: flex-start; }
}

/* ── Typography weight: avoid thick/chunky Playfair. Only 400 + 600 are real loaded faces on
   bibdev — heavier weights synthesize (faux-bold) and read as horizontally stretched. Large
   display uses Playfair regular (400, elegant); headings cap at 600. (Mika brand preference.) */
.page-help .page-hero-title { font-weight: 400; }
.help-article-title { font-weight: 400; }
.help-collection-name { font-weight: 600; }   /* was 700 */
.help-recent-title { font-weight: 600; }
.help-brand { font-weight: 600; }              /* was 700 */

/* ── Help section owns its own top chrome: the gradient bar with the Bibliopolis logo IS the
   header (like help.bibliopolis.com). Hide the main-site marketing nav here — it's built to sit
   transparent over a dark hero and reads as a broken white strip on help pages — and lift the
   gradient bar to the very top (the marketing nav reserved ~64px of top padding on #main-content). */
/* hide ONLY the main-site marketing nav (direct child of the page wrapper) — NOT the help header
   nav (.help-topnav) or article breadcrumbs (.help-breadcrumb), which are also <nav> elements */
.page-help #outer-page-wrapper > nav,
.page-help #navDrawer { display: none !important; }
.page-help #main-content { padding-top: 0 !important; }

.help-brand-logo { display: block; height: 40px; width: auto; }
/* masthead label, not a nav link — white like the wordmark, serif, no hover shift */
.help-brand-tag {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
  padding-left: 0.9rem;
  margin-left: 0.1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════════════════
   What's New — flagship / marketing landing page (page-whatsnew)
   Dark hero flows out of the gradient topbar; light showcase; dark CTA band.
   Playfair only at 400 for large display (brand rule: no faux-bold/chunky).
   ══════════════════════════════════════════════════════════════════════════ */
.page-whatsnew #main-content { padding: 0 !important; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.wn-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy), var(--cobalt));
  color: #fff;
  padding: 4.5rem 1.5rem 0;
}
.wn-hero::before {   /* warm glow, top-right */
  content: "";
  position: absolute;
  top: -180px; right: -140px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(232, 98, 26, 0.38), rgba(232, 98, 26, 0) 68%);
  pointer-events: none;
}
.wn-hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.wn-eyebrow {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1rem;
}
.wn-eyebrow i { margin-right: 0.4rem; --fa-primary-color: var(--amber); --fa-secondary-color: #fff; }
.wn-hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  line-height: 1.06;
  margin: 0 0 1.1rem;
  color: #fff;
}
.wn-hero-sub {
  font-family: var(--sans);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.6;
  color: var(--parchment);
  max-width: 660px;
  margin: 0 auto;
}
.wn-hero-cta {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* buttons — MATCH THE MAIN SITE (bibliopolis.less), not a local dialect:
   primary = .btn-gold (orange bg, NAVY text, hover amber + navy, lift -2px);
   ghosts on dark = the quiet underline link (.cta-ghost/.hc-ghost), never a
   filled/inverted box. */
.wn-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.wn-btn i { font-size: 0.85em; }
.wn-btn-primary { background: var(--orange); color: var(--navy); }
.wn-btn-primary:hover { background: var(--amber); color: var(--navy); transform: translateY(-2px); }
.wn-btn-ghost,
.wn-btn-ghost-dark {
  background: transparent;
  padding: 0 0 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
}
.wn-btn-ghost:hover,
.wn-btn-ghost-dark:hover { color: var(--amber); border-color: var(--amber); }

/* channels strip along the bottom of the hero */
.wn-hero-channels {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 1.1rem 1rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
}
.wn-hero-channels-lead {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(220, 232, 247, 0.75);
}
.wn-hero-channels span:not(.wn-hero-channels-lead) {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: #fff;
  opacity: 0.9;
}

/* ── Light showcase section ───────────────────────────────────────────────── */
.wn-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.wn-section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.wn-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
.wn-lede {
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.wn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.wn-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.8rem 1.6rem;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.wn-card:hover {
  box-shadow: 0 12px 30px rgba(15, 30, 61, 0.13);
  transform: translateY(-3px);
  border-color: transparent;
}
.wn-card-icon { display: block; font-size: 2.1rem; margin-bottom: 0.9rem; line-height: 1; }
.wn-card-icon i { --fa-primary-color: var(--cobalt); --fa-secondary-color: var(--orange); --fa-secondary-opacity: 0.55; }
.wn-card-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.16rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.wn-card-desc {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--muted);
  margin: 0;
}

/* ── Spotlight rows ───────────────────────────────────────────────────────── */
.wn-spots { background: var(--cream); padding: 1.5rem 0; }
.wn-spot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2.5rem;
}
.wn-spot + .wn-spot { border-top: 1px solid var(--border); }
.wn-spot-alt .wn-spot-text { order: 2; }
.wn-spot-alt .wn-spot-visual { order: 1; }
.wn-spot-kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.6rem;
}
.wn-spot-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 0.9rem;
}
.wn-spot-desc {
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.wn-spot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.wn-spot-list li {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.wn-spot-list li i { color: var(--orange); font-size: 0.85rem; }
.wn-spot-visual {
  min-height: 260px;
  border-radius: 0;
  background: linear-gradient(145deg, var(--cobalt), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 30, 61, 0.18);
}
.wn-spot-visual::after {
  content: "";
  position: absolute;
  bottom: -120px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(240, 160, 48, 0.35), rgba(240, 160, 48, 0) 70%);
}
.wn-spot-visual i {
  font-size: 6.5rem;
  position: relative;
  --fa-primary-color: #fff;
  --fa-secondary-color: var(--amber);
  --fa-secondary-opacity: 0.75;
}

/* ── Latest updates (changelog) ───────────────────────────────────────────── */
.wn-timeline { list-style: none; margin: 0; padding: 0; max-width: 760px; margin: 0 auto; }
.wn-tl-item { position: relative; display: flex; gap: 1rem; padding: 0 0 1.75rem 0.25rem; }
.wn-tl-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 6px; top: 1.2rem; bottom: 0;
  width: 2px;
  background: var(--border);
}
.wn-tl-dot {
  flex: 0 0 auto;
  width: 14px; height: 14px;
  margin-top: 0.25rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--cream);
  position: relative;
  z-index: 1;
}
.wn-tl-date {
  display: block;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.wn-tl-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--cobalt);
  text-decoration: none;
}
.wn-tl-title:hover { color: var(--orange); }
.wn-tl-sum { font-family: var(--sans); font-size: 0.94rem; line-height: 1.55; color: var(--muted); margin: 0.25rem 0 0; }

/* ── Access CTA band ──────────────────────────────────────────────────────── */
.wn-access {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy), var(--cobalt));
  color: #fff;
  padding: 4rem 1.5rem;
}
.wn-access::before {
  content: "";
  position: absolute;
  top: -140px; left: -100px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(232, 98, 26, 0.30), rgba(232, 98, 26, 0) 68%);
  pointer-events: none;
}
.wn-access-inner { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.wn-eyebrow-dark { color: var(--amber); }
.wn-eyebrow-dark i { --fa-primary-color: var(--amber); --fa-secondary-color: #fff; }
.wn-access-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.12;
  color: #fff;
  margin: 0 0 0.9rem;
}
.wn-access-sub {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--parchment);
  max-width: 620px;
  margin: 0 auto;
}
.wn-access .wn-hero-cta { margin-top: 1.9rem; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .wn-hero { padding-top: 3rem; }
  .wn-spot { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 1.5rem; }
  .wn-spot-alt .wn-spot-text { order: 1; }
  .wn-spot-alt .wn-spot-visual { order: 2; }
  .wn-spot-visual { min-height: 200px; }
  .wn-spot-visual i { font-size: 5rem; }
}
