/* Photographic decoration inside existing surfaces: no ribbon, added height or hit target. */
body.hm-theme-christmas{--hm-seasonal-image:url('/images/themes/noel.webp');--hm-seasonal-detail:url('/images/themes/noel-mobile.webp')}
body.hm-theme-halloween{--hm-seasonal-image:url('/images/themes/halloween.webp');--hm-seasonal-detail:url('/images/themes/halloween-mobile.webp')}
body.hm-seasonal .header-section::before{
    content:"";position:absolute;inset:0;pointer-events:none;user-select:none;
    background-image:linear-gradient(to top,#bfa49b 0%,#bfa49b 18%,transparent 48%),var(--hm-seasonal-image);
    background-size:cover;background-position:center top;background-repeat:no-repeat;
    -webkit-mask-image:linear-gradient(to right,#000 0%,#000 12%,transparent 34%,transparent 66%,#000 88%,#000 100%);
    mask-image:linear-gradient(to right,#000 0%,#000 12%,transparent 34%,transparent 66%,#000 88%,#000 100%);
}
body.hm-seasonal .header-section>.text-center,body.hm-seasonal .header-section>nav{position:relative;z-index:1}
body.hm-seasonal .header-section .nav-item>.btn{color:#402f2b}
body.hm-seasonal .header-section .header-portal-link{border-color:#71554c}
body.hm-seasonal .header-section .nav-item>.btn:focus-visible,body.hm-seasonal .burger-btn:focus-visible{outline:3px solid #402f2b;outline-offset:3px}
body.hm-seasonal .footer-main{position:relative}
body.hm-seasonal .footer-main::after{
    content:"";position:absolute;right:0;bottom:0;width:clamp(64px,9vw,124px);height:clamp(84px,11vw,152px);
    background-image:var(--hm-seasonal-detail);background-size:auto 100%;background-position:right center;background-repeat:no-repeat;
    -webkit-mask-image:linear-gradient(to right,transparent,#000 42%),linear-gradient(to bottom,transparent,#000 35%);
    mask-image:linear-gradient(to right,transparent,#000 42%),linear-gradient(to bottom,transparent,#000 35%);
    -webkit-mask-composite:source-in;mask-composite:intersect;
    opacity:.75;pointer-events:none;user-select:none;
}
body.hm-theme-halloween .footer-main::after{background-size:auto 180%;background-position:right bottom}
body.hm-seasonal .footer-main>.container{position:relative;z-index:1}
.hm-seasonal-preview-note{margin:0;padding:.55rem 1rem;background:#fffaf6;color:#49382f;text-align:center;border-bottom:1px solid #b89b80;font:600 .9rem/1.4 system-ui,sans-serif}
@media(max-width:991.98px){
    /* Keep the central logo and top-centre menu clear; retain the ornament/pumpkin on the right. */
    body.hm-seasonal .header-section::before{
        inset:auto;top:32px;right:0;width:min(24vw,150px);height:clamp(132px,43vw,230px);
        background-image:var(--hm-seasonal-detail);background-size:auto 100%;background-position:right center;
        -webkit-mask-image:linear-gradient(to right,transparent,#000 40%),linear-gradient(to bottom,transparent,#000 15%,#000 72%,transparent);
        mask-image:linear-gradient(to right,transparent,#000 40%),linear-gradient(to bottom,transparent,#000 15%,#000 72%,transparent);
        -webkit-mask-composite:source-in;mask-composite:intersect;
    }
    body.hm-seasonal .burger-btn{z-index:2}
}
@media(max-width:575px){body.hm-seasonal .footer-main::after{width:64px;height:84px}}
@media(prefers-reduced-motion:reduce){
    body.hm-seasonal .header-section::before,body.hm-seasonal .footer-main::after{animation:none!important;transition:none!important}
}
@media print{
    body.hm-seasonal .header-section::before,body.hm-seasonal .footer-main::after,.hm-seasonal-preview-note{display:none!important}
}
