.winter-stories { --winter-unit: 1rem; background: #edeffd; }
.winter-stories__canvas {
  position: relative;
  isolation: isolate;
  container: winter-stories / inline-size;
  overflow: clip;
  border-radius: clamp(1.5rem, 3.57143vw, 4.285714rem) clamp(1.5rem, 3.57143vw, 4.285714rem) 0 0;
  background: #1c49d2;
}
.winter-stories__background { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.winter-stories__background img { position: absolute; top: 0; left: 50%; width: max(100%, 60rem); max-width: none; height: 100%; object-fit: cover; transform: translateX(-50%); }
/* The FAQ grows independently of the 2244px artwork. Blend at its actual
   bottom, including when answers open or larger text changes the height. */
.winter-stories__background::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  background: linear-gradient(transparent, var(--winter-article-start));
}
.winter-stories__snowflake { display: none; position: absolute; z-index: 2; max-width: none; pointer-events: none; }
@media (width >= 75rem) { .winter-stories { --winter-unit: var(--winter-canvas-unit); } }
@container winter-stories (width >= 75rem) {
  /* Beside the bounded artwork the two flat blues meet on a soft ramp, not a line. */
  .winter-stories__background { background: linear-gradient(#1c49d2 calc(140.25 * var(--winter-unit) - 16rem), #244cc4 calc(140.25 * var(--winter-unit))); }
  .winter-stories__background img { width: calc(87.5 * var(--winter-unit)); height: calc(140.25 * var(--winter-unit)); object-fit: fill; }
  .winter-stories__snowflake { display: block; top: calc(36.875 * var(--winter-unit)); left: calc(50% + 24 * var(--winter-unit)); width: calc(14.4375 * var(--winter-unit)); height: calc(15.8125 * var(--winter-unit)); }
}
@container winter-stories (width > 120rem) {
  .winter-stories__background img { mask-image: var(--winter-wide-edge); }
}
