/* Brand baseline — light theme */
html {
  scroll-behavior: smooth;
}

::selection {
  background-color: rgba(201, 29, 29, 0.18);
  color: #0f172a;
}

.highlight {
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
}

.highlight pre {
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  background-color: transparent;
}

/* Mobile nav: hide default disclosure marker */
details > summary::-webkit-details-marker {
  display: none;
}

details > summary {
  list-style: none;
}

/* Article hero — LinkedIn OG image (1.91:1) */
.article-hero img {
  display: block;
  width: 100%;
  height: auto;
}
