/* Booking.com-style mobile view of the search results page. Every module
   shares front/results.noderframe, so this covers them all:
   1. the search strip becomes a yellow frame of white field tiles with a blue
      Search button, left-aligned and compact;
   2. a Sort / Filter / Map bar sits under it (results-mobile-bar.js);
   3. a row of quick filter chips scrolls sideways beneath that.
   Desktop is untouched: the bar is display:none above 991px and the search
   restyle only fires at 767px and below. */
.results-mobile-bar { display: none; }

@media (max-width: 991px) {
  .results-mobile-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: block;
    border-bottom: 1px solid #e7e7e7;
    background: #fff;
    box-shadow: 0 2px 6px rgba(26, 26, 26, .06);
  }

  .results-mobile-bar__actions {
    display: flex;
    border-bottom: 1px solid #e7e7e7;
  }

  .results-mobile-bar__btn {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 8px;
    border: 0;
    color: #006ce4;
    background: transparent;
    font: 500 14px Jost, sans-serif;
    cursor: pointer;
  }

  .results-mobile-bar__btn[hidden] { display: none; }
  .results-mobile-bar__btn .bi { font-size: 16px; }
  .results-mobile-bar__btn:active { background: #f0f6fd; }
  .results-mobile-bar__btn.is-set { font-weight: 600; }

  .results-mobile-bar__btn:focus-visible {
    outline: 2px solid #006ce4;
    outline-offset: -2px;
  }

  .results-chips {
    position: relative;
    padding: 10px 0;
  }

  .results-chips[hidden] { display: none; }

  .results-chips__track {
    display: flex;
    gap: 8px;
    padding: 0 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }

  .results-chips__track::-webkit-scrollbar { display: none; }

  .results-chip {
    flex: none;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #868686;
    border-radius: 100px;
    color: #1a1a1a;
    background: #fff;
    font: 400 14px Jost, sans-serif;
    white-space: nowrap;
    scroll-snap-align: start;
    cursor: pointer;
  }

  .results-chip.is-active {
    border-color: #006ce4;
    color: #006ce4;
    background: #f0f6fd;
    font-weight: 500;
  }

  .results-chips__next {
    position: absolute;
    right: 8px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #e7e7e7;
    border-radius: 50%;
    color: #1a1a1a;
    background: #fff;
    box-shadow: 0 1px 6px rgba(26, 26, 26, .2);
    translate: 0 -50%;
    cursor: pointer;
  }

  .results-chips__next[hidden] { display: none; }

  /* The bar now owns Filters and Sort; the topbar keeps just the count. The
     map panel borrows the topbar, so its own Filters button is left alone. */
  .results-section .results-topbar .bh-filter-open,
  .results-section .results-topbar .results-sort-wrap { display: none; }

  /* A date / guest / location popup hangs below the search strip, over the
     bar. Lift the strip only while one is open - always lifting it would let
     the strip paint over the bar once the bar sticks and the strip scrolls
     beneath it. */
  .results-search-section:has(.bh-search-popup.open) {
    position: relative;
    z-index: 51;
  }

  /* !important: the template's layout-pt-md utility is itself !important. */
  .results-section { padding-top: 0 !important; }
  .results-section .results-topbar .text-18 { font-size: 15px; }

  /* Sort bottom sheet, built by results-mobile-bar.js. */
  .results-sort-sheet {
    position: fixed;
    inset: 0;
    z-index: 1001;
  }

  .results-sort-sheet[hidden] { display: none; }

  .results-sort-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 18, 47, .5);
  }

  .results-sort-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 80vh;
    overflow-y: auto;
    padding: 8px 0 20px;
    border-radius: 16px 16px 0 0;
    background: #fff;
    animation: results-sheet-up .2s ease-out;
  }

  .results-sort-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 12px;
    border-bottom: 1px solid #e7e7e7;
  }

  .results-sort-sheet__head strong { color: #1a1a1a; font-size: 18px; font-weight: 600; }

  .results-sort-sheet__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: #1a1a1a;
    background: #f2f4f8;
    cursor: pointer;
  }

  .results-sort-sheet__option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    color: #1a1a1a;
    background: #fff;
    font: 400 15px Jost, sans-serif;
    text-align: left;
    cursor: pointer;
  }

  /* Booking.com puts the radio before the label. */
  .results-sort-sheet__option::before {
    content: "";
    flex: none;
    width: 20px;
    height: 20px;
    border: 1px solid #868686;
    border-radius: 50%;
  }

  .results-sort-sheet__option[aria-checked="true"] { font-weight: 500; }
  .results-sort-sheet__option[aria-checked="true"]::before { border: 6px solid #006ce4; }
}

