.workshops .wrapper {
  flex-direction: column;
  align-items: center;
}
.workshops .wrapper h1 {
  text-align: center;
  font-size: 54px;
  line-height: 60px;
  margin-bottom: 15px;
}
.workshops .wrapper p.excerpt {
  text-align: center;
  font-size: 26px;
  line-height: 40px;
  width: 90%;
  margin-bottom: 82px;
}

/* grid container */
.workshops .workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* content item */
.workshops .workshop-grid .workshop {
  position: relative;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  min-height: 671px;
  border-radius: 15px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.workshops .workshop-grid .workshop img.thumbnail {
  width: 100%;
  height: 247px;
  object-fit: cover;
}
/* text content */
.workshops .workshop-grid .workshop .text-content {
  background-color: white;
  padding: 21px 28px 33px 28px;
}
.workshops .workshop-grid .workshop .text-content.hover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: top 0.3s ease, height 0.3s ease;
}
.workshops .workshop .text-content h2 {
  font-size: 22px;
  line-height: 30px;
  font-family: degular, sans-serif;
  margin-bottom: 22px;
}
.workshops .workshop .text-content p.korte-beschrijving {
  margin-top: -15px;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 25px;	
}

.workshops .workshop .text-content p {
  text-align: flex-start;
  font-size: 18px;
  line-height: 28px;
  color: #484848;
}
/* informatie gird */
.workshops .workshop .text-content ul.informatie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.workshops .workshop .text-content ul.informatie li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.workshops .workshop .text-content ul.informatie li .icon {
  width: 17px;
  height: 18px;
  object-fit: contain;
}
.workshops .workshop .text-content ul.informatie li span {
  font-size: 15px;
  line-height: 30px;
  color: #484848;
}
/* contact button */
.workshops .workshop .text-content a.button {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #A1AB96;
  border-radius: 20px;
  color: white;
  width: 100%;
}

/* hover effect */
.workshops .workshop:hover .text-content.active {
  display: none;
}
.workshops .workshop .text-content.hover {
  display: block;
}
.workshops .workshop-grid .workshop .text-content.hover {
  position: absolute;
  bottom: 0;
  transform: translateY(100%); 
  transition:  transform 0.3s ease, height 0.3s ease;
}
.workshops .workshop-grid .workshop .text-content.hover a.button.hover{
	margin-top: 15px;
}

.workshops .workshop:hover .text-content.hover {
  height: 100%; 
  transform: translateY(0%); 
}

@media screen and (max-width: 1180px) and (orientation: portrait),
  screen and (max-width: 1024px) {
  .workshops .workshop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media screen and (max-width: 767px) {
  .workshops .workshop-grid {
    grid-template-columns: 1fr;
  }
  .workshops .wrapper h1 {
    font-size: 30px;
    line-height: 30px;
  }
  .workshops .wrapper p.excerpt {
    font-size: 18px;
    line-height: 26px;
    width: 95%;
    margin-bottom: 52px;
  }
}
