
/* Audit 2026-10-22: retain all utility links in the mobile top bar. */
@media (max-width: 50.99rem) {
    body.outline-16 .ste-utility-social,
    body.outline-16 .ste-utility-links .g-blockcontent-subcontent-block:first-child {
        display: block;
    }
    body.outline-16 .ste-utility-social .g-social { gap: 12px; padding-right: 8px; }
    body.outline-16 .ste-utility-links .g-blockcontent-subcontent-block-content { padding-inline: 10px; }
}

/* Audit: remove injected default image from the image-free Facebook article. */
body.outline-16.site-home .ste-facebook-display .g-array-item-image { display: none; }
/* Audit: editor-safe day/time columns without merged labels. */
body.outline-16 .ste-mass-schedule { width: 100%; border: 0; margin: 0; table-layout: fixed; border-collapse: collapse; }
body.outline-16 .ste-mass-schedule th,
body.outline-16 .ste-mass-schedule td { padding: 2px 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; vertical-align: top; }
body.outline-16 .ste-mass-schedule th { width: 36%; padding-right: 12px; font-weight: 400; }

/* Audit: actual parish events, with native event-detail links retained. */
body.outline-16 .ste-parish-calendar [id^="cwwrapper_"],
body.outline-16 .ste-parish-calendar [id^="cwucelist_"] { position: relative !important; height: auto !important; border: 0 !important; overflow: visible !important; }
body.outline-16 .ste-parish-calendar .table-container { overflow: visible; }
body.outline-16 .ste-parish-calendar table { display: block; border: 0; margin: 0; width: 100%; }
body.outline-16 .ste-parish-calendar tbody { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px)/4); gap: 18px; overflow-x: auto; padding-bottom: 12px; }
body.outline-16 .ste-parish-calendar tr { display: block; }
body.outline-16 .ste-parish-calendar td { display: flex; flex-direction: column; gap: 12px; min-height: 190px; padding: 24px !important; border: 1px solid var(--ste-line); background: var(--tertiary-color) !important; }
body.outline-16 .ste-parish-calendar .uce_event_title { color: var(--ste-blue) !important; background: transparent !important; font: 22px/1.2 var(--title-font-family) !important; }
body.outline-16 .ste-parish-calendar td > div { color: var(--ste-blue) !important; background: transparent !important; padding: 0 !important; font: 14px/1.4 var(--body-font-family) !important; }
body.outline-16 .ste-parish-calendar a:hover { text-decoration: underline !important; }
@media (max-width: 1100px) { body.outline-16 .ste-parish-calendar tbody { grid-auto-columns: calc((100% - 18px)/2); } }
@media (max-width: 767px) { body.outline-16 .ste-parish-calendar tbody { grid-auto-columns: 85%; } }

/* Match schedule type to the adjacent confession copy, not the theme's table defaults. */
body.outline-16 .ste-mass-schedule th,
body.outline-16 .ste-mass-schedule td { font:14px/1.6 var(--body-font-family); }
body.outline-16 .ste-mass-schedule th { white-space:nowrap; }

/* Mobile homepage news: remove repeated native wrapper padding and unused card height. */
@media (max-width:50.99rem) {
 body.outline-16.site-home .ste-news-widget .ste-news-feed > .g-content-array > .g-grid > .g-block > .g-content,
 body.outline-16.site-home .ste-news-widget .g-content-array.ste-news-feed > .g-grid > .g-block > .g-content { padding-block:0 !important; margin-block:0 !important; }
 body.outline-16.site-home .ste-news-widget .ste-news-feed .g-array-item { min-height:0; padding-block:16px; align-items:start; align-content:start; }
}

/* Homepage video uses the same frame and responsive dimensions as Swiper. */
body.outline-16.site-home .ste-hero-video { order:-1; }
body.outline-16.site-home .ste-hero-video .g-video-container { position:relative; overflow:hidden; border:5px solid var(--ste-white); border-radius:14px; height:644px; box-shadow:0 18px 38px rgba(8,29,61,.55); }
body.outline-16.site-home .ste-hero-video :is(.g-video-inner,.g-video) { width:100%; height:100%; margin:0; padding:0; }
body.outline-16.site-home .ste-hero-video :is(video,iframe) { display:block; width:100%; height:100%; object-fit:cover; border:0; }
body.outline-16.site-home .ste-hero-video .g-videolocal-play { display:none; }
@media (max-width:767px) { body.outline-16.site-home .ste-hero-video .g-video-container { height:clamp(320px,68vw,510px); } }

/* Keep the shared hero logo above video without description spacer paragraphs. */
body.outline-16.site-home .ste-hero-video .g-video-container > p:empty { display:none; }
body.outline-16.site-home .ste-hero-video .ste-hero-brand { z-index:4; }
