/* Home sections added 2026-11-01 (CR's approved restructure plan) and the /news-media/ page.
   Loaded only on Home and /news-media/. Every rule is scoped to a new section class:
   .stj-home-news / .stj-hn (News & Events), .stj-kingdom (Building the Kingdom),
   .stj-behold-band (BEHOLD!), .stj-bienvenidos (Bienvenidos strip), .stj-nm (News & Media page).
   The hero, Mass Times, Heritage and footer are styled elsewhere and not touched here. */

/* ---------- Shared: section width, heading size = Mass & Confession Times heading ---------- */
.stj-section.stj-home-news > .wp-block-group__inner-container,
.stj-section.stj-kingdom > .wp-block-group__inner-container,
.stj-section.stj-behold-band > .wp-block-group__inner-container,
.stj-section.stj-bienvenidos > .wp-block-group__inner-container { max-width: 1250px; }

.stj-hn-title,
.stj-kingdom h2 {
	font-family: var(--stj-font-serif, Georgia, serif);
	font-weight: 500;
	font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.25rem);
	line-height: 1.04;
	letter-spacing: -.02em;
	color: var(--global-palette1, #295038);
	margin: 17px 0 0;
}
.stj-home-news .stj-kicker,
.stj-kingdom .stj-kicker {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 13px;
	letter-spacing: .14em;
	margin: 0;
}
.stj-home-news .stj-kicker::before,
.stj-kingdom .stj-kicker::before { width: 34px; height: 1px; margin: 0; flex: none; }
.stj-hn-arrow { color: var(--global-palette15, #AD8B3B); font-weight: 400; margin-left: .35em; display: inline-block; transition: transform .15s ease; }

/* ---------- News & Events ---------- */
.stj-section.stj-home-news { background: #fff; padding-top: 44px !important; padding-bottom: 48px !important; }
.stj-hn-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.stj-hn-all,
.stj-hn-read,
.stj-hn-bulletin { font-weight: 700; font-size: 15px; letter-spacing: .01em; color: var(--global-palette1, #295038); text-decoration: none; }
.stj-hn-all { display: inline-flex; align-items: center; gap: 12px; border: 1.5px solid var(--global-palette1, #295038); padding: 11px 18px; font-size: 14px; }
.stj-hn-all:hover { background: var(--global-palette1, #295038); color: #fff !important; }
.stj-hn-cta { display: flex; justify-content: center; margin-top: 32px; }
.stj-hn-cta a,
.stj-hn-cta a:visited { display: inline-flex; align-items: center; gap: 16px; background: var(--global-palette1, #295038); color: #fff; padding: 15px 24px; font-size: 15px; font-weight: 700; text-decoration: none; }
.stj-hn-cta a .stj-hn-arrow { color: #DFC78A; }
.stj-hn-cta a:hover { background: var(--global-palette2, #1D3B29); color: #fff; }
.stj-hn-all:hover .stj-hn-arrow,
.stj-hn-read:hover .stj-hn-arrow,
.stj-hn-bulletin:hover .stj-hn-arrow { transform: translateX(3px); }
.stj-hn a:not(.stj-hn-all):not(.stj-hn-cta a):hover { color: var(--global-palette2, #1D3B29); }
.stj-hn a:focus-visible { outline: 2px solid var(--global-palette1, #295038); outline-offset: 3px; }

.stj-hn-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.stj-hn-feature {
	background: #fff;
	border: 1px solid #E4E7E1;
	box-shadow: 0 18px 40px rgba(40, 48, 39, .07);
}
.stj-hn-photo { display: block; line-height: 0; }
.stj-hn-photo img { display: block; width: 100%; height: auto; }
.stj-hn-body { padding: 26px 22px 28px; }
.stj-hn-body p { margin-top: 0; }
.stj-hn-label { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--global-palette1, #295038); }
.stj-hn-label::before { content: ""; width: 34px; height: 1px; background: var(--global-palette15, #AD8B3B); margin-right: 6px; }
.stj-hn .stj-hn-feature-title { margin-top: 0; font-family: var(--stj-font-serif, Georgia, serif); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 14px; }
.stj-hn-feature-title a { color: var(--global-palette1, #295038); text-decoration: none; }
.stj-hn-feature-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.stj-hn-excerpt { font-size: 17px; line-height: 1.6; color: #4F5E55; margin: 0 0 14px; }
.stj-hn-excerpt strong { color: var(--global-palette1, #295038); }
.stj-hn-read { display: inline-block; margin-top: 6px; }

.stj-hn-more { background: #EDF2EE; border: 1px solid #DCE5DE; padding: 24px 22px 26px; }
.stj-hn-more-title { font-family: var(--stj-font-serif, Georgia, serif); font-weight: 500; font-size: 1.6rem; line-height: 1.15; color: var(--global-palette1, #295038); margin: 0 0 14px; }
.stj-hn ul.stj-hn-list { list-style: none; margin: 0 0 18px; padding: 0; }
.stj-hn-list li { margin: 0; padding: 11px 0; border-top: 1px solid #CFDCD2; }
.stj-hn-list .stj-hn-sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: 15px; line-height: 1.45; color: #4F5E55; margin-top: 3px; } /* about 45 words from the server, clamped to exactly two full lines here (the browser adds the …) */
.stj-hn-list li:last-child { border-bottom: 1px solid #CFDCD2; }
.stj-hn-list a { font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--global-palette1, #295038); text-decoration: none; }
.stj-hn-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* From 900px: featured card left and a little higher; the sage card right, a little lower,
   overlapping the featured card by one narrow grid column (no absolute positioning). Each card is as tall
   as its own content (no forced equal heights); "Read more" sits right under the featured text. */
@media (min-width: 900px) {
	.stj-section.stj-home-news { padding-top: 56px !important; padding-bottom: 60px !important; }
	.stj-hn-grid { grid-template-columns: minmax(0, 7fr) 56px minmax(0, 4.2fr); gap: 0; align-items: start; }
	.stj-hn-feature { grid-column: 1 / 3; grid-row: 1; margin-bottom: 20px; }
	.stj-hn-more { grid-column: 2 / 4; grid-row: 1; margin-top: 20px; position: relative; z-index: 1; padding: 24px 28px 22px; box-shadow: 0 15px 35px rgba(40, 48, 39, .06); }
	.stj-hn-more-title { margin-bottom: 8px; }
	.stj-hn-list li { padding: 9px 0; }
	.stj-hn ul.stj-hn-list { margin-bottom: 14px; }
	.stj-hn-list .stj-hn-sum { font-size: 14.5px; line-height: 1.4; }
	.stj-hn-body { padding: 40px calc(56px + 32px) 40px 44px; }
	.stj-hn-read { margin-top: 8px; }
}

/* ---------- Building the Kingdom ---------- */
/* Building the Kingdom (CR, 2026-11-02): warmer limestone, less padding, the panel without border or shadow. */
.stj-section.stj-kingdom { background: #E9E3D8; position: relative; isolation: isolate; overflow: hidden; padding-top: 48px !important; padding-bottom: 48px !important; }
/* Pattern 01 from CR's chapel kit (01-CHAPEL-APPROVED-4K-TRANSPARENT.png, lossless WebP copy at 1920px,
   no shape or colour change) as a faint wallpaper around the opaque panel: 3% on tablets, 5% from 900px,
   off on phones (< 600px, where it isn't downloaded at all). Decorative only, behind the content. */
.stj-section.stj-kingdom::before { content: none; }
@media (min-width: 600px) {
	.stj-section.stj-kingdom::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("home/pattern-01-chapel.webp") center / cover no-repeat; opacity: .03; }
}
@media (min-width: 900px) {
	.stj-section.stj-kingdom::before { opacity: .05; }
}
.stj-kingdom .stj-kingdom-panel { background: #FBF8F3; border: 0; box-shadow: none; padding: 32px 24px; margin: 0; gap: 28px; }
.stj-kingdom .stj-kingdom-mission { font-family: var(--stj-font-serif, Georgia, serif); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.45; color: #3E4D44; margin: 18px 0 0; }
.stj-kingdom ul.stj-kingdom-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 40px; }
.stj-kingdom .stj-kingdom-links li { margin: 0; border-top: 1px solid rgba(173, 139, 59, .6); }
.stj-kingdom .stj-kingdom-links li:last-child { border-bottom: 1px solid rgba(173, 139, 59, .6); }
.stj-kingdom .stj-kingdom-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 2px; font-weight: 600; font-size: 17px; color: var(--global-palette1, #295038); text-decoration: none; }
.stj-kingdom .stj-kingdom-links a::after { content: "\2192"; font-weight: 400; font-size: 20px; line-height: 1; color: var(--global-palette15, #AD8B3B); transition: transform .15s ease; }
.stj-kingdom .stj-kingdom-links a:hover { color: var(--global-palette2, #1D3B29); }
.stj-kingdom .stj-kingdom-links a:hover::after { transform: translateX(3px); }
.stj-kingdom .stj-kingdom-links a:focus-visible { outline: 2px solid var(--global-palette1, #295038); outline-offset: 2px; }
@media (min-width: 600px) {
	.stj-kingdom ul.stj-kingdom-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stj-kingdom .stj-kingdom-links li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid rgba(173, 139, 59, .6); }
}
@media (min-width: 900px) {
	.stj-kingdom .stj-kingdom-panel { padding: 56px 60px; gap: 64px; }
}

/* ---------- BEHOLD! band ---------- */
.stj-section.stj-behold-band { background: radial-gradient(ellipse 60% 85% at 50% 42%, #3A684B 0%, #2E5A3F 38%, #295038 62%, #22452F 100%); color: #F4F1E8; padding-top: 64px !important; padding-bottom: 64px !important; text-align: center; }
.stj-behold-band p { text-align: center; margin-left: auto !important; margin-right: auto !important; }
.stj-behold-band .stj-behold-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: #F4F1E8; margin: 0 0 10px; }
.stj-behold-band .stj-behold-word { font-family: var(--stj-font-serif, Georgia, serif); font-weight: 500; font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: 1; letter-spacing: .02em; color: #D9BD7C; margin: 0 0 14px; }
/* Gold gradient on BEHOLD! (CR, 2026-11-01); plain #D9BD7C stays as the fallback. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.stj-behold-band .stj-behold-word { background: linear-gradient(180deg, #EFDCA6 0%, #DCC07E 48%, #C2A055 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.stj-behold-band .stj-behold-tagline { font-family: var(--stj-font-serif, Georgia, serif); font-style: italic; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); color: #fff; margin: 0 0 6px; }
.stj-behold-band .stj-behold-food { font-family: var(--stj-font-serif, Georgia, serif); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: #E4E9E3; margin: 0 0 10px; }
.stj-behold-band .stj-behold-when { font-size: 15.5px; color: #E4E9E3; margin: 0 0 26px; }
.stj-behold-band .wp-block-buttons { justify-content: center; }
.stj-behold-band .wp-block-button__link,
.stj-behold-band .wp-block-button__link:visited { display: inline-flex; align-items: center; gap: 16px; background: #F4F1E8; color: var(--global-palette1, #295038); border: 0; border-radius: 0; padding: 15px 22px; font-size: 14.5px; font-weight: 700; }
.stj-behold-band .wp-block-button__link::after { content: "\2192"; font-size: 19px; font-weight: 400; line-height: 10px; color: #8A6C25; }
.stj-behold-band .wp-block-button__link:hover,
.stj-behold-band .wp-block-button__link:focus-visible { background: #fff; color: var(--global-palette2, #1D3B29); }
.stj-behold-band .wp-block-button__link:focus-visible { outline: 2px solid #D9BD7C; outline-offset: 3px; }

/* BEHOLD! banner (H2, CR 2026-11-02; smaller monstrance since 2026-11-03): CR's painting "Golden monstrance in
   luminous clouds centered and smaller" (home/behold-monstrance-smaller.webp = q90 WebP of _migration/photos/behold/
   Golden monstrance in luminous clouds centered and smaller - plain niche.png, a copy of CR's master with only the
   white figure in the stem window smoothed to plain gold; master untouched). The picture is a decorative CSS background, fitted to the band height (never
   stretched); the text stays editable blocks.
   From 700px the banner is two equal halves: the monstrance's axis at 25% of the width (it sits at 1.4925 × the
   painting's height from its left edge, hence the background-position calc), the text box centred at 75%.
   The left edge is always clouds; they fade gradually into forest green before the text, and the painting's
   right-hand clouds show faintly behind the green as shadows (::after, enlarged, multiply, 50%).
   Phones (< 700px): the painting on top with the monstrance centred, fading down, text centred below.
   If the band height changes, change it in both the min-height and the background-position calc. */
.stj-section.stj-behold-band { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(90deg, #2B4A31 0%, #22432F 55%, #1D3A28 100%); text-align: left; }
.stj-section.stj-behold-band::before { content: ""; pointer-events: none; background: url("home/behold-monstrance-smaller.webp") left top / auto 100% no-repeat; }
.stj-behold-band .stj-behold-word { margin: 0 0 16px; }
.stj-behold-band .stj-behold-tagline { color: #F4F1E8; margin: 0 0 8px; }
.stj-behold-band .stj-behold-food { color: #F4F1E8; margin: 0 0 12px; }
.stj-behold-band .stj-behold-when { color: #E4E9E3; font-size: 15px; letter-spacing: .02em; margin: 0 0 30px; }
.stj-behold-band > .wp-block-group__inner-container::before { content: ""; display: block; width: 56px; height: 1px; background: #D9BD7C; margin: 0 0 22px; }
.stj-behold-band .wp-block-button__link,
.stj-behold-band .wp-block-button__link:visited { background: transparent; color: #F4F1E8; border: 1px solid rgba(244, 241, 232, .85); padding: 14px 22px; }
.stj-behold-band .wp-block-button__link::after { color: #F4F1E8; }
.stj-behold-band .wp-block-button__link:hover,
.stj-behold-band .wp-block-button__link:focus-visible { background: #F4F1E8; color: var(--global-palette2, #1D3B29); border-color: #F4F1E8; }
.stj-behold-band .wp-block-button__link:hover::after,
.stj-behold-band .wp-block-button__link:focus-visible::after { color: #8A6C25; }
.stj-behold-band .wp-block-button__link:focus-visible { outline: 2px solid #D9BD7C; outline-offset: 4px; }

@media (min-width: 700px) {
	.stj-section.stj-behold-band { display: flex; align-items: center; }
	.stj-section.stj-behold-band::before { position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; }
	.stj-section.stj-behold-band::after { content: ""; position: absolute; z-index: -2; top: 0; bottom: 0; right: 0; left: 50%; pointer-events: none;
		background: url("home/behold-monstrance-smaller.webp") right center / auto 240% no-repeat; mix-blend-mode: multiply; opacity: .5; filter: grayscale(1) contrast(1.2);
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
	.stj-section.stj-behold-band > .wp-block-group__inner-container { width: max-content; max-width: 44%; position: relative; left: calc(75% + clamp(.625rem, 2vw, 1rem)); transform: translateX(-50%); margin: 0 !important; }
	.stj-behold-band p { text-align: left; margin-left: 0 !important; margin-right: 0 !important; }
	.stj-behold-band .wp-block-buttons { justify-content: flex-start; }
	.stj-behold-band .stj-behold-word { font-size: clamp(2.4rem, 4.5vw, 5.6rem); } /* smaller than the church name in the hero (CR, 2026-11-02) */
	.stj-behold-band .stj-behold-tagline { font-size: max(1.05rem, 2.08vw); }
	.stj-behold-band .stj-behold-food { font-size: max(1rem, 1.69vw); }
	.stj-behold-band .stj-behold-when { font-size: max(14px, 1.22vw); }
	.stj-behold-band .wp-block-button__link { white-space: nowrap; font-size: clamp(14px, 1.14vw, 20px); padding: .95em 1.4em; }
}
@media (min-width: 1100px) {
	.stj-section.stj-behold-band { min-height: min(max(500px, 34vw), 680px); padding-top: 64px !important; padding-bottom: 64px !important; }
	.stj-section.stj-behold-band::before { width: calc(61vw - 10px); background-position: calc(25vw - 1.4925 * min(max(500px, 34vw), 680px)) top;
		-webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(25vw + 0.214 * min(max(500px, 34vw), 680px) + 40px), rgba(0,0,0,.62) calc(0.8 * (25vw + 0.214 * min(max(500px, 34vw), 680px) + 40px) + 20%), rgba(0,0,0,.32) calc(0.6 * (25vw + 0.214 * min(max(500px, 34vw), 680px) + 40px) + 40%), rgba(0,0,0,.13) calc(0.4 * (25vw + 0.214 * min(max(500px, 34vw), 680px) + 40px) + 60%), rgba(0,0,0,.05) calc(0.2 * (25vw + 0.214 * min(max(500px, 34vw), 680px) + 40px) + 80%), transparent 100%);
		mask-image: linear-gradient(90deg, #000 0, #000 calc(25vw + 0.214 * min(max(500px, 34vw), 680px) + 40px), rgba(0,0,0,.62) calc(0.8 * (25vw + 0.214 * min(max(500px, 34vw), 680px) + 40px) + 20%), rgba(0,0,0,.32) calc(0.6 * (25vw + 0.214 * min(max(500px, 34vw), 680px) + 40px) + 40%), rgba(0,0,0,.13) calc(0.4 * (25vw + 0.214 * min(max(500px, 34vw), 680px) + 40px) + 60%), rgba(0,0,0,.05) calc(0.2 * (25vw + 0.214 * min(max(500px, 34vw), 680px) + 40px) + 80%), transparent 100%); }
}
/* Tablets and phones use a 1400px-wide copy of the painting (behold-monstrance-smaller-1400.webp). */
@media (max-width: 1099px) {
	.stj-section.stj-behold-band::before { background-image: url("home/behold-monstrance-smaller-1400.webp"); }
	.stj-section.stj-behold-band::after { background-image: url("home/behold-monstrance-smaller-1400.webp"); }
}
@media (min-width: 700px) and (max-width: 1099px) {
	.stj-section.stj-behold-band { min-height: 420px; padding-top: 48px !important; padding-bottom: 48px !important; }
	.stj-section.stj-behold-band::before { width: calc(58vw - 10px); background-position: calc(25vw - 627px) top;
		-webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(25vw + 120px), rgba(0,0,0,.62) calc(0.8 * (25vw + 120px) + 20%), rgba(0,0,0,.32) calc(0.6 * (25vw + 120px) + 40%), rgba(0,0,0,.13) calc(0.4 * (25vw + 120px) + 60%), rgba(0,0,0,.05) calc(0.2 * (25vw + 120px) + 80%), transparent 100%);
		mask-image: linear-gradient(90deg, #000 0, #000 calc(25vw + 120px), rgba(0,0,0,.62) calc(0.8 * (25vw + 120px) + 20%), rgba(0,0,0,.32) calc(0.6 * (25vw + 120px) + 40%), rgba(0,0,0,.13) calc(0.4 * (25vw + 120px) + 60%), rgba(0,0,0,.05) calc(0.2 * (25vw + 120px) + 80%), transparent 100%); }
}
@media (max-width: 699px) {
	.stj-behold-band .stj-behold-word { font-size: 2.2rem; }
	.stj-section.stj-behold-band { padding-top: 0 !important; padding-bottom: 52px !important; text-align: center; }
	.stj-section.stj-behold-band::before { display: block; aspect-ratio: 5 / 4; background-position: 50% top; margin: 0 calc(-1 * clamp(1.25rem, 4vw, 2rem)) 28px;
		-webkit-mask-image: linear-gradient(180deg, #000 0, #000 92%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 92%, transparent 100%); }
	.stj-behold-band > .wp-block-group__inner-container::before { margin: 0 auto 20px; }
}

/* ---------- Bienvenidos strip ---------- */
.stj-section.stj-bienvenidos { background: #F7F7F3; border-top: 1px solid #ECECE6; border-bottom: 1px solid #ECECE6; padding-top: 26px !important; padding-bottom: 26px !important; }
.stj-bienvenidos .stj-bienvenidos-row > .wp-block-group__inner-container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.stj-bienvenidos .stj-bienvenidos-title { font-family: var(--stj-font-serif, Georgia, serif); font-weight: 500; font-size: clamp(1.5rem, 1.3rem + .6vw, 1.85rem); line-height: 1.2; color: var(--global-palette1, #295038); margin: 0; }
.stj-bienvenidos .stj-bienvenidos-times { font-size: 15px; color: #4F5E55; margin: 4px 0 0; }
.stj-bienvenidos .wp-block-buttons { margin: 0; flex: none; }
/* Text and button on the same centre line (CR, 2026-11-02): drop the block margins WordPress adds. */
.stj-bienvenidos .stj-bienvenidos-row > .wp-block-group__inner-container > * { margin-top: 0; margin-bottom: 0; }
.stj-bienvenidos .stj-bienvenidos-row .wp-block-group > .wp-block-group__inner-container > p { margin-top: 0; }
@media (min-width: 782px) {
	.stj-bienvenidos .stj-bienvenidos-row .wp-block-group > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 22px; row-gap: 2px; }
	.stj-bienvenidos .stj-bienvenidos-row .wp-block-group > .wp-block-group__inner-container > p { margin: 0; }
}
.stj-bienvenidos .stj-bienvenidos-title, .stj-bienvenidos .stj-bienvenidos-times { text-align: inherit; }
.stj-bienvenidos .wp-block-button__link,
.stj-bienvenidos .wp-block-button__link:visited { display: inline-flex; align-items: center; gap: 16px; background: var(--global-palette1, #295038); color: #fff; border: 0; border-radius: 0; padding: 13px 20px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.stj-bienvenidos .wp-block-button__link::after { content: "\2192"; font-size: 19px; font-weight: 400; line-height: 10px; color: #DFC78A; }
.stj-bienvenidos .wp-block-button__link:hover,
.stj-bienvenidos .wp-block-button__link:focus-visible { background: var(--global-palette2, #1D3B29); color: #fff; }
@media (min-width: 782px) {
	.stj-bienvenidos .stj-bienvenidos-row > .wp-block-group__inner-container { flex-direction: row; justify-content: space-between; text-align: left; gap: 32px; }
}

/* ---------- News & Media page (/news-media/) ---------- */
.stj-nm-intro { font-size: 1.15rem; color: #4F5E55; max-width: 44rem; }
.entry-content .stj-nm-posts { margin-top: 1rem; }
.stj-nm-posts.is-grid li { background: #fff; border: 1px solid #E4E7E1; padding: 1.25rem 1.25rem 1.4rem; }
.stj-nm-posts .wp-block-latest-posts__post-title { font-weight: 700; color: var(--global-palette1, #295038); }
.stj-nm-posts .wp-block-latest-posts__post-date { font-size: 13px; color: #4F5E55; margin-top: .25rem; }
.stj-nm-more { text-align: right; font-weight: 700; }
.stj-nm-more a { text-decoration: none; }
ul.stj-nm-social { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
ul.stj-nm-social li { margin: 0; }
ul.stj-nm-social a { display: inline-block; padding: 10px 18px; border: 1px solid var(--global-palette1, #295038); font-weight: 700; text-decoration: none; }
ul.stj-nm-social a:hover { background: var(--global-palette1, #295038); color: #fff; }

/* ---------- Type pass (CR, 2026-11-02) ----------
   Figtree for the sans text (self-hosted, set in Kadence's typography), 18px body text, and no more
   tiny, widely spaced capital labels: at least 13px with less letter-spacing. hero.css is left as it is;
   these lines only resize its labels. */
.stj-heroSunset .stj-kicker,
.stj-mass-section .stj-kicker,
.stj-150 .stj-kicker { font-size: 13px; letter-spacing: .14em; }
.stj-mass-section .stj-mass h3 { font-size: 13px; letter-spacing: .12em; }

/* ---------- Phone hero buttons (CR, 2026-11-21; was Mass Times full width + two halves, 2026-11-02/19) ----------
   All three on one row, 48px tall; Mass Times keeps its filled green. Old rules: _migration/hero-title-2026-11-21/
   home-before-one-row-buttons.css. hero.css is left as it is. */
@media (max-width: 767px) {
	.stj-heroSunset .wp-block-buttons { display: grid !important; grid-template-columns: 1.06fr 1fr 1.12fr; gap: .5rem; }
	.stj-heroSunset .wp-block-buttons > .wp-block-button { min-width: 0; }
	.stj-heroSunset .wp-block-buttons > .wp-block-button > .wp-block-button__link { min-height: 48px; display: flex !important; align-items: center; justify-content: center; padding-left: .4rem !important; padding-right: .4rem !important; font-size: clamp(.88rem, 3.9vw, 1rem) !important; white-space: nowrap; }
}

@media (max-width: 299px) { /* tiny screens / very large text: one button per row */
	.stj-heroSunset .wp-block-buttons { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Alignment (CR, 2026-11-03) ----------
   News & Events and Building the Kingdom share the Mass Times width (1310px), so their edges line up;
   paragraphs inside are capped so lines stay comfortable to read. Heritage is left as it is for now. */
.stj-section.stj-home-news > .wp-block-group__inner-container,
.stj-section.stj-kingdom > .wp-block-group__inner-container { max-width: 1310px; }
.stj-hn-excerpt { max-width: 38em; }
.stj-kingdom .stj-kingdom-mission { max-width: 30em; }

/* Mass Times page (CR, 2026-11-03): the Bienvenidos band sits flush on the footer (no card padding or gap below it). */
.page-id-1003 .entry-content-wrap { padding-bottom: 0; }
.page-id-1003 .content-area { margin-bottom: 0; }
.page-id-1003 .entry-content > .stj-bienvenidos:last-child { margin-bottom: 0; }

/* ---------- Heritage with CR's panel (v2, CR 2026-11-04) ----------
   Left: the existing chapel photo (media 8795), whole, never cropped. Right: CR's panel art
   (home/heritage-panel.svg = copy of _migration/photos/heritage/Honey_Creek_Heritage_Panel.svg with the gold 150 at 95%;
   the master is untouched), keeping its 606:887 shape. The two are the same height because the columns follow
   the photo's ratio (1.758) and the panel's (0.683). "Explore our story" is a live link over the panel's empty lower area.
   From 1024px: side by side at the Mass Times width (1310px max), lining up with News and Building the Kingdom.
   Below 1024px: photo, then the panel centred on an ivory band. These rules override the older Heritage rules in hero.css. */
.stj-150 .stj-heritage-text { background: #F6EFE2; border: 0; box-shadow: none; padding: 0; margin: 0; display: flex; justify-content: center; container-type: inline-size; }
.stj-150 .stj-heritage-photo { margin: 0; padding: 0; }
.stj-150 h2.stj-sr { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stj-hp { position: relative; width: 100%; max-width: 440px; line-height: 0; }
.stj-hp img { display: block; width: 100%; height: auto; }
.stj-150 .stj-hp-link,
.stj-150 .stj-hp-link:visited { position: absolute; left: 50%; top: 85.7%; transform: translate(-50%, -50%); display: inline-block; padding: 11px 0; white-space: nowrap; line-height: 1.2; font-family: var(--stj-font-serif, Georgia, serif); font-weight: 500; font-size: clamp(17px, 5.45cqw, 24px); color: #19382A; text-decoration: none; }
.stj-hp-link span.stj-hp-t { border-bottom: 1px solid #91621B; padding-bottom: .28em; }
.stj-150 .stj-hp-link:hover { color: #91621B; }
.stj-150 .stj-hp-link:focus-visible { outline: 2px solid #19382A; outline-offset: 3px; }
@media (min-width: 1024px) {
	.stj-section.stj-150 { padding-top: calc(clamp(2.5rem, 5vw, 4.5rem) + 14px) !important; }
	.stj-section.stj-150 > .wp-block-group__inner-container,
	.stj-150 .wp-block-group__inner-container > .stj-split { max-width: 1310px; margin-left: auto; margin-right: auto; }
	.stj-150 .wp-block-group__inner-container > .stj-split { padding-top: 0; display: grid !important; grid-template-columns: minmax(0, 1758fr) minmax(0, 683fr); gap: 0; align-items: stretch; }
	.stj-150 .stj-heritage-photo { grid-column: 1; grid-row: 1; align-self: stretch; position: relative; z-index: 1; }
	.stj-150 .stj-heritage-text { grid-column: 2; grid-row: 1; align-self: stretch; z-index: 1; box-shadow: none; border: 0; padding: 0; }
	.stj-hp { max-width: none; }
	.stj-150 .stj-photo img { width: 100%; height: auto; }
	.stj-150 .stj-photo::before { content: ""; position: absolute; left: 14px; top: -12px; width: 60%; height: 1px; background: var(--global-palette15, #AD8B3B); }
}
@media (max-width: 1023px) {
	.stj-section.stj-150 > .wp-block-group__inner-container,
	.stj-150 .wp-block-group__inner-container > .stj-split { max-width: none; }
	.stj-150 .stj-split { display: block !important; padding-top: 0; }
}

/* Stacked Home hero (phones, upright tablets): the faded chapel wallpaper on the green text area, like the hub
   pages (CR, 2026-11-19). Same media query as hero.css's stacked layout; hero.css itself is unchanged. */
@media (max-width: 767px), (max-width: 1279px) and (max-aspect-ratio: 5/4) {
	.stj-heroSunset .wp-block-cover__inner-container { position: relative; isolation: isolate; }
	.stj-heroSunset .wp-block-cover__inner-container::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(home/pattern-01-chapel-980.webp) right top / 340px repeat; opacity: .19; -webkit-mask-image: linear-gradient(100deg, transparent 15%, #000); mask-image: linear-gradient(100deg, transparent 15%, #000); }
}

/* ---------- Polish pass (CR, 2026-11-19; backup _migration/backup-home-polish-2026-11-19/) ---------- */
/* Type: Mass times read as comfortably as the headings (were 15–15.5px). */
.stj-mass-section .stj-mass li { font-size: 17px; line-height: 1.5; }
@media (min-width: 1200px) {
	.stj-mass-section .stj-mass ul:nth-of-type(3) li { font-size: 17px; }
	/* A little more room for Daily Mass so "Monday & Wednesday: 6:30 pm" stays on one line. */
	.stj-mass-section .stj-mass > .wp-block-group__inner-container { grid-template-columns: 104px minmax(0, .9fr) minmax(0, 1.6fr); }
}
/* 1200–1399px: the side-by-side panel is narrow, so 16px there (still up from 15–15.5). */
@media (min-width: 1200px) and (max-width: 1399px) {
	.stj-mass-section .stj-mass li, .stj-mass-section .stj-mass ul:nth-of-type(3) li { font-size: 16px; }
}
/* Alignment: text inside the Home panels starts on one line. From 1200px the Mass Times panel's text sits 55px
   inside the 1310px grid; the news feature and Building the Kingdom panel now use the same inset (were 44 and 60).
   900–1199px: one 44px inset for all three (Mass Times was 36). */
@media (min-width: 1200px) {
	.stj-hn-body { padding-left: 55px; }
	.stj-kingdom .stj-kingdom-panel { padding-left: 55px; padding-right: 55px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
	.stj-mass-section .stj-mass-text { padding-left: 44px; }
	.stj-kingdom .stj-kingdom-panel { padding-left: 44px; padding-right: 44px; }
}
/* Section spacing: Building the Kingdom gets the same top padding as News & Events (was 48). */
@media (min-width: 900px) {
	.stj-section.stj-kingdom { padding-top: 56px !important; padding-bottom: 56px !important; }
}
/* News (polish pass): an event date above a title when the post has an upcoming event (no posting dates).
   The one-line summaries were tried and reverted (CR): two lines as before. */
.stj-hn-when { margin: 0 0 3px !important; font-size: 14px; font-weight: 700; letter-spacing: .01em; color: #7E6227; }
.stj-hn-feature .stj-hn-when { margin-bottom: 8px !important; }
/* Featured news keeps the post's own line breaks, bold and italics (CR, 2026-11-19); a short all-capitals
   first line is a lead line. Same fonts as before. */
.stj-hn .stj-hn-lead { margin: 0 0 6px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7E6227; }
.stj-hn-excerpt strong { font-weight: 600; color: var(--global-palette1, #295038); }
.stj-hn-excerpt em { font-style: italic; }

/* ---------- Home News & Events v3 (CR's refinement brief + mockup, 2026-11-19;
   _migration/home-news-refine-2026-11-19/). One lead story + four headlines. Scoped to .stj-hn3 and its section.
   Desktop (1100px+): lead and sage list at the golden ratio INCLUDING the 24px overlap:
   lead = (C + 24) × 0.618, list = the rest + 24px, list 34px lower. Natural heights. ---------- */
.stj-section.stj-home-news:has(.stj-hn3) { background: #F7F6F0; padding-top: 56px !important; padding-bottom: 64px !important; }
.stj-hn3 { --hn3-green: #284D3A; --hn3-muted: #526257; --hn3-gold: #AD9154; --hn3-overlap: 24px; }
.stj-hn3 .stj-hn3-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 21px 34px; flex-wrap: wrap; margin-bottom: 34px; }
.stj-hn3 .stj-hn-title { margin: 0; }
.stj-hn3 a.stj-hn3-bulletin,
.stj-hn3 a.stj-hn3-read { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--hn3-green); color: var(--hn3-green); font-size: 16px; font-weight: 600; text-decoration: none; background: transparent; transition: background-color .15s ease, color .15s ease; }
.stj-hn3 a.stj-hn3-bulletin:hover,
.stj-hn3 a.stj-hn3-read:hover { background: var(--hn3-green); color: #fff; }
.stj-hn3 a:focus-visible { outline: 2px solid var(--hn3-green); outline-offset: 3px; }

.stj-hn3 .stj-hn3-panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; isolation: isolate; }
.stj-hn3 .stj-hn3-lead { position: relative; z-index: 1; min-width: 0; background: #FFFDF8; border-top: 2px solid var(--hn3-gold); padding: 34px 24px 34px; }
.stj-hn3 .stj-hn3-cat,
.stj-hn3 .stj-hn3-meta { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hn3-muted); }
.stj-hn3 .stj-hn3-meta time { letter-spacing: .04em; }
.stj-hn3 .stj-hn3-lead-title { margin: 0 0 13px; font-family: var(--stj-font-serif, Georgia, serif); font-weight: 500; font-size: clamp(28px, 1.6rem + .6vw, 34px); line-height: 1.12; letter-spacing: -.01em; color: var(--hn3-green); text-wrap: balance; }
.stj-hn3 .stj-hn3-date { margin: 0 0 21px; font-size: 16px; font-weight: 500; color: var(--hn3-muted); }
.stj-hn3 .stj-hn3-intro { max-width: 36em; margin: 0 0 34px; font-size: 17.5px; line-height: 1.55; color: #3F4C43; }

.stj-hn3 .stj-hn3-support { position: relative; z-index: 2; min-width: 0; background: #E8EDE3; padding: 13px 24px 21px; }
.stj-hn3 ul.stj-hn3-list { list-style: none; margin: 0; padding: 0; }
.stj-hn3 .stj-hn3-list li { margin: 0; border-bottom: 1px solid rgb(82 98 87 / .18); }
.stj-hn3 .stj-hn3-list a { display: block; min-height: 48px; padding: 17px 0; color: var(--hn3-green); text-decoration: none; }
.stj-hn3 .stj-hn3-item-title { display: block; font-size: 18.5px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.stj-hn3 .stj-hn3-list a:hover .stj-hn3-item-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.stj-hn3 a.stj-hn3-all { display: flex; align-items: center; justify-content: space-between; gap: 13px; min-height: 48px; padding-top: 13px; font-size: 16px; font-weight: 600; color: var(--hn3-green); text-decoration: none; }
.stj-hn3 a.stj-hn3-all:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 600px) {
	.stj-hn3 .stj-hn3-lead { padding: 44px 44px 44px; }
	.stj-hn3 .stj-hn3-support { padding: 13px 34px 21px; }
}
@media (min-width: 1100px) {
	.stj-section.stj-home-news:has(.stj-hn3) { padding-top: 80px !important; padding-bottom: 89px !important; }
	.stj-hn3 .stj-hn3-panels { grid-template-columns: minmax(0, calc((100% + var(--hn3-overlap)) * .618033989)) minmax(0, 1fr); gap: 0; }
	.stj-hn3 .stj-hn3-lead { padding: 55px calc(55px + var(--hn3-overlap)) 55px 55px; }
	.stj-hn3 .stj-hn3-support { margin-left: calc(0px - var(--hn3-overlap)); margin-top: 34px; padding: 21px 34px 21px; }
	.stj-hn3 .stj-hn3-panels.is-single { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
	.stj-hn3 .stj-hn3-head { margin-bottom: 24px; }
	.stj-hn3 .stj-hn-title { font-size: clamp(34px, 9vw, 38px); }
	.stj-hn3 .stj-hn3-intro { font-size: 16.5px; }
	.stj-hn3 .stj-hn3-item-title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .stj-hn3 a { transition: none; } }
/* Lead title a little larger (CR, 2026-11-19): ~42px on desktop so it anchors the white panel. */
@media (min-width: 1100px) {
	.stj-hn3 .stj-hn3-lead-title { font-size: clamp(38px, 1.6rem + 1.2vw, 44px); max-width: 11em; }
}
/* "All news & announcements" reads as a link (CR, 2026-11-19): same olive-gray as the date labels (#526257), text and chevron, with a fine
   underline (about 5.6:1 on the sage panel); hover turns it forest green. */
.stj-hn3 a.stj-hn3-all { color: var(--hn3-muted); }
.stj-hn3 a.stj-hn3-all span:first-child, .stj-hn3 a.stj-hn3-all { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgb(82 98 87 / .45); }
.stj-hn3 a.stj-hn3-all:hover { color: var(--hn3-green); text-decoration-color: currentColor; }

/* Home confession times (CR, 2026-11-22, option B): the times flow inline, but each "·"-separated time stays whole on one line
   (spans in synced pattern 8236). Before: _migration/backup-confession-wrap-2026-11-23/. */
.stj-nw { white-space: nowrap; }
