* { box-sizing: border-box; }

/* ---- Grid wrapper ---- */
.packery-grid-wrap {
  margin-bottom: 5rem;
  padding-left: 1vw;
}

/* ---- Grid elements ---- */
.grid {
  background: transparent;
  max-width: 1640px;
  margin: 0 auto;
}
.naming-grid {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr;
  margin: 0 auto;
  max-width: 280px;
}
.naming-grid-item {
  align-items: center;
  color: #FFF;
  display: flex;
  height: 50vw;
  justify-content: center;
  max-height: 342px;
  text-align: center;
}
.naming-grid-item h2 {
  color: #FFF;
  font-family: superior-title, Georgia, serif;
  font-size: 3.1rem;
  font-weight: 300;
  line-height: 3.6rem;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}
.packery-wrap .grid-item {
  float: left;
  width: 30vw;
  max-width: 536px;
  height: 30vw;
  max-height: 536px;
  margin: 0;
  position: relative;
}
.packery-wrap .fi-wide {
  width: calc(60vw + 16px);
  max-width: 1088px;
}
.packery-wrap .grid-item.fi-wide {
  max-height: 536px;
}
.packery-wrap .fi-tall {
  height: calc(60vw + 16px);
  max-height: 1088px;
}
.packery-wrap .grid-item img {
  color: transparent;
  height: 100%;
  width: 100%;
}
.packery-wrap .grid-item .fi-2,
.packery-wrap .grid-item .fi-3,
.packery-wrap .grid-item .fi-4 {
  display: none;
}
.packery-wrap .overlay {
  padding-top: 0;
}
.packery-wrap .overlay-info h2 {
  font-size: 2rem;
  line-height: 3rem;
}

/* ---- button ---- */
.no-padding {
  padding: 0;
}
.button {
  background: transparent;
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 4.1vw;
  font-weight: 500;
  letter-spacing: 0.1rem;
  line-height: 3.75vw;
  padding: 1vw 0;
  text-transform: uppercase;
}
.button:hover,
.work-nav-link:hover {
  background-color: transparent;
  color: #888159;
}
.button:active,
.button.is-checked {
  background-color: transparent;
}
.button.is-checked {
  color: #888159;
}
.button:hover {
  background-color: transparent;
  color: #888159;
}
.filter-button-group a.work-nav-link {
  background: transparent;
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 4.1vw;
  font-weight: 500;
  letter-spacing: 0.1rem;
  line-height: 3.75vw;
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
}
.filter-button-group a.work-nav-link:hover {
  background-color: transparent;
  color: #888159;
}

/* button divider */
.button-divider {
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 4.5vw;
  font-weight: 100;
  line-height: 4vw;
  padding: 0 2vw;
  vertical-align: unset;
}

/* ui group */
.ui-group {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}
.ui-group h3 {
  display: inline-block;
  margin-right: 0.2em;
  font-size: 16px;
}
.ui-group .button-group {
  display: inline-block;
}

/* ui group filters */
.work-category-filters {
  margin-bottom: 0;
}

/* Content below navigation */
.category-content {
  color: #ffffff;
  font-size: 2.4rem;
  line-height: 3.4rem;
  margin: 3rem auto 0;
  max-width: 934px;
  padding: 0 15px;
  text-align: left;
}
.category-content ul {
  columns: 1;
  column-gap: 0;
  font-size: 1.5rem;
  font-weight: 700;
  list-style: none;
  padding-left: 0;
  text-transform: uppercase;
}
.category-content ul li:before {
  content: "\2022";
  font-size: 2rem;
  padding-right: 0.75rem;
}
.packaging-sub-nav {
  color: #ffffff;
  display: none;
  font-size: 3.2rem;
  line-height: 4rem;
  margin: 0.75rem auto 0;
  max-width: 904px;
  text-align: center;
}
.packaging-sub-nav button.is-checked {
  color: #fff;
}
.packaging-sub-nav .button {
  background: transparent;
  border: none;
  border-radius: 0;
  color: #888159;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5rem;
  margin: 0 1rem;
  padding: 0;
  text-transform: uppercase;
}
.packaging-sub-nav .button:hover {
  background-color: transparent;
  color: #fff;
}
@media only screen and (min-width: 500px) {
  .packery-grid-wrap {
    padding-left: 2.5vw;
  }
  .packaging-sub-nav .button {
    font-size: 1.5rem;
    margin: 0 1.75rem;
  }
  .naming-grid {
    grid-template-columns: 1fr 1fr;
    margin: unset;
    max-width: unset;
  }
}
@media only screen and (min-width: 640px) {
  .category-content ul {
    columns: 2;
    column-gap: 0;
    font-size: 1.75rem;
    font-weight: 700;
    list-style: none;
    padding-left: 0;
    text-transform: uppercase;
  }
  .naming-grid-item {
    height: 25vw;
  }
}
@media only screen and (min-width: 768px) {
  .packery-wrap .overlay-info h2 {
    font-size: 3rem;
    line-height: 4rem;
  }
  .category-content {
    font-size: 3.2rem;
    line-height: 4rem;
    margin: 3rem auto 12rem;
  }
  .category-content ul {
    font-size: 2rem;
  }
  .packaging-sub-nav {
    margin: 0.75rem auto 0;
  }
  .packaging-sub-nav .button {
    font-size: 2rem;
    margin: 0 3rem;
  }
  .naming-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media only screen and (min-width: 1160px) {
  .packery-grid-wrap {
    padding-left: 3.5vw;
  }
  .button {
    font-size: 4.8rem;
    letter-spacing: 0.3rem;
    line-height: 5rem;
    padding: 0;
    margin: 0.5rem 0;
  }
  .filter-button-group a.work-nav-link {
    font-size: 4.8rem;
    letter-spacing: 0.2rem;
    line-height: 5rem;
    padding: 0;
    margin: 0.5rem 0;
  }
  .button-divider {
    font-size: 5.25rem;
    line-height: 5rem;
    margin: 0;
    padding: 0 1.75rem;
    vertical-align: text-bottom;
  }
}
@media only screen and (min-width: 1640px) {
  .packery-grid-wrap {
    padding-left: 3vw;
  }
}
@media only screen and (min-width: 1800px) {
  .packery-grid-wrap {
    padding-left: 0;
  }
}