/* Article typography */
article.max-w-4xl {
  color: oklch(var(--bc)) !important;
  font-size: 1.125rem !important;
  line-height: 1.75 !important;
}

article.max-w-4xl h1,
article.max-w-4xl h2,
article.max-w-4xl h3,
article.max-w-4xl h4,
article.max-w-4xl h5,
article.max-w-4xl h6 {
  color: oklch(var(--bc)) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

article.max-w-4xl h2 {
  font-size: 1.875rem !important;
  margin-top: 2em !important;
  margin-bottom: 1em !important;
}

article.max-w-4xl h3 {
  font-size: 1.5rem !important;
  margin-top: 1.5em !important;
  margin-bottom: 0.75em !important;
}

article.max-w-4xl h4 {
  font-size: 1.25rem !important;
  margin-top: 1.25em !important;
  margin-bottom: 0.5em !important;
}

article.max-w-4xl p {
  margin-bottom: 1.25em !important;
}

article.max-w-4xl a {
  color: oklch(var(--p)) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

article.max-w-4xl a:hover {
  color: oklch(var(--pf)) !important;
}

article.max-w-4xl code {
  background-color: oklch(var(--b2)) !important;
  color: oklch(var(--bc)) !important;
  padding: 0.2em 0.4em !important;
  border-radius: 0.25em !important;
  font-size: 0.875em !important;
  font-weight: 600 !important;
}

article.max-w-4xl pre {
  padding: 1em !important;
  border-radius: 0.5em !important;
  overflow-x: auto !important;
  margin-bottom: 1.5em !important;
  margin-top: 1.5em !important;
}

article.max-w-4xl pre code {
  background-color: transparent !important;
  padding: 0 !important;
  font-weight: 400 !important;
  font-size: 1rem !important;
}

/* Syntax highlighting adjustments */
article.max-w-4xl .chroma {
  background-color: #272822 !important;
  color: #f8f8f2 !important; /* Default text color for unstyled elements */
  border-radius: 0.5em !important;
  padding: 1em !important;
  margin: 1.5em 0 !important;
}

article.max-w-4xl .chroma code {
  background-color: transparent !important;
  color: inherit !important;
  font-weight: 400 !important;
}

article.max-w-4xl ul,
article.max-w-4xl ol {
  margin-bottom: 1.25em !important;
  padding-left: 1.5em !important;
}

article.max-w-4xl li {
  margin-bottom: 0.5em !important;
}

article.max-w-4xl strong {
  font-weight: 700 !important;
  color: oklch(var(--bc)) !important;
}

article.max-w-4xl em {
  font-style: italic !important;
}

article.max-w-4xl blockquote {
  border-left: 4px solid oklch(var(--p)) !important;
  padding-left: 1em !important;
  font-style: italic !important;
  color: oklch(var(--bc) / 0.8) !important;
  margin: 1.5em 0 !important;
}

article.max-w-4xl hr {
  border: 0 !important;
  border-top: 1px solid oklch(var(--bc) / 0.2) !important;
  margin: 2em 0 !important;
}

/* Company highlights */
.highlight-wealthfront {
  color: #FFFFFF;
  background-color: #4840BB;
  padding: .1em .2em;
  border-radius: .1em;
}

.highlight-wealthfront:hover {
  color: #FFFFFF;
  background-color: #9789f8;
  padding: .1em .2em;
  border-radius: .1em;
}

.highlight-boeing{
  color: #FFFFFF;
  background-color: #0033A1;
  padding: .1em .2em;
  border-radius: .1em;
}

.highlight-lockheed{
  color: #FFFFFF;
  background-color: #003478;
  padding: .1em .2em;
  border-radius: .1em;
}
