.sfc-events{--sfc-ink:#10254e;--sfc-muted:#5b6370;--sfc-border:#dce0e5;color:var(--sfc-ink);font-family:inherit;line-height:1.55}.sfc-events *{box-sizing:border-box}.sfc-page{width:min(1180px,calc(100% - 40px));margin:48px auto 64px}.sfc-events a{color:inherit;text-underline-offset:3px}.sfc-events a:hover{text-decoration:underline}.sfc-events a:focus-visible,.sfc-events summary:focus-visible,.sfc-events button:focus-visible,.sfc-events select:focus-visible{outline:3px solid #126ca6;outline-offset:4px}.sfc-events h3{font-size:clamp(20px,2vw,24px);line-height:1.28;margin:0 0 18px;font-weight:700;color:var(--sfc-ink)}.sfc-events h3 a{text-decoration:none}.sfc-view-cartes .sfc-event-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:24px}.sfc-event-cartes{border:4px solid var(--sfc-category,#306b53);border-radius:17px;padding:22px;background:white;box-shadow:0 5px 15px #132b4210}.sfc-event-cartes .sfc-event-body{height:100%;display:flex;flex-direction:column}.sfc-event-image{display:block;text-align:center}.sfc-event-image img{width:100%;height:210px;object-fit:contain;object-position:center;background:#fff;display:block}.sfc-when{margin:18px 0 8px;font-weight:600;font-variant-numeric:tabular-nums}.sfc-event-cartes .sfc-when{color:#7b6527}.sfc-category{display:inline-flex;gap:8px;align-items:center;font-size:14px;line-height:1.4}.sfc-category i{background:var(--sfc-category);width:12px;height:12px;border-radius:50%;border:1px solid #0003;flex:none}.sfc-location{margin:10px 0 12px}.sfc-location a{text-decoration:underline}.sfc-calendar{margin-top:14px;font-size:14px;position:relative}.sfc-event-cartes .sfc-calendar{margin-top:auto;padding-top:18px}.sfc-calendar summary{display:list-item;width:fit-content;max-width:100%;padding:8px 12px;border:1px solid #b3bfcc;border-radius:5px;cursor:pointer;background:#fff;font-weight:600}.sfc-calendar[open]>div{display:flex;flex-direction:column;gap:12px;background:#f7f9fb;border:1px solid var(--sfc-border);padding:14px;margin-top:8px;border-radius:5px}.sfc-calendar small{font-size:12px;color:#525b66}.sfc-periods{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.sfc-periods a{padding:10px 16px;border:1px solid #bac4cf;border-radius:5px;text-decoration:none}.sfc-periods a[aria-current=page]{background:#10254e;color:white;border-color:#10254e}.sfc-filter{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0 30px}.sfc-filter select{max-width:100%;min-height:42px;padding:8px 32px 8px 12px;background:white;border:1px solid #aab5c2;border-radius:4px;font:inherit;color:#10254e}.sfc-filter button{background:#10254e;color:white;border:0;border-radius:4px;min-height:42px;padding:8px 20px;font:inherit;cursor:pointer}.sfc-month{display:flex;align-items:center;gap:16px;font-size:21px!important;font-weight:600;margin:36px 0 24px!important}.sfc-month:after{content:"";height:1px;background:var(--sfc-border);flex:1}.sfc-event-liste{display:flex;gap:26px;padding:24px 0 30px;border-bottom:1px solid var(--sfc-border)}.sfc-date-badge{width:54px;flex:none;text-align:center}.sfc-date-badge span{display:block;font-size:13px;text-transform:uppercase}.sfc-date-badge strong{display:block;font-size:29px;line-height:1.3}.sfc-event-liste .sfc-event-body{flex:1;min-width:0;display:flow-root;border-left:4px solid var(--sfc-category);padding-left:22px}.sfc-event-liste .sfc-event-image{float:right;width:28%;margin:0 0 16px 28px}.sfc-event-liste .sfc-event-image img{height:180px}.sfc-event-liste h3{font-size:27px}.sfc-excerpt{color:#454c55;margin:14px 0;max-width:780px}.sfc-series{font-size:14px;margin:8px 0 14px}.sfc-status{display:inline-block;background:#fce9e6;color:#882c20;padding:4px 10px;border-radius:4px;font-size:15px}.sfc-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:24px;margin:32px 0}.sfc-pagination a{border:1px solid #b3bfcc;border-radius:5px;padding:10px 18px}.sfc-empty{padding:28px 0;color:#565f69}.sfc-single{max-width:980px;margin:auto}.sfc-single h1,.sfc-single>h2{font-size:clamp(28px,4vw,42px);line-height:1.2;color:var(--sfc-ink)}.sfc-single .sfc-poster{display:block;text-align:center;margin:28px auto;max-width:760px}.sfc-poster img{width:auto;max-width:100%;height:auto;max-height:720px;object-fit:contain}.sfc-poster span{display:block;font-size:14px}.sfc-description{margin:28px 0}.sfc-description img{max-width:100%;height:auto}.sfc-description a{overflow-wrap:anywhere}.sfc-occurrence-public{padding:16px 0;border-bottom:1px solid var(--sfc-border)}.sfc-occurrence-public p{margin:0 0 12px}.sfc-past-dates{margin:28px 0}.sfc-past-dates>summary{font-weight:600;cursor:pointer;padding:12px 0}.sfc-events .sfc-location{overflow-wrap:anywhere}.sfc-lightbox{background:#fff;border:0;padding:16px;max-width:95vw;max-height:95vh;border-radius:6px}.sfc-lightbox::backdrop{background:#000b}.sfc-lightbox img{display:block;max-width:85vw;max-height:80vh;width:auto;height:auto;object-fit:contain}.sfc-lightbox button{display:block;margin:0 0 12px auto;padding:8px 16px;background:#10254e;color:#fff;border:0;border-radius:4px;font:inherit;cursor:pointer}@media(max-width:960px){.sfc-view-cartes .sfc-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.sfc-page{width:calc(100% - 32px);margin-top:28px}.sfc-view-cartes .sfc-event-grid{grid-template-columns:1fr;gap:22px}.sfc-event-cartes{padding:20px}.sfc-event-image img{height:auto;max-height:340px}.sfc-event-liste{gap:12px}.sfc-date-badge{width:34px}.sfc-date-badge strong{font-size:25px}.sfc-event-liste .sfc-event-body{padding-left:12px}.sfc-event-liste .sfc-event-image{float:none;width:100%;margin:0 0 16px}.sfc-event-liste .sfc-event-image img{height:auto;max-height:280px}.sfc-event-liste h3{font-size:21px}.sfc-filter{gap:8px}.sfc-filter label{width:100%}.sfc-filter select{flex:1;min-width:0}.sfc-calendar summary{font-size:13px}.sfc-single .sfc-poster{margin:20px 0}}@media(prefers-reduced-motion:reduce){.sfc-events *{scroll-behavior:auto!important}}

/* Agenda: the parish’s compact white rows and cream date strip. */
.sfc-events{font-size:16px}.sfc-event-liste{background:#fff;border:1px solid #e8e6dd;border-radius:15px;box-shadow:0 7px 22px #132b420c;padding:0;margin:16px 0;gap:0;overflow:hidden}.sfc-event-liste .sfc-date-badge{width:88px;background:#f6f0de;padding:22px 10px}.sfc-event-liste .sfc-event-body{border:0;padding:20px 24px}.sfc-event-liste .sfc-when{font-size:14px;margin:0 0 7px;font-weight:400}.sfc-event-liste h3{font-size:22px;margin-bottom:8px}.sfc-event-liste .sfc-event-image{width:18%;margin-left:24px}.sfc-event-liste .sfc-event-image img{height:130px;border-radius:9px}.sfc-event-liste .sfc-location{font-size:14px;margin:6px 0}.sfc-event-liste .sfc-category{font-size:12px;border:1px solid #e0e3e7;border-radius:14px;padding:2px 8px}.sfc-month{font-size:30px!important;margin-top:40px!important}.sfc-month:after{background:#d7c77c;height:2px}.sfc-featured{display:inline-block;background:#e0b32f;color:#172748;border-radius:14px;padding:2px 10px;font-size:12px;margin-bottom:6px}.sfc-event-body{min-width:0;overflow-wrap:anywhere}.sfc-view-cartes{max-width:1200px;margin-inline:auto}@media(max-width:600px){.sfc-event-liste .sfc-date-badge{width:48px;padding:20px 5px}.sfc-event-liste .sfc-event-body{padding:18px 14px}.sfc-event-liste .sfc-event-image{width:100%;margin:0 0 16px}.sfc-event-liste .sfc-event-image img{height:auto;max-height:280px}.sfc-event-liste h3{font-size:20px}.sfc-month{font-size:24px!important}}
/* Version 1.0.1: compact list and shared filters. */
.sfc-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:20px 0}
.sfc-toolbar .sfc-periods,.sfc-toolbar .sfc-filter{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;font-size:14px}
.sfc-periods a{padding:8px 10px;white-space:nowrap}
.sfc-filter select{min-height:38px;margin:0;padding:6px 24px 6px 8px}
.sfc-filter button{min-height:38px;padding:6px 12px}
.sfc-month{font-size:26px!important;margin:26px 0 14px!important}
.sfc-event-liste{border:1px solid #e8e6dd;border-left:4px solid var(--sfc-category,#306b53);border-radius:10px;box-shadow:0 3px 12px #132b4209;margin:12px 0;overflow:visible}
.sfc-event-liste.sfc-is-featured{border:3px solid var(--sfc-category,#306b53);border-left-width:4px}
.sfc-event-liste .sfc-date-badge{width:60px;padding:14px 6px;border-radius:6px 0 0 6px}
.sfc-date-badge span{font-size:12px}.sfc-date-badge strong{font-size:27px}
.sfc-event-liste .sfc-event-body{display:flex;align-items:flex-start;gap:18px;padding:14px 18px}
.sfc-event-info{flex:1;min-width:0}
.sfc-event-liste h3{font-size:21px;margin:0 0 6px;line-height:1.25}
.sfc-event-liste .sfc-when{margin:0 0 5px}
.sfc-event-liste .sfc-location{margin:5px 0}
.sfc-event-liste .sfc-calendar{margin-top:9px}
.sfc-event-liste .sfc-calendar summary{padding:7px 10px}
.sfc-event-liste .sfc-series{margin:6px 0}
.sfc-event-liste .sfc-event-image{float:none;flex:0 0 140px;max-width:24%;width:auto;margin:0}
.sfc-event-liste .sfc-event-image img{height:130px;border-radius:5px}
.sfc-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){
 .sfc-page{width:calc(100% - 24px);margin-top:24px}
 .sfc-event-liste .sfc-date-badge{display:none}
 .sfc-event-liste .sfc-event-body{padding:12px;gap:12px}
 .sfc-event-liste .sfc-event-image{flex-basis:90px;max-width:28%}
 .sfc-event-liste .sfc-event-image img{height:auto;max-height:130px}
 .sfc-event-liste h3{font-size:19px}
 .sfc-month{font-size:23px!important}
 .sfc-toolbar .sfc-filter{width:100%}
 .sfc-toolbar .sfc-filter label{width:auto}
}

/* Compact cards and detail pages, isolated from the theme's paragraph spacing. */
.sfc-events.sfc-view-cartes,.sfc-events.sfc-single{line-height:1.3}
.sfc-events .sfc-event-cartes{padding:16px}
.sfc-events .sfc-event-cartes h3{line-height:1.15;margin:0 0 10px;padding:0}
.sfc-events .sfc-event-cartes p{line-height:1.3;margin:7px 0;padding:0}
.sfc-events .sfc-event-cartes .sfc-calendar{padding-top:10px}
.sfc-events .sfc-event-cartes .sfc-category{line-height:1.2;margin:3px 0}
.sfc-events.sfc-single p{line-height:1.3;margin:8px 0;padding:0}
.sfc-events.sfc-single .sfc-poster{margin:14px auto 8px;line-height:1.2}
.sfc-events.sfc-single .sfc-poster img{display:block;margin:0 auto}
.sfc-events.sfc-single .sfc-poster span{margin-top:4px}
.sfc-events.sfc-single .sfc-description{margin:12px 0}
.sfc-events.sfc-single .sfc-description p{margin:0 0 9px}
.sfc-events.sfc-single .sfc-description li{line-height:1.3;margin-bottom:4px}
.sfc-events.sfc-single .sfc-description h2,.sfc-events.sfc-single .sfc-description h3{line-height:1.2;margin:14px 0 7px}
.sfc-events.sfc-single .sfc-occurrence-public{padding:8px 0}
.sfc-events.sfc-single .sfc-calendar{margin-top:6px}
.sfc-events.sfc-single .sfc-past-dates{margin:12px 0}
.sfc-events.sfc-single .sfc-calendar[open]>div,.sfc-view-cartes .sfc-calendar[open]>div{line-height:1.3;gap:8px;padding:10px}
/* Keep theme-wide hero heading rules out of the plugin's templates. */
body.sfc-event-page #primary.sfc-page h1{font-size:clamp(28px,3.4vw,48px)!important;line-height:1.15!important;letter-spacing:normal!important;margin:0 0 20px!important;padding:0!important;text-transform:none;overflow-wrap:anywhere}
body.sfc-event-page #primary.sfc-page .sfc-single>h1{font-size:clamp(26px,3vw,38px)!important;margin-bottom:12px!important}
/* Sainte Famille home content uses 4.3% on both sides, at every breakpoint. */
body.sfc-crestois-layout #content>.ast-container{display:block;width:100%;max-width:none;padding-left:0;padding-right:0}
body.sfc-crestois-layout #content #primary.sfc-page{box-sizing:border-box;float:none;width:91.4%;max-width:none;margin:32px auto 48px;padding:0;border:0}
body.sfc-crestois-layout .sfc-single{max-width:none}
@media(max-width:600px){body.sfc-crestois-layout #content #primary.sfc-page{margin-top:24px;margin-bottom:32px}}
/* Archive heading and controls share a centred, wrapping row. */
.sfc-events .sfc-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin:0 0 26px}
body.sfc-event-page #primary.sfc-page .sfc-toolbar>h1{margin:0 auto 0 0!important;flex:0 0 auto}
.sfc-events .sfc-toolbar .sfc-filter{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;width:auto;margin:0;padding:0;min-width:0}
.sfc-events .sfc-toolbar .sfc-periods{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:0}
.sfc-events .sfc-toolbar .sfc-periods a,.sfc-events .sfc-toolbar .sfc-filter>button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:9px 12px;line-height:1.25;font-size:14px;white-space:nowrap}
.sfc-events .sfc-category-picker{position:relative;min-width:0;width:230px;margin:0;line-height:1.25;font-size:14px}
.sfc-events .sfc-category-picker>summary{box-sizing:border-box;display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 12px;border:1px solid #aab4bd;border-radius:5px;background:#fff;color:#172d4d;cursor:pointer;list-style:none}
.sfc-events .sfc-category-picker>summary::-webkit-details-marker{display:none}
.sfc-events .sfc-category-picker>summary:after{content:'▾';margin-left:auto}
.sfc-events .sfc-color-dot{display:inline-block;flex:0 0 12px;width:12px;height:12px;border-radius:50%;border:1px solid #0003}
.sfc-events .sfc-category-picker fieldset{box-sizing:border-box;position:absolute;z-index:30;top:100%;left:0;width:100%;max-height:340px;overflow-y:auto;margin:4px 0 0;padding:6px;border:1px solid #aab4bd;border-radius:5px;background:#fff;box-shadow:0 5px 15px #0002}
.sfc-events .sfc-toolbar .sfc-category-picker label{display:flex;align-items:center;gap:8px;width:100%;margin:0;padding:8px 5px;line-height:1.3;cursor:pointer;color:#172d4d}
.sfc-events .sfc-category-picker label:hover,.sfc-events .sfc-category-picker label:focus-within{background:#edf2f6}
.sfc-events .sfc-category-picker input{flex:0 0 auto;width:14px;height:14px;margin:0}
.sfc-events .sfc-category-picker summary:focus-visible{outline:2px solid #172d4d;outline-offset:3px}
@media(max-width:600px){body.sfc-event-page #primary.sfc-page .sfc-toolbar>h1{flex-basis:100%}.sfc-events .sfc-toolbar .sfc-filter{width:100%}.sfc-events .sfc-category-picker{flex:1;width:auto}.sfc-events .sfc-toolbar .sfc-periods{gap:6px}}
