/* SMDP homepage: notice strip, season layer, "This Week" block, Advent 2026 styling pass. Loaded on the front page only (smdp-announce.php).
   Season accents ratified 2026-11-28 (Daniel): Advent violet, rose on Gaudete Sunday only, Christmas gold, Ordinary Time green. Teal #104147 stays the identity.
   Tints are derived from the accent, so a season is one colour value. */
body{--sa-teal:#104147;--sa-teal2:#2c6e63;--sa-cream:#f4eee0;--sa-ink:#0f0f10;--sa-char:#3d3d40;--sa-stone:#e0dcd3;
  --sa-season:#104147;--sa-season-ink:#fff;--sa-label:var(--sa-season);
  --sa-pale:color-mix(in oklab,var(--sa-season) 14%,#f4eee0);
  --sa-faint:color-mix(in oklab,var(--sa-season) 9%,#fff);
  --sa-wash:color-mix(in oklab,var(--sa-season) 7%,#fff);
  --sa-line:color-mix(in oklab,var(--sa-season) 35%,#e0dcd3)}
body.smdp-season-ordinary{--sa-season:#3f7d4e}
body.smdp-season-advent{--sa-season:#56357a}
body.smdp-season-gaudete{--sa-season:#c4768e;--sa-season-ink:#2a0f1a;--sa-label:#2c6e63}
body.smdp-season-christmas{--sa-season:#b8862b;--sa-season-ink:#241803;--sa-label:#2c6e63}

/* ---- strip above the header ---- */
.smdp-nstrip{background:var(--sa-season);color:var(--sa-season-ink);font-family:Inter,"Helvetica Neue",Arial,sans-serif;font-size:14.5px;line-height:1.4}
.smdp-nstrip[hidden]{display:none}
.smdp-nstrip-in{max-width:1200px;margin:0 auto;padding:8px 40px;min-height:46px;display:flex;align-items:center;gap:14px;box-sizing:border-box}
.smdp-nstrip-pill{font-weight:700;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;border:1.5px solid currentColor;border-radius:99px;padding:2px 10px;white-space:nowrap}
.smdp-nstrip-txt{flex:1;min-width:0}
.smdp-nstrip-txt b{font-family:"EB Garamond",Georgia,serif;font-size:18px;font-weight:600}
#smdp-nstrip a{color:inherit !important;font-weight:700;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
#smdp-nstrip button{all:unset;cursor:pointer;font-size:20px;line-height:1;padding:4px 8px;border-radius:6px;opacity:.85;background:transparent !important;color:inherit !important;font-family:inherit}
#smdp-nstrip button:hover{opacity:1}
#smdp-nstrip a:focus-visible,#smdp-nstrip button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media (max-width:768px){.smdp-nstrip-in{padding:8px 20px}.smdp-nstrip-pill{display:none}}

/* ---- styling pass on the existing kit (homepage only). "body" in front: the kit's own <style> comes later in the page, so an equal selector would lose. ---- */
body #smdpk .w{max-width:1080px}
body #smdpk .hero{background:linear-gradient(180deg,#fff,var(--sa-wash) 26%,#fff 94%);padding:clamp(36px,5vw,64px) 10px clamp(30px,4.5vw,52px)}
body #smdpk .hero h1{font-size:clamp(40px,6vw,72px) !important;line-height:.98 !important;letter-spacing:-.01em !important;text-wrap:balance}
body #smdpk .hero .kick{color:var(--sa-teal2);font-size:12px;letter-spacing:.16em !important;font-weight:700}
body #smdpk .hero .sub{font-family:"EB Garamond",Georgia,serif;font-size:clamp(18px,1.7vw,20px);line-height:1.45;max-width:34em;text-wrap:pretty}
body #smdpk section h2{font-size:clamp(28px,3.2vw,36px) !important;line-height:1.05;text-wrap:balance}
body #smdpk .card,body #smdpk .callout,body #smdpk .bullwrap{border-radius:10px}
body #smdpk .btn{border-radius:8px}
body #smdpk a:focus-visible{outline:3px solid var(--sa-season);outline-offset:3px;border-radius:4px}

/* ---- Advent wreath in the liturgical day line ---- */
#smdpk .sa-wreath{display:inline-flex;align-items:flex-end;height:32px;flex:none}
#smdpk .sa-wreath:empty{display:none}
#smdpk .sa-wreath svg{height:32px;width:auto;display:block}

/* ---- This Week block ---- */
#smdpk section.sa-ann{padding:clamp(34px,5vw,56px) 10px}
#smdpk .sa-ann .rule{background:var(--sa-season)}
#smdpk .sa-src{font-size:13px;color:var(--sa-char);margin:0 0 20px}
#smdpk .sa-board{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:18px;align-items:stretch}
#smdpk .sa-board.sa-solo{grid-template-columns:1fr}
#smdpk a.sa-lead,#smdpk a.sa-row{text-decoration:none !important;color:var(--sa-ink) !important}
#smdpk .sa-lead{position:relative;overflow:hidden;background:#fff;border:1px solid var(--sa-stone);border-radius:10px;padding:28px 26px 26px 40px;display:flex;flex-direction:column;justify-content:center;min-height:290px;container-type:inline-size;box-sizing:border-box}
#smdpk .sa-lead::before{content:"";position:absolute;top:0;bottom:0;left:0;width:12px;background:var(--sa-season)}
#smdpk .sa-big{position:absolute;right:-10px;top:50%;transform:translateY(-50%);width:min(38%,250px);color:var(--sa-faint);pointer-events:none}
#smdpk .sa-big svg{display:block;width:100%;height:auto}
#smdpk .sa-lead>*:not(.sa-big){position:relative}
#smdpk .sa-tag{display:inline-flex;align-items:center;gap:9px;align-self:flex-start;background:var(--sa-season);color:var(--sa-season-ink);font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;border-radius:6px;padding:5px 11px 5px 6px}
#smdpk .sa-badge{width:26px;height:26px;border-radius:50%;background:var(--sa-teal);color:var(--sa-cream);display:grid;place-items:center;flex:none}
#smdpk .sa-badge svg{width:18px;height:18px;display:block}
#smdpk .sa-lead h3{font-family:"Cormorant Garamond",Georgia,serif;font-weight:700;color:var(--sa-teal);font-size:clamp(28px,8.4cqi,50px);line-height:1.02;margin:14px 0 4px;text-wrap:balance}
#smdpk .sa-lead h3,#smdpk .sa-lead .sa-es,#smdpk .sa-lead .sa-when,#smdpk .sa-lead .sa-where{max-width:min(100%,calc(100% - min(30%,190px)))}
#smdpk .sa-es{font-family:"EB Garamond",Georgia,serif;font-style:italic;color:var(--sa-teal2);font-size:19px;line-height:1.3;margin:0}
#smdpk .sa-when{font-family:"EB Garamond",Georgia,serif;font-weight:600;font-size:clamp(20px,5.2cqi,28px);line-height:1.25;color:var(--sa-ink);margin:14px 0 0;font-variant-numeric:lining-nums}
#smdpk .sa-where{font-size:14.5px;color:var(--sa-char);margin:2px 0 0;line-height:1.5}
#smdpk .sa-go{font-weight:700;font-size:14px;color:var(--sa-teal);margin-top:16px}
#smdpk ul.sa-rows{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
#smdpk ul.sa-rows li{margin:0;padding:0;list-style:none}
#smdpk .sa-row{display:grid;grid-template-columns:62px 1fr;gap:14px;align-items:center;background:#fff;border:1px solid var(--sa-stone);border-radius:10px;padding:10px 14px 10px 10px;transition:border-color .15s,transform .15s}
#smdpk .sa-lead:hover,#smdpk .sa-row:hover{border-color:var(--sa-line)}
#smdpk .sa-row:hover{transform:translateX(2px)}
#smdpk .sa-dblk{background:var(--sa-pale);border-radius:8px;text-align:center;padding:6px 0 7px;color:var(--sa-teal);font-variant-numeric:lining-nums tabular-nums;display:block}
#smdpk .sa-dblk span{display:block}
#smdpk .sa-dblk .sa-m{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--sa-label)}
#smdpk .sa-dblk .sa-d{font-family:"Cormorant Garamond",Georgia,serif;font-weight:700;font-size:27px;line-height:.95}
#smdpk .sa-dblk .sa-dow{font-size:10.5px;font-weight:600;color:var(--sa-char)}
#smdpk .sa-k{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--sa-label)}
#smdpk .sa-k svg{width:15px;height:15px;color:var(--sa-teal);display:block}
#smdpk .sa-t{font-family:"EB Garamond",Georgia,serif;font-weight:600;font-size:17.5px;line-height:1.2;color:var(--sa-teal);margin:0;text-wrap:balance}
#smdpk .sa-m2{font-size:13px;line-height:1.45;color:var(--sa-char);margin:2px 0 0}
#smdpk .sa-more{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:700;margin-top:16px;flex-wrap:wrap}
#smdpk .sa-more span{font-weight:400;color:var(--sa-char)}
#smdpk .sa-more a{color:var(--sa-teal);text-underline-offset:3px}
#smdpk .sa-fade{animation:sa-fade .5s ease both}
@keyframes sa-fade{from{opacity:0}to{opacity:1}}
@media (max-width:860px){#smdpk .sa-board{grid-template-columns:1fr}#smdpk .sa-lead{min-height:0}}
@media (prefers-reduced-motion:reduce){#smdpk .sa-fade{animation:none}#smdpk .sa-row{transition:none}}
