/* ==========================================================================
   EnVision Help Center
   Scoped to <body class="help-center"> so marketing pages are untouched.
   Loaded after template.css from templates/box5v/index.php.
   ========================================================================== */

/* ---------- Typography ---------------------------------------------------- */

/* Documentation scale: 16px body, 24 / 21 / 17 headings (ratio ~1.25). */
.help-center #main-content {
  font-size: 16px;
}

/* The template's `.article .item-page h1` rule is 0,2,1 — beat it explicitly. */
.help-center #main-content .item-page h1,
.help-center #main-content h1,
.help-center #main-content h2[itemprop="headline"] {
  font-size: clamp(1.6rem, 1.4rem + 0.8vw, 1.9rem);
  line-height: 1.2;
  margin: 0 0 0.4em;
  font-weight: 600;
}

.help-center #main-content h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  line-height: 1.3;
  margin: 2em 0 0.6em;
}

.help-center #main-content h3 {
  font-size: clamp(1.1rem, 1rem + 0.3vw, 1.3125rem);
  line-height: 1.35;
  margin: 1.6em 0 0.5em;
}

.help-center #main-content h4,
.help-center #main-content h5,
.help-center #main-content h6 {
  font-size: 1.0625rem;
  line-height: 1.4;
  margin: 1.4em 0 0.4em;
}

/* No leading gap at the top of an article. */
.help-center #main-content .item-page > h1:first-child,
.help-center #main-content .item-page > h2:first-child,
.help-center #main-content h2:first-child,
.help-center #main-content h3:first-child {
  margin-top: 0;
}

.help-center #main-content p,
.help-center #main-content li,
.help-center #main-content td,
.help-center #main-content dd {
  font-size: 1rem;
  line-height: 1.65;
}

.help-center #main-content p {
  margin: 0 0 1em;
}

.help-center #main-content ul,
.help-center #main-content ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.help-center #main-content li {
  margin-bottom: 0.35em;
}

.help-center #main-content li > ul,
.help-center #main-content li > ol {
  margin-top: 0.35em;
  margin-bottom: 0;
}

/* ---------- Layout: sidebar + content ------------------------------------- */

.help-center #main-content .has-sidebar-left .row {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.help-center #main-content .has-sidebar-left .sidebar-left,
.help-center #main-content .has-sidebar-left .content {
  order: initial;
  flex: none;
  width: auto;
  min-width: 0;
}

.help-center #main-content .sidebar-left {
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.5rem;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
  /* Reserve the scrollbar lane so opening a group doesn't shift the tree. */
  scrollbar-gutter: stable;
}

/* Slim scrollbar for the sticky tree scroller. Chrome/Safari use the webkit
   pseudo-elements; Chrome ignores them if scrollbar-width is also set, so the
   standard properties are scoped to engines without ::-webkit-scrollbar
   (Firefox). */
@supports not selector(::-webkit-scrollbar) {
  .help-center #main-content .sidebar-left {
    scrollbar-width: thin;
    scrollbar-color: rgba(48, 52, 80, 0.25) transparent;
  }
}

.help-center #main-content .sidebar-left::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.help-center #main-content .sidebar-left::-webkit-scrollbar-track,
.help-center #main-content .sidebar-left::-webkit-scrollbar-corner {
  background: transparent;
}

.help-center #main-content .sidebar-left::-webkit-scrollbar-thumb {
  background: rgba(48, 52, 80, 0.22);
  background-clip: content-box;
  border: 2px solid transparent; /* insets the pill, so it reads 4px wide */
  border-radius: 999px;
}

.help-center #main-content .sidebar-left::-webkit-scrollbar-thumb:hover {
  background: rgba(48, 52, 80, 0.4);
  background-clip: content-box;
}

/* ---------- Sidebar tree -------------------------------------------------- */

/* template.css targets these with #main-content (ID) specificity:
   `.moduletable ul:not(.nav) { padding-bottom: 40px }` and
   `ul.nav li { margin-bottom: .5em }` — those produced a 48px gap under
   every child list. Match the ID and force the reset. */
.help-center #main-content .sidebar-left ul.help-tree,
.help-center #main-content .sidebar-left ul.help-tree ul {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35;
  /* The template centres sidebar lists (and does it again under 991px). */
  text-align: left !important;
}

.help-center #main-content .sidebar-left ul.help-tree ul {
  padding-left: 1.6rem !important;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.help-center #main-content .sidebar-left .help-tree li {
  margin: 0 !important;
  padding: 0;
  line-height: 1.35;
  background: transparent !important;
}

