/* Inline code styling - light lavender */
:not(pre) > code {
  background-color: #f3f0f9 !important;
  color: #4a4458 !important;
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}

/* Code block styling - light lavender theme */
pre code.hljs {
  background: #f8f7fc;
  border: 1px solid #e8e4f0;
  border-radius: 4px;
}

/* Stata syntax highlighting - soft, readable colors */
.hljs {
  color: #334155;
  background: #f8f7fc;
}
.hljs-keyword,
.hljs-built_in {
  color: #6d28d9;  /* soft purple for commands */
}
.hljs-string {
  color: #0f766e;  /* teal for strings */
}
.hljs-number {
  color: #0369a1;  /* blue for numbers */
}
.hljs-comment {
  color: #64748b;  /* gray for comments */
  font-style: italic;
}
.hljs-variable,
.hljs-title {
  color: #b45309;  /* amber for variables */
}
.hljs-literal {
  color: #be185d;  /* pink for literals */
}

.callout{
  padding: 0.9rem 1rem;
  margin: 1rem 0;
  border-left: 0.35rem solid #999;
  background: #f7f7f7;
  border-radius: 0.35rem;
}

.callout-note{ border-left-color: #2b6cb0; }
.callout-warning{ border-left-color: #b45309; background: #fff7ed; }
.callout-tip{ border-left-color: #15803d; background: #f0fdf4; }

/* Hero widget - add padding above title */
.wg-hero .hero-title:first-of-type {
  padding-top: 2rem;
}

/* Hero image - smaller, bordered, centered */
.wg-hero .hero-media img {
  max-width: 50%;
  margin: 2rem 0;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wg-hero .hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

