.noel-gallery {
  margin: 28px 0;
}
.noel-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 32px;
}
.noel-jump a {
  padding: 12px 18px;
  border-radius: 24px;
  background: #e5eee0;
  color: #174b35;
  font-weight: 700;
  text-decoration: none;
}
.noel-shelf {
  scroll-margin-top: 20px;
  margin: 48px 0;
}
.noel-shelf > h2 {
  color: #17543b;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 24px;
}
.noel-shelf > h3 {
  margin: 32px 0 20px;
}
.noel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.noel-card {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e6ddcd;
  border-radius: 18px;
  padding: 14px;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  text-align: left;
  overflow: hidden;
}
.noel-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1102 / 1427;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
#noel-games .noel-card img {
  aspect-ratio: 2 / 3;
}
.noel-card h3 {
  font-size: 18px;
  line-height: 1.35;
  color: #543468;
  margin: 0;
  min-height: 2.7em;
}
.noel-card p {
  margin: 0;
  color: #5c5260;
  font-size: 14px;
}
.noel-card video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #20142d;
  border-radius: 10px;
}
.noel-card a,
.noel-card button {
  box-sizing: border-box;
  white-space: normal;
  width: 100%;
  text-align: center;
  text-decoration: none;
  line-height: 1.35;
  min-height: 44px;
}
.noel-card h3 + button,
.noel-card h3 + a {
  margin-top: auto;
}
.noel-feature-video {
  max-width: 820px;
  margin: 0 auto 32px;
}
.noel-feature-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
}
.noel-pose-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.christmas-featured > .noel-grid {
  margin-top: 24px;
}
.christmas-featured [data-noel-preview] img {
  aspect-ratio: 4 / 3;
}
#noel-tree-slot .tree-print-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}
#noel-tree-slot .tree-print-card > img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}
.noel-jump a:focus-visible {
  outline: 3px solid #932c3a;
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  .noel-pose-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .noel-grid,
  .noel-pose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  #noel-videos .noel-grid {
    grid-template-columns: 1fr;
  }
  #noel-tree-slot .tree-print-card {
    grid-template-columns: 1fr;
  }
  .noel-card {
    padding: 10px;
  }
  .noel-card h3 {
    font-size: 16px;
  }
  .noel-jump a {
    padding: 10px 12px;
  }
}
@media (max-width: 400px) {
  #noel-games .noel-grid,
  #noel-sheets .noel-grid,
  .christmas-featured > .noel-grid {
    grid-template-columns: 1fr;
  }
  .noel-pose-grid {
    gap: 10px;
  }
  .noel-card button,
  .noel-card a {
    font-size: 14px;
    padding: 10px 6px;
  }
}

/* Use two columns and a consistent square viewing area for the gallery. */
.noel-gallery .noel-grid,
#noel-videos .noel-grid,
#noel-games .noel-grid,
#noel-sheets .noel-grid,
.christmas-featured .noel-activity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2.5vw, 24px);
}
.noel-gallery .noel-card img,
.christmas-featured .noel-activity-grid img,
#noel-games .noel-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.noel-activity-grid {
  margin: 24px auto 36px;
  max-width: 720px;
}
.noel-activity-grid .noel-card {
  color: #543468;
  font: inherit;
  cursor: pointer;
}
.noel-activity-grid .noel-card strong {
  line-height: 1.35;
}
.noel-activity-grid .noel-card:hover {
  border-color: #517c59;
  background: #f7fbf5;
}
.christmas-home-calendar .featured-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
