/* Holiday hours sticker block (home page, built by hours.js). Not scoped under html.holiday on purpose:
   it runs to Jan 1, after the holiday look ends on Dec 26, and it looks right on both the plain and the themed page. */
.hh { max-width: 1240px; margin: auto; padding: 0 28px 38px; }
.hh-card {
  position: relative; max-width: 760px; margin: 0 auto; padding: 36px 24px 22px; text-align: center;
  background: #FBF4E2; color: #3A352F; border: 1px solid #A8957A; border-radius: 0;
  box-shadow: inset 0 0 0 4px #FBF4E2, inset 0 0 0 5px #B22222;
}
.hh-ribbon {
  position: absolute; top: -14px; left: 50%; z-index: 0; transform: translateX(-50%); margin: 0; padding: 6px 30px 5px;
  white-space: nowrap; color: #FDF6E3; font: 700 12px/1.2 'Josefin Sans', sans-serif; letter-spacing: .18em; text-transform: uppercase;
}
.hh-ribbon::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #B22222;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%);
}
.hh-sub { margin: 0 auto; max-width: 34ch; color: #4A443C; font-size: 15px; line-height: 1.45; text-wrap: balance; }
.hh-stickers {
  list-style: none; margin: 16px 0 0; padding: 16px 14px; display: grid; gap: 14px;
  background: #BBAD92 url(/holiday/kraft-tan.jpg) 0 0 repeat; border: 1px solid #A8957A;
}
.hh-st {
  position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 12px; margin: 0;
  padding: 8px 12px 8px 8px; text-align: left; border: 3px solid #FDF6E3; border-radius: 14px;
  box-shadow: 0 2px 5px rgba(58, 53, 47, .35); transform: rotate(-2deg);
}
.hh-st:nth-child(2) { transform: rotate(1.6deg); }
.hh-st:nth-child(3) { transform: rotate(-1.2deg); }
.hh-red { background: #B22222; color: #FDF6E3; }
.hh-green { background: #306149; color: #FDF6E3; }
.hh-gold { background: #F1D34B; color: #3A352F; }
.hh-date {
  display: grid; justify-items: center; padding: 6px 0; background: #FDF6E3; color: #3A352F; border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(58, 53, 47, .18);
}
.hh-date b { font: 700 11px/1 'Josefin Sans', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #9E1D1D; padding: 0 0 3px .18em; }
.hh-date i { font: 700 28px/1 'Josefin Sans', sans-serif; font-style: normal; }
.hh-name strong { display: block; font: 700 16px/1.2 'Josefin Sans', sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.hh-name em { display: block; margin-top: 3px; font: 600 13px/1.25 'Open Sans', sans-serif; font-style: normal; }
.hh-stamp { display: none; }
.hh-wish { margin: 16px auto 0; max-width: 34ch; color: #4A443C; font-size: 14px; font-weight: 600; line-height: 1.4; text-wrap: balance; }
@media (max-width: 359px) {
  .hh-card { padding-left: 14px; padding-right: 14px; }
  .hh-stickers { padding: 14px 10px; }
  .hh-st { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding-right: 8px; }
  .hh-name strong { font-size: 14px; letter-spacing: .03em; }
}
@media (max-width: 480px) { .hh { max-width: 470px; padding: 0 20px 26px; } }
@media (max-width: 420px) { .hh-name strong { font-size: 15px; letter-spacing: .04em; } }
@media (min-width: 640px) and (max-width: 899px) {
  .hh-st { grid-template-columns: 58px minmax(0, 1fr) auto; }
  .hh-stamp {
    display: block; padding: 3px 7px 2px; transform: rotate(-8deg); border: 2px solid currentColor; border-radius: 4px;
    font: 700 11px/1 'Josefin Sans', sans-serif; letter-spacing: .16em; text-transform: uppercase; opacity: .95;
  }
  .hh-gold .hh-stamp { color: #9E1D1D; }
}
@media (min-width: 900px) {
  .hh-card { max-width: 980px; padding: 40px 32px 24px; }
  .hh-stickers { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; padding: 20px 18px; }
  .hh-st { flex: 0 1 280px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hh-st { animation: hh-slap .5s cubic-bezier(.2, .9, .3, 1.25) both; }
  .hh-st:nth-child(2) { animation-delay: .1s; }
  .hh-st:nth-child(3) { animation-delay: .2s; }
  @keyframes hh-slap { from { opacity: 0; scale: 1.15; } to { opacity: 1; scale: 1; } }
}
