/*
Theme Name: Public Record Archive
Theme URI: https://example.com/
Author: Public Record Archive
Author URI: https://example.com/
Description: 中文版 — preserves English design and features; editorial copy sourced exclusively from the approved Chinese DOCX.
Version: 1.6.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: public-record-archive
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

/* The front-end design system lives in assets/css/main.css. */

/* Version 1.2.6: editorial pages render all page-specific copy from the WordPress editor. */
.pra-page-editor-content { min-height: 50vh; padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3rem, 7vw, 6rem); }
.pra-page-editor-content__header { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.pra-page-editor-content .entry-content > :first-child { margin-top: 0; }
.pra-page-editor-content .entry-content > :last-child { margin-bottom: 0; }
.pra-page-editor-content .entry-content h2 { margin-top: 2.5em; }
.pra-page-editor-content .entry-content h3 { margin-top: 1.8em; }
.pra-page-editor-content details { border-top: 1px solid rgba(20, 30, 40, .18); padding: 1rem 0; }
.pra-page-editor-content details:last-of-type { border-bottom: 1px solid rgba(20, 30, 40, .18); }
.pra-page-editor-content summary { cursor: pointer; font-weight: 600; list-style-position: outside; }
.pra-page-editor-content details > p { margin: 1rem 0 0; }
.pra-page-editor-content .pra-content-cta { margin: 1.25rem 0 2.5rem; }
.pra-money-pullquotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); margin: clamp(2rem, 5vw, 4rem) 0; }
.pra-money-pullquote { margin: 0; padding: 1.5rem 0; border-top: 2px solid currentColor; border-bottom: 1px solid rgba(20, 30, 40, .22); }
.pra-money-pullquote__value { margin: 0 0 .35rem !important; font-family: var(--pra-heading-font, Georgia, serif); font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.04em; }
.pra-money-pullquote__label { font-weight: 600; margin: .5rem 0 !important; }
@media (max-width: 680px) { .pra-money-pullquotes { grid-template-columns: minmax(0, 1fr); } }

/* Editorial content follows the theme's existing reading-width and typography system. */
.pra-editorial-page .pra-page-editor-content .entry-content > :first-child { margin-top: 0; }
.pra-editorial-page .pra-page-editor-content .entry-content > :last-child { margin-bottom: 0; }
.pra-editorial-page .pra-page-editor-content .entry-content > .pra-page-intro:first-child { display: none; }
