/* Override prose heading sizes so they stay smaller than the page title (36px / 2.25rem) */

.prose h1,
.prose-xl h1 {
    font-size: 1.875rem; /* 30px */
}

.prose h2,
.prose-xl h2 {
    font-size: 1.5rem; /* 24px */
}

.prose h3,
.prose-xl h3 {
    font-size: 1.25rem; /* 20px */
}

.prose h4,
.prose-xl h4 {
    font-size: 1.125rem; /* 18px */
}

/* Remove the typography plugin's backtick pseudo-elements around inline code */
.prose :where(code):not(:where(pre *))::before,
.prose :where(code):not(:where(pre *))::after {
    content: none;
}

/* GitHub-style inline code chip */
.prose :where(code):not(:where(pre *)) {
    background-color: rgb(175 184 193 / 0.2);
    border-radius: 0.3em;
    padding: 0.2em 0.4em;
    font-size: 85%;
}
