/*
 * Peak Warden — standalone blog stylesheet.
 * Every color value below is taken from the application palette (Style/styles.css):
 * light-1..20 / dark-1..20 scales, primary (#147187 / #0E5A6A),
 * content-* colors and scrollbar colors. No colors outside that palette.
 */

/* ---------------------------------------------------------------- tokens */

:root {
  /* Light surfaces (light-1 / light-3 / light-5 / light-10 / light-15 / light-20) */
  --bg: #FEFEFE;
  --surface: #FCFCFE;
  --surface-raised: #FAFAFD;
  --chip-bg: #FAFAFD; /* color-depth-light (light-5) */
  --hover: #EDEEF7;
  --border: #E7E8F4;
  --depth-line: #E0E1F1; /* color-depth-line-light (light-25) — footer border */

  /* Content colors (content-*-light) */
  --text: #111827;
  --text-secondary: #1f2937;
  --text-muted: #475569;
  --text-disabled: #64748b;

  /* Brand (color-primary / color-primary-hover) */
  --accent: #147187;
  --accent-hover: #0E5A6A;
  --on-accent: #FFFFFF; /* light-base */

  /* Categorical palette — secondary, for distinguishing categories only
     (countries, commodities, sectors). NOT the brand accent. Identical in
     both themes so a category keeps its identity across the theme toggle.
     Prefer the -500 shades by default; use -700 on light backgrounds and
     -300 on dark backgrounds when more contrast is needed. */
  --color-gray-100: #e5e5e5;
  --color-gray-300: #c5c5c5;
  --color-gray-600: #959595;
  --color-gray-900: #4b4b4b;

  --color-red-300: #FF6B6B;
  --color-red-500: #C41E3A;
  --color-red-700: #8B0000;

  --color-green-300: #90EE90;
  --color-green-500: #50C878;
  --color-green-700: #006400;

  --color-blue-300: #4D73B6;
  --color-blue-500: #1C50B7;
  --color-blue-700: #14387F;

  --color-yellow-300: #FABC0C;
  --color-yellow-500: #E49B0F;
  --color-yellow-700: #B8860B;

  --color-purple-300: #E6E6FA;
  --color-purple-500: #702963;
  --color-purple-700: #4B0082;

  --color-orange-300: #FFB347;
  --color-orange-500: #FFA500;
  --color-orange-700: #CC7722;

  --color-teal-500: #006666;

  --color-brown-300: #C4A484;
  --color-brown-500: #964B00;
  --color-brown-700: #654321;

  --color-pink-500: #ec4899;

  /* Scrollbar (light-scroll-*) */
  --scroll-track: #F4F5FA;
  --scroll-thumb: #CCCDE0;

  --font-sans: 'Inter', -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Helvetica, Arial, sans-serif;
}

html.dark {
  /* Dark surfaces (dark-5 / dark-6 / dark-10 / dark-12 / dark-15 / dark-20) */
  --bg: #030712;
  --surface: #040813;
  --surface-raised: #060C17;
  --chip-bg: #060C17; /* color-depth-dark (dark-10) */
  --hover: #0B111F;
  --border: #131B29;
  --depth-line: #1B2533; /* color-depth-line-dark (dark-25) — footer border */

  /* Content colors (content-*-dark) */
  --text: #FDFDFE;
  --text-secondary: #e2e8f0;
  --text-muted: #cbd5e1;
  --text-disabled: #94a3b8;

  /* Brand keeps primary; hover stays primary-dark */
  --accent: #147187;
  --accent-hover: #0E5A6A;
  --on-accent: #FDFDFE; /* content-primary-dark */

  /* Categorical palette (--color-*) is theme-independent: the values from
     :root are inherited unchanged so each category keeps its identity in
     both themes. Pick the -300 shade for dark backgrounds where contrast helps. */

  /* Scrollbar (dark-scroll-*) */
  --scroll-track: #060C17;
  --scroll-thumb: #212847;
}

