/* Seasonal trim for the existing masthead and homepage. */
header .masthead {
  position: relative;
  isolation: isolate;
}
header .po-christmas-garland {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.po-christmas-garland::before,
.po-christmas-garland::after {
  content: "";
  position: absolute;
  top: 50%;
  width: min(calc(50% - 90px), 530px);
  height: 94%;
  background: url("/assets/country-christmas-garland.webp") left center / contain no-repeat;
}
.po-christmas-garland::before {
  left: max(0px, calc(50% - 655px));
  transform: translateY(-52%) rotate(3deg);
}
.po-christmas-garland::after {
  right: max(0px, calc(50% - 655px));
  transform: translateY(-52%) scaleX(-1) rotate(3deg);
}
.seasonal-note.po-christmas-note {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .75rem;
  background: #f5ebdf;
  border-bottom: 1px solid #dec8b0;
  color: #702c39;
}
.po-christmas-note a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .55em;
  color: #702c39;
  text-decoration: underline;
  text-underline-offset: .23em;
}
.po-christmas-feature {
  padding: clamp(20px, 3.75vw, 51px) max(5%, 16px);
  background: #f7f0e6;
  scroll-margin-top: calc(var(--header-height, 148px) + 16px);
}
.po-christmas-feature-inner {
  position: relative;
  max-width: 1050px;
  margin: auto;
  padding: clamp(35px, 5vw, 62px) clamp(15px, 5vw, 60px) clamp(26px, 4vw, 44px);
  border: 1px solid #c9ae87;
  outline: 1px solid #e3d1b6;
  outline-offset: -6px;
  background: #fffbf4;
  text-align: center;
  color: var(--green, #244a35);
}
.po-christmas-feature .po-christmas-trim {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -42%);
  width: min(78%, 370px);
  height: clamp(39px, 6vw, 70px);
  background: url("/assets/country-christmas-garland.webp") center / contain no-repeat;
  pointer-events: none;
}
.po-christmas-feature h2 {
  margin: 0 auto .26em;
  max-width: 24ch;
  font-size: clamp(29px, 5vw, 53px);
  line-height: 1.06;
  text-wrap: balance;
}
.po-christmas-feature p {
  max-width: 59ch;
  margin: .7rem auto;
  line-height: 1.6;
}
.po-christmas-feature .po-christmas-signup {
  margin-top: .55rem;
  max-width: 100%;
  min-height: 44px;
  background: #782f3e;
  border-color: #782f3e;
  color: #fffaf2;
  white-space: normal;
}
.po-christmas-feature .po-christmas-signup:hover {
  background: #60222e;
  border-color: #60222e;
}
.po-christmas-note a:focus-visible,
.po-christmas-signup:focus-visible {
  outline: 2px solid #244a35;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .po-christmas-garland::before,
  .po-christmas-garland::after {
    width: calc(50% - 69px);
    height: 70%;
    background-size: clamp(290px, 76vw, 475px) auto;
    background-position: 82% center;
  }
}
.po-christmas-note a::after {
  content: "";
  width: .38em;
  height: .38em;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-.11em) rotate(45deg);
}

.holiday-recipes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
  margin-block: 1rem;
}
.holiday-recipes article {
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #deccb3;
  background: #fffaf2;
}
.holiday-recipes h3 { margin-top: 0; }
.holiday-contact {
  border-bottom: 1px solid #deccb3;
  background: #f8efe3;
}
.holiday-contact::after {
  display: block;
  content: "";
  width: min(100%, 350px);
  height: 36px;
  margin-top: 20px;
  background: url("/assets/country-christmas-garland.webp") left center / contain no-repeat;
}
#seasonal, #leftovers, #preservation {
  scroll-margin-top: calc(var(--header-height, 148px) + 16px);
}
#market-day video { display: block; width: 100%; height: auto; }

.holiday-recipes {
  align-items: start;
}
.holiday-recipe {
  border: 1px solid #deccb3;
  background: #fffaf2;
}
.holiday-recipe summary {
  padding: 14px 16px;
  cursor: pointer;
  color: #244a35;
  font: 1.18rem/1.25 Georgia, serif;
}
.holiday-recipe summary::marker { color: #782f3e; }
.holiday-recipe summary:focus-visible {
  outline: 2px solid #782f3e;
  outline-offset: -3px;
}
.holiday-recipe > div {
  padding: 0 16px 10px;
}
.holiday-recipe .recipe-yield {
  font-size: .875rem;
  font-weight: 600;
}

.holiday-kitchen-photo {
  max-width: 660px;
  margin: 1.15rem 0 1.5rem;
}
.holiday-kitchen-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 4px;
}
.holiday-kitchen-seasonal-bread img { object-position: center 57%; }
.holiday-kitchen-photo figcaption {
  padding-top: .4rem;
  font-size: .9rem;
}
.holiday-kitchen-baked-casserole img { object-position: center 63%; }
.holiday-kitchen-dough-prep img { aspect-ratio: auto; height: auto; }
