:root {
  --christmas-trim-height: 24px;
  --christmas-cream: #fff8ec;
  --christmas-gold: #d4aa61;
}

.site-header::before,
.footer::before {
  content: "";
  display: block;
  height: var(--christmas-trim-height);
  background: var(--christmas-cream) url("../assets/christmas-lights.svg") repeat-x center top / 224px 24px;
  border-bottom: 1px solid #eddcc1;
}

.christmas-greeting {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
  margin: 0;
  padding: 7px 12px;
  border-block: 1px solid var(--christmas-gold);
  background: linear-gradient(100deg, #173e34, #2b5645 52%, #173e34);
  color: var(--christmas-cream);
  text-align: center;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 800;
  line-height: 1.3;
}

.christmas-greeting::before,
.christmas-greeting::after {
  content: "";
  flex: 0 0 clamp(33px, 7vw, 69px);
  height: 27px;
  background: url("../assets/christmas-holly.svg") no-repeat center / contain;
}

.christmas-greeting::after {
  transform: scaleX(-1);
}

.footer {
  position: relative;
  padding-top: calc(28px + var(--christmas-trim-height));
}

.footer::before {
  position: absolute;
  inset: 0 0 auto;
  border-bottom-color: var(--christmas-gold);
}

#current-classes {
  scroll-margin-top: calc(140px + var(--christmas-trim-height));
}

.booking-intro {
  top: calc(140px + var(--christmas-trim-height));
}

@media (max-width: 900px) {
  #current-classes {
    scroll-margin-top: calc(90px + var(--christmas-trim-height));
  }
}

@media (max-width: 600px) {
  :root {
    --christmas-trim-height: 20px;
  }

  .site-header::before,
  .footer::before {
    background-size: 184px 20px;
  }

  .christmas-greeting::before,
  .christmas-greeting::after {
    height: 21px;
  }
}
