/* ==========================================================================
   Sumtracker Help Center — Custom Stylesheet for Help Scout Docs (v2)
   --------------------------------------------------------------------------
   Modern, clean, brand-blue. Single-font (Manrope) for cohesion.

   How to use:
   1. Manage > Docs > [Site] > Custom Code > External CSS > upload this file.
   2. Manage > Docs > [Site] > Branding: set "Header Background Color"
      to #1E3A8A (matches --st-header-bg below) — keeps things consistent
      if the stylesheet ever fails to load.
   3. Rebrand by editing the tokens in :root below.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --st-header-bg:  #1E3A8A;   /* deep brand blue — header & top-of-page */
  --st-ink:        #0F172A;   /* near-black for body text */
  --st-ink-soft:   #1F2937;
  --st-accent:     #2563EB;   /* electric blue — links, CTAs, article count */
  --st-accent-dk:  #1D4ED8;
  --st-accent-sft: #EFF4FF;

  /* Surfaces */
  --st-paper:      #FAF8F3;   /* warm cream page background */
  --st-card:       #FFFFFF;
  --st-line:       #E7E2D7;
  --st-line-soft:  #F0EBE0;

  /* Text */
  --st-text:       #1F2937;
  --st-text-soft:  #4B5563;
  --st-text-mute:  #6B7280;

  /* Code */
  --st-code-bg:    #0F172A;
  --st-code-fg:    #E5E7EB;
  --st-code-inline:#F3EFE6;

  /* System */
  --st-radius:     12px;
  --st-radius-sm:  8px;
  --st-shadow-sm:  0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --st-shadow-md:  0 4px 14px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --st-shadow-lg:  0 16px 32px -12px rgba(15, 23, 42, 0.16);
  --st-ease:       cubic-bezier(0.22, 1, 0.36, 1);

  /* Type — one family, multiple weights */
  --st-font:       'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --st-font-mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* --------------------------------------------------------------------------
   2. Base — fix the cream gap above the header
   -------------------------------------------------------------------------- */
html {
  background: var(--st-header-bg);   /* anything visible above the header now matches */
}

body {
  font-family: var(--st-font) !important;
  background: var(--st-paper) !important;
  color: var(--st-text) !important;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  margin: 0 !important;
}

::selection { background: var(--st-ink); color: var(--st-paper); }

/* --------------------------------------------------------------------------
   3. Top header / navigation — deep brand blue, white nav text
   -------------------------------------------------------------------------- */
#header,
header.header,
.header,
header#header,
nav.docs-nav {
  background: var(--st-header-bg) !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 16px 0 !important;
}

#header .logo img,
header .logo img {
  max-height: 38px;
  width: auto;
}

/* Nav links inside the dark header — white text */
#header nav a,
header nav a,
nav.docs-nav a,
#header .navLinks a,
.header nav a {
  font-family: var(--st-font) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: -0.005em !important;
  color: rgba(255, 255, 255, 0.92) !important;
  text-transform: none !important;
  padding: 8px 14px !important;
  border-radius: var(--st-radius-sm) !important;
  transition: all .15s var(--st-ease) !important;
}

#header nav a:hover,
header nav a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

