/* ---------- Holiday Hours banner (home page, Nov 2026 – Jan 2027) ----------
   Sits between the badges strip and "Welcome to the Haus".
   To retire it: delete the <section id="holiday-hours"> block and the
   holiday.css / holiday.js lines in index.html. Nothing else depends on it. */
:root {
  --pine: #1F5A3A;
  --berry: #B8322B;
}

.holiday { position: relative; padding: 5rem 0 4.5rem; border-bottom: 3px solid var(--yellow); }

/* String of lights along the top edge: straight, sits on the border */
.holiday-lights {
  position: absolute; top: 0; left: 0; right: 0; height: 26px;
  border-top: 3px solid var(--ink);
  background:
    radial-gradient(circle at 18px 12px, var(--yellow) 0 6px, var(--ink) 6px 8px, transparent 8.5px) 0 0 / 108px 26px repeat-x,
    radial-gradient(circle at 54px 12px, var(--berry) 0 6px, var(--ink) 6px 8px, transparent 8.5px) 0 0 / 108px 26px repeat-x,
    radial-gradient(circle at 90px 12px, #3FA463 0 6px, var(--ink) 6px 8px, transparent 8.5px) 0 0 / 108px 26px repeat-x;
}
.holiday-lights::after {
  content: ""; position: absolute; inset: 0;
  background: inherit; filter: blur(7px); opacity: .55;
  animation: holiday-twinkle 2.8s ease-in-out infinite alternate;
}
@keyframes holiday-twinkle { from { opacity: .2; } to { opacity: .7; } }

.holiday .head { text-align: center; margin-bottom: 2.75rem; }
.holiday .head .lead { max-width: 560px; margin: 0 auto; font-weight: 700; }

/* Cards */
.holiday-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); list-style: none; }
.hday {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: center;
  background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 16px;
  outline: 2px dashed var(--yellow); outline-offset: -9px;
  box-shadow: var(--shadow); padding: 1.1rem 1.2rem;
}
.hday-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 84px; padding: .55rem 0 .5rem; border: 3px solid var(--ink); border-radius: 12px;
  background: var(--yellow); color: var(--ink); font-family: var(--display); text-transform: uppercase; line-height: 1;
}
.hday-date small { font-size: .85rem; letter-spacing: .08em; }
.hday-date b { font-weight: normal; font-size: 2.5rem; margin: .1rem 0; }
.hday-name { font-family: var(--display); text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; margin-bottom: .35rem; }
.hday-time { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.hday-tag {
  display: inline-block; margin-top: .55rem; padding: .15rem .7rem; border: 2px solid var(--ink); border-radius: 999px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem;
  background: var(--yellow); color: var(--ink);
}

/* Day types */
.hday.is-early .hday-date { background: var(--berry); color: var(--cream); }
.hday.is-early .hday-tag  { background: var(--berry); color: var(--cream); }
.hday.is-extended { background: var(--pine); color: var(--cream); }
.hday.is-extended .hday-date { background: var(--yellow); }
.hday.is-extended .hday-tag  { background: var(--yellow); color: var(--ink); }
.hday.is-closed { background: var(--ink); color: var(--cream); outline-color: var(--berry); }
.hday.is-closed .hday-date { background: var(--cream); }
.hday.is-closed .hday-tag  { background: var(--berry); color: var(--cream); border-color: var(--cream); }

/* Set by holiday.js */
.hday.is-today { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.hday.is-today::before {
  content: "Today"; position: absolute; top: -14px; right: 14px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
  background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: .1rem .7rem;
}
.hday[hidden] { display: none; }

.holiday-foot { text-align: center; margin-top: 2.75rem; }
.holiday-foot p { font-size: .9rem; margin-bottom: 1.4rem; }
.holiday-foot .btn-row { justify-content: center; }

@media (max-width: 900px) {
  .holiday-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .holiday { padding: 4.25rem 0 3.75rem; }
  .holiday-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .hday-date { width: 72px; }
  .hday-date b { font-size: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .holiday-lights::after { animation: none; opacity: .45; }
}