@keyframes results-sheet-up {
  from { transform: translateY(100%); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .results-sort-sheet__panel { animation: none; }
}

@media (max-width: 767px) {
  /* !important: the template's pt-40 / pb-40 / bg-light-2 are !important. */
  .results-search-section {
    padding: 12px 0 !important;
    background: #fff !important;
  }

  /* Kept for search engines and screen readers, gone from view as on Booking. */
  .results-search-section h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .results-search-section h1 + [data-mobile-search]:has(.bh-flight-toggle) { margin-top: 0; }

  .results-search-section .listing-search {
    margin-top: 0 !important;
    padding: 4px !important;
    border-radius: 8px !important;
    background: #ffb700 !important;
    text-align: left;
  }

  .results-search-section .listing-search .button-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4px;
  }

  .results-search-section .listing-search .button-grid > label {
    grid-column: 1 / -1;
    min-width: 0;
    min-height: 52px;
    margin: 0;
    padding: 7px 12px !important;
    border: 0 !important;
    border-radius: 6px;
    background: #fff;
    text-align: left;
  }

  .results-search-section .listing-search .button-grid > label::before,
  .results-search-section .listing-search .button-grid > label::after { display: none; }

  /* Pairs that fit side by side, as Booking's date and occupancy boxes do. */
  .results-search-section .listing-search .button-grid > .bh-boarding-half,
  .results-search-section .listing-search.-bh-col-bus .button-grid > .bh-route-trigger,
  .results-search-section .listing-search.-bh-col-vehicle .button-grid > label:nth-child(2),
  .results-search-section .listing-search.-bh-col-vehicle .button-grid > label:nth-child(3) { grid-column: auto; }

  .results-search-section .listing-search .button-grid > label h3 {
    margin: 0 0 2px;
    color: #595959;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-align: left;
  }

  .results-search-section .listing-search .button-grid > label > div:not(.bh-search-popup) {
    overflow: hidden;
    color: #1a1a1a !important;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.35 !important;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .results-search-section .listing-search .button-grid > label input,
  .results-search-section .listing-search .button-grid > label select {
    color: #1a1a1a;
    font-weight: 600;
  }

  .results-search-section .listing-search .button-grid > label input::placeholder {
    color: #6b6b6b;
    font-weight: 400;
  }

  .results-search-section .listing-search .button-item {
    grid-column: 1 / -1;
    padding: 0 !important;
  }

  .results-search-section .listing-search .mainSearch__submit {
    height: 48px;
    padding: 0 16px !important;
    border-color: #006ce4 !important;
    border-radius: 6px !important;
    color: #fff !important;
    background-color: #006ce4 !important;
    font-size: 16px;
    font-weight: 600;
  }

  .results-search-section .listing-search .mainSearch__submit:hover {
    border-color: #0057b8 !important;
    color: #fff !important;
    background-color: #0057b8 !important;
  }

  .results-search-section .listing-search .mainSearch__submit .icon-search { display: none; }
}

/* ------------------------------------------------------------------------
   Filter panel pieces used at every width (results-filter.js).
   ------------------------------------------------------------------------ */

/* "Your budget": a bar chart of result prices over a two-handle slider. The
   inputs overhang the track by half a thumb each side, so a thumb's centre
   lines up with the fill's edge at both ends. */
.filter-budget-unit { color: #595959; font-weight: 400; }

.filter-budget {
  position: relative;
  height: 96px;
  margin: 0 11px;
}

.filter-budget__bars {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 60px;
}

.filter-budget__bars span {
  flex: 1;
  border-radius: 1px 1px 0 0;
  background: #ececec;
}

.filter-budget__bars span.is-in { background: #c6c6c6; }

.filter-budget__track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 4px;
  border-radius: 4px;
  background: #d9d9d9;
}

.filter-budget__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  background: #006ce4;
}

.sidebar .filter-budget .filter-range {
  position: absolute;
  left: -11px;
  bottom: 0;
  z-index: 2;
  width: calc(100% + 22px);
  height: 22px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  appearance: none;
}

.sidebar .filter-budget .filter-range.is-front { z-index: 3; }

.sidebar .filter-budget .filter-range::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #006ce4;
  box-shadow: 0 1px 4px rgba(26, 26, 26, .3);
  pointer-events: auto;
  cursor: pointer;
  appearance: none;
}