/* ----------------------------------------------------------------- base */

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  letter-spacing: -0.1px;
  color: var(--text-secondary);
  background-color: var(--bg);
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 54rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main.container {
  flex: 1;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 0.75rem; }
::-webkit-scrollbar-track { background-color: var(--scroll-track); }
::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb);
  border: 3px solid transparent;
  background-clip: content-box;
  border-radius: 9999px;
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: left;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  padding-right: 2.75rem; /* reserve room for the absolutely-positioned theme toggle */
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.25rem;
  font-size: 1rem;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.brand-logo {
  display: block;
  height: 1.4em;
  width: auto;
  transform: translateY(-0.06em);
}

/* Theme-based logo visibility */
html.dark .logo-light { display: none; }
html:not(.dark) .logo-dark { display: none; }

.brand-divider {
  width: 1px;
  height: 1em;
  flex-shrink: 0;
  background-color: var(--border);
}

.brand-section {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.25rem;
  padding: 0.375rem 0.75rem;
  font-size: inherit;
  line-height: 1;
  text-align: left;
  color: var(--text-secondary);
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  transition: background-color 150ms ease-out;
}

.brand-section:hover {
  background-color: var(--hover);
  transition-timing-function: ease-in;
}

.brand-section:focus {
  outline: none;
}

.brand-section:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--text);
}

html.dark .brand-section:focus-visible {
  box-shadow: 0 0 0 2px #cbd5e1;
}

@media (min-width: 640px) {
  .brand {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .brand {
    font-size: 1rem;
  }
}

.theme-toggle {
  position: absolute;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  background-color: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.theme-toggle:hover {
  background-color: var(--hover);
  color: var(--text);
}

.theme-toggle svg { display: block; }
html.dark .icon-moon { display: none; }
html:not(.dark) .icon-sun { display: none; }

/* ------------------------------------------------------- header nav menu */
/* Styled to match the "Blog" brand-section position exactly. */

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.5rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 1rem;
}

.site-nav::-webkit-scrollbar { display: none; }

.site-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.25rem;
  padding: 0.375rem 0.75rem;
  font-size: inherit;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  color: var(--text-secondary);
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  transition: background-color 150ms ease-out;
}

.site-nav-link:hover {
  background-color: var(--hover);
  transition-timing-function: ease-in;
}

.site-nav-link--active {
  background-color: var(--hover);
}

.site-nav-link:focus {
  outline: none;
}

.site-nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--text);
}

html.dark .site-nav-link:focus-visible {
  box-shadow: 0 0 0 2px #cbd5e1;
}

@media (min-width: 640px) {
  .site-nav { font-size: 0.875rem; }
}

@media (min-width: 768px) {
  .site-nav { font-size: 1rem; }
}

/* ------------------------------------------------------------ page head */

.page-head {
  margin: 0.5rem 0 1.75rem;
}

.page-head h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.page-lede {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ----------------------------------------------------------- tag filter */

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background-color: var(--chip-bg);
  border: 1px solid var(--border);
  border-radius: 9999px;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tag-chip:hover {
  background-color: var(--hover);
  color: var(--text);
}

.tag-chip--active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.tag-chip--active:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--on-accent);
}

.tag-chip-count {
  font-size: 0.7rem;
  color: var(--text-disabled);
}

.tag-chip--active .tag-chip-count {
  color: var(--on-accent);
}

.tag-chip--sm {
  padding: 0.12rem 0.55rem;
  font-size: 0.72rem;
}

/* ----------------------------------------------------- provenance badge */

.byline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 9999px;
  white-space: nowrap;
}

/* AI-generated: accent-tinted so the disclosure reads clearly. */
.byline-badge--ai {
  color: var(--accent);
  border-color: var(--accent);
  background-color: transparent;
}

/* Human-written: neutral and quiet. */
.byline-badge--human {
  color: var(--text-muted);
  background-color: var(--chip-bg);
}

/* ------------------------------------------------------------ post list */

.post-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
}

.post-card {
  padding: 1.4rem 1rem;
  margin: 0 -1rem;
  border-bottom: 1px solid var(--border);
  border-radius: 0.6rem;
  transition: background-color 0.15s ease;
}

