/* Lumina Help Center, combined stylesheet. Auto-generated. Do not edit directly. */
/* Source: styles/tokens.css + styles/lumina-helpscout.css */

/* ============================================================
   LUMINA DESIGN TOKENS
   Brand variables for Help Center styling.
   Source of truth for all colors, typography, and spacing.
   ============================================================ */

:root {
  /* ----- Core neutrals ----- */
  --lumina-off-black: #100B07;
  --lumina-off-white: #FFFFF4;

  /* ----- Brown family ----- */
  --lumina-brown-2:    #211A14;
  --lumina-brown-1:    #3F2A16;
  --lumina-brown:      #4F3D2C;

  /* ----- Gold family ----- */
  --lumina-gold-1:     #86785B;
  --lumina-gold:       #B1A072;
  --lumina-gold-plus:  #D6CFB7;

  /* ----- Gray scale ----- */
  --lumina-gray-2:    #282320;
  --lumina-gray-1:    #6B6B66;
  --lumina-gray:      #8A8A85;
  --lumina-gray-p1:   #AEAEAB;
  --lumina-gray-p2:   #D2D2C9;
  --lumina-gray-p3:   #EAE5DC;

  /* ----- Accents (use sparingly, for state/status) ----- */
  --lumina-eggplant:    #38273A;
  --lumina-emerald:     #1B5955;
  --lumina-rust:        #B86B2D;
  --lumina-red:         #BA3205;
  --lumina-yellow:      #D9D248;
  --lumina-fluro-green: #C7EA26;

  /* ----- Semantic assignments ----- */
  --bg-page:            #F8F7F4;
  --bg-elevated:        #F8F7F4;
  --bg-rail:            #FBFBF7;
  --bg-header:          var(--lumina-off-black);
  --bg-footer:          var(--lumina-off-black);

  --text-primary:       var(--lumina-off-black);
  --text-secondary:     var(--lumina-gray-1);
  --text-muted:         var(--lumina-gray);
  --text-inverse:       var(--lumina-off-white);

  --accent:             var(--lumina-gold);
  --accent-hover:       var(--lumina-gold-1);
  --accent-muted:       var(--lumina-gold-plus);

  --border-subtle:      var(--lumina-gray-p2);
  --border-default:     var(--lumina-gray-p1);

  --link:               var(--lumina-off-black);
  --link-hover:         var(--lumina-gold-1);

  --status-info:        var(--lumina-emerald);
  --status-warn:        var(--lumina-rust);
  --status-error:       var(--lumina-red);

  /* ----- Typography ----- */
  --font-display:  "Editorial New", "Times New Roman", Georgia, serif;
  --font-sans:     "Neue Montreal", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:     "DM Mono", "SF Mono", Menlo, Consolas, monospace;

  --fs-xs:    0.75rem;
  --fs-sm:    0.875rem;
  --fs-base:  1rem;
  --fs-md:    1.125rem;
  --fs-lg:    1.375rem;
  --fs-xl:    1.75rem;
  --fs-2xl:   2.25rem;
  --fs-3xl:   3rem;

  --lh-tight: 1.15;
  --lh-snug:  1.35;
  --lh-base:  1.55;

  --tracking-tight:  -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;

  /* ----- Spacing scale ----- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* ----- Layout ----- */
  --content-width: 760px;
  --site-width:    1200px;

  /* ----- Borders & radius ----- */
  --radius-none: 0;
  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-lg:   10px;

  /* ----- Motion ----- */
  --ease:        cubic-bezier(0.2, 0.6, 0.2, 1);
  --duration:    160ms;
}

/* ============================================================
   LUMINA HELP CENTER STYLES
   Overrides Help Scout Docs default theme to match Lumina brand.
   Selectors target the actual rendered DOM (Bootstrap 2-era markup:
   #mainNav, #docsSearch, #fullArticle, #sidebar, .category-list,
   .articleList, .most-pop-articles, .articleRatings, etc.).

   Cascade context: Help Scout injects a per-tenant inline <style>
   block between its launch CSS and ours that sets a gray body bg
   and a rust (#b86b2d) link color via compound selectors like
   `.contentWrapper a` and `.category-list .category .article-count`.
   We override by matching specificity and relying on source order
   (this file loads last). !important is reserved for cases where
   Help Scout uses an !important itself.

   Companion: tokens.css
   ============================================================ */