/* Links and summary: same visual indent, no extra gap. */
.help-center .sidebar-left .help-tree a,
.help-center .sidebar-left .help-tree summary {
  display: block;
  padding: 0.3em 0.5em;
  font-size: 0.9rem;
  color: var(--primary-color);
  background: transparent !important;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
}

/* Only the item actually hovered gets the highlight. */
.help-center .sidebar-left .help-tree li summary:hover,
.help-center .sidebar-left .help-tree li a:hover {
  background: rgba(0, 0, 0, 0.06) !important;
  color: var(--blue-mid) !important;
}

/* Current / active item. Needs !important: the base `transparent` reset above
   is also !important, so without it the white text lands on no background. */
.help-center #main-content .sidebar-left .help-tree li.current > a,
.help-center #main-content .sidebar-left .help-tree li.active > a {
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--primary-color) !important;
}

.help-center #main-content .sidebar-left .help-tree li.current > a:hover,
.help-center #main-content .sidebar-left .help-tree li.active > a:hover {
  background: var(--blue-mid) !important;
  color: var(--white) !important;
}

/* Group nodes: a section landing page (e.g. /tools) marks the <li> current,
   but the row is a <details><summary>, not a link — highlight that too. */
.help-center #main-content .sidebar-left .help-tree li.current > details > summary,
.help-center #main-content .sidebar-left .help-tree li.active > details > summary {
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--primary-color) !important;
}

.help-center #main-content .sidebar-left .help-tree li.current > details > summary:hover,
.help-center #main-content .sidebar-left .help-tree li.active > details > summary:hover {
  background: var(--blue-mid) !important;
  color: var(--white) !important;
}

/* Group that has its own page: the "Overview" link is the current row, so
   paint that instead of the group label sitting above it. */
.help-center #main-content .sidebar-left .help-tree li.current.has-overview > details > summary,
.help-center #main-content .sidebar-left .help-tree li.active.has-overview > details > summary,
.help-center #main-content .sidebar-left .help-tree li.current.has-overview > details > summary:hover,
.help-center #main-content .sidebar-left .help-tree li.active.has-overview > details > summary:hover {
  color: var(--primary-color) !important;
  background: transparent !important;
}

/* The group title is now the overview link; keep it looking like a heading until
   hovered, and mark the current page the same way the old Overview row was. */
.help-center .sidebar-left .help-tree details > summary > a.help-tree__title {
  color: inherit !important;
  text-decoration: none !important;
  display: block;
  /* The summary already supplies the inset, so the label starts exactly where a
     plain sibling link is text starts. Without this the base link padding
     (0.5em) stacks on top of it and group rows sit ~7px too far right. */
  padding: 0 !important;
}

.help-center .sidebar-left .help-tree details > summary > a.help-tree__title:hover,
.help-center .sidebar-left .help-tree details > summary > a.help-tree__title:focus {
  color: var(--primary-color) !important;
  text-decoration: underline !important;
}

/* The current group's title is the pill, but the title link is reset to
   `padding: 0` so its label lines up with the summary's indent. Give the pill
   the same horizontal inset a plain link gets, and pull the box back by the
   same amount so the label stays where it was and only the pill grows. */
.help-center #main-content .sidebar-left .help-tree details > summary > a.help-tree__title.is-current {
  padding: 0 0.5em !important;
  margin-left: -0.5em;
}

.help-center #main-content .sidebar-left .help-tree details > summary.is-current,
.help-center #main-content .sidebar-left .help-tree details > summary > a.help-tree__title.is-current {
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--primary-color) !important;
  border-radius: 4px;
}

.help-center #main-content .sidebar-left .help-tree .help-tree__overview.is-current,
.help-center #main-content .sidebar-left .help-tree .help-tree__overview[aria-current="page"] {
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--primary-color) !important;
}

.help-center #main-content .sidebar-left .help-tree .help-tree__overview.is-current:hover,
.help-center #main-content .sidebar-left .help-tree .help-tree__overview[aria-current="page"]:hover {
  background: var(--blue-mid) !important;
  color: var(--white) !important;
}

/* Details/summary tree: no default marker, animated caret. */
.help-center .sidebar-left .help-tree details > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35em;
  /* Arrow sits inside the padding so parent text aligns with child links. */
  padding-left: 1.6rem;
  position: relative;
}

