/* Use the full row when the listing consists of these two tours. */
.ex-grid:has(> .sr-ranth-card:first-child + .sr-ranth-card:last-child) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
}

.sr-ranth-card {
  display: flex;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e4dfd5;
  border-radius: 1rem;
  background: #fff;
  color: #18231e;
  box-shadow: 0 3px 12px rgb(33 38 31 / 7%);
  font-family: inherit;
}

.sr-ranth-card .sr-ranth-card__link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.sr-ranth-card:focus-within {
  outline: 3px solid #32604f;
  outline-offset: 3px;
}

.sr-ranth-card .sr-ranth-card__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sr-ranth-card__body {
  flex: 1 0 auto;
  min-width: 0;
  padding: clamp(1rem, 2.1vw, 1.65rem);
}

.sr-ranth-card__body h3 {
  margin: 0 0 0.8rem;
  color: #18231e;
  font: inherit;
  font-size: clamp(1.18rem, 0.87rem + 1.25vw, 1.7rem);
  font-weight: 750;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.sr-ranth-card__body .sr-ranth-card__detail {
  display: flex;
  align-items: baseline;
  gap: 0.48em;
  margin: 0.3rem 0 0;
  color: #38443d;
  font-size: clamp(0.94rem, 0.88rem + 0.26vw, 1.04rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.sr-ranth-card__detail svg {
  position: relative;
  top: 0.13em;
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
  color: #8a652f;
}

.sr-ranth-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 0.9rem;
  margin: 0 clamp(1rem, 2.1vw, 1.65rem);
  padding: 1rem 0;
  border-top: 1px solid #e7e3db;
}

.sr-ranth-card__fare {
  flex: 1 1 8rem;
  min-width: 0;
  max-width: 100%;
  color: #18231e;
  overflow-wrap: anywhere;
}

.sr-ranth-card__fare strong,
.sr-ranth-card__fare small {
  display: block;
}

.sr-ranth-card__fare strong {
  font-size: clamp(1.12rem, 0.96rem + 0.75vw, 1.5rem);
  font-weight: 750;
  line-height: 1.2;
}

.sr-ranth-card__fare small {
  margin-top: 0.2em;
  color: #455149;
  font-size: 0.9rem;
  line-height: 1.35;
}

.sr-ranth-card__cta {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 44px;
  max-width: 100%;
  padding: 0.65em 1.05em;
  border-radius: 999px;
  background: #896024;
  color: #fff;
  font-size: 0.93rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.sr-ranth-card__link:is(:hover, :focus-visible) .sr-ranth-card__cta {
  background: #714e1d;
}

@media (max-width: 44rem) {
  .ex-grid:has(> .sr-ranth-card:first-child + .sr-ranth-card:last-child) {
    grid-template-columns: minmax(0, 1fr);
  }
}
