/*
 * Hotel search results (/hotel).
 * Brand colours come from rihla-brand.css; typography and cards match the
 * Rihla homepage, About and destination pages (Syne display, DM Sans body,
 * rd-dest-card look). Fonts are loaded by the search view.
 */

.rd-hs {
  --rd-hs-display: 'Syne', 'DM Sans', sans-serif;
  --rd-hs-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --rd-hs-line: #e6eaee;
  --rd-hs-chip: #f3f5f7;
  --rd-hs-star: #f2a922;
  --rd-hs-shadow: 0 6px 20px rgba(22, 42, 68, .07);
  --rd-hs-shadow-hover: 0 14px 32px rgba(22, 42, 68, .12);
  background: #fff;
  color: var(--rihla-ink);
  font-family: var(--rd-hs-body);
}
.rd-hs *,
.rd-hs *::before,
.rd-hs *::after { box-sizing: border-box; }
/* The theme sets its own face on text elements; DM Sans must win everywhere inside the page. */
.rd-hs :where(p, span, a, li, label, small, strong, b, h4, div, input, button, summary) { font-family: inherit; }
.rd-hs p { margin: 0; }
.rd-hs a { text-decoration: none; }
.rd-hs svg { flex: none; }
.rd-hs a:focus-visible,
.rd-hs button:focus-visible,
.rd-hs input:focus-visible + .rd-hs-check__box {
  outline: 3px solid var(--rihla-green);
  outline-offset: 2px;
}

.rd-hs-shell {
  margin-inline: auto;
  max-width: 1440px;
  padding-inline: 32px;
  width: 100%;
}