#header nav a.active,
header nav .active a {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

/* --------------------------------------------------------------------------
   4. Search hero — clean, no dot pattern, soft gradient
   -------------------------------------------------------------------------- */
#docsSearch {
  background: linear-gradient(180deg, var(--st-paper) 0%, #F2EDE2 100%) !important;
  border-bottom: 1px solid var(--st-line) !important;
  padding: 80px 20px 88px !important;
  position: relative;
  overflow: hidden;
}

#docsSearch h1,
#docsSearch .siteDescription,
#docsSearch p {
  font-family: var(--st-font) !important;
  font-weight: 800 !important;
  font-size: clamp(32px, 4.5vw, 48px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  color: var(--st-ink) !important;
  max-width: 720px;
  margin: 0 auto 36px !important;
  text-align: center;
}

/* Search input + button (pill) */
#searchBar,
.search-form {
  max-width: 640px !important;
  margin: 0 auto !important;
  position: relative;
}

#searchBar .search-query,
#searchBar input[type="search"],
.search-form input[type="text"] {
  width: 100% !important;
  height: 56px !important;
  padding: 0 130px 0 20px !important;
  font-family: var(--st-font) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--st-ink) !important;
  background: var(--st-card) !important;
  border: 1px solid var(--st-line) !important;
  border-radius: 10px !important;
  box-shadow: var(--st-shadow-sm) !important;
  outline: none !important;
  transition: border-color .15s var(--st-ease), box-shadow .15s var(--st-ease) !important;
}

#searchBar .search-query::placeholder {
  color: var(--st-text-mute) !important;
  font-weight: 400 !important;
}

#searchBar .search-query:focus {
  border-color: var(--st-accent) !important;
  box-shadow: 0 0 0 3px var(--st-accent-sft) !important;
}

/* Magnifying glass icon removed — HelpScout's reference doesn't use one. */
#searchBar::before { display: none !important; content: none !important; }

/* Search button — flush right, full height, only right corners rounded */
#searchBar button {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: 56px !important;
  padding: 0 32px !important;
  background: var(--st-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 10px 10px 0 !important;
  font-family: var(--st-font) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  cursor: pointer !important;
  transition: background .15s var(--st-ease) !important;
}

#searchBar button:hover {
  background: var(--st-accent-dk) !important;
  transform: translateY(-50%) !important;
}

/* Search autocomplete dropdown — wider, properly styled, hover states.
   Covers jQuery UI autocomplete (default in HelpScout) and a few variants. */
.ui-autocomplete,
.ui-menu,
ul.ui-autocomplete,
.searchAutocomplete,
#searchAutocomplete,
.search-suggestions,
.searchSuggestions {
  background: var(--st-card) !important;
  border: 1px solid var(--st-line) !important;
  border-top: 1px solid var(--st-line-soft) !important;
  border-radius: 0 0 10px 10px !important;
  box-shadow: var(--st-shadow-md) !important;
  padding: 0 !important;
  margin: -1px 0 0 0 !important;
  list-style: none !important;
  min-width: 380px !important;
  max-width: 640px !important;
  z-index: 9999 !important;
  font-family: var(--st-font) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  max-height: 480px !important;
}

.ui-autocomplete li,
.ui-menu-item,
.searchAutocomplete li,
.search-suggestions li,
.searchSuggestions li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--st-line-soft) !important;
}

.ui-autocomplete li:last-child,
.ui-menu-item:last-child,
.searchAutocomplete li:last-child,
.search-suggestions li:last-child,
.searchSuggestions li:last-child {
  border-bottom: none !important;
}

.ui-autocomplete li a,
.ui-menu-item-wrapper,
.ui-menu-item a,
.ui-menu-item > div,
.searchAutocomplete li a,
.search-suggestions li a,
.searchSuggestions li a {
  display: block !important;
  padding: 14px 20px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--st-accent) !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  transition: background .12s var(--st-ease) !important;
  line-height: 1.4 !important;
  white-space: normal !important;
}

.ui-autocomplete li a:hover,
.ui-autocomplete li.ui-state-focus a,
.ui-autocomplete li.ui-state-active a,
.ui-menu-item-wrapper:hover,
.ui-menu-item-wrapper.ui-state-active,
.ui-menu-item.ui-state-focus > div,
.ui-menu-item .ui-state-active,
.searchAutocomplete li a:hover,
.searchAutocomplete li.active a,
.search-suggestions li a:hover,
.search-suggestions li.active a,
.searchSuggestions li a:hover {
  background: var(--st-accent-sft) !important;
  color: var(--st-accent-dk) !important;
  border: none !important;
  margin: 0 !important;
}

