/* VinzaPanel — docs.css
   Full-page docs layout: fixed sidebar + topbar on content side.
   Loaded alongside home.css (provides variables, .nav-user-wrap, fonts). */

/* ── Reset body for docs layout ─────────────────────────────── */
body { margin: 0; }

/* ── Fixed left sidebar ──────────────────────────────────────── */
/* The whole sidebar carries the brand navy, not just its header row.
   Done by REDECLARING the tokens its own rules already read, the way
   .sidebar.sb-brand does in style.css — every descendant (search box, category
   labels, links, footer card, scrollbar) follows without a single new selector,
   and none of them can drift out of sync later.

   The values are lifted from that variant rather than invented: they were
   contrast-measured there. White on the #0f6ed6 active pill is 4.97:1, and the
   pill holds 3.08:1 against the navy — above the 4.5:1 text floor and the 3:1
   floor for a UI component. Do not "tidy" these to a lighter blue. */
.docs-sidebar {
  --text:        #ffffff;
  --text-muted:  rgba(174, 203, 235, 0.72);
  --border:      rgba(255, 255, 255, 0.12);
  --bg:          rgba(255, 255, 255, 0.06);
  --brand:       #ffffff;
  --brand-pale:  rgba(255, 255, 255, 0.09);

  position: fixed;
  top: 0; left: 0;
  width: 264px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0a2547;
  border-right: 1px solid var(--border);
  z-index: 200;
}

/* The active row is the one thing that must never be ambiguous, so it keeps a
   solid pill instead of the same faint wash as hover. */
.docs-sidebar .docs-nav-link.active {
  background: #0f6ed6;
  border-left-color: #ffffff;
  color: #ffffff;
}

/* :focus flipped the field to solid white, which on white text left an empty
   box the moment you clicked into it. */
.docs-sidebar-search input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}
.docs-sidebar-search input::placeholder { color: rgba(174, 203, 235, 0.6); }

/* Brand / logo row */
/* The same navy the vinzaweb sidebar carries in its "brand" style
   (.sidebar.sb-brand → #0a2547). Hardcoded rather than referenced: that token is
   scoped inside the panel sidebar and does not exist on the docs page, so
   reaching for it here would silently resolve to nothing. */
.docs-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 60px;
  flex-shrink: 0;
  /* No background of its own any more: the whole sidebar is this colour. Only
     the hairline that separates it from the nav below stays. */
  border-bottom: 1px solid var(--border);
}
/* Everything inside the row has to come with it — the link colour and the badge
   were picked for a white ground and are unreadable on navy. */
.docs-sidebar-brand .docs-brand-link { color: #ffffff; }
.docs-sidebar-brand .docs-brand-tag {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}
.docs-brand-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none;
}
.docs-brand-link img {
  width: 30px; height: 30px;
  object-fit: contain; border-radius: 7px;
}
.docs-brand-tag {
  font-size: 0.62rem; font-weight: 700;
  padding: 2px 8px; border-radius: 99px;
  background: var(--brand-pale); color: var(--brand);
  border: 1px solid rgba(15,110,214,0.2);
  flex-shrink: 0;
}

/* Scrollable nav area */
.docs-sidebar-inner {
  flex: 1;
  overflow-y: auto;
  padding: 14px 0 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.docs-sidebar-inner::-webkit-scrollbar { width: 4px; }
.docs-sidebar-inner::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Search */
.docs-sidebar-search {
  position: relative;
  margin: 0 14px 12px;
}
.docs-sidebar-search i {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 0.74rem; pointer-events: none;
}
.docs-sidebar-search input {
  width: 100%; padding: 8px 10px 8px 30px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.82rem; color: var(--text);
  font-family: inherit; outline: none; transition: border-color 0.15s;
  box-sizing: border-box;
}
.docs-sidebar-search input:focus { border-color: var(--brand); background: #fff; }

/* Nav groups / categories */
.docs-nav-group { margin-bottom: 2px; }
.docs-nav-cat {
  padding: 6px 18px 3px;
  font-size: 0.64rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted);
  display: flex; align-items: center; gap: 7px;
  margin-top: 14px;
}
.docs-nav-cat i { font-size: 0.66rem; color: var(--brand); opacity: 0.8; }
.docs-nav-link {
  display: block; padding: 6px 18px 6px 32px;
  font-size: 0.835rem; color: var(--text-muted);
  transition: all 0.12s;
  border-left: 2px solid transparent;
  line-height: 1.4;
}
.docs-nav-link:hover { color: var(--brand); background: var(--brand-pale); border-left-color: rgba(15,110,214,0.3); }
.docs-nav-link.active { color: var(--brand); background: var(--brand-pale); border-left-color: var(--brand); font-weight: 600; }

/* Sidebar footer */
.docs-sidebar-footer {
  margin: 20px 14px 0;
  padding: 12px 14px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--border);
  font-size: 0.76rem; color: var(--text-muted); line-height: 1.65;
}
.docs-sidebar-footer a { color: var(--brand); font-weight: 600; }

