.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card .photo {
  flex: 0 0 190px;
}
.copy.arranged-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'name rooms' 'amenities amenities' 'meta meta' 'route route' 'action action';
  column-gap: 14px;
  row-gap: 0;
  flex: 1;
  padding: 16px !important;
}
.arranged-card .name {
  grid-area: name;
  align-self: center;
  margin: 0 !important;
  padding: 1px 0;
  font-size: 17px;
  line-height: 1.35;
}
.arranged-card .hotel-room-count {
  grid-area: rooms;
  position: static !important;
  align-self: start;
  justify-self: end;
  min-width: 48px;
  height: 42px;
  margin: 0 !important;
}
.arranged-card .amenities {
  grid-area: amenities;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  margin: 10px 0 0 !important;
  padding: 0 0 10px !important;
  border-top: 0 !important;
  border-bottom: 1px solid #ffffff12 !important;
}
.arranged-card .hotel-meta {
  grid-area: meta;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  margin: 0 !important;
  padding: 11px 0;
  border-bottom: 1px solid #ffffff12;
}
.arranged-card .area {
  min-width: 0;
  line-height: 1.35;
}
.arranged-card .meal-inline {
  flex: 0 0 auto;
  margin: 0 !important;
}
.arranged-card .route {
  grid-area: route;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 7px;
  margin: 0 !important;
  padding: 12px 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid #ffffff12;
}
.arranged-card .route-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 38px;
  padding: 7px 5px !important;
  white-space: nowrap;
}
.arranged-card .tags {
  grid-area: action;
  align-items: center;
  margin: 12px 0 0 !important;
  min-height: 38px;
}
.arranged-card .open-label {
  margin-left: auto;
}
.arranged-card .weather-widget {
  top: -178px !important;
  left: 14px !important;
}
.arranged-card .rating-inline {
  top: -178px !important;
  right: 14px !important;
}
.arranged-card .review-count-card {
  top: -136px !important;
  right: 14px !important;
}
@media (max-width: 520px) {
  .card .photo {
    flex-basis: 215px;
  }
  .copy.arranged-card {
    padding: 14px !important;
  }
  .arranged-card .route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .arranged-card .weather-widget,
  .arranged-card .rating-inline {
    top: -202px !important;
  }
  .arranged-card .review-count-card {
    top: -160px !important;
  }
}
