.card-col {
  margin-bottom: 20px;
}

.tour-card {
  display: block;
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  color: var(--dark-gray);
  text-decoration: none;
  height: 100%;
  border: 1px solid #E7E6E6;
  transition: all .25s ease-in-out;
}
.tour-card:hover {
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.05);
}

.tc-top {
  display: block;
  width: 100%; 
  height: 0;
  padding-top: 100%;
  overflow: hidden;
  position: relative;
}

.tc-top-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #e0e0e0;
}

.tc-img {
  height: 100%;
  transition: all .25s ease;
}

.tc-cont {
  position: relative;
  padding: 10px 10px 42px;
}
.tc-cont .card-badge-wrap {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.tc-cont .card-badge-wrap {
  position: absolute;
  top: -20px;
  right: -35px;
  width: 100px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.tc-cont .card-badge {
  display: inline-block;
  color: #fff;
  padding: 0 5px;
  border: 3px solid #fff;
  border-radius: 5px;
  margin-bottom: 5px;
}
.tc-cont .card-badge.s {
  background: var(--accent-main);
}

.tc-cont .card-badge.g {
  background: var(--bs-teal);
}

.tc-tourcode {
  font-size: 12px;
  line-height: 1.3;
}
.tc-title {
  min-height: 60px;
}
.tc-title .b {
  display: block;
  line-height: 1.4;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-dark);
}
.tc-title .b:hover {
  color: var(--accent-main);
}
.tc-divider {
  width: 100%;
  border-bottom: 1px solid #CFD3DA;
  margin-bottom: 10px;
}

.tc-btm {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.card-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-main);
}
@media only screen and (min-width: 768px) {
  .tc-cont {
    padding: 10px 20px 60px;
  }
  .tc-img {
    /* height: unset; */
    /* width: 100%; */
  }
  .tc-cont .card-badge-wrap {
    right: -20px;
  }
  .tc-btm {
    padding: 10px 20px 10px;
  }
}