/* v23: Pastor Tonya's three added November articles (Thanksgiving guide, Kingdom ICE TEEM,
   Holiday Season Check-Up). Reuses the magazine's page, eyebrow, h2/h3, event, blockquote and
   reader-invite styles; this file only adds the video frame, the hymn block and a byline. */
/* v30: Janice's Thanksgiving table photo (native 2000 + 1440, no upscale) for article 06.
   Body backgrounds on 06–08 are only barely softened (2px blur) so the photo stays recognizable,
   with a lighter green wash and a soft panel behind the text column for WCAG AA contrast. */
#thanksgiving-guide .bgp,#ice-teem .bgp,#holiday-checkup .bgp{display:block!important;filter:blur(2px)!important;-webkit-mask-image:none!important;mask-image:none!important;background-size:cover!important;background-repeat:no-repeat!important}
#thanksgiving-guide .bgp{background-image:url(backgrounds/thanksgiving-table-1440.webp);background-image:-webkit-image-set(url(backgrounds/thanksgiving-table-1440.webp) 1x,url(backgrounds/thanksgiving-table-2000.webp) 2x);background-image:image-set(url(backgrounds/thanksgiving-table-1440.webp) 1x,url(backgrounds/thanksgiving-table-2000.webp) 2x);background-position:50% 12%}
#ice-teem .bgp{background-image:url(backgrounds/emergency-kit-1440.webp);background-image:-webkit-image-set(url(backgrounds/emergency-kit-1440.webp) 1x,url(backgrounds/emergency-kit-2880.webp) 2x);background-image:image-set(url(backgrounds/emergency-kit-1440.webp) 1x,url(backgrounds/emergency-kit-2880.webp) 2x);background-position:50% 30%}
#holiday-checkup .bgp{background-image:url(backgrounds/advent-wreath-1440.webp);background-image:-webkit-image-set(url(backgrounds/advent-wreath-1440.webp) 1x,url(backgrounds/advent-wreath-2880.webp) 2x);background-image:image-set(url(backgrounds/advent-wreath-1440.webp) 1x,url(backgrounds/advent-wreath-2880.webp) 2x);background-position:50% 30%}
#thanksgiving-guide .veil::after,#ice-teem .veil::after,#holiday-checkup .veil::after{background:rgba(12,28,16,.42)!important}
#thanksgiving-guide.page::after,#ice-teem.page::after,#holiday-checkup.page::after{
  content:'';position:absolute;left:0;right:0;top:0;height:var(--fh-band);z-index:-1;pointer-events:none;
  background-size:cover;background-repeat:no-repeat;background-color:#0f1f12;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 74%,transparent 100%);mask-image:linear-gradient(180deg,#000 0%,#000 74%,transparent 100%)}