/* When the dropdown is open, square off the search input's bottom corners */
#searchBar:has(.ui-autocomplete:not(:empty)) .search-query,
#searchBar.has-dropdown .search-query {
  border-radius: 10px 10px 0 0 !important;
}

#searchBar:has(.ui-autocomplete:not(:empty)) button,
#searchBar.has-dropdown button {
  border-radius: 0 10px 0 0 !important;
}

/* Highlighted match text inside dropdown */
.ui-autocomplete em,
.ui-autocomplete strong,
.searchAutocomplete em {
  background: #FEF3C7;
  color: var(--st-ink);
  font-style: normal;
  font-weight: 600;
  padding: 1px 3px;
  border-radius: 3px;
}

/* "Sort by Popularity" select on category pages.
   Only target the actual <select> — NOT the wrapper .sortBy, which would
   paint a card over the native text and make it look empty. */
.sortBy select,
.sort-by select,
select.sortSelect,
select.sort-select {
  font-family: var(--st-font) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--st-text) !important;
  padding: 7px 28px 7px 12px !important;
  background-color: var(--st-card) !important;
  border: 1px solid var(--st-line) !important;
  border-radius: var(--st-radius-sm) !important;
  cursor: pointer !important;
  transition: border-color .15s var(--st-ease) !important;
}

.sortBy select:hover,
.sort-by select:hover {
  border-color: var(--st-accent) !important;
}

/* --------------------------------------------------------------------------
   5. Container & layout
   -------------------------------------------------------------------------- */
#container,
.container,
main {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

#main,
#mainContent {
  padding-top: 48px !important;
  padding-bottom: 72px !important;
}

/* --------------------------------------------------------------------------
   6. Home page — category / collection cards
      Match Help Scout's reference: tighter grid, bold sans-serif titles,
      blue article-count link at the bottom.
   -------------------------------------------------------------------------- */
.category-list,
.twoCol,
.threeCol,
.fourCol,
.collectionWrap > ul {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px)) !important;
  gap: 16px !important;
  justify-content: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  max-width: 1180px;
}

.category-list .category,
.twoCol .collection,
.threeCol .collection,
.fourCol .collection,
.collection,
.category {
  background: var(--st-card) !important;
  border: 1px solid var(--st-line) !important;
  border-radius: var(--st-radius) !important;
  padding: 28px 24px 24px !important;
  box-shadow: var(--st-shadow-sm) !important;
  transition: all .2s var(--st-ease) !important;
  margin: 0 !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.category-list .category:hover,
.twoCol .collection:hover,
.threeCol .collection:hover,
.collection:hover,
.category:hover {
  transform: translateY(-3px) !important;
  border-color: var(--st-accent) !important;
  box-shadow: var(--st-shadow-md) !important;
}

/* Card title */
.category h2,
.category h3,
.collection h2,
.collection h3,
.category-list .category > a,
.collection > a {
  font-family: var(--st-font) !important;
  font-weight: 800 !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  color: var(--st-ink) !important;
  text-decoration: none !important;
  margin: 0 0 6px !important;
}

/* Card description */
.category .description,
.collection .description,
.category > p,
.collection > p {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--st-text-soft) !important;
  margin: 0 0 12px !important;
  line-height: 1.5 !important;
}

/* Article count — bottom of card, blue link */
.category .articleCount,
.collection .articleCount,
.category-list .category .meta,
.category small,
.collection small {
  display: inline-block !important;
  margin-top: auto !important;
  padding-top: 4px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--st-accent) !important;
  text-transform: lowercase !important;
  letter-spacing: 0 !important;
}

/* --------------------------------------------------------------------------
   7. Article list (inside a collection page)
   -------------------------------------------------------------------------- */

/* Category/collection page title (e.g. "Integrations") */
.categoryHead h1,
.collectionHead h1,
#fullCategory h1,
.category-header h1 {
  font-family: var(--st-font) !important;
  font-weight: 800 !important;
  font-size: 32px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
  color: var(--st-ink) !important;
  margin: 0 0 24px !important;
}

