.artistern-artists-page,
.artistern-artists-page * {
  box-sizing: border-box;
  border-radius: 0 !important;
  box-shadow: none !important;
  letter-spacing: 0 !important;
}

.artistern-artists-page {
  padding: 76px 0 110px;
  background: #fff;
  color: #191714;
}

.artistern-artists-head {
  display: grid;
  grid-template-columns: minmax(150px, .35fr) minmax(0, 1.65fr);
  gap: 50px;
  align-items: start;
  padding-bottom: 62px;
  border-bottom: 1px solid #e7e2d8;
}

.artistern-artists-head h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: 78px;
  line-height: 1.02;
}

.artistern-artists-head > div > p {
  max-width: 680px;
  margin: 0;
  color: #706b63;
  font-size: 15px;
  line-height: 1.75;
}

.artistern-artists-controls {
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e7e2d8;
}

.artistern-artists-controls form {
  display: grid;
  grid-template-columns: minmax(250px, 420px) minmax(0, 1fr) 150px;
  gap: 16px;
  align-items: center;
}

.artistern-artists-search {
  display: grid;
  min-height: 46px;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #d6d0c4;
}

.artistern-artists-search .artistern-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.artistern-artists-search input,
.artistern-artists-sort select {
  width: 100%;
  min-height: 44px;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: #fff !important;
  color: #191714 !important;
  font-size: 12px !important;
}

.artistern-artists-categories {
  display: flex;
  max-height: 100px;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0 2px 6px;
  border: 0;
  overflow: auto;
  scrollbar-color: #b7b0a5 transparent;
  scrollbar-width: thin;
}

.artistern-artists-categories label {
  flex: 0 0 auto;
  cursor: pointer;
}

.artistern-artists-categories input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.artistern-artists-categories span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #e1dcd3;
  color: #4d4942;
  font-size: 11px;
  white-space: nowrap;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.artistern-artists-categories small {
  color: #9a958c;
  font-size: 9px;
}

.artistern-artists-categories input:checked + span {
  border-color: #191714;
  background: #191714;
  color: #fff;
}

.artistern-artists-categories input:checked + span small {
  color: #c9c3b9;
}

.artistern-artists-sort {
  display: grid;
  min-height: 46px;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  padding: 0 10px 0 12px;
  border: 1px solid #d6d0c4;
  color: #8c867c;
  font-size: 10px;
}

.artistern-artists-results {
  padding-top: 30px;
}

.artistern-artists-results > header {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: #706b63;
  font-size: 11px;
}

.artistern-artists-results > header p {
  margin: 0;
}

.artistern-artists-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 24px;
}

.artistern-artist-card {
  min-width: 0;
  background: #fff;
}

.artistern-artist-card-visual {
  display: grid;
  height: clamp(270px, 26vw, 390px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  overflow: hidden;
  background: #f1eee8;
}

.artistern-artist-card-visual > span {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #e9e5de;
}

.artistern-artist-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms cubic-bezier(.2, .7, .2, 1), filter 260ms ease;
}

.artistern-artist-card:hover .artistern-artist-card-visual img,
.artistern-artist-card:focus-within .artistern-artist-card-visual img {
  transform: scale(1.045);
}

.artistern-artist-card-copy {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: end;
  margin-top: -31px;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

.artistern-artist-card-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 4px solid #fff;
  background: #b28a53;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 23px;
  overflow: hidden;
}

.artistern-artist-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artistern-artist-card-copy > div {
  padding-bottom: 7px;
}

.artistern-artist-card h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.1;
}

.artistern-artist-card h2 a {
  color: #191714 !important;
  text-decoration: none !important;
}

.artistern-artist-card-copy p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 5px 0 0;
  color: #706b63;
  font-size: 10px;
}

.artistern-artist-card-copy p .artistern-icon {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.artistern-artist-card-footer {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 12px 16px 0;
  border-top: 1px solid #e7e2d8;
}

.artistern-artist-card-footer > div {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 5px;
}

.artistern-artist-card-footer > div span {
  padding: 4px 7px;
  background: #f5f3ef;
  color: #4d4942;
  font-size: 9px;
}

.artistern-artist-card-footer > a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #191714 !important;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: uppercase;
}

.artistern-artist-card-footer > a .artistern-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.artistern-artist-card-footer > a:hover .artistern-icon {
  transform: translateX(4px);
}

.artistern-artists-grid.is-loading {
  opacity: .45;
  pointer-events: none;
}

.artistern-artists-more {
  display: flex;
  justify-content: center;
  padding-top: 58px;
}

.artistern-artists-more button {
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid #191714;
  background: #fff;
  color: #191714;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .artistern-artists-head h1 {
    font-size: 60px;
  }

  .artistern-artists-controls form {
    grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  }

  .artistern-artists-sort {
    grid-column: 1 / -1;
    width: 170px;
    justify-self: end;
  }

  .artistern-artists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .artistern-artists-page {
    padding: 48px 0 74px;
  }

  .artistern-artists-head {
    width: calc(100% - 32px);
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 40px;
  }

  .artistern-artists-head h1 {
    font-size: 43px;
  }

  .artistern-artists-controls,
  .artistern-artists-results {
    width: calc(100% - 32px);
  }

  .artistern-artists-controls form {
    grid-template-columns: minmax(0, 1fr);
  }

  .artistern-artists-categories {
    max-height: 88px;
  }

  .artistern-artists-sort {
    grid-column: auto;
    width: 100%;
  }

  .artistern-artists-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .artistern-artist-card-visual {
    height: min(86vw, 420px);
  }
}