/* ── Right panel ─────────────────────────────────────────────── */
.docs-right-panel {
  margin-left: 264px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Slim topbar */
.docs-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
  height: 60px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 2px;
}
.docs-topbar-links {
  display: flex; align-items: center; gap: 2px;
}
.docs-topbar-links > a {
  padding: 7px 12px; border-radius: 8px;
  font-size: 0.86rem; font-weight: 500;
  color: var(--text-muted); transition: all 0.15s;
}
.docs-topbar-links > a:hover { color: var(--brand); background: var(--brand-pale); }

/* .nav-user-wrap was built for the dark public navbar: white text on a
   translucent-white pill. On this white topbar the username rendered
   white-on-white and only the avatar was visible — survivable while four other
   links sat beside it, not now that the account control is the only thing here. */
.docs-topbar .nav-user-wrap {
  color: var(--text);
  background: transparent;
  border-color: var(--border);
}
.docs-topbar .nav-user-wrap:hover {
  background: var(--brand-pale);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
}

/* Mobile sidebar toggle (hidden on desktop) */
.docs-mobile-btn {
  display: none;
  background: none; border: none;
  font-size: 1.1rem; color: var(--text-muted);
  cursor: pointer; padding: 8px; margin-right: auto;
}

/* Content + TOC grid */
.docs-content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  flex: 1;
  align-items: start;
}

/* ── Main content area ───────────────────────────────────────── */
.docs-main {
  padding: 36px 52px 80px;
  min-width: 0;
  /* White, so the prose column reads as a page rather than as a panel floating
     on the tinted app background. */
  background: #ffffff;
}

/* Breadcrumb */
.docs-breadcrumb {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.77rem; color: var(--text-muted);
  margin-bottom: 24px; flex-wrap: wrap;
}
.docs-breadcrumb a { color: var(--brand); }
.docs-breadcrumb a:hover { text-decoration: underline; }
.docs-breadcrumb i { font-size: 0.54rem; opacity: 0.5; }

/* Article header */
.docs-article-header { margin-bottom: 28px; }
.docs-article-header h1 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 900; letter-spacing: -0.03em;
  color: var(--text); margin-bottom: 10px; line-height: 1.25;
}
.docs-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.77rem; color: var(--text-muted);
}
.docs-meta i { color: var(--brand); opacity: 0.7; }
.docs-meta-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: hsl(142,55%,94%); color: hsl(142,55%,28%);
  border: 1px solid hsl(142,40%,80%);
  padding: 2px 9px; border-radius: 99px;
  font-size: 0.7rem; font-weight: 700;
}

/* ── Body typography ─────────────────────────────────────────── */
.docs-body { font-size: 0.95rem; line-height: 1.88; color: var(--text); }
.docs-body p { margin-bottom: 1.25em; }
.docs-body hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }

.docs-body h2 {
  font-size: 1.2rem; font-weight: 800; letter-spacing: -0.025em;
  color: var(--text); margin: 2.2em 0 0.65em;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
  scroll-margin-top: 72px;
}
.docs-body h3 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin: 1.7em 0 0.5em; scroll-margin-top: 72px;
}
.docs-body h4 {
  font-size: 0.88rem; font-weight: 700; color: var(--text-muted);
  margin: 1.3em 0 0.4em; text-transform: uppercase; letter-spacing: 0.05em;
}