/* ----- Web fonts ----- */
@font-face {
  font-family: "Editorial New";
  src: url("../styles/fonts/EditorialNew-Variable.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */

body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  letter-spacing: var(--tracking-normal);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--duration) var(--ease),
              text-decoration-color var(--duration) var(--ease);
}

a:hover {
  color: var(--link-hover);
  text-decoration-color: var(--accent);
}

/* ============================================================
   2. TOP NAV (#mainNav.navbar)
   ============================================================ */

#mainNav.navbar {
  background: transparent;
  border: none;
  margin: 0;
}

#mainNav .navbar-inner {
  background: var(--bg-page) !important;
  border: none !important;
  box-shadow: none !important;
  padding: 2.25rem 0 1.25rem;
}

#mainNav .container-fluid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
}

/* Site wordmark in the lightweight Help Center shell. */
#mainNav .brand {
  display: block;
  width: 92px;
  height: 14px;
  background: url("../assets/logo-offblack_transparent-bg.png") left center / contain no-repeat;
  padding: 0;
  margin: 0 auto 0 0;
}

/* Hide the Bootstrap hamburger toggle at all widths — Contact is always
   visible inline, so the collapse toggle is never needed. */
#mainNav .btn.btn-navbar {
  display: none !important;
}

#mainNav .brand img {
  display: none;
}

#mainNav .nav-collapse {
  margin: 0;
}

#mainNav ul.nav {
  list-style: none;
  margin: 0;
  padding: 0 12px 0 0;
  display: flex;
  gap: var(--space-6);
}

#mainNav ul.nav > li {
  margin: 0;
}

#mainNav ul.nav li a {
  background: var(--lumina-off-black);
  border-radius: var(--radius-lg);
  color: var(--text-inverse);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  padding: 0.8125rem 1.375rem;
}

#mainNav ul.nav li a:hover,
#mainNav ul.nav li a:focus {
  background: var(--lumina-brown-2);
  color: var(--text-inverse);
}

/* Logged-in admin nav: hide Bootstrap carets on collection links. */
#mainNav ul.nav li a b.caret {
  display: none;
}

/* Mobile nav toggle. Hidden by default; Bootstrap shows it on small screens. */
#mainNav .btn.btn-navbar {
  background: var(--lumina-off-black);
  border: none;
  box-shadow: none;
  padding: var(--space-2) var(--space-3);
}

#mainNav .btn.btn-navbar .icon-bar {
  background: var(--text-inverse);
  box-shadow: none;
}

/* ============================================================
   3. HOMEPAGE HERO + SEARCH (#docsSearch, #searchBar)
   ============================================================ */

#docsSearch {
  background: var(--bg-page);
  padding: 2.75rem var(--space-6) 2.5rem;
  text-align: center;
}

#docsSearch h1 {
  font-family: var(--font-display);
  font-size: clamp(2.875rem, 5vw, 3.625rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  max-width: var(--content-width);
  margin: 0 auto 1.5rem;
}

#searchBar {
  display: flex;
  align-items: stretch;
  max-width: 520px;
  margin: 0 auto;
  height: 44px;
  padding: 0;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid rgba(16, 11, 7, 0.1);
  border-radius: 7px;
  transition: border-color var(--duration) var(--ease);
}

#searchBar:focus-within {
  border-color: var(--lumina-off-black);
}

#searchBar input.search-query {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  height: 100%;
  padding: 0 0.875rem;
  border: none;
  background: transparent;
  color: var(--text-primary);
  outline: none;
  margin: 0;
  box-shadow: none;
}

#searchBar input.search-query::placeholder {
  color: var(--text-muted);
}

#searchBar button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: static;
  right: auto;
  top: auto;
  float: none;
  height: 100%;
  margin: 0;
  flex: 0 0 auto;
  background: var(--lumina-off-black);
  color: var(--text-inverse);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0;
  padding: 0 1rem;
  min-width: 84px;
  border: none;
  cursor: pointer;
  transition: background-color var(--duration) var(--ease);
}

