/*
Theme Name: Pritchard Criteria - Editable
Theme URI: https://pritchardcriteria.uk
Author: Forensic Psychiatry Experts
Description: Keeps the Pritchard Criteria design but makes all wording, practice details, search titles and small styling changes editable inside WordPress, so changes do not need a theme upload. See functions.php for where each thing lives. Requires the Pritchard Criteria theme to be installed (it is the parent). To go back to the previous version, activate Pritchard Criteria under Appearance > Themes.
Template: pritchard-criteria
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pritchard-criteria
*/

/* The design lives in the parent theme's style.css, which is loaded first.
   Only small adjustments for editor-made content are added here. */

/* Editor paragraphs given the class "note" sit like the old note box. */
.prose p.note { margin-block: 1.6em; }

/* The FAQ answers come from the editor, so keep their spacing tidy. */
.faq__body > :last-child { margin-bottom: 0; }

/* A gap between the coloured heading box at the top of every page and the
   first section below it. (The section is set with no top padding in the
   page templates, so this needs !important to override it.) */
.hero + .band { padding-top: clamp(2rem, 4.5vw, 3rem) !important; }
.hero + .band .faq { margin-top: 0; }

/* Space between paragraphs in the introduction above the five limbs. */
.limbs__head p + p { margin-top: 0.85em; }

/* Panels whose wording comes from synced patterns: a paragraph with the
   class "lead" is the larger introductory text. */
.band--ink p.lead { font-size: var(--fs-md); }