.articleList,
ul.article-list,
.articles {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.articleList li,
ul.article-list li {
  border-bottom: 1px solid var(--st-line-soft) !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  transition: background .15s var(--st-ease);
}

.articleList li:first-child {
  border-top: 1px solid var(--st-line-soft) !important;
}

.articleList li:hover,
ul.article-list li:hover {
  background: var(--st-accent-sft) !important;
}

.articleList li a,
ul.article-list li a {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px 8px !important;
  color: var(--st-ink) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  position: relative;
  border: none !important;
  background: transparent !important;
}

/* Article icon (paper/page icon) — center vertically with text */
.articleList li a img,
.articleList li a svg,
.articleList li a i,
.articleList li a::before,
ul.article-list li a img,
ul.article-list li a svg {
  flex-shrink: 0 !important;
  width: 18px !important;
  height: 18px !important;
  vertical-align: middle !important;
  opacity: 0.55;
  margin: 0 !important;
  align-self: center !important;
}

/* Arrow indicator on hover, pushed to far right */
.articleList li a::after {
  content: "→";
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: all .2s var(--st-ease);
  color: var(--st-accent);
  font-weight: 600;
}

.articleList li a:hover {
  background: transparent !important;
}

.articleList li a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   8. Article page
   -------------------------------------------------------------------------- */
#fullArticle,
.article,
article.docsArticle {
  max-width: 760px;
  margin: 0 auto;
  background: transparent !important;
}

/* Headings — Manrope, heavy weights for that bold sans-serif look */
article h1,
#fullArticle h1,
.article h1 {
  font-family: var(--st-font) !important;
  font-weight: 800 !important;
  font-size: clamp(30px, 4vw, 40px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
  color: var(--st-ink) !important;
  margin: 0 0 20px !important;
}

article h2,
#fullArticle h2,
.article h2 {
  font-family: var(--st-font) !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
  color: var(--st-ink) !important;
  margin: 44px 0 14px !important;
}

article h3,
#fullArticle h3,
.article h3 {
  font-family: var(--st-font) !important;
  font-weight: 700 !important;
  font-size: 19px !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
  color: var(--st-ink) !important;
  margin: 28px 0 10px !important;
}

article h4 {
  font-family: var(--st-font) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  color: var(--st-ink) !important;
  letter-spacing: -0.005em;
  margin: 24px 0 8px !important;
}

/* Body copy */
article p,
#fullArticle p {
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: var(--st-text) !important;
  margin: 0 0 18px !important;
}

/* Article meta (author, date) */
.articleHead,
.article-meta {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--st-line);
  color: var(--st-text-mute);
  font-size: 14px;
}

/* Links inside articles */
article a,
#fullArticle a,
.article-body a {
  color: var(--st-accent) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
  transition: all .15s ease;
}

article a:hover,
#fullArticle a:hover {
  color: var(--st-accent-dk) !important;
  border-bottom-color: var(--st-accent);
  background: var(--st-accent-sft);
}

/* Lists — explicit font-size fixes the "bullets look smaller" issue */
article ul,
article ol,
#fullArticle ul,
#fullArticle ol {
  margin: 0 0 20px !important;
  padding-left: 24px !important;
}

article ul li,
article ol li,
#fullArticle ul li,
#fullArticle ol li,
article li,
#fullArticle li {
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: var(--st-text) !important;
  margin-bottom: 8px !important;
}

article ul li::marker,
#fullArticle ul li::marker {
  color: var(--st-accent);
}

/* Nested lists shouldn't get extra margin */
article li > ul,
article li > ol {
  margin: 8px 0 0 !important;
}

/* Images */
article img,
#fullArticle img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--st-radius-sm) !important;
  border: 1px solid var(--st-line) !important;
  box-shadow: var(--st-shadow-sm) !important;
  margin: 24px 0 !important;
}

