/*
 * Webway Live Chat — public help centre (/help/{key}, or "/" on a site's
 * custom help_domain).
 *
 * Faithful port of design-import/Sticky Docs.dc.html's light palette:
 * ground #f4f1ea, header/footer #111, cards #fffdf8, lines #ddd8cb — kept
 * exactly. Brand text ("Sweet Sticks" in the design) is site.name; the
 * design's #FFD400 accent is --hc-accent, set inline per-site from
 * site.widgetColor (see help/layout.html); the #FF2E93 hover pink is fixed
 * regardless of site colour, same convention as widget.css. --hc-ink is
 * computed inline (luminance of the accent) for text sitting ON the accent
 * (buttons, category number chips) — #111 on light accents, white on dark
 * ones. No CDN fonts: --hc-font/--hc-display are the same system stacks
 * app.css/widget.css already use to approximate Barlow / Archivo Black.
 *
 * Scope decisions baked in here (see docs-help-centre-spec.md): no "Order
 * status" view/nav item; no contact email/WhatsApp/hours lines (not in the
 * data model); footer tagline omitted; footer "Help" column is real
 * categories, not a fixed link list.
 */

:root {
  /* This page always uses the light palette below, regardless of the OS/
     browser theme — without this, a browser's forced/auto "dark mode" (which
     guesses per-element colours and doesn't reliably see colour set via a CSS
     custom property, like .hc-popular-title's inherited --hc-text) can leave
     text the same colour as the background it just inverted, i.e. invisible.
     Headless Chromium never applies forced-dark, which is why this only ever
     showed up in a real browser. */
  color-scheme: light;
  --hc-bg: #f4f1ea;
  --hc-dark: #111111;
  --hc-bar: #111111;
  --hc-bar-text: #ffffff;
  --hc-hero: #111111;
  --hc-hero-eyebrow: var(--hc-accent);
  --hc-hero-title: #ffffff;
  --hc-card: #fffdf8;
  --hc-line: #ddd8cb;
  --hc-text: #111111;
  --hc-muted: #5c5c5c;
  --hc-muted-2: #8a8a8a;
  --hc-faint: #7d7d7d;
  --hc-green: #8fd48f;
  --hc-pink: #ff2e93;
  --hc-accent: #ffd400;
  --hc-ink: #111111;
  --hc-font: Barlow, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --hc-display: "Archivo Black", "Arial Black", Impact, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--hc-bg); }
body {
  font-family: var(--hc-font);
  color: var(--hc-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--hc-text); text-decoration: none; }
a:hover { color: #c8006e; }
button { font-family: var(--hc-font); }
input { font-family: var(--hc-font); }

@keyframes hc-live { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes hc-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hc-view { animation: hc-fade .18s ease-out both; }
html { scroll-behavior: smooth; }

.hc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ── Header ──────────────────────────────────────────────────────────────── */

/* Header + footer share the owner's bar colours (--hc-bar / --hc-bar-text, set on <body> from
   Site.helpBarColor / helpBarTextColor). Every muted grey inside them is a mix of the two, so a
   light background with dark text stays readable without a second palette. */
.hc-header { position: sticky; top: 0; z-index: 20; background: var(--hc-bar); color: var(--hc-bar-text); }
.hc-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px; height: 64px;
  display: flex; align-items: center; gap: 24px;
}
.hc-brand {
  font-family: var(--hc-display); font-weight: 900; font-size: 16px; letter-spacing: -.02em;
  text-transform: uppercase; color: var(--hc-bar-text); flex: none; cursor: pointer;
}
.hc-brand-logo { display: flex; align-items: center; height: 100%; min-width: 0; flex: 0 1 auto; }
.hc-brand-logo img { display: block; width: auto; max-width: 100%; height: 30px; object-fit: contain; object-position: left center; }

.hc-header-search { flex: 1; min-width: 0; display: flex; justify-content: center; }
.hc-search-pill {
  display: flex; align-items: center; gap: 9px; width: 100%; max-width: 380px; height: 38px;
  padding: 0 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--hc-bar-text) 8%, var(--hc-bar));
  border: 1px solid color-mix(in srgb, var(--hc-bar-text) 16%, var(--hc-bar));
}
.hc-search-pill .hc-search-icon { font-size: 14px; color: color-mix(in srgb, var(--hc-bar-text) 55%, var(--hc-bar)); }
.hc-search-pill input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--hc-bar-text);
  font: 500 13px var(--hc-font);
}
.hc-search-pill input::placeholder { color: color-mix(in srgb, var(--hc-bar-text) 55%, var(--hc-bar)); }

