/* Mass Times (CR's design, 2026-11-10). Only on a page holding [stjhc_mass_times]. Some !important is needed to beat pages.css. */
body.stj-mt-page, .stj-mt-page .content-bg, .stj-mt-page .content-area, .stj-mt-page .entry, .stj-mt-page .entry-content-wrap, .stj-mt-page .site-main { background: #F7F7F3 !important; }
.stj-mt-page .entry-hero { display: none; } /* the page draws its own title band */
body.page.stj-mt-page .content-area { margin-top: 0 !important; margin-bottom: 0 !important; }
.stj-mt { --mt-ink: #295038; --mt-deep: #233E2D; --mt-body: #45564C; --mt-gold: #A88540; --mt-paper: #FFFEFA; --mt-line: #D9DED5; color: var(--mt-body); font-size: 16px; line-height: 1.55; margin-inline: calc(50% - 50vw); }
.stj-mt p { margin: 0; max-width: none; }
.stj-mt h1, .stj-mt h2, .stj-mt h3 { font-family: var(--stj-font-serif, Georgia, serif) !important; font-weight: 500 !important; color: var(--mt-ink) !important; line-height: 1 !important; margin: 0 !important; letter-spacing: normal; }
.stj-mt a { color: var(--mt-ink); }
.stj-mt a:focus-visible, .stj-mt summary:focus-visible { outline: 2px solid #8C6320; outline-offset: 4px; }
.stj-mt-wrap { width: calc(100% - 2 * clamp(20px, 2.25vw, 32px)); max-width: 1310px; margin-inline: auto; }
.stj-mt-arrow { color: #A88540; padding-left: .3em; }
.stj-mt-place { color: #526257; font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.stj-mt-note { font-weight: 500; color: #5A685E; font-size: .88em; white-space: nowrap; }
.stj-mt-esp { color: var(--mt-ink); font-weight: 700; }

/* Rows */
.stj-mt-rows { margin: 0; font-variant-numeric: lining-nums tabular-nums; }
.stj-mt-rows > div { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 1.65fr); gap: 12px; align-items: baseline; border-top: 1px solid var(--mt-line); padding: 10px 0; }
.stj-mt-rows dt { font-weight: 650; color: var(--mt-deep); }
.stj-mt-rows dd { margin: 0; font-weight: 500; }
.stj-mt-rows small { display: inline-block; margin-left: 7px; color: #516259; font-size: 13px; }

/* Title band with the chapel pattern fading downward */
.stj-mt-hero { position: relative; isolation: isolate; background: linear-gradient(180deg, #F3F1E7 0, #F7F7F3 235px); }
.stj-mt-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 240px; z-index: -1; opacity: .12; background: url("home/pattern-01-chapel-980.webp") center top / 490px auto; -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); }
.stj-mt-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 36%; grid-template-rows: auto 1fr; padding: 52px 0 88px; align-items: start; }
.stj-mt-intro { grid-area: 1 / 1; padding: 0 40px 28px 0; }
.stj-mt h1 { font-size: clamp(53px, 5.6vw, 83px) !important; letter-spacing: -.043em !important; line-height: .98 !important; }
.stj-mt h1 span { display: block; }
/* The whole photo shows. The Weekend card sits at the foot of the column, and the photo's altar cloth (the bottom 7.3% of the photo,
   about 11% of its width) hangs below, so the top of the cloth, where the cross stands, lines up with the card's bottom edge. */
.stj-mt-photo { grid-area: 1 / 2 / 3 / 3; position: relative; z-index: 1; margin: 0 0 -11% !important; align-self: start; }
.stj-mt-stack { grid-area: 2 / 1; align-self: end; margin-right: -28px; position: relative; }
.stj-mt-photo img, .stj-mt-placeholder { width: 100%; height: auto; aspect-ratio: .76; object-fit: cover; object-position: center bottom; display: block; } /* trims a little ceiling, never the cloth */
.stj-mt-placeholder { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #ECE6DA 0 14px, #E5DECF 14px 28px); color: #6E6450; text-align: center; font-size: 14px; }
.stj-mt-photo::after { content: ""; position: absolute; right: 0; bottom: -16px; width: 77px; height: 1px; background: var(--mt-gold); }
/* The Day Chapel photo gets the same short gold line as the crucifix photo (CR, 2026-11-10). */
.stj-mt-chapel-photo::after { content: ""; position: absolute; right: 0; bottom: -16px; width: 77px; height: 1px; background: var(--mt-gold); }

.stj-mt-weekend { position: relative; padding: 32px 68px 30px 36px; background: var(--mt-paper); border: 1px solid #E2E3D9; box-shadow: 0 16px 34px -26px rgba(35, 62, 45, .32); align-self: end; }
.stj-mt-weekend-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.stj-mt-weekend h2 { font-size: 40px !important; letter-spacing: -.035em !important; }
.stj-mt-weekend-rows > div { grid-template-columns: 104px 1fr; gap: 13px; padding: 12px 0; }
.stj-mt-weekend-rows dd { font-size: 17px; }
.stj-mt-times { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.stj-mt-times > span { white-space: nowrap; }
.stj-mt-times > span:not(:last-child)::after { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; vertical-align: middle; margin-left: 12px; background: #A69368; }

/* A posted holy day or feast: a small card above Weekend Masses */
.stj-mt-feasts { margin: 0 52px 14px 0; display: grid; gap: 8px; position: relative; z-index: 2; }
.stj-mt-feast { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding: 12px 18px 12px 20px; background: #FFFEFA; border: 1px solid #E2DBC6; border-left: 3px solid #AD8B3B; font-size: 16px; color: var(--mt-deep); }
.stj-mt-feast strong { font-family: var(--stj-font-serif, Georgia, serif); font-weight: 500; font-size: 22px; color: var(--mt-ink); }
.stj-mt .stj-mt-feast a { font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.stj-mt .stj-mt-feast a:hover { text-decoration: underline; }

/* Celebrants dropdown */
.stj-mt-presiders { border-top: 1px solid var(--mt-line); color: var(--mt-ink); }
.stj-mt-presiders summary, .stj-mt-special summary { display: flex; align-items: center; gap: 10px; min-height: 46px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; color: var(--mt-ink); }
.stj-mt-presiders summary::-webkit-details-marker, .stj-mt-special summary::-webkit-details-marker { display: none; }
.stj-mt-presiders summary::after, .stj-mt-special summary::after { content: ""; margin-left: auto; width: 7px; height: 7px; flex: none; border: solid var(--mt-ink); border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.stj-mt-presiders[open] summary::after, .stj-mt-special[open] summary::after { transform: translateY(2px) rotate(225deg); }
.stj-mt-range { font-size: 13px; font-weight: 500; color: var(--mt-body); }
.stj-mt-roster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 20px; padding: 2px 0 18px; font-size: 15px; }
.stj-mt-roster h3 { font-family: var(--stj-font-sans, Figtree, sans-serif) !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1.5 !important; margin-bottom: 4px !important; color: var(--mt-deep) !important; }
.stj-mt-roster ul, .stj-mt-special ul { list-style: none; margin: 0; padding: 0; }
.stj-mt-roster li { margin: 0 0 2px; }
.stj-mt-time { display: inline-block; min-width: 68px; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--mt-deep); }

.stj-mt-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid var(--mt-line); padding-top: 18px; }
.stj-mt a.stj-mt-button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; background: var(--mt-ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.stj-mt a.stj-mt-button:hover { background: #1D3C2A; }
.stj-mt-button .stj-mt-arrow { color: #E7CB89; }
.stj-mt-stream { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; }
.stj-mt-stream { gap: 8px; }
.stj-mt-stream a { font-weight: 700; font-size: 15px; }
.stj-mt-stream a:hover { text-decoration: underline; }

/* Daily Mass and Confession */
.stj-mt-week { padding: 8px 0 72px; }
.stj-mt-week-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: start; }
.stj-mt-card { padding: 28px 30px 24px; border-top: 2px solid #A9B3A4; background: var(--mt-paper); }
.stj-mt-confession { background: #EAF0E8; border-top-color: #819782; }
.stj-mt-card h2 { font-size: 37px !important; letter-spacing: -.025em !important; }
.stj-mt-card .stj-mt-place { margin: 9px 0 14px; }
.stj-mt-card .stj-mt-rows { font-size: 16px; }
.stj-mt-card .stj-mt-rows > div { grid-template-columns: minmax(150px, 1fr) minmax(0, 1.3fr); }

/* Day Chapel */
.stj-mt-chapel { padding: 68px 0; background: #EAF0E8; }
.stj-mt-chapel-grid { display: grid; grid-template-columns: minmax(0, 1fr) 480px; align-items: center; } /* the card hugs its content (400px + 40px padding each side); the photo takes the rest (CR, 2026-11-10) */
.stj-mt-chapel-photo { margin: 0 !important; position: relative; z-index: 1; }
.stj-mt-chapel-photo img { width: 100%; height: auto; display: block; }
.stj-mt-chapel-panel { position: relative; margin-left: 0; padding: 32px 40px 30px; background: var(--mt-paper); border: 1px solid #DCE2D8; }
.stj-mt-chapel-panel h2 { font-size: clamp(40px, 4vw, 56px) !important; letter-spacing: -.04em !important; margin-bottom: 18px !important; }
.stj-mt-chapel-panel h3 { font-size: 27px !important; margin-bottom: 9px !important; }
.stj-mt-chapel-panel .stj-mt-rows { font-size: 15px; }
.stj-mt-lines > span { display: block; }
.stj-mt-chapel-panel .stj-mt-rows > div { padding: 8px 0; grid-template-columns: auto minmax(0, 1fr); gap: 16px; }
.stj-mt-chapel-panel .stj-mt-rows dd { text-align: right; } /* times end flush with the row lines */
.stj-mt-adoration { border-top: 1px solid var(--mt-line); margin-top: 8px; padding-top: 16px; font-size: 15px; }
.stj-mt-adoration h3 { margin-bottom: 6px !important; }
.stj-mt-where { margin-top: 8px !important; color: #526257; font-size: 14px; }

/* The three boxes */
.stj-mt-resources { padding: 52px 0 60px; }
.stj-mt-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); justify-content: space-between; gap: 32px; align-items: start; } /* each card as wide as its text, equal space between (CR, 2026-11-10) */
.stj-mt-resource-grid article { padding-top: 16px; border-top: 1px solid #C6B582; font-size: 15px; }
.stj-mt-resource-grid h2 { font-size: clamp(26px, 2.2vw, 32px) !important; margin-bottom: 10px !important; }
.stj-mt-resource-grid a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; text-decoration: none; }
.stj-mt-resource-grid a:hover { text-decoration: underline; }
.stj-mt-contact { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 6px !important; }

/* Special schedules (in the first box) */
.stj-mt-special { border-top: 1px solid var(--mt-line); }
.stj-mt-special + .stj-mt-special { border-top: 1px solid var(--mt-line); }
.stj-mt-special summary { flex-wrap: wrap; row-gap: 0; padding: 6px 0; }
.stj-mt-special-title { font-family: var(--stj-font-serif, Georgia, serif); font-size: 21px; font-weight: 500; }
.stj-mt-special summary .stj-mt-range { flex-basis: 100%; order: 3; }
.stj-mt-special-body { padding: 4px 0 14px; }
.stj-mt-special-date { font-size: 12px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; color: #675833; margin: 8px 0 4px !important; }
.stj-mt-special li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 2px 10px; padding: 3px 0; }
.stj-mt-special-name { font-weight: 600; color: var(--mt-deep); }
.stj-mt-special-name small { display: block; font-weight: 500; color: #526257; font-size: 13px; }
.stj-mt-special-change { margin-top: 8px !important; padding: 8px 12px; background: #F3EFE2; border-left: 2px solid #AE8E50; font-size: 14px; color: var(--mt-deep); }

/* Holy Days & Special Liturgies: the first card opens a full-width panel under the three cards (CR's design .liturgical). */
.stj-mt-holy.has-schedules { position: relative; cursor: pointer; }
.stj-mt-holy-toggle { all: unset; display: flex; align-items: center; gap: 12px; width: 100%; cursor: pointer; font: inherit; color: inherit; }
.stj-mt-holy-toggle:focus-visible { outline: 2px solid var(--mt-ink); outline-offset: 4px; }
.stj-mt-chevron { flex: none; margin-left: auto; width: 9px; height: 9px; border: solid var(--mt-ink); border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.stj-mt-holy-toggle[aria-expanded="true"] .stj-mt-chevron { transform: translateY(2px) rotate(225deg); }
.stj-mt .stj-mt-holy-list { list-style: none; margin: 0; padding: 0; }
.stj-mt-holy-list li { padding: 2px 0; }
.stj-mt-holy-list strong { color: var(--mt-deep); font-weight: 650; }
.stj-mt .stj-mt-holy-hint { margin: 8px 0 0; font-weight: 700; color: var(--mt-ink); font-size: 14px; }
.stj-mt-liturgical { background: #F3F0E7; border-top: 1px solid #E4DED0; padding: 34px 0 40px; scroll-margin-top: 90px; }
.stj-mt-liturgical[hidden] { display: none; }
.stj-mt-liturgical > .stj-mt-wrap > h2 { font-size: clamp(30px, 3vw, 40px) !important; margin-bottom: 18px !important; }
.stj-mt-program { background: var(--mt-paper); border: 1px solid #DDD8C9; scroll-margin-top: 90px; }
.stj-mt-program + .stj-mt-program, .stj-mt-addendum + .stj-mt-program { margin-top: 22px; }
.stj-mt-program-head { position: relative; isolation: isolate; display: flex; justify-content: space-between; gap: 20px; align-items: end; background: #284A35; color: #FFFEFA; padding: 24px 32px 25px; border-bottom: 2px solid #A98B4D; overflow: hidden; }
.stj-mt-program-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(home/pattern-01-chapel-980.webp) right center / 360px auto; opacity: .11; -webkit-mask-image: linear-gradient(90deg, transparent 46%, #000); mask-image: linear-gradient(90deg, transparent 46%, #000); }
.stj-mt .stj-mt-program-head h3 { font-size: clamp(36px, 4.1vw, 56px) !important; letter-spacing: -.035em; color: inherit !important; }
.stj-mt .stj-mt-program-head p { color: #EFDFB7; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; font-weight: 750; margin: 0 0 6px; }
.stj-mt-program-range { color: #FFFEFA; font-size: 16px; font-weight: 650; padding-bottom: 3px; text-align: right; }
.stj-mt-program[data-state="feast"] .stj-mt-program-head { background: #E7EDE4; color: var(--mt-ink); padding-block: 15px; }
.stj-mt .stj-mt-program[data-state="feast"] .stj-mt-program-head p { color: #536450; }
.stj-mt-program[data-state="feast"] .stj-mt-program-range { color: var(--mt-deep); }
.stj-mt .stj-mt-program[data-state="feast"] .stj-mt-program-head h3 { font-size: clamp(30px, 4vw, 42px) !important; }
.stj-mt-ldays { padding: 0 32px; }
.stj-mt-lday { display: grid; grid-template-columns: minmax(132px, .9fr) minmax(0, 2.7fr); gap: 24px; align-items: start; padding: 15px 0; }
.stj-mt-lday + .stj-mt-lday { border-top: 1px solid var(--mt-line); }
.stj-mt-ldate { display: block; font-size: 13px; color: #675833; letter-spacing: .11em; text-transform: uppercase; font-weight: 750; }
.stj-mt .stj-mt-lday h4 { font: 500 27px/.98 var(--stj-font-serif, Georgia, serif) !important; color: var(--mt-ink) !important; margin: 4px 0 0 !important; text-transform: none !important; letter-spacing: -.01em !important; }
.stj-mt .stj-mt-levents { list-style: none; margin: 0; padding: 0; font-variant-numeric: lining-nums tabular-nums; }
.stj-mt-levents li { display: grid; grid-template-columns: 100px minmax(0, 1fr) minmax(118px, .38fr) minmax(90px, .3fr); gap: 5px 14px; align-items: baseline; padding: 3px 0; }
.stj-mt-ltime { font-weight: 750; color: var(--mt-deep); }
.stj-mt-lname { font-weight: 600; color: var(--mt-deep); }
.stj-mt-lplace, .stj-mt-ldetail { font-size: 14px; color: #526257; }
.stj-mt-ldetail[lang="es"] { color: var(--mt-ink); font-weight: 700; }
.stj-mt .stj-mt-lnote { margin: 4px 32px 20px; padding: 9px 13px; background: #F3EFE2; font-size: 15px; color: var(--mt-deep); border-left: 2px solid #AE8E50; }
.stj-mt-addendum { display: grid; grid-template-columns: minmax(132px, .9fr) minmax(0, 2.7fr); gap: 18px 24px; margin-top: 15px; padding: 15px 32px 17px; border: 1px solid #D6DED2; background: #E7EDE4; }
.stj-mt .stj-mt-addendum h3 { font-size: 30px !important; letter-spacing: -.02em; align-self: center; }
.stj-mt .stj-mt-addendum ul { list-style: none; margin: 0; padding: 0; }
.stj-mt-addendum li { display: grid; grid-template-columns: minmax(150px, .65fr) minmax(0, 1.55fr); gap: 4px 13px; padding: 4px 0; font-size: 15px; }
.stj-mt-addendum strong { color: var(--mt-deep); }
.stj-mt-addendum small { font-size: 14px; color: #526257; }

/* MOCKUP ?stj_week=a: one calm card, Daily Mass | Confession divided by a gold hairline. */
.stj-mt-week--a { padding: 40px 0 88px; }
.stj-mt-week--a .stj-mt-week-grid { gap: 0; align-items: stretch; padding: 34px 0 30px; background: var(--mt-paper); border: 1px solid #E2E3D9; box-shadow: 0 16px 34px -26px rgba(35, 62, 45, .32); }
.stj-mt-week--a .stj-mt-card { padding: 0 44px; background: none; border-top: 0; }
.stj-mt-week--a .stj-mt-confession { border-left: 1px solid rgba(168, 133, 64, .55); }

/* MOCKUP ?stj_week=b: an offset pair over a pale sage band, echoing the Weekend card and photo. */
.stj-mt-week--b { position: relative; padding: 24px 0 96px; }
.stj-mt-week--b::before { content: ""; position: absolute; left: 0; right: 0; top: 150px; bottom: 56px; background: #F0F3EE; }
.stj-mt-week--b .stj-mt-week-grid { position: relative; grid-template-columns: 45% 50%; justify-content: space-between; gap: 0; align-items: stretch; }
.stj-mt-week--b .stj-mt-daily { margin-bottom: 48px; border-top: 0; border: 1px solid #E2E3D9; box-shadow: 0 16px 34px -26px rgba(35, 62, 45, .32); }
.stj-mt-week--b .stj-mt-confession { margin-top: 48px; border-top: 2px solid #819782; box-shadow: 0 16px 34px -28px rgba(35, 62, 45, .28); }

/* MOCKUP ?stj_week=c: a forest-green band with two compact columns. */
.stj-mt-week--c { position: relative; isolation: isolate; margin: 40px 0 0; padding: 80px 0; background: #295038; }
.stj-mt-week--c::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; background: url("home/pattern-01-chapel-980.webp") center / 490px auto; }
.stj-mt-week--c .stj-mt-week-grid { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 108px; align-items: start; } /* space only, no centre line (CR) */
.stj-mt-week--c .stj-mt-card { padding: 0; background: none; border-top: 0; color: #F4EFE2; }
.stj-mt .stj-mt-week--c h2 { color: #FFFEFA !important; }
.stj-mt-week--c .stj-mt-place { color: #D9BD7C; }
.stj-mt-week--c .stj-mt-rows > div { grid-template-columns: auto minmax(0, 1fr); gap: 20px; border-top-color: rgba(255, 253, 245, .15); }
.stj-mt-week--c .stj-mt-rows dt { color: #FFFEFA; }
.stj-mt-week--c .stj-mt-rows dd { text-align: right; color: #F4EFE2; }
.stj-mt-week--c .stj-mt-rows small, .stj-mt-week--c .stj-mt-note { color: #D9CFB4; }
.stj-mt-week--c .stj-mt-esp { color: #E9D49F; }
.stj-mt-week--c + .stj-mt-chapel { margin-top: 0; }

/* MOCKUP ?stj_week=d: the week at a glance on one ivory card. */
.stj-mt-week--d { padding: 40px 0 80px; }
.stj-mt-glance { padding: 30px 32px 28px; background: var(--mt-paper); border: 1px solid #E2E3D9; box-shadow: 0 16px 34px -26px rgba(35, 62, 45, .32); }
.stj-mt-glance-legend { display: flex; gap: 36px; align-items: baseline; margin-bottom: 18px; }
.stj-mt .stj-mt-glance-legend h2 { font-size: 34px !important; letter-spacing: -.02em !important; }
.stj-mt-glance-legend .stj-mt-place { display: inline; margin-left: 8px; font-family: var(--stj-font-sans, sans-serif); vertical-align: middle; }
.stj-mt .stj-mt-glance-legend .stj-mt-glance-conf { color: #8A6B2B !important; }
.stj-mt .stj-mt-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--mt-line); }
.stj-mt-days > li { padding: 16px 14px 12px; font-variant-numeric: lining-nums tabular-nums; }
.stj-mt-days > li:nth-child(even) { background: rgba(41, 80, 56, .035); } /* faint column tints, no dividers (CR) */
.stj-mt .stj-mt-days h3 { font-size: 22px !important; margin-bottom: 10px !important; }
.stj-mt .stj-mt-days ul { list-style: none; margin: 0; padding: 0; }
.stj-mt-day-mass li { font-weight: 650; color: var(--mt-deep); padding: 2px 0; }
.stj-mt-day-conf { margin-top: 12px; padding-top: 10px; border-top: 1px solid #E7DDC3; }
.stj-mt .stj-mt-day-label { margin: 0 0 4px; font-size: 13px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: #8A6B2B; }
.stj-mt-day-conf li { font-size: 15px; padding: 2px 0; color: var(--mt-deep); }
.stj-mt-day-conf small { display: block; font-size: 13px; color: #526257; }
.stj-mt-day-sun p { margin: 0; font-size: 14px; }

/* Misas en español on the exact centre line, the outer two flush left and right (CR, 2026-11-10). ?stj_bottom=gap (editors) shows the earlier equal-gap row. */
@media (min-width: 861px) {
	.stj-mt-resources:not(.stj-mt-resources--gap) .stj-mt-resource-grid { grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr); justify-content: stretch; }
	.stj-mt-resources:not(.stj-mt-resources--gap) .stj-mt-resource-grid > article:nth-child(1) { justify-self: start; }
	.stj-mt-resources:not(.stj-mt-resources--gap) .stj-mt-resource-grid > article:nth-child(2) { justify-self: center; text-align: center; }
	.stj-mt-resources:not(.stj-mt-resources--gap) .stj-mt-resource-grid > article:nth-child(3) { justify-self: end; }
}

@media (max-width: 1080px) {
	.stj-mt-hero-grid { grid-template-columns: minmax(0, 1fr) 35%; }
	.stj-mt-weekend { padding: 26px 46px 24px 26px; }
	.stj-mt-weekend-rows > div { grid-template-columns: 84px 1fr; }
	.stj-mt-week-grid { gap: 24px; }
	.stj-mt-card { padding-inline: 22px; }
	.stj-mt-card .stj-mt-rows > div { grid-template-columns: minmax(130px, 1fr) minmax(0, 1.3fr); }
	.stj-mt-chapel-grid { grid-template-columns: minmax(0, 1fr) 440px; }
	.stj-mt-chapel-panel { padding-inline: 32px; }
	.stj-mt-resource-grid { gap: 22px; }
}
@media (max-width: 860px) {
	.stj-mt-chapel-grid { grid-template-columns: minmax(0, 1fr) 380px; }
	.stj-mt-chapel-panel { padding-inline: 24px; }
	.stj-mt-resource-grid { grid-template-columns: 1fr 1fr; }
	.stj-mt-resource-grid article:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.stj-mt-hero { background: linear-gradient(180deg, #F3F1E7 0, #F7F7F3 200px); }
	.stj-mt-hero::before { height: 200px; background-size: 380px auto; }
	.stj-mt-hero-grid { grid-template-columns: minmax(0, 1fr) clamp(96px, 27vw, 150px); grid-template-rows: auto auto; gap: 0 14px; padding: 26px 0 28px; }
	.stj-mt-intro { margin-bottom: 20px; }
	.stj-mt-intro { padding: 0; align-self: center; }
	.stj-mt h1 { font-size: clamp(38px, 10.4vw, 58px) !important; line-height: .95 !important; }
	.stj-mt-photo { grid-area: 1 / 2; align-self: center; margin: 0 0 20px !important; }
	.stj-mt-photo img, .stj-mt-placeholder { aspect-ratio: 2 / 3; }
	.stj-mt-placeholder { font-size: 10px; }
	.stj-mt-photo::after { width: 36px; bottom: -8px; }
	.stj-mt-chapel-photo::after { width: 36px; bottom: -8px; }
	.stj-mt-feasts { margin-right: 0; }
	.stj-mt-liturgical { padding: 22px 0 26px; }
	.stj-mt-program-head { padding: 15px 15px 14px; gap: 6px; align-items: start; flex-direction: column; }
	.stj-mt .stj-mt-program-head h3 { font-size: 36px !important; }
	.stj-mt-program-range { font-size: 14px; text-align: left; }
	.stj-mt-ldays { padding: 0 15px; }
	.stj-mt-lday { grid-template-columns: 1fr; gap: 8px; padding: 13px 0; }
	.stj-mt-levents li { grid-template-columns: 76px minmax(0, 1fr); gap: 1px 9px; padding: 5px 0; font-size: 15px; }
	.stj-mt-lplace, .stj-mt-ldetail { grid-column: 2; }
	.stj-mt .stj-mt-lnote { margin: 2px 15px 15px; font-size: 14px; }
	.stj-mt-addendum { grid-template-columns: 1fr; gap: 6px; margin-top: 10px; padding: 12px 15px; }
	.stj-mt-addendum li { grid-template-columns: 1fr; gap: 0; font-size: 15px; }
	.stj-mt-stack { grid-area: 2 / 1 / 3 / 3; margin: 0; }
	.stj-mt-feasts { margin: 0 0 12px; }
	.stj-mt-feast { padding: 10px 14px; }
	.stj-mt-feast strong { font-size: 20px; }
	.stj-mt-weekend { margin: 0; padding: 20px 16px 16px; }
	.stj-mt-weekend h2 { font-size: 33px !important; }
	.stj-mt-place { font-size: 12px; letter-spacing: .1em; }
	.stj-mt-weekend-rows > div { grid-template-columns: 74px 1fr; gap: 8px; padding: 9px 0; }
	.stj-mt-weekend-rows dt, .stj-mt-weekend-rows dd { font-size: 16px; }
	.stj-mt-times { gap: 4px 9px; }
	.stj-mt-times > span:not(:last-child)::after { margin-left: 9px; }
	.stj-mt-roster { grid-template-columns: 1fr; gap: 10px; }
	.stj-mt-links { gap: 10px 16px; }
	.stj-mt-stream { flex-wrap: wrap; gap: 0 10px; }
	.stj-mt-week { padding: 0 0 40px; }
	.stj-mt-week-grid { grid-template-columns: 1fr; gap: 16px; }
	.stj-mt-week--a .stj-mt-week-grid { padding: 22px 0 18px; }
	.stj-mt-week--a .stj-mt-card { padding: 0 16px; }
	.stj-mt-week--a .stj-mt-confession { border-left: 0; border-top: 1px solid rgba(168, 133, 64, .55); margin-top: 18px; padding-top: 20px; }
	.stj-mt-week--b { padding: 0 0 40px; }
	.stj-mt-week--b::before { display: none; }
	.stj-mt-week--b .stj-mt-week-grid { grid-template-columns: 1fr; gap: 16px; }
	.stj-mt-week--b .stj-mt-daily, .stj-mt-week--b .stj-mt-confession { margin: 0; }
	.stj-mt-week--c { margin-top: 24px; padding: 48px 0; }
	.stj-mt-week--c .stj-mt-week-grid { grid-template-columns: minmax(0, 1fr); }
	.stj-mt-week--c .stj-mt-week-grid { gap: 44px; }
	.stj-mt-week--d { padding: 8px 0 40px; }
	.stj-mt-glance { padding: 20px 16px 12px; }
	.stj-mt-glance-legend { flex-wrap: wrap; gap: 4px 20px; }
	.stj-mt .stj-mt-glance-legend h2 { font-size: 28px !important; }
	.stj-mt .stj-mt-days { grid-template-columns: 1fr; }
	.stj-mt-days > li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 4px 12px; padding: 12px 8px; }
	.stj-mt .stj-mt-days h3 { font-size: 20px !important; margin: 0 !important; grid-row: span 2; }
	.stj-mt-day-conf { margin-top: 4px; padding-top: 6px; }
	.stj-mt-card { padding: 20px 16px 16px; }
	.stj-mt-card h2 { font-size: 32px !important; }
	.stj-mt-card .stj-mt-rows > div { grid-template-columns: minmax(118px, .9fr) minmax(0, 1.25fr); gap: 8px; }
	.stj-mt-rows small { display: block; margin-left: 0; }
	.stj-mt-chapel { padding: 30px 0 36px; }
	.stj-mt-chapel-grid { grid-template-columns: 1fr; }
	.stj-mt-chapel-panel { margin: 24px 0 0; padding: 24px 16px 20px; z-index: 2; } /* below the photo's gold line, as under the crucifix */
	.stj-mt-chapel-panel h2 { font-size: 42px !important; }
	.stj-mt-chapel-panel .stj-mt-rows > div { grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
	.stj-mt-resources { padding: 30px 0 40px; }
	.stj-mt-resource-grid { grid-template-columns: 1fr; gap: 20px; }
}
