/* COLLECTIONS */
.landing-showcase .row {
  display: flex;
  margin-bottom: 20px;
  border: 1px solid #000000;
  -moz-column-gap: 40px;
       column-gap: 40px;
}
@media screen and (max-width: 600px) {
  .landing-showcase .row {
    flex-direction: column;
  }
}
.landing-showcase .row:nth-child(even) {
  flex-direction: row-reverse;
}
@media screen and (max-width: 600px) {
  .landing-showcase .row:nth-child(even) {
    flex-direction: column;
  }
}
.landing-showcase .info,
.landing-showcase .image {
  width: 50%;
}
@media screen and (max-width: 600px) {
  .landing-showcase .info,
  .landing-showcase .image {
    width: 100%;
  }
}
.landing-showcase .info img,
.landing-showcase .image img {
  display: block;
}
.landing-showcase .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}
@media screen and (max-width: 1024px) {
  .landing-showcase .info {
    padding: 40px 20px;
  }
}
.landing-showcase .info a {
  text-decoration: none;
  color: rgb(109, 109, 128);
}
.landing-showcase .info .diploma_name {
  width: 90%;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1;
}
@media screen and (max-width: 1024px) {
  .landing-showcase .info .diploma_name {
    width: 100%;
  }
}

.showcase-course {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 20px;
}
.showcase-course h2 {
  margin: 0;
}
.showcase-course .link-all {
  display: flex;
  justify-content: flex-end;
  align-self: baseline;
  width: 20%;
}
.showcase-course .link-all a:link,
.showcase-course .link-all a:visited {
  text-decoration: none;
  color: #000000;
}

.showcase-collections {
  display: grid;
  max-width: 1360px;
  margin: 0 0 80px 0;
  grid-gap: 30px;
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 1280px) {
  .showcase-collections {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .showcase-collections {
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}
.showcase-collections .collection {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 250px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
@media screen and (max-width: 600px) {
  .showcase-collections .collection {
    height: 180px;
  }
}
.showcase-collections .collection:hover .overlay {
  opacity: 1;
}
.showcase-collections .collection img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.showcase-collections .collection .overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ececec;
  opacity: 0;
  transition: opacity 0.2s;
}

.showcase-collections .collection .category {
  position: absolute;
  top: -20px;
  left: 10px;
  margin: 0;
  padding: 10px;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
}

.showcase-collections .collection .metadata {
  position: relative;
  padding: 10px 0 10px 0;
  overflow: hidden;
}

.showcase-collections .collection .course_name {
  display: block;
  margin: 10px 0 10px 0;
  line-height: 1.2;
  color: #ffffff;
  font-weight: bold;
}

.showcase-collections .collection .course_name a:link,
.showcase-collections .collection .course_name a:hover,
.showcase-collections .collection .course_name a:active {
  text-decoration: none;
  color: #ffffff;
}

.showcase-collections .collection .course_name a:visited {
  color: #ffffff;
}

.showcase-collections .collection .project_name {
  display: block;
  margin: 10px 0 10px 0;
  line-height: 1.2;
  font-weight: bold;
}

.showcase-collections .collection .project_name a:link,
.showcase-collections .collection .project_name a:hover,
.showcase-collections .collection .project_name a:active {
  text-decoration: none;
}

.showcase-collections .collection .project_name:hover .test {
  display: none;
}

.showcase-collections .collection .project_name a:visited {
  color: #000000;
}

.showcase-collections .collection .title {
  margin: 0;
  padding: 0 8px 2px;
  line-height: 1.2;
}

.showcase-collections .collection .title a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

.showcase-relatedposts {
  margin: 40px 0 10px 0;
}
.showcase-relatedposts h2 {
  margin-bottom: 30px !important;
}
.showcase-relatedposts h2 span {
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
}
@media screen and (max-width: 768px) {
  .showcase-relatedposts h2 span {
    display: block;
  }
}
.showcase-relatedposts h3 {
  margin: 0;
}
.showcase-relatedposts .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