.post-card:hover {
  background-color: var(--surface-raised);
}

.post-card-link { display: block; }

.post-card-title {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
  transition: color 0.15s ease;
}

.post-card:hover .post-card-title {
  color: var(--accent);
}

.post-card-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 0.8rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-disabled);
}

.meta-divider { color: var(--text-disabled); }

.post-card-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-left: auto;
}

/* ----------------------------------------------------------- pagination */

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.page-link:hover {
  background-color: var(--hover);
  color: var(--text);
}

.page-link--active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.page-link--active:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--on-accent);
}

/* ---------------------------------------------------------- single post */

.back-link {
  display: inline-block;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.back-link:hover { color: var(--accent); }

.post-header {
  margin: 1.2rem 0 2.2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--border);
}

.post-title {
  margin: 0 0 0.7rem;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--text);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-disabled);
}

.post-header-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.9rem;
}

/* ----------------------------------------------------------------- prose */

.prose {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  border-bottom: 2px solid var(--accent);
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.3;
  margin: 2rem 0 0.7rem;
}

.prose h1 { font-size: 1.45rem; }
.prose h2 { font-size: 1.35rem; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { font-size: 1rem; }

/* Subsections (H3) read lighter than main sections (H2): smaller, thin neutral rule */
.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom-width: 1px;
  border-bottom-color: var(--border);
  color: var(--text-secondary);
  margin-top: 1.6rem;
}

.prose p { margin: 0 0 1rem; }

.prose a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

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

.prose ul, .prose ol {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
}

.prose li { margin-bottom: 0.3rem; }

.prose strong { color: var(--text); font-weight: 600; }

.prose blockquote {
  margin: 1.2rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--accent);
  color: var(--text-muted);
}

.prose code {
  font-size: 0.85em;
  padding: 0.15rem 0.4rem;
  background-color: var(--chip-bg);
  border: 1px solid var(--border);
  border-radius: 0.3rem;
}

.prose pre {
  padding: 1rem;
  overflow-x: auto;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
}

.prose pre code {
  padding: 0;
  background: none;
  border: none;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.6rem;
}

.prose hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid var(--border);
}