.sidebar .filter-budget .filter-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #006ce4;
  box-shadow: 0 1px 4px rgba(26, 26, 26, .3);
  pointer-events: auto;
  cursor: pointer;
}

.sidebar .filter-budget .filter-range::-moz-range-track { background: transparent; }

.sidebar .filter-budget .filter-range:focus-visible { outline: none; }

.sidebar .filter-budget .filter-range:focus-visible::-webkit-slider-thumb {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

/* "(31)" after each option. */
.filter-count { color: #6b6b6b; font-size: 13px; }

/* The "Show N results" footer only exists in the drawer. */
.bh-filter-panel-foot { display: none; }

/* Phone map controls - shown by the 767px rules below. */
.map-modal__mobile-top { display: none; }

/* ------------------------------------------------------------------------
   Booking.com-style full-screen filter sheet (991px and below). The base
   drawer (fixed, hidden until .is-open) is in public-search.css; this turns
   it into Booking's layout: close / Filters / Clear pinned on top, sections
   divided by hairlines, and "Show N results" pinned to the bottom.
   ------------------------------------------------------------------------ */
@media (max-width: 991px) {
  [data-results-filter].is-open {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overscroll-behavior: contain;
    animation: results-sheet-up .22s ease-out;
  }

  /* !important: the theme's y-gap-40 pads every child, and the map rail
     (results-map.css) overrides that with !important of its own. */
  [data-results-filter].is-open > * {
    margin: 0 !important;
    padding: 18px 16px !important;
  }

  [data-results-filter].is-open > .sidebar__item {
    order: 10;
    border-top: 0;
    border-bottom: 1px solid #e7e7e7;
  }

  /* Booking.com's order: budget, then popular filters, the rest, and the
     property-name search last. */
  [data-results-filter].is-open > .sidebar__item:has(.filter-budget) { order: 1; }
  [data-results-filter].is-open > .sidebar__item:has([data-filter="featured"]) { order: 2; }
  [data-results-filter].is-open > .sidebar__item:has([data-filter="keyword"]) { order: 20; }
  [data-results-filter].is-open > .bh-filter-panel-foot { order: 99; }

  /* An option no result carries. */
  [data-results-filter].is-open .sidebar-checkbox label.is-empty { opacity: .45; }

  /* The bar has its own Map button; the count lives on the footer button. */
  [data-results-filter].is-open .results-map-preview,
  [data-results-filter].is-open .sidebar__item:has(> [data-filter-found]),
  [data-results-filter].is-open .bh-filter-desktop-apply { display: none !important; }

  [data-results-filter].is-open .bh-filter-panel-head {
    position: sticky;
    top: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 72px 1fr 72px;
    align-items: center;
    height: 52px;
    padding: 0 4px !important;
    border-bottom: 1px solid #e7e7e7;
    background: #fff;
    box-shadow: 0 2px 6px rgba(26, 26, 26, .06);
  }

  [data-results-filter].is-open .bh-filter-panel-head h3 {
    margin: 0;
    color: #1a1a1a;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center;
  }

  [data-results-filter].is-open .bh-filter-close {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    color: #006ce4;
    background: transparent;
    font-size: 20px;
  }

  .bh-filter-clear {
    justify-self: end;
    height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    color: #006ce4;
    background: transparent;
    font: 500 14px Jost, sans-serif;
    cursor: pointer;
  }

  .bh-filter-clear:disabled { color: #a3a3a3; cursor: default; }

  [data-results-filter].is-open .sidebar__item h3 {
    margin-bottom: 12px !important;
    color: #1a1a1a;
    font-size: 16px !important;
    font-weight: 600 !important;
  }

  /* Checkbox and radio rows: one per line, each a full-width tap target. */
  [data-results-filter].is-open .sidebar-checkbox > .row { margin: 0; }

  [data-results-filter].is-open .sidebar-checkbox > .row > [class*="col"] {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0;
  }

  [data-results-filter].is-open .sidebar-checkbox > .row > .pl-20 { padding-left: 34px !important; }

  [data-results-filter].is-open .sidebar-checkbox label {
    min-height: 44px;
    margin: 0;
    cursor: pointer;
  }

  [data-results-filter].is-open .form-checkbox__mark {
    width: 22px;
    height: 22px;
    border-color: #868686;
  }

  [data-results-filter].is-open .form-checkbox:hover input:not(:checked) ~ .form-checkbox__mark { background: #fff; }
  [data-results-filter].is-open .form-checkbox__icon { font-size: 10px; }

  [data-results-filter].is-open .sidebar-checkbox .text-15 {
    margin-left: 12px !important;
    color: #1a1a1a;
    font-size: 15px !important;
  }

  [data-results-filter].is-open .filter-price-output {
    margin-bottom: 8px !important;
    color: #1a1a1a;
    font-size: 15px !important;
  }

  /* 16px keeps iOS from zooming the page when the field is focused. */
  [data-results-filter].is-open [data-filter="keyword"] { font-size: 16px; }

  [data-results-filter].is-open .bh-filter-panel-foot {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: block;
    margin-top: auto !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #e7e7e7;
    background: #fff;
    box-shadow: 0 -2px 6px rgba(26, 26, 26, .06);
  }

  .bh-filter-show {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: #006ce4;
    font: 600 16px Jost, sans-serif;
    cursor: pointer;
  }

  .bh-filter-show:active { background: #0057b8; }
}

@media (max-width: 991px) and (prefers-reduced-motion: reduce) {
  [data-results-filter].is-open { animation: none; }
}

/* ------------------------------------------------------------------------
   Booking.com-style phone map (767px and below): the map fills the screen,
   with close and "Search on map" floating on top and a "Filter" pill under
   them. The list, search strip and title bar are still borrowed into the
   panel by results-map.js, just hidden here; wider screens show them.
   ------------------------------------------------------------------------ */
@media (max-width: 767px) {
  .map-modal__dialog { inset: 0; border-radius: 0; }
  .map-modal__bar { display: none; }

  .map-modal__body,
  .map-modal__body--filters {
    position: relative;
    display: block;
    height: 100%;
  }

  .map-modal__list { display: none; }
  .map-modal__canvas { position: absolute; inset: 0; }

  .map-modal__mobile-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    display: grid;
    gap: 10px;
    justify-items: start;
    padding: calc(10px + env(safe-area-inset-top)) 12px 0;
    pointer-events: none;
  }

  .map-modal__mobile-top > * { pointer-events: auto; }

  .map-modal__mobile-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .map-modal__mobile-close {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    color: #1a1a1a;
    background: #fff;
    box-shadow: 0 2px 8px rgba(26, 26, 26, .24);
    font-size: 18px;
    cursor: pointer;
  }

  .map-modal__mobile-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0 14px;
    border-radius: 8px;
    color: #595959;
    background: #fff;
    box-shadow: 0 2px 8px rgba(26, 26, 26, .24);
  }

  .map-modal__mobile-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    color: #1a1a1a;
    background: transparent;
    font: 400 16px Jost, sans-serif;
  }

  .map-modal__mobile-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 100px;
    color: #1a1a1a;
    background: #fff;
    box-shadow: 0 2px 8px rgba(26, 26, 26, .24);
    font: 500 14px Jost, sans-serif;
    cursor: pointer;
  }

  .map-modal__mobile-filter-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    color: #fff;
    background: #006ce4;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
  }

  .map-modal__mobile-filter-count[hidden] { display: none; }

  /* Pinch zooms on a phone, and the +/- box would sit under the close
     button. Names on hotel pins crowd a small screen, so prices go alone. */
  .map-modal .leaflet-control-zoom { display: none; }
  .map-modal .results-map-pin__name { display: none; }
}