/* Help Scout applies homepage-specific defaults that add vertical padding and
   absolutely position the submit button. Reset them within docsSearch scope. */
#docsSearch #searchBar {
  padding: 0 !important;
}

#docsSearch #searchBar button[type="submit"] {
  position: static !important;
  right: auto !important;
  top: auto !important;
}

#searchBar button[type="submit"]:hover {
  background: var(--lumina-brown-2);
}

#searchBar button[type="submit"] .icon-search {
  color: currentColor;
}

/* Sidebar variant: compact, no submit button label text. */
/* Sidebar search appears on category/article pages. Apply compact sizing
   whether Help Scout includes the .sm class or not. */
#sidebar #searchBar,
#sidebar #searchBar.sm {
  display: flex;
  align-items: stretch;
  max-width: none;
  width: 100%;
  height: 36px !important;
  padding: 0;
  margin: 0 0 1.75rem;
  overflow: hidden;
  border-color: rgba(16, 11, 7, 0.08);
  box-shadow: none;
}

#sidebar #searchBar input.search-query,
#sidebar #searchBar.sm input.search-query {
  flex: 1 1 auto;
  min-width: 0;
  height: 100% !important;
  font-size: 0.75rem;
  padding: 0 0.625rem;
  margin: 0;
}

#sidebar #searchBar button[type="submit"],
#sidebar #searchBar.sm button[type="submit"] {
  position: static !important;
  right: auto !important;
  float: none !important;
  height: 100% !important;
  min-width: 36px !important;
  width: 36px !important;
  flex: 0 0 36px !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  min-height: 0 !important;
}

/* Search results dropdown. Keep restrained — Help Scout's JS positions it. */
#serp-dd {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: var(--fs-sm);
}

#serp-dd .result li {
  padding: var(--space-2) var(--space-3);
}

/* ============================================================
   4. HOMEPAGE: MOST POPULAR (.most-pop-articles)
   ============================================================ */

.most-pop-articles {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: var(--space-12) var(--space-6);
}

.most-pop-articles h2 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-6);
}

.most-pop-articles ul.popArticles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--space-12);
}

.popArticles li {
  margin: 0;
  border-top: 1px solid var(--border-subtle);
}

/* No top border on the visual top row of the grid (first two items). */
.popArticles li:nth-child(-n+2) {
  border-top: none;
}

.popArticles li a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--fs-base);
}

/* Override the inline-style rust color (.most-pop-articles .popArticles a). */
.most-pop-articles .popArticles a {
  color: var(--text-primary);
}

.most-pop-articles .popArticles a:hover {
  color: var(--link-hover);
}

.popArticles li a .icon-article-doc {
  color: var(--text-muted);
  flex-shrink: 0;
}

.popArticles li a:hover .icon-article-doc {
  color: var(--accent);
}

.most-pop-articles .popArticles a:hover span {
  color: var(--link-hover);
}

/* ============================================================
   5. HOMEPAGE: SECTION SEPARATOR
   ============================================================ */

hr.sep {
  border: none;
  border-top: 1px solid var(--border-subtle);
  max-width: var(--site-width);
  margin: 0 auto;
}

/* ============================================================
   6. HOMEPAGE: CATEGORY LIST (.category-list, a.category)
   ============================================================ */

/* Multi-collection wrapper (visible when logged in as admin).
   Each collection gets a .collection-category section with an h2.
   Must fill the full flex-column parent so inner margin:auto centering works. */
.collection-category {
  width: 100%;
  align-self: stretch;
  margin: 0 0 var(--space-16);
}

.collection-category:last-child {
  margin-bottom: 0;
}

/* Collection heading — style as a small eyebrow label, not a giant link. */
.collection-category h2 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  margin: var(--space-8) auto var(--space-2);
  max-width: 720px;
}

.collection-category h2 a {
  color: var(--text-muted);
  text-decoration: none;
}

.collection-category h2 a:hover {
  color: var(--text-primary);
}

/* When inside a collection wrapper, remove the top padding
   since the h2 label already provides spacing. */
.collection-category .category-list {
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 0;
}

.category-list {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1.25rem;
  row-gap: 0.625rem;
}

