/*
Theme Name: PrismGist Blocksy Child
Theme URI: https://prismgist.com/
Description: Update-safe visual refinements for PrismGist on top of Blocksy.
Author: PrismGist Editorial Team
Author URI: https://prismgist.com/about/
Template: blocksy
Version: 1.1.0
Text Domain: prismgist-blocksy-child
*/

/*
 * Reading surfaces should use a neutral white canvas and near-black text.
 * Scope this to WordPress Posts and Pages so the header, footer and archives
 * keep their existing Blocksy styling. Links and purpose-specific component
 * colors are intentionally left unchanged.
 */
body.single-post,
body.page {
	--theme-text-color: #111111;
	--theme-headings-color: #000000;
	background-color: #ffffff;
}

body.single-post #main,
body.page #main,
body.single-post #main > .ct-container-full,
body.page #main > .ct-container-full,
body.single-post article,
body.page article,
body.single-post .entry-content,
body.page .entry-content {
	background-color: #ffffff;
}

.pg-resource-delivery {
	margin: 1.75rem 0 2.5rem;
	padding: clamp(1rem, 4vw, 2rem);
	border: 1px solid #cad5df;
	border-radius: 12px;
	background: #f7fafc;
	color: #111;
}
.pg-resource-delivery h2 { margin-top: 0; }
.pg-resource-action { margin: 1.25rem 0; }
.pg-resource-button {
	display: inline-block;
	max-width: 100%;
	padding: .85rem 1.2rem;
	border-radius: 7px;
	background: #095c43;
	color: #fff !important;
	font-weight: 700;
	text-align: center;
	text-decoration: none !important;
}
.pg-resource-button:hover, .pg-resource-button:focus-visible { background: #06432f; }
.pg-resource-action p { margin: .6rem 0 0; font-size: .9rem; }
.pg-resource-facts { display: grid; grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr); gap: .45rem 1rem; margin: 1.5rem 0; }
.pg-resource-facts dt { font-weight: 700; }
.pg-resource-facts dd { margin: 0; overflow-wrap: anywhere; }
.pg-resource-ad { margin: 4rem 0 2rem; padding: 1rem; border-top: 1px solid #cad5df; }
.pg-resource-ad > p:first-child { font-size: .8rem; color: #555; }
@media (max-width: 520px) {
	.pg-resource-button { display: block; width: 100%; }
	.pg-resource-facts { grid-template-columns: 1fr; gap: .15rem; }
	.pg-resource-facts dd { margin-bottom: .75rem; }
}

