/* Compact cards share the title, fact and description positions. */
body.search-results-page.rs-compact #searchResultsList { container:catalog-compact-list / inline-size; }
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] {
  --catalog-compact-height:184px;
  display:grid; grid-template-columns:minmax(176px,25%) minmax(0,1fr) 244px;
  grid-template-rows:minmax(0,1fr); gap:0 16px;
  height:var(--catalog-compact-height); min-height:var(--catalog-compact-height); max-height:var(--catalog-compact-height);
  align-self:start;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] > .rs-event-summary { display:contents; }
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-summary > :is(.rs-cover,.rs-cover-frame,.rs-cover-gallery) {
  grid-column:1; grid-row:1; align-self:stretch;
  width:calc(100% + 8px); height:auto; min-height:0; max-height:none;
  margin:-8px 0 -8px -8px; aspect-ratio:auto; border-radius:16px 0 0 16px;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] :is(.rs-cover-frame,.rs-cover-gallery) > .rs-cover {
  width:100%; height:100%; min-height:0; max-height:none; margin:0; border-radius:inherit;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-summary > .rs-event-overview {
  --rs-overview-row-gap:6px;
  display:flex; flex-direction:column; grid-column:2; grid-row:1;
  align-self:stretch; justify-content:flex-start;
  min-height:0; padding:8px 0 0; gap:var(--rs-overview-row-gap);
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-heading { grid-row:1; min-height:0; }
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-compact-description { overflow-wrap:anywhere; }
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] h3 { font-size:22px; line-height:24px; max-height:24px; }
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] h3 a {
  display:block; height:auto; max-height:24px; overflow:hidden;
  white-space:nowrap; text-overflow:ellipsis;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-overview > .rs-event-people { height:var(--rs-meta-row); min-height:var(--rs-meta-row); margin:0; }
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-lineup-content[data-lineup-single="true"],
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-lineup-content[data-lineup-single="true"] .rs-lineup-names {
  display:flex; height:28px; min-height:28px;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-lineup-content[data-lineup-single="true"] .detail-artist-profile-link {
  display:block; height:40px; min-height:40px; padding:0; margin:0;
  line-height:40px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts {
  grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:40px;
  flex:none; gap:0 14px; height:40px; min-height:0; margin:0;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts > div,
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts > .rs-place:has(.rs-place-primary) {
  grid-template-columns:minmax(0,1fr); grid-template-rows:21px 19px;
  height:40px; min-height:0; max-height:40px; gap:0;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts dd,
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-place dd:has(> .rs-place-primary) {
  display:grid; grid-column:1; grid-row:1 / span 2; grid-template-rows:21px 19px;
  height:40px; max-height:40px; min-height:0; gap:0; padding:0; margin:0; overflow:hidden;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts dd > :is(strong,.rs-date-value),
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-place dd > .rs-place-primary {
  display:flex; flex-wrap:nowrap; grid-row:1; height:21px; min-height:0; max-height:21px;
  margin:0 0 0 var(--fact-heading-width); overflow:hidden; white-space:nowrap;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-place-primary > .rs-place-value {
  display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts dd > .rs-fact-secondary {
  display:block; grid-row:2; height:19px; max-height:19px;
  margin:0 0 0 var(--fact-heading-width); overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] > .rs-event-footer {
  grid-column:3; grid-row:1; display:flex; flex-direction:column; align-items:stretch;
  align-self:stretch; justify-content:flex-start; min-height:0;
  margin:0; padding:8px 10px 6px 14px; gap:6px;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id]:has(.event-status-badge.is-paid-top) > .rs-event-footer { padding:16px 12px 14px; }
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-actions { margin-top:auto; width:100%; }
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-actions.has-ticket { grid-template-columns:minmax(0,1fr); }
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] > .rs-event-details.rs-event-secondary { display:none; }
/* Align the facts in mixed lists without adding an empty performer row. */
@media (width > 640px) {
  @container catalog-compact-list (min-width:641px) {
  body.search-results-page.rs-compact #searchResultsList .rs-items:has(> .rs-event .rs-event-people)
    .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-overview:not(:has(> .rs-event-people)) > .rs-facts {
    margin-block-start:calc(var(--rs-meta-row) + var(--rs-overview-row-gap));
  }
  /* Keep both facts readable when the text column is narrow. */
  @container (max-width:370px) {
    body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts { column-gap:8px; }
    body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts > :is(.rs-date,.rs-place) { --fact-heading-width:44px; }
    body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-fact-heading { gap:4px; }
    body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-fact-heading svg { width:16px; height:16px; }
    body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts dd > .rs-fact-secondary { margin-inline-start:20px; }
  }
  /* Give the venue a full line and share the existing address row with the badge. */
  @container (max-width:320px) {
    body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-place dd:has(> .rs-place-primary) {
      grid-template-columns:minmax(0,1fr) max-content; column-gap:7px;
    }
    body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-place dd > .rs-place-primary { display:contents; }
    body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-place-primary > .rs-place-value {
      grid-column:1 / -1; grid-row:1; align-self:center; margin-inline-start:var(--fact-heading-width);
    }
    body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-place-primary > .rs-distance {
      grid-column:2; grid-row:2; align-self:center;
    }
  }
  }
}
@container catalog-compact-list (min-width:641px) and (max-width:860px) {
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] { grid-template-columns:136px minmax(0,1fr) 160px; gap:0 12px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] h3 { font-size:20px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] > .rs-event-footer { padding-left:8px; padding-right:0; }
}
@container catalog-compact-list (max-width:640px) {
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] {
    --catalog-compact-height:208px;
    grid-template-columns:96px minmax(0,1fr); grid-template-rows:minmax(0,1fr) 88px;
    gap:4px 12px;
  }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id]:has(.rs-compact-description) { --catalog-compact-height:252px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-summary > :is(.rs-cover,.rs-cover-frame,.rs-cover-gallery) {
    grid-row:1 / span 2; width:calc(100% + 8px); margin:-8px 0 -8px -8px;
    border-radius:14px 0 0 14px;
  }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-summary > .rs-event-overview {
    display:grid; grid-row:1; grid-template-columns:minmax(0,1fr);
    grid-template-rows:40px 54px !important; grid-auto-rows:36px;
    align-content:start; padding-top:0; gap:6px;
  }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-overview > .rs-compact-about { display:block; grid-row:3; margin:0; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-compact-about > .rs-description-icon { display:none; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-compact-description { max-height:36px; line-height:18px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] h3 { font-size:16px; line-height:20px; max-height:40px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] h3 a {
    display:-webkit-box; max-height:40px; white-space:normal;
    -webkit-box-orient:vertical; -webkit-line-clamp:2;
  }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-overview > .rs-event-people { display:none; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts { grid-row:2; grid-template-columns:minmax(0,1fr); grid-template-rows:36px 18px; height:54px; gap:0; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts > div,
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts > .rs-place:has(.rs-place-primary) {
    --fact-heading-width:22px;
    grid-template-rows:18px 18px; height:36px; max-height:36px; gap:0;
  }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts dt { height:18px; line-height:18px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-place .rs-fact-label { display:none; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts > .rs-date { --fact-heading-width:46px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-date dt { gap:4px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts dt svg { width:16px; height:16px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts dd,
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-place dd:has(> .rs-place-primary) { grid-template-rows:18px 18px; height:36px; max-height:36px; gap:0; font-size:12px; line-height:18px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts dd > :is(strong,.rs-date-value),
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-place dd > .rs-place-primary,
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts dd > .rs-fact-secondary { height:18px; max-height:18px; line-height:18px; font-size:12px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts dd > .rs-fact-secondary::before { content:none; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-place dd > .rs-fact-secondary { display:none; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id]:has(.rs-compact-description) .rs-facts > .rs-place,
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id]:has(.rs-compact-description) .rs-place dd { grid-template-rows:18px; height:18px; max-height:18px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id]:has(.rs-compact-description) .rs-place dd { grid-row:1; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] > .rs-event-footer,
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id]:has(.event-status-badge.is-paid-top) > .rs-event-footer {
    grid-column:2; grid-row:2; display:flex; flex-direction:column;
    padding:0; margin:0; border:0; border-radius:8px; gap:4px;
  }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id]:has(.event-status-badge.is-paid-top) > .rs-event-footer { padding:4px 6px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-price { min-height:0; gap:6px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-price > div { grid-template-rows:14px 18px; gap:0; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-price > svg { width:16px; height:16px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-price > div > span { line-height:14px; font-size:11px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-price strong { font-size:16px; line-height:18px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-price.is-long strong,
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-price.is-unknown strong { font-size:12px; line-height:18px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-actions,
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-actions.has-ticket { display:grid; grid-template-columns:minmax(0,1fr); height:44px; min-height:44px; gap:0; margin:0; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-actions > .rs-ticket-link { display:none; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-actions > .rs-detail-link { grid-column:1; min-height:44px; height:44px; padding:6px; font-size:12px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] > .rs-event-controls { left:2px; right:auto; top:4px; gap:0; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-overflow { right:auto; left:0; max-width:calc(100vw - 48px); }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-cover > .rs-cover-status { top:54px; left:6px; max-width:calc(100% - 12px); font-size:10px; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-cover-status:is(.is-secondary,.is-tertiary) { display:none; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] :is(.rs-cover-nav,.rs-cover-dots) { display:none; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-cover-fallback > strong { display:none; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-cover-illustration { width:54px; height:54px; }
}


body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-date dd > .rs-date-value { display:block; text-overflow:ellipsis; }
@container catalog-compact-list (max-width:640px) {
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-cover-frame::before,
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-cover-frame::after,
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-cover-frame > .rs-cover::after { display:none; }
}

/* A range can wrap at the endpoint while its time stays on its own row. */
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id]:has(.rs-date-value--range) {
  height:auto; max-height:none;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts:has(.rs-date-value--range) {
  grid-template-rows:auto; height:auto;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-date:has(.rs-date-value--range),
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-date dd:has(> .rs-date-value--range) {
  grid-template-rows:auto 19px; height:auto; max-height:none;
}
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-date dd > .rs-date-value--range {
  height:auto; max-height:none; container-type:normal; overflow:visible; white-space:normal;
}
body.search-results-page.rs-compact #searchResultsList .rs-date-value--range > .rs-date-part {
  display:inline-block; vertical-align:top; white-space:nowrap; overflow-wrap:normal;
}
body.search-results-page.rs-compact #searchResultsList .rs-date-value--range > wbr { display:inline; }
@container catalog-compact-list (max-width:640px) {
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id]:has(.rs-date-value--range) {
    grid-template-rows:auto 88px;
  }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-overview:has(.rs-date-value--range) {
    grid-template-rows:40px auto !important;
  }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts:has(.rs-date-value--range) {
    grid-template-rows:auto 18px;
  }
}

/* Give dates and times the full text column when two facts would be too narrow. */
@media (width > 640px) {
  @container catalog-compact-list (max-width:890px) {
    body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] {
      height:auto; max-height:none;
    }
  }
  @container catalog-compact-list (min-width:641px) {
    @container (max-width:370px) {
      body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-facts {
        grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto; row-gap:4px; height:auto;
      }
      body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] :is(.rs-facts > .rs-date,.rs-date > dd) {
        grid-template-rows:auto auto; height:auto; max-height:none;
      }
      body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-date dd > .rs-fact-secondary {
        height:auto; max-height:none; margin-inline-start:var(--fact-heading-width); overflow:visible; white-space:normal;
      }
    }
  }
}

/* Leave room for the independent controls in narrow desktop ticket panels. */
body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] > .rs-event-footer { flex-wrap:nowrap; }
/* Keep the fallback price complete beside the independent controls. */
@container catalog-compact-list (min-width:861px) {
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-price.is-unknown strong { white-space:normal; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id]:has(.rs-price.is-unknown):has(.rs-event-actions.has-ticket) { height:auto; max-height:none; }
}
/* These layouts place the controls above the price or on the cover. */
@container catalog-compact-list (max-width:860px) {
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-price { margin-right:0; }
}
@container catalog-compact-list (min-width:641px) and (max-width:860px) {
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] > .rs-event-footer,
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id]:has(.event-status-badge.is-paid-top) > .rs-event-footer {
    padding:52px 8px 6px; row-gap:8px;
  }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-actions,
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-actions.has-ticket {
    grid-template-columns:minmax(0,1fr); min-height:44px; height:44px; gap:0;
  }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-actions > .rs-ticket-link { display:none; }
  body.search-results-page.rs-compact #searchResultsList .rs-catalog-compact.rs-event.rs-hierarchy[data-event-id] .rs-event-actions > .rs-detail-link { grid-column:1; }
}

