/* ==========================================================================
   Page tweaks — top banners and readability fixes
   ========================================================================== */

/* ---------- Page banners ----------
   Lean on Me, Domestic Violence, Online Bible App and Global each force their
   banner to 100vw on desktop. This caps them to the same column as the home
   hero so the pages share one width rhythm. */

@media (min-width: 901px) {
	.entry-content figure.lean-banner,
	.entry-content figure:has(> img[src*="23_1fde7b79-7215-493e-8196-815210b41a0a-high"]),
	.entry-content figure:has(> img[src*="20_e6eda955-d475-4ad8-b68a-6f7c75c162a6-high"]),
	body.page-id-94 .entry-content figure:has(> img[src*="IMG_20260828_112439"]) {
		width: min(900px, 100vw) !important;
		max-width: min(900px, 100vw) !important;
		margin-left: calc(50% - min(450px, 50vw)) !important;
		margin-right: calc(50% - min(450px, 50vw)) !important;
	}

	.entry-content figure.lean-banner img,
	.entry-content figure:has(> img[src*="23_1fde7b79-7215-493e-8196-815210b41a0a-high"]) img,
	.entry-content figure:has(> img[src*="20_e6eda955-d475-4ad8-b68a-6f7c75c162a6-high"]) img,
	body.page-id-94 .entry-content figure:has(> img[src*="IMG_20260828_112439"]) img {
		width: 100% !important;
		height: auto !important;
		display: block;
	}
}

/* ---------- Our Story: copyright / educational disclaimer ----------
   The original panel was translucent and inherited the site-wide uppercase
   Cinzel body style, which left light text on a pale purple wash. Make it a
   solid panel with body-case Merriweather so the notice is actually legible. */

body.page-id-58 .sotk-story-disclaimer {
	background: linear-gradient(150deg, #33194f 0%, #241238 100%);
	border-left-color: #e3b341;
	box-shadow: 0 18px 40px -24px rgba(20, 4, 38, 0.55);
}

body.page-id-58 .sotk-story-disclaimer p {
	margin-bottom: 0.85rem;
	font-family: 'Merriweather', Georgia, serif;
	font-size: 0.98rem;
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	color: #f0e8fb;
}

body.page-id-58 .sotk-story-disclaimer h3 {
	font-family: 'Cinzel', Georgia, serif;
	font-size: 1.1rem;
	letter-spacing: 0.04em;
	text-transform: none;
	color: #ffd76a;
}

body.page-id-58 .sotk-story-disclaimer a {
	color: #ffd98a;
	text-decoration: underline;
}

/* ---------- /global/: lines above the top banner ----------
   The heading is followed by the theme's h2 underline and then a second
   .sotk-rule divider, which together stacked two gold lines directly on top
   of the banner image. Keep the rule above the heading, drop the rest. */

body.page-id-94 .sotk-fancy .sotk-rule:last-of-type {
	display: none;
}

body.page-id-94 .sotk-fancy h2.sotk-script::after {
	display: none;
}

/* The heading sits inside a <blockquote>, whose theme style draws a 4px gold
   bar down the left edge — it reads as a stray vertical stroke above the
   banner. Remove the quote styling for this heading only. */
body.page-id-94 .entry-content blockquote {
	max-width: none;
	margin: 0 0 0.75rem;
	padding: 0;
	border-left: 0;
	font-style: normal;
}

/* ---------- Leadership page: uniform intro text ----------
   The three intro lines were mixed: italic quote, letterspaced gold citation,
   and a body paragraph, all in the decorative Cinzel face. Set them to one
   font, one size and one colour with no italic or script styling. */

body.page-id-65 .entry-content .sotk-leader-intro p {
	margin: 0 0 0.6rem;
	font-family: 'Merriweather', Georgia, serif !important;
	font-size: 1.02rem !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 1.7;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #b8860b !important;
}

body.page-id-65 .entry-content .sotk-leader-intro p:last-child {
	margin-bottom: 0;
}

/* ---------- Leadership cards: bio copy in gold ----------
   The bios were a muted purple (#6b5a86). Match them to the gold used for
   the rest of the page. */

body.page-id-65 .entry-content .sotk-leader-card .sotk-leader-bio {
	color: #b8860b !important;
}

/* ---------- Leadership cards: one gold for every title line ----------
   The "✦ Leadership Team ✦" line on Apostle Baxter's card carried the extra
   .sotk-leader-role class, which painted it a darker gold (#8a6a12) than the
   same line on the other cards. Use the standard gold for both. */

body.page-id-65 .entry-content .sotk-leader-card .sotk-leader-title,
body.page-id-65 .entry-content .sotk-leader-card .sotk-leader-role {
	color: #b8860b !important;
}

/* ---------- Copyright disclaimers: smaller type ----------
   Our Story and Domestic Violence both carry the "Copyright & Educational
   Resource Disclaimer". Reduce the heading and body copy. */

body.page-id-58 .sotk-story-disclaimer h3 {
	font-size: 1rem;
}

body.page-id-58 .sotk-story-disclaimer p {
	font-size: 0.85rem;
	line-height: 1.6;
}

body.page-id-63 .entry-content h3 {
	font-size: 1rem;
}

body.page-id-63 .entry-content h3 + p,
body.page-id-63 .entry-content h3 + p + p {
	font-size: 0.85rem;
	line-height: 1.6;
}

/* ---------- Copyright disclaimer panel (Our Story + Domestic Violence) ----------
   Both pages now share the same solid panel and the same reduced type. */

body.page-id-58 .sotk-story-disclaimer,
body.page-id-63 .sotk-story-disclaimer {
	max-width: 820px;
	margin: 2.25rem auto 1rem;
	padding: 1.15rem 1.5rem;
	border-left: 4px solid #e3b341;
	border-radius: 10px;
	background: linear-gradient(150deg, #33194f 0%, #241238 100%);
	box-shadow: 0 18px 40px -24px rgba(20, 4, 38, 0.55);
	text-align: left;
}

body.page-id-58 .sotk-story-disclaimer h3,
body.page-id-63 .sotk-story-disclaimer h3 {
	margin: 0 0 0.45rem;
	font-family: 'Cinzel', Georgia, serif;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: none;
	color: #ffd76a !important;
}

body.page-id-58 .sotk-story-disclaimer p,
body.page-id-63 .sotk-story-disclaimer p {
	margin: 0 0 0.55rem;
	font-family: 'Merriweather', Georgia, serif;
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	color: #f0e8fb !important;
}

body.page-id-58 .sotk-story-disclaimer p:last-child,
body.page-id-63 .sotk-story-disclaimer p:last-child {
	margin-bottom: 0;
	font-style: italic;
}

body.page-id-58 .sotk-story-disclaimer a,
body.page-id-63 .sotk-story-disclaimer a {
	color: #ffd98a !important;
	text-decoration: underline;
}

/* ---------- Need Help: centre the resources button ---------- */

body.page-id-52 .entry-content .wp-block-buttons {
	justify-content: center;
}