/* Blockquotes */
article blockquote,
#fullArticle blockquote {
  border-left: 3px solid var(--st-accent) !important;
  background: var(--st-accent-sft) !important;
  margin: 24px 0 !important;
  padding: 16px 22px !important;
  border-radius: 0 var(--st-radius-sm) var(--st-radius-sm) 0 !important;
  color: var(--st-ink-soft) !important;
  font-style: normal !important;
}

article blockquote p:last-child { margin-bottom: 0 !important; }

/* Code */
article code,
#fullArticle code,
.article code {
  font-family: var(--st-font-mono) !important;
  font-size: 0.88em !important;
  background: var(--st-code-inline) !important;
  color: var(--st-ink) !important;
  padding: 2px 7px !important;
  border-radius: 5px !important;
  border: 1px solid var(--st-line) !important;
}

article pre,
#fullArticle pre {
  background: var(--st-code-bg) !important;
  color: var(--st-code-fg) !important;
  padding: 20px 22px !important;
  border-radius: var(--st-radius-sm) !important;
  overflow-x: auto !important;
  margin: 24px 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  border: none !important;
  box-shadow: var(--st-shadow-sm) !important;
}

article pre code {
  background: transparent !important;
  color: inherit !important;
  border: none !important;
  padding: 0 !important;
  font-size: 14px !important;
}

/* Tables */
article table,
#fullArticle table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 24px 0 !important;
  font-size: 15px !important;
  border: 1px solid var(--st-line) !important;
  border-radius: var(--st-radius-sm) !important;
  overflow: hidden !important;
}

article th {
  background: var(--st-line-soft) !important;
  color: var(--st-ink) !important;
  font-weight: 700 !important;
  text-align: left !important;
  padding: 12px 16px !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  border-bottom: 1px solid var(--st-line) !important;
}

article td {
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--st-line-soft) !important;
}

article tr:last-child td { border-bottom: none !important; }
article tr:hover td { background: var(--st-accent-sft) !important; }

article hr {
  border: none;
  border-top: 1px solid var(--st-line);
  margin: 36px 0;
}

/* --------------------------------------------------------------------------
   9. Article footer — flex row so "Still need help" and "Last updated"
      sit on the same line, properly aligned.
   -------------------------------------------------------------------------- */
.articleFoot,
.article-feedback,
.feedback {
  margin-top: 56px !important;
  padding: 16px 22px !important;
  background: var(--st-card) !important;
  border: 1px solid var(--st-line) !important;
  border-radius: var(--st-radius) !important;

  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px 20px !important;

  font-family: var(--st-font) !important;
  font-style: normal !important;
  text-align: left !important;
}

/* "Still need help? Contact Us" */
.articleFoot p,
.articleFoot .question,
.articleFoot .docsRating > p,
.articleFoot > span:first-child {
  font-family: var(--st-font) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  color: var(--st-text-soft) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
  flex: 0 1 auto;
}

.articleFoot a {
  color: var(--st-accent) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  background: transparent !important;
}

.articleFoot a:hover {
  text-decoration: underline !important;
  background: transparent !important;
}

/* "Last updated on..." — same row, right-aligned */
.articleFoot time,
.articleFoot time.lu,
.articleFoot .last-updated,
.articleFoot .lastUpdated {
  display: inline !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--st-text-mute) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-style: normal !important;
  flex: 0 0 auto;
}

/* Feedback buttons if shown */
.articleFoot button,
.feedback button,
.articleFoot .docsRating button {
  background: var(--st-card) !important;
  color: var(--st-ink) !important;
  border: 1px solid var(--st-line) !important;
  padding: 8px 18px !important;
  margin: 0 4px !important;
  border-radius: 999px !important;
  font-family: var(--st-font) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all .15s var(--st-ease) !important;
}