.hc-nav { display: flex; align-items: center; gap: 20px; flex: none; }
.hc-nav-link {
  font: 600 12px var(--hc-font); letter-spacing: .1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--hc-bar-text) 72%, var(--hc-bar));
  cursor: pointer; background: none; border: 0; padding: 0;
}
.hc-nav-link:hover { color: var(--hc-bar-text); }

@media (max-width: 640px) { .hc-header-search { display: none; } }

/* ── Hero (home) ─────────────────────────────────────────────────────────── */

/* Owner colours (Site.helpHero*, set on <body>); the chips mix from the title colour so they stay
   legible on whatever background is picked. */
.hc-hero { background: var(--hc-hero); color: var(--hc-hero-title); padding: 64px 28px 72px; }
.hc-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.hc-hero-eyebrow { margin: 0; font: 700 11px var(--hc-font); letter-spacing: .2em; text-transform: uppercase; color: var(--hc-hero-eyebrow); }
.hc-hero-title {
  margin: 14px 0 0; font-family: var(--hc-display); font-weight: 900; font-size: 56px; line-height: .92;
  letter-spacing: -.04em; text-transform: uppercase;
}
.hc-hero-search {
  display: flex; align-items: center; gap: 12px; margin: 28px auto 0; max-width: 620px; height: 58px;
  padding: 0 22px; border-radius: 999px; background: #fff;
}
.hc-hero-search .hc-search-icon { font-size: 19px; color: #8a8a8a; }
.hc-hero-search input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #111;
  font: 500 16px var(--hc-font);
}
.hc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 20px; }
.hc-chip {
  height: 34px; padding: 0 15px; border: 1px solid color-mix(in srgb, var(--hc-hero-title) 22%, var(--hc-hero));
  border-radius: 999px; background: transparent;
  color: color-mix(in srgb, var(--hc-hero-title) 78%, var(--hc-hero)); font: 600 12.5px var(--hc-font); cursor: pointer; display: inline-flex; align-items: center;
}
.hc-chip:hover { border-color: var(--hc-hero-title); color: var(--hc-hero-title); }

/* ── Section shell ───────────────────────────────────────────────────────── */

.hc-section { max-width: 1200px; margin: 0 auto; padding: 56px 28px 8px; }
.hc-section-title {
  margin: 0; font-family: var(--hc-display); font-weight: 900; font-size: 26px; letter-spacing: -.025em;
  text-transform: uppercase;
}

/* ── Category grid ───────────────────────────────────────────────────────── */

.hc-cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 22px; }
.hc-cat-card {
  text-align: left; padding: 24px; border: 1px solid var(--hc-line); border-radius: 16px; background: var(--hc-card);
  color: var(--hc-text); cursor: pointer; display: flex; flex-direction: column; gap: 8px;
}
.hc-cat-card:hover { border-color: #111; background: #fff; }
/* Badge sits inline, to the LEFT of the category heading (not stacked above it). */
.hc-cat-head { display: flex; align-items: center; gap: 12px; }
.hc-cat-mark {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--hc-accent);
  color: var(--hc-ink); font-family: var(--hc-display); font-weight: 900; font-size: 15px; overflow: hidden;
}
/* Precedence (V37): picture, then icon, then the zero-padded number already in the markup. */
.hc-cat-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Same reason as app.css's .hc-cat-chip img[hidden]: this class's own `display: block` above
   would otherwise beat the browser's `[hidden] { display: none }` default. */