.help-center .sidebar-left .help-tree details > summary::-webkit-details-marker {
  display: none;
}

.help-center .sidebar-left .help-tree details > summary::before {
  content: "";
  position: absolute;
  left: 0.5em;
  width: 0.45em;
  height: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  opacity: 0.65;
}

.help-center .sidebar-left .help-tree details[open] > summary::before {
  transform: rotate(45deg);
}

.help-center .sidebar-left .help-tree details[open] > summary {
  font-weight: 600;
}

/* Section-level group labels. */
.help-center .sidebar-left .help-tree > li > details > summary {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5b6076;
}

/* "Overview" link that follows a group label. Muted slate so it reads on
   white (--blue-mid #8fc4d7 is ~1.9:1); !important because the base
   transparent reset above is !important too. */
.help-center .sidebar-left .help-tree .help-tree__overview {
  font-size: 0.82rem;
  color: #5b6076 !important;
  padding-left: 1.6rem !important;
  background: transparent !important;
}

.help-center .sidebar-left .help-tree .help-tree__overview:hover {
  color: var(--primary-color) !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

/* Children (topic links) align with parent text, not the arrow. */
.help-center .sidebar-left ul.help-tree ul > li > a {
  padding-left: 1.6rem;
}

/* ---------- Sidebar search ------------------------------------------------ */

.help-center .sidebar-left .mod-finder__search {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

/* Joomla's finder layout ships a submit button with a language label. The
   help sidebar renders its own compact arrow button (see the mod_finder
   override), so hide only whichever stock button is left. */
.help-center .sidebar-left .mod-finder__search .btn:not(.help-finder__submit) {
  display: none;
}

.help-center .sidebar-left .mod-finder form,
.help-center .sidebar-left .mod-finder input,
.help-center .sidebar-left .mod-finder__search {
  background-image: none;
}

/* Joomla's mod_finder renders the <form> itself with the .mod-finder class,
   so template.css's .form-search::before magnifier lands on the form element.
   Keep the icon and repeat its declaration set here (glyph, Font Awesome 6
   Free, centred on the field, never a click target), so the icon resumes only
   because the field below is padded to clear it.
   The form is exactly the height of the field (the label is clipped and
   absolutely positioned, and the field's legacy vertical margins are reset
   above), so 50% of the form is the field's centre; line-height 1 keeps the
   glyph's box the same size as its ink, so no magic offset is needed when the
   field's padding or font-size changes. */
.help-center .sidebar-left .mod-finder::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  font-size: 16px;
  color: var(--primary-color);
  pointer-events: none;
  z-index: 99;
}

/* template.css pins .form-search to a 340px width, which is wider than this
   column and gets clipped at the sidebar edge. Fit the field to the column. */
.help-center .sidebar-left .mod-finder,
.help-center .sidebar-left .mod-finder .awesomplete {
  width: 100%;
  max-width: 100%;
}

/* The glyph runs 12px..28px inside the field, so 35px of left padding - the
   same as the header search - starts the placeholder, a typed value and the
   caret at 0 to its right. The selector has to out-specify the 0.6em left
   padding on .mod-finder__search .form-control (4 classes), which would
   otherwise pull the text back under the icon. */
.help-center .sidebar-left .mod-finder .mod-finder__search input,
.help-center .sidebar-left .mod-finder .awesomplete input {
  padding-left: 35px;
}

/* Keep search reachable while the tree scrolls. The layer is opaque, so its
   in-flow footprint has to cover everything it paints over — see the margin
   reset below, which is what makes that true. */
.help-center .sidebar-left .moduletable.help-search {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--background-light);
  padding-bottom: 0.5rem;
}

/* template.css leaves two legacy margins on `.sidebar-left .input-group`:
   `margin-top: -2em` on the wrapper (line 2241) and `margin-top: 1em` on the
   field (line 2245). Neither survives contact with this module:
   - the -2em pulls the search module's flow box 32px up, so the module paints
     58px tall but occupies only 26px of flow, and the tree's first row
     (GENERAL) lays out *underneath* the opaque sticky layer. On pages whose
     body id happens to be `envision-help-center`, template.css drops the
     module's 2em bottom margin (its own rule, line 2393) and the 32px shows;
     on other help articles the 2em margin hides it, so the tree merely sits
     too close and nothing looks broken.
   - the 1em on the field only matches while the input is a direct child of
     .mod-finder__search; Awesomplete's JS then wraps it in
     <div class="awesomplete">, the rule stops matching, and the field, its
     text and the whole tree jump up 14.4px (1em at the field's 0.9rem font)
     after first paint. The absolutely positioned icon does not move, which is
     what made the jump visible.
   Reset both, and pin the gap between the two modules so every help page gets
   the same layout instead of one keyed to its body id. */