.category-list a.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 196px;
  padding: 1.75rem 1.25rem 1.5rem;
  margin-bottom: 10px;
  border: 1px solid rgba(16, 11, 7, 0.06);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(16, 11, 7, 0.06);
  text-decoration: none;
  color: var(--lumina-off-black);
  transition: background-color var(--duration) var(--ease),
              color var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

/* Homepage category icons use the real Help Scout category ids. */
.category-list a.category::before {
  content: "";
  width: 60px;
  height: 60px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.category-list #category-71::before {
  background-image: url("../assets/iconsHelpScout/Manifesto.svg");
}

.category-list #category-51::before {
  background-image: url("../assets/iconsHelpScout/Getting Started.svg");
}

.category-list #category-52::before {
  background-image: url("../assets/iconsHelpScout/Privacy.svg");
}

.category-list #category-53::before {
  background-image: url("../assets/iconsHelpScout/Messaging.svg");
}

.category-list #category-54::before {
  background-image: url("../assets/iconsHelpScout/Mobile App.svg");
}

.category-list #category-55::before {
  background-image: url("../assets/iconsHelpScout/Support.svg");
}

/* Hide the empty <p></p> Help Scout inserts inside each tile — it becomes
   an unwanted flex item and creates a gap between the title and article count. */
.category-list a.category p:empty {
  display: none;
}

.category-list a.category h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--lumina-off-black);
  margin: 0;
  text-align: center;
}

.category-list a.category .article-count {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(16, 11, 7, 0.42);
  opacity: 1;
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

/* Override the inline-style rust on .category-list .category .article-count. */
.category-list .category .article-count,
.category-list .category:hover .article-count {
  color: rgba(16, 11, 7, 0.42) !important;
}

.category-list a.category:hover {
  background: #e3d59a;
  box-shadow: 0 18px 32px rgba(177, 160, 114, 0.18);
  color: var(--lumina-off-black);
  transform: translateY(-1px);
}

.category-list a.category:hover .article-count {
  color: rgba(16, 11, 7, 0.65) !important;
  opacity: 1;
}

/* ============================================================
   7. CONTENT SHELL (#contentArea, .row-fluid, #main-content)
   ============================================================ */

#contentArea.container-fluid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-6) 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 108px);
  background: transparent !important;
}

/* Strip any bootstrap card/panel backgrounds off column spans */
#main-content,
#main-content.span9 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Override Bootstrap 2's float-based row to flex, so the sand rail
   stretches to full content height. row-reverse puts the sidebar
   (DOM-second) on the visual left, matching the design reference. */
#contentArea > .row-fluid {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 4.5rem;
  padding: 1rem 0 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#contentArea > .row-fluid > [class*="span"] {
  float: none;
  width: auto;
  margin-left: 0;
  min-height: 0;
}

#contentArea > .row-fluid > #main-content {
  flex: 1 1 auto;
  min-width: 0;
}

#contentArea > .row-fluid > aside#sidebar {
  flex: 0 0 220px;
}

/* Main content wrappers on internal pages should sit directly on the page,
   not inside Help Scout's default white card. */
#main-content .contentWrapper,
#main-content .contentWrapper.withRelated {
  max-width: none;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Collection page title uses the same display treatment as category titles. */
#main-content > .contentWrapper > h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin: 0 0 1.5rem;
}

/* ============================================================
   8. CATEGORY PAGE (#categoryHead, .articleList)
   ============================================================ */

hgroup#categoryHead {
  margin: 0 0 1.25rem;
  padding: 0;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

#categoryHead h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin: 0;
}

#categoryHead p.descrip {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
}

#categoryHead p.descrip:empty {
  display: none;
}

#categoryHead .sort {
  margin: 0;
}

#categoryHead select#sortBy {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary);
  opacity: 1;
  background: #fffdfa;
  border: 1px solid rgba(16, 11, 7, 0.1);
  border-radius: 7px;
  width: min(100%, 180px);
  min-height: 36px;
  padding: 0 2rem 0 0.75rem;
  cursor: pointer;
}

#categoryHead select#sortBy:focus {
  outline: none;
  border-color: var(--lumina-off-black);
}

