/* Editorial longform: serif body, sans headings; neutral palette, no utility-blue chrome */

::selection {
  background: #e7e5e4;
  color: #1c1917;
}

.prose {
  --article-ink: #1c1917;
  --article-text: #44403c;
  --article-mute: #78716c;
  --article-rule: #d6d3d1;
  --article-sans: "Signika Negative", system-ui, sans-serif;

  font-family: "Source Serif 4", Georgia, "Palatino Linotype", "Times New Roman", serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--article-text);
  text-rendering: optimizeLegibility;
  max-width: 45rem;
  margin: 0;
  font-feature-settings: "kern" 1, "onum" 1;
}

/* Headings stay in the site sans, tighter editorial scale */
.prose h1,
.prose h2,
.prose h3 {
  font-family: var(--article-sans);
  color: var(--article-ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: 0.35em;
}

.prose h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-top: 2.25rem;
  margin-bottom: 0.65rem;
  padding-top: 0.15rem;
  font-weight: 600;
  border: none;
  position: relative;
}

.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 2px;
  background: var(--article-ink);
  opacity: 0.85;
}

.prose h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #292524;
  letter-spacing: 0;
}

.captioned-image-container {
  text-align: center;
  margin: 1.5rem 0 1.75rem;
}

.captioned-image-container img {
  max-width: 100%;
  border: 1px solid var(--article-rule);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(28, 25, 23, 0.04);
}

.image-link {
  display: block;
  transition: opacity 0.2s ease;
}

.image-link:hover {
  transform: none;
  opacity: 0.95;
}

.sizing-normal {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.75rem auto;
  border: 1px solid var(--article-rule);
  border-radius: 2px;
}

.icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #f5f5f4;
  color: #57534e;
  border-radius: 2px;
  margin-right: 8px;
}

.prose ul,
.prose ol {
  margin: 0.9rem 0 1.15rem;
  padding-left: 1.2rem;
}

.prose ul {
  list-style: disc;
}

.prose ul li::marker {
  color: #a8a29e;
}

.prose li {
  margin-bottom: 0.45rem;
  padding-left: 0.15em;
}

/* Underline style links: text-led, not bright UI blue */
.prose a[href] {
  color: var(--article-ink);
  text-decoration: none;
  border-bottom: 1px solid #a8a29e;
  padding-bottom: 0.04em;
  transition:
    color 0.12s ease,
    border-color 0.12s ease;
}

.prose a[href]:hover {
  color: #0c0a09;
  border-bottom-color: var(--article-ink);
}

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

.prose strong {
  color: #1c1917;
  font-weight: 600;
}

.prose blockquote {
  margin: 1.25rem 0;
  padding: 0.25rem 0 0.25rem 1.1rem;
  border-left: 1px solid #a8a29e;
  color: #44403c;
  font-style: normal;
  font-size: 1.05em;
  line-height: 1.65;
}

.prose blockquote p {
  margin: 0 0 0.6rem;
}

.prose code {
  font-family: ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: #292524;
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  padding: 0.1em 0.35em;
  border-radius: 2px;
  font-style: normal;
}

p {
  text-align: left;
}

.image-link-expand {
  display: none !important;
}
