.tours-grid {
}

.tours-grid .tour a {
  border-radius: 0.75rem;
  /* overflow: hidden; */
  display: block;
  text-decoration: none;
  /* transition: background 200ms; */
}

.tours-grid .tour-thumbnail {
  display: flex;
}
.tours-grid .tour-thumbnail img {
  width: 100%;
  margin-left: -100%;
  aspect-ratio: 4/3;
  transition: opacity 200;
  border-radius: 0.75rem;
  overflow: hidden;
}
.tours-grid .tour a:hover .tour-thumbnail img {
  opacity: 0.75;
  transition: opacity 200ms;
}
.tours-grid .tour-name {
  width: 100%;
  height: auto;
  display: flex;
  align-self: flex-start;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
  padding: 1rem;
  color: black;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: background 200;
}
.tours-grid .tour a:hover .tour-name {
  background: var(--gray-50);
  transition: background 200;
}
.tours-grid .tour-name .tour-days {
  letter-spacing: 0.5em;
}
.tours-grid .tour .excerpt {
  padding: 2rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--primary-dark);
  margin-top: 0;
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.75);
}
.tours-grid .tour a:hover .excerpt {
  /* background: var(--primary-700); */
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.5);
  transition: background 200ms;
}
.excerpt > p {
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter_tours {
  padding: 1rem 2.5rem;
  background: var(--gray-50);
  display: flex;
  list-style-type: none;
  color: var(--primary-700);
  text-align: center;
  margin-bottom: 4rem;
  border-radius: 50px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: var(--content-width);
  align-items: center;
}
.filter_tours li {
  cursor: pointer;
  font-weight: 400;
}
.filter_tours li.active {
  font-weight: 600;
  color: var(--primary-800);
  font-size: clamp(1.125rem, 1.09rem + 0.18vw, 1.25rem);
  font-size: clamp(1.25rem, 1.11rem + 0.71vw, 1.75rem);
}
.tours-grid .tour {
  max-width: 32rem;
  margin: 0 auto;
}
@media screen and (max-width: 60rem) {
  .tours-grid .tour a {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
}
.tours-grid.related-tours-grid {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
