.trip-h3 {
  padding-top: 10px;
  padding-bottom: 20px;
  font-size: 3rem;
}

.trip-h4 {
  padding-top: 10px;
  padding-bottom: 20px;
  font-size: 2rem;
}

.trip-paragraph {
  padding-bottom: 10px;
}

.trips-flex {
  margin: auto;
  padding-top: 30px;
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-evenly;
}

#search {
  padding: 10px;
  width: 100%;
  max-width: 400px;
  margin: 10px 0 20px;
  border: var(--bordercolour) solid 1px;
  font-size: 1.6rem;
  font-family: "Lato", sans-serif;
}

.tags-search {
  margin-bottom: 20px;
}

.tags-search button {
  transition: all 0.1s;
  background: var(--bordercolour);
  border: none;
  margin: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
}

.tags-search button:hover {
  background: var(--hovecolour);
}

.tag {
  display: inline-block;
  background: var(--bordercolour);
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 12px;
  margin-right: 5px;
  font-family: "Lato", sans-serif;
  color: var(--textcolour);
}

.trip-card {
  width: 400px;
  height: 150px;
  border: var(--bordercolour) solid 1px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
  background-color: var(--backgroundcolour);
}

.trip-card:hover {
  transform: scale(1.1);
}

.front-image {
  max-width: 40%;
  height: 100%;
  overflow: hidden;
}

.front-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trips-details {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.trip-card h3 {
  padding-bottom: 5px;
}

.trip-article {
  display: flex;
  flex-direction: column;
  align-items: left;
}

.trip-image {
  max-width: 50%;
  margin: 20px 0;
  border-radius: 8px;
}

.trip-video {
  width: 50%;
  aspect-ratio: 1.77777777777777778;
  margin: 20px 0;
  border: none;
  border-radius: 8px;
}

.trip-paragraph strong {
  font-size: 1.6rem;
}

.trip-paragraph i {
  font-size: 1.6rem;
  font-style: italic;
}

.trip-h3 {
  font-family: "Lato", sans-serif;
}

#read-time {
  margin-bottom: 20px;
}

.trip-details {
  font-size: 1.5rem;
  color: var(--strongcolour);
  font-family: "Lato", sans-serif;  
  margin-top: 5px;
}

#tag-filter button {
  font-size: 1.2rem;
  transition: all 0.1s;
}

#tag-filter button.active {
  background: var(--speciallink);
  color: var(--backgroundcolour);
}

@media (hover: none) {
  .tags-search button:hover {
    background: var(--bordercolour);
  }
}


.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag-more {
  background: var(--bordercolour);
  cursor: pointer;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0px;
}

.gallery-image {
  width: 100%;
  max-width: 200px;
  border-radius: 8px;
  object-fit: cover;
}

.trip-link {
  color: var(--speciallink);
}

@media only screen and (max-width: 1023px) {

  .trips-flex {
    width: 100%;  
    gap: 20px;
  }

}

@media only screen and (max-width: 768px) {

  .trip-image {
    max-width: 80%;
    align-self: center;
  }

  .trip-video {
    width: 80%;
    align-self: center;
  }

  .image-gallery {
    align-self: center;
  }

  .trips-flex {
    justify-content: center;
  }

}

@media only screen and (max-width: 601px) {

  .trip-card {
    width: 100%;
    height: 150px;
    border: var(--bordercolour) solid 1px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .tag-container {
  width: 0;
  height: 0;
  display: none;
  }
}

.status-completed,
.status-uncompleted {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 1.6rem;
  font-weight: 600;
}

.status-completed {
  background: #d4f8d4;
  color: #1faa00;
}

.status-uncompleted {
  background: #ffd6d6;
  color: #d62828;
}

.trip-content {
  margin-top: 50px;
}