/* Watch Live (CR's design, 2026-11-11). Only on a page holding [stjhc_watch_live]. Some !important is needed to beat pages.css.
   The 1.618 : 1 grid repeats in the title row, the player row and the bottom row.
   Right panel (CR, 2026-11-11, third pass): the player meets the panel (no gap) at φ² : 1, so the panel is 0.382 of the player's
   width; it hugs its compact, even rows and sits at a golden offset: 0.382 of the leftover height above it, 0.618 below.
   Under 1000px the split goes back to 1.618 : 1 so the panel keeps room for its text. */
body.stj-wl-page, .stj-wl-page .content-bg, .stj-wl-page .content-area, .stj-wl-page .entry, .stj-wl-page .entry-content-wrap, .stj-wl-page .site-main { background: #F6F6F2 !important; }
.stj-wl-page .entry-hero { display: none; } /* the page draws its own title band */
body.page.stj-wl-page .content-area { margin-top: 0 !important; margin-bottom: 0 !important; }
.stj-wl { --wl-head-gap: 32px; --wl-support-gap: 32px; --wl-ink: #254633; --wl-paper: #FFFEFA; --wl-sage: #E9EEE5; --wl-gold: #AF914D; --wl-rule: #D6DED2; --wl-muted: #526257; --wl-cols: minmax(0, 2.618fr) var(--wl-gap) minmax(0, 1fr); /* player | gap | panel at φ² : 1 (2.618 : 1, CR: wider video meeting a narrower panel); the title and bottom rows share it so their edges line up */ --wl-in: 24px; --wl-gap: 0px; --wl-pad: clamp(24px, 2.2vw, 32px); /* the panel's side padding: 32px at 1440 */ color: var(--wl-ink); font-size: 16px; line-height: 1.5; margin-inline: calc(50% - 50vw); }
.stj-wl p { margin: 0; max-width: none; }
.stj-wl h1, .stj-wl h2 { font-family: var(--stj-font-serif, Georgia, serif) !important; font-weight: 500 !important; line-height: 1.03 !important; margin: 0 !important; color: var(--wl-ink) !important; }
.stj-wl a { color: inherit; text-underline-offset: .24em; }
.stj-wl a:focus-visible { outline: 2px solid #A58342; outline-offset: 4px; }
.stj-wl-wrap { width: calc(100% - 2 * clamp(20px, 2.25vw, 32px)); max-width: 1310px; margin-inline: auto; }
.stj-wl-eyebrow { color: var(--wl-muted); font-size: 13px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.stj-wl-ext { color: #876831; font-family: Arial, sans-serif; }

/* Green title band with the chapel pattern; the player row overlaps its lower edge */
.stj-wl-hero { position: relative; isolation: isolate; padding: 48px 0 0; }
.stj-wl-hero::before, .stj-wl-hero::after { content: ""; position: absolute; inset: 0 0 auto; height: clamp(380px, 36vw, 540px); z-index: -1; }
.stj-wl-hero::before { background: linear-gradient(108deg, #193629, #214634); }
.stj-wl-hero::after { background: #F6F2E6; opacity: .09; /* the chapel pattern in ivory, full at the top and gone by ~75% of the band */
	-webkit-mask: url("home/pattern-01-chapel-980.webp") center top / 465px auto repeat, linear-gradient(#000 0, transparent 75%); -webkit-mask-composite: source-in;
	mask: url("home/pattern-01-chapel-980.webp") center top / 465px auto repeat, linear-gradient(#000 0, transparent 75%); mask-composite: intersect; }
.stj-wl-head, .stj-wl-stage, .stj-wl-support-grid { display: grid; grid-template-columns: var(--wl-cols); }
.stj-wl-head { align-items: center; margin-bottom: var(--wl-head-gap); }
.stj-wl-when { align-self: end; } /* its bottom is the row's bottom, where the panel's space starts */
.stj-wl .stj-wl-head h1 { color: #DEDCC8 !important; font-size: clamp(50px, 5.35vw, 74px) !important; line-height: .98 !important; letter-spacing: -.042em; }
.stj-wl-when { display: grid; gap: 2px; padding: 1px 0 2px var(--wl-in); border-left: 1px solid #C3A771; color: #E3E2D6; }
.stj-wl-when .stj-wl-eyebrow { color: #DDCA9F; }
.stj-wl .stj-wl-when h2 { color: #E3E2D6 !important; font-size: clamp(30px, 3vw, 42px) !important; letter-spacing: -.025em; overflow-wrap: anywhere; }
.stj-wl-time { color: #E5E7DC; font-size: 16px; font-weight: 650; }

/* Player (left) and the right column, one even block */
.stj-wl-stage { align-items: stretch; }
.stj-wl-player, .stj-wl-head h1, .stj-wl-schedule { grid-column: 1; }
.stj-wl-side-cell, .stj-wl-when { grid-column: 3; }
.stj-wl-schedule { grid-column: 1 / 3; }
.stj-wl-player { min-width: 0; position: relative; z-index: 2; margin: 0 !important; display: flex; flex-direction: column; background: var(--wl-paper); border: 1px solid #CBD6CA; box-shadow: 0 22px 34px -27px rgba(24, 51, 35, .6); }
.stj-wl-screen { position: relative; aspect-ratio: 16 / 9; background: #17251D; }
.stj-wl-screen iframe { display: block; width: 100%; height: 100%; border: 0; }
.stj-wl-poster { position: absolute; inset: 0; display: grid; place-items: center; isolation: isolate; overflow: hidden; text-decoration: none; }
.stj-wl-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stj-wl-poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 27, 23, .09) 50%, rgba(16, 34, 24, .35)); }
.stj-wl-play { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: rgba(24, 54, 38, .91); border: 1px solid #F5E6B5; box-shadow: 0 2px 24px rgba(0, 0, 0, .33); transition: transform .16s; }
.stj-wl-play::before { content: ""; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 15px solid #FFF7E6; margin-left: 4px; }
.stj-wl-poster:hover .stj-wl-play, .stj-wl-poster:focus-visible .stj-wl-play { transform: scale(1.08); }
.stj-wl-gallery { position: absolute; inset: 0; overflow: auto; }
.stj-wl-caption { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 16px 22px 18px; }
.stj-wl-caption .stj-wl-eyebrow { margin-bottom: 4px !important; }
.stj-wl-caption .stj-wl-live { display: flex; align-items: center; gap: 7px; color: #8A302D; }
.stj-wl-dot { width: 8px; height: 8px; border-radius: 50%; background: #B23A33; box-shadow: 0 0 0 3px rgba(178, 58, 51, .18); }
.stj-wl .stj-wl-caption h2 { font-size: clamp(24px, 2.5vw, 36px) !important; letter-spacing: -.021em; }
.stj-wl-caption > a { flex: none; font-size: 14px; font-weight: 750; }

.stj-wl-side-cell { min-width: 0; display: flex; flex-direction: column; margin: calc(-1 * var(--wl-head-gap)) 0 calc(-1 * var(--wl-support-gap)); }
/* Golden placement (CR): the cell reaches up to the bottom of the Sunday Mass block and down to the top of the Parish Office card
   (the negative margins); the space it doesn't fill splits 0.382 above the panel, 0.618 below. */
.stj-wl-side-cell::before { content: ""; flex: .382 1 0; }
.stj-wl-side-cell::after { content: ""; flex: .618 1 0; }
.stj-wl-side { flex: none; display: grid; background: var(--wl-paper); border: 1px solid var(--wl-rule); border-top: 2px solid var(--wl-gold); box-shadow: 0 18px 30px -26px rgba(24, 51, 35, .5); }
.stj-wl .stj-wl-side-title { padding: 18px var(--wl-pad) 10px; font-size: clamp(28px, 2.4vw, 36px) !important; letter-spacing: -.03em; }
.stj-wl-platform { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 54px; margin: 0 var(--wl-pad); border-top: 1px solid var(--wl-rule); text-decoration: none; font-weight: 750; }
.stj-wl-platform:hover .stj-wl-name { text-decoration: underline; }
.stj-wl-icon { width: 24px; height: 24px; display: grid; place-items: center; }
.stj-wl-yt::before { content: ""; grid-area: 1 / 1; width: 22px; height: 15px; border-radius: 4px; background: #A93934; }
.stj-wl-yt::after { content: ""; grid-area: 1 / 1; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid #fff; margin-left: 1px; }
.stj-wl-fb { border-radius: 50%; background: #315879; color: #fff; font: 700 21px/1 Arial, sans-serif; padding-top: 3px; }
.stj-wl-past { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 54px; padding: 12px var(--wl-pad); background: var(--wl-sage); border-top: 1px solid var(--wl-rule); text-decoration: none; }
.stj-wl-past-text { display: grid; gap: 2px; }
.stj-wl-past-title { font: 500 clamp(22px, 1.8vw, 26px)/1.05 var(--stj-font-serif, Georgia, serif); letter-spacing: -.03em; }
.stj-wl-past-sub { font-size: 14px; font-weight: 650; color: var(--wl-muted); }
.stj-wl-past:hover .stj-wl-past-sub, .stj-wl-schedule:hover .stj-wl-schedule-title { text-decoration: underline; text-underline-offset: .2em; }

/* Circled arrow (→, or ↗ for the recordings link) */
.stj-wl-circle { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #9AA795; border-radius: 50%; transition: background .15s, color .15s; }
.stj-wl-circle span { position: relative; width: 14px; height: 14px; }
.stj-wl-circle span::before { content: ""; position: absolute; top: 6px; left: 0; width: 12px; border-top: 1px solid; }
.stj-wl-circle span::after { content: ""; position: absolute; top: 3px; right: 2px; width: 6px; height: 6px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.stj-wl-circle.is-out span { transform: rotate(-45deg); }
.stj-wl-past:hover .stj-wl-circle, .stj-wl-schedule:hover .stj-wl-circle { background: var(--wl-ink); color: var(--wl-paper); }

/* Full Mass schedule | Parish Office */
.stj-wl-support { padding: var(--wl-support-gap) 0 56px; }
.stj-wl-support-grid { border-top: 1px solid var(--wl-gold); box-shadow: inset 0 0 0 1px var(--wl-rule); background: var(--wl-paper); }
.stj-wl-schedule, .stj-wl-office { min-width: 0; padding: 18px var(--wl-in); }
.stj-wl-schedule { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; }
.stj-wl-schedule-title, .stj-wl .stj-wl-office h2 { font: 500 28px/1.1 var(--stj-font-serif, Georgia, serif) !important; letter-spacing: -.02em; }
.stj-wl-office { grid-column: 3; border-left: 1px solid var(--wl-rule); }
.stj-wl-office-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 3px !important; }
.stj-wl-office-links a { display: inline-flex; align-items: center; min-height: 36px; font-size: 15px; font-weight: 650; }

@media (max-width: 1000px) {
	.stj-wl { --wl-in: 18px; --wl-cols: minmax(0, 1.618fr) var(--wl-gap) minmax(0, 1fr); }
	.stj-wl .stj-wl-side-title { padding-top: 14px; }
	.stj-wl-platform { min-height: 48px; }
}
/* Phones: title, broadcast time, player, Watch on, Past livestreams, Full Mass schedule, Parish Office */
@media (max-width: 700px) {
	.stj-wl-hero { padding-top: 32px; }
	.stj-wl-hero::before, .stj-wl-hero::after { height: 340px; }
	.stj-wl-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 22px; }
	.stj-wl-head h1, .stj-wl-when, .stj-wl-player, .stj-wl-side-cell, .stj-wl-schedule, .stj-wl-office { grid-column: 1; }
	.stj-wl .stj-wl-head h1 { font-size: clamp(45px, 10.8vw, 59px) !important; }
	.stj-wl-when { margin: 0; padding-left: 12px; }
	.stj-wl .stj-wl-when h2 { font-size: 29px !important; }
	.stj-wl-time { font-size: 15px; }
	.stj-wl-stage, .stj-wl-support-grid { grid-template-columns: 1fr; }
	.stj-wl-play { width: 54px; height: 54px; }
	.stj-wl-caption { flex-wrap: wrap; gap: 6px 12px; padding: 12px 15px 14px; }
	.stj-wl-caption > a { font-size: 14px; min-height: 32px; display: inline-flex; align-items: center; }
	.stj-wl-side-cell { margin: 0; }
	.stj-wl-side-cell::before, .stj-wl-side-cell::after { content: none; }
	.stj-wl-side { border-top: 0; box-shadow: none; }
	.stj-wl .stj-wl-side-title { padding: 16px 15px 10px; font-size: 32px !important; }
	.stj-wl-platform { margin: 0 15px; min-height: 48px; }
	.stj-wl-past { padding: 16px 15px; }
	.stj-wl-support { padding: 26px 0 32px; }
	.stj-wl-schedule, .stj-wl-office { padding: 14px 15px; }
	.stj-wl-office { border-left: 0; border-top: 1px solid var(--wl-rule); }
	.stj-wl-schedule-title, .stj-wl .stj-wl-office h2 { font-size: 26px !important; }
	.stj-wl-office-links a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .stj-wl-play, .stj-wl-circle { transition: none; } }

/* Heading pass (CR, 2026-11-19, from the outside design review): sizes by role, same as the Parish Life / Faith Formation / Sacraments hubs. Before: _migration/backup-heading-pass-2026-11-19/. */
.stj-wl .stj-wl-head h1 { font-size: clamp(44px, 4.5vw, 64px) !important; line-height: 1.02 !important; }