.articleFoot button:hover,
.feedback button:hover {
  background: var(--st-ink) !important;
  color: #fff !important;
  border-color: var(--st-ink) !important;
}

/* --------------------------------------------------------------------------
   10. Sidebar / related articles / categories
   -------------------------------------------------------------------------- */
.sidebar,
#sidebar,
aside {
  background: transparent !important;
  border: none !important;
}

.sidebar h3,
#sidebar h3,
aside h3,
.sidebar .h3,
.sidebar h4 {
  font-family: var(--st-font) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--st-text-soft) !important;
  margin: 36px 0 10px !important;
  padding-left: 12px !important;
}

.sidebar ul,
#sidebar ul,
aside ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 28px !important;
}

.sidebar li,
#sidebar li,
aside li {
  margin: 2px 0 !important;
}

.sidebar li a,
#sidebar li a,
aside li a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--st-radius-sm);
  color: var(--st-text-soft) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  transition: all .15s var(--st-ease);
}

.sidebar li a:hover,
#sidebar li a:hover {
  color: var(--st-ink) !important;
  background: var(--st-accent-sft) !important;
}

/* --------------------------------------------------------------------------
   11. Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs,
.crumbs,
nav.breadcrumb {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--st-text-mute) !important;
  margin: 24px 0 28px !important;
}

.breadcrumbs a,
.crumbs a {
  color: var(--st-text-mute) !important;
  text-decoration: none !important;
  transition: color .15s ease;
}

.breadcrumbs a:hover,
.crumbs a:hover {
  color: var(--st-accent) !important;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
#footer,
footer.docs-footer {
  background: var(--st-header-bg) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  padding: 36px 24px !important;
  border-top: none !important;
  font-size: 14px !important;
  text-align: center;
}

#footer a,
footer.docs-footer a {
  color: rgba(255, 255, 255, 0.95) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color .15s ease;
}

#footer a:hover {
  border-bottom-color: #fff;
}

/* --------------------------------------------------------------------------
   13. Search results page
   -------------------------------------------------------------------------- */
.searchResult,
.search-results .result {
  background: var(--st-card);
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 20px 22px;
  margin-bottom: 12px;
  transition: all .15s var(--st-ease);
}

.searchResult:hover,
.search-results .result:hover {
  border-color: var(--st-accent);
  transform: translateY(-1px);
  box-shadow: var(--st-shadow-md);
}

.searchResult h3,
.search-results .result h3 {
  font-family: var(--st-font) !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  margin: 0 0 4px !important;
  color: var(--st-ink) !important;
}

.searchResult em,
.search-results em {
  background: #FEF3C7;
  color: var(--st-ink);
  font-style: normal;
  padding: 1px 4px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   14. Subtle entrance animation
   -------------------------------------------------------------------------- */
@keyframes st-fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

#docsSearch h1,
article h1 {
  animation: st-fade-up .5s var(--st-ease) both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   15. Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  #docsSearch {
    padding: 48px 16px 56px !important;
  }

  #docsSearch h1 {
    font-size: 28px !important;
  }

  #searchBar .search-query {
    height: 52px !important;
    padding-right: 100px !important;
    font-size: 15px !important;
  }

  #searchBar button {
    height: 40px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }

  #main, #mainContent {
    padding-top: 28px !important;
    padding-bottom: 40px !important;
  }

  .category-list,
  .twoCol,
  .threeCol,
  .collectionWrap > ul {
    grid-template-columns: 1fr !important;
  }

  .category-list .category,
  .collection {
    max-width: 100%;
  }

  article h1, #fullArticle h1 {
    font-size: 26px !important;
  }

  article h2 {
    font-size: 20px !important;
  }

  .articleFoot {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .articleFoot time {
    margin-left: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   16. "Powered by Help Scout" credit
   -------------------------------------------------------------------------- */
.poweredBy,
.powered-by {
  font-size: 12px !important;
  opacity: 0.7;
}