.hc-cat-mark img[hidden] { display: none; }
.hc-cat-mark-pic { background: #fff; }
.hc-cat-mark-icon { font-size: 19px; }
.hc-cat-name { display: block; font-family: var(--hc-display); font-weight: 900; font-size: 18px; letter-spacing: -.02em; text-transform: uppercase; }
.hc-cat-blurb { display: block; font: 400 13.5px/1.6 var(--hc-font); color: var(--hc-muted); }
.hc-cat-count { display: block; margin-top: 4px; font: 700 11px var(--hc-font); letter-spacing: .14em; text-transform: uppercase; color: var(--hc-muted-2); }

/* ── Popular list + "Rather ask a person?" aside ────────────────────────── */

.hc-popular-wrap { max-width: 1200px; margin: 0 auto; padding: 48px 28px 0; }
.hc-popular-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 38px; align-items: start; }
.hc-popular-list { margin-top: 18px; border-top: 1px solid var(--hc-line); }
.hc-popular-row {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; padding: 17px 4px;
  border: 0; border-bottom: 1px solid var(--hc-line); background: transparent; color: var(--hc-text); cursor: pointer;
}
.hc-popular-row:hover { color: #c8006e; }
.hc-popular-rank { flex: none; font-family: var(--hc-display); font-weight: 900; font-size: 13px; color: #b3ada0; width: 26px; }
.hc-popular-body { flex: 1; min-width: 0; }
/* Colour set explicitly (not just inherited from the parent <a>'s `color:
   var(--hc-text)`) — see the color-scheme note in :root above; an inherited
   custom-property colour is exactly the case a browser's forced-dark heuristic
   handles worst. */
.hc-popular-title { display: block; font: 600 15.5px var(--hc-font); line-height: 1.35; color: var(--hc-text); }
.hc-popular-meta { display: block; margin-top: 3px; font: 500 12px var(--hc-font); letter-spacing: .1em; text-transform: uppercase; color: var(--hc-muted-2); }
/* "Read article" — an obvious, clickable-looking control instead of a bare
   arrow glyph: pill-shaped, transparent until the row is hovered. */
.hc-read-btn {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 12px;
  border: 2px solid var(--hc-line); border-radius: 999px; background: transparent; color: var(--hc-text);
  font: 700 10.5px var(--hc-font); line-height: 1; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.hc-read-btn svg { width: 14px; height: 14px; flex: none; }
.hc-popular-row:hover .hc-read-btn { background: var(--hc-accent); border-color: var(--hc-accent); color: var(--hc-ink); }
/* Still used by help/results.html + help/article.html's related-articles rows
   (out of scope for this pass — only "Most read this week" got the button). */
.hc-arrow { flex: none; font-size: 16px; color: #b3ada0; }

.hc-aside { border: 1px solid var(--hc-line); border-radius: 16px; background: var(--hc-dark); color: #fff; padding: 24px; }
.hc-aside-title { margin: 0; font-family: var(--hc-display); font-weight: 900; font-size: 19px; line-height: 1.1; letter-spacing: -.025em; text-transform: uppercase; }
.hc-aside-row { display: flex; align-items: center; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.hc-avatars { display: flex; align-items: center; }
.hc-avatar {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px;
  background: #1e1e1e; color: #fff; font: 700 14px var(--hc-font); text-transform: uppercase; flex: none;
}
.hc-avatar:first-child { border: 2px solid var(--hc-accent); }
.hc-avatar:not(:first-child) { border: 2px solid #111; margin-left: -13px; }
.hc-live { display: flex; align-items: center; gap: 7px; }
.hc-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--hc-green); animation: hc-live 2s ease-in-out infinite; flex: none; }
.hc-live-text { font: 700 11.5px var(--hc-font); letter-spacing: .12em; text-transform: uppercase; color: var(--hc-green); }
.hc-aside-copy { margin: 0; font: 400 13.5px/1.65 var(--hc-font); color: #b8b8b8; }
.hc-aside-btn {
  width: 100%; height: 42px; margin-top: 16px; border: 2px solid var(--hc-accent); border-radius: 999px;
  background: var(--hc-accent); color: var(--hc-ink); font: 700 11px var(--hc-font); letter-spacing: .13em;
  text-transform: uppercase; cursor: pointer;
}
.hc-aside-btn:hover { background: var(--hc-pink); border-color: var(--hc-pink); color: #fff; }

/* ── Results page (category browse / search) ────────────────────────────── */

.hc-results-head { max-width: 1200px; margin: 0 auto; padding: 38px 28px 0; }
.hc-results-eyebrow { margin: 0; font: 700 11px var(--hc-font); letter-spacing: .16em; text-transform: uppercase; color: var(--hc-muted-2); }
.hc-results-heading { margin: 10px 0 0; font-family: var(--hc-display); font-weight: 900; font-size: 34px; letter-spacing: -.03em; text-transform: uppercase; }
.hc-results-grid { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 38px; margin-top: 26px; align-items: start; }
.hc-results-nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; }
.hc-nav-item {
  padding: 10px 12px; border-radius: 9px; font: 600 13.5px var(--hc-font); color: var(--hc-muted); cursor: pointer;
  background: transparent; border: 0; text-align: left;
}
.hc-nav-item:hover { background: #ece7dc; color: #111; }
.hc-nav-item.active { background: #111; color: var(--hc-accent); }
.hc-nav-item { display: flex; align-items: center; gap: 8px; }
.hc-nav-mark { flex: none; width: 18px; height: 18px; border-radius: 5px; object-fit: cover; display: block; }
.hc-nav-mark-icon { display: flex; align-items: center; justify-content: center; font-size: 12px; background: #ece7dc; }
/* Same reason as .hc-cat-mark img[hidden] above — both this class and .hc-nav-mark-icon set their
   own `display`, which would otherwise beat [hidden]'s `display: none` once a picture fails. */
.hc-nav-mark[hidden] { display: none; }
.hc-results-list { border-top: 1px solid var(--hc-line); }
/* Category page sections (V42): a heading per section, then the no-section block ("More articles"). */
.hc-results-group + .hc-results-group { margin-top: 34px; }
.hc-results-group { scroll-margin-top: 96px; }
.hc-results-group-head { margin: 0 0 12px; font: 700 12px var(--hc-font); letter-spacing: .14em; text-transform: uppercase; color: var(--hc-muted-2); }
.hc-nav-sections { display: flex; flex-direction: column; gap: 1px; margin: 10px 0 0; padding: 10px 0 0 12px; border-top: 1px solid var(--hc-line); }
.hc-nav-section { padding: 6px 10px; border-radius: 7px; font: 500 12.5px var(--hc-font); color: var(--hc-muted); }
.hc-nav-section:hover { background: #ece7dc; color: #111; }
.hc-result-row {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; padding: 18px 4px;
  border: 0; border-bottom: 1px solid var(--hc-line); background: transparent; color: var(--hc-text); cursor: pointer;
}
.hc-result-row:hover { color: #c8006e; }
.hc-result-title { display: block; font: 600 16px var(--hc-font); line-height: 1.35; }
.hc-result-excerpt { display: block; margin-top: 4px; font: 400 13.5px/1.55 var(--hc-font); color: var(--hc-muted); }
.hc-result-meta { display: block; margin-top: 6px; font: 500 12px var(--hc-font); letter-spacing: .1em; text-transform: uppercase; color: var(--hc-muted-2); }
.hc-no-results { padding: 32px 4px; font: 400 15px/1.75 var(--hc-font); color: var(--hc-muted); max-width: 52ch; }
.hc-ask-link { font-weight: 700; color: #c8006e; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; }

/* ── Article page ────────────────────────────────────────────────────────── */

.hc-article-page { max-width: 1200px; margin: 0 auto; padding: 34px 28px 0; }
.hc-breadcrumb { display: flex; align-items: center; gap: 9px; font: 600 12px var(--hc-font); letter-spacing: .09em; text-transform: uppercase; color: var(--hc-muted-2); }
.hc-breadcrumb a:hover, .hc-breadcrumb span[role="link"]:hover { color: #111; }
.hc-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 44px; margin-top: 20px; align-items: start; }
/* The aside is table-of-contents only, and an article with no headings renders
   none — without this the grid would keep an empty 260px track beside it. */
.hc-article:only-child { grid-column: 1 / -1; }
.hc-article { max-width: 70ch; }
.hc-article-title { margin: 0; font-family: var(--hc-display); font-weight: 900; font-size: 40px; line-height: 1.02; letter-spacing: -.035em; }
.hc-article-meta { margin: 14px 0 0; font: 500 12.5px var(--hc-font); letter-spacing: .1em; text-transform: uppercase; color: var(--hc-muted-2); }
.hc-divider { height: 1px; background: var(--hc-line); margin: 26px 0 0; }
/* Rendered article body (HelpService.render output). Tag selectors, scoped to .hc-body. */
.hc-body { margin-top: 26px; font: 400 16px/1.75 var(--hc-font); color: #2e2e2e; }
.hc-body > :first-child { margin-top: 0; }
.hc-body h1, .hc-body h2 { margin: 32px 0 12px; font-family: var(--hc-display); font-weight: 900; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; color: #111; scroll-margin-top: 96px; }
.hc-body h3 { margin: 26px 0 8px; font: 700 17px/1.3 var(--hc-font); color: #111; scroll-margin-top: 96px; }
.hc-body h4, .hc-body h5, .hc-body h6 { margin: 20px 0 6px; font: 700 15px/1.4 var(--hc-font); color: #111; }
.hc-body p { margin: 0 0 16px; }
.hc-body a { color: #c8006e; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hc-body a:hover { color: #111; }
.hc-body strong { font-weight: 700; color: #111; }
.hc-body ul, .hc-body ol { margin: 0 0 16px; padding-left: 24px; font-size: 15.5px; line-height: 1.65; }
.hc-body li { margin: 0 0 8px; }
.hc-body li > p { margin: 0 0 6px; }
.hc-body ul { list-style: none; padding-left: 18px; }
.hc-body ul > li { position: relative; }
.hc-body ul > li::before { content: ""; position: absolute; left: -18px; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--hc-accent); }
.hc-body ol { list-style: decimal; }
.hc-body ol > li::marker { font-weight: 700; color: #111; }
.hc-body blockquote { margin: 0 0 18px; padding: 18px 20px; border-left: 4px solid var(--hc-accent); background: var(--hc-card); border-radius: 0 12px 12px 0; font-weight: 500; font-size: 15px; line-height: 1.7; }
.hc-body blockquote > :last-child { margin-bottom: 0; }
.hc-body code { font: 500 .9em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #ece8dc; color: #111; padding: 2px 6px; border-radius: 6px; }
.hc-body pre { margin: 0 0 18px; padding: 16px 18px; background: #111; color: #f1f1f1; border-radius: 12px; overflow-x: auto; font: 400 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.hc-body pre code { background: none; color: inherit; padding: 0; font: inherit; }
.hc-body img { display: block; max-width: 100%; height: auto; margin: 4px 0 18px; border-radius: 12px; border: 1px solid var(--hc-line); }
.hc-body hr { border: 0; height: 1px; background: var(--hc-line); margin: 28px 0; }
.hc-body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; }
.hc-body th, .hc-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hc-line); vertical-align: top; }
.hc-body th { font: 600 12px var(--hc-font); letter-spacing: .08em; text-transform: uppercase; color: var(--hc-muted-2); border-bottom: 2px solid #111; }
.hc-body del { color: var(--hc-muted); }

.hc-vote-card { margin-top: 36px; padding: 22px 24px; border: 1px solid var(--hc-line); border-radius: 16px; background: var(--hc-card); }
.hc-vote-title { margin: 0; font-family: var(--hc-display); font-weight: 900; font-size: 16px; letter-spacing: -.015em; text-transform: uppercase; }
.hc-vote-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.hc-vote-actions form { margin: 0; }
.hc-vote-yes {
  height: 40px; padding: 0 18px; border: 1px solid #cfc9ba; border-radius: 999px; background: #fff; color: #111;
  font: 700 11.5px var(--hc-font); letter-spacing: .13em; text-transform: uppercase; cursor: pointer;
}
.hc-vote-yes:hover { border-color: #111; }
.hc-vote-no {
  height: 40px; padding: 0 18px; border: 2px solid #111; border-radius: 999px; background: #111; color: #fff;
  font: 700 11.5px var(--hc-font); letter-spacing: .13em; text-transform: uppercase; cursor: pointer;
}
.hc-vote-no:hover { background: var(--hc-pink); border-color: var(--hc-pink); }
.hc-vote-thanks { margin: 13px 0 0; font: 600 13.5px var(--hc-font); color: #3f7d55; }

.hc-related-title { margin: 40px 0 0; font: 700 11px var(--hc-font); letter-spacing: .16em; text-transform: uppercase; color: var(--hc-muted-2); }
.hc-related-list { margin-top: 12px; border-top: 1px solid var(--hc-line); }
.hc-related-row {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 15px 4px;
  border: 0; border-bottom: 1px solid var(--hc-line); background: transparent; color: var(--hc-text); cursor: pointer;
}
.hc-related-row:hover { color: #c8006e; }
.hc-related-row span:first-child { flex: 1; min-width: 0; font: 600 15px var(--hc-font); line-height: 1.35; }

.hc-article-aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; padding-bottom: 40px; }
.hc-toc-title { margin: 0 0 10px; font: 700 11px var(--hc-font); letter-spacing: .16em; text-transform: uppercase; color: var(--hc-muted-2); }
.hc-toc-list { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--hc-line); }
.hc-toc-link { padding: 7px 12px; font: 500 13.5px/1.4 var(--hc-font); color: var(--hc-muted); }
.hc-toc-link:hover { color: #111; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.hc-footer { margin-top: 72px; background: var(--hc-bar); color: var(--hc-bar-text); }
.hc-footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 44px 28px; display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 30px 56px;
}
@media (max-width: 640px) { .hc-footer-inner { grid-template-columns: minmax(0, 1fr); } }
.hc-footer-brand { margin: 0; font-family: var(--hc-display); font-weight: 900; font-size: 15px; letter-spacing: -.02em; text-transform: uppercase; color: var(--hc-bar-text); }
.hc-footer-logo { display: block; width: auto; max-width: 100%; height: 30px; object-fit: contain; object-position: left center; }
.hc-footer-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; font: 500 13px var(--hc-font); color: color-mix(in srgb, var(--hc-bar-text) 72%, var(--hc-bar)); }
/* Categories flow into as many ~170px columns as fit, so a long list stays short. */
.hc-footer-cats { columns: 170px 4; column-gap: 30px; }
.hc-footer-cats .hc-footer-link { display: block; padding: 4px 0; break-inside: avoid; }
.hc-footer-link { cursor: pointer; background: none; border: 0; padding: 0; text-align: left; color: color-mix(in srgb, var(--hc-bar-text) 72%, var(--hc-bar)); font: inherit; }
.hc-footer-link:hover { color: var(--hc-bar-text); text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .hc-popular-grid { grid-template-columns: 1fr; }
  .hc-results-grid { grid-template-columns: 1fr; }
  .hc-results-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .hc-article-grid { grid-template-columns: 1fr; }
  .hc-article-aside { position: static; }
}

/* "Powered by Webway Chat" — unless the workspace's package is white label. */
.hc-powered { margin: 0; padding: 0 28px 22px; text-align: center; font: 500 12px var(--hc-font); }
.hc-powered a { color: color-mix(in srgb, var(--hc-bar-text) 55%, var(--hc-bar)); text-decoration: none; }
.hc-powered a:hover { color: var(--hc-bar-text); }
