/* =========================================================
   Parent scope: .rg-hotels-listing
   All hotel score UI styles are nested under this class.
   ========================================================= */

.rg-hotels-listing {
  --rg-teal: #00A699;
  --rg-teal-dark: #008F84;
  --rg-teal-soft: #E6F7F5;
  --rg-teal-border: #9EDDD7;
  --rg-text: #111827;
  --rg-text-muted: #6B7280;
  --rg-text-soft: #9CA3AF;
  --rg-border: #E5E7EB;
  --rg-track: #E8EEF2;
  --rg-white: #ffffff;
  --rg-star: #F5B400;
  --rg-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
  --rg-radius-card: 16px;
  --rg-radius-btn: 10px;
  --rg-radius-pill: 999px;
  --rg-font: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  box-sizing: border-box;
  font-family: var(--rg-font);
  color: var(--rg-text);
  -webkit-font-smoothing: antialiased;
}

.rg-hotels-listing *,
.rg-hotels-listing *::before,
.rg-hotels-listing *::after {
  box-sizing: border-box;
}

/* =========================================================
   LIST VIEW — matches screenshot (8px grid)
   Parent: .rg-hotels-listing.rg-hotels-list-section
   ========================================================= */

.rg-hotels-listing.rg-hotels-list-section {
  --rg-list-teal: #149387;
  --rg-list-teal-dark: #0F7A70;
  --rg-list-text: #1D2939;
  --rg-list-muted: #667085;
  --rg-list-border: #E4E7EC;
  --rg-list-tag-bg: #F2F4F7;
  --rg-list-star: #FDB022;
  --rg-list-max: 960px;

  padding: 48px 24px;
  background: #FFFFFF;
}

.rg-hotels-listing.rg-hotels-list-section .rg-list-inner {
  max-width: var(--rg-list-max);
  margin: 0 auto;
}

/* Header */
.rg-hotels-listing.rg-hotels-list-section .rg-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 24px;
  max-width: none;
}

.rg-hotels-listing.rg-hotels-list-section .rg-section-header__copy {
  min-width: 0;
  flex: 1;
}

.rg-hotels-listing.rg-hotels-list-section .rg-eyebrow {
  display: block;
  margin: 0 0 8px;
  color: var(--rg-list-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 16px;
  text-transform: uppercase;
}

.rg-hotels-listing.rg-hotels-list-section .rg-section-header h2 {
  margin: 0 0 8px;
  color: var(--rg-list-text);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 36px;
}

.rg-hotels-listing.rg-hotels-list-section .rg-section-header p {
  margin: 0;
  color: var(--rg-list-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.rg-hotels-listing.rg-hotels-list-section .rg-section-link {
  flex-shrink: 0;
  margin-bottom: 2px;
  color: var(--rg-list-teal);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.rg-hotels-listing.rg-hotels-list-section .rg-section-link:hover {
  color: var(--rg-list-teal-dark);
}

/* Card stack */
.rg-hotels-listing.rg-hotels-list-section .rg-hotel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: none;
  margin: 0;
}

/* Card — must stay one horizontal row (image | content) */
.rg-hotels-listing.rg-hotels-list-section .rg-hotel-card--list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 24px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid var(--rg-list-border);
  border-radius: 16px;
  box-shadow: none;
  overflow: visible;
}

.rg-hotels-listing.rg-hotels-list-section .rg-hotel-card--list:hover {
  border-color: #D0D5DD;
  box-shadow: 0 8px 16px rgba(16, 24, 40, 0.04);
}

/* Image */
.rg-hotels-listing.rg-hotels-list-section .rg-hotel-card__media {
  position: relative;
  flex: 0 0 168px !important;
  width: 168px !important;
  max-width: 168px;
  height: 120px !important;
  min-height: 120px !important;
  border-radius: 12px;
  overflow: hidden;
  background: #F2F4F7;
}

.rg-hotels-listing.rg-hotels-list-section .rg-hotel-card__thumb {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 120px !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 12px;
}

.rg-hotels-listing.rg-hotels-list-section .rg-hotel-card__thumb--placeholder {
  display: grid;
  place-items: center;
  color: var(--rg-list-teal);
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #E6F7F5, #F0FDFA);
}

.rg-hotels-listing.rg-hotels-list-section .rg-list-score {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--rg-list-teal);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
}

/* Body — sits beside image on same row */
.rg-hotels-listing.rg-hotels-list-section .rg-hotel-card__body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  width: auto !important;
  padding: 0 8px 0 0;
}