.help-center .sidebar-left .mod-finder__search.input-group {
  margin-top: 0;
}

.help-center .sidebar-left .mod-finder__search > .form-control,
.help-center .sidebar-left .mod-finder__search .awesomplete > .form-control {
  margin-top: 0;
  /* The field also inherits a 15px bottom margin from template.css's legacy
     input rules. Left in place the form grows 15px taller than the field, so
     the icon — centred on the form at 50% — sits 7.5px low and the submit
     button stretches to the taller row. Reset it: the form is then exactly
     the field's height and 50% really is the field's centre. */
  margin-bottom: 0;
}

.help-center #main-content .sidebar-left .moduletable {
  margin-bottom: 0;
}

.help-center .sidebar-left .mod-finder__search .form-control {
  width: 100%;
  height: auto;
  padding: 0.45em 0.6em;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 4px;
}

.help-center .sidebar-left .mod-finder__search .btn {
  padding: 0.45em 0.7em;
  font-size: 0.85rem;
  flex: none;
}

/* The help sidebar's own submit button: an arrow glyph, the same height as
   the field (flex stretch), so the module keeps its exact height and the
   absolutely positioned magnifier stays centred at 50%. */
.help-center .sidebar-left .mod-finder__search .help-finder__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2.2rem;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  color: #fff;
  background: var(--primary-color);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 4px;
}

.help-center .sidebar-left .mod-finder__search .help-finder__submit:hover,
.help-center .sidebar-left .mod-finder__search .help-finder__submit:focus-visible {
  background: #1b4f63;
}

/* ---------- Sidebar search: live results ---------------------------------- */

/* Results are injected as the first row of the topic tree — same rows and
   rhythm as the groups below, separated by a label and a hairline — so they
   read as part of the sidebar rather than a floating autocomplete. */
.help-center .sidebar-left .help-search {
  margin: 0 0 0.35rem;
  padding: 0 0 0.45rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.help-center .sidebar-left .help-search .help-search__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem;
  margin: 0.15rem 0 0.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5b6076;
}

.help-center .sidebar-left .help-search .help-search__count {
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
  color: #6b7086;
}

.help-center .sidebar-left .help-search .help-search__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.help-center .sidebar-left .help-search .help-search__link {
  /* The tree's own anchor rule (.help-tree a, 3 classes + element) out-specifies
     a plain .help-search__link, so repeat the layout here rather than inherit
     display:block and the tree's indent. */
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.25;
  color: inherit;
  text-decoration: none;
}

.help-center .sidebar-left .help-search .help-search__link:hover,
.help-center .sidebar-left .help-search .help-search__link:focus-visible {
  background: rgba(0, 0, 0, 0.05);
}

.help-center .sidebar-left .help-search .help-search__link.is-active {
  background: rgba(0, 0, 0, 0.08);
  box-shadow: inset 2px 0 0 var(--primary-color);
}

.help-center .sidebar-left .help-search .help-search__title {
  font-weight: 600;
}

.help-center .sidebar-left .help-search .help-search__title mark {
  padding: 0;
  background: #fff2ac;
  color: inherit;
  font-weight: 700;
}

.help-center .sidebar-left .help-search .help-search__group {
  font-size: 0.75rem;
  color: #6b7086;
}

.help-center .sidebar-left .help-search .help-search__empty {
  margin: 0.2rem 0.5rem 0;
  font-size: 0.82rem;
  color: #6b7086;
}

/* ---------- Breadcrumbs --------------------------------------------------- */

.help-center .help-breadcrumbs {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: #6b7086;
}

.help-center .help-breadcrumbs .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 0.875rem;
}

.help-center .help-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #b3b7c6;
  padding: 0 0.4em;
}

/* ---------- Article body furniture ---------------------------------------- */

.help-center #main-content figure.help-media {
  margin: 1.5em 0;
  text-align: center;
}

.help-center #main-content figure.help-media img,
.help-center #main-content figure.help-media video {
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.help-center #main-content figure.help-media figcaption {
  margin-top: 0.5em;
  font-size: 0.875rem;
  color: #6b7086;
}