ul.articleList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.articleList li {
  margin: 0;
  border: none;
}

.articleList li a {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0;
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.articleList li a .icon-article-doc {
  display: none;
}

/* Article list chevrons removed. */
.articleList li a::before {
  content: none;
}

/* ============================================================
   9. ARTICLE PAGE (#fullArticle, .articleRatings, .articleFoot, .related)
   ============================================================ */

article#fullArticle {
  position: relative;
  padding: 0;
  background: transparent;
}

#fullArticle h1.title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin: 0 0 1.75rem;
  padding-right: 0;
}

#fullArticle h2 {
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: var(--lh-snug);
  color: var(--text-primary);
  margin: var(--space-12) 0 var(--space-4);
}

#fullArticle h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: var(--lh-snug);
  color: var(--text-primary);
  margin: var(--space-8) 0 var(--space-3);
}

#fullArticle p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-primary);
  margin: 0 0 0.875rem;
}

#fullArticle ul,
#fullArticle ol {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-6);
}

#fullArticle li {
  margin-bottom: var(--space-2);
  line-height: var(--lh-base);
}

#fullArticle blockquote {
  border-left: 2px solid var(--accent);
  padding: var(--space-2) 0 var(--space-2) var(--space-6);
  margin: var(--space-6) 0;
  font-style: normal;
  color: var(--text-secondary);
}

#fullArticle code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--lumina-gray-p3);
  color: var(--text-primary);
  padding: 0.1em 0.35em;
  border-radius: var(--radius-sm);
}

#fullArticle pre {
  background: var(--lumina-gray-2);
  color: var(--text-inverse);
  padding: var(--space-4);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  border-radius: var(--radius-sm);
  margin: var(--space-6) 0;
}

#fullArticle hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: var(--space-12) 0;
}

#fullArticle img {
  border: none !important;
  box-shadow: none !important;
}

/* Override the inline-style rust on .contentWrapper a / #fullArticle a. */
.contentWrapper a,
#fullArticle a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contentWrapper a:hover,
#fullArticle a:hover {
  color: var(--link-hover);
  text-decoration-color: var(--accent);
}

/* Print button removed. */
.printArticle {
  display: none !important;
}

/* Article ratings widget. */
.articleRatings {
  display: none;
}

.articleRatings-question {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.articleRatings-actions {
  display: flex;
  gap: var(--space-3);
}

/* The smiley SVG paths only contain eyes + smile — the face circle
   is the button's background. So the button needs a solid fill,
   not transparent, or the icon reads as floating shapes. */
.articleRatings .rateAction {
  background: var(--bg-rail);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  box-shadow: none;
  color: var(--text-secondary);
  transition: background-color var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.articleRatings .rateAction:hover,
.articleRatings .rateAction:focus {
  background: var(--accent-muted);
  border-color: var(--lumina-off-black);
  color: var(--text-primary);
  box-shadow: none;
  outline: 0;
  transform: none;
}

.articleRatings-feedback,
.articleRatings-failure {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

/* Article foot ("Still need help?" + last updated). */
section.articleFoot {
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: rgba(16, 11, 7, 0.45);
}

.articleFoot .icon-contact {
  color: var(--text-muted);
}

.articleFoot p.help {
  margin: 0;
  font-size: 0.75rem;
}

.articleFoot time.lu {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(16, 11, 7, 0.45);
  margin-left: auto;
}

/* Related articles section. */
section.related {
  margin: 2.75rem 0 0;
  padding: 0;
  margin-left: 0 !important;
  padding-left: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

section.related h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-primary);
  margin: 0 0 0.625rem;
}

section.related ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

section.related li {
  margin: 0;
  border-top: none;
}

section.related li a {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0;
  margin-left: 0 !important;
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-size: 0.9375rem;
}

section.related li a .icon-article-doc {
  display: none;
}

/* Related article chevrons removed. */
section.related li a::before {
  content: none;
}

/* ============================================================
   10. SIDEBAR / SAND RAIL (#sidebar)
   ============================================================ */

aside#sidebar {
  background: transparent;
  padding: 0;
  font-size: 0.75rem;
}

#sidebar h3 {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-primary);
  margin: 0 0 0.875rem;
}

