#storelist_wrapper {
  max-width: 1150px;
  margin: auto;
  /*margin-top: 160px;*/
  padding: 16px;
  background-color: #e2e1e6;
  border-radius: 16px;
  position: relative;
}

#storelist_wrapper > .row {
  display: flex;
  align-items: stretch;
}

#storelist_wrapper .sidetext {
  display: flex;
  align-items: center;
}

#storelist_wrapper .sidetext .title {
  color: #252850;
  font-size: 3rem;
  font-weight: 500;
  position: relative;
  left: -48px;
}

#storelist_wrapper .storelist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-left: 0px;
}

#storelist_wrapper .store-card {
  height: 35vh;
  background-repeat: no-repeat;
  background-size: cover;
  /*background-position: right;*/
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  /*top: -60px;*/
  transform: translateY(0);
  transition: transform 125ms linear;
}

#storelist_wrapper .store-card:hover {
  transform: translateY(-4px);
}

#storelist_wrapper .store-card .store-card-footer {
  background-color: #1e72c0;
  position: absolute;
  bottom: 0;
  padding:0 16px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  flex-wrap: nowrap;
}

#storelist_wrapper .store-card .store-card-title {
  color: #fff;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1px;
  margin-top: 10px;
}

#storelist_wrapper .store-card .store-card-city,
#storelist_wrapper .store-card .store-card-postcode {
  color: #ffffffbf;
  font-size: 14px;
  margin-bottom: 15px;
  margin-top: -6px;
}

#storelist_wrapper .store-card .store-card-icon-wrapper {
  display: flex;
  align-items: center;
  font-size: 27px;
  color: #fff;
}

@media (max-width: 991px) {
  #storelist_wrapper {
    border-radius: 6px;
    margin-top: 0;
    background-color: #edeef0;
  }

  #storelist_wrapper > .row {
    flex-direction: column;
    align-items: center;
  }

  #storelist_wrapper .sidetext {
    width: 100%;
    justify-content: center;
  }

  #storelist_wrapper .sidetext .title {
    position: initial;
    font-size: 1.5rem;
  }

  #storelist_wrapper .storelist {
    margin-top: 20px;
    width: 100%;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
    margin-left: -15px;
  }

  #storelist_wrapper .store-card {
    position: initial;
    min-height: 180px;
    border-radius: 8px;
    height: fit-content;
    transition: none;
  }

  #storelist_wrapper .store-card:hover {
    transform: translateY(0);
  }

  #storelist_wrapper .store-card .store-card-footer {
    height: 100%;
    width: 50%;
    right: 0;
    flex-direction: column;
  }

  #storelist_wrapper .store-card .store-card-title {
    font-size: 1rem;
  }

  #storelist_wrapper .store-card .store-card-city,
  #storelist_wrapper .store-card .store-card-postcode {
    font-size: 0.875rem;
  }

  #storelist_wrapper .store-card .store-card-icon-wrapper {
    justify-content: flex-end;
    font-size: 2rem;
  }
}