/* "On this page" table of contents. */
.help-center #main-content .help-toc {
  margin: 1.5em 0 2em;
  padding: 0.9em 1.1em;
  background: #f5f6fa;
  border-left: 3px solid var(--primary-color);
  border-radius: 4px;
}

.help-center #main-content .help-toc h2 {
  margin: 0 0 0.5em;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5b6076;
}

.help-center #main-content .help-toc ul {
  margin: 0;
  padding-left: 1.1em;
}

.help-center #main-content .help-toc li {
  margin-bottom: 0.2em;
  font-size: 0.9375rem;
}

/* Full guide callout. */
.help-center #main-content .help-fullguide {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 1.75em 0 0;
  padding: 0.7em 0.9em;
  background: #eef2fb;
  border: 1px solid #d7deef;
  border-radius: 6px;
}

.help-center #main-content .help-fullguide__label {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7086;
  white-space: nowrap;
}

.help-center #main-content .help-fullguide a {
  font-weight: 600;
  text-decoration: none;
}

/* Related topics. */
.help-center #main-content .help-related {
  margin: 2.5em 0 0;
  padding-top: 1.2em;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.help-center #main-content .help-related h2 {
  margin-top: 0;
  font-size: 1.0625rem;
}

.help-center #main-content .help-related ul {
  padding-left: 1.1em;
}

/* "Added in <version>" from the front-matter `since` field. */
.help-center #main-content .help-since {
  margin: 1.75em 0 0;
  font-size: 0.8125rem;
  color: #6b7086;
}

.help-center #main-content .help-since__label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.help-center #main-content .help-since__version {
  font-weight: 600;
  color: var(--primary-color);
}

/* Prev / next pager. */
.help-center #main-content .help-pager {
  display: flex;
  gap: 1rem;
  margin: 2em 0 0;
}

.help-center #main-content .help-pager a {
  flex: 1 1 0;
  padding: 0.75em 0.9em;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9375rem;
  background: #fff;
}

.help-center #main-content .help-pager a:hover {
  border-color: var(--primary-color);
  background: #f7f8fc;
}

.help-center #main-content .help-pager .help-pager__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7086;
}

.help-center #main-content .help-pager .is-next {
  text-align: right;
  margin-left: auto;
}

/* ---------- Landing page -------------------------------------------------- */

.help-center .help-home__search {
  margin: 0 0 2rem;
}

.help-center .help-home__search input[type="search"],
.help-center .help-home__search input[type="text"] {
  width: 100%;
  padding: 0.8em 1em;
  font-size: 1.0625rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 6px;
}

.help-center .help-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}

.help-center .help-sections__card {
  padding: 1.2em 1.3em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #fff;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.help-center .help-sections__card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.help-center .help-sections__card h2,
.help-center .help-sections__card h3 {
  margin: 0 0 0.35em;
  font-size: 1.125rem;
}

.help-center .help-sections__count {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7086;
}

.help-center .help-sections__card ul {
  margin: 0.6em 0 0;
  padding-left: 1.1em;
  font-size: 0.9375rem;
}

.help-center .help-sections__card--wide {
  grid-column: 1 / -1;
}

/* ---------- Landing page: docs-only search results ------------------------ */

.help-center .help-search-page__heading {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #3b4157;
}

.help-center .help-search-page__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.help-center .help-search-page__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.help-center .help-search-page__link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.25rem;
  color: inherit;
  text-decoration: none;
}

.help-center .help-search-page__link:hover,
.help-center .help-search-page__link:focus-visible {
  background: rgba(0, 0, 0, 0.03);
}

.help-center .help-search-page__title {
  font-size: 1rem;
  font-weight: 600;
}

.help-center .help-search-page__title mark {
  padding: 0;
  background: #fff2ac;
  color: inherit;
  font-weight: 700;
}

.help-center .help-search-page__group {
  font-size: 0.8rem;
  color: #6b7086;
}

.help-center .help-search-page__empty,
.help-center .help-search-page__more {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: #6b7086;
}

/* ---------- Mobile -------------------------------------------------------- */

@media (max-width: 991px) {
  .help-center #main-content .has-sidebar-left .row {
    display: block;
  }

  .help-center #main-content .sidebar-left {
    position: static;
    max-height: 45vh;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0.75rem 0.5rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  /* The template centres sidebar list items on small screens. */
  .help-center .sidebar-left .help-tree,
  .help-center .sidebar-left .help-tree li {
    text-align: left;
  }
}
