.hotelListItem {
  display: grid;
  background-color: var(--Surface-Primary-Default);
  border: 1px solid var(--Border-Default);
  border-radius: var(--Corner-radius-md);
  overflow: hidden;
  scroll-margin-top: var(--Space-x2);
}

.activeCard {
  border: 1px solid var(--Border-Interactive-Selected);
}

.content {
  display: flex;
  flex-direction: column;
  gap: var(--Space-x2);
  padding: var(--Space-x2) var(--Space-x3);
  align-content: flex-start;
  justify-items: flex-start;
}

.imageWrapper {
  position: relative;
  height: 200px;
}

.tripAdvisor {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: var(--Space-x05);
  background-color: var(--Surface-Primary-Default);
  padding: var(--Space-x025) var(--Space-x1);
  border-radius: var(--Corner-radius-sm);
  color: var(--Text-Interactive-Default);
}

.intro {
  display: grid;
  gap: var(--Space-x05);
}

.captions {
  display: flex;
  column-gap: var(--Space-x1);
  flex-wrap: wrap;
  color: var(--Text-Tertiary);
}

.addressButton {
  background-color: transparent;
  border-width: 0;
  padding: 0;
  color: var(--Text-Interactive-Secondary);
  cursor: pointer;

  &:hover {
    color: var(--Text-Interactive-Secondary-Hover);
  }
}

.amenityList {
  display: flex;
  gap: var(--Space-x025) var(--Space-x1);
  flex-wrap: wrap;
  color: var(--Text-Secondary);
}

.amenityItem {
  display: flex;
  gap: var(--Space-x05);
  align-items: center;
}

.ctaWrapper {
  justify-self: stretch;
}

@media screen and (max-width: 949px) {
  .hotelListItem {
    width: 360px;
    min-height: 150px;
    grid-template-columns: 160px 1fr;
  }

  .imageWrapper {
    height: 100%;
  }

  .tripAdvisor {
    top: 12px;
    left: 12px;
  }

  .content {
    padding: var(--Space-x15);
    gap: var(--Space-x1);
  }

  .logo,
  .captions,
  .amenityItem:nth-child(n + 4),
  .amenityName {
    display: none;
  }

  .ctaWrapper {
    margin-top: auto;
  }
}
