/* A winter event uses one evergreen / cream / gold system, with the postcard's own stage palettes. */
html body.event-body.event-santa {
  --holiday-canvas: #f3efe5;
  --holiday-surface: #fffdf7;
  --holiday-soft: #f1f4e9;
  --holiday-ink: #183e31;
  --holiday-muted: #57665a;
  --holiday-line: #d5d9c5;
  --holiday-evergreen: #245e46;
  --holiday-gold: #a27a36;
  --holiday-gold-soft: #f5ebd0;
  --holiday-red: #a53d49;
  --holiday-shadow: 0 8px 28px #183c2f0b;
  color-scheme: light;
  background-color: var(--holiday-canvas);
  background-image: radial-gradient(ellipse at 0 0, #d8e6d2 0, transparent 54%), radial-gradient(ellipse at 100% 12%, #ead9b0 0, transparent 48%);
  background-size: 100% 1100px;
  background-repeat: no-repeat;
}
html[data-theme=dark] body.event-body.event-santa {
  --holiday-canvas: #101f1b;
  --holiday-surface: #1b2d27;
  --holiday-soft: #223a30;
  --holiday-ink: #f5f0dd;
  --holiday-muted: #bccbbc;
  --holiday-line: #3b5345;
  --holiday-evergreen: #afd4b6;
  --holiday-gold: #e1c17b;
  --holiday-gold-soft: #3c3c27;
  --holiday-red: #eea4a5;
  --holiday-shadow: 0 8px 28px #00000018;
  color-scheme: dark;
  background-image: radial-gradient(ellipse at 0 0, #2c4c38 0, transparent 54%), radial-gradient(ellipse at 100% 12%, #4b4024 0, transparent 48%);
}
/* Replace only the stock accent wash; saved page backdrops remain untouched. */
html body.event-body.event-santa::after { display: none; }
body.event-santa .event-shell {
  --ux-ink: var(--holiday-ink);
  --ux-muted: var(--holiday-muted);
  --ux-surface: var(--holiday-surface);
  --ux-soft: var(--holiday-soft);
  --line: var(--holiday-line);
  --paper: var(--holiday-surface);
  --navy: var(--holiday-ink);
  --navy-soft: var(--holiday-muted);
}
body.event-santa .event-shell > .event-back-link { color: var(--holiday-evergreen); }
body.event-santa #event-content {
  position: relative;
  border: 1px solid var(--holiday-line);
  border-radius: 28px;
  background: var(--holiday-surface);
  box-shadow: var(--holiday-shadow);
  padding: 0;
}
body.event-santa #event-content::before { display: none; }
body.event-santa #event-content::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: 6px;
  background: repeating-linear-gradient(110deg, #a43c49 0 22px, #f8eccf 22px 44px, #2f6549 44px 66px, #f8eccf 66px 88px);
  pointer-events: none;
}
/* An actual image panel keeps the new still life complete, without text over its gifts. */
body.event-santa #event-content.event-holiday-default-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-rows: 1fr auto;
  align-items: stretch;
}
body.event-santa #event-content.event-holiday-default-cover .event-hero-main {
  grid-column: 1;
  grid-row: 1;
  padding: 36px 32px 24px;
}
body.event-santa #event-content.event-holiday-default-cover > .event-hero-cover {
  grid-column: 2;
  grid-row: 1 / 3;
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transform: none;
  opacity: 1;
  background: #f4dfc3;
  border-left: 1px solid #d9c6a9;
}
body.event-santa #event-content h1 { color: var(--holiday-ink); font-size: clamp(32px, 3.3vw, 48px); }
body.event-santa #event-content .event-description { color: var(--holiday-muted); }
body.event-santa #event-content .event-theme {
  color: var(--holiday-evergreen);
  border-color: var(--holiday-line);
  background: var(--holiday-soft);
  box-shadow: none;
}
body.event-santa #event-content .event-role { color: var(--holiday-muted); background: var(--holiday-surface); box-shadow: none; }
body.event-santa #event-content .event-date-poster {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  min-height: 0;
  max-width: none;
  transform: none;
  align-items: baseline;
  justify-self: start;
  gap: 10px;
  min-width: 0;
  width: auto;
  height: auto;
  margin: 0 32px 28px;
  padding: 10px 16px;
  border: 1px solid var(--holiday-line);
  border-radius: 14px;
  color: var(--holiday-gold);
  background: var(--holiday-gold-soft);
  box-shadow: none;
}
body.event-santa #event-content .event-date-poster span { color: inherit; font-size: 28px; line-height: 1; }
body.event-santa #event-content .event-date-poster strong { color: var(--holiday-ink); font-size: 17px; margin: 0; }
body.event-santa #event-content .event-date-poster small { color: var(--holiday-muted); font-size: 13px; }
body.event-santa #event-content .custdev-jumps .secondary-button {
  color: var(--holiday-evergreen);
  border-color: var(--holiday-line);
  background: var(--holiday-soft);
}
body.event-santa .event-owner-panel,
body.event-santa .event-rsvp {
  border-color: var(--holiday-line);
  background: var(--holiday-soft);
  color: var(--holiday-ink);
  box-shadow: none;
}
body.event-santa .event-owner-panel .event-owner-panel-label,
body.event-santa .event-rsvp small { color: var(--holiday-muted); }
body.event-santa :is(.event-priority-grid,.event-open-grid) > section,
body.event-santa :is(.event-wishlist-section,.event-story-blocks .invitation-block,.event-intro,.event-map-wrap) {
  color: var(--holiday-ink);
  border-color: var(--holiday-line);
  box-shadow: var(--holiday-shadow);
}
body.event-santa :is(.event-priority-grid,.event-open-grid) > section:not(.etp-background),
body.event-santa :is(.event-wishlist-section,.event-story-blocks .invitation-block,.event-intro,.event-map-wrap):not(.etp-background) { background: var(--holiday-surface); }
body.event-santa :is(.event-priority-grid,.event-open-grid) > section,
body.event-santa .event-wishlist-section { border-top: 3px solid var(--holiday-evergreen); }
body.event-santa :is(.event-priority-grid,.event-open-grid,.event-wishlist-section) .section-heading .eyebrow { color: var(--holiday-evergreen); }
body.event-santa :is(.event-priority-grid,.event-open-grid,.event-wishlist-section) .section-heading :is(h2,h3) { color: var(--holiday-ink); }
body.event-santa .event-counter { color: var(--holiday-gold); background: var(--holiday-gold-soft); border-color: var(--holiday-line); }
body.event-santa .event-fact {
  border-color: var(--holiday-line);
  border-top: 3px solid var(--holiday-evergreen);
  color: var(--holiday-ink);
  box-shadow: var(--holiday-shadow);
}
body.event-santa .event-fact:not(.etp-background) { background: var(--holiday-surface); }
body.event-santa .event-fact > span { color: var(--holiday-muted); }
body.event-santa .event-fact > strong,
body.event-santa .event-map-title { color: var(--holiday-ink); }
body.event-santa .event-fact:nth-child(2) { border-top-color: var(--holiday-gold); }
body.event-santa .event-fact:nth-child(3) { border-top-color: var(--holiday-red); }
body.event-santa .santa-section {
  --s-paper: var(--holiday-surface);
  --s-ink: var(--holiday-ink);
  --s-muted: var(--holiday-muted);
  --s-line: var(--holiday-line);
  --s-soft: var(--holiday-soft);
  --s-accent: var(--holiday-evergreen);
  --s-on-accent: light-dark(#ffffff, #173d2b);
  border-color: var(--holiday-line);
  box-shadow: var(--holiday-shadow);
}
body.event-santa .santa-section .festive-header :is(h2,p) { color: var(--s-ink); }
body.event-santa .santa-section .festive-header .santa-hero-copy p { color: var(--s-muted); }
body.event-santa .santa-section .endnote { background: var(--holiday-soft); }
body.event-santa .santa-section details > summary { color: var(--holiday-evergreen); }
body.event-santa .santa-section .owner-panel { border-top: 1px solid var(--holiday-line); padding-top: 24px; }
body.event-santa .santa-section .owner-panel > h3 { color: var(--holiday-evergreen); }
body.event-santa .santa-section .content > details { border-top: 1px solid var(--holiday-line); padding-top: 8px; }
body.event-santa .legal-footer { color: var(--holiday-muted); }
@media (max-width: 820px) {
  body.event-santa #event-content.event-holiday-default-cover { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
  body.event-santa #event-content.event-holiday-default-cover > .event-hero-cover { grid-column: 1; grid-row: 1; height: 260px; min-height: 0; border-left: 0; border-bottom: 1px solid #d9c6a9; }
  body.event-santa #event-content.event-holiday-default-cover .event-hero-main { grid-column: 1; grid-row: 2; padding: 24px; }
  body.event-santa #event-content.event-holiday-default-cover .event-date-poster { grid-row: 3; margin: 0 24px 24px; }
}
@media (max-width: 480px) {
  body.event-santa #event-content { border-radius: 22px; }
  body.event-santa #event-content.event-holiday-default-cover > .event-hero-cover { height: 220px; }
  body.event-santa #event-content.event-holiday-default-cover .event-hero-main { padding: 24px 20px 20px; }
  body.event-santa #event-content .event-date-poster { margin-inline: 20px; }
  body.event-santa .event-owner-panel { margin-inline: 0; padding: 14px; }
  body.event-santa #event-content h1 { font-size: 32px; }
}

/* The absolute child image must be positioned against its grid cell, never the whole hero. */
body.event-santa #event-content.event-holiday-default-cover > .event-cover-frame { position: relative; }
/* Cover cropping wraps the image at runtime; style the frame and its image separately. */
body.event-santa #event-content.event-holiday-default-cover > .event-cover-frame > img {
  object-fit: contain;
  transform: none;
  opacity: 1;
  filter: none;
  background: #f4dfc3;
}
body.event-santa :is(.guest-card,.event-gift-card,.event-plan-card,.event-ticket-card,.event-poll-card,.event-expense-card,.event-comment,.event-photo-card,.event-comment-form,.event-photo-form,.event-ticket-form) {
  color: var(--holiday-ink);
  border-color: var(--holiday-line);
  background: var(--holiday-surface);
  box-shadow: none;
}
body.event-santa :is(.guest-copy h3,.event-gift-card h3,.event-plan-card h3,.event-ticket-card h3,.event-poll-card h3,.event-expense-card h3) { color: var(--holiday-ink); }
