/* Load after the shared card and R4 styles. Only /holidays receives the new root marker. */
#main [data-holiday-results],
#main [data-holiday-results] ~ .archive-prose[data-overview-choice] {
  box-sizing: border-box;
  width: 100%;
  max-width: 1224px;
  margin-inline: auto;
  padding-inline: clamp(16px,4vw,48px);
}
#main [data-holiday-results] {
  margin-block: 0;
  padding-block: clamp(16px,2.2vw,32px) 28px;
}
#main [data-holiday-results] .collection-heading { margin: 0 0 12px; padding: 0; max-width: none; }
#main [data-holiday-results] .collection-heading h1 {
  margin: 0 0 6px;
  font-size: clamp(32px,4vw,54px);
  max-width: none;
  text-wrap: balance;
}
#main [data-holiday-results] .collection-heading > p { margin: 0; max-width: none; }
#main [data-holiday-results] .holiday-controls,
#main [data-holiday-results] .collection-choices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  min-width: 0;
}
#main [data-holiday-results] .holiday-controls { padding-block: 0 10px; border-bottom: 1px solid #29383f24; }
#main [data-holiday-results] .collection-choices { margin: 0; padding: 0; border: 0; }
#main [data-holiday-results] .collection-choices:empty { width: 0; height: 0; }
#main [data-holiday-results] .collection-choices-heading { display: contents; }
#main [data-holiday-results] .collection-choices h2,
#main [data-holiday-results] .collection-choices > p {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
#main [data-holiday-results] .collection-choices ul { gap: 4px 8px; margin: 0; }
#main [data-holiday-results] .collection-adjust {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0; box-sizing: border-box;
  padding: 8px 14px; border: 1px solid #f0ddb4; border-radius: 24px;
  background: #fff8e7; color: var(--mgh-ink); text-decoration: none;
  font: 600 14px/1.4 MGHPoppins,Poppins,Arial,sans-serif;
}
#main [data-holiday-results] .collection-adjust:hover { background: #fff0c4; }
#main [data-holiday-results] .collection-filter-chip {
  min-height: 44px; padding: 6px 12px; border-color: var(--mgh-mint);
  background: color-mix(in srgb,var(--mgh-mint) 13%,white); font-weight: 400; box-sizing: border-box;
}
#main [data-holiday-results] .collection-filter-chip:hover { background: color-mix(in srgb,var(--mgh-mint) 30%,white); }
#main [data-holiday-results] .collection-filter-chip span:last-child { color: var(--mgh-ink); }
#main [data-holiday-results] .collection-clear {
  color: var(--mgh-ink); text-decoration: underline var(--mgh-coral) 1px; text-underline-offset: 4px;
}
#main [data-holiday-results] .edition-count { margin: 14px 0 8px; font-size: 14px; font-weight: 600; }
#main [data-holiday-results] .edition-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 22px !important; margin: 0; }
#main [data-holiday-results] .edition-grid[data-count="1"] { grid-template-columns: minmax(0,1fr) !important; }
#main [data-holiday-results] .edition-card[data-venue-card] {
  width: 100% !important; max-width: none !important; border-radius: 16px !important;
}
#main [data-holiday-results] .edition-card .venue-card-body { padding: clamp(18px,2vw,30px) !important; }
#main [data-holiday-results] .edition-card .venue-card-title { font-size: clamp(22px,2.25vw,32px) !important; }
#main [data-holiday-results] .edition-card .venue-card-location,
#main [data-holiday-results] .edition-card .venue-price { font-size: 13px !important; }
#main [data-holiday-results] .edition-card .card-intro { font-size: 16px !important; }
#main [data-holiday-results] .edition-card .venue-price strong { font-size: 17px !important; }
#main [data-holiday-results] .edition-card .card-primary { font-size: 14px !important; background: #fff0c4 !important; color: var(--mgh-ink); }
#main [data-holiday-results] .edition-card .card-primary:hover { background: var(--mgh-yellow) !important; }
#main [data-holiday-results] .edition-card .card-image-wrap { position: relative; min-height: 0 !important; height: auto !important; }
#main [data-holiday-results] .edition-card .venue-card-photo,
#main [data-holiday-results] .edition-card .venue-card-photo img {
  display: block; width: 100% !important; max-height: none !important; height: auto !important;
  aspect-ratio: 3/2 !important; object-fit: cover; border-radius: 0 !important;
}
#main [data-holiday-results] .edition-grid + .collection-practical { margin-top: 16px; }
#main [data-holiday-results] .collection-search-actions { margin: 4px 0 0; }
#main [data-holiday-results] .collection-search-actions [data-discovery-agent-cta] {
  font-size: 15px !important; line-height: 1.45 !important; min-height: 44px;
}
#main [data-holiday-results] a:focus-visible { outline: 3px solid #356d92; outline-offset: 2px; }
@media (min-width: 761px) {
  #main [data-holiday-results] .edition-grid:not([data-count="1"]) > .edition-card { align-self: stretch !important; }
  #main [data-holiday-results] .edition-grid:not([data-count="1"]) .venue-card-body { flex: 1; }
  #main [data-holiday-results] .edition-grid:not([data-count="1"]) .source-card-actions { margin-top: auto !important; }
  #main [data-holiday-results] .edition-grid[data-count="1"] > .edition-card {
    display: grid !important; grid-template-columns: 54% minmax(0,1fr) !important;
    background: color-mix(in srgb,var(--mgh-mint) 8%,white) !important;
  }
  #main [data-holiday-results] .edition-grid[data-count="1"] .venue-card-body { justify-content: center; }
  #main [data-holiday-results] .edition-grid[data-count="1"] .venue-card-photo,
  #main [data-holiday-results] .edition-grid[data-count="1"] .venue-card-photo img { height: 100% !important; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  #main [data-holiday-results] .edition-grid:not([data-count="1"]) { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 760px) {
  #main [data-holiday-results] .collection-heading { margin-bottom: 10px; }
  #main [data-holiday-results] .collection-choices { column-gap: 5px; }
  #main [data-holiday-results] .collection-filter-chip { padding-inline: 7px; }
  #main [data-holiday-results] .collection-choices ul { column-gap: 5px; }
  #main [data-holiday-results] .edition-grid { grid-template-columns: minmax(0,1fr) !important; }
  #main [data-holiday-results] .edition-card { display: flex !important; flex-direction: column !important; }
  /* Same existing card footer, including the card inside the theme guide. */
  #main :is([data-holiday-results],.mgh-themes #results) .edition-card[data-venue-card] .source-card-actions {
    display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 8px !important;
  }
  #main :is([data-holiday-results],.mgh-themes #results) .edition-card[data-venue-card] .venue-price {
    display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 2px 7px;
    max-width: none !important; font-size: 13px !important; line-height: 1.5 !important;
  }
  #main :is([data-holiday-results],.mgh-themes #results) .venue-price strong {
    white-space: nowrap; font-size: 16px !important;
  }
  #main :is([data-holiday-results],.mgh-themes #results) .venue-price span {
    white-space: normal; word-break: normal; overflow-wrap: normal; text-wrap: balance;
  }
  #main :is([data-holiday-results],.mgh-themes #results) .source-card-actions .card-primary {
    justify-self: start; min-height: 44px !important; padding-inline: 14px !important;
  }
}
