/* The homepage sections' own styles. Until 3.0 these lived in the <style> at the top of the Kubio Custom HTML
   block; they are kept here word for word so the St Sarkis blocks look exactly the same (foundation.css still
   refines them, as it did before). */
#ss-home{--ss-green:#06231b;--ss-maroon:#6b1b27;--ss-gold:#cda052;--ss-cream:#f7f3ea;background:var(--ss-cream);color:var(--ss-green);font:18px/1.7 Arial,sans-serif;overflow:hidden}#ss-home *{box-sizing:border-box}#ss-home a{color:var(--ss-maroon)}#ss-home :focus-visible{outline:3px solid var(--ss-gold);outline-offset:5px}#ss-home h1,#ss-home h2,#ss-home h3{font-family:Georgia,"Times New Roman",serif;color:var(--ss-green);font-weight:400;margin:0;letter-spacing:0;line-height:1.2}#ss-home p{font-size:18px;line-height:1.7;margin:20px 0;color:inherit}#ss-home .ss-wrap{max-width:1120px;margin:auto;padding:0 36px}#ss-home .ss-intro{padding:72px 0 64px;border-bottom:1px solid var(--ss-gold)}#ss-home .ss-intro-grid{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:70px;align-items:center}#ss-home .ss-crest{display:block;width:240px;height:auto;mix-blend-mode:multiply}#ss-home h1{font-size:clamp(32px,4vw,54px)}#ss-home h1 span{display:block;font-size:.43em;line-height:1.45;margin-top:17px;font-family:Georgia,"Times New Roman",serif}#ss-home .ss-arm{font-size:21px;line-height:1.7;margin:24px 0 30px;font-weight:600}#ss-home .ss-since{font-family:Georgia,"Times New Roman",serif;font-size:23px;letter-spacing:.055em;margin:26px 0 15px}#ss-home .ss-sacred{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:22px;line-height:1.65;max-width:690px}#ss-home .ss-section{padding:64px 0}#ss-home .ss-eyebrow{font-size:14px;letter-spacing:.15em;text-transform:uppercase;color:var(--ss-maroon);margin:0 0 16px}#ss-home h2{font-size:clamp(30px,3vw,42px)}#ss-home .ss-upcoming{display:flex;justify-content:space-between;align-items:center;gap:40px}#ss-home .ss-date-note{border-left:2px solid var(--ss-gold);padding:6px 0 6px 28px;max-width:440px}#ss-home .ss-date-note p{margin:0 0 8px}#ss-home .ss-date-note a{text-decoration:underline;text-underline-offset:5px}#ss-home .ss-visual{position:relative;margin:0;aspect-ratio:16/9;background:var(--ss-green);overflow:hidden}#ss-home .ss-slides{position:absolute;inset:0}#ss-home .ss-slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;animation:ss-fade 18s infinite;opacity:0}#ss-home .ss-slides img:nth-child(1){animation-delay:0s}#ss-home .ss-slides img:nth-child(2){animation-delay:6s}#ss-home .ss-slides img:nth-child(3){animation-delay:12s}#ss-home .ss-pause{position:absolute;z-index:2;left:18px;bottom:20px;width:18px;height:18px;accent-color:var(--ss-maroon)}#ss-home .ss-pause-label{position:absolute;z-index:2;left:44px;bottom:12px;padding:6px 12px;background:var(--ss-cream);color:var(--ss-green);font-size:14px}#ss-home .ss-pause:checked~.ss-slides img{animation:none;opacity:0}#ss-home .ss-pause:checked~.ss-slides img:first-child{opacity:1}#ss-home .ss-credit{font-size:12px;line-height:1.5;padding:14px 0;margin:0;color:#4d5c52}#ss-home .ss-credit a{color:inherit}#ss-home .ss-actions{display:flex;justify-content:center;align-items:flex-start;gap:20px;padding:30px 0 58px}#ss-home .ss-btn,#ss-home .ss-follow summary{display:inline-flex;justify-content:center;align-items:center;min-height:52px;padding:14px 32px;background:var(--ss-maroon);border:1px solid var(--ss-maroon);color:var(--ss-cream);text-decoration:none;font-size:16px;line-height:1.3;font-weight:600;cursor:pointer;border-radius:2px}#ss-home .ss-btn:hover,#ss-home .ss-follow summary:hover{background:#4c1020;color:var(--ss-cream)}#ss-home .ss-follow{position:relative}#ss-home .ss-follow summary{list-style:none}#ss-home .ss-follow summary::-webkit-details-marker{display:none}#ss-home .ss-follow-menu{position:absolute;z-index:3;top:60px;left:0;right:0;background:var(--ss-cream);border:1px solid var(--ss-gold);padding:10px;box-shadow:0 6px 20px #06231b15}#ss-home .ss-follow-menu a{display:block;padding:8px 12px;font-size:16px;text-decoration:none}#ss-home .ss-film{padding:60px 0;background:var(--ss-green);color:var(--ss-cream)}#ss-home .ss-film h2{color:var(--ss-cream)}#ss-home .ss-film .ss-eyebrow{color:var(--ss-gold)}#ss-home .ss-film-pending{margin-top:28px;border:1px solid #cda05280;padding:40px;text-align:center;background:#ffffff05}#ss-home .ss-film-pending p{margin:8px 0;color:var(--ss-cream)}#ss-home .ss-film-pending span{font-size:14px;color:#e2bc7b;letter-spacing:.09em;text-transform:uppercase}#ss-home .ss-calendar-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:56px}#ss-home .ss-cal-header{display:flex;justify-content:space-between;align-items:center;margin:28px 0 16px;gap:14px}#ss-home .ss-month{font-family:Georgia,"Times New Roman",serif;font-size:24px}#ss-home .ss-cal-controls{display:flex;gap:8px}#ss-home .ss-cal-controls button{font:14px/1.2 Arial,sans-serif;border:1px solid var(--ss-gold);background:transparent;color:var(--ss-green);padding:10px;cursor:pointer;min-height:42px}#ss-home .ss-cal-controls button:hover{background:#e8dfce}#ss-home .ss-calendar{width:100%;border-collapse:collapse;table-layout:fixed;font-size:16px}#ss-home .ss-calendar th{font-weight:400;font-size:14px;padding:10px 0;color:#475f53;border-bottom:1px solid var(--ss-gold)}#ss-home .ss-calendar td{height:54px;text-align:center;border-bottom:1px solid #06231b14}#ss-home .ss-calendar td.ss-today{background:var(--ss-maroon);color:var(--ss-cream);font-weight:700}#ss-home .ss-calendar-note{font-size:15px;margin-top:18px;color:#475f53}#ss-home .ss-season{border-left:1px solid var(--ss-gold);padding-left:38px}#ss-home .ss-season p{margin-top:24px}#ss-home .ss-end{height:12px;background:linear-gradient(90deg,#a57833,#e5be75,#cda052,#a57833)}@keyframes ss-fade{0%,30%{opacity:1;transform:scale(1)}34%,96%{opacity:0;transform:scale(1.04)}100%{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){#ss-home .ss-slides img{animation:none;opacity:0}#ss-home .ss-slides img:first-child{opacity:1}}@media(max-width:760px){#ss-home .ss-wrap{padding:0 24px}#ss-home .ss-intro{padding:42px 0}#ss-home .ss-intro-grid{grid-template-columns:1fr;gap:28px;text-align:center}#ss-home .ss-crest{width:140px;margin:auto;grid-row:1}#ss-home .ss-arm{font-size:18px}#ss-home .ss-sacred{font-size:20px}#ss-home .ss-since{font-size:20px}#ss-home .ss-section{padding:42px 0}#ss-home .ss-upcoming{display:block}#ss-home .ss-date-note{margin-top:26px}#ss-home .ss-calendar-layout{grid-template-columns:1fr;gap:38px}#ss-home .ss-season{border-left:0;border-top:1px solid var(--ss-gold);padding:32px 0 0}#ss-home .ss-actions{gap:12px;flex-wrap:wrap;padding:24px 0 40px}#ss-home .ss-btn,#ss-home .ss-follow summary{padding:14px 23px;font-size:15px}#ss-home .ss-film-pending{padding:30px 20px}#ss-home .ss-calendar td{height:45px}#ss-home .ss-cal-header{flex-wrap:wrap}}
#ss-home{text-align:left}#ss-home .ss-intro-grid{text-align:left}@media(max-width:760px){#ss-home .ss-intro-grid{text-align:center}}

