/*
 * GitHub-style alerts (callouts) for the Primer Jekyll theme.
 * Markup is produced by assets/js/callouts.js from `> [!TYPE]` blockquotes.
 */
.markdown-alert {
  padding: 0.5rem 1rem;
  margin-bottom: 16px;
  color: inherit;
  border-left: 0.25em solid #d1d9e0;
}

.markdown-alert > :first-child {
  margin-top: 0;
}

.markdown-alert > :last-child {
  margin-bottom: 0;
}

.markdown-alert .markdown-alert-title {
  display: flex;
  align-items: center;
  font-weight: 500;
  line-height: 1;
}

.markdown-alert .markdown-alert-title svg {
  margin-right: 0.5rem;
  fill: currentColor;
}

.markdown-alert.markdown-alert-note { border-left-color: #0969da; }
.markdown-alert.markdown-alert-note .markdown-alert-title { color: #0969da; }

.markdown-alert.markdown-alert-tip { border-left-color: #1a7f37; }
.markdown-alert.markdown-alert-tip .markdown-alert-title { color: #1a7f37; }

.markdown-alert.markdown-alert-important { border-left-color: #8250df; }
.markdown-alert.markdown-alert-important .markdown-alert-title { color: #8250df; }

.markdown-alert.markdown-alert-warning { border-left-color: #9a6700; }
.markdown-alert.markdown-alert-warning .markdown-alert-title { color: #9a6700; }

.markdown-alert.markdown-alert-caution { border-left-color: #d1242f; }
.markdown-alert.markdown-alert-caution .markdown-alert-title { color: #d1242f; }
