main .tags {
  display: flex;
  color: #2c3f58;
  position: relative;
  padding-bottom: 30px;
}


@media (max-width: 1024px) {
  main .tags {
    flex-wrap: wrap;
    border-radius: 8px;
    padding-bottom: 0;
    max-height: 44px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease-in-out;
    z-index: 1;
  }

  main .tags.open {
    max-height: 500px;
    /* agar semua tag terlihat */
    overflow: visible;
    z-index: 10;
  }

  main .tags::before {
    content: "▼";
    font-family: Arial, sans-serif;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20;
    color: #2c3f58;
  }

  main .tags.open::before {
    transform: rotate(180deg) translateY(50%);
  }

  main .tags .tag {
    flex: 0 0 100%;
    margin-right: 0;
    background-color: #fff;
    z-index: 10;
    text-align: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
  }

  main .tags .tag:hover {
    background-color: #eee;
  }
}


main .tags .tag {
  font-weight: bold;
  margin-right: 40px;
  padding: 10px;
  font-size: 15px;
  cursor: pointer;
}

main .tags .tag.active {
  color: #c9a96a;
}

@media (max-width: 1024px) {
  main .tags .tag.active {
    color: #2c3f58;
    border-radius: 8px;
    background-color: #eee;
    order: -1;
  }
}

@media (max-width: 1024px) {
  main .tags .tag {
    flex-basis: 100%;
    margin-right: 0;
    background-color: #fff;
    z-index: 9;
  }

  main .tags .tag:hover {
    background-color: #eee;
  }
}

@media (max-width: 1024px) {
  main .area {
    padding-top: 30px;
  }
}

main .area .gutter-sizer {
  width: 2%;
}

main .area .grid-sizer,
main .area .photo {
  width: 32%;
}

@media (max-width: 768px) {

  main .area .grid-sizer,
  main .area .photo {
    width: 49%;
  }
}

@media (max-width: 480px) {

  main .area .grid-sizer,
  main .area .photo {
    width: 99%;
  }
}

main .area .photo {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2%;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

main .area .photo::before {
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 48.92%, rgba(0, 0, 0, 0.6) 81.35%);
  height: 100%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.8s ease-in-out;
  width: 100%;
  z-index: 2;
}

main .area .photo:hover img {
  transform: scale(1.2);
}

main .area .photo:hover p {
  bottom: 0;
}

main .area .photo:hover::before {
  opacity: 1;
}

main .area .photo img {
  transition: transform 0.5s;
  border-radius: 10px;
}

main .area .photo p {
  position: absolute;
  bottom: -50%;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  font-size: 1.8rem;
  color: #fff;
  font-family: serif;
  font-weight: bold;
  z-index: 3;
  transition: bottom 0.5s;
}

.area .photo img {
  width: 100%;
  vertical-align: middle;
}

.glightbox-clean .gslide-description {
  font-size: 1.4rem;
  font-family: sans-serif;
}