/* ── Hero + search bar ── */
.rd-hs-hero {
  background: var(--rihla-ink-deep);
  isolation: isolate;
  padding: 30px 0 20px;
  position: relative;
  /* Lifts the hero's layer, dropdowns included, above the sidebar and results below it. */
  z-index: 3;
}
/* No overflow clipping here: the destination and guest dropdowns hang below the hero. */
.rd-hs-hero__img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 58%;
  position: absolute;
  width: 100%;
  z-index: -2;
}
.rd-hs-hero::after {
  background: linear-gradient(90deg, rgba(16, 32, 51, .55) 0%, rgba(16, 32, 51, .2) 45%, rgba(16, 32, 51, 0) 75%);
  content: '';
  inset: 0;
  position: absolute;
  z-index: -1;
}
.rd-hs-hero__title {
  color: #fff;
  font-family: var(--rd-hs-display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 0 0 18px 6px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.rd-hs-bar {
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 34px rgba(16, 32, 51, .22);
  display: flex;
  gap: 12px;
  padding: 8px 10px 8px 0;
  position: relative;
  z-index: 5;
}
.rd-hs-bar__fields { display: flex; flex: 1; min-width: 0; }
.rd-hs-bar__field {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 20px 8px 56px;
  position: relative;
}
.rd-hs-bar__field + .rd-hs-bar__field { border-left: 1px solid var(--rd-hs-line); }
.rd-hs-bar__field--location { flex-grow: 1.35; }
.rd-hs-bar__field--date { flex-grow: 1.6; padding: 0; }
.rd-hs-bar__icon,
.rd-hs-bar .date-wrapper > svg {
  color: var(--rihla-red);
  height: 24px;
  left: 22px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
}
.rd-hs-bar__icon svg { height: 24px; width: 24px; }
.rd-hs-bar .searchMenu-date--split { display: flex; height: 100%; }
.rd-hs-bar .searchMenu-date--split .date-wrapper {
  cursor: pointer;
  flex: 1;
  padding: 8px 20px 8px 56px;
  position: relative;
}
.rd-hs-bar .searchMenu-date--split .date-wrapper + .date-wrapper { border-left: 1px solid var(--rd-hs-line); }
.rd-hs-bar h4 {
  color: var(--rihla-ink);
  font-family: var(--rd-hs-body);
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  margin: 0 0 4px;
}
.rd-hs-bar .text-light-1,
.rd-hs-bar .render,
.rd-hs-bar .js-search {
  color: var(--rihla-ink) !important;
  font-size: 14px !important;
  font-weight: 500;
  letter-spacing: 0 !important;
}
.rd-hs-bar .js-search {
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0;
  width: 100%;
}
.rd-hs-bar .js-search::placeholder { color: var(--rihla-muted); font-weight: 400; }
.rd-hs-bar .searchMenu-guests > div:first-child { cursor: pointer; }
.rd-hs-bar .searchMenu-loc__field,
.rd-hs-bar .searchMenu-guests__field { z-index: 30; }
.rd-hs-bar__submit {
  align-items: center;
  background: var(--rihla-red);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: none;
  font-size: 16px;
  font-weight: 600;
  gap: 10px;
  height: 52px;
  justify-content: center;
  padding: 0 46px;
  transition: background .2s ease;
}
.rd-hs-bar__submit:hover { background: var(--rihla-red-hover); }
.rd-hs-bar__submit svg { height: 20px; width: 20px; }

/* ── Layout ── */
.rd-hs-results { padding: 20px 0 22px; }
.rd-hs-layout {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: 282px minmax(0, 1fr);
}

/* ── Filters ── */
.rd-hs-aside { display: grid; gap: 18px; }
.rd-hs-filters {
  background: #fff;
  border: 1px solid var(--rd-hs-line);
  border-radius: 10px;
  padding: 4px 18px;
  position: relative;
}
.rd-hs-filters__close {
  background: none;
  border: 0;
  font-size: 18px;
  padding: 8px;
  position: absolute;
  right: 8px;
  top: 8px;
}
.rd-hs-filters__group { padding: 16px 0; }
.rd-hs-filters__group + .rd-hs-filters__group { border-top: 1px solid var(--rd-hs-line); }
.rd-hs-filters__title {
  color: var(--rihla-ink);
  font-family: var(--rd-hs-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 10px;
}
.rd-hs-filters__budget-head {
  align-items: baseline;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}
.rd-hs-filters__range,
.rd-hs-filters__bounds { color: var(--rihla-muted); font-size: 12px; }
.rd-hs-filters__slider { margin: 14px 9px 12px; }
.rd-hs-filters__slider.noUi-target {
  background: var(--rd-hs-line);
  border: 0;
  border-radius: 99px;
  box-shadow: none;
  height: 4px;
}
.rd-hs-filters__slider .noUi-connect { background: var(--rihla-red); }
.rd-hs-filters__slider .noUi-handle {
  background: var(--rihla-red);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(16, 32, 51, .3);
  cursor: grab;
  height: 18px;
  right: -9px;
  top: -7px;
  width: 18px;
}
.rd-hs-filters__slider .noUi-handle::before,
.rd-hs-filters__slider .noUi-handle::after { display: none; }
.rd-hs-filters__bounds { display: flex; justify-content: space-between; }
.rd-hs-filters__apply {
  background: var(--rihla-red-soft);
  border: 0;
  border-radius: 6px;
  color: var(--rihla-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-top: 12px;
  padding: 7px 14px;
  transition: background .2s ease, color .2s ease;
}
.rd-hs-filters__apply:hover { background: var(--rihla-red); color: #fff; }
.rd-hs-filters__options { display: grid; gap: 7px; }
/* Amenity groups fold: a closed group is just its title row. */
.rd-hs-filters__fold { padding: 12px 0; }
.rd-hs-filters__fold summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  line-height: 1.3;
  list-style: none;
  margin: 0;
  padding: 2px 0;
}
.rd-hs-filters__fold summary::-webkit-details-marker { display: none; }
.rd-hs-filters__fold summary:hover { color: var(--rihla-red); }
.rd-hs-filters__fold summary svg { color: var(--rihla-muted); height: 16px; transition: transform .2s ease; width: 16px; }
.rd-hs-filters__fold[open] summary { margin-bottom: 10px; }
.rd-hs-filters__fold[open] summary svg { transform: rotate(180deg); }
.rd-hs-filters__more {
  align-items: center;
  background: none;
  border: 0;
  color: var(--rihla-red);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 4px;
  justify-self: start;
  padding: 2px 0;
}
.rd-hs-filters__more svg { height: 14px; width: 14px; }

.rd-hs-check {
  align-items: center;
  color: var(--rihla-ink);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  gap: 10px;
  line-height: 1.35;
  margin: 0;
  position: relative;
}
.rd-hs-check.hide { display: none; }
.rd-hs-check input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.rd-hs-check__box {
  background: #fff;
  border: 1.5px solid #c7ced6;
  border-radius: 4px;
  flex: none;
  height: 17px;
  position: relative;
  transition: background .15s ease, border-color .15s ease;
  width: 17px;
}
.rd-hs-check:hover .rd-hs-check__box { border-color: var(--rihla-green); }
.rd-hs-check input:checked + .rd-hs-check__box { background: var(--rihla-green); border-color: var(--rihla-green); }
.rd-hs-check input:checked + .rd-hs-check__box::after {
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: '';
  height: 9px;
  left: 5px;
  position: absolute;
  top: 1.5px;
  transform: rotate(45deg);
  width: 5px;
}
.rd-hs-check__count { color: var(--rihla-muted); }

.rd-hs-mapcard {
  border: 1px solid var(--rd-hs-line);
  border-radius: 10px;
  display: flex;
  overflow: hidden;
}
.rd-hs-mapcard__thumb {
  align-items: center;
  background: #e8edf1 center / cover no-repeat;
  color: var(--rihla-red);
  display: flex;
  flex: 0 0 96px;
  justify-content: center;
}
.rd-hs-mapcard__thumb svg { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); height: 34px; width: 34px; }
.rd-hs-mapcard__body { display: grid; gap: 10px; padding: 14px; }
.rd-hs-mapcard__body p { color: var(--rihla-ink); font-size: 13px; line-height: 1.4; }
.rd-hs-mapcard__btn {
  align-items: center;
  border: 1.5px solid var(--rihla-red);
  border-radius: 6px;
  color: var(--rihla-red);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  padding: 8px 12px;
  transition: background .2s ease, color .2s ease;
}
.rd-hs-mapcard__btn:hover { background: var(--rihla-red); color: #fff; }
.rd-hs-mapcard__btn svg { height: 17px; width: 17px; }

/* ── Results header ── */
.rd-hs-crumbs {
  align-items: center;
  color: var(--rihla-muted);
  display: flex;
  font-size: 12px;
  gap: 6px;
  margin-bottom: 8px;
}
.rd-hs-crumbs a { color: var(--rihla-ink); }
.rd-hs-crumbs a:hover { color: var(--rihla-red); }
.rd-hs-crumbs [aria-current] { color: var(--rihla-ink); }
.rd-hs-head {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  margin-bottom: 14px;
}
.rd-hs-head__title {
  color: var(--rihla-ink);
  font-family: var(--rd-hs-display);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin: 0;
}
.rd-hs-head__sub { color: var(--rihla-muted); font-size: 14px; margin-top: 4px !important; }
.rd-hs-head__tools { align-items: center; display: flex; gap: 12px; }
.rd-hs-view {
  border: 1px solid var(--rd-hs-line);
  border-radius: 8px;
  display: flex;
  overflow: hidden;
}
.rd-hs-view a {
  align-items: center;
  color: var(--rihla-ink);
  display: flex;
  height: 36px;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
  width: 40px;
}
.rd-hs-view a + a { border-left: 1px solid var(--rd-hs-line); }
.rd-hs-view a.is-active { background: var(--rihla-red); color: #fff; }
.rd-hs-view a:not(.is-active):hover { color: var(--rihla-red); }
.rd-hs-view svg { height: 18px; width: 18px; }
.rd-hs-sort__toggle,
.rd-hs-filter-toggle {
  align-items: center;
  background: #fff;
  border: 1px solid var(--rd-hs-line);
  border-radius: 8px;
  color: var(--rihla-ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 10px;
  height: 38px;
  padding: 0 12px 0 14px;
}
.rd-hs-sort__toggle:hover,
.rd-hs-filter-toggle:hover { border-color: var(--rihla-red); }
.rd-hs-sort__toggle svg,
.rd-hs-filter-toggle svg { height: 16px; width: 16px; }
.rd-hs-sort .dropdown-menu { border-color: var(--rd-hs-line); border-radius: 8px; box-shadow: var(--rd-hs-shadow); font-size: 14px; }
.rd-hs-filter-toggle { display: none; }

/* ── Result card ──
   Same look as the homepage and destination cards (rd-dest-card): white,
   14px radius, soft shadow, photo flush to the edge, lift and zoom on hover. */
.rd-hs-list { display: grid; gap: 16px; }
.rd-hs-card {
  background: #fff;
  border: 1px solid var(--rd-hs-line);
  border-radius: 14px;
  box-shadow: var(--rd-hs-shadow);
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) 220px;
  overflow: hidden;
  position: relative;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.rd-hs-card:hover { border-color: #d6dde3; box-shadow: var(--rd-hs-shadow-hover); transform: translateY(-3px); }

.rd-hs-card__media {
  background: var(--rihla-red-wash);
  min-height: 200px;
  overflow: hidden;
  position: relative;
}
.rd-hs-card__track {
  display: flex;
  inset: 0;
  overflow-x: auto;
  position: absolute;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rd-hs-card__track::-webkit-scrollbar { display: none; }
.rd-hs-card__slide { flex: 0 0 100%; overflow: hidden; scroll-snap-align: start; }
.rd-hs-card__slide img { display: block; height: 100%; object-fit: cover; transition: transform .4s ease; width: 100%; }
.rd-hs-card:hover .rd-hs-card__slide img { transform: scale(1.04); }
.rd-hs-card__badge {
  background: var(--rihla-red);
  border-radius: 0 6px 6px 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  left: 0;
  letter-spacing: .04em;
  padding: 5px 12px;
  position: absolute;
  text-transform: uppercase;
  top: 12px;
}
.rd-hs-card__wish { position: absolute; right: 12px; top: 12px; z-index: 2; }
.rd-hs-card__wish button {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(16, 32, 51, .18);
  color: var(--rihla-red);
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  transition: background .2s ease, color .2s ease;
  width: 34px;
}
.rd-hs-card__wish svg { height: 17px; width: 17px; }
.rd-hs-card__wish .service-wishlist.active button,
.rd-hs-card__wish button:hover { background: var(--rihla-red); color: #fff; }
.rd-hs-card__wish .service-wishlist.active svg { fill: currentColor; }
.rd-hs-card__wish .service-wishlist.loading button { opacity: .6; }
.rd-hs-card__nav {
  align-items: center;
  background: rgba(255, 255, 255, .9);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(16, 32, 51, .18);
  color: var(--rihla-ink);
  display: flex;
  height: 30px;
  justify-content: center;
  opacity: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background .2s ease, opacity .2s ease;
  width: 30px;
}
.rd-hs-card:hover .rd-hs-card__nav,
.rd-hs-card__nav:focus-visible { opacity: 1; }
.rd-hs-card__nav:hover { background: #fff; }
.rd-hs-card__nav svg { height: 16px; width: 16px; }
.rd-hs-card__nav--prev { left: 12px; }
.rd-hs-card__nav--next { right: 12px; }
.rd-hs-card__dots {
  bottom: 12px;
  display: flex;
  gap: 6px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}
.rd-hs-card__dot {
  background: rgba(255, 255, 255, .6);
  border: 0;
  border-radius: 99px;
  height: 6px;
  padding: 0;
  transition: background .2s ease, width .2s ease;
  width: 6px;
}
.rd-hs-card__dot.is-active { background: #fff; width: 16px; }

.rd-hs-card__body {
  align-content: start;
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 18px 22px;
}
.rd-hs-card__title {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  font-family: var(--rd-hs-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.3;
  margin: 0;
  overflow: hidden;
}
.rd-hs-card__title a { color: var(--rihla-ink); transition: color .2s ease; }
.rd-hs-card__title a:hover { color: var(--rihla-red-hover); }
.rd-hs-card__loc { align-items: center; color: var(--rihla-muted); display: flex; font-size: 13px; gap: 4px; }
.rd-hs-card__loc svg { color: var(--rihla-red); height: 14px; width: 14px; }
.rd-hs-card__stars { color: var(--rd-hs-star); display: inline-flex; font-size: 12px; gap: 2px; }
.rd-hs-card__meal {
  align-items: center;
  background: var(--rihla-green-soft);
  border-radius: 6px;
  color: var(--rihla-green);
  display: inline-flex;
  font-size: 12.5px;
  font-weight: 600;
  gap: 6px;
  margin-top: 2px;
  padding: 4px 10px;
}
.rd-hs-card__meal svg { height: 15px; width: 15px; }
.rd-hs-card__excerpt {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--rihla-muted);
  display: -webkit-box;
  font-size: 13.5px;
  line-height: 1.55;
  overflow: hidden;
}
.rd-hs-card__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.rd-hs-card__chips li {
  align-items: center;
  background: #fff;
  border: 1px solid var(--rd-hs-line);
  border-radius: 99px;
  color: var(--rihla-ink);
  display: inline-flex;
  font-size: 12px;
  gap: 6px;
  padding: 4px 12px;
}
.rd-hs-card__chips i { color: var(--rihla-red); font-size: 14px; }

.rd-hs-card__side {
  border-left: 1px solid var(--rd-hs-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
}
.rd-hs-card__price .promotion-price { text-align: left; }
.rd-hs-card__from,
.rd-hs-card__per { color: var(--rihla-muted); font-size: 12px; }
.rd-hs-card__price .promotion-price__final {
  color: var(--rihla-red) !important;
  font-family: var(--rd-hs-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  white-space: nowrap;
}
.rd-hs-card__price .promotion-price__badge { background: var(--rihla-green-soft); color: var(--rihla-green); }
.rd-hs-card__price .promotion-price__original { color: var(--rihla-muted); }
.rd-hs-card__price .promotion-price__saving { color: var(--rihla-green); font-size: 12.5px; margin-top: 6px; }
.rd-hs-card__price .promotion-price__details summary { color: var(--rihla-red); }
.rd-hs-card__unavailable {
  background: var(--rihla-red-wash);
  border-radius: 8px;
  color: var(--rihla-muted);
  font-size: 13px;
  padding: 8px 10px;
}
.rd-hs-card__cta {
  align-items: center;
  background: var(--rihla-red);
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  margin-top: auto;
  padding: 12px 10px;
  transition: background .2s ease, transform .2s ease;
  white-space: nowrap;
}
.rd-hs-card__cta:hover { background: var(--rihla-red-hover); color: #fff; transform: translateY(-1px); }
.rd-hs-card__cta svg { height: 16px; width: 16px; }

/* Grid view: the destination-page card, photo on top. */
.rd-hs-list--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rd-hs-list--grid .rd-hs-card { display: flex; flex-direction: column; }
.rd-hs-list--grid .rd-hs-card__media { aspect-ratio: 3 / 2; min-height: 0; }
.rd-hs-list--grid .rd-hs-card__body { padding: 14px 16px 0; }
.rd-hs-list--grid .rd-hs-card__title { font-size: 16px; }
.rd-hs-list--grid .rd-hs-card__excerpt { display: none; }
.rd-hs-list--grid .rd-hs-card__side { border-left: 0; flex: 1; padding: 14px 16px 16px; }

.rd-hs-empty {
  background: var(--rd-hs-chip);
  border-radius: 10px;
  color: var(--rihla-muted);
  padding: 28px;
  text-align: center;
}

/* ── Pagination ── */
.rd-hs-pagination { margin-top: 16px; text-align: center; }
.rd-hs-pagination .pagination { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0; padding: 0; }
.rd-hs-pagination .page-item .page-link,
.rd-hs-pagination .page-item > span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--rd-hs-line);
  border-radius: 6px !important;
  color: var(--rihla-ink);
  display: flex;
  font-size: 13px;
  font-weight: 500;
  height: 32px;
  justify-content: center;
  min-width: 32px;
  padding: 0 8px;
}
.rd-hs-pagination .page-item:first-child .page-link,
.rd-hs-pagination .page-item:last-child .page-link { color: var(--rihla-red); }
.rd-hs-pagination .page-item .page-link:hover { border-color: var(--rihla-red); color: var(--rihla-red); }
.rd-hs-pagination .page-item.active .page-link,
.rd-hs-pagination .page-item.active > span { background: var(--rihla-red); border-color: var(--rihla-red); color: #fff; }
.rd-hs-pagination .page-item.disabled .page-link,
.rd-hs-pagination .page-item.disabled > span { border-color: transparent; color: var(--rihla-muted); }
.rd-hs-pagination__info { color: var(--rihla-muted); font-size: 12.5px; margin-top: 10px !important; }

/* ── Trust bar ── */
.rd-hs-trust {
  background: var(--rihla-green-soft);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 8px 0 48px;
  padding: 14px 0;
}
.rd-hs-trust li {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  padding: 2px 24px;
}
.rd-hs-trust li + li { border-left: 1px solid rgba(0, 98, 51, .18); }
.rd-hs-trust svg { color: var(--rihla-green); height: 30px; width: 30px; }
.rd-hs-trust div { display: grid; gap: 2px; }
.rd-hs-trust strong { color: var(--rihla-ink); font-family: var(--rd-hs-display); font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.rd-hs-trust span { color: var(--rihla-muted); font-size: 12px; }

/* ── Responsive ── */
@media (max-width: 1279px) {
  .rd-hs-card { grid-template-columns: 260px minmax(0, 1fr) 206px; }
  .rd-hs-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .rd-hs-shell { padding-inline: 20px; }
  .rd-hs-hero { padding: 26px 0 18px; }
  .rd-hs-bar { align-items: stretch; flex-direction: column; padding: 6px; }
  .rd-hs-bar__fields { flex-direction: column; }
  .rd-hs-bar__field + .rd-hs-bar__field { border-left: 0; border-top: 1px solid var(--rd-hs-line); }
  .rd-hs-bar__field { padding-block: 12px; }
  .rd-hs-bar__submit { width: 100%; }
  .rd-hs-layout { grid-template-columns: minmax(0, 1fr); }
  /* The filter form becomes the popup opened by the "Filter" button. */
  .rd-hs-mapcard { display: none; }
  .rd-hs-filter-toggle { display: inline-flex; }
  .bravo_form_filter.-is-active .rd-hs-filters { border: 0; border-radius: 0; padding: 48px 20px 24px; }
  .rd-hs-trust { grid-template-columns: 1fr; gap: 12px; }
  .rd-hs-trust li { justify-content: flex-start; }
  .rd-hs-trust li + li { border-left: 0; }
}

@media (max-width: 767px) {
  .rd-hs-shell { padding-inline: 16px; }
  .rd-hs-head__tools { flex-wrap: wrap; }
  .rd-hs-card { display: flex; flex-direction: column; }
  .rd-hs-card__media { aspect-ratio: 3 / 2; min-height: 0; }
  .rd-hs-card__body { padding: 14px 16px 0; }
  .rd-hs-card__side { border-left: 0; border-top: 1px solid var(--rd-hs-line); margin: 14px 16px 0; padding: 14px 0 16px; }
  .rd-hs-list--grid { grid-template-columns: minmax(0, 1fr); }
}

/* Touch screens have no hover: keep the photo arrows visible. */
@media (hover: none) {
  .rd-hs-card__nav { opacity: 1; }
}