.rg-hotels-listing.rg-hotels-list-section .rg-hotel-card__list-top {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.rg-hotels-listing.rg-hotels-list-section .rg-hotel-card__list-main {
  min-width: 0;
  flex: 1;
}

.rg-hotels-listing.rg-hotels-list-section .rg-hotel-card__title,
.rg-hotels-listing.rg-hotels-list-section .rg-hotel-card--list h3 {
  margin: 0 0 4px;
  color: var(--rg-list-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.01em;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.rg-hotels-listing.rg-hotels-list-section .rg-location {
  margin: 0;
  color: var(--rg-list-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

/* List stars — larger, one horizontal line */
.rg-hotels-listing.rg-hotels-list-section .rg-stars {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  flex-shrink: 0;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
  line-height: 1;
}

.rg-hotels-listing.rg-hotels-list-section .rg-stars span {
  display: inline-flex !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
}

.rg-hotels-listing.rg-hotels-list-section .rg-stars svg {
  display: block;
  width: 16px !important; 
  height: 16px !important;
}

.rg-hotels-listing.rg-hotels-list-section .rg-star-filled {
  color: var(--rg-list-star);
  filter: none;
}

.rg-hotels-listing.rg-hotels-list-section .rg-star-empty {
  color: #D0D5DD;
}

/* Tags */
.rg-hotels-listing.rg-hotels-list-section .rg-list-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.rg-hotels-listing.rg-hotels-list-section .rg-list-tags__label {
  color: var(--rg-list-teal);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.rg-hotels-listing.rg-hotels-list-section .rg-list-tags__item {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--rg-list-tag-bg);
  color: #475467;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  border: 0;
}

/* Deals link */
.rg-hotels-listing.rg-hotels-list-section .rg-hotel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 0;
  color: var(--rg-list-teal) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none !important;
}

.rg-hotels-listing.rg-hotels-list-section .rg-hotel-link:hover {
  color: var(--rg-list-teal-dark) !important;
}

.rg-hotels-listing.rg-hotels-list-section .rg-hotel-link .rg-btn-icon {
  width: 16px;
  height: 16px;
}

.rg-hotels-listing.rg-hotels-list-section .rg-hotel-link .rg-btn-icon svg {
  width: 16px;
  height: 16px;
}

/* Bottom CTA */
.rg-hotels-listing.rg-hotels-list-section .rg-list-compare-wrap {
  display: flex;
  justify-content: center;
  max-width: none;
  margin: 32px auto 0;
}

.rg-hotels-listing.rg-hotels-list-section .rg-list-compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 32px;
  border-radius: 999px;
  background: var(--rg-list-teal);
  color: #FFFFFF !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none !important;
  box-shadow: none;
  transition: background 0.15s ease;
}

.rg-hotels-listing.rg-hotels-list-section .rg-list-compare-btn:hover {
  background: var(--rg-list-teal-dark);
  color: #FFFFFF !important;
}

/* List responsive — keep same structure */
@media (max-width: 768px) {
  .rg-hotels-listing.rg-hotels-list-section {
    padding: 32px 16px;
  }

  .rg-hotels-listing.rg-hotels-list-section .rg-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .rg-hotels-listing.rg-hotels-list-section .rg-section-header h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .rg-hotels-listing.rg-hotels-list-section .rg-hotel-card--list {
    flex-direction: column !important;
    gap: 16px;
    padding: 0px;
  }

  .rg-hotels-listing.rg-hotels-list-section .rg-hotel-card__media {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    height: 168px !important;
  }

  .rg-hotels-listing.rg-hotels-list-section .rg-hotel-card__body {
    padding: 0;
    width: 100% !important;
  }

  .rg-hotels-listing.rg-hotels-list-section .rg-stars span,
  .rg-hotels-listing.rg-hotels-list-section .rg-stars svg {
    width: 18px !important;
    height: 18px !important;
  }

  .rg-hotels-listing.rg-hotels-list-section .rg-list-compare-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
  }
}

.rg-hotels-listing .rg-score-disclaimer {
  max-width: 960px;
  margin: 16px auto 0;
  color: var(--rg-text-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- Grid section ---------- */

.rg-hotels-listing.rg-hotels-grid-section {
  padding: 28px 20px 48px;
  background: transparent;
}

.rg-hotels-listing .rg-hotels-toolbar {
  max-width: 1120px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rg-hotels-listing .rg-country-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.rg-hotels-listing .rg-country-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--rg-border);
  border-radius: 10px;
  background: var(--rg-white);
  color: #4B5563;
  font-family: var(--rg-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.rg-hotels-listing .rg-country-tab:hover {
  border-color: var(--rg-teal);
  color: var(--rg-teal);
}

.rg-hotels-listing .rg-country-tab.is-active {
  border-color: var(--rg-teal);
  color: var(--rg-teal);
  background: var(--rg-white);
}

.rg-hotels-listing .rg-country-tab__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 16px;
  color: #9CA3AF;
  flex-shrink: 0;
}

.rg-hotels-listing .rg-country-tab.is-active .rg-country-tab__icon {
  color: var(--rg-teal);
}

.rg-hotels-listing .rg-country-tab__icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.rg-hotels-listing .rg-country-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 4px;
  border-radius: 4px;
  background: #F3F4F6;
  color: #4B5563;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.rg-hotels-listing .rg-country-tab.is-active .rg-country-code {
  background: var(--rg-teal-soft);
  color: var(--rg-teal);
}

.rg-hotels-listing .rg-sort-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.rg-hotels-listing .rg-sort-bar__label {
  color: var(--rg-text-muted);
  font-size: 13px;
  font-weight: 500;
}

.rg-hotels-listing .rg-sort-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rg-hotels-listing .rg-sort-btn {
  height: 34px;
  padding: 0 14px;
  border: 1.5px solid var(--rg-border);
  border-radius: 8px;
  background: var(--rg-white);
  color: #4B5563;
  font-family: var(--rg-font);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.rg-hotels-listing .rg-sort-btn:hover {
  border-color: var(--rg-teal);
  color: var(--rg-teal);
}

.rg-hotels-listing .rg-sort-btn.is-active {
  border-color: var(--rg-teal);
  background: var(--rg-white);
  color: var(--rg-teal);
}

.rg-hotels-listing .rg-hotels-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.rg-hotels-listing .rg-hotels-empty {
  max-width: 1120px;
  margin: 18px auto 0;
  text-align: center;
  color: var(--rg-text-muted);
  font-size: 14px;
}

/* ---------- Cards ---------- */

.rg-hotels-listing .rg-hotel-card {
  background: var(--rg-white);
  border: 1px solid #EAECEF;
  border-radius: var(--rg-radius-card);
  overflow: hidden;
  box-shadow: var(--rg-shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rg-hotels-listing .rg-hotel-card:hover {
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.11);
}

.rg-hotels-listing .rg-hotel-card[hidden] {
  display: none !important;
}

.rg-hotels-listing .rg-hotel-card--compact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 14px;
  box-shadow: none;
}

.rg-hotels-listing .rg-hotel-card__thumb {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.rg-hotels-listing .rg-hotel-card__body {
  flex: 1;
  min-width: 0;
}

.rg-hotels-listing .rg-hotel-card__body h3,
.rg-hotels-listing .rg-hotel-card__content h3 {
  margin: 0 0 6px;
  color: var(--rg-text);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.rg-hotels-listing .rg-hotel-card__body h3 {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rg-hotels-listing .rg-hotel-card__content h3 {
  font-size: 18px;
}

/* ---------- Image / overlays ---------- */

.rg-hotels-listing .rg-hotel-card__image-wrap {
  position: relative;
  height: 188px;
  background: #F3F4F6;
  flex-shrink: 0;
  overflow: hidden;
}

.rg-hotels-listing .rg-hotel-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rg-hotels-listing .rg-hotel-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #E6F7F5, #F0FDFA);
  color: var(--rg-teal);
  font-weight: 700;
}

/* Grid view only — original star badge (dark pill + larger gold stars) */
.rg-hotels-listing.rg-hotels-grid-section .rg-hotel-card__stars-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.rg-hotels-listing.rg-hotels-grid-section .rg-hotel-card__stars-overlay .rg-stars {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.rg-hotels-listing.rg-hotels-grid-section .rg-hotel-card__stars-overlay .rg-stars span {
  display: inline-flex !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}

.rg-hotels-listing.rg-hotels-grid-section .rg-hotel-card__stars-overlay .rg-stars svg {
  display: block;
  width: 18px !important;
  height: 18px !important;
}

.rg-hotels-listing.rg-hotels-grid-section .rg-hotel-card__stars-overlay .rg-star-filled {
  color: #FFC107;
}

.rg-hotels-listing.rg-hotels-grid-section .rg-hotel-card__stars-overlay .rg-star-empty {
  color: rgba(255, 255, 255, 0.35);
}

.rg-hotels-listing .rg-stars {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.rg-hotels-listing .rg-stars span {
  display: inline-flex;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.rg-hotels-listing .rg-stars svg {
  display: block;
  width: 14px;
  height: 14px;
}

.rg-hotels-listing .rg-star-filled {
  color: #F5C518;
  filter: none;
}

.rg-hotels-listing .rg-star-empty {
  color: rgba(255, 255, 255, 0.4);
}

.rg-hotels-listing .rg-score-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--rg-white);
  font-weight: 800;
  background: var(--rg-teal);
  box-shadow: 0 6px 14px rgba(0, 166, 153, 0.28);
}

.rg-hotels-listing .rg-score-badge--large {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.rg-hotels-listing .rg-score-badge__value {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rg-hotels-listing .rg-score-badge__denom {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.95;
  margin-top: 2px;
}

.rg-hotels-listing .rg-score-chip {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: var(--rg-radius-pill);
  color: var(--rg-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  background: var(--rg-teal);
}

.rg-hotels-listing .rg-score-exceptional,
.rg-hotels-listing .rg-score-excellent,
.rg-hotels-listing .rg-score-very-good {
  background: var(--rg-teal);
}

.rg-hotels-listing .rg-score-good {
  background: #D97706;
}

.rg-hotels-listing .rg-score-fair {
  background: #EA580C;
}

.rg-hotels-listing .rg-score-label {
  font-size: 11px;
  color: var(--rg-text);
  font-weight: 700;
}

.rg-hotels-listing .rg-hotel-link {
  color: var(--rg-teal);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.rg-hotels-listing .rg-hotel-card__score-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  min-width: 78px;
}

/* ---------- Card body ---------- */

.rg-hotels-listing .rg-hotel-card__content {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rg-hotels-listing .rg-location {
  margin: 0 0 14px;
  color: var(--rg-text-muted);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.rg-hotels-listing .rg-location__icon {
  display: inline-flex;
  color: var(--rg-teal);
  flex-shrink: 0;
}

.rg-hotels-listing .rg-location__icon svg {
  display: block;
}

.rg-hotels-listing .rg-rating-row {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--rg-text-muted);
  font-size: 12px;
  margin-bottom: 14px;
}

.rg-hotels-listing .rg-score-bars {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0 0 12px;
  border: 0;
}

.rg-hotels-listing .rg-score-bar {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 8px;
}

.rg-hotels-listing .rg-score-bar__label {
  color: #4B5563;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rg-hotels-listing .rg-score-bar__track {
  height: 6px;
  overflow: hidden;
  border-radius: var(--rg-radius-pill);
  background: var(--rg-track);
}

.rg-hotels-listing .rg-score-bar__fill {
  display: block;
  height: 100%;
  border-radius: var(--rg-radius-pill);
  background: var(--rg-teal);
}

.rg-hotels-listing .rg-score-bar__value {
  color: var(--rg-text);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.rg-hotels-listing .rg-review-summary {
  margin: 0 0 12px;
  color: var(--rg-text-soft);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 400;
}

.rg-hotels-listing .rg-review-summary .highlited-text {
  color: var(--rg-text);
  font-weight: 700;
}

/* ---------- Strengths ---------- */

.rg-hotels-listing .rg-strengths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 8px;
  margin: 0;
}

.rg-hotels-listing .rg-strengths > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 0;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #7DD3C8;
  background: #E8F8F6;
  color: #0F766E;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rg-hotels-listing .rg-strengths__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rg-teal);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  font-size: 12px;
  line-height: 1;
}

.rg-hotels-listing .rg-strengths__icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.rg-hotels-listing .rg-check-mark {
  display: inline-block;
  color: var(--rg-teal);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

/* ---------- Actions ---------- */

.rg-hotels-listing .rg-hotel-card__actions {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rg-hotels-listing .rg-primary-btn,
.rg-hotels-listing .rg-secondary-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--rg-radius-btn);
  font-family: var(--rg-font);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rg-hotels-listing .rg-primary-btn {
  background: var(--rg-teal);
  color: var(--rg-white) !important;
  border: 1.5px solid var(--rg-teal);
}

.rg-hotels-listing .rg-primary-btn:hover {
  background: var(--rg-teal-dark);
  border-color: var(--rg-teal-dark);
  color: var(--rg-white) !important;
}

.rg-hotels-listing .rg-secondary-btn {
  background: var(--rg-white);
  color: var(--rg-teal);
  border: 1.5px solid #D1D5DB;
}

.rg-hotels-listing .rg-secondary-btn:hover {
  border-color: var(--rg-teal);
  color: var(--rg-teal) !important;
  background: var(--rg-teal-soft);
}

.rg-hotels-listing .rg-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  line-height: 1;
}

.rg-hotels-listing .rg-btn-icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.rg-hotels-listing .rg-card-disclaimer {
  margin: 4px 0 0;
  color: var(--rg-text-soft);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
  font-weight: 400;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .rg-hotels-listing .rg-hotels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .rg-hotels-listing.rg-hotels-grid-section .rg-section-header {
    display: block;
  }

  .rg-hotels-listing.rg-hotels-grid-section .rg-section-link {
    display: inline-block;
    margin-top: 12px;
  }

  .rg-hotels-listing .rg-sort-bar {
    justify-content: flex-start;
  }

  .rg-hotels-listing .rg-country-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .rg-hotels-listing.rg-hotels-grid-section {
    padding: 20px 14px 36px;
  }

  .rg-hotels-listing .rg-hotels-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rg-hotels-listing .rg-strengths {
    grid-template-columns: 1fr;
  }

  .rg-hotels-listing .rg-hotel-card__image-wrap {
    height: 176px;
  }

  .rg-hotels-listing .rg-country-tab {
    height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }
}
