.prose h2 {
    color: hsl(var(--foreground));
    font-size:1.875rem;
    font-weight: 700;
    line-height:2.25rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.prose h3 {
    color: hsl(var(--foreground));
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prose h4 {
    color: hsl(var(--foreground));
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.prose p {
    color: hsl(var(--muted-foreground));
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

.prose a {
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.prose a:hover {
    color: hsl(var(--accent));
    text-decoration-style: solid;
}

.prose ul {
    color: hsl(var(--muted-foreground));
    list-style-type: disc;
    list-style-position: inside;
    margin-bottom: 2rem;
}

.prose ol {
    color: hsl(var(--muted-foreground));
    list-style-type: decimal;
    list-style-position: inside;
    margin-bottom: 2rem;
}

.prose > ul > li, .prose > ol > li {
    --tw-space-y-reverse: 0;
    margin-top: calc(.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(.5rem * var(--tw-space-y-reverse));
}

.prose > ul ol, .prose > ul ul, .prose > ol ol, .prose > ol ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.prose > div ul, .prose > div ol {
    margin-bottom: 0;
}

.prose table {
    border-color: hsl(var(--border));
    border-width: 1px;
    border-radius: var(--radius);
    border-collapse: collapse;
    width: 100%;
}

.prose table thead tr, .prose table tbody tr:hover {
    background-color: hsl(var(--muted) / 0.5);
}

.prose table thead th {
    border-color: hsl(var(--border));
    border-width: 1px;
    color: hsl(var(--foreground));
    font-weight: 600;
    text-align: left;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.prose table tbody td {
    border-color: hsl(var(--border));
    border-width: 1px;
    color: hsl(var(--muted-foreground));
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.prose > p:last-of-type {
    margin-bottom: 2rem;
}

.prose > div:last-of-type a, .prose > div:last-of-type a:hover {
    color: hsl(var(--primary-foreground));
    text-decoration: none;
}


@media (max-width: 768px) {
    
    li {
        margin-top: 1rem;
    }
    
    code {
        font-size: 80%;
    }
    
    pre {
        white-space: pre-wrap;
    }
    
    .mobile-small {
        font-size: 80%;
    }
}