/**
 * Work overzicht: basisstijlen voor filter en "Load More".
 *
 * Levert wat voorheen uit Ajax Load More kwam; de visuele opmaak
 * (kleuren, afmetingen, typografie) staat in style.css.
 */

/* Filters */
.work-filters {
  margin: 0;
  padding: 0;
  position: relative;
  transition: opacity 0.25s ease;
}

.work-filters.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.work-filters ul {
  margin: 0;
  padding: 0;
}

.work-filters li {
  background: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.work-filters__link {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  line-height: 1.45;
  margin: 0;
  position: relative;
  text-decoration: none;
}

.work-filters__link:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 2px;
}

/* Raster */
.work-grid__empty {
  margin: 40px 0 0;
  text-align: center;
}

/* Load More */
.work-more {
  display: block;
  margin: 0 0 25px;
  padding: 10px 0 0;
  position: relative;
  text-align: center;
}

.work-more[hidden] {
  display: none;
}

.work-more .work-more__btn {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  display: inline-block;
  font-family: inherit;
  font-weight: 500;
  line-height: 1;
  margin: 0;
  padding: 0 22px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all 0.1s ease;
  -webkit-user-select: none;
  user-select: none;
  width: auto;
}

/* Laadindicator; de afbeelding zelf komt uit style.css. */
.work-more .work-more__btn::before {
  content: "";
  display: block;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: all 0.1s ease;
  visibility: hidden;
  width: 100%;
  z-index: 1;
}

.work-more .work-more__btn.loading {
  cursor: wait;
}

.work-more .work-more__btn.loading::before {
  opacity: 1;
  visibility: visible;
}

.work-more .work-more__btn.loading .link-effect {
  opacity: 0;
}
