/*
Theme Name: Portland Holiday Hunt
Theme URI: https://portlandholidayhunt.com/
Author: SLIDEFACTORY
Author URI: https://www.theslidefactory.com
Description: The Portland Holiday Hunt website: the red van, the elves, the road to the great tree. A designed homepage plus matching styles for regular pages, posts and the 404 page. Links and the page width are set under Appearance > Customize > Holiday Hunt.
Version: 1.18.24
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: holidayhunt
*/

/* The homepage design lives in assets/css/site.css (generated). This file holds the
   hand-written parts: accessibility helpers, the small-screen menu and inner pages. */

.screen-reader-text{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* The road's chapter cards are links. The page's hover colour for links (cream: site.css, a:hover) is
   the card's own paper colour, so the neighborhood's name, the one line on the card with no colour of
   its own, vanished under the pointer. The card keeps its ink. */
a.stopcard:hover,a.stopcard:focus-visible{color:#3a0907}
.skip-link{position:absolute;left:-9999px;top:10px;z-index:1000;padding:10px 18px;border-radius:8px;background:#ffd36b;color:#3a0907;font-weight:700;text-decoration:none}
.skip-link:focus{left:10px}

/* Homepage: the FAQ and the footer pin and scroll together as one slide */
.hh-slide>.hh-stack{position:sticky;top:0}
/* A slide is at least one screen tall, so a waiting panel always fills the screen and the one under it
   can't show below it before it's uncovered. The layout is unchanged; a short panel just gets more room at the bottom. */
.hh-slide>section,.hh-slide>.hh-stack{box-sizing:border-box;min-height:100vh}
/* When a panel is taller than its content, the content sits in the middle of the extra space.
   width:100% keeps the content block exactly as wide as before (centering would otherwise shrink it). */
.hh-slide>section{display:flex;flex-direction:column;justify-content:center}
.hh-slide>section>*{width:100%}

/* Homepage: How to Play ends in a wavy edge along its garland ribbon, so nothing straight or red
   hangs below the green as it slides off the leaderboard. --g-h is the garland's drawn height. */
#how{--g-h:min(11.86cqw,228px);-webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - var(--g-h) + 2px) no-repeat,url(assets/img/garland-bottom-mask.png) 50% 100%/102% var(--g-h) no-repeat;mask:linear-gradient(#000 0 0) top/100% calc(100% - var(--g-h) + 2px) no-repeat,url(assets/img/garland-bottom-mask.png) 50% 100%/102% var(--g-h) no-repeat}

/* Homepage: a waiting panel is shaded black until the panel above has slid up a little (site.js sets --shade) */
.hh-slide>section::after,.hh-slide>.hh-stack::after{content:"";position:absolute;inset:0 0 -100vh 0;z-index:60;background:#000;opacity:var(--shade,0);pointer-events:none}
.hh-slide>.hh-stack::after{bottom:0} /* last panel: nothing hangs below it, and reaching past it would lengthen the page */
.rv-armed .hh-slide>section::after,.rv-armed .hh-slide>.hh-stack::after{opacity:var(--shade,1)}

/* Buttons: one size everywhere (the red .roll and the outlined .ghost come out the same height) */
.roll{font-size:16.5px;padding:7.5px 19.5px 9px;gap:8px}
.ghost{font-size:16.5px;padding:8.5px 20px 10px}

/* Story: two trees, one each side, slide out from behind the van as the panel is uncovered and tilt into a V.
   site.js sets --tp on the story from 0 (tucked behind the van) to 1 (out); without it they just sit in place. */
#story .hh-van{position:relative;z-index:1}
.rv-armed #story{--tp:0}
.hh-tree{position:absolute;bottom:19%;width:31%;z-index:0;pointer-events:none;transform-origin:50% 100%;
  translate:calc(var(--dx) * (1 - var(--tp,1))) calc(6% * (1 - var(--tp,1)));rotate:calc(var(--rot) * var(--tp,1));opacity:calc(.15 + .85 * var(--tp,1));
  transition:translate .35s cubic-bezier(.2,.8,.3,1),rotate .35s cubic-bezier(.2,.8,.3,1),opacity .35s;filter:drop-shadow(0 10px 12px rgba(42,4,5,.4))}
.hh-tree-l{left:1%;--dx:110%;--rot:-22deg}
.hh-tree-r{right:1%;--dx:-110%;--rot:22deg;scale:-1 1}
@media (prefers-reduced-motion: reduce){.hh-tree{transition:none}}

/* Story: once the two columns stack (narrower screens), its text is centered */
@media (max-width: 991px){
  #story .rv-left{align-items:center !important;text-align:center}
  #story .rv-left>p,#story .rv-left>ul{margin-left:auto !important;margin-right:auto !important}
}

/* ---------- Header: a snowy wooden sign hung between two lamp posts, over the top of the page ----------
   The sign is 65.8% of the page width, at least 940px and at most 1254px, centered. It is its own size
   container, so everything inside is sized in cqw of the sign (1cqw = 1% of the sign's width) and keeps
   its proportions. The logo hangs over the bell wreath in the middle; the menu sits either side.
   --hh-head is how much room the page leaves under it (the sign is about 18% as tall as it is wide). */
.hh-root{--hh-head:calc(clamp(940px, 65.8cqw, 1254px) * .21)}
.hh-head{position:absolute;top:0;left:0;right:0;margin:0 auto;width:clamp(940px,65.8cqw,1254px);aspect-ratio:100/20;z-index:40;container-type:inline-size;pointer-events:none}
.hh-head>*{position:absolute;pointer-events:auto}
.hh-head-lights{left:5cqw;width:90cqw;top:9.3cqw;aspect-ratio:3200/185;z-index:1;pointer-events:none;background:url(assets/img/header/lights.webp) left top/50% 100% no-repeat,url(assets/img/header/lights.webp) right top/50% 100% no-repeat}
.hh-head-beam{left:3cqw;right:3cqw;top:3.6cqw;aspect-ratio:2700/190;z-index:2;pointer-events:none;background:url(assets/img/header/beam-wide.webp) center/100% 100% no-repeat;filter:drop-shadow(0 .5cqw .8cqw rgba(0,0,0,.45))}
.hh-head-post{top:1.4cqw;width:5.4cqw;aspect-ratio:240/530;z-index:3;pointer-events:none;background:url(assets/img/header/post.webp) center/100% 100% no-repeat;filter:drop-shadow(0 .4cqw .6cqw rgba(0,0,0,.5))}
.hh-post-left{left:0;transform:scaleX(-1)}
.hh-post-right{right:0}
.hh-head-logo{left:50%;top:2.6cqw;width:19cqw;margin-left:-9.5cqw;z-index:5;display:block;transition:transform .2s}
.hh-head-logo img{display:block;width:100%;height:auto;filter:drop-shadow(0 .6cqw .9cqw rgba(0,0,0,.55))}
.hh-head-logo:hover{transform:rotate(-1deg) scale(1.02)}
.hh-head-nav{left:6cqw;right:6cqw;font-size:max(12px,1.15cqw);top:calc(8.75cqw - 1.375em);z-index:6;display:grid;grid-template-columns:1fr 20cqw 1fr;align-items:start}
/* The nav spans the whole sign, over the logo; only the links take clicks, so the gap lets them through to the logo.
   The open small-screen menu is a solid panel, so it takes clicks again. */
.hh-head-nav{pointer-events:none}
.hh-head-nav .hh-nav-side,.hh-head-nav.is-open{pointer-events:auto}
.hh-nav-side{display:flex;justify-content:space-evenly;align-items:flex-start}
.hh-navlink{position:relative;display:block;padding:.85em .55em 1.55em;transition:color .18s ease-out,text-shadow .18s ease-out,transform .18s ease-out;font-family:Besley,Georgia,'Times New Roman',serif;font-weight:800;font-size:.95em;line-height:1;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;text-align:center;color:#fff3e0;text-decoration:none;text-shadow:0 .1em 0 #3b1d0a,0 0 .45em rgba(0,0,0,.65)}
/* Hover, keyboard focus and the current page: the words turn gold and glow, lifting a touch, and a
   fine gold rule draws out from the middle under them with a small diamond at its centre, as on the
   game's nav links. No frame or picture behind the link. The rule sits clear below the capitals, so
   the diamond's top point doesn't touch them. */
.hh-navlink::before{content:"";position:absolute;left:.45em;right:.45em;bottom:.88em;height:.12em;border-radius:.12em;background:linear-gradient(to right,transparent,#ffe39a 22%,#ffe39a 78%,transparent);opacity:0;transform:scaleX(0);transition:transform .3s cubic-bezier(.2,.9,.3,1),opacity .15s ease-out;pointer-events:none}
.hh-navlink::after{content:"";position:absolute;left:50%;bottom:.7em;width:.47em;height:.47em;margin-left:-.235em;background:#ffe39a;box-shadow:0 0 .35em rgba(255,205,110,.9),0 .06em .06em rgba(40,16,4,.6);transform:rotate(45deg) scale(0);transition:transform .26s cubic-bezier(.2,1.6,.4,1) .06s;pointer-events:none}
.hh-navlink:hover,.hh-navlink:focus-visible,.hh-navlink[aria-current]{color:#ffe39a;text-shadow:0 .1em 0 #3b1d0a,0 0 .8em rgba(255,200,100,.55);transform:translateY(-1px)}
.hh-navlink:hover::before,.hh-navlink:focus-visible::before,.hh-navlink[aria-current]::before{opacity:1;transform:scaleX(1)}
.hh-navlink:hover::after,.hh-navlink:focus-visible::after,.hh-navlink[aria-current]::after{transform:rotate(45deg) scale(1)}
.hh-navlink:active{transform:none}
@media (prefers-reduced-motion: reduce){.hh-navlink,.hh-navlink::before,.hh-navlink::after{transition:opacity .1s linear,color .1s linear}.hh-navlink:hover,.hh-navlink:focus-visible,.hh-navlink[aria-current]{transform:none}}
.hh-navlink:focus-visible{outline:2px solid #ffd36b;outline-offset:2px;border-radius:8px}
.hh-menu-toggle{display:none}
/* The header carries its own string of lights, so the hero's is hidden */
#top .bulb,#top svg[viewBox="0 0 1440 60"]{display:none !important}

/* Narrower screens: the full-width plank, the logo in the middle and a menu button; the menu opens as a wooden panel */
@media (max-width: 1100px){
  .hh-root{--hh-head:112px}
  .hh-head{width:auto;aspect-ratio:auto;height:100px;container-type:normal}
  .hh-head-beam{left:0;right:0;top:0;height:86px;aspect-ratio:auto;background-size:cover;background-position:center bottom}
  .hh-head-post,.hh-head-nav,.hh-nav-gap{display:none}
  .hh-head-lights{left:0;width:100%;top:80px;aspect-ratio:2600/185}
  .hh-head-logo{top:3px;width:118px;margin-left:-59px}
  .hh-menu-toggle{display:inline-flex;align-items:center;justify-content:center;right:16px;top:41px;width:42px;height:42px;padding:0;border:2px solid #ffd36b;border-radius:50%;background:rgba(40,16,4,.55);color:#fff3e0;cursor:pointer;z-index:7}
  .hh-burger,.hh-burger::before,.hh-burger::after{display:block;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s,opacity .2s}
  .hh-burger{position:relative}
  .hh-burger::before,.hh-burger::after{content:'';position:absolute;left:0}
  .hh-burger::before{top:-6px}
  .hh-burger::after{top:6px}
  .hh-menu-toggle[aria-expanded="true"] .hh-burger{background:transparent}
  .hh-menu-toggle[aria-expanded="true"] .hh-burger::before{transform:translateY(6px) rotate(45deg)}
  .hh-menu-toggle[aria-expanded="true"] .hh-burger::after{transform:translateY(-6px) rotate(-45deg)}
  .hh-head-nav.is-open .hh-nav-side{display:flex;flex-direction:column;align-items:stretch}
  .hh-head-nav.is-open{display:flex;flex-direction:column;align-items:stretch;left:0;right:0;top:84px;z-index:8;padding:10px 16px 14px;background:linear-gradient(#5a2f14,#3e200c);border-top:3px solid #c8902e;border-bottom:3px solid #c8902e;box-shadow:0 18px 30px rgba(20,6,2,.5)}
  .hh-head-nav.is-open .hh-navlink{padding:14px 8px;font-size:16px;border-top:1px solid rgba(255,243,224,.15);text-shadow:0 1px 0 #3b1d0a}
  .hh-head-nav.is-open .hh-navlink::before,.hh-head-nav.is-open .hh-navlink::after{display:none}
  .hh-head-nav.is-open .hh-navlink:hover,.hh-head-nav.is-open .hh-navlink:focus-visible,.hh-head-nav.is-open .hh-navlink[aria-current]{color:#ffe39a;transform:none}
  .hh-head-nav.is-open .hh-nav-left .hh-navlink:first-child{border-top:0}
}
@media (max-width: 420px){
  .hh-head-logo{width:104px;margin-left:-52px}
}

/* ---------- Inner pages: a short red title band, the snow divider and a white reading panel ----------
   Markup comes from hh_page_open() / hh_page_close() in functions.php. */
.hh-page-head{position:relative;background:radial-gradient(circle at 70% 45%,#d8251f,#6a0f0c 72%);padding:calc(var(--hh-head) - 18px) 24px calc(max(32px,5.6cqw) / 2 + 22px);text-align:center}
/* Under 1100px the header is a full-width plank whose lights hang from 80px and are 2600:185 of the page's width
   (7.12cqw) tall, so the breadcrumb and title start 14px below them (a fixed padding left them under the lights). */
@media (max-width:1100px){.hh-page-head{padding-top:calc(94px + 7.12cqw)}}
.hh-page-snow{position:absolute;left:-1%;right:-1%;bottom:0;z-index:5;transform:translateY(44%);pointer-events:none}
.hh-page-snow img{display:block;width:100%;height:max(32px,5.6cqw);object-fit:fill;filter:drop-shadow(0 8px 8px rgba(20,2,2,.35))}
.hh-page-head-inner{position:relative;z-index:1;max-width:820px;margin:0 auto}
.hh-crumbs ol{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 10px;margin:0 0 2px;padding:0;list-style:none;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:#ffd36b}
.hh-crumbs li+li::before{content:'\2744';margin-right:10px;font-size:11px;color:rgba(255,243,239,.6)}
.hh-crumbs a{color:#fff3ef;text-decoration:none}
.hh-crumbs a:hover{color:#ffd36b;text-decoration:underline;text-underline-offset:3px}
.hh-page-heading{margin:0;font-family:Yellowtail,'Brush Script MT',cursive;font-weight:400;font-size:clamp(40px,4.6vw,64px);line-height:1.05;color:#fff3ef;text-shadow:0 3px 0 #7a0c10,0 6px 18px rgba(0,0,0,.35);overflow-wrap:anywhere}
.hh-page-intro{max-width:640px;margin:6px auto 0;font-size:18px;line-height:1.5;color:#ffe3dc}
.hh-page-title{z-index:1;margin:0;max-width:100%;font-size:clamp(34px,4.4vw,56px);white-space:normal !important}
.hh-coming-soon{position:relative;background:linear-gradient(to bottom,transparent 70%,#8e1612),radial-gradient(circle at 70% 35%,#d8251f,#6a0f0c 75%);padding:calc(var(--hh-head) + 40px) 24px 80px;text-align:center;color:#fff}
.hh-coming-soon-text{max-width:640px;margin:40px auto 0;font-size:19px;line-height:1.6}
.hh-coming-soon-text p{margin:0 0 1em}
.hh-coming-soon .hh-actions{margin-top:28px}
.hh-countdown{max-width:640px;margin:36px auto 0}
.hh-countdown-label{margin:0 0 14px;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:18px;color:#ffd36b}
.hh-countdown-units{display:flex;justify-content:center;gap:14px}
.hh-countdown-units>div{width:118px;padding:14px 0 12px;background:#fff3ef;border:3px solid #ffd36b;border-radius:16px;box-shadow:0 6px 0 #7a0c10,0 12px 20px rgba(0,0,0,.3);color:#a31b17}
.hh-cd-num{display:block;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:54px;line-height:1;font-variant-numeric:tabular-nums}
.hh-cd-label{display:block;margin-top:6px;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;text-transform:uppercase;letter-spacing:.08em;font-size:13px;color:#6a0f0c}
.hh-countdown-date{margin:18px 0 0;font-size:16px;color:#f6c7c2}
@media (max-width:520px){.hh-countdown-units{gap:8px}.hh-countdown-units>div{width:auto;flex:1 1 0;padding:10px 0 9px}.hh-cd-num{font-size:34px}.hh-cd-label{font-size:11px;letter-spacing:.04em}}
.hh-countdown--hero{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 14px;max-width:none;margin:0;padding:9px 10px 9px 22px;background:rgba(58,9,7,.68);border:3px solid #ffd36b;border-radius:999px;box-shadow:0 6px 0 #6e0b0e,0 12px 26px rgba(0,0,0,.45)}
.hh-countdown--hero .hh-countdown-label{margin:0;font-size:16px;letter-spacing:.12em;text-shadow:0 2px 6px rgba(0,0,0,.6)}
.hh-countdown--hero .hh-countdown-units{gap:7px}
.hh-countdown--hero .hh-countdown-units>span{display:inline-flex;align-items:baseline;gap:4px;padding:6px 13px 5px;background:#fff3ef;border-radius:999px;box-shadow:0 3px 0 #7a0c10}
.hh-countdown--hero .hh-cd-num{display:inline;font-size:24px;color:#a31b17}
.hh-countdown--hero .hh-cd-label{display:inline;margin:0;font-size:11px;letter-spacing:.06em}
@media (max-width:520px){.hh-countdown--hero{padding:10px 12px;border-radius:20px}.hh-countdown--hero .hh-countdown-label{font-size:14px}.hh-countdown--hero .hh-countdown-units>span{padding:4px 9px 3px}.hh-countdown--hero .hh-cd-num{font-size:19px}}
/* Sponsor logos in the hero, under "Play in your browser" (hh_hero_sponsors()): cream pills the height of the
   countdown's. --hh-hero-extra makes room for them in the hero logo's fit-to-screen size (front-page.php). */
body:has(.hh-hero-sponsors){--hh-hero-extra:70px}
body:has(.hh-hero-sponsors.no-caps){--hh-hero-extra:56px}
.hh-hero-sponsors{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:10px 14px;max-width:760px;margin:0;padding:0;list-style:none}
/* Each logo with its caption centered under it (the caption is first in the markup, for screen readers). */
.hh-hero-sp{display:flex;flex-direction:column-reverse;align-items:center;gap:6px;margin:0}
.hh-hero-sp-cap{display:block;padding-left:.16em;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:7.5px;line-height:1.2;letter-spacing:.16em;white-space:nowrap;text-transform:uppercase;color:#fff3ef;text-shadow:0 2px 6px rgba(0,0,0,.8)} /* padding-left balances the letter-spacing after the last letter, so the text is truly centered */
.hh-hero-sp-tile{display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:37px;padding:4.7px 12.5px;background:#fff3ef;border-radius:10px;box-shadow:0 3px 0 #7a0c10;text-decoration:none;transition:transform .15s}
a.hh-hero-sp-tile:hover,a.hh-hero-sp-tile:focus-visible{transform:translateY(-2px)}
a.hh-hero-sp-tile:focus-visible{outline:3px solid #ffd36b;outline-offset:2px}
.hh-hero-sp-tile img{display:block;width:auto;height:27.6px;max-width:130px;object-fit:contain}
.hh-hero-sp-tile .hh-pv-sp-name{font-size:13px;line-height:1;white-space:nowrap}
@media (max-width:520px){
  body:has(.hh-hero-sponsors){--hh-hero-extra:60px}
  body:has(.hh-hero-sponsors.no-caps){--hh-hero-extra:48px}
  .hh-hero-sponsors{gap:8px 10px}
  .hh-hero-sp{gap:5px}
  .hh-hero-sp-cap{font-size:7px}
  .hh-hero-sp-tile{height:29px;padding:4.7px 9.4px;border-radius:8px}
  .hh-hero-sp-tile img{height:19.6px;max-width:100px}
  .hh-hero-sp-tile .hh-pv-sp-name{font-size:11px}
}
/* Inner pages: the footer banner sits on white, with room above it so its drop shadow isn't clipped into a line */
body:has(.hh-page-body) .hh-footer-banner{background:linear-gradient(to bottom,#fff 0 50%,#a31b17 50% 100%) !important;padding-top:28px !important}
body:has(.hh-page-body) #footer{margin-top:-1px;background:linear-gradient(to bottom,#fff 0 40px,#a31b17 40px) !important}
body:has(.hh-coming-soon) .hh-footer-banner{background:linear-gradient(to bottom,#8e1612 0 50%,#a31b17 50% 100%) !important}
.hh-page-body{position:relative;background:#fff;color:#3a0907;padding:calc(max(32px,5.6cqw) / 2 + 44px) 24px 96px}
.hh-prose{position:relative;z-index:3;max-width:760px;margin:0 auto;font-size:18px;line-height:1.65}
.hh-prose > :first-child{margin-top:0}
.hh-prose-wide{max-width:1120px}
.hh-prose p:empty{display:none}
.hh-prose .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px;margin:1.4em 0}
.hh-prose h2,.hh-prose h3,.hh-prose h4{margin:1.6em 0 .5em;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;line-height:1.1;text-transform:uppercase;color:#a31b17}
.hh-prose h2{font-size:clamp(26px,3vw,36px)}
.hh-prose h3{font-size:24px}
.hh-prose h4{font-size:19px;letter-spacing:.04em}
.hh-prose p,.hh-prose ul,.hh-prose ol{margin:0 0 1.1em}
.hh-prose a:not(.roll):not(.wp-block-button__link){color:#a31b17;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.hh-prose a:not(.roll):not(.wp-block-button__link):hover{color:#1b5e30}
.hh-prose img,.hh-prose video,.hh-prose iframe{max-width:100%;height:auto;border-radius:14px}
.hh-prose figure{margin:1.6em 0}
.hh-prose figcaption{margin-top:8px;font-size:14px;color:#8a3b33}
.hh-prose blockquote{margin:1.6em 0;padding:4px 0 4px 22px;border-left:5px solid #1b5e30;font-family:Yellowtail,'Brush Script MT',cursive;font-size:30px;line-height:1.25;color:#1b5e30}
.hh-prose hr{margin:2.4em auto;width:120px;border:0;border-top:3px dotted #c4261f}
.hh-prose table{width:100%;border-collapse:collapse}
.hh-prose th,.hh-prose td{padding:10px 12px;border-bottom:1px solid #e9cfc9;text-align:left}
.hh-prose .alignwide{width:min(1100px,calc(100vw - 48px));max-width:none;margin-left:50%;transform:translateX(-50%)}
.hh-prose .alignfull{width:100cqw;max-width:none;margin-left:50%;transform:translateX(-50%);border-radius:0}
.hh-prose .alignleft{float:left;margin:.3em 1.4em 1em 0}
.hh-prose .alignright{float:right;margin:.3em 0 1em 1.4em}
.hh-prose .aligncenter{margin-left:auto;margin-right:auto}
.hh-prose::after{content:'';display:table;clear:both}
.hh-meta{margin:-.4em 0 1.2em;font-family:Oswald,'Arial Narrow',sans-serif;font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:#8a3b33}
.hh-actions{margin-top:28px}

/* Buttons and forms in page content (block buttons, contact form plugins) */
.hh-prose .wp-block-button__link,.hh-prose button,.hh-prose input[type="submit"],.hh-prose input[type="button"]{display:inline-flex;align-items:center;justify-content:center;padding:7.5px 19.5px 9px;border:3px solid #fff;border-radius:999px;background:linear-gradient(to bottom,#e2372b,#a31b17);box-shadow:0 0 0 2px #a31b17,0 8px 18px rgba(106,15,12,.35);color:#fff;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:16.5px;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;cursor:pointer}
.hh-prose .wp-block-button__link:hover,.hh-prose button:hover,.hh-prose input[type="submit"]:hover{filter:brightness(1.08)}
.hh-prose input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),.hh-prose textarea,.hh-prose select{box-sizing:border-box;width:100%;max-width:100%;padding:11px 14px;border:2px solid #e2c3bd;border-radius:12px;background:#fff;color:#3a0907;font:inherit}
.hh-prose input:focus,.hh-prose textarea:focus,.hh-prose select:focus{outline:3px solid #ffd36b;outline-offset:1px;border-color:#a31b17}
.hh-prose label{font-weight:600}
/* File blocks (the Media kit page's downloads, or any page's): a cream card per file, its name on the left and the Download button on the right */
.hh-prose .wp-block-file{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 18px;margin:0 0 14px;padding:16px 18px 16px 20px;border:2px solid #f0d9d3;border-radius:16px;background:#fff8f5;font-size:17px;line-height:1.35}
.hh-prose .wp-block-file > a:first-of-type:not(.wp-block-file__button){flex:1 1 240px;min-width:0;color:#3a0907 !important;font-weight:700;text-decoration:none !important;overflow-wrap:anywhere}
.hh-prose .wp-block-file > a:first-of-type:not(.wp-block-file__button)::before{content:'';display:inline-block;width:.62em;height:.62em;margin-right:.55em;border-radius:50%;background:#1b5e30;vertical-align:.05em}
.hh-prose .wp-block-file > a:first-of-type:not(.wp-block-file__button):hover{color:#a31b17 !important}
.hh-prose .wp-block-file .wp-block-file__button{margin:0;padding:6px 18px 7px;border:3px solid #fff;border-radius:999px;background:linear-gradient(to bottom,#e2372b,#a31b17);box-shadow:0 0 0 2px #a31b17,0 6px 14px rgba(106,15,12,.28);color:#fff !important;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:15px;letter-spacing:.06em;text-transform:uppercase;text-decoration:none !important;white-space:nowrap}
.hh-prose .wp-block-file .wp-block-file__button:hover{filter:brightness(1.08)}
.hh-prose .wp-block-file .wp-block-file__embed{flex:1 1 100%;order:-1;width:100%;margin:0 0 6px;border:0;border-radius:10px;background:#fff}

/* Post lists */
.hh-list{list-style:none;margin:0;padding:0;display:grid;gap:34px}
.hh-list h2{margin:0 0 6px}
.hh-list h2 a{color:#a31b17 !important;text-decoration:none !important}

/* Inner pages: the "Ready to roll?" card under the content */
.hh-page-cta{display:flex;align-items:center;gap:22px;max-width:760px;box-sizing:border-box;margin:72px auto 0;padding:22px 28px 22px 22px;border-radius:22px;background:radial-gradient(circle at 80% 30%,#c4261f,#6a0f0c 80%);box-shadow:0 0 0 3px #ffd36b,0 14px 30px rgba(106,15,12,.3);color:#fff3ef}
.hh-page-cta-art{flex:none;width:84px;height:auto;filter:drop-shadow(0 6px 8px rgba(0,0,0,.35))}
.hh-page-cta-text{flex:1;min-width:0}
.hh-page-cta-text p{margin:0;font-size:16px;line-height:1.45}
.hh-page-cta-text .hh-page-cta-title{font-family:Yellowtail,'Brush Script MT',cursive;font-size:34px;line-height:1.1;color:#ffd36b}
.hh-page-cta .roll{flex:none;padding:10px 24px 12px;font-size:17px}
.hh-prose .nav-links{display:flex;gap:12px;margin-top:40px;font-family:Oswald,'Arial Narrow',sans-serif;text-transform:uppercase}

/* ---------- Sponsors page (templates/page-sponsors.php; data from the Holiday Hunt Sponsors plugin) ---------- */
.hh-sp-featured,.hh-sp-tiers,.hh-sp-maps,.hh-sp-community{margin:0 0 88px;text-align:center}
.hh-sp-intro{max-width:760px;margin:-40px auto 72px}
.hh-sp-kicker{margin:0 0 2px !important;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:14px;letter-spacing:.18em;text-transform:uppercase;color:#1b5e30}
.hh-prose h2.hh-sp-script{margin:0 0 28px;font-family:Yellowtail,'Brush Script MT',cursive;font-weight:400;font-size:clamp(36px,4.4vw,54px);line-height:1.1;text-transform:none;color:#a31b17}
.hh-sp-lede{max-width:680px;margin:-12px auto 32px !important;color:#6b3a33}
.hh-prose .ghost{border-color:#a31b17;background:transparent;color:#a31b17 !important;text-decoration:none !important;font-size:16px;padding:9px 22px}
.hh-prose .ghost:hover{background:#a31b17;color:#fff !important}
.hh-sp-buy{display:inline;margin:0}
.hh-prose .hh-sp-buy .roll{font-size:16.5px;padding:7.5px 19.5px 9px;border:3px solid #fff;border-radius:999px;background:linear-gradient(to bottom,rgba(255,255,255,.28),rgba(255,255,255,0) 45%),linear-gradient(to bottom,#e2372b,#a3141a);box-shadow:0 0 0 3px #7a1410,0 0 0 5px #6a0f0c,0 7px 0 3px #4d0a0b,0 12px 28px rgba(216,37,31,.4);text-shadow:0 2px 0 #6e0b0e}

/* Featured: three snow-capped plaques */
.hh-sp-plaques{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.hh-sp-plaque{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:190px;padding:34px 22px 24px;border-radius:22px;box-shadow:0 0 0 3px #ffd36b,0 0 0 6px #a31b17,0 16px 30px rgba(106,15,12,.25)}
.hh-sp-plaque::before{content:'';position:absolute;left:-10px;right:-10px;top:-14px;height:26px;background:url(assets/img/snow-divider-03.webp) center top/100% 100% no-repeat;filter:drop-shadow(0 3px 2px rgba(60,10,10,.25))}
.hh-sp-plaque.is-filled{background:#fff}
.hh-sp-plaque.is-filled img{max-width:80%;max-height:120px;width:auto;height:auto;border-radius:0}
.hh-sp-plaque.is-open{background:radial-gradient(circle at 70% 30%,#d8251f,#6a0f0c 85%);color:#fff3ef}
.hh-sp-plaque-star{font-size:28px;line-height:1;color:#ffd36b}
.hh-sp-plaque-name{font-family:Yellowtail,'Brush Script MT',cursive;font-size:30px;line-height:1.1}
.is-filled .hh-sp-plaque-name{color:#a31b17}
.hh-sp-plaque .hh-sp-message{max-width:30ch;font-size:15px}
.hh-prose a.hh-sp-visit{margin-top:4px;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:13px;letter-spacing:.12em;text-transform:uppercase}

/* Sponsor profile form (after paying, or from the private link) */
.hh-sp-profile{max-width:760px;margin:-32px auto 72px;padding:28px 30px;box-sizing:border-box;border-radius:22px;background:#fff;box-shadow:0 0 0 3px #ffd36b,0 16px 34px rgba(106,15,12,.18);text-align:left}
.hh-sp-profile p{margin:0 0 16px}
.hh-sp-profile .hh-sp-profile-title{margin:0;font-family:Yellowtail,'Brush Script MT',cursive;font-size:38px;line-height:1.1;color:#a31b17}
.hh-sp-profile .hh-sp-profile-what{margin:0 0 8px;font-family:Oswald,'Arial Narrow',sans-serif;font-size:14px;letter-spacing:.12em;text-transform:uppercase;color:#1b5e30}
.hh-sp-profile-help{font-size:16px;color:#6b3a33}
.hh-sp-profile label{display:block;margin-bottom:4px}
.hh-sp-inquiry{margin:0 auto 24px;scroll-margin-top:calc(var(--hh-head,0px) + 24px)}
.hh-sp-inquiry-row{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.hh-sp-hp{position:absolute !important;left:-9999px;width:1px;height:1px;overflow:hidden}
@media (max-width:640px){.hh-sp-inquiry-row{grid-template-columns:1fr}.hh-sp-inquiry{padding:22px 18px}}
.hh-sp-opt{font-weight:400;font-size:14px;color:#8a3b33}
.hh-sp-profile-logo{display:flex;align-items:center;gap:20px}
.hh-sp-profile-logo img{flex:none;max-width:140px;max-height:90px;width:auto;padding:8px;border:2px solid #f0d9d4;border-radius:12px}
.hh-sp-profile-logo p{flex:1}
.hh-sp-profile input[type="file"]{padding:9px;background:#fdf7f6}
.hh-sp-profile-wait{padding:20px 24px}
.hh-sp-profile-wait p{margin:0}
.hh-prose a.hh-sp-plaque-link{color:#ffd36b !important;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:14px;letter-spacing:.1em;text-transform:uppercase}
.hh-prose a.hh-sp-plaque-link:hover{color:#fff !important}

/* Tiers */
.hh-sp-tier-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;align-items:stretch;text-align:left}
.hh-sp-tier{position:relative;display:flex;flex-direction:column;padding:30px 28px 28px;border:2px solid #f0d9d4;border-radius:24px;background:#fff;box-shadow:0 14px 30px rgba(106,15,12,.1)}
.hh-sp-tier-featured{border:0;background:radial-gradient(circle at 80% 10%,#d8251f,#6a0f0c 90%);color:#fff3ef;box-shadow:0 0 0 3px #ffd36b,0 20px 40px rgba(106,15,12,.35)}
.hh-sp-tier-flag{position:absolute;top:-14px;left:28px;margin:0 !important;padding:3px 14px 4px;border-radius:999px;background:#ffd36b;color:#6a0f0c;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:13px;letter-spacing:.14em;text-transform:uppercase}
.hh-prose h3.hh-sp-tier-name{margin:0 0 6px;font-size:22px;color:inherit}
.hh-sp-tier-ingame .hh-sp-tier-name,.hh-sp-tier-community .hh-sp-tier-name{color:#a31b17 !important}
.hh-sp-tier-price{margin:0 0 4px !important;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:54px;line-height:1}
.hh-sp-tier-price span{font-size:.5em;vertical-align:.7em;margin-right:2px}
.hh-sp-tier-avail{display:inline-block;align-self:flex-start;margin:6px 0 18px !important;padding:3px 12px;border-radius:999px;background:#e8f3ea;color:#1b5e30;font-family:Oswald,'Arial Narrow',sans-serif;font-size:14px;letter-spacing:.06em;text-transform:uppercase}
.hh-sp-tier-featured .hh-sp-tier-avail{background:rgba(255,211,107,.18);color:#ffd36b}
.hh-sp-tier-avail.is-gone{background:#f3e3e0;color:#8a3b33}
.hh-sp-tier-list{margin:0 0 24px !important;padding:0;list-style:none;font-size:16px;line-height:1.45}
.hh-sp-tier-list li{position:relative;margin:0 0 9px;padding-left:24px}
.hh-sp-tier-list li::before{content:'\2744';position:absolute;left:0;top:0;color:#6fb3e0}
.hh-sp-tier-featured .hh-sp-tier-list li::before{color:#ffd36b}
.hh-sp-tier-action{margin-top:auto}
/* Email mode with buying on: "Buy sponsorship" (In-Game with a map menu above it), then "Ask about this" */
.hh-sp-tier-action.has-buy{display:flex;flex-wrap:wrap;align-items:center;gap:24px 14px}
.hh-sp-buy-pick{display:flex;flex-direction:column;align-items:flex-start;gap:14px;width:100%}
.hh-sp-buy-map{display:flex;flex-direction:column;gap:5px;width:100%;font-family:Oswald,'Arial Narrow',sans-serif;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:#1b5e30}
.hh-sp-buy-map select{width:100%;padding:9px 12px;border:2px solid #f0d9d4;border-radius:12px;background:#fff;color:#3a0907;font:400 16px/1.3 system-ui,'Segoe UI',Roboto,sans-serif;letter-spacing:normal;text-transform:none}
.hh-sp-buy-map select:focus{outline:3px solid #ffd36b;outline-offset:1px;border-color:#a31b17}
.hh-prose .hh-sp-tier-featured .ghost{border-color:#fff3ef;color:#fff3ef !important}
.hh-prose .hh-sp-tier-featured .ghost:hover{background:#fff3ef;color:#a31b17 !important}

/* Maps: a little snowy board per map, with a numbered pin per sponsorable location */
.hh-sp-map-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:26px;text-align:left}
.hh-sp-map{overflow:hidden;border:2px solid #f0d9d4;border-radius:22px;background:#fff;box-shadow:0 12px 26px rgba(106,15,12,.1)}
.hh-sp-map-art{position:relative;height:170px;background:radial-gradient(circle,rgba(255,255,255,.7) 0 1.5px,transparent 2.5px) 0 0/34px 38px,radial-gradient(circle at 30% 20%,color-mix(in srgb,var(--map) 60%,#fff),color-mix(in srgb,var(--map) 55%,#14162a));background-color:var(--map)}
.hh-sp-map-art.has-image{background-size:cover;background-position:center}
.hh-sp-map-road{position:absolute;left:7%;right:7%;top:26%;height:50%;border:10px solid rgba(255,255,255,.88);border-color:rgba(255,255,255,.88) transparent;border-radius:50%;filter:drop-shadow(0 3px 3px rgba(0,0,0,.2))}
.hh-sp-pin{position:absolute;left:calc(9% + (var(--p) - 1) * 22%);top:18%;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px var(--map),0 4px 8px rgba(0,0,0,.3);font:700 14px/1 Oswald,'Arial Narrow',sans-serif;color:#3a0907}
.hh-sp-pin:nth-of-type(even){top:60%}
.hh-sp-pin.is-held{background:#ffd36b}
.hh-sp-pin.is-sold{background:#a31b17;color:#fff;box-shadow:0 0 0 3px #fff,0 4px 8px rgba(0,0,0,.3)}
.hh-sp-map-chapter{position:absolute;right:14px;bottom:12px;margin:0 !important;padding:2px 12px 3px;border-radius:999px;background:rgba(20,12,12,.55);color:#fff;font-family:Oswald,'Arial Narrow',sans-serif;font-size:13px;letter-spacing:.14em;text-transform:uppercase}
.hh-sp-map-body{padding:18px 22px 20px}
.hh-prose h3.hh-sp-map-name{margin:0;font-size:24px}
.hh-sp-map-sub{margin:2px 0 12px !important;font-size:15px;color:#8a3b33}
.hh-sp-slots{margin:0 !important;padding:0;list-style:none;counter-reset:slot}
.hh-sp-slot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;min-height:44px;padding:6px 0;border-top:1px dashed #ecd2cc;font-size:16px;counter-increment:slot}
.hh-sp-slot-label::before{content:counter(slot);display:inline-grid;place-items:center;width:22px;height:22px;margin-right:10px;border-radius:50%;background:#f6e9e6;color:#a31b17;font:700 12px/1 Oswald,'Arial Narrow',sans-serif}
.hh-sp-slot.is-sold .hh-sp-slot-label::before{background:#a31b17;color:#fff}
.hh-sp-slot.is-held .hh-sp-slot-label::before{background:#ffd36b;color:#6a0f0c}
.hh-sp-slot-state{font-size:15px;color:#8a3b33;font-style:italic}
.hh-sp-slot-sponsor{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:15px}
.hh-sp-slot-sponsor img{max-width:72px;max-height:28px;width:auto;border-radius:0}
.hh-sp-slot .hh-sp-message{flex-basis:100%;padding:0 0 4px 32px;font-size:14px}
.hh-sp-message{display:block;font-style:italic;line-height:1.4;color:#6b3a33}
.hh-sp-message::before{content:'\201C'}
.hh-sp-message::after{content:'\201D'}
.hh-prose a.hh-sp-address{display:inline-flex;align-items:baseline;gap:5px;font-weight:400;font-size:14px;line-height:1.35;color:#1b5e30 !important;text-decoration:none !important}
.hh-prose a.hh-sp-address::before{content:'';flex:none;width:9px;height:9px;border-radius:50% 50% 50% 0;transform:rotate(-45deg) translateY(-1px);background:currentColor}
.hh-prose a.hh-sp-address:hover{text-decoration:underline !important}
.hh-sp-slot-where{flex-basis:100%;padding:0 0 4px 32px}
.hh-sp-tier-note{margin:-8px 0 20px !important;font-size:14px;line-height:1.45;opacity:.85}
.hh-sp-tier-featured .hh-sp-tier-note a{color:#ffd36b !important}
.hh-sp-placement{max-width:680px;margin:-12px auto 32px !important;padding:12px 18px;border-radius:14px;background:#f2f7f3;font-size:15px;line-height:1.5;color:#2c4a35;text-align:left}
.hh-prose .hh-sp-buy .hh-sp-claim{padding:5px 16px 6px;border:0;border-radius:999px;background:#a31b17;box-shadow:none;font-size:14px;letter-spacing:.08em}
.hh-prose .hh-sp-buy .hh-sp-claim:hover{background:#1b5e30;filter:none}

/* Maps: sponsors listed per map, with a buy button while the map has room */
.hh-sp-map{display:flex;flex-direction:column}
.hh-sp-map-body{flex:1;display:flex;flex-direction:column}
.hh-sp-map.is-match{box-shadow:0 0 0 4px #ffd36b,0 0 0 7px #1b5e30,0 16px 30px rgba(27,94,48,.25)}
.hh-sp-map-real{position:absolute;left:14px;bottom:12px;margin:0 !important;padding:2px 12px 3px;border-radius:999px;background:#1b5e30;color:#fff;font-family:Oswald,'Arial Narrow',sans-serif;font-size:13px;letter-spacing:.12em;text-transform:uppercase}
.hh-sp-pin{overflow:hidden;width:34px;height:34px;font-size:15px}
.hh-sp-pin img{width:100%;height:100%;object-fit:contain;border-radius:0;background:#fff}
.hh-sp-pin.is-real{box-shadow:0 0 0 3px #1b5e30,0 0 0 5px #fff,0 4px 8px rgba(0,0,0,.3)}
.hh-sp-on-map{margin:0 !important;padding:0;list-style:none}
.hh-sp-on-map li{display:flex;flex-direction:column;gap:3px;margin:0;padding:10px 0;border-top:1px dashed #ecd2cc;font-size:15px}
.hh-sp-on-map .hh-sp-message{font-size:14px}
.hh-sp-tag{display:inline-block;padding:1px 8px 2px;border-radius:999px;background:#e8f3ea;color:#1b5e30;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.hh-sp-tag-featured{background:#fff3d6;color:#8a5310}
.hh-sp-map-empty{margin:0 !important;padding:10px 0;border-top:1px dashed #ecd2cc;font-size:15px;font-style:italic;color:#8a3b33}
.hh-sp-map-action{margin-top:auto;padding-top:14px}
.hh-prose .hh-sp-map-action .hh-sp-claim{width:100%;justify-content:center;padding:9px 16px 10px;font-size:15px}
.hh-sp-full{display:block;padding:9px 16px;border-radius:999px;background:#f3e3e0;color:#8a3b33;font-family:Oswald,'Arial Narrow',sans-serif;font-size:15px;letter-spacing:.08em;text-transform:uppercase;text-align:center}
.hh-sp-check{max-width:680px;margin:0 auto 36px;padding:18px 20px;border:2px solid #cfe3d4;border-radius:18px;background:#fff;text-align:left}
.hh-sp-check label{display:block;margin-bottom:8px;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:17px;color:#1b5e30}
.hh-sp-check-row{display:flex;gap:10px}
.hh-sp-check-row input{flex:1;min-width:0}
.hh-prose .hh-sp-check-go{flex:none;padding:8px 22px;border:0;border-radius:999px;background:#1b5e30;box-shadow:none;font-size:15px}
.hh-sp-check-result{margin:10px 0 0 !important;font-size:15px;line-height:1.45;color:#2c4a35}
.hh-sp-check-result:empty{display:none}
.hh-sp-place-line{display:block;margin-top:6px;font-size:14px;color:#1b5e30}

/* Community wall */
.hh-sp-wall{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin:0 0 28px !important;padding:0;list-style:none}
.hh-sp-wall-card{display:flex;flex-direction:column;align-items:center;gap:6px;width:190px;margin:0;text-align:center}
.hh-sp-wall-logo{display:grid;place-items:center;width:100%;height:100px;padding:12px;box-sizing:border-box;border:2px solid #f0d9d4;border-radius:16px;background:#fff;text-decoration:none !important}
.hh-sp-wall img{max-width:100%;max-height:72px;width:auto;border-radius:0}
.hh-sp-wall-caption{font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:15px;color:#3a0907}
.hh-sp-wall .hh-sp-message{font-size:14px}
.hh-sp-wall-name{font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:16px;color:#a31b17;text-align:center;line-height:1.2}
.hh-sp-community-cta{margin-top:8px}

/* Questions, and the message after checkout */
.hh-sp-ask{max-width:620px;margin:0 auto;padding:28px;border:2px dashed #e2b3ab;border-radius:22px;text-align:center}
.hh-sp-ask p{margin:0 0 14px}
.hh-sp-ask .hh-sp-ask-title{margin:0 0 4px;font-family:Yellowtail,'Brush Script MT',cursive;font-size:34px;line-height:1.1;color:#a31b17}
.hh-sp-notice{max-width:760px;margin:0 auto 56px;padding:18px 22px;border-radius:16px;border-left:6px solid #1b5e30;background:#e8f3ea}
.hh-sp-notice p{margin:0}
.hh-sp-notice .hh-sp-notice-title{font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:20px;text-transform:uppercase;letter-spacing:.04em;color:#1b5e30}
.hh-sp-notice-info{border-color:#6b7a8a;background:#eef1f4}
.hh-sp-notice-info .hh-sp-notice-title{color:#3e4a57}
.hh-sp-notice-warn{border-color:#c4801f;background:#fdf3e1}
.hh-sp-notice-warn .hh-sp-notice-title{color:#8a5310}

@media (max-width: 900px){
  .hh-sp-plaques,.hh-sp-tier-grid{grid-template-columns:1fr;max-width:460px;margin-left:auto;margin-right:auto}
  .hh-sp-plaque{min-height:150px}
}

@media (max-width: 640px){
  .hh-page-head{padding:calc(94px + 7.12cqw) 16px calc(max(32px,5.6cqw) / 2 + 18px)}
  .hh-page-intro{font-size:17px}
  .hh-page-body{padding:calc(max(32px,5.6cqw) / 2 + 32px) 16px 72px}
  .hh-page-cta{flex-direction:column;text-align:center;padding:24px 20px;margin-top:56px}
  .hh-prose{font-size:17px}
}

/* =========================================================================
   Leaderboard page (templates/page-leaderboard.php)
   ========================================================================= */
/* The elf podium art, with each of the top three names slightly overlapping that elf's feet (positions are shares of the art's size) */
/* The art rises into the red band so the snow edge crosses the elves about halfway (--lb-up = 45% of the art's height,
   which is 941/1672 of its width). The band grows by the same amount so the title keeps its room. */
body:has(.hh-lb-hero){--lb-w:min(855px,100cqw - 48px);--lb-up:calc(var(--lb-w) * .2533)}
body:has(.hh-lb-hero) .hh-page-head{padding-bottom:calc(var(--lb-up) + 28px + var(--lb-sp, 0px))}
/* Sponsor logos above the elves (hh_hero_sponsors( 'leaderboard' )): they sit just above the art, and the red
   band grows by their height (--lb-sp) so the art, the name tags and the snow edge stay where they were. */
body:has(.hh-hero-sponsors--lb){--lb-sp:72px}
body:has(.hh-hero-sponsors--lb.no-caps){--lb-sp:56px}
.hh-prose .hh-hero-sponsors--lb{position:absolute;z-index:2;bottom:100%;left:0;right:0;max-width:none;margin:0 auto 14px}
.hh-lb-hero .hh-hero-sp-tile img{width:auto;height:27.6px;max-width:130px;filter:none} /* not the art's rule (.hh-lb-hero img: full width, height auto) */
.hh-prose .hh-hero-sponsors--lb a.hh-hero-sp-tile:not(.roll):not(.wp-block-button__link){text-decoration:none} /* not the page's link underline */
body:has(.hh-lb-hero) .hh-prose{z-index:6}
.hh-prose .hh-lb-hero{position:relative;width:var(--lb-w);max-width:none;margin:calc(0px - var(--lb-up) - max(32px,5.6cqw) / 2 - 44px) auto 72px}
/* The art is wider than the 760px text column, so it reaches out evenly on both sides. */
.hh-prose .hh-lb-hero{margin-left:calc(50% - var(--lb-w) / 2);margin-right:calc(50% - var(--lb-w) / 2)}
.hh-lb-hero img{display:block;width:100%;height:auto;filter:drop-shadow(0 18px 22px rgba(106,15,12,.22))}
.hh-lb-tags{list-style:none;margin:0;padding:0}
.hh-lb-tag{position:absolute;top:var(--y);left:var(--x);width:20%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:1px;padding:6px 8px 7px;border-radius:12px;background:#fff;text-align:center;box-shadow:0 0 0 3px var(--tag),0 10px 18px rgba(106,15,12,.22)}
.hh-lb-first{--x:50%;--y:45%;--tag:#e3b04b;z-index:2}
.hh-lb-second{--x:29.5%;--y:59%;--tag:#c3ccd6}
.hh-lb-third{--x:69%;--y:68%;--tag:#d08a4f}
.hh-lb-tag-name{font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:clamp(12px,2vw,15px);line-height:1.15;text-transform:uppercase;letter-spacing:.02em;color:#3a0907;overflow-wrap:anywhere}
.hh-lb-tag-score{font-size:clamp(11px,1.7vw,13px);font-weight:600;color:#a31b17}
.hh-lb-empty{max-width:560px;margin:0 auto 64px;text-align:center}
.hh-lb-empty h2.hh-sp-script{margin-bottom:12px}
.hh-lb-empty p{margin:0 0 20px;color:#6b3a33}
.hh-lb-board{max-width:820px;margin:0 auto 56px}
.hh-lb-board-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.hh-prose h2.hh-lb-title{margin:0;font-family:Yellowtail,'Brush Script MT',cursive;font-weight:400;font-size:clamp(34px,4vw,48px);line-height:1.1;text-transform:none;color:#a31b17}
.hh-lb-find{display:flex;flex-direction:column;gap:4px;min-width:min(100%,280px)}
.hh-lb-find label{font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#1b5e30}
.hh-lb-find input{font:inherit;font-size:17px;padding:10px 14px;border:2px solid #f6c7c2;border-radius:12px;background:#fff;color:#3a0907}
.hh-lb-find input:focus{outline:3px solid #ffd36b;border-color:#a31b17}
.hh-prose .hh-lb-table{width:100%;border-collapse:separate;border-spacing:0 6px;font-size:17px}
.hh-prose .hh-lb-table th{padding:0 16px 4px;border:0;text-align:left;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#8a5a52}
.hh-prose .hh-lb-table th:last-child,.hh-prose .hh-lb-score{text-align:right}
.hh-prose .hh-lb-table td{padding:12px 16px;background:#fff7f4;border-top:2px solid #f6dcd7;border-bottom:2px solid #f6dcd7}
.hh-prose .hh-lb-table td:first-child{border-left:2px solid #f6dcd7;border-radius:12px 0 0 12px}
.hh-prose .hh-lb-table td:last-child{border-right:2px solid #f6dcd7;border-radius:0 12px 12px 0}
.hh-prose .hh-lb-rank{width:64px;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:20px;color:#a31b17}
.hh-prose .hh-lb-name{font-weight:600;overflow-wrap:anywhere}
.hh-prose .hh-lb-score{font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:19px;font-variant-numeric:tabular-nums;color:#3a0907}
.hh-prose .hh-lb-table tr.is-top td{background:#fff3d6;border-color:#f1d9a0}
.hh-prose .hh-lb-table tr.is-match td{background:#e8f3ea;border-color:#1b5e30}
.hh-lb-none{margin:12px 0 0;text-align:center;color:#6b3a33}
.hh-lb-meta{margin:14px 0 0;font-size:14px;text-align:center;color:#8a5a52}
.hh-lb-intro{max-width:760px;margin:0 auto 56px}
/* Mini-game boards: a tab per game (site JS unhides the tabs; without JS each board shows under its own heading) */
.hh-lb-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
/* Scoped under .hh-prose to beat the page's own button style (.hh-prose button) */
.hh-prose .hh-lb-tab{font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:15px;letter-spacing:.06em;text-transform:uppercase;padding:9px 16px;border:2px solid #f6c7c2;border-radius:999px;background:#fff;box-shadow:none;color:#a31b17;cursor:pointer}
.hh-prose .hh-lb-tab:hover{border-color:#a31b17;filter:none}
.hh-prose .hh-lb-tab:focus-visible{outline:3px solid #ffd36b;outline-offset:2px}
.hh-prose .hh-lb-tab[aria-selected="true"]{background:#a31b17;border-color:#a31b17;color:#fff}
.hh-prose h3.hh-lb-game-title{margin:28px 0 6px;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:20px;letter-spacing:.04em;text-transform:uppercase;color:#1b5e30}
.hh-lb-games.has-tabs .hh-lb-game-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hh-lb-game-empty{margin:8px 0 0;padding:18px 16px;border:2px dashed #f6dcd7;border-radius:12px;text-align:center;color:#6b3a33}
@media (max-width:640px){
  body:has(.hh-lb-hero){--lb-w:min(855px,100cqw - 32px)}
  body:has(.hh-hero-sponsors--lb){--lb-sp:62px}
  body:has(.hh-hero-sponsors--lb.no-caps){--lb-sp:48px}
  .hh-prose .hh-lb-hero{margin-top:calc(0px - var(--lb-up) - max(32px,5.6cqw) / 2 - 32px)}
  .hh-lb-tag{width:21%;padding:6px 4px 7px;border-radius:10px}
  .hh-prose .hh-lb-table{font-size:16px}
  .hh-prose .hh-lb-table td{padding:10px 10px}
  .hh-prose .hh-lb-rank{width:44px}
}
@media (max-width:520px){.hh-lb-hero .hh-hero-sp-tile img{height:19.6px;max-width:100px}}

/* Hero: three elves hide behind the van in the snowbank and take turns peeking out.
   Positions are percentages of the snowbank art (the van spans about 20%-33% across).
   site.js adds .is-peeking at random moments with a random speed and pose, so no two peeks match. */
.hh-peek{position:relative;transform:translateY(-56%)}
.hh-peek-snow{position:relative;z-index:1;display:block;width:100%;height:auto}
.hh-elf{position:absolute;z-index:0;top:24%;width:5.2%;height:auto;transform-origin:50% 100%}
.hh-elf-l{left:21.25%}
.hh-elf-t{left:23.85%}
.hh-elf-r{left:26.65%}
.hh-elf.is-peeking{animation:hh-peek var(--peek-dur,3.6s) cubic-bezier(.34,1.3,.5,1) 1 both}
/* The pose comes from site.js on each peek: --px/--py how far out and up, --tilt the lean,
   and --py2/--tilt2 the in-between pose that makes the wave or the bounce. */
@keyframes hh-peek{
  0%,100%{transform:translate(0,0) rotate(0)}
  23%,50%,77%{transform:translate(var(--px,0),var(--py,0)) rotate(var(--tilt,0deg))}
  37%,63%{transform:translate(var(--px,0),var(--py2,0)) rotate(var(--tilt2,0deg))}
}
@media (prefers-reduced-motion: reduce){
  .hh-elf.is-peeking{animation:none}
  .hh-elf-l{transform:translateX(-78%) rotate(-8deg)}
  .hh-elf-r{transform:translateX(78%) rotate(8deg)}
  .hh-elf-t{transform:translateY(-80%)}
}

/* Hero: sit the logo and text a little above centre. This spacer under them takes up to 20svh of
   the frame's spare height, which lifts the content by up to 10svh; on short screens with no
   spare height it collapses, so the content never moves closer to the header than before. */
/* No spacer under the hero content: its top padding already clears the nav and its bottom padding the snowbank,
   so plain centering puts it midway between the nav and the snow at any screen height. */
/* ...then nudged up 2% of the screen height, which reads as centered. A visual shift only, so nothing else moves. */
#top > div:first-child > div:has(.intro-logo){translate:0 -2svh}

/* Story: snow falling in front of the van art. The layer is a size container, so each flake
   falls the section's full height (100cqh) whatever the screen; hh_flakes() slows them to match. */
.hh-fall{position:absolute;inset:0;z-index:2;overflow:hidden;overflow:clip;pointer-events:none;container-type:size}
.hh-fall .flake{animation-name:hh-fall-full}
@keyframes hh-fall-full{
  0%{transform:translate3d(0,-30px,0)}
  50%{transform:translate3d(18px,50cqh,0)}
  100%{transform:translate3d(-8px,calc(100cqh + 20px),0)}
}

/* Hero: small "By SLIDEFACTORY" credit under the logo. The logo art ends about 77% down its image at the
   centre, so the credit sits in the transparent band below the ribbon instead of under the whole image. */
.hh-byline{position:absolute;left:0;right:0;top:79%;margin:0;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:clamp(13px,1.1vw,16px);letter-spacing:.16em;color:#fff3ef;text-shadow:0 2px 8px rgba(0,0,0,.8)}
.hh-byline a{color:#ffd36b;font-weight:700;text-decoration:none;border-bottom:1px solid rgba(255,211,107,.5);transition:color .2s,border-color .2s}
.hh-byline a:hover,.hh-byline a:focus-visible{color:#fff;border-bottom-color:#fff}


/* ---------- Game preview page (templates/page-preview.php) ---------- */
/* The video sits in a red frame with gold trim, pulled up over the snow edge of the title band */
.hh-pv-video{position:relative;z-index:2;max-width:1000px;margin:-8px auto 88px !important;padding:12px;border-radius:26px;background:radial-gradient(circle at 70% 30%,#d8251f,#6a0f0c 78%);box-shadow:0 0 0 3px #ffd36b,0 22px 44px rgba(106,15,12,.35)}
.hh-pv-screen{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:16px;background:#2a0405}
.hh-pv-screen iframe,.hh-pv-screen video{position:absolute;inset:0;width:100%;height:100%;max-width:none;border:0;border-radius:0}
.hh-pv-screen video{object-fit:contain;background:#000}
.hh-pv-soon{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,#c4261f,#4d0a0b 80%)}
.hh-pv-soon img{width:min(76%,620px);height:auto;border-radius:0;filter:drop-shadow(0 16px 18px rgba(42,4,5,.45))}
.hh-prose .hh-pv-soon-tag{position:absolute;left:50%;bottom:6%;margin:0;transform:translateX(-50%);padding:6px 18px 7px;border-radius:999px;background:#fff3ef;box-shadow:0 4px 0 #7a0c10;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:clamp(13px,1.6vw,17px);letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;color:#a31b17}
.hh-pv-story,.hh-pv-crew,.hh-pv-route,.hh-pv-play{margin:0 auto 88px;text-align:center}
.hh-pv-story{max-width:760px}
.hh-pv-story > :not(.hh-sp-kicker):not(h2){text-align:left}
.hh-prose .hh-pv-lede{font-size:21px;font-weight:600;color:#6a0f0c}
/* The crew: the van art beside the three elves, then Krampus */
.hh-pv-crew-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:32px 48px;text-align:left}
.hh-pv-crew-art{display:block;width:100%;height:auto;filter:drop-shadow(0 16px 18px rgba(42,4,5,.3))}
.hh-prose .hh-pv-cast{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.hh-pv-cast li{padding:14px 18px;border-radius:16px;background:#fff6f3;border:2px solid #f6dcd7}
.hh-pv-cast strong{display:block;font-family:Oswald,'Arial Narrow',sans-serif;font-size:20px;letter-spacing:.03em;text-transform:uppercase;color:#a31b17}
.hh-pv-krampus{display:flex;align-items:center;gap:28px;max-width:860px;margin:48px auto 0;padding:24px 30px 24px 24px;border-radius:22px;background:#1f3b2a;color:#eaf4ec;text-align:left;box-shadow:0 0 0 3px #ffd36b,0 14px 30px rgba(20,40,28,.3)}
.hh-pv-krampus img{flex:none;width:130px;height:auto;border-radius:0;filter:drop-shadow(0 8px 10px rgba(0,0,0,.4))}
.hh-pv-krampus p{margin:0}
.hh-prose .hh-pv-krampus .hh-pv-krampus-title{margin-bottom:6px;font-family:Yellowtail,'Brush Script MT',cursive;font-size:34px;line-height:1.1;color:#ffd36b}
/* The five chapters */
.hh-prose .hh-pv-chapters{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:24px;text-align:left}
.hh-pv-chapter{flex:0 1 340px;display:flex;flex-direction:column;overflow:hidden;border:4px solid var(--ch);border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(106,15,12,.12)}
.hh-pv-chapter img{display:block;width:100%;aspect-ratio:2.7/1;object-fit:cover;border-radius:0}
.hh-pv-chapter-body{display:flex;flex-direction:column;flex:1;padding:16px 20px 18px;font-size:16px;line-height:1.5}
.hh-pv-chapter-body p{margin:0 0 10px}
.hh-prose .hh-pv-chapter-num{margin:0;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#a31b17}
.hh-prose .hh-pv-chapter h3{margin:2px 0 0;font-size:24px;color:#3a0907}
.hh-prose .hh-pv-chapter-tag{font-family:Yellowtail,'Brush Script MT',cursive;font-size:24px;line-height:1.1;color:#a31b17}
.hh-pv-chapter-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin:auto 0 0;padding-top:10px;border-top:2px dotted #f0c9c2}
.hh-pv-chapter-meta div{display:flex;flex-direction:column}
.hh-pv-chapter-meta dt{font-family:Oswald,'Arial Narrow',sans-serif;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#8a5a52}
.hh-pv-chapter-meta dd{margin:0;font-weight:700;color:#7a4a0c}
/* How it plays: three numbered steps */
.hh-prose .hh-pv-steps{list-style:none;margin:0 0 28px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;counter-reset:hh-step;text-align:left}
.hh-pv-steps li{position:relative;padding:30px 22px 20px;border:2px dashed #e2b3ab;border-radius:20px;counter-increment:hh-step;font-size:16px;line-height:1.5}
.hh-pv-steps li::before{content:counter(hh-step);position:absolute;top:-20px;left:20px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(to bottom,#e2372b,#a31b17);box-shadow:0 0 0 3px #fff,0 0 0 5px #a31b17;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:20px;color:#fff}
.hh-prose .hh-pv-steps h3{margin:0 0 6px;font-size:21px}
.hh-pv-steps p{margin:0}
.hh-pv-play-end{margin:0 0 22px !important}
@media (max-width:760px){
  .hh-pv-video{padding:8px;border-radius:20px;margin-bottom:64px !important}
  .hh-pv-screen{border-radius:13px}
  .hh-pv-story,.hh-pv-crew,.hh-pv-route,.hh-pv-play{margin-bottom:64px}
  .hh-pv-crew-grid{grid-template-columns:1fr}
  .hh-pv-krampus{flex-direction:column;text-align:center;padding:22px}
  .hh-pv-krampus img{width:110px}
  .hh-prose .hh-pv-steps{grid-template-columns:1fr;gap:32px}
}

/* Game preview: sponsor logos under the video (inc/preview-sponsors.php). Rows are centered and get
   smaller: up to 4 large tiles, then 6, then 8. */
.hh-pv-sponsors{max-width:1120px;margin:-24px auto 88px;text-align:center}
.hh-prose h2.hh-pv-sponsors-title{margin:0 0 20px;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:15px;letter-spacing:.18em;text-transform:uppercase;color:#1b5e30}
.hh-prose .hh-pv-sp-row{list-style:none;margin:0 auto;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--sp-gap)}
.hh-pv-sp-row + .hh-pv-sp-row{margin-top:calc(var(--sp-gap) + 4px)}
/* A full row always fits on one line: tiles shrink a little on narrower screens (the % is of the row). */
.hh-pv-sp-row-1{--sp-w:min(220px,calc((100% - 66px) / 4));--sp-h:110px;--sp-gap:22px}
.hh-pv-sp-row-2{--sp-w:min(160px,calc((100% - 90px) / 6));--sp-h:80px;--sp-gap:18px}
.hh-pv-sp-row-3{--sp-w:min(120px,calc((100% - 98px) / 8));--sp-h:60px;--sp-gap:14px}
.hh-pv-sp-row li{flex:none;width:var(--sp-w);margin:0}
.hh-prose .hh-pv-sp-tile{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:var(--sp-h);padding:calc(var(--sp-h) * .14);border:2px solid #f0d9d4;border-radius:16px;background:#fff;text-decoration:none;transition:border-color .15s,transform .15s}
.hh-prose a.hh-pv-sp-tile:hover,.hh-prose a.hh-pv-sp-tile:focus-visible{border-color:#a31b17;transform:translateY(-2px)}
.hh-prose a.hh-pv-sp-tile:focus-visible{outline:3px solid #ffd36b;outline-offset:2px}
.hh-prose .hh-pv-sp-tile img{display:block;width:100%;height:100%;max-width:none;border-radius:0;object-fit:contain}
.hh-pv-sp-name{font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:calc(var(--sp-h) * .2);line-height:1.15;letter-spacing:.02em;text-transform:uppercase;color:#a31b17;overflow-wrap:anywhere}
.hh-sp-logos .hh-pv-sponsors{margin:0 auto 88px} /* On the Sponsors page, above "Sponsorship levels" */
/* A sponsor's name under its logo ("Show the name under the logo" in the Preview sponsors box) */
.hh-pv-sp-caption{display:block;margin-top:8px;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:clamp(11px,calc(var(--sp-h) * .13),14px);line-height:1.2;letter-spacing:.06em;text-transform:uppercase;color:#6b3a33;overflow-wrap:anywhere}
/* "Created & developed by" under the sponsor logos (Preview sponsors box > Created by) */
.hh-pv-creator.has-sponsors{max-width:760px;margin:44px auto 0;padding-top:36px;border-top:1px solid #f0d9d4}
.hh-prose p.hh-pv-creator-label{margin:0 0 6px;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:500;font-size:15px;letter-spacing:.18em;text-transform:uppercase;color:#1b5e30}
.hh-prose p.hh-pv-creator-name{margin:0;font-family:Oswald,'Arial Narrow',sans-serif;font-weight:700;font-size:clamp(22px,2.4vw,30px);line-height:1.1;letter-spacing:.02em;text-transform:uppercase;color:#a31b17}
.hh-prose .hh-pv-creator-name a:not(.roll):not(.wp-block-button__link){color:inherit;font-weight:inherit;text-decoration:none}
.hh-prose .hh-pv-creator-name a:not(.roll):not(.wp-block-button__link):hover,.hh-prose .hh-pv-creator-name a:not(.roll):not(.wp-block-button__link):focus-visible{text-decoration:underline;text-underline-offset:.12em}
.hh-pv-creator-name img{display:inline-block;width:auto;height:56px;vertical-align:middle}
.hh-pv-sponsors-top .hh-pv-sponsors{margin:0 auto 56px} /* Above the video (the video is pulled up 8px) */
@media (max-width:760px){
  .hh-pv-sponsors{margin:-16px auto 64px}
  .hh-sp-logos .hh-pv-sponsors{margin:0 auto 64px}
  .hh-pv-creator.has-sponsors{margin-top:32px;padding-top:28px}
  .hh-pv-sponsors-top .hh-pv-sponsors{margin:0 auto 40px}
  .hh-pv-sp-row-1{--sp-w:min(150px,calc(50% - 11px));--sp-h:80px}
  .hh-pv-sp-row-2{--sp-w:min(116px,calc(33.333% - 12px));--sp-h:60px}
  .hh-pv-sp-row-3{--sp-w:min(90px,calc(25% - 11px));--sp-h:46px}
}
