/* Base */
.prose {
    max-width: 100%;
    line-height: 1.75;
    font-size: 1rem;
    color: #1f2937; /* gray-800 */
}

/* Paragraph */
.prose p {
    margin: 0.5rem 0;
}

/* Headings */
.prose h1 {
    margin: 2.5rem 0 1.25rem;
    font-size: 2.25rem;
    font-weight: 800;
}

.prose h2 {
    margin: 2.25rem 0 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.prose h3 {
    margin: 2rem 0 0.75rem;
    font-size: 1.375rem;
    font-weight: 600;
}

.prose h4 {
    margin: 1.75rem 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Lists */
.prose ul,
.prose ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.prose li {
    margin: 0.5rem 0;
}

/* Blockquote */
.prose blockquote {
    margin: 2rem 0;
    padding-left: 1rem;
    border-left: 4px solid #e5e7eb; /* gray-200 */
    color: #4b5563; /* gray-600 */
    font-style: italic;
}

/* Code inline */
.prose code {
    background-color: #1f2937; /* gray-800 */
    color: #ffffff;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    font-size: 0.875em;
}

/* Code block */
.prose pre {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #111827; /* gray-900 */
    color: #e5e7eb;
    border-radius: 8px;
    overflow-x: auto;
}

.prose pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 0.875rem;
}

/* Links */
.prose a {
    color: #2563eb; /* blue-600 */
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose a:hover {
    color: #1d4ed8; /* blue-700 */
}

/* Images */
.prose img {
    margin: 2.5rem auto;
    max-width: 100%;
    border-radius: 0.75rem;
}

/* Tables */
.prose table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
}

.prose th,
.prose td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.prose th {
    background-color: #f9fafb;
    font-weight: 600;
}

/* Horizontal rule */
.prose hr {
    margin: 3rem 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

/* Small text */
.prose small {
    color: #6b7280;
}


.share-buttons-wrapper ul li a {
    position: relative;
}

.share-buttons-wrapper ul li a::after {
    content: attr(aria-label);
    position: absolute;
    bottom: -1.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #6b7280;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.share-buttons-wrapper ul li a:hover::after {
    opacity: 1;
}
