/* Prose typography — applied via .prose wrapper in single/guide templates */

.prose {
    color: #374151;
    line-height: 1.75;
    font-size: 1rem;
    max-width: none;
}

.prose > * + * { margin-top: 1.25em; }

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: #111827;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.6em;
}

.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { font-size: 1.05rem; }

.prose p { margin-bottom: 1.25em; }

.prose a { color: #ea580c; text-decoration: none; }
.prose a:hover { text-decoration: underline; }

.prose strong { font-weight: 700; color: #111827; }
.prose em { font-style: italic; }

.prose ul {
    list-style-type: disc;
    padding-left: 1.75em;
    margin-bottom: 1.25em;
}
.prose ol {
    list-style-type: decimal;
    padding-left: 1.75em;
    margin-bottom: 1.25em;
}
.prose li { margin-bottom: 0.4em; }
.prose li > ul,
.prose li > ol { margin-top: 0.4em; margin-bottom: 0; }

.prose blockquote {
    border-left: 4px solid #fb923c;
    background-color: #fff7ed;
    padding: 0.5em 1em;
    border-radius: 0 0.5rem 0.5rem 0;
    color: #374151;
    font-style: normal;
    margin: 1.5em 0;
}

.prose code {
    background: #f3f4f6;
    color: #b45309;
    padding: 0.15em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-weight: 400;
}

.prose pre {
    background: #1f2937;
    color: #f3f4f6;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-size: 0.875em;
    line-height: 1.6;
    margin: 1.5em 0;
}
.prose pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

.prose hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2em 0;
}

.prose img {
    border-radius: 0.75rem;
    max-width: 100%;
    height: auto;
    margin: 1.5em auto;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    margin: 1.5em 0;
}
.prose th {
    background: #f9fafb;
    font-weight: 600;
    text-align: left;
    padding: 0.6em 0.9em;
    border-bottom: 2px solid #e5e7eb;
    color: #111827;
}
.prose td {
    padding: 0.6em 0.9em;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
}
.prose tr:last-child td { border-bottom: none; }
.prose tr:hover td { background: #fafafa; }

/* Pagination */
.nav-links { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.15s;
}
.nav-links .page-numbers:hover {
    border-color: #ea580c;
    color: #ea580c;
    background: #fff7ed;
}
.nav-links .page-numbers.current {
    background: #ea580c;
    color: white;
    border-color: #ea580c;
}
.nav-links .page-numbers.dots {
    border: none;
    background: none;
}
