.hostel_common_card {
  width: 100%;
  height: 100%;
  margin-bottom: 30px;
}
.hostel_common_card .hostel_card {
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: #ffffff 0% 0% no-repeat padding-box;
  box-shadow: 0px 0px 6px #0000004f;
  border-radius: 8px;
  height: 100%;
}
.hostel_common_card .hostel_card .card_image_wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.hostel_common_card .hostel_card .card_image_wrapper .card_image {
  width: 100%;
  height: 100%;
  display: block;
  padding: 10px;
  border-radius: 8px !important;
}
.hostel_common_card .hostel_card .card_image_wrapper .icon_holder {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 100%;
}
.hostel_common_card .hostel_card .card_tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  position: absolute;
  bottom: 8px;
  left: 9px;
  width: 100%;
  background: transparent
    linear-gradient(90deg, #153b89 0%, #143984ee 45%, #0b1e4500 100%) 0% 0%
    no-repeat padding-box;
  border-radius: 0px 0px 8px 8px;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hostel_common_card .hostel_card .card_content {
  padding: 12px 15px 15px 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}
.hostel_common_card .hostel_card .card_content .card_address {
  font-size: 14px;
  color: #202020;
  margin: 10px 0 12px 0;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hostel_common_card .hostel_card .card_footer .rating_wrapper .rating {
  font-size: 16px;
  color: #000000;
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}
.hostel_common_card .hostel_card .card_footer .rating_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hostel_common_card .hostel_card .card_footer .rating_wrapper .rating .icon {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #f16625;
}
.hostel_common_card .hostel_card .card_footer .rating_wrapper .star_icon {
  color: #f16625;
  font-size: 14px;
}
@media (min-width: 0px) and (max-width: 574px) {
  .hostel_common_card .hostel_card .card_image_wrapper .card_image {
    object-fit: unset;
    border-radius: 8px !important;
  }

  .hostel_common_card .hostel_card .card_content .card_address {
    font-size: 12px;
  }

  .hostel_common_card .hostel_card .card_footer .rating_wrapper .rating {
    font-size: 13px;
  }
}
@media (min-width: 575px) and (max-width: 767.98px) {
  .hostel_common_card .hostel_card .card_image_wrapper .card_image {
    object-fit: unset;
    border-radius: 8px !important;
  }

  .hostel_common_card .hostel_card .card_content .card_address {
    font-size: 13px;
  }

  .hostel_common_card .hostel_card .card_footer .rating_wrapper .rating {
    font-size: 14px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hostel_common_card .hostel_card .card_image_wrapper {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
  }
}
