/* Christmas theme, Advent 2026 (fuller version). Active only while christmas-theme.js puts html.xmas on the page
   (Nov 27 to Jan 6). Palette and garland follow meccatochrist.org's Christmas look, so the sites read as one family.
   To remove early: delete the christmas-theme line in index.html.
   The garland, lights and ornament pictures are drawn by christmas-theme.js. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,600;1,700&display=swap');
html.xmas{
  --xgreen:#1d4632; --xgreen-deep:#14301f; --xred:#a3121f; --xgold:#d9a92e; --xcream:#fff7e8;
}

/* ---------- Garland of pine, baubles and lights hung under the top bar ---------- */
.xmas-garland{position:absolute;left:0;right:0;top:100%;height:44px;margin-top:-6px;pointer-events:none;z-index:1;
  background:var(--xgarland) repeat-x 0 0/240px 44px}
.xmas-garland::before,.xmas-garland::after{content:"";position:absolute;inset:0;background:var(--xlights-a) repeat-x 0 0/240px 44px;animation:xmas-twinkle 1.8s ease-in-out infinite alternate}
.xmas-garland::after{background-image:var(--xlights-b);animation-delay:-.9s}
@keyframes xmas-twinkle{from{opacity:.35}to{opacity:1}}
.xmas-hang{position:absolute;top:26px;width:80px;height:104px;transform-origin:50% 0;animation:xmas-sway 5s ease-in-out infinite alternate}
.xmas-hang--l{left:1.2%;background:var(--xhang-l)}
.xmas-hang--r{right:1.2%;background:var(--xhang-r);animation-delay:-2.5s}
@keyframes xmas-sway{from{transform:rotate(-2.5deg)}to{transform:rotate(2.5deg)}}
@media (max-width:900px){.xmas-hang{display:none}.xmas-garland{height:36px;background-size:196px 36px}.xmas-garland::before,.xmas-garland::after{background-size:196px 36px}}

/* ---------- Gentle snowfall over the dark hero images ---------- */
.xmas-snow{position:absolute;inset:0;pointer-events:none;z-index:1;opacity:.7;
  background-image:
   radial-gradient(1.6px 1.6px at 22px 34px,#fff 60%,transparent 61%),radial-gradient(1.2px 1.2px at 118px 76px,#fff 60%,transparent 61%),
   radial-gradient(2px 2px at 174px 160px,#fff 60%,transparent 61%),radial-gradient(1.4px 1.4px at 64px 188px,#fff 60%,transparent 61%),
   radial-gradient(2.6px 2.6px at 90px 120px,rgba(255,255,255,.85) 60%,transparent 61%),radial-gradient(2.2px 2.2px at 260px 40px,rgba(255,255,255,.8) 60%,transparent 61%),
   radial-gradient(3px 3px at 300px 250px,rgba(255,255,255,.7) 60%,transparent 61%),radial-gradient(2.4px 2.4px at 30px 300px,rgba(255,255,255,.75) 60%,transparent 61%);
  background-size:220px 220px,220px 220px,220px 220px,220px 220px,340px 340px,340px 340px,340px 340px,340px 340px;
  animation:xmas-snow 22s linear infinite}
@keyframes xmas-snow{to{background-position:0 220px,0 220px,0 220px,0 220px,30px 340px,30px 340px,30px 340px,30px 340px}}

/* ---------- The Christmas greeting in each hero ---------- */
.xmas-greet{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:.35rem;margin:0 auto 1.4rem;max-width:34rem;text-align:center;color:#fff3cf}
.xmas-greet svg{width:2.1rem;height:2.1rem;filter:drop-shadow(0 0 10px rgba(255,214,107,.75))}
.xmas-greet__title{font-family:"Playfair Display",Georgia,serif;font-style:italic;font-weight:700;font-size:clamp(2rem,4.2vw,3.2rem);line-height:1.05;color:#f0c75e!important;text-shadow:0 2px 18px rgba(0,0,0,.45);letter-spacing:.01em}
.xmas-greet__verse{font-family:"Playfair Display",Georgia,serif;font-style:italic;font-weight:600;font-size:clamp(.95rem,1.4vw,1.1rem);line-height:1.45;color:#fff3cf!important;text-shadow:0 1px 10px rgba(0,0,0,.5)}
.xmas-greet__verse cite{font-style:normal;font-family:inherit;opacity:.8;white-space:nowrap}
.xmas-hide{display:none!important}
@media print{.xmas-greet,.xmas-garland,.xmas-snow,.xmas-foot{display:none}}

/* ---------- Footer greeting ---------- */
.xmas-foot{display:flex;align-items:center;justify-content:center;gap:.6rem;margin:0 auto 2rem;padding-top:2.6rem;font-family:"Playfair Display",Georgia,serif;font-style:italic;font-weight:600;font-size:1.25rem;color:#f0c75e!important;text-align:center;
  background:var(--xgarland) repeat-x 0 0/240px 44px}
.xmas-foot svg{width:1.3rem;height:1.3rem;flex:none}

@media (prefers-reduced-motion:reduce){.xmas-garland::before,.xmas-garland::after,.xmas-hang,.xmas-snow{animation:none}}

/* ---------- ahmedjoktan.com and ahmedjoktan.us ---------- */
html.xmas--ahmedjoktan .h-hero .bg-black\/40{background:linear-gradient(to bottom,rgba(8,30,20,.66),rgba(8,30,20,.3) 40%,rgba(6,20,14,.86))}
html.xmas--ahmedjoktan .h-hero h1{position:relative;z-index:2}
html.xmas--ahmedjoktan section.bg-gray-900{background-color:var(--xgreen-deep);background-image:var(--xgarland);background-repeat:repeat-x;background-position:top center;background-size:240px 44px}
html.xmas--ahmedjoktan .bg-primary-light{background-color:var(--xcream)}
html.xmas--ahmedjoktan footer.bg-gray-900{background-color:#0f2419}

/* ---------- abrahamic.family ---------- */
html.xmas--abrahamic #root h1 em{color:#e3bb55!important}
html.xmas--abrahamic #root div:has(>h1)>.section-label{color:#e3bb55!important}
html.xmas--abrahamic #root h1+div>div{background:rgba(227,187,85,.45)!important}
html.xmas--abrahamic #root h1+div>div:nth-child(2){background:#e3bb55!important}
html.xmas--abrahamic footer{background-color:#0f2419!important}

/* ---------- invisible.bible ---------- */
html.xmas--invisible .xmas-greet{align-items:flex-start;text-align:left;margin:3.2rem 0 1.4rem}
html.xmas--invisible .xmas-hang--l{display:none}
@media (max-width:767px){html.xmas--invisible .xmas-greet{align-items:center;text-align:center;margin:2rem auto 1.2rem}}
html.xmas--invisible footer{background-image:linear-gradient(to bottom,rgba(15,36,25,.85),#0f2419)!important}

/* ---------- paol.be ---------- */
html.xmas--paol #event{background:radial-gradient(60rem 26rem at 0 0,rgba(29,70,50,.10),transparent 70%),radial-gradient(60rem 26rem at 100% 0,rgba(163,18,31,.08),transparent 70%)}
html.xmas--paol .xmas-greet{color:#3f2d22}
html.xmas--paol .xmas-greet__title{color:#9b1422!important;text-shadow:none}
html.xmas--paol .xmas-greet__verse{color:#4a3a2e!important;text-shadow:none}
html.xmas--paol .xmas-greet svg{filter:drop-shadow(0 0 6px rgba(217,169,46,.6))}

@media (max-width:40rem){.xmas-greet{margin-bottom:1.1rem}.xmas-foot{font-size:1.1rem}}