/* Generic templates: page.php, single.php, index.php, 404.php. Register after pages.css (see report). */

/* compact text-only hero for plain pages and the 404 */
body .pg-hero.pg-hero--text { min-height: 56vh; min-height: 56svh; padding-bottom: 4rem; }
body.error404 .pg-hero.pg-hero--text { min-height: 78vh; min-height: 78svh; }
body .pg-hero.pg-hero--text .pg-word { font-size: clamp(2.4rem, 6.6vw, 5.6rem); }

/* copy */
.pg-generic { min-height: 40vh; }
.pg-prose p { margin: 0 0 1.2rem; }
.pg-prose ul, .pg-prose ol { margin: 0 0 1.4rem; padding-left: 1.3rem; }
.pg-prose li { margin-bottom: 0.4rem; }
.pg-prose blockquote { margin: 2rem 0; padding-left: 1.4rem; border-left: 3px solid var(--m); font-family: var(--serif); font-size: 1.5rem; font-style: italic; line-height: 1.35; color: var(--ink); }
.pg-prose__cta { margin-top: 2.2rem; }
.pg-prose__cta .hx-btn { text-decoration: none; color: #fff; }

/* blog cards */
.pg-card h3 a { color: inherit; text-decoration: none; }
.pg-card h3 a:hover { color: var(--p); }
.pg-card .hx-link { margin-top: auto; }

/* pagination (the_posts_pagination) */
.pg-pagination { margin-top: 3rem; }
.pg-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.pg-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.8rem; height: 2.8rem; padding: 0 0.9rem; border: 1px solid var(--lav); border-radius: 999px; background: #fff; font-size: 0.8rem; font-weight: 700; color: var(--ink); text-decoration: none; transition: background 0.3s, color 0.3s; }
.pg-pagination a.page-numbers:hover { background: rgba(116, 21, 143, 0.1); }
.pg-pagination .page-numbers.current { border-color: transparent; background: linear-gradient(110deg, var(--m), var(--p) 70%); color: #fff; }
