/* ============================================
   Help Me Post Blog — theme-specific styles
   Layered on top of tailwind.min.css + style.css from the main site.
   ============================================ */

/* Article body typography (works with Gutenberg block output) */
.hmp-content {
    font-size: 1.05rem;
    line-height: 1.75;
}
.hmp-content > * + * { margin-top: 1.1em; }
.hmp-content h2 {
    font-family: "Roboto Slab", Roboto, serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2.2em 0 0.6em;
    line-height: 1.25;
}
.hmp-content h3 {
    font-family: "Roboto Slab", Roboto, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.8em 0 0.5em;
    line-height: 1.3;
}
.hmp-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.6em 0 0.4em;
}
.hmp-content p,
.hmp-content li { color: #334155; }
.hmp-content a {
    color: #2673B9;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .15s;
}
.hmp-content a:hover { color: #184876; }
.hmp-content strong { color: #0f172a; font-weight: 700; }
.hmp-content em { color: #334155; }
.hmp-content ul, .hmp-content ol {
    margin: 1em 0 1em 1.5em;
    padding-left: 0.5em;
}
.hmp-content ul { list-style: disc; }
.hmp-content ol { list-style: decimal; }
.hmp-content li { margin: 0.4em 0; }
.hmp-content blockquote {
    border-left: 4px solid #2673B9;
    background: #eaf3fc;
    padding: 1.1em 1.4em;
    margin: 1.4em 0;
    font-style: italic;
    color: #1e293b;
    border-radius: 0 0.75rem 0.75rem 0;
}
.hmp-content code {
    background: #f1f5f9;
    color: #1e293b;
    padding: 0.15em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.92em;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.hmp-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.2em 1.4em;
    border-radius: 0.75rem;
    overflow-x: auto;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 1.4em 0;
}
.hmp-content pre code { background: transparent; color: inherit; padding: 0; }
.hmp-content img,
.hmp-content .wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.2em 0;
    display: block;
}
.hmp-content .wp-block-image figcaption {
    text-align: center;
    color: #64748b;
    font-size: 0.9em;
    margin-top: 0.4em;
}
.hmp-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    font-size: 0.95em;
}
.hmp-content th,
.hmp-content td {
    border: 1px solid #e2e8f0;
    padding: 0.7em 1em;
    text-align: left;
}
.hmp-content th { background: #f8fafc; font-weight: 600; color: #1e293b; }
.hmp-content hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #cbd5e1, transparent);
    margin: 2em 0;
}

/* Pagination styles (WP output) */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.75rem;
    border-radius: 0.6rem;
    background: white;
    color: #334155;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    transition: all .2s;
    margin: 0 0.15rem;
}
.page-numbers:hover {
    border-color: #2673B9;
    color: #2673B9;
    background: #eaf3fc;
}
.page-numbers.current {
    background: #2673B9;
    color: white;
    border-color: #2673B9;
}
.page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: #94a3b8;
}
