/* Keep comparable home-page item headings and copy on one responsive type scale. */
.events-section,.bulletin-section,.liturgical-section,.clergy-section,.mass-overview{--home-item-title-size:1.3rem;--home-item-copy-size:1rem}
@media(max-width:760px){.events-section,.bulletin-section,.liturgical-section,.clergy-section,.mass-overview{--home-item-title-size:1.25rem}}
.hero{position:relative;color:white;background:#242a31}.slides{display:grid;grid-template-areas:"slide";position:relative}.slide{min-width:0;grid-area:slide;position:relative;height:auto;opacity:0;pointer-events:none;transition:opacity .9s ease-in-out}.slide.is-active{opacity:1;pointer-events:auto;z-index:1}.hero:not(.is-enhanced) .slide:first-child,.hero:not(.is-enhanced) .slide:target{opacity:1;pointer-events:auto;z-index:1}.slide .page-banner-media{display:block}
.slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.accent-line{width:380px;max-width:65%;height:4px;background:#3281b5;margin:4px 0 18px}.hero-controls{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;flex-direction:row;align-items:center;gap:10px;z-index:2}.intro-section{background:var(--paper);padding-block:55px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:34px}.card{background:white;border:1px solid var(--line);display:flex;flex-direction:column}.card>img{width:100%;aspect-ratio:16/9;object-fit:cover}.card-body{padding:24px;display:flex;align-items:flex-start;flex-direction:column;flex:1}.card h2{font-size:1.45rem}.card p{margin:0 0 22px;line-height:1.65;font-size:.97rem}.card .button{margin-top:auto;text-transform:uppercase;font-size:.75rem}.mass-section{display:grid;grid-template-columns:1fr 1fr;background:var(--dark);color:#f4f5f7}.mass-image{height:100%;width:100%;object-fit:cover;min-height:700px}.mass-content{padding:55px clamp(24px,4vw,70px)}.mass-content h2{font-family:var(--slab);font-size:var(--section-heading-size);font-weight:300;line-height:1.2;text-transform:uppercase}.mass-content h2 span{font-weight:700;color:#6c757d}.mass-content h2 span{color:var(--gold-on-dark)}.schedule-grid{display:grid;gap:18px}.schedule-grid h3{font-family:var(--font-primary);font-size:.95rem;margin:0 0 5px}.schedule-grid h3 .icon{color:var(--gold-on-dark);margin-right:8px}.schedule-grid ul{margin:0 0 0 28px;padding:0;list-style:none;font-size:.94rem}.schedule-grid li{margin-bottom:3px}.mass-content .button{margin-top:30px}.section-title{font-family:var(--slab);font-size:var(--section-heading-size);font-weight:600;line-height:1.2;margin-bottom:25px}.section-title span{font-weight:700;color:#6c757d}.empty-state{padding:24px;background:white;border-left:4px solid var(--blue)}.event-list{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.event-list article{border:1px solid var(--line);background:white;padding:24px}.event-list time{color:#4f5c6e;font-weight:bold}.bulletin-section{color:#fff;padding:0}.bulletin-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"image content";align-items:stretch}
.bulletin-content{grid-area:content;min-width:0;align-self:center}
/* In the split layout the text starts at the photo seam and ends at the page gutter. */
@media (min-width:1001px) {
 .bulletin-content {
  --public-left-edge:clamp(24px,4vw,70px);
  --public-right-edge:max(20px,calc(100% - var(--width)/2),var(--public-safe-right,0px));
  width:auto;
  margin-left:var(--public-left-edge);
  margin-right:var(--public-right-edge);
 }
}
.bulletin-content>.button{background:var(--paper);color:var(--ink);border-color:var(--paper)}.bulletin-content>.button:hover{background:#e8e3d5;border-color:#e8e3d5}.bulletin-content>p{max-width:540px;line-height:1.7;margin-bottom:24px}.latest-bulletin{background:var(--paper);color:var(--ink);border-left:4px solid var(--blue);padding:22px 26px;margin-top:28px}.latest-bulletin>.icon{font-size:2.3rem;color:#a52b2b;margin-bottom:18px}.latest-bulletin h3{font-size:var(--home-item-title-size);line-height:1.3;margin:0 0 .6rem}.bulletin-latest-link{font-size:var(--home-item-copy-size);margin:0;display:flex;align-items:center;gap:.5rem}.bulletin-latest-link .icon{color:#c0392b;flex-shrink:0}.news-section{--public-section-padding:0;background:#fff;color:var(--ink)}.news-section details{border-bottom:1px solid #b4bfcc;padding:0}.news-section summary{cursor:pointer;padding:16px 8px;font-weight:700;min-height:48px}.news-section details>div{padding:0 25px 24px;max-width:1000px}.news-section .section-title{margin-bottom:12px}
@media(max-width:1000px){.mass-section{grid-template-columns:1fr}.mass-image{display:none}.schedule-grid{grid-template-columns:repeat(2,1fr);gap:24px}.cards{gap:18px}.card-body{padding:18px}}
@media(max-width:760px){.intro-section{padding-block:30px}.cards,.event-list,.cards{gap:24px}.card>img{max-height:240px}.card-body{padding:24px}.mass-content{padding:36px 20px}.schedule-grid{grid-template-columns:1fr}}














/* Liturgical events: dated rows on the light page background, as the live site renders them. */
.liturgical-section .calendar-status,.readings-section .calendar-status{margin:0}
.event-row{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:center}
.event-item-date{background:var(--navy);color:#fff;text-align:center;padding:8px 16px;box-shadow:0 16px 48px #0000002d;min-width:65px}
.event-item-date.is-repeat{background:transparent;box-shadow:none}
.event-day{font-size:1.75rem;font-weight:700;line-height:1.2}
.event-month{font-size:.85rem;font-weight:700;text-transform:uppercase;line-height:1.2}
.event-body h3{font-family:var(--font-primary);font-size:var(--home-item-title-size);font-weight:700;line-height:1.3;margin:0;color:#212529}
.liturgical-section .event-body{min-width:0;overflow-wrap:anywhere}
.event-item-desc{font-size:var(--home-item-copy-size,1rem);color:#212529}
.liturgical-section .event-item-desc{display:block;font-size:1.4rem;line-height:1.4;margin-top:.1rem}
.liturgical-section hr{border:0;border-top:1px solid #0000001a;margin:16px 0}
.event-credit{text-align:right;font-size:.9rem}
.badge{display:inline-block;background:#0d6879;color:#fff;font-size:.825rem;font-weight:700;padding:.2rem .33rem;border-radius:4px}
.event-credit a,.tabs-footer a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.liturgical-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.25rem 1rem;margin-top:8px}
.liturgical-calendar-link{margin:0}
.liturgical-calendar-link a{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;font-weight:700}
/* Daily readings: dark section, language tabs beside the readings. */
.readings-section{--text-link-color:var(--gold-on-dark);--text-link-hover:#fff;background:#343a40;color:#fff}
.section-title.light{color:#fff}
.section-title.light span{color:var(--gold-on-dark)}
.readings-section .calendar-status{color:#e6e9ee}
.readings-section a{color:var(--gold-on-dark)}
.readings-layout{display:grid;gap:30px}
.readings-side,.readings-panes{min-width:0;overflow-wrap:anywhere}
.readings-side{margin-bottom:24px;padding:16px 0;border-left:1px solid #808080}
.readings-tabs{margin:0;padding:0;font-size:1.1rem;line-height:1.3}
.tabs-header{padding:10px;color:#808080;font-size:1.1rem;text-transform:uppercase}
.tabs-header small{font-size:.88rem;text-transform:uppercase}
.readings-tab{display:block;width:100%;text-align:left;min-height:44px;padding:.75rem;background:#6c757d;color:#000;border:1px solid #808080;border-left-color:#343a40;border-right:0;margin:0 0 -1px;font-family:inherit;font-size:1.1rem;font-weight:400;line-height:1.3;position:relative}
/* The left rail continues through the season and credit. The active tab opens
   that rail; its white right marker is separate from the inactive row borders. */
.readings-tab[aria-selected="true"]{background:#343a40;color:#fff;margin:0 -1px -1px;width:calc(100% + 2px)}
/* These tabs form one menu surface, so they stay square instead of inheriting
   the shared rounded-control and status-badge exceptions. */
.readings-section :is(.readings-tab,.tabs-footer .badge),.liturgical-section .event-credit .badge{border-radius:0!important}
.readings-tab:focus-visible{outline:2px solid #e3a21e;outline-offset:-3px}
.readings-tab span{font-size:1.1rem;font-weight:700;text-transform:uppercase;line-height:1.3}
.tabs-footer{padding:10px;color:#808080;font-size:1.1rem;font-weight:700}.tabs-footer small{font-size:.88rem;font-weight:400}
.readings-pane:focus-visible{outline:3px solid #e3a21e;outline-offset:4px}
/* Keep liturgical event titles at the same size as the daily reading heading. */
.liturgical-section .event-body h3,.readings-heading{font-size:1.75rem}
.readings-heading{grid-column:1/-1;min-width:0;overflow-wrap:anywhere;font-weight:700;color:#fff;margin:0}
/* The first reading and the selector begin on the same row below the shared heading. */
.readings-pane>:first-child{margin-top:0}
.reading-row{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:center;margin-top:1.5rem}
.readings-icon{width:79px;height:79px;border-radius:50%;padding:10px;display:grid;place-items:center;box-shadow:0 8px 17px #00000033,0 6px 20px #00000030}
.readings-icon img{width:59px;height:59px}
.u-icon{background:#97abcc}
.b-icon{background:#be3e1d}
.reading-label {
    color: var(--gold-on-dark);
}
.reading-text h4{font-size:1rem;font-weight:700;color:#fff;margin:0 0 8px}
.reading-text div{font-size:1.1rem;color:#fff}
.readings-pane[lang="en"] .reading-text :is(h4,div){font-size:1.25rem}
/* Saint of the day: the live page shows it as a full-width card. */
.saint-card{display:grid;grid-template-columns:auto 1fr;gap:26px;align-items:start;background:#fff;border-left:4px solid var(--blue);box-shadow:0 10px 24px #26304d1f;padding:28px 32px}.saint-body{min-width:0}
.saint-name{font-family:var(--slab);font-size:1.75rem;font-weight:700;line-height:1.2;color:var(--navy);margin:0 0 .5rem}
.saint-summary{margin:0}.saint-card .accent-line{width:64px;max-width:100%;height:3px;margin:0 0 14px}.saint-more{margin:14px 0 0;font-size:.9rem}
.calendar-credit{margin:0 0 0 auto;color:#5b6674;font-size:.85rem;line-height:1.5;text-align:end}
.readings-side .calendar-credit{margin:.5rem .625rem 0;color:#e6e9ee;font-size:.8rem;text-align:start}
@media(min-width:768px){.readings-layout{grid-template-columns:2fr 1fr}.readings-panes{order:1}.readings-side{order:2}}
@media(max-width:991px){.event-item-desc{display:none}}
@media(max-width:760px){
 .event-row{gap:14px}
 .event-day{font-size:1.5rem}
 .event-item-date{min-width:58px;padding:6px 12px}
 .liturgical-section .event-body h3,.readings-heading{font-size:1.4rem}
 .liturgical-section .event-item-desc{font-size:1.2rem}
 .reading-row{gap:14px;margin-top:1.1rem}
 .readings-icon{width:60px;height:60px;padding:8px}
 .readings-icon img{width:44px;height:44px}
 .saint-card{grid-template-columns:1fr;gap:16px;padding:22px}.saint-name{font-size:1.35rem}
}

.bulletin-section,
.clergy-section {
    background: #343a40;
}

.clergy-section .section-title {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    color: #fff;
    text-align: center;
}

.clergy-section .section-title span {
    color: var(--gold-on-dark);
}

/* Reserve room for the portraits that overlap the top of each profile card. */
.clergy-grid {
    --clergy-portrait-size: clamp(13rem, 21vw, 17rem);
    --clergy-portrait-overlap: calc(var(--clergy-portrait-size) * .42);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
    row-gap: calc(var(--clergy-portrait-overlap) + 1.75rem);
    padding-top: var(--clergy-portrait-overlap);
}

.clergy-card {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: clamp(1rem, 2vw, 1.5rem);
    padding: 0 clamp(1rem, 3vw, 2.5rem) clamp(1.75rem, 4vw, 3rem);
    border: 1px solid #e3d9c4;
    border-top: 3px solid var(--gold-on-dark);
    background: linear-gradient(160deg, #fff 25%, var(--paper));
    text-align: center;
}

.clergy-portrait {
    display: grid;
    width: min(100%, var(--clergy-portrait-size));
    aspect-ratio: 1;
    margin-top: calc(-1 * var(--clergy-portrait-overlap));
    place-items: center;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--gold-on-dark), 0 12px 28px #17213840;
    background: #75acd7 url('/images/clergy-backdrop.webp') center / cover;
}

.clergy-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clergy-portrait .icon {
    width: 50%;
    height: 50%;
    color: #ffffffc4;
}

.clergy-details h3 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.5rem, 1.125rem + 1.25vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.clergy-role {
    display: inline-block;
    margin: .75rem 0 0;
    padding: .4rem .85rem;
    border: 1px solid #d9c8a4;
    background: #f6efe1;
    color: var(--navy);
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.clergy-card > :is(p.preline, a) {
    max-width: 46ch;
    margin: 0;
    font-size: var(--home-item-copy-size);
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .clergy-grid {
        --clergy-portrait-size: clamp(11rem, 46vw, 13rem);
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Light section backgrounds share --paper; dark sections retain their contrast. */
.events-section{background:var(--paper)}
.liturgical-section{background:var(--paper)}
.saint-section{background:var(--paper)}
/* Parish news ticker. The live band, badge and uppercase headlines, travelling horizontally
   instead of cycling vertically. The track holds the list twice so the loop has no seam. */
.news-ticker{display:flex;align-items:stretch}
.news-badge{display:flex;align-items:center;gap:.5rem;margin:0;padding:0 15px;background:#be3e1d;color:#fff;font-family:var(--font-primary);font-size:1.75rem;font-weight:700;text-transform:uppercase;white-space:nowrap}
.news-badge .icon{width:1.5rem;height:1.5rem}
.news-window{flex:1;min-width:0;overflow:hidden;display:flex;align-items:center;height:60px}
.news-track{display:flex;width:max-content;animation:news-scroll 70s linear infinite}
.news-list{display:flex;align-items:center;gap:2.6rem;list-style:none;margin:0;padding:0 1.3rem}
.news-list a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-size:1.25rem;text-transform:uppercase;text-decoration:none;white-space:nowrap;letter-spacing:.02em}
.news-list a:hover,.news-list a:focus-visible{text-decoration:underline dotted;text-underline-offset:.25em}
.news-list li{position:relative}
.news-list li+li::before{content:"";position:absolute;left:-1.3rem;top:50%;width:5px;height:5px;margin-top:-2px;border-radius:50%;background:#8d959d}
.news-pause{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;align-self:center;margin-left:12px;background:transparent;color:var(--ink);border:1px solid #6c757d;border-radius:2px;padding:0}
.news-pause .icon{display:block;width:18px;height:18px}
.news-pause[aria-pressed="false"] .news-play-symbol,.news-pause[aria-pressed="true"] .news-pause-symbol{display:none}
.news-pause:hover{background:var(--paper);color:var(--ink);border-color:var(--ink)}
/* A headline holds still under the pointer or keyboard focus. The separate play
   button can resume motion while it still has focus after a tap or keypress. */
.news-window:focus-within .news-track,.news-ticker.is-paused .news-track{animation-play-state:paused}
@media(hover:hover) and (pointer:fine){
 .news-window:hover .news-track{animation-play-state:paused}
}
@keyframes news-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){
 .news-track{animation:none}
 .news-window{overflow-x:auto}
 .news-pause{display:none}
}
@media(max-width:767.98px){
 /* Give scrolling headlines the full content width on phones. */
 .news-ticker{display:grid;grid-template-columns:minmax(0,1fr) auto}
 .news-badge{grid-area:1/1;gap:.5rem;padding:0;background:transparent;color:var(--navy);text-transform:none}
 .news-badge .icon{width:1.25rem;height:1.25rem;color:#be3e1d}
 .news-pause{grid-area:1/2;margin:0;border-color:transparent}
 .news-window{grid-column:1/-1;grid-row:2;height:auto;min-height:44px;border-top:1px solid var(--line)}
 .news-list{padding-inline:0 2.6rem}
 .news-list a{font-size:.9375rem}
}
/* The live selected tab carries a 4px white bar down its right edge, drawn as a pseudo-element
   over the border. It is the clearest marker of which language is showing. */
.readings-tab[aria-selected="true"]::before{content:"";position:absolute;top:0;right:0;bottom:0;width:4px;background:#fff}
/* Slideshow controls: a pause button beside the dots, both centred on the
   hero. Each dot has a 44px touch target around its 14px mark, with space between targets. */
.hero-dots{display:flex;gap:4px}
.hero-dot{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.hero-dot::before{content:"";width:14px;height:14px;border:2px solid #fff;border-radius:50%;background:transparent;transition:transform .2s ease,background .2s ease}
.hero-dot.is-active::before{background:#fff}
.hero-dot:hover::before{transform:scale(1.2)}
.hero-dot:focus-visible{outline:3px solid #e3a21e;outline-offset:3px}
/* Painted on hover or focus rather than parked over the artwork. Opacity rather than
   visibility, which would take the button out of the focus order and defeat the point. */
.hero-pause{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:2px solid #fff;border-radius:50%;background:#00000059;cursor:pointer;opacity:0;transform:translateY(4px);transition:opacity .25s ease,transform .25s ease,background .25s ease}
.hero-pause[hidden]{display:none}
.hero-pause:hover{background:#0009}
.hero:hover .hero-pause,.hero:focus-within .hero-pause,.hero-pause:focus-visible{opacity:1;transform:translateY(0)}
/* A paused slideshow keeps its control on screen; hiding the way to resume would strand
   anyone who used it. */
.hero-pause[aria-pressed="true"]{opacity:1;transform:translateY(0)}
.hero-pause:focus-visible{outline:3px solid #e3a21e;outline-offset:3px}
/* Two bars while playing, a triangle once paused, drawn with borders so the control costs
   no extra asset. */
.hero-pause-glyph{width:8px;height:9px;border-left:2px solid currentColor;border-right:2px solid currentColor;color:#fff}
.hero-pause[aria-pressed="true"] .hero-pause-glyph{width:0;height:0;margin-left:2px;border-left:8px solid currentColor;border-right:0;border-top:5px solid transparent;border-bottom:5px solid transparent}
@media(prefers-reduced-motion:reduce){.hero-pause{transition:none}.hero-dot::before{transition:none}}
/* Hover and focus are both unavailable on a touch screen until something has been tapped,
   which would leave the one control WCAG 2.2.2 asks for invisible to a phone user. */
@media(pointer:coarse){
 .hero-pause{opacity:1;transform:translateY(0);position:relative}

}
/* Card headings are live's h3 role: the bold slab stack at 28px. */
.card-body h2{font-family:var(--slab);font-size:1.75rem;font-weight:700;line-height:1.2;color:var(--ink)}
@media(max-width:760px){.card-body h2{font-size:1.4rem}.mass-content h2 span{font-weight:700}}
/* The photograph fills the left half edge to edge, at the text's natural height. */
.bulletin-image{grid-area:image;align-self:stretch;min-height:440px;position:relative;overflow:hidden;background:#e7ded0}
.bulletin-image picture{display:contents}
.bulletin-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
@media(max-width:1000px){
 .bulletin-grid{grid-template-columns:1fr;grid-template-areas:"image" "content"}
 .bulletin-image{width:100%;min-height:0;aspect-ratio:3/2;max-height:min(420px,50svh)}
}
/* Clear day dividers and a stable time column keep the complete week easy to scan. */
.schedule-grid{gap:16px}
.schedule-day{min-width:0;padding-bottom:16px;border-bottom:1px solid #ffffff24}
.schedule-grid h3{color:#d9e5f2;letter-spacing:.07em;margin-bottom:10px}
.schedule-grid ul{margin-left:0;line-height:1.5}
.schedule-grid li{display:flex;align-items:baseline;gap:14px;margin-bottom:7px}
.schedule-time{flex:0 0 76px;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}
.schedule-grid li>span{min-width:0}
.mass-content .button{min-height:44px}
/* Crossfade, as MCD does it. The slides share one grid cell so they overlap exactly and the
   tallest sets the height; a fade has no scroll position to get wrong and no direction, so
   wrapping from the last slide back to the first needs no special case. The copy lifts in with
   the fade, but only once the slideshow has actually moved, so the first paint is exempt. */
@keyframes heroCopyIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.hero.has-rotated .slide.is-active .hero-copy{animation:heroCopyIn .9s ease-out both}
/* Aroma's photo zoom. Freeze the outgoing image at its current scale through the fade. */
@media(prefers-reduced-motion:no-preference){
 .hero .slide img{transform:scale(1.06)}
 .hero .slide:is(.is-active,.is-leaving) img{animation:heroPhotoZoom 12.5s linear forwards paused}
 .hero:has(.hero-pause):not(.is-paused,.is-hidden) .slide.is-active img{animation-play-state:running}
}
@keyframes heroPhotoZoom{
 from{transform:scale(1.06)}
 to{transform:scale(1.15)}
}
@media(prefers-reduced-motion:reduce){
 .slide{transition:none}
 .hero.has-rotated .slide.is-active .hero-copy{animation:none}
}


/* Reduced-motion layouts expose complete headlines without timed movement.
   The second list only exists to make the desktop ticker loop seamlessly. */
@media(prefers-reduced-motion:reduce){
 .news-ticker{display:grid;grid-template-columns:minmax(0,1fr)}
 .news-badge{padding:.75rem 1rem;font-size:1.15rem;gap:.6rem}
 .news-badge span{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal}
 .news-window{display:block;height:auto;overflow:visible}
 .news-track{display:block;width:auto;animation:none;transform:none}
 .news-list{display:grid;gap:0;padding:.35rem 1rem}
 .news-list[aria-hidden="true"]{display:none}
 .news-list li+li{border-top:1px solid var(--line)}
 .news-list li+li::before{display:none}
 .news-list a{display:flex;align-items:center;min-height:44px;padding:.5rem 0;font-size:.9rem;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
 .news-pause{display:none}
}
/* A quiet, practical weekly schedule directly after the photographic welcome. */
.mass-section.mass-overview{display:block;background:var(--paper);color:var(--ink);padding-inline:0;--text-link-color:#26304d;--text-link-hover:#775c27}
.mass-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:26px}
.mass-heading .section-title{margin:0}
.mass-visit{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:.9rem;font-weight:700;text-underline-offset:4px}
.home-next-mass{display:none}
.mass-overview .schedule-grid{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));gap:0 24px;align-items:stretch}
.mass-overview .schedule-day{padding:20px 0 16px;border:0;border-top:1px solid #d7d8d7;min-width:0}
.mass-overview .schedule-day h3{font-size:var(--home-item-title-size);color:var(--navy);letter-spacing:0;text-transform:none;margin:0 0 14px;font-weight:700}
.mass-overview .schedule-day ul{margin:0;padding:0;list-style:none;font-size:.88rem;line-height:1.55}
.mass-overview .schedule-day li{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:0 0 12px}
.mass-overview .schedule-day li:last-child{margin-bottom:0}
.mass-overview .schedule-time{flex:none;font-size:1rem;line-height:1.3;color:var(--navy);font-variant-numeric:tabular-nums}
.mass-overview .schedule-day li>span{color:#526071;overflow-wrap:anywhere}
.mass-overview .schedule-sunday{grid-row:span 2;padding:24px;background:var(--navy);border:0;border-top:3px solid #b69b62;border-radius:4px}
.mass-overview .schedule-sunday h3{color:#e5d4ac;margin-bottom:22px}
.mass-overview .schedule-sunday li{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #ffffff26}
.mass-overview .schedule-sunday li:last-child{border:0;padding-bottom:0;margin-bottom:0}
.mass-overview .schedule-sunday .schedule-time{font-size:1.35rem;color:#fff}
.mass-overview .schedule-sunday li>span{color:#e5e9f1}
@media(max-width:1100px){
 .mass-overview .schedule-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
 .mass-overview .schedule-sunday{grid-column:1/-1;grid-row:auto}
 .mass-overview .schedule-sunday ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
 .mass-overview .schedule-sunday li{padding:0 16px 0 0;margin:0;border:0;border-right:1px solid #ffffff26}
}
@media(max-width:767.98px){
 .mass-heading{margin-bottom:20px}
 .mass-visit{display:none}
}
@media(max-width:760px){
 .mass-overview .schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
 .mass-overview .schedule-sunday{padding:22px}
 .mass-overview .schedule-sunday ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .mass-overview .schedule-sunday li{border:0;padding:0}
}
@media(max-width:420px){
 .mass-overview .schedule-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .mass-overview .schedule-day:not(.schedule-sunday) li{flex-direction:row;gap:12px}
 .mass-overview .schedule-day:not(.schedule-sunday) .schedule-time{flex:0 0 80px}
}

/* A Sunday time and its continuation lines form one phone grid cell. Without
   scripting, use a linear list so a continuation cannot look like another time. */
@media(max-width:767.98px){
 .mass-overview .schedule-sunday ul{display:block}
 .mass-overview .schedule-sunday li{min-width:0;padding:0;border:0}
 .mass-overview .schedule-sunday ul:not(.schedule-mobile-grouped)>li+li{margin-top:12px}
 .mass-overview .schedule-sunday ul.schedule-mobile-grouped{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .mass-overview .schedule-sunday ul.schedule-mobile-grouped>li{align-self:start;gap:4px;margin:0}
 .mass-overview .schedule-sunday .schedule-mobile-note{grid-column:1/-1}
}

/* Reuse the interior banner's sizing, typography and overlay for each welcome slide. */
.hero .slide{min-height:500px;padding-bottom:calc(var(--page-banner-padding) + 52px)}
.hero .page-banner-content :is(h1,h2){max-width:760px;font-family:var(--font-primary);font-weight:700;text-wrap:balance}
.schedule-weekdays{display:contents}
@media(max-width:760px){
 .slide .page-banner-media img{object-position:68% center}
 .mass-overview .schedule-toggle{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:52px;padding:14px 16px;border:1px solid #c8c8c0;border-radius:4px;background:#fff;color:var(--navy);font:inherit;font-weight:700;text-align:left}
 .schedule-toggle-symbol{font-size:1.4rem;line-height:1}
 .mass-overview .schedule-weekdays{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
}
@media(max-width:420px){.mass-overview .schedule-weekdays{grid-template-columns:minmax(0,1fr)}}
@media print{.schedule-toggle{display:none!important}.schedule-weekdays[hidden]{display:contents!important}}

/* Preserve the homepage banner heights while sharing interior-page styling. */
@media(max-width:1000px){.hero .slide{min-height:470px}}
.hero .hero-phone-copy{display:none}
@media screen and (max-width:767.98px),
       screen and (orientation:landscape) and (pointer:coarse) and (max-width:1023px) and (max-height:500px){
 /* A phone uses the first welcome banner, even before scripts run or with a slide fragment in the URL. */
 .hero .slide:not(:first-child),.hero .hero-controls{display:none}
 #content .hero .slide:first-child{min-height:128px;padding-block:16px;opacity:1;pointer-events:auto;transition:none}
 #content .hero .slide:first-child img{animation:none;transform:none}
 #content .hero .hero-copy{padding-block:0}
 #content .hero #slide-0 .page-banner-content h1{font-size:1.75rem}
 #content .hero .page-banner-content :is(h1,h2){margin-block:0;line-height:1.18}
 .hero .hero-wide-copy,.hero .page-eyebrow{display:none}
 .hero span.hero-phone-copy{display:inline}
 #content .hero p.hero-phone-copy{display:block;max-width:38ch;margin:8px 0 0;font-size:.9375rem;line-height:1.45;color:#fff}
 .bulletin-content>.button{width:100%}
}

/* Weekday cards echo Sunday's gold accent with a lighter, quieter surface. */
.mass-overview .schedule-grid{row-gap:18px}
.mass-overview .schedule-weekdays .schedule-day{padding:18px;border:1px solid #e1ddd3;border-top:3px solid #b69b62;border-radius:6px;background:linear-gradient(155deg,#fff 65%,var(--paper));box-shadow:0 3px 12px #30291d08}
.mass-overview .schedule-weekdays h3{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.mass-overview .schedule-weekdays h3::after{content:"";flex:1;height:1px;background:#d8c8a4}
.mass-overview .schedule-weekdays .schedule-time{font-size:1.08rem;letter-spacing:.01em}
.mass-overview .schedule-weekdays li+li{padding-top:10px;border-top:1px solid #e9e5dc}
.mass-overview .schedule-weekdays .schedule-day:not(:has(.schedule-time)){background:var(--paper);box-shadow:none;border-top-color:#c5bead}
@media(max-width:760px){
 .mass-overview .schedule-weekdays{gap:14px}
 .mass-overview .schedule-weekdays .schedule-day{padding:16px}
 .mass-overview .schedule-weekdays h3{margin-bottom:12px}
}
/* Compact screens retain the desktop date-badge arrangement. */
@media(max-width:760px){
 .saint-card:has(>.event-item-date){grid-template-columns:auto minmax(0,1fr);gap:14px;padding:18px 16px}
 .saint-card>.event-item-date{justify-self:start;align-self:start}
 .saint-name{overflow-wrap:anywhere}
}
/* Give the desktop welcome title one line and its introduction two balanced lines. */
@media(min-width:1001px){
 .hero #slide-0 .page-banner-content h1{max-width:none;font-size:clamp(2rem,3.4vw,3rem)}
 .hero #slide-0 .page-banner-content>p:last-child{max-width:850px;text-wrap:balance}
}
/* Upcoming events use compact calendar badges and date/time/venue rows.
   Scope these slots so generic article card shadows and hidden liturgical descriptions do not apply. */
#content .events-section { background: #fff; color: var(--navy); }
.events-section .section-title span { color: inherit; }
.events-section .event-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
#content .events-section .event-list > article.event-row.home-upcoming-row,
#content .events-section .event-list > article.event-row.home-upcoming-row:is(:hover, :focus-within) { padding: 0; border: 0; background: transparent; box-shadow: none; outline: none; }
/* Separate entries without giving the whole row a card surface or hover shadow. */
#content .events-section .event-list > article.event-row.home-upcoming-row + article.event-row.home-upcoming-row { border-top: 1px solid var(--line); padding-top: 16px; }
.events-section .home-upcoming-row { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: start; }
.events-section .home-upcoming-empty { align-items: center; }
.events-section .event-item-date { display: grid; grid-template-rows: 22px 1fr 22px; align-content: stretch; width: 80px; min-width: 80px; height: 80px; min-height: 80px; padding: 0; border: 1px solid var(--line); background: var(--paper, #f8f7f3); color: var(--navy); box-shadow: 0 8px 20px #26304d29, 0 2px 4px #26304d14; }
/* Tint the complete lower date panel, including the space between the number and weekday. */
.events-section .event-item-date > :is(.event-day, .event-weekday) { background: inherit; }
.events-section .event-day { align-self: end; font-size: 1.625rem; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.events-section .event-month { display: grid; place-items: center; margin: -1px -1px 0; border: 1px solid var(--navy); background: var(--navy); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.events-section .event-weekday { font-size: .625rem; font-weight: 600; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; }
.events-section .event-body { align-self: start; min-width: 0; margin: 0; padding: 0 8px 8px; overflow-wrap: anywhere; }
.events-section .home-upcoming-empty .event-body { align-self: center; padding-block: 0; }
.events-section .event-body h3 { margin: 0; padding: 0; color: var(--navy); font-size: var(--home-item-title-size); line-height: 1.3; }
.events-section .home-upcoming-row .event-item-desc { display: block; margin: 3px 0 0; color: #4b5565; font-size: var(--home-item-copy-size); line-height: 1.4; }
.events-section .home-upcoming-empty .empty-state { padding: 0; border: 0; background: transparent; }
/* Public pages do not load the admin Bootstrap bundle. Reuse its text-truncate utility locally. */
#content .events-section .event-body .text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* One event link includes its description and metadata, providing a comfortable
   target without adding padding between every line. Bootstrap is admin-only. */
#content .events-section a.home-upcoming-link {
    display: block; min-height: 44px; color: var(--navy); text-decoration: none;
    background: transparent; box-shadow: none;
}
#content .events-section a.home-upcoming-link:is(:hover, :focus-visible) h3 {
    color: var(--text-link-hover, #a32638);
}
#content .events-section a.home-upcoming-link:focus-visible { outline: 3px solid #a47e32; outline-offset: 3px; }
/* Fit the schedule and venue together, wrapping whole details when a phone has less room. */
.events-section .home-upcoming-details { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 18px; margin-top: 3px; }
.events-section .home-upcoming-meta { display: flex; align-items: baseline; gap: 6px; min-width: 0; max-width: 100%; margin: 0; color: #526078; font-size: .875rem; line-height: 1.4; }
.events-section .home-upcoming-time-label { white-space: nowrap; }
.events-section .home-upcoming-meta .icon { flex: 0 0 13px; width: 13px; height: 13px; align-self: center; color: #596271; }
.events-section .home-upcoming-meta > span { min-width: 0; }
.events-section .home-upcoming-calendar { margin: 28px 0 0; }
@media (max-width: 640px) {
    .events-section .home-upcoming-row { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }


}
/* Provider failures retain the parish's editable fallback and an accessible source link. */
.calendar-unavailable-note { display: block; margin-top: .75rem; font-size: .875rem; line-height: 1.5; }
.calendar-unavailable-note a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* Public pages have no Bootstrap layout; reserve space for the deferred parish area
   so later sections are not initially pulled up toward the first viewport. */
#home-updates.is-deferred { min-height: 1400px; }
.home-updates-placeholder { background: var(--paper, #f8f7f3); }
.home-updates-status { margin-block: 16px 0; }
.home-updates-placeholder.is-error .home-updates-status { color: #a32638; }
@media (max-width: 760px) { #home-updates.is-deferred { min-height: 1700px; } }

/* Match MCD's section entrance. Only JS-observed sections receive the hidden state;
   the public theme has no Bootstrap animation, and content stays visible without JS. */
.home-reveal { opacity: 0; transform: translateY(24px); }
.home-reveal.is-revealed {
    opacity: 1; transform: none;
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}
/* Keyboard navigation must reveal a control immediately, even during a transition. */
.home-reveal:focus-within { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
    .home-reveal, .home-reveal.is-revealed { opacity: 1; transform: none; transition: none; }
}

/* Published readings retain their notes. */
.readings-pane>h4{color:#fff;margin:1.5rem 0 .7rem}
.readings-pane>.preline{margin-top:1rem;padding:.7rem 1rem;border-left:3px solid var(--gold)}
.readings-pane>a{display:inline-flex;align-items:center;min-height:44px;margin-top:1rem}
/* Special schedule on display (with its end date) and one set to start later. */
.mass-special-name{margin:6px 0 0;color:#556070}
.mass-special-name strong{color:var(--navy)}
.mass-upcoming{margin:0 0 18px;padding:12px 16px;background:#f2ebd9;border-left:4px solid #b69b62;color:#3c3320}
.mass-upcoming a{font-weight:700;white-space:nowrap}

.latest-bulletin .item-share { margin-top: .5rem; }
.latest-bulletin .item-share-status:not(:empty) { display: block; margin-top: .5rem; }
@media (max-width: 767.98px) {
    .bulletin-latest-link a { display: inline-flex; align-items: center; min-height: 44px; }
}
