/* Seasonal styles are isolated from light and dark. */
html[data-theme="christmas"]{color-scheme:light;--bg:#fffaf1;--bg-raised:#fffdf8;--bg-sunken:#f4eddf;--fg:#193d31;--fg-muted:#536657;--accent:#9f2639;--accent-fg:#fff;--line:#d9dac8;--line-strong:#b1bda4;--bg-invert:#143e31;--fg-invert:#fff9eb;--ink:#193d31;--navy:#153e30;--cream:#fffaf1;--white:#fffdf8;--muted:#536657;--reader-bg:#fffaf1;--reader-panel:#fffdf8;--reader-fg:#193d31;--reader-line:#d9dac8}
html[data-theme="christmas"] body{background:#fffaf1;color:#193d31}
html[data-theme="christmas"] .direct-header{background:#153e30;border-bottom:3px solid #c7a35f}
html[data-theme="christmas"] .direct-brand,html[data-theme="christmas"] .direct-header .direct-nav a{color:#fff8e7}
html[data-theme="christmas"] .direct-header .church-logo{filter:invert(1)!important}
html[data-theme="christmas"] .direct-nav a[aria-current="page"],html[data-theme="christmas"] .direct-header .direct-nav a:hover{background:#9f2639;color:white}
html[data-theme="christmas"] :is(.church-theme-button,.site-share-button){background:#fff7e5;border-color:#d2b777;color:#244b39}
html[data-theme="christmas"] :is(.page-intro,.site-footer){background:linear-gradient(120deg,#113d2c,#22523d);color:#fff7e4}
html[data-theme="christmas"] .page-intro :is(h1,p,.page-kicker){color:#fff7e4}
html[data-theme="christmas"] :is(#services,.home-feature,.home-explore,#connect,#about,#contact,#events,#magazines,#resources,#encouragement){background:#fffaf1}
html[data-theme="christmas"] :is(.label,.eyebrow,.section-head .label){color:#9f2639}
html[data-theme="christmas"] :is(.hero .label,.hero__bar a,.prayer-panel .label){color:#fff4d2}
html[data-theme="christmas"] .hero__bar a{background:#153e30e8}
html[data-theme="christmas"] .hero__bar a:hover{background:#9f2639}
html[data-theme="christmas"] :is(.service,.pathway,.resource-card,.calendar-panel,.connection-card,.current-magazine,.verse-card){background:#fffdf8;border-color:#d4d8c5}
html[data-theme="christmas"] :is(.btn,.kids-bible-button){background:#9f2639;color:#fff;border-color:#9f2639}
html[data-theme="christmas"] .prayer-panel{background:linear-gradient(120deg,#163f30,#2d5c42);padding:clamp(24px,5vw,48px);color:#fff9e9}
html[data-theme="christmas"] .prayer-panel :is(p,h2,h3){color:#fff9e9}
html[data-theme="christmas"] :is(.current-magazine-copy h3,.kids-bible-copy h4,.bible-puzzle-card strong){color:#9f2639}
html[data-theme="christmas"] :is(.kids-bible-card,.bible-puzzle-card){background:linear-gradient(115deg,#edf3e7,#fff4e4);border-color:#cad5bb}
html[data-theme="christmas"] .christmas-event{background:#edf3e7;border:1px solid #bfceb6;border-radius:22px}
.christmas-event{margin:24px 0}.more-resources-link{display:flex;align-items:center;gap:12px;margin:0 0 24px auto;border:0;border-bottom:1px solid currentColor;padding:0 0 6px;background:none;color:var(--accent);font:700 13px/1.5 var(--font-ui);cursor:pointer}
.season-trees{display:none;pointer-events:none;text-align:center;letter-spacing:20px;font-size:27px;background:#153e30;color:#f6d88e;padding:6px;overflow:hidden}
html[data-theme="christmas"] .season-trees{display:block}.season-trees span{display:inline-block;animation:tree-glow 4s ease-in-out infinite alternate}
.gift-button{position:fixed;right:12px;bottom:100px;z-index:70;width:58px;height:64px;border:1px solid #e0c180;border-radius:18px;background:#8d2637;color:#fff9e9;box-shadow:0 6px 22px #142b2933;font-size:29px;cursor:pointer;animation:gift-sway 5s ease-in-out infinite}.gift-button small{display:block;font:600 9px system-ui;letter-spacing:1px}.gift-button:hover{animation:none;transform:translateY(-3px)}
.season-dialog{width:min(660px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #cfb677;border-radius:26px;background:#fff9ed;color:#213e30;padding:clamp(24px,5vw,44px)}.season-dialog::backdrop{background:#0b231dcc;backdrop-filter:blur(3px)}.season-dialog .season-close{float:right;min-height:44px;padding:8px 15px;border:1px solid #b9c4b1;border-radius:24px;background:#fffdf5;color:#244b39;cursor:pointer}.season-dialog h2{clear:both;font:500 clamp(34px,7vw,54px)/1.1 Georgia,serif;color:#8d2637;margin:18px 0}.season-dialog h3{color:#194f37;font:500 26px Georgia,serif}.season-dialog p{font:16px/1.8 var(--font-ui),sans-serif}.season-dialog a{color:#8d2637;font-weight:600}.season-star{clear:both;text-align:center;color:#b38a36;font-size:54px;animation:tree-glow 3s infinite alternate}.season-message{border-left:3px solid #bb994e;padding-left:20px;margin:24px 0}.season-dialog[open] .season-message{animation:gift-reveal .5s ease-out}.recipe-resource{display:block;padding:22px;border-radius:18px;background:#edf3e7;text-decoration:none}.recipe-resource h3{margin-top:0}.recipe-resource span{font-size:14px}
@keyframes gift-sway{0%,80%,100%{transform:rotate(0)}85%{transform:rotate(-7deg)}90%{transform:rotate(7deg)}95%{transform:rotate(-4deg)}}@keyframes tree-glow{from{opacity:.7;filter:drop-shadow(0 0 0 #f5d481)}to{opacity:1;filter:drop-shadow(0 0 7px #f5d481)}}@keyframes gift-reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:650px){.gift-button{right:8px;bottom:18px;width:48px;height:58px;font-size:25px}.season-trees{font-size:20px;letter-spacing:12px}.season-dialog{padding:22px}.christmas-event{margin:20px 0}}
@media(prefers-reduced-motion:reduce){.gift-button,.season-trees span,.season-star,.season-dialog[open] .season-message{animation:none}}
/* Festive illustrations replace the removed header strip. */
.festive-art{display:none;pointer-events:none;position:fixed;inset:auto 0 0;z-index:5;height:160px;overflow:hidden}html[data-theme="christmas"] .festive-art{display:block}.festive-art img{position:absolute;bottom:-8px;object-fit:contain;filter:drop-shadow(0 5px 8px #163c3020)}.festive-tree{left:5px;width:100px;height:130px;transform-origin:bottom;animation:festive-rock 6s ease-in-out infinite}.festive-snowman{right:5px;width:90px;height:115px;animation:festive-bob 5s ease-in-out infinite}.festive-sparkle{position:absolute;color:#c89b38;font-size:26px;animation:tree-glow 2.5s ease-in-out infinite alternate}.sparkle-one{bottom:120px;left:75px}.sparkle-two{bottom:95px;right:82px;animation-delay:1s}html[data-theme="christmas"] .page-intro{background-image:radial-gradient(circle at 15% 30%,#e8c47338 0 2px,transparent 3px),radial-gradient(circle at 75% 65%,#f5d48930 0 2px,transparent 3px),linear-gradient(120deg,#17422f,#822839);background-size:60px 60px,90px 90px,auto}html[data-theme="christmas"] .christmas-event{border:2px solid #b58f42;background:linear-gradient(120deg,#fff7e7,#f1e5df)}.nativity-references{font-size:12px!important;color:#536657}.season-dialog .resource-card{width:100%}.season-dialog .resource-card .resource-number{color:inherit}.season-dialog .resource-card .resource-link{color:inherit}.season-dialog .resource-card p{font-size:14px}.season-dialog .resource-card h3{font-family:var(--font-display),Georgia,serif}
@keyframes festive-rock{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}@keyframes festive-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}@media(max-width:700px){.festive-art{height:100px}.festive-tree{width:60px;height:80px}.festive-snowman{width:50px;height:65px;right:62px}.sparkle-one{bottom:65px;left:48px}.sparkle-two{bottom:55px;right:110px}}@media(prefers-reduced-motion:reduce){.festive-art img,.festive-sparkle{animation:none}}@media print{.festive-art,.gift-button{display:none}}
.gift-button{bottom:170px;right:16px;width:114px;height:100px;border-radius:22px}.gift-cluster{display:flex;align-items:end;justify-content:center;height:58px}.gift-cluster span{font-size:33px;margin:0 -5px;transform:rotate(-12deg)}.gift-cluster span:nth-child(2){font-size:48px;z-index:1;transform:translateY(-5px)}.gift-cluster span:nth-child(3){transform:rotate(12deg)}.gift-button small{margin-top:8px;font-size:10px;letter-spacing:.5px}.season-dialog .season-message p{margin:0 0 1.35em;line-height:1.9}.season-dialog .season-message h3{margin:1.6em 0 .6em}.season-dialog .season-message h3:first-child{margin-top:0}html[data-theme="christmas"] .christmas-section{position:relative}html[data-theme="christmas"] .christmas-section::before{content:'✦';position:absolute;right:24px;top:18px;color:#b79543;font-size:24px;pointer-events:none;animation:season-twinkle 4s ease-in-out infinite}html[data-theme="christmas"] .christmas-section:nth-child(even)::before{content:'❄';color:#9b3344;animation-delay:1s}html[data-theme="christmas"] .christmas-in-view .section-head{animation:season-welcome .8s ease-out both;animation-delay:var(--season-delay,0s)}html[data-theme="christmas"] .christmas-section :is(.resource-card,.pathway,.featured-event){transition:transform .3s,box-shadow .3s}html[data-theme="christmas"] .christmas-section :is(.resource-card,.pathway,.featured-event):hover{transform:translateY(-4px);box-shadow:0 12px 26px #9f263920}@keyframes season-welcome{from{opacity:.65;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes season-twinkle{0%,100%{opacity:.4;transform:rotate(0) scale(.85)}50%{opacity:1;transform:rotate(25deg) scale(1.15)}}@media(max-width:700px){.gift-button{bottom:125px;right:8px;width:88px;height:82px}.gift-cluster{height:46px}.gift-cluster span{font-size:26px}.gift-cluster span:nth-child(2){font-size:36px}.gift-button small{font-size:8px;margin-top:4px}}@media(prefers-reduced-motion:reduce){html[data-theme="christmas"] .christmas-section::before,html[data-theme="christmas"] .christmas-in-view .section-head{animation:none}}
/* Small supplied festive illustrations, with room reserved below each section. */
.section-festive-decoration{display:none}html[data-theme="christmas"] main>.christmas-section{padding-bottom:max(110px,5vw)}html[data-theme="christmas"] .section-festive-decoration{display:block;position:absolute;inset:auto 20px 12px;height:84px;pointer-events:none}html[data-theme="christmas"] .section-festive-decoration img{position:absolute;right:0;bottom:0;width:74px;height:80px;object-fit:contain;border-radius:12px;animation:festive-bob 5s ease-in-out infinite;animation-delay:var(--season-delay,0s)}.section-festive-decoration span{position:absolute;color:#bd953e;font-size:22px;animation:season-twinkle 4s ease-in-out infinite}.section-festive-decoration span:nth-child(2){left:5%;top:12px}.section-festive-decoration span:nth-child(3){left:32%;top:43px;color:#b65b65;animation-delay:1s}.section-festive-decoration span:nth-child(4){left:64%;top:10px;animation-delay:2s}.section-festive-decoration span:nth-child(5){right:95px;top:40px;color:#56886c;animation-delay:3s}html[data-theme="christmas"] .christmas-section::after{content:'✦   ❄   ✧';position:absolute;left:20px;top:12px;font-size:17px;letter-spacing:14px;color:#b58a3d;opacity:.65;pointer-events:none;animation:tree-glow 5s ease-in-out infinite alternate}html[data-theme="christmas"] .hero::after{color:#fff4cd}html[data-theme="christmas"] .hero .section-festive-decoration{bottom:125px;right:24px;left:auto;width:90px}html[data-theme="christmas"] .hero .section-festive-decoration span{display:none}@media(max-width:700px){html[data-theme="christmas"] .section-festive-decoration{height:65px;inset:auto 16px 10px}html[data-theme="christmas"] .section-festive-decoration img{width:55px;height:62px}html[data-theme="christmas"] main>.christmas-section{padding-bottom:90px}.section-festive-decoration span{font-size:17px}html[data-theme="christmas"] .hero .section-festive-decoration{display:none}}@media(prefers-reduced-motion:reduce){html[data-theme="christmas"] .section-festive-decoration img,.section-festive-decoration span,html[data-theme="christmas"] .christmas-section::after{animation:none}}
/* Alternate the illustrations; retain the mobile star positions. */
html[data-theme="christmas"] .christmas-section[data-festive-side="left"] .section-festive-decoration img{left:0;right:auto}
/* Keep desktop ornaments aligned with the content rather than viewport edges. */
@media(min-width:701px){
 html[data-theme="christmas"] main>.christmas-section:not(.hero) .section-festive-decoration{left:50%;right:auto;bottom:18px;transform:translateX(-50%);width:calc(100% - 80px);max-width:1120px;height:80px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;padding-right:110px}
 html[data-theme="christmas"] main>.christmas-section[data-festive-side="left"]:not(.hero) .section-festive-decoration{padding-left:110px;padding-right:0}
 html[data-theme="christmas"] main>.christmas-section:not(.hero) .section-festive-decoration span{position:static;justify-self:center;font-size:clamp(17px,1.4vw,22px);line-height:1;opacity:.65}
 html[data-theme="christmas"] main>.christmas-section:not(.hero) .section-festive-decoration span:nth-child(3),html[data-theme="christmas"] main>.christmas-section:not(.hero) .section-festive-decoration span:nth-child(5){align-self:end;margin-bottom:14px}
 html[data-theme="christmas"] main>.christmas-section:not(.hero)::after{content:'✦';left:max(30px,calc((100% - 1120px)/2));top:18px;letter-spacing:0;font-size:17px}
 html[data-theme="christmas"] main>.christmas-section:not(.hero)::before{right:max(30px,calc((100% - 1120px)/2));top:18px;font-size:19px}
 html[data-theme="christmas"] .hero .section-festive-decoration{right:max(30px,calc((100% - 1120px)/2))}
}

/* Keep the home cover and quick links clear, and gifts seasonal only. */
html[data-theme="christmas"] main>.hero .section-festive-decoration{display:none}
.gift-button{display:none}
html[data-theme="christmas"] .gift-button{display:block}

/* Hero has no ornament band: dock quick links at the photo's bottom in every mode. */
html[data-theme="christmas"] main>.hero.christmas-section{padding-block:0}