#sidebar ul.nav.nav-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

#sidebar ul.nav.nav-list li {
  margin: 0;
}

#sidebar ul.nav.nav-list li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.375rem;
  padding: 0;
  color: rgba(16, 11, 7, 0.6);
  text-decoration: none;
  border-radius: 0;
  transition: color var(--duration) var(--ease);
}

#sidebar ul.nav.nav-list li a:hover {
  color: var(--text-primary);
}

#sidebar ul.nav.nav-list li.active a {
  color: var(--text-primary);
  font-weight: 500;
}

#sidebar ul.nav.nav-list li a .icon-arrow {
  color: currentColor;
  flex-shrink: 0;
  font-size: 0.625rem;
  opacity: 0;
}

#sidebar ul.nav.nav-list li.active a .icon-arrow {
  color: var(--text-primary);
  opacity: 1;
}

/* ============================================================
   11. FOOTER (#contentArea > footer)
   ============================================================ */

#contentArea > footer {
  background: transparent !important;
  color: rgba(16, 11, 7, 0.65);
  padding: 2rem 0 0.75rem;
  width: auto;
  box-sizing: border-box;
  margin: auto 0 0;
  text-align: right;
}

#contentArea > footer p {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(16, 11, 7, 0.65);
  margin: 0;
}

#contentArea > footer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#contentArea > footer a:hover {
  color: var(--link-hover);
}

/* Homepage footer sits centered beneath the card grid. */
#docsSearch + #contentArea > footer {
  text-align: center;
  padding-top: 1.5rem;
}

/* ============================================================
   12. UTILITIES
   ============================================================ */

.mono {
  font-family: var(--font-mono);
  letter-spacing: var(--tracking-wide);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}

#noResults {
  font-family: var(--font-sans);
  color: var(--text-secondary);
  padding: var(--space-6);
  text-align: center;
}

/* ============================================================
   13. RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  /* Force the Bootstrap nav-collapse to always show on mobile now
     that the hamburger toggle is removed. */
  #mainNav .nav-collapse,
  #mainNav .nav-collapse.collapse {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Admin collection nav links are desktop-only — hide on mobile. */
  #mainNav ul.nav li:has(b.caret) {
    display: none;
  }


  #docsSearch {
    padding: 2rem var(--space-4) 0.5rem;
  }

  #docsSearch h1 {
    font-size: 2.75rem;
  }

  #fullArticle h1.title {
    font-size: 2.75rem;
    padding-right: 0;
  }

  .most-pop-articles ul.popArticles {
    grid-template-columns: 1fr;
  }

  .popArticles li:nth-child(-n+2) {
    border-top: 1px solid var(--border-subtle);
  }

  .popArticles li:first-child {
    border-top: none;
  }

  .category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-list a.category {
    min-height: 160px;
    padding: 1.25rem 1rem;
  }

  .category-list a.category::before {
    width: 48px;
    height: 48px;
  }

  .category-list a.category h3 {
    font-size: 0.9375rem;
  }

  /* Stack main-content over sidebar at narrow widths. Default
     flex-direction (column) follows DOM order, so main-content
     comes first, sidebar drops below — opposite of desktop. */
  #contentArea > .row-fluid {
    flex-direction: column;
    gap: 2rem;
  }

  #contentArea > .row-fluid > #main-content,
  #contentArea > .row-fluid > aside#sidebar {
    flex: 1 1 auto;
  }

  aside#sidebar {
    order: -1;
  }

  hgroup#categoryHead {
    flex-direction: column;
    align-items: flex-start;
  }

  .articleFoot {
    align-items: flex-start;
  }

  .articleFoot time.lu {
    margin-left: 0;
  }

  #contentArea > footer,
  #docsSearch + #contentArea > footer {
    text-align: left;
  }
}

@media (max-width: 375px) {
  #mainNav .container-fluid {
    padding: 0 var(--space-4);
  }

  #docsSearch h1 {
    font-size: 2.25rem;
  }

  #searchBar button[type="submit"] span {
    /* Collapse to icon-only on tightest widths. */
    display: none;
  }

  #searchBar {
    max-width: 100%;
  }

  .category-list {
    grid-template-columns: 1fr;
  }
}
