/*
Theme Name: Sacred Hearth Pathways
Theme URI: https://sacredhearthpathways.com/
Author: Sacred Hearth Pathways
Description: A nature-rooted, contemplative block theme for Sacred Hearth Pathways, a ministry of Sol et Terra Ecclesiastical Ministry Trust. Deep forest, sage, linen and antique gold, with arched windows and quiet star ornaments.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.6.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sacred-hearth-pathways
*/

/* ---------- Base ---------- */

:root {
	--sh-forest: var(--wp--preset--color--forest, #1E3329);
	--sh-grove: var(--wp--preset--color--grove, #26402F);
	--sh-gold: var(--wp--preset--color--gold, #D4B26A);
	--sh-bronze: var(--wp--preset--color--bronze, #7A5C22);
	--sh-linen: var(--wp--preset--color--linen, #F5F1E8);
	--sh-paper: var(--wp--preset--color--paper, #FBF9F4);
	--sh-sage: var(--wp--preset--color--sage, #C8D3BE);
	--sh-mist: var(--wp--preset--color--sage-mist, #E3E8DA);
	--sh-line: var(--wp--preset--color--line, #DDD5C4);
	--sh-fern: var(--wp--preset--color--fern, #4A6544);
	--sh-moss: var(--wp--preset--color--moss, #3F5A3C);
	--sh-bark: var(--wp--preset--color--bark, #33291F);
	--sh-bark-soft: var(--wp--preset--color--bark-soft, #4A4236);
	--sh-stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 640' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='%23D4B26A'%3E%3Ccircle cx='140' cy='90' r='1.6' opacity='.7'/%3E%3Ccircle cx='260' cy='210' r='1.2' opacity='.5'/%3E%3Ccircle cx='390' cy='70' r='2' opacity='.6'/%3E%3Ccircle cx='210' cy='420' r='1.4' opacity='.4'/%3E%3Ccircle cx='1080' cy='110' r='1.8' opacity='.7'/%3E%3Ccircle cx='1230' cy='240' r='1.2' opacity='.5'/%3E%3Ccircle cx='1320' cy='80' r='1.6' opacity='.6'/%3E%3Ccircle cx='1180' cy='470' r='1.4' opacity='.4'/%3E%3Ccircle cx='980' cy='560' r='1.2' opacity='.4'/%3E%3Ccircle cx='470' cy='560' r='1.2' opacity='.4'/%3E%3Ccircle cx='620' cy='40' r='1.1' opacity='.35'/%3E%3Ccircle cx='860' cy='60' r='1.3' opacity='.45'/%3E%3C/g%3E%3Cg fill='none' stroke='%237E9A78' stroke-width='1' opacity='.25'%3E%3Cpath d='M0 600 Q 360 520 720 600 T 1440 600'/%3E%3Cpath d='M0 630 Q 360 560 720 630 T 1440 630'/%3E%3C/g%3E%3C/svg%3E");
}

body {
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: var(--sh-gold);
	color: var(--sh-forest);
}

:where(.wp-site-blocks) :focus-visible {
	outline: 2px solid var(--sh-gold);
	outline-offset: 3px;
}

.wp-site-blocks > main,
.wp-site-blocks > footer,
main.wp-block-group > * {
	margin-block-start: 0;
}

/* ---------- Header ---------- */

.sh-header {
	background: var(--sh-linen);
	border-bottom: 1px solid var(--sh-line);
	padding: 14px var(--wp--style--root--padding-right, clamp(1rem, 4vw, 3rem)) 14px var(--wp--style--root--padding-left, clamp(1rem, 4vw, 3rem));
	gap: 12px 32px;
}

.sh-brand {
	gap: 14px;
}

.sh-brand .sh-logo,
.sh-brand .sh-logo img {
	width: 52px;
	height: 52px;
	margin: 0;
}

.sh-site-name {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.01em;
}

.sh-site-name a {
	color: var(--sh-forest);
	text-decoration: none;
}

.sh-nav-wrap {
	gap: 8px 20px;
}

.sh-header .wp-block-button__link {
	font-size: 0.875rem;
	padding: 0.7rem 1.25rem;
}

.sh-nav a {
	text-decoration: none;
	color: var(--sh-bark);
}

.sh-nav .wp-block-navigation-item__content {
	padding-block: 10px;
}

.sh-nav .wp-block-navigation-item__content:hover {
	color: var(--sh-fern);
}

.sh-nav .wp-block-navigation__submenu-container {
	background: var(--sh-paper) !important;
	border: 1px solid var(--sh-line) !important;
	border-radius: 10px;
	padding: 8px 0;
	min-width: 270px !important;
	box-shadow: 0 12px 32px rgba(30, 51, 41, 0.12);
}

.sh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 9px 18px;
	font-weight: 600;
}

.sh-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--sh-linen);
	padding: 32px clamp(1rem, 4vw, 3rem);
}

.sh-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	border: 0 !important;
	box-shadow: none;
	background: transparent !important;
	padding-left: 16px;
}

/* ---------- Buttons ---------- */

.wp-block-button.is-style-sh-gold .wp-block-button__link {
	background: var(--sh-gold);
	color: var(--sh-forest);
}

.wp-block-button.is-style-sh-gold .wp-block-button__link:hover {
	background: #E2C483;
	color: var(--sh-forest);
}

.wp-block-button.is-style-sh-ghost .wp-block-button__link {
	background: transparent;
	color: inherit;
	border: 1px solid currentColor;
}

.sh-on-dark .wp-block-button.is-style-sh-ghost .wp-block-button__link {
	color: var(--sh-linen);
	border-color: #7E9A78;
}

.sh-on-dark .wp-block-button.is-style-sh-ghost .wp-block-button__link:hover {
	background: #2A4537;
}

/* ---------- Shared type helpers ---------- */

.sh-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem !important;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--sh-bronze);
	margin-bottom: 0.25rem;
}

.sh-on-dark .sh-eyebrow {
	color: var(--sh-gold);
}

.sh-lead {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 1.5rem;
	line-height: 1.45;
	color: var(--sh-fern);
}

.sh-lead strong {
	display: block;
	font-style: normal;
	font-weight: 600;
	color: var(--sh-forest);
}

.sh-display {
	font-size: var(--wp--preset--font-size--xx-large) !important;
	text-align: center;
	margin-bottom: 0.5rem;
}

.sh-display + .sh-lead {
	text-align: center;
}

.sh-scripture {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.5;
	color: var(--sh-fern);
}

.sh-signature {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.375rem;
	font-style: italic;
	color: var(--sh-fern);
	margin-top: 2.5rem;
}

.sh-on-dark {
	color: var(--sh-sage);
}

.sh-on-dark :where(h1, h2, h3, h4) {
	color: var(--sh-linen);
}

.sh-on-dark a:where(:not(.wp-element-button)) {
	color: var(--sh-linen);
}

.sh-on-dark a:where(:not(.wp-element-button)):hover {
	color: var(--sh-gold);
}

.sh-center {
	text-align: center;
}

.sh-more {
	font-weight: 700;
	font-size: 0.9375rem;
	letter-spacing: 0.06em;
}

.sh-more a {
	text-decoration: none;
	display: inline-block;
	padding: 6px 0;
}

.sh-more a + a {
	margin-left: 1.75rem;
}

/* Star ornament: a quiet divider used above section headings and between sections */
.wp-block-separator.is-style-sh-ornament {
	border: 0 !important;
	height: 16px;
	width: 160px !important;
	max-width: 160px !important;
	margin: 3.5rem auto !important;
	opacity: 1;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='16' viewBox='0 0 160 16'%3E%3Cpath d='M0 8 H64 M96 8 H160' stroke='%23B89A5A' stroke-width='1'/%3E%3Cpath d='M80 1 L83 8 L80 15 L77 8 Z' fill='%23B89A5A'/%3E%3Ccircle cx='70' cy='8' r='1.5' fill='%23B89A5A'/%3E%3Ccircle cx='90' cy='8' r='1.5' fill='%23B89A5A'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sh-ornament-leaf {
	height: 16px;
	margin: 0 auto 0.5rem !important;
	width: 160px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='16' viewBox='0 0 160 16'%3E%3Cpath d='M0 8 H64 M96 8 H160' stroke='%234A6544' stroke-width='1'/%3E%3Cpath d='M80 1 C86 5 86 11 80 15 C74 11 74 5 80 1 Z' fill='none' stroke='%234A6544' stroke-width='1.2'/%3E%3Cpath d='M80 3 V13' stroke='%234A6544' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Sections (front page) ---------- */

.sh-section {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}

.sh-section-head {
	text-align: center;
	margin-bottom: var(--wp--preset--spacing--50) !important;
}

.sh-section-head > * {
	margin-left: auto !important;
	margin-right: auto !important;
}

.sh-section-head .sh-intro {
	max-width: 560px;
	color: var(--sh-bark-soft);
}

.sh-band-mist {
	background: var(--sh-mist);
}

.sh-band-forest {
	background: var(--sh-forest);
}

.sh-band-grove {
	background: var(--sh-grove);
}

/* Hero */
.sh-hero {
	background: var(--sh-forest) var(--sh-stars) center / cover no-repeat;
	padding-top: clamp(4rem, 9vw, 6.5rem);
	padding-bottom: clamp(4.5rem, 10vw, 7rem);
	text-align: center;
}

.sh-hero h1 {
	color: var(--sh-linen);
	font-size: var(--wp--preset--font-size--huge);
	margin-top: 0.5rem;
}

.sh-hero h1 em {
	display: block;
	color: var(--sh-sage);
}

.sh-hero .sh-hero-intro {
	font-size: 1.1875rem;
	line-height: 1.65;
	max-width: 600px;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Logo in a halo of gold rings */
.sh-halo {
	position: relative;
	width: 240px;
	height: 240px;
	margin: 0 auto 1rem !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(212, 178, 106, 0.5);
}

.sh-halo::before {
	content: "";
	position: absolute;
	inset: 14px;
	border-radius: 50%;
	border: 1px dashed rgba(212, 178, 106, 0.6);
}

.sh-halo::after {
	content: "";
	position: absolute;
	inset: 30px;
	border-radius: 50%;
	background: var(--sh-grove);
}

.sh-halo .wp-block-image {
	position: relative;
	z-index: 1;
	margin: 0;
}

.sh-halo img {
	width: 150px;
	height: 150px;
	object-fit: contain;
}

/* Arched cards (pastoral care) */
.wp-block-group.is-style-sh-arch {
	position: relative;
	background: var(--sh-paper);
	border: 1px solid var(--sh-line);
	border-radius: 160px 160px 10px 10px;
	padding: 56px 28px 32px;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	transition: border-color 0.2s ease;
}

.wp-block-group.is-style-sh-arch:hover,
.wp-block-group.is-style-sh-arch:focus-within {
	border-color: #B89A5A;
}

.sh-numeral {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 1.375rem;
	color: var(--sh-bronze);
	margin: 0;
}

.sh-card-title {
	font-size: 1.6875rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	margin: 0 !important;
}

.sh-card-title a {
	color: var(--sh-forest);
	text-decoration: none;
}

/* Whole card is clickable via the title link */
.is-style-sh-arch .sh-card-title a::after,
.sh-leaf .sh-card-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.sh-leaf {
	position: relative;
	background: var(--sh-paper);
	border: 1px solid var(--sh-line);
	border-top: 4px solid var(--sh-fern);
	border-radius: 10px;
	padding: 28px;
	min-height: 200px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: background 0.2s ease;
}

.sh-leaf:hover,
.sh-leaf:focus-within {
	border-color: #B89A5A;
	border-top-color: var(--sh-fern);
}

.sh-leaf .sh-numeral {
	color: var(--sh-fern);
	font-size: 1.25rem;
}

.sh-leaf .sh-card-title {
	font-size: 1.5rem !important;
}

/* About */
.sh-about-photo {
	padding: 10px;
	border: 1px solid #B89A5A;
	border-radius: 210px 210px 16px 16px;
	max-width: 380px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.sh-about-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
	border-radius: 200px 200px 10px 10px;
}

.sh-casey-quote {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 1.4375rem;
	line-height: 1.45;
	color: var(--sh-fern);
}

/* Interfaith */
.sh-emblem {
	width: 220px;
	height: 220px;
	margin: 0 auto 1rem !important;
	padding: 8px;
	border: 1px solid var(--sh-gold);
	border-radius: 50%;
}

.sh-emblem img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.sh-pillar {
	border: 1px solid var(--sh-fern);
	border-radius: 10px;
	padding: 32px 28px;
	text-align: center;
}

.sh-pillar::before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	margin: 0 auto 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0 L10 6 L16 8 L10 10 L8 16 L6 10 L0 8 L6 6 Z' fill='%23D4B26A'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sh-pillar h3 {
	font-size: 1.625rem;
	margin: 0 0 0.5rem;
}

.sh-pillar p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
}

/* Writing & conversations */
.sh-media-card {
	background: var(--sh-paper);
	border: 1px solid var(--sh-line);
	border-radius: 14px;
	padding: 28px;
}

.sh-media-card h3 {
	margin-top: 0;
}

/* ---------- Inner pages ---------- */

.sh-page-hero {
	background: var(--sh-forest) var(--sh-stars) center / cover no-repeat;
	padding-top: clamp(3.5rem, 8vw, 5.5rem);
	padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
	text-align: center;
}

.sh-page-hero .wp-block-post-title {
	color: var(--sh-linen);
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	max-width: 900px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.sh-page-hero .wp-block-post-date {
	color: var(--sh-sage);
	font-size: 0.875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.sh-page-hero::after {
	content: "";
	display: block;
	height: 16px;
	width: 160px;
	margin: 1.5rem auto 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='16' viewBox='0 0 160 16'%3E%3Cpath d='M0 8 H64 M96 8 H160' stroke='%23D4B26A' stroke-width='1' opacity='.7'/%3E%3Cpath d='M80 1 L83 8 L80 15 L77 8 Z' fill='%23D4B26A'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sh-content {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--60);
}

.sh-content > h2,
.sh-content > .wp-block-group > h2 {
	margin-top: 3rem;
}

.sh-content > h3 {
	margin-top: 2.25rem;
}

.sh-content > h2.sh-display:first-child {
	margin-top: 0;
}

.sh-content > p:first-child:not([class]) {
	font-size: 1.1875rem;
}

.sh-content .wp-block-buttons {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

/* Hearth card: steps, credentials, invitations */
.wp-block-group.is-style-sh-card {
	background: var(--sh-paper);
	border: 1px solid var(--sh-line);
	border-top: 4px solid var(--sh-gold);
	border-radius: 12px;
	padding: clamp(1.25rem, 3vw, 2rem);
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.wp-block-group.is-style-sh-card > :first-child {
	margin-top: 0;
}

.wp-block-group.is-style-sh-card > :last-child {
	margin-bottom: 0;
}

.wp-block-group.is-style-sh-card h3 {
	margin-top: 0.25rem;
}

.wp-block-group.is-style-sh-card .sh-eyebrow {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	text-transform: none;
	letter-spacing: 0;
	font-size: 1.375rem !important;
	font-weight: 500;
	margin-bottom: 0;
}

.sh-grid {
	margin-top: 1.5rem;
}

.sh-grid > .wp-block-group.is-style-sh-card {
	margin: 0;
}

/* Portrait on the welcome letter */
.wp-block-image.is-style-sh-portrait {
	width: min(300px, 42%);
	margin: 0.5rem 0 1.5rem 2rem !important;
	padding: 8px;
	border: 1px solid #B89A5A;
	border-radius: 160px 160px 12px 12px;
}

.wp-block-image.is-style-sh-portrait img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
	border-radius: 152px 152px 8px 8px;
}

@media (max-width: 600px) {
	.wp-block-image.is-style-sh-portrait {
		float: none !important;
		width: min(280px, 100%);
		margin: 0 auto 2rem !important;
	}
}

.wp-block-image.is-style-sh-soft img {
	border-radius: 14px;
}

/* Quotes */
.wp-block-quote {
	text-align: center;
	padding: 1.5rem 0;
	margin: 2.5rem auto;
	max-width: 640px;
}

.wp-block-quote cite {
	display: block;
	margin-top: 0.75rem;
	font-family: var(--wp--preset--font-family--body);
	font-style: normal;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--sh-bronze);
}

/* FAQ */
.wp-block-details.sh-faq {
	border-bottom: 1px solid var(--sh-line);
	padding: 1.25rem 0;
	margin: 0;
}

.wp-block-details.sh-faq summary {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--sh-forest);
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 2.5rem;
}

.wp-block-details.sh-faq summary::-webkit-details-marker {
	display: none;
}

.wp-block-details.sh-faq summary::after {
	content: "+";
	position: absolute;
	right: 0.5rem;
	top: 0;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 400;
	color: var(--sh-bronze);
}

.wp-block-details.sh-faq[open] summary::after {
	content: "\2212";
}

.wp-block-details.sh-faq p {
	margin-top: 0.75rem;
}

/* Embedded forms, newsletter and podcast */
.sh-embed iframe {
	display: block;
	width: 100%;
	background: #fff;
}

.sh-embed--form iframe {
	min-height: 640px;
}

/* Closing invitation band on inner pages */
.sh-cta {
	background: var(--sh-mist);
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
	text-align: center;
}

.sh-cta p:not(.sh-eyebrow) {
	max-width: 560px;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Writings index */
.sh-writing-list {
	list-style: none;
	padding: 0;
}

.sh-writing-list li {
	border-bottom: 1px solid var(--sh-line);
	padding: 1.25rem 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
}

.sh-writing-list li a {
	text-decoration: none;
	color: var(--sh-forest);
}

.sh-writing-list li a:hover {
	color: var(--sh-fern);
}

/* ---------- Footer ---------- */

.sh-footer {
	background: var(--sh-forest);
	color: #E8E1D0;
	padding-top: clamp(3.5rem, 7vw, 4.5rem);
	padding-bottom: 3rem;
}

.sh-footer a {
	color: #E8E1D0;
	text-decoration: none;
}

.sh-footer a:hover {
	color: var(--sh-gold);
}

.sh-footer .sh-footer-name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.625rem;
	color: var(--sh-linen);
	margin: 0.75rem 0 0.25rem;
}

.sh-footer .sh-footer-tag {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 1.1875rem;
	color: var(--sh-sage);
	margin: 0;
}

.sh-footer .sh-footer-logo img {
	width: 60px;
	height: 60px;
}

.sh-footer h2 {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--sh-gold);
	margin: 0 0 0.75rem;
}

.sh-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.sh-footer li {
	padding: 7px 0;
}

.sh-footer ul + h2 {
	margin-top: 2rem;
}

.sh-footer .wp-block-separator.sh-footer-rule {
	border: 0;
	border-top: 1px solid #3A5646;
	margin: 2.5rem auto 1.5rem !important;
	width: 100% !important;
	max-width: var(--wp--style--global--wide-size, 1160px) !important;
	opacity: 1;
}

.sh-footer .sh-trust {
	font-size: 0.875rem;
	line-height: 1.65;
	color: #B9C6AE;
	max-width: 540px;
	margin: 0;
}

.sh-footer .sh-legal {
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0;
}

.sh-footer .sh-disclaimer {
	max-width: var(--wp--style--global--wide-size, 1160px);
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 16px 20px;
	border: 1px solid #3A5646;
	border-radius: 10px;
	font-size: 0.75rem;
	line-height: 1.6;
	color: var(--sh-sage);
}

.sh-footer .sh-disclaimer p {
	margin: 0;
}

.sh-footer .sh-disclaimer .sh-disclaimer-label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--sh-gold);
	margin-bottom: 0.5rem;
}

/* Comparison table: spiritual direction/companionship vs pastoral counseling */
.wp-block-table.sh-compare {
	margin: 2rem 0;
	overflow-x: auto;
	border: 1px solid var(--sh-line);
	border-radius: 12px;
	background: var(--sh-paper);
}

.wp-block-table.sh-compare table {
	min-width: 640px;
	border-collapse: collapse;
	font-size: 1rem;
	line-height: 1.6;
}

.wp-block-table.sh-compare th,
.wp-block-table.sh-compare td {
	border: 0;
	border-bottom: 1px solid var(--sh-line);
	padding: 18px 22px;
	text-align: left;
	vertical-align: top;
}

.wp-block-table.sh-compare thead {
	border: 0;
	background: var(--sh-forest);
}

.wp-block-table.sh-compare thead th {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.375rem;
	font-weight: 600;
	color: var(--sh-linen);
}

.wp-block-table.sh-compare thead th:first-child {
	width: 20%;
}

.wp-block-table.sh-compare tbody tr:last-child td {
	border-bottom: 0;
}

.wp-block-table.sh-compare td:first-child strong {
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sh-bronze);
}

/* A full-width band inside page content */
.sh-content > .sh-section.alignfull {
	margin-top: var(--wp--preset--spacing--60);
	margin-bottom: var(--wp--preset--spacing--40);
}

/* Affirming symbols in the footer: small and quiet */
.sh-footer .sh-affirm {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	line-height: 1.4;
	color: #9FB096;
	margin: 0;
}

.sh-footer .sh-affirm-icon {
	display: block;
	flex: none;
	border-radius: 2px;
}

/* Stories from the Hearth */
.wp-block-group.sh-featured-story {
	background: var(--sh-paper);
	border: 1px solid #B89A5A;
	border-radius: 240px 240px 16px 16px;
	padding: clamp(3rem, 7vw, 4.5rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
	text-align: center;
}

.sh-featured-story .sh-story-pull {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
	margin-top: 0.5rem;
}

.sh-story-pull {
	font-style: italic;
	font-weight: 500 !important;
	line-height: 1.25;
}

.wp-block-quote.sh-story-quote {
	border: 0;
	padding: 0;
	margin: 1rem 0 0;
	font-family: var(--wp--preset--font-family--body);
	font-style: normal;
	font-size: 1rem;
	line-height: 1.75;
	text-align: left;
	color: var(--sh-bark-soft);
}

.sh-featured-story .wp-block-quote.sh-story-quote {
	font-size: 1.125rem;
}

/* Supported Meditation */
.sh-content > .sh-well {
	margin-top: 3.5rem;
	margin-bottom: -2rem;
	text-align: left;
}

.sh-in-session {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--sh-moss);
}

.sh-on-dark .is-style-sh-card {
	color: var(--sh-bark-soft);
	text-align: left;
}

.sh-on-dark .is-style-sh-card :where(h3, h4) {
	color: var(--sh-forest);
}

.sh-on-dark .is-style-sh-card .sh-eyebrow {
	color: var(--sh-bronze);
}

/* Supported Meditation and Contemplative Practice */
.sh-way-roots {
	font-size: 0.9375rem;
	line-height: 1.6;
	padding-top: 0.75rem;
	border-top: 1px solid var(--sh-line);
}

.sh-way-roots + .sh-way-roots {
	border-top: 0;
	padding-top: 0;
}

.sh-way-roots strong {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sh-bronze);
}

.wp-block-group.sh-examen {
	text-align: left;
}

.wp-block-group.sh-examen > .sh-eyebrow,
.wp-block-group.sh-examen > h3 {
	text-align: center;
}

.sh-examen ol {
	padding-left: 1.25rem;
}

.sh-examen li {
	margin-bottom: 0.75rem;
}

/* Unified page layout: two-column card grids, an odd last card spans both columns */
.sh-grid > .wp-block-group.is-style-sh-card:last-child:nth-child(odd):not(:first-child) {
	grid-column: 1 / -1;
}

.sh-grid .wp-block-group.is-style-sh-card h3 {
	font-size: 1.375rem;
}

.sh-content > .sh-eyebrow.sh-center:first-child {
	margin-bottom: 0.25rem;
}

.sh-content > .sh-lead.sh-center {
	max-width: 640px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.sh-content > .sh-scripture.sh-center {
	max-width: 640px;
	margin: 2rem auto !important;
}

/* Shared visual sections used across pages */
.wp-block-group.sh-arch-panel {
	background: var(--sh-paper);
	border: 1px solid #B89A5A;
	border-radius: 200px 200px 16px 16px;
	padding: clamp(3rem, 6vw, 4.25rem) clamp(1.5rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 2.75rem);
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
}

.wp-block-group.sh-arch-panel > h3,
.wp-block-group.sh-arch-panel > .sh-eyebrow,
.wp-block-group.sh-arch-panel > .sh-scripture {
	text-align: center;
}

.wp-block-group.sh-arch-panel > :first-child {
	margin-top: 0;
}

.wp-block-group.sh-arch-panel > :last-child {
	margin-bottom: 0;
}

.sh-band-mist {
	color: var(--sh-bark-soft);
}

.sh-band-mist .wp-block-buttons {
	justify-content: center;
}

.sh-on-dark .sh-lead {
	color: var(--sh-gold);
}

.sh-band-emblem img {
	width: 160px;
	height: 160px;
	object-fit: cover;
	border-radius: 50%;
	padding: 6px;
	border: 1px solid var(--sh-gold);
	display: block;
	margin: 0 auto;
}

.sh-quote-card .wp-block-quote {
	margin: 0;
	padding: 1.75rem 1.5rem;
	border: 1px solid #4A6544;
	border-radius: 12px;
	height: 100%;
	box-sizing: border-box;
	color: var(--sh-linen);
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 1.1875rem;
	line-height: 1.5;
}

.sh-quote-card .wp-block-quote cite {
	display: block;
	margin-top: 0.75rem;
	font-family: var(--wp--preset--font-family--body);
	font-style: normal;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--sh-gold);
}

.sh-grid-3 > .wp-block-group:last-child:nth-child(3n + 1):not(:first-child) {
	grid-column: 1 / -1;
}

.wp-block-group.sh-stage {
	margin-top: 1.75rem;
}

/* ---------- Small screens ---------- */

/* The hero repeats the chaplaincy button, so the header copy steps aside when space is tight */
@media (max-width: 1319px) {
	.sh-header .wp-block-buttons {
		display: none;
	}
}

/* Tablet: logo row above a centered menu row */
@media (min-width: 600px) and (max-width: 1100px) {
	.sh-header {
		justify-content: center;
	}

	.sh-nav-wrap {
		width: 100%;
		justify-content: center !important;
	}

	.sh-nav .wp-block-navigation__container {
		justify-content: center;
	}
}

@media (max-width: 781px) {
	.sh-site-name {
		font-size: 1.375rem;
	}

	.sh-halo {
		width: 200px;
		height: 200px;
	}

	.sh-halo img {
		width: 120px;
		height: 120px;
	}
}