/* ------------------------------------------------------------------------
   Booking.com-style result cards on phones (767px and below), for every
   module: photo on the left running the full card height, name / stars /
   score / location stacked on the right, price pinned bottom-right. The
   marketing line, "Show on map" and the big button drop out; the whole card
   taps through to the listing instead. The List/Grid switch is hidden on
   phones, so a stored "grid" choice is folded back into this layout too.
   ------------------------------------------------------------------------ */
.result-m-rating { display: none; }

@media (max-width: 767px) {
  .results-section [data-results-list],
  .results-section [data-results-list].is-grid {
    display: block;
    margin: 0;
  }

  .results-section [data-results-list] > * { padding: 0; }

  .results-section [data-results-list] [data-result-card] > div {
    position: relative;
    display: block;
    height: auto;
    /* !important: the template's .pt-30 utility is itself !important. */
    padding: 12px 0 !important;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid #e7e7e7;
    border-radius: 0;
  }

  .results-section [data-results-list] [data-result-card]:first-child > div { padding-top: 4px !important; }

  .results-section [data-results-list] [data-result-card] > div > .row {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 12px;
    margin: 0;
  }

  .results-section [data-results-list] [data-result-card] > div > .row > * {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  /* Photo: left column, full card height. */
  .results-section [data-results-list] [data-result-card] > div > .row > .col-md-auto:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    /* Above the card-wide link so the heart stays tappable. */
    position: relative;
    z-index: 2;
  }

  .results-section [data-results-list] [data-result-card] .cardImage {
    width: 100% !important;
    height: 100%;
    min-height: 150px;
    border-radius: 8px;
  }

  .results-section [data-results-list] [data-result-card] .cardImage::before { padding-bottom: 0; }
  .results-section [data-results-list] [data-result-card] .cardImage .rounded-4 { border-radius: 8px; }

  .results-section [data-results-list] [data-result-card] .cardImage__wishlist {
    top: 6px;
    right: 6px;
  }

  .results-section [data-results-list] [data-result-card] .cardImage__wishlist .button {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  /* Details. */
  .results-section [data-results-list] [data-result-card] > div > .row > .col-md {
    grid-column: 2;
    grid-row: 1;
  }

  .results-section [data-results-list] [data-result-card] h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
  }

  .results-section [data-results-list] [data-result-card] h3 a { color: #1a1a1a; }

  /* Stretched link: the whole card opens the listing (wishlist sits above). */
  .results-section [data-results-list] [data-result-card] h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .results-section [data-results-list] [data-result-card] h3 > .d-inline-block {
    display: block !important;
    margin: 3px 0 0 !important;
  }

  .result-m-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.3;
  }

  .result-m-rating__score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 4px;
    border-radius: 5px 5px 5px 0;
    color: #fff;
    background: #003b95;
    font-weight: 600;
  }

  .result-m-rating__word { color: #1a1a1a; font-weight: 500; }
  .result-m-rating__count { color: #595959; }

  .results-section [data-results-list] [data-result-card] .col-md > .row {
    flex-wrap: wrap;
    gap: 2px 6px;
    margin: 0;
    padding-top: 6px !important;
  }

  .results-section [data-results-list] [data-result-card] .col-md > .row > * { padding: 0; }

  .results-section [data-results-list] [data-result-card] .col-md > .row p {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #1a1a1a;
    font-size: 12px;
  }

  .results-section [data-results-list] [data-result-card] .col-md > .row p::before {
    content: "\F3E8";
    font-family: "bootstrap-icons";
    color: #595959;
    font-size: 11px;
  }

  .results-section [data-results-list] [data-result-card] .near-distance {
    margin-top: 0;
    padding: 1px 7px;
    font-size: 11px;
  }

  .results-section [data-results-list] [data-result-card] .col-md > .row > .col-auto:has(.result-map-open),
  .results-section [data-results-list] [data-result-card] .col-md > .row > .col-auto:has(.size-3),
  .results-section [data-results-list] [data-result-card] .col-md > .row > .col-auto:last-child,
  .results-section [data-results-list] [data-result-card] .result-blurb {
    display: none;
  }

  /* Event date / capacity lines, badges, perks, "only N left". */
  .results-section [data-results-list] [data-result-card] .col-md > .lh-17 {
    margin-top: 6px !important;
    font-size: 12px;
  }

  .results-section [data-results-list] [data-result-card] .col-md > .flex-wrap { margin-top: 8px !important; }

  .results-section [data-results-list] [data-result-card] .col-md > .flex-wrap > span {
    padding: 3px 7px !important;
    font-size: 11px;
  }

  .results-section [data-results-list] [data-result-card] .col-md > .text-green-2,
  .results-section [data-results-list] [data-result-card] .col-md > .text-red-1 {
    margin-top: 6px !important;
    font-size: 12px;
  }

  /* Two perks at most, headline only, so cards stay a scannable height. */
  .results-section [data-results-list] [data-result-card] .col-md > .text-green-2 > div:not(.fw-500),
  .results-section [data-results-list] [data-result-card] .col-md > .text-green-2 ~ .text-green-2 ~ .text-green-2 {
    display: none;
  }

  .results-section [data-results-list] [data-result-card] .col-md > .text-green-2 + .text-green-2 { margin-top: 2px !important; }

  /* Price: bottom-right of the details column. */
  .results-section [data-results-list] [data-result-card] > div > .row > .col-md-auto:last-child {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin-top: 10px;
    /* !important: md:text-left on the column is itself !important. */
    text-align: right !important;
  }

  .results-section [data-results-list] [data-result-card] .justify-end {
    display: block;
    margin: 0;
  }

  .results-section [data-results-list] [data-result-card] .justify-end > .col-auto { padding: 0; }
  .results-section [data-results-list] [data-result-card] .justify-end > .col-auto:not(.text-right) { display: none; }

  .results-section [data-results-list] [data-result-card] .justify-end > .text-right {
    text-align: right !important;
  }

  .results-section [data-results-list] [data-result-card] .justify-end .text-22 {
    margin-top: 0 !important;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 700;
  }

  .results-section [data-results-list] [data-result-card] .justify-end .text-14 {
    margin-top: 1px !important;
    color: #595959;
    font-size: 11px;
  }

  .results-section [data-results-list] [data-result-card] a.button.mt-24 { display: none; }

  .results-section [data-results-list] [data-result-card] .is-fully-booked {
    width: auto;
    height: auto;
    margin-top: 4px !important;
    padding: 0;
    color: #d4111e !important;
    background: none !important;
    font-size: 12px;
    font-weight: 600;
  }

  .results-section [data-results-list] [data-result-card] .is-fully-booked .icon-arrow-top-right { display: none; }
}
