/* =====================================================================
   Page-template hero (Blockstrap "hero-page-default" pattern) restyle:
   - solid brand primary colour instead of the blue→purple gradient
   - no shape divider
   - shorter (trim the large top/bottom spacing)
   Scoped to "the container-fluid that contains the bottom shape divider"
   (:has) so no other section/hero on the site is affected.
   ===================================================================== */
.wp-block-blockstrap-blockstrap-widget-container.container-fluid.position-relative:has(.blockstrap-shape) {
	background-image: none !important;
	background-color: #5b39f2 !important;
	margin-bottom: 0 !important;
	/* Top clears the fixed-top navbar (the original mt-5/pt-5 did this); bottom is
	   trimmed so the hero is short. */
	padding-top: 5.5rem !important;
	padding-bottom: 2rem !important;
}

/* remove the shape divider */
.wp-block-blockstrap-blockstrap-widget-container.container-fluid.position-relative:has(.blockstrap-shape) .blockstrap-shape {
	display: none !important;
}

/* the hero padding above now controls the height — zero out the inner container's
   and column's large spacing so the title isn't pushed down or under the navbar. */
.wp-block-blockstrap-blockstrap-widget-container.container-fluid.position-relative:has(.blockstrap-shape) > .container {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.wp-block-blockstrap-blockstrap-widget-container.container-fluid.position-relative:has(.blockstrap-shape) .row > .col {
	/* a touch of breathing room above the title */
	margin-top: 1rem !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* page subtitle (per-page `subtitle` meta) under the hero title */
.wp-block-blockstrap-blockstrap-widget-container.container-fluid.position-relative:has(.blockstrap-shape) .wpr-v2-page-subtitle {
	margin-top: .35rem !important;
	margin-bottom: 0 !important;
	font-size: 1.05rem;
	font-weight: 400;
	opacity: .92;
}