.prose table {
  width: 100%;
  margin: 1.2rem 0;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.prose th, .prose td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.prose th {
  color: var(--text);
  font-weight: 600;
  background-color: var(--surface);
}

/* ------------------------------------------------- visual suggestion cue */

.prose .visual-cue {
  display: block;
  margin: 1.5rem 0;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background-color: color-mix(in srgb, var(--accent) 7%, var(--surface));
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.prose .visual-cue__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.5rem;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.prose .visual-cue__icon { flex: none; }

.prose .visual-cue__body { color: var(--text-secondary); }

/* Diagrams: theme-swapped light/dark SVG pairs (mirrors the logo swap) */
.prose figure.diagram {
  margin: 1.75rem 0;
  text-align: center;
}
.prose figure.diagram img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
html.dark .prose .diagram-light { display: none; }
html:not(.dark) .prose .diagram-dark { display: none; }

/* ---------------------------------------------------------------- footer */

/* Mirrors the main app footer: bg-footer + border-depth-line, content centered,
   links stack on mobile and sit in a row at md, muted text with underline on hover. */
.site-footer {
  width: 100%;
  border-top: 1px solid var(--depth-line);
  background-color: var(--surface);
  color: var(--text);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;            /* gap-2 */
  padding: 0.75rem;       /* p-3 */
}

.footer-links {
  display: flex;
  flex-direction: column; /* flex-col */
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;              /* gap-4 */
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li { list-style: none; }

@media (min-width: 768px) {
  .footer-links { flex-direction: row; } /* md:flex-row */
}

.footer-links a {
  width: fit-content;
  color: var(--text-muted);
  font-weight: 500;       /* font-medium */
  font-size: 1rem;        /* text-base */
}

@media (min-width: 640px) {
  .footer-links a { font-size: 0.875rem; } /* sm:text-sm */
}

@media (min-width: 768px) {
  .footer-links a { font-size: 1rem; }     /* md:text-base */
}

.footer-links a:hover { text-decoration: underline; }

.footer-links a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--text);
}

.footer-copy {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.875rem;    /* text-sm */
  text-align: center;
  color: var(--text-muted);
}

/* ------------------------------------------------------------ states */

.empty-state {
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .post-card-tags { margin-left: 0; width: 100%; }
  .page-head h1 { font-size: 1.45rem; }
  .post-title { font-size: 1.5rem; }
}

/* ----------------------------------------------------- table of contents */

/* Post pages widen on large screens to host the sticky section rail; the
   reading column stays comfortable inside the grid. Below the breakpoint the
   container keeps its 54rem reading width and the TOC stacks on top. */
@media (min-width: 1080px) {
  .container--post { max-width: 90rem; }
}

.post-shell { width: 100%; }

@media (min-width: 1080px) {
  .post-shell {
    display: grid;
    /* left TOC gutter · centered reading column · matching empty right gutter */
    grid-template-columns: minmax(14rem, 1fr) minmax(0, 52rem) minmax(14rem, 1fr);
    gap: 2rem;
  }
}

/* Anchored sections clear the sticky site header when navigated to. */
.prose h2,
.prose h3,
.prose h4 { scroll-margin-top: 5.25rem; }

.post-toc-wrap { min-width: 0; }

/* Sidebar is desktop-only — hidden on small screens. */
@media (max-width: 1079px) {
  .post-toc-wrap { display: none; }
}

.post-toc {
  font-size: 0.82rem;
  margin: 0 0 1.75rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background-color: var(--surface);
}

@media (min-width: 1080px) {
  .post-toc {
    position: sticky;
    top: 5rem;
    max-height: calc(100vh - 6rem);
    margin: 0;
    padding: 0.15rem 0 0;
    overflow-y: auto;
    border: none;
    border-radius: 0;
    background: transparent;
  }
}

/* Header: "On this page" label with a collapse toggle beside it. */
.post-toc__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.4rem;
  padding: 0 0 0 0.5rem;
  border: none;
  background: transparent;
  color: var(--text-disabled);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s ease;
}

.post-toc__toggle:hover { color: var(--text-muted); }

.post-toc__chevron {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

/* Open → chevron points up; collapsed → chevron down and the list is hidden. */
.post-toc:not(.is-collapsed) .post-toc__chevron { transform: rotate(180deg); }
.post-toc.is-collapsed .post-toc__list { display: none; }

.post-toc__list {
  margin: 0;
  padding: 0 0 0.5rem;
  list-style: none;
}

.post-toc__item { margin: 0; }

.post-toc__link {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.32rem 0.5rem;
  color: var(--text-muted);
  line-height: 1.35;
  transition: color 0.15s ease;
}

.post-toc__link:hover { color: var(--accent); }

.post-toc__link.is-active {
  color: var(--accent);
  font-weight: 700;
}

.post-toc__num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.post-toc__num--dot {
  min-width: 0.4rem;
  width: 0.4rem;
  height: 0.4rem;
  margin: 0 0.42rem;
  align-self: center;
  border-radius: 50%;
  background-color: var(--accent);
}

.post-toc__text { min-width: 0; }

/* Nested (H3) entries */
.post-toc__sublist {
  margin: 0.1rem 0 0.2rem;
  padding: 0 0 0 1.9rem;
  list-style: none;
}

.post-toc__link--sub {
  padding-top: 0.24rem;
  padding-bottom: 0.24rem;
  padding-left: 0.9rem;
  font-size: 0.78rem;
}

/* Subsection number chip (e.g. "6.1") — like the section chip, a touch smaller */
.post-toc__num--sub {
  min-width: 1.7rem;
  font-size: 0.68rem;
}

/* Rail scrollbar follows the site tokens */
.post-toc::-webkit-scrollbar { width: 0.5rem; }
.post-toc::-webkit-scrollbar-track { background: transparent; }
.post-toc::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 1rem;
}