/* 3.0 additions, used only when the parish adds them in Kubio. */
/* Parish film: a play button over the photograph once a video is added; the film then plays in the panel. */
body.ss-foundation-active #ss-home .ss-film-poster .ss-film-play{display:inline-flex;align-items:center;gap:14px;margin-top:10px;min-height:56px;padding:6px 24px 6px 6px;border:1px solid rgba(224,205,173,.75);border-radius:999px;background:rgba(251,248,242,.94);color:var(--ss-ink);font:500 16px/1.3 var(--ss-body);letter-spacing:0;text-transform:none;cursor:pointer;transition:background-color .25s ease,transform .25s ease}
body.ss-foundation-active #ss-home .ss-film-poster .ss-film-play:hover{background:var(--ss-white);transform:translateY(-1px)}
body.ss-foundation-active #ss-home .ss-film-poster .ss-film-play span{color:var(--ss-ink)!important;font:inherit;letter-spacing:0;text-transform:none}
body.ss-foundation-active #ss-home .ss-film-poster .ss-film-play__icon{position:relative;flex:none;width:44px;height:44px;border-radius:50%;background:var(--ss-maroon)}
body.ss-foundation-active #ss-home .ss-film-poster .ss-film-play__icon::after{content:"";position:absolute;left:50%;top:50%;margin:-8px 0 0 -5px;border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent var(--ss-cream)}
body.ss-foundation-active #ss-home .ss-film-poster.is-playing{padding:0!important;background:#000!important}
body.ss-foundation-active #ss-home .ss-film-poster.is-playing::before,body.ss-foundation-active #ss-home .ss-film-poster.is-playing::after{display:none}
body.ss-foundation-active #ss-home .ss-film-poster.is-playing :is(iframe,video){position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:inherit;background:#000}
/* Calendar: announced dates are marked, and the month's dates are listed under it. */
#ss-home .ss-calendar td.ss-has-event{position:relative;color:var(--ss-maroon);font-weight:700}
#ss-home .ss-calendar td.ss-has-event::after{content:"";position:absolute;left:50%;bottom:8px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:currentColor}
#ss-home .ss-calendar td.ss-today.ss-has-event{color:var(--ss-cream)}
#ss-home .ss-cal-events{list-style:none;margin:18px 0 0;padding:0;border-top:1px solid var(--ss-gold)}
#ss-home .ss-cal-events[hidden],#ss-home .ss-calendar-note[hidden]{display:none}
#ss-home .ss-cal-events li{display:grid;grid-template-columns:minmax(96px,auto) minmax(0,1fr);gap:2px 20px;margin:0;padding:14px 0;border-bottom:1px solid #06231b14;font-size:16px;line-height:1.5}
#ss-home .ss-cal-events time{grid-row:span 3;color:var(--ss-maroon);font-weight:600;white-space:nowrap}
#ss-home .ss-cal-event__title{font-weight:600}
#ss-home .ss-cal-event__time,#ss-home .ss-cal-event__details{color:#475f53;font-size:15px}
/* A St Sarkis section added in Kubio: its label and heading, then whatever is placed inside (text, photos, video, buttons). */
#ss-home .ss-home-section__body{margin-top:28px}
#ss-home .ss-home-section__body>*:first-child{margin-top:0}
#ss-home .ss-home-section__body>*+*{margin-top:24px}
#ss-home .ss-home-section__body>p{max-width:46em}
#ss-home .ss-home-section__body img{max-width:100%;height:auto}
#ss-home .ss-home-section__body :is(.wp-block-image,.wp-block-video,.wp-block-embed,.wp-block-gallery){margin-inline:0}
#ss-home .ss-home-section__body :is(.wp-block-image img,.wp-block-video video,.wp-block-embed iframe){border-radius:20px}
#ss-home .ss-home-section__body .wp-block-embed iframe{display:block;width:100%;height:auto;aspect-ratio:16/9}
#ss-home .ss-home-section__body .wp-block-button__link{display:inline-flex;align-items:center;min-height:48px;padding:11px 25px;border:1px solid var(--ss-gold);border-radius:999px;background:var(--ss-maroon);color:var(--ss-cream);font:500 16px/1.4 var(--ss-body);text-decoration:none}
#ss-home .ss-home-section__body .wp-block-button__link:hover{background:var(--ss-maroon-deep,#4A0A0F)}
@media(max-width:760px){#ss-home .ss-cal-events li{grid-template-columns:1fr}#ss-home .ss-cal-events time{grid-row:auto}}
/* A St Sarkis section's text, photograph, video and button. */
#ss-home .ss-home-section__text{font-size:18px;line-height:1.6;max-width:46em}
#ss-home .ss-home-section__text>p:first-child{margin-top:24px}
#ss-home .ss-home-section__text>p:last-child{margin-bottom:0}
#ss-home .ss-home-section__action{margin:32px 0 0}
#ss-home .ss-home-section__media{margin:40px 0 0}
#ss-home .ss-home-section__media img{display:block;width:100%;height:auto;border-radius:24px}
#ss-home .ss-home-section__video{margin-top:40px}
#ss-home .ss-home-section--beside{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
#ss-home .ss-home-section--beside>:is(.ss-home-section__media,.ss-home-section__video){margin-top:0}
@media(max-width:760px){#ss-home .ss-home-section--beside{grid-template-columns:1fr;gap:32px}}