.docs-body code {
  background: hsl(214,55%,96%); color: hsl(214,65%,38%);
  border: 1px solid hsl(214,40%,88%);
  border-radius: 4px; padding: 1px 6px;
  font-size: 0.86em; font-family: 'JetBrains Mono', monospace;
}

.docs-body pre {
  position: relative;
  background: hsl(222,22%,14%); color: hsl(210,25%,88%);
  border-radius: 10px; padding: 18px 20px; overflow-x: auto;
  margin: 1.4em 0; font-size: 0.84rem; line-height: 1.65;
  border: 1px solid hsl(222,22%,20%);
}
.docs-body pre code { background: none; border: none; padding: 0; color: inherit; font-size: inherit; }
.docs-body pre .copy-btn {
  position: absolute; top: 10px; right: 10px;
  background: hsl(222,22%,22%); color: hsl(210,20%,70%);
  border: 1px solid hsl(222,22%,28%); border-radius: 6px;
  padding: 4px 10px; font-size: 0.72rem; cursor: pointer;
  font-family: inherit; transition: all 0.15s;
}
.docs-body pre .copy-btn:hover { background: hsl(222,22%,30%); color: #fff; }
.docs-body pre .copy-btn.copied { color: hsl(142,60%,60%); }

.docs-body ul, .docs-body ol { padding-left: 1.5em; margin-bottom: 1.3em; }
.docs-body li { margin-bottom: 0.45em; }
.docs-body ul li::marker { color: var(--brand); }
.docs-body ol li::marker { color: var(--brand); font-weight: 700; }
.docs-body a { color: var(--brand); text-underline-offset: 3px; }
.docs-body a:hover { opacity: 0.8; }

/* ── Tables ──────────────────────────────────────────────────── */
.docs-body table {
  width: 100%; border-collapse: collapse; margin: 1.4em 0;
  font-size: 0.875rem; border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.docs-body thead { background: var(--bg); }
.docs-body th {
  padding: 10px 16px; text-align: left;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.docs-body td {
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  vertical-align: top; color: var(--text);
}
.docs-body tr:last-child td { border-bottom: none; }
.docs-body tbody tr:hover { background: hsl(214,40%,98.5%); }

/* Wide tables scroll inside their own box (see views._wrap_tables) instead of
   stretching the whole page sideways on mobile. */
.docs-table-wrap { overflow-x: auto; margin: 1.4em 0; -webkit-overflow-scrolling: touch; }
.docs-table-wrap > table { margin: 0; }
/* Images and long unbreakable strings (URLs, inline code) stay inside the column. */
.docs-body img { max-width: 100%; height: auto; border-radius: 8px; }
.docs-body { overflow-wrap: break-word; }

/* ── Callout boxes ───────────────────────────────────────────── */
.callout {
  border-radius: 10px; padding: 13px 18px;
  margin: 1.4em 0; border-left: 4px solid;
  font-size: 0.91rem; line-height: 1.72;
}
.callout p { margin-bottom: 0.5em; }
.callout p:last-child { margin-bottom: 0; }
.callout-title {
  font-weight: 700; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.07em; margin-bottom: 7px;
  display: flex; align-items: center; gap: 7px;
}
.callout-note   { background: hsl(214,55%,96%); border-color: var(--brand); color: hsl(214,35%,26%); }
.callout-note   .callout-title { color: var(--brand); }
.callout-tip    { background: hsl(142,45%,95%); border-color: hsl(142,55%,38%); color: hsl(142,30%,22%); }
.callout-tip    .callout-title { color: hsl(142,55%,32%); }
.callout-warning{ background: hsl(38,95%,95%); border-color: hsl(38,90%,48%); color: hsl(38,50%,22%); }
.callout-warning .callout-title { color: hsl(38,80%,35%); }
.callout-danger { background: hsl(0,80%,97%);  border-color: hsl(0,70%,52%);  color: hsl(0,40%,28%); }
.callout-danger .callout-title { color: hsl(0,65%,45%); }

/* ── Prev / Next pager ───────────────────────────────────────── */
.docs-pager {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.docs-pager-link {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 18px; border-radius: 10px;
  border: 1px solid var(--border); background: #fff;
  transition: all 0.18s; color: var(--text);
}
.docs-pager-link:hover { border-color: var(--brand); background: var(--brand-pale); }
.docs-pager-link.next { text-align: right; }
.docs-pager-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
  display: flex; align-items: center; gap: 5px;
}
.docs-pager-link.next .docs-pager-label { justify-content: flex-end; }
.docs-pager-title { font-size: 0.875rem; font-weight: 600; color: var(--brand); }

/* ── Right on-page TOC ───────────────────────────────────────── */
.docs-toc-panel {
  position: sticky; top: 68px;
  padding: 24px 22px 24px 20px;
  max-height: calc(100vh - 80px);
  overflow-y: auto; scrollbar-width: none;
}
.docs-toc-panel::-webkit-scrollbar { display: none; }
.docs-toc-title {
  /* +11% across the on-page contents (0.66/0.79/0.75 → 0.733/0.877/0.833). */
  font-size: 0.733rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted);
  margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.docs-toc-list { list-style: none; padding: 0; margin: 0; }
.docs-toc-list li a {
  display: block; padding: 5px 8px;
  font-size: 0.877rem; color: var(--text-muted);
  border-radius: 5px; transition: all 0.12s;
  border-left: 2px solid transparent; line-height: 1.45;
}
.docs-toc-list li a:hover { color: var(--brand); background: var(--brand-pale); }
.docs-toc-list li a.toc-active { color: var(--brand); font-weight: 600; border-left-color: var(--brand); background: var(--brand-pale); }
.docs-toc-list li.toc-h3 a { padding-left: 18px; font-size: 0.833rem; }

/* ── Docs welcome / overview ─────────────────────────────────── */
.docs-welcome { text-align: center; padding: 52px 0 40px; }
.docs-welcome-icon { font-size: 3rem; color: var(--brand); margin-bottom: 20px; }
.docs-welcome h1 { font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 900; margin-bottom: 12px; letter-spacing: -0.03em; }
.docs-welcome p { font-size: 1rem; color: var(--text-muted); margin: 0 auto 36px; }
.docs-overview-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; max-width: 560px; margin: 0 auto 36px; text-align: left;
}
.docs-overview-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm);
  transition: all 0.18s; display: flex; flex-direction: column; gap: 6px;
}
.docs-overview-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.docs-overview-card i { font-size: 1.3rem; color: var(--brand); }
.docs-overview-card strong { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.docs-overview-card span { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.docs-install-quick {
  background: hsl(220,20%,96%); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px; max-width: 560px; margin: 0 auto; text-align: left;
}
.docs-install-title { font-size: 0.78rem; font-weight: 700; color: var(--brand); margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.docs-install-cmd { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; color: var(--text); margin-bottom: 8px; }
.docs-install-note { font-size: 0.75rem; color: var(--text-muted); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .docs-content-grid { grid-template-columns: 1fr; }
  .docs-toc-panel { display: none; }
}

@media (max-width: 860px) {
  .docs-right-panel { margin-left: 0; }
  .docs-sidebar {
    transform: translateX(-264px);
    transition: transform 0.25s ease;
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
  }
  .docs-sidebar.open { transform: translateX(0); }
  .docs-mobile-btn { display: flex; }
  .docs-main { padding: 24px 20px 60px; }
  .docs-pager { grid-template-columns: 1fr; }
}

/* Site links live in the SIDEBAR at every width now. They used to sit in the
   topbar on desktop and move here only on phones; the topbar has since been
   reduced to the account control, and leaving this hidden on desktop would have
   made Plugins and Blog unreachable from any docs page — the brand logo was the
   only way back to the site at all. The sidebar is where navigation belongs on a
   documentation page anyway. */
.docs-sidebar-sitenav {
  display: flex; flex-direction: column; gap: 2px;
  margin: 6px 0 2px; padding: 12px 0; border-top: 1px solid var(--border);
}
.docs-sidebar-sitenav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px;
  font-size: 0.9rem; font-weight: 500; color: var(--text); border-radius: 8px;
  text-decoration: none;
}
.docs-sidebar-sitenav a:hover { background: var(--brand-pale); color: var(--brand); }
.docs-sidebar-sitenav a i { width: 18px; text-align: center; color: var(--text-muted); }
.docs-sidebar-sitenav a:hover i { color: var(--brand); }

@media (max-width: 640px) {
  /* On a phone the topbar can't fit the toggle + four nav links + the user control, so
     the whole bar overflowed and the hamburger was clipped off the left edge. The links
     duplicate what the hamburger sidebar already offers — hide them and keep the toggle
     (left) and the user/login control (right). Keep .btn-nav (the logged-out Login). */
  .docs-topbar { padding: 0 14px; }
  .docs-topbar-links > a:not(.btn-nav) { display: none; }
  /* (the site links are in the sidebar at every width now — see above) */
}

/* ── Inline page editor (admin) ─────────────────────────────────────────────
   Editing sits ON the page being read rather than on a separate screen, so the
   reader keeps their place. The overlay covers the viewport but the panel stops
   short of the edges — a full-bleed frame would read as "you have navigated
   somewhere else", which is exactly the feeling this avoids. */
/* Fixed, and deliberately NOT stacked above the language chooser: that control
   is a FAB whose menu opens upwards (.lang-fab is column, menu before button),
   so a button placed over it would be covered the moment the menu is used. It
   sits to its left instead — 28px base offset + the 46px globe + a 12px gap. */
.docs-edit-fab {
  position: fixed; bottom: 28px; right: 86px; z-index: 1000;
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 99px;
  font-family: inherit; font-size: 0.84rem; font-weight: 700;
  color: #fff; background: #0a2547; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(10, 37, 71, 0.35);
  transition: transform 0.18s, box-shadow 0.18s;
}
.docs-edit-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(10, 37, 71, 0.45);
}
.docs-edit-fab i { font-size: 0.8rem; }

/* On a phone the pair would eat most of the bar, so the label goes and the
   button becomes a circle matching the globe beside it. */
@media (max-width: 640px) {
  .docs-edit-fab { right: 84px; padding: 0; width: 46px; justify-content: center; }
  .docs-edit-fab span { display: none; }
}

.docs-editor-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(10, 37, 71, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
}
/* [hidden] loses to the display:flex above without this — the overlay would sit
   over the page permanently, invisible only because the frame has no src yet. */
.docs-editor-overlay[hidden] { display: none; }

.docs-editor-panel {
  display: flex; flex-direction: column;
  width: min(1180px, 100%); height: min(880px, 100%);
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(10, 37, 71, 0.4);
}
.docs-editor-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: #0a2547; color: #fff; flex-shrink: 0;
}
.docs-editor-heading { display: flex; flex-direction: column; gap: 1px; min-width: 0; margin-right: auto; }
.docs-editor-eyebrow {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(174, 203, 235, 0.72);
}
.docs-editor-heading strong {
  font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.docs-editor-pop, .docs-editor-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff; font-size: 0.8rem; cursor: pointer; text-decoration: none;
  transition: background 0.15s;
}
.docs-editor-pop:hover, .docs-editor-close:hover { background: rgba(255, 255, 255, 0.2); }

/* The frame carries the editor's own scrollbar; the panel must not add a second. */
.docs-editor-frame { flex: 1; width: 100%; border: 0; display: block; }

@media (max-width: 640px) {
  .docs-editor-overlay { padding: 0; }
  .docs-editor-panel { width: 100%; height: 100%; border-radius: 0; }
}

/* ── Featured guide banner (top of /docs/) ── */
.docs-featured {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; margin-bottom: 24px;
  border: 1px solid var(--brand); border-radius: 12px;
  background: var(--brand-pale); color: var(--text);
  text-decoration: none; transition: box-shadow .15s;
}
.docs-featured:hover { box-shadow: var(--shadow-md); }
.docs-featured-icon {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1.05rem;
}
.docs-featured-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: .86rem; color: var(--text-muted); }
.docs-featured-text strong { color: var(--text); font-size: .98rem; }
.docs-featured-label {
  align-self: flex-start; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--brand);
}
.docs-featured-go { margin-left: auto; color: var(--brand); flex: 0 0 auto; }
@media (max-width: 520px) { .docs-featured-go { display: none; } }
