/* Worship schedule: namespaced to leave other theme sections untouched. */
.sos-schedule-intro{margin-bottom:30px}
.page .entry-shell--schedule{max-width:1240px}
.sos-schedule--calendar{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;align-items:start}
.sos-schedule-main,.sos-schedule-intro__main{min-width:0}
.sos-schedule--calendar .sos-schedule-grid{grid-template-columns:minmax(0,1fr)}
.entry-content .sos-schedule-intro__main>.text-link{text-decoration:none;font-size:15px}
.entry-shell .sos-schedule-intro__main h1{font-size:clamp(36px,4.1vw,56px);line-height:1.08;margin:20px 0 32px}
.entry-content .sos-schedule-intro__main .sos-schedule-caption{margin-bottom:0}
.sos-calendar{padding:27px 28px;background:#fff;border:1px solid var(--line);border-top:3px solid #c5a264;border-radius:12px;font-size:14px;line-height:1.65;min-width:0}
.entry-content .sos-calendar__date{font-size:15px;line-height:1.65;margin:0 0 14px;font-weight:600}
.entry-content .sos-calendar__week{font-size:14px;color:var(--muted);margin:0 0 16px}
.entry-content .sos-calendar__holiday{color:#896526;font-size:17px;font-weight:600;margin:0 0 12px;line-height:1.5}
.sos-calendar__details{border-top:1px solid var(--line);margin:18px 0 0;padding-top:14px}
.sos-calendar__details summary{cursor:pointer;font-weight:600;font-size:13px;line-height:1.6}
.sos-calendar__details summary:focus-visible{outline:2px solid #bb8b34;outline-offset:5px}
.sos-calendar__more{max-height:320px;overflow-y:auto;overscroll-behavior:contain;margin-top:14px;padding-right:10px;font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.entry-content .sos-calendar__more h3{font-family:var(--sans);font-size:13px;line-height:1.5;margin:18px 0 8px}
.entry-content .sos-calendar__more h3:first-child{margin-top:0}
.entry-content .sos-calendar__source{display:inline-block;font-size:11px;color:var(--muted);margin-top:19px;text-underline-offset:3px}
.sos-calendar__navigation{display:flex;align-items:flex-start;gap:8px;margin:0 0 14px}
.entry-content a.sos-calendar__arrow,.sos-calendar__arrow{display:flex;align-items:center;justify-content:center;width:30px;min-height:38px;flex:none;border:1px solid var(--line);border-radius:5px;font-size:26px;line-height:1;text-decoration:none}
span.sos-calendar__arrow{opacity:.3}
.sos-calendar__month-form{min-width:0;flex:1}
.sos-calendar__month-form select{width:100%;height:38px;min-width:0;border:1px solid var(--line);border-radius:5px;padding:5px;font:600 13px var(--sans);color:var(--deep);background:#faf8f2}
.sos-calendar__go{font-size:12px;padding:8px 0;text-decoration:underline}
.sos-calendar.is-interactive .sos-calendar__go{display:none}
.entry-content table.sos-calendar__grid{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:3px;margin:0;font-family:var(--sans);font-size:14px;border:0}
.entry-content .sos-calendar__grid th,.entry-content .sos-calendar__grid td{padding:0;text-align:center;border:0;background:none;height:34px}
.entry-content .sos-calendar__grid th{font-size:11px;font-weight:600;color:var(--muted);height:24px}
.entry-content .sos-calendar__grid th:last-child{color:#a43b31}
.entry-content a.sos-calendar__day{display:flex;justify-content:center;align-items:center;min-height:34px;line-height:1;border:1px solid transparent;border-radius:5px;text-decoration:none;font-size:14px;font-variant-numeric:tabular-nums;background:#f6f6f0}
.entry-content a.sos-calendar__day.is-red{color:#ae332b;background:#fff0e9;font-weight:600}
.entry-content a.sos-calendar__day.is-today{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}
.entry-content a.sos-calendar__day.is-selected{background:var(--green);color:#fff}
.entry-content a.sos-calendar__day:not(.is-selected):hover{background:#e9eddf;color:var(--deep)}
.sos-calendar__legend{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:11px;color:var(--muted)}
.entry-content .sos-calendar__hint{margin:7px 0 16px;font-size:10px;line-height:1.6;color:var(--muted)}
.sos-calendar__selected{border-top:1px solid var(--line);padding-top:17px}
.sos-calendar[aria-busy="true"] .sos-calendar__selected{opacity:.55}
.sos-calendar select:focus-visible{outline:2px solid #bb8b34;outline-offset:3px}
#sos-calendar{scroll-margin-top:25px}
@media(max-width:1000px){.sos-schedule--calendar{grid-template-columns:minmax(0,1fr) 285px;gap:24px}.sos-calendar{padding:24px}.sos-schedule--calendar .sos-schedule-filter{flex-wrap:wrap}.sos-schedule--calendar .sos-schedule-filter .button{width:100%}}
@media(max-width:900px){.sos-schedule--calendar{grid-template-columns:minmax(0,1fr);gap:30px}.sos-calendar{width:100%;max-width:400px;justify-self:center}}
@media(max-width:760px){.entry-shell .sos-schedule-intro__main h1{font-size:38px}.sos-calendar{padding:24px}.sos-calendar__more{max-height:260px}}
@media print{.sos-calendar{display:none}.sos-schedule--calendar{display:block}}
.sos-schedule{font-family:var(--sans);font-size:16px;line-height:1.6;color:var(--deep);min-width:0}
.sos-schedule *{box-sizing:border-box}
.sos-schedule-regular{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:30px}
.sos-schedule-regular__card{background:#f0f3ed;border:1px solid var(--line);border-radius:12px;padding:26px 28px}
.entry-content .sos-schedule-regular__card h2{font-size:25px;line-height:1.25;margin:0 0 15px}
.entry-content .sos-schedule-regular__card p{margin:0;color:#52675d;font-size:16px;line-height:1.7}
.sos-schedule-filter{max-width:560px;display:flex;gap:18px;align-items:flex-end;padding:22px 24px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:22px}
.sos-schedule-filter__field{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1 1 290px}
.sos-schedule-filter label{font-size:13px;font-weight:600;color:var(--green)}
.sos-schedule-filter select{display:block;width:100%;max-width:100%;min-width:0;min-height:48px;padding:11px 32px 11px 12px;font:inherit;font-size:15px;line-height:1.5;color:var(--deep);background:#fff;border:1px solid #aebeb2;border-radius:5px;text-overflow:ellipsis;overflow:hidden}
.sos-schedule-filter select:focus-visible{outline:3px solid #bb8b34;outline-offset:3px}
.sos-schedule-filter .button{flex:0 0 auto;min-height:48px;padding:12px 26px;white-space:nowrap}
.entry-content .sos-schedule-caption{font-size:14px;line-height:1.65;color:var(--muted);margin:0 0 27px;max-width:800px}
.sos-schedule-month{margin:30px 0 38px}
.entry-content .sos-schedule-month>h2{font-size:31px;line-height:1.2;margin:0 0 20px}
.sos-schedule-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}
.sos-schedule-day{container-type:inline-size;min-width:0;overflow:hidden;background:#fff;border:1px solid #d9e1d7;border-radius:12px}
.sos-schedule-day--accent{border-top-color:#c5a264;border-top-width:3px}
.sos-schedule-day--today{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}
.sos-schedule-day__header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:21px 23px 19px;border-bottom:1px solid var(--line)}
.sos-schedule-day__heading{display:flex;flex-wrap:wrap;align-items:center;gap:7px 10px;min-width:0}
.entry-content .sos-schedule-day__heading h3{font-size:26px;line-height:1.2;margin:0;overflow-wrap:normal}
.sos-schedule-day--accent .sos-schedule-day__heading h3{color:#956922}
.sos-schedule-day__header>time{font-size:12px;line-height:1.5;text-align:right;color:#65786a;flex:0 0 auto}
.sos-schedule-today{display:inline-block;font-size:10px;font-weight:600;letter-spacing:.03em;line-height:1.5;padding:3px 8px;border-radius:20px;background:var(--green);color:#fff}
.sos-schedule-day__body{padding:23px}
.sos-schedule-day__body--notes{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:18px}
.sos-schedule-services,.sos-schedule-notes{min-width:0}
.entry-content .sos-schedule-services ul{padding:0;margin:0;list-style:none}
.sos-schedule-services li{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:baseline;padding:0;line-height:1.65;font-size:15px}
.sos-schedule-services li+li{margin-top:13px}
.sos-schedule-services li time{font-weight:600;font-variant-numeric:tabular-nums;color:var(--green);white-space:nowrap}
.sos-schedule-service__details{min-width:0;overflow-wrap:anywhere}
.sos-schedule-service__priest{grid-column:2;min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.55;color:var(--green)}
.sos-schedule-service__priest-label{display:block;margin-bottom:2px;font-size:11px;color:var(--muted)}
.sos-schedule-notes{border-left:1px solid var(--line);padding-left:18px;font-size:13px;color:#896526;line-height:1.65}
.sos-schedule-notes__label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.04em;line-height:1.5;color:#81795f;margin-bottom:12px}
.entry-content .sos-schedule-notes p{margin:0 0 14px}
.entry-content .sos-schedule-notes p:last-child{margin-bottom:0}
.sos-schedule-empty{padding:38px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-top:22px}
.entry-content .sos-schedule-empty h2{font-size:30px;margin:0 0 16px;line-height:1.2}
.entry-content .sos-schedule-empty p{color:var(--muted);margin:0 0 20px;max-width:680px;font-size:16px}
.entry-content .sos-schedule-empty .text-link{text-decoration:none}
.entry-content .sos-schedule-footnote{font-size:13px;line-height:1.7;color:var(--muted);margin:28px 0 0;max-width:740px}
.sos-schedule-day--priests .sos-schedule-services li+li{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
/* Use the card's available width, including when the calendar is beside it. */
@container (min-width:680px){
    .sos-schedule-day--priests .sos-schedule-day__body--notes{grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:22px}
    .sos-schedule-day--priests .sos-schedule-services li{grid-template-columns:48px minmax(0,1.4fr) minmax(0,1fr);column-gap:16px;align-items:start}
    .sos-schedule-service__priest{grid-column:3;padding-left:18px;border-left:1px solid var(--line)}
}
@container (max-width:679px){
    .sos-schedule-day--priests .sos-schedule-day__body--notes{display:block}
    .sos-schedule-day--priests .sos-schedule-notes{margin-top:20px;padding:17px 0 0;border-left:0;border-top:1px solid var(--line)}
}
@media(max-width:1099px){.sos-schedule-grid{grid-template-columns:1fr}.sos-schedule-day__body--notes{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}.sos-schedule-filter{gap:12px;padding:20px}.sos-schedule-filter__field{flex-basis:245px}.sos-schedule-filter .button{padding-left:20px;padding-right:20px}}
@media(max-width:760px){.sos-schedule-filter{flex-wrap:wrap}.sos-schedule-filter__field{flex:1 1 100%}.sos-schedule-filter .button{width:100%;margin-top:3px}.sos-schedule-regular{grid-template-columns:1fr;gap:16px}.sos-schedule-regular__card{padding:23px}.entry-content .sos-schedule-month>h2{font-size:28px}.sos-schedule-empty{padding:27px}.entry-content .sos-schedule-empty h2{font-size:27px}}
@media(max-width:520px){.sos-schedule-day__header{padding:20px;align-items:flex-start}.sos-schedule-day__heading{align-items:flex-start;flex-direction:column;gap:7px}.entry-content .sos-schedule-day__heading h3{font-size:25px}.sos-schedule-day__header>time{max-width:92px;line-height:1.7}.sos-schedule-day__body{padding:20px}.sos-schedule-day__body--notes{display:block}.sos-schedule-notes{margin-top:20px;padding:17px 0 0;border-left:0;border-top:1px solid var(--line);font-size:14px}.sos-schedule-services li{font-size:16px;grid-template-columns:48px minmax(0,1fr)}.sos-schedule-notes__label{font-size:10px}.sos-schedule-month{margin-bottom:30px}}
@media print{.sos-schedule-filter,.sos-schedule-footnote{display:none!important}.sos-schedule,.entry-content .sos-schedule-caption,.sos-schedule-notes{color:#111}.sos-schedule-grid{display:block}.sos-schedule-day{break-inside:avoid;margin-bottom:16px;border:1px solid #888;box-shadow:none}.sos-schedule-day__body--notes{display:grid;grid-template-columns:2fr 1fr}.sos-schedule-notes{margin-top:0;border-top:0;border-left:1px solid #aaa;padding:0 0 0 18px}.sos-schedule-month>h2{break-after:avoid}.sos-schedule-today{color:#111;background:none;border:1px solid #777}.sos-schedule-day__heading h3{color:#111!important}.sos-schedule-regular{display:block}.sos-schedule-regular__card{break-inside:avoid;margin-bottom:16px;background:none}.sos-schedule a{color:#111}}
