/* Prose typography styles for markdown rendering */
/* Only loaded on learning pages and deal detail pages that render markdown content */

.prose {
    color: #374151;
    line-height: 1.75;
    max-width: 65ch;
}

.prose h1 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.111;
    margin-top: 0;
    margin-bottom: 2rem;
    color: #111827;
}

.prose h2 {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111827;
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.prose h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.prose h5 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.prose h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.prose p {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.prose ul {
    list-style-type: disc;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    padding-left: 1.625rem;
}

.prose ol {
    list-style-type: decimal;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    padding-left: 1.625rem;
}

.prose li {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.prose blockquote {
    font-weight: 500;
    font-style: italic;
    color: #111827;
    border-left-width: 0.25rem;
    border-left-color: #e5e7eb;
    quotes: "\201C""\201D""\2018""\2019";
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
    padding-left: 1rem;
}

.prose blockquote p:first-of-type::before {
    content: open-quote;
}

.prose blockquote p:last-of-type::after {
    content: close-quote;
}

.prose code {
    color: #111827;
    font-weight: 600;
    font-size: 0.875em;
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}

.prose pre {
    color: #e5e7eb;
    background-color: #1f2937;
    overflow-x: auto;
    font-weight: 400;
    font-size: 0.875em;
    line-height: 1.7142857;
    margin-top: 1.7142857em;
    margin-bottom: 1.7142857em;
    border-radius: 0.375rem;
    padding: 0.8571429em 1.1428571em;
}

.prose pre code {
    background-color: transparent;
    border-width: 0;
    border-radius: 0;
    padding: 0;
    font-weight: inherit;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
}

.prose a {
    color: #0089D9;
    text-decoration: underline;
    font-weight: 500;
}

.prose a:hover {
    color: #006FB3;
}

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

.prose em {
    font-style: italic;
}

.prose img {
    margin-top: 2em;
    margin-bottom: 2em;
}

.prose table {
    width: 100%;
    table-layout: auto;
    text-align: left;
    margin-top: 2em;
    margin-bottom: 2em;
    font-size: 0.875em;
    line-height: 1.7142857;
}

.prose thead {
    border-bottom-width: 1px;
    border-bottom-color: #d1d5db;
}

.prose thead th {
    color: #111827;
    font-weight: 600;
    vertical-align: bottom;
    padding-right: 0.5714286em;
    padding-bottom: 0.5714286em;
    padding-left: 0.5714286em;
}

.prose tbody tr {
    border-bottom-width: 1px;
    border-bottom-color: #e5e7eb;
}

.prose tbody td {
    vertical-align: baseline;
    padding: 0.5714286em;
}

.prose-lg {
    font-size: 1.125rem;
    line-height: 1.7777778;
}

.prose-lg h1 {
    font-size: 2.6666667rem;
    margin-top: 0;
    margin-bottom: 1.5555556rem;
    line-height: 1;
}

.prose-lg h2 {
    font-size: 2rem;
    margin-top: 2.2222222rem;
    margin-bottom: 1.1111111rem;
    line-height: 1.1666667;
}

.prose-lg h3 {
    font-size: 1.6666667rem;
    margin-top: 1.7777778rem;
    margin-bottom: 0.8888889rem;
    line-height: 1.3333333;
}

.prose-lg h4 {
    font-size: 1.3333333rem;
    margin-top: 1.5555556rem;
    margin-bottom: 0.6666667rem;
    line-height: 1.5;
}

.prose-lg p {
    margin-top: 1.3333333rem;
    margin-bottom: 1.3333333rem;
}