#thanksgiving-guide.page::after{background-image:url(backgrounds/thanksgiving-table-1440.webp);background-image:-webkit-image-set(url(backgrounds/thanksgiving-table-1440.webp) 1x,url(backgrounds/thanksgiving-table-2000.webp) 2x);background-image:image-set(url(backgrounds/thanksgiving-table-1440.webp) 1x,url(backgrounds/thanksgiving-table-2000.webp) 2x);background-position:50% 12%}
#ice-teem.page::after{background-image:url(backgrounds/emergency-kit-1440.webp);background-image:-webkit-image-set(url(backgrounds/emergency-kit-1440.webp) 1x,url(backgrounds/emergency-kit-2880.webp) 2x);background-image:image-set(url(backgrounds/emergency-kit-1440.webp) 1x,url(backgrounds/emergency-kit-2880.webp) 2x);background-position:50% 30%}
#holiday-checkup.page::after{background-image:url(backgrounds/advent-wreath-1440.webp);background-image:-webkit-image-set(url(backgrounds/advent-wreath-1440.webp) 1x,url(backgrounds/advent-wreath-2880.webp) 2x);background-image:image-set(url(backgrounds/advent-wreath-1440.webp) 1x,url(backgrounds/advent-wreath-2880.webp) 2x);background-position:50% 30%}
#thanksgiving-guide.page,#ice-teem.page,#holiday-checkup.page{--fh-band:clamp(260px,48svh,520px);position:relative}
#thanksgiving-guide .page-body,#ice-teem .page-body,#holiday-checkup .page-body{padding-top:calc(var(--fh-band) * .94)!important;background:linear-gradient(180deg,transparent 0,transparent calc(var(--fh-band) * .82),rgba(12,28,16,.66) calc(var(--fh-band) * .92),rgba(12,28,16,.66) 100%);border-radius:0 0 18px 18px}
#thanksgiving-guide .page-body p,#thanksgiving-guide .page-body li,#ice-teem .page-body p,#ice-teem .page-body li,#holiday-checkup .page-body p,#holiday-checkup .page-body li{text-shadow:0 1px 3px rgba(0,0,0,.85),0 2px 14px rgba(0,0,0,.7)}
#thanksgiving-guide .page-body h2,#ice-teem .page-body h2,#holiday-checkup .page-body h2,#thanksgiving-guide .page-body h3,#ice-teem .page-body h3,#holiday-checkup .page-body h3{text-shadow:0 1px 2px rgba(0,0,0,.75),0 0 22px rgba(0,0,0,.45)}
#thanksgiving-guide .veil,#ice-teem .veil,#holiday-checkup .veil{background:linear-gradient(180deg,#0f1f12 0%,transparent 10%,transparent 90%,#0f1f12 100%),radial-gradient(60% 50% at 12% 20%,rgba(72,85,28,.35),transparent 70%),radial-gradient(50% 50% at 90% 85%,rgba(72,85,28,.3),transparent 70%)}
#thanksgiving-guide.page,#ice-teem.page,#holiday-checkup.page{background:#0f1f12}
/* Narrow screens: size the Thanksgiving top band to the photo's 3:2 aspect so all five faces stay in frame. */
@media (max-width:500px){
  #thanksgiving-guide.page{--fh-band:calc(100vw * 1333 / 2000)}
  #thanksgiving-guide .bgp,#thanksgiving-guide.page::after{background-position:50% 50%}
}
.fh-byline{font-family:'Cinzel',serif;letter-spacing:.14em;font-size:14px;color:#d9b46a;margin:4px 0 22px}
.fh-table-head{letter-spacing:.12em;text-transform:uppercase;margin:6px 0 0}
.page-body ol li,.page-body ul li{margin:0 0 6px}
.fh-video{margin:26px 0;padding:0}
.fh-video video{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;background:#000;
  border:1px solid rgba(217,180,106,.55);border-radius:12px;box-shadow:0 12px 35px rgba(0,0,0,.45)}
.fh-video figcaption{margin-top:8px;text-align:center}
.fh-hymn{margin:26px 0;padding:22px 24px;text-align:center;border:1px solid rgba(217,180,106,.4);border-radius:14px;
  background:rgba(255,255,255,.06)}
.fh-hymn h3{font-family:'Great Vibes','Cormorant Garamond',cursive;font-size:clamp(32px,4.4vw,44px);color:#d9b46a;margin:8px 0 16px;font-weight:400}
.fh-hymn .fh-stanza{font-style:italic;line-height:1.7;margin:0 auto 18px;max-width:30em}
.fh-stanza-n{display:block;font-family:'Cinzel',serif;font-style:normal;font-size:13px;letter-spacing:.2em;color:#d9b46a;margin-bottom:4px}
.fh-hymn-credit{margin:6px 0 0}
/* Inserting three pages shifts odd/even page parity; pin the side-mask of the pages after them
   to the exact values they had before, so their look is unchanged. */
main.magazine #photos .bgp{-webkit-mask-image:radial-gradient(ellipse 95% 90% at 60% 50%,#000 55%,transparent 98%);mask-image:radial-gradient(ellipse 95% 90% at 60% 50%,#000 55%,transparent 98%)}
main.magazine #connect .bgp,main.magazine #archive .bgp,main.magazine #support .bgp{-webkit-mask-image:radial-gradient(ellipse 95% 90% at 40% 50%,#000 55%,transparent 98%);mask-image:radial-gradient(ellipse 95% 90% at 40% 50%,#000 55%,transparent 98%)}
.fh-hymn,.reader-invite a[href^="mailto:"]{overflow-wrap:anywhere}
/* The Thanksgiving guide is taller than ~8 screens, so the 12% reveal threshold is never met; show its text without the fade-in. */
.page#thanksgiving-guide .page-body>*{opacity:1!important;transform:none!important}
