.artistern-artists-directory,
.artistern-artists-directory *,
.artistern-artists-directory *::before,
.artistern-artists-directory *::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

.artistern-artists-directory {
  --ad-canvas: #faf9f6;
  --ad-paper: #fff;
  --ad-ink: #1c1b19;
  --ad-muted: #6f6b64;
  --ad-faint: #9a958c;
  --ad-line: #e9e5dd;
  --ad-line-strong: #dad5ca;
  --ad-gold: #9a7b2e;
  --ad-gold-soft: #f3ecdd;
  direction: ltr;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  color: var(--ad-ink);
  font: 400 14px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  text-align: left;
  unicode-bidi: isolate;
}

.artistern-artists-directory :where(header, footer, form, fieldset, legend, article, div, h1, h2, p) {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.artistern-artists-directory :where(a, a:hover, a:focus, a:visited) {
  color: inherit !important;
  text-decoration: none !important;
}

.artistern-artists-directory :where(button, input, select, label) {
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: inherit !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.artistern-artists-directory :where(img, svg) {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.artistern-artists-directory img {
  border-radius: 0 !important;
}

.artistern-artists-directory [hidden] {
  display: none !important;
}

.artistern-artists-directory .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.artistern-directory-intro {
  max-width: 720px;
  margin-bottom: 38px !important;
}

.artistern-directory-eyebrow {
  margin-bottom: 12px !important;
  color: var(--ad-gold) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

.artistern-directory-intro h1 {
  margin: 0 0 12px !important;
  color: var(--ad-ink) !important;
  font: 400 40px/1.13 Georgia, "Times New Roman", serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.artistern-directory-lede {
  max-width: 680px;
  color: var(--ad-muted) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.artistern-directory-form {
  margin-bottom: 24px !important;
}

.artistern-directory-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
}

.artistern-directory-search {
  position: relative;
  display: flex !important;
  flex: 1 1 280px;
  align-items: center !important;
  min-width: 240px;
  height: 46px;
  padding: 0 14px !important;
  border: 1px solid var(--ad-line-strong) !important;
  background: var(--ad-paper) !important;
  color: var(--ad-ink) !important;
}

.artistern-directory-search:focus-within {
  border-color: var(--ad-ink) !important;
}

.artistern-directory-search svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.artistern-directory-search input,
.artistern-directory-search input:focus {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--ad-ink) !important;
  font-size: 13px !important;
}

.artistern-directory-search input::placeholder {
  color: var(--ad-faint) !important;
  opacity: 1;
}

.artistern-directory-categories {
  display: flex;
  flex: 1 1 470px;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding-bottom: 6px !important;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--ad-line-strong) transparent;
  scrollbar-width: thin;
}

.artistern-directory-categories::-webkit-scrollbar {
  height: 4px;
}

.artistern-directory-categories::-webkit-scrollbar-track {
  background: transparent;
}

.artistern-directory-categories::-webkit-scrollbar-thumb {
  background: var(--ad-line-strong);
}

.artistern-directory-chip {
  position: relative;
  display: inline-flex !important;
  flex: 0 0 auto;
  cursor: pointer;
}

.artistern-directory-chip input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}

.artistern-directory-chip > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--ad-line) !important;
  background: var(--ad-paper) !important;
  color: var(--ad-muted) !important;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.artistern-directory-chip b,
.artistern-directory-chip small {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: 1;
}

.artistern-directory-chip b {
  font-size: 12px;
  font-weight: 600;
}

.artistern-directory-chip small {
  color: var(--ad-faint);
  font-size: 10px;
}

.artistern-directory-chip:hover > span,
.artistern-directory-chip input:focus-visible + span {
  border-color: var(--ad-ink) !important;
  color: var(--ad-ink) !important;
}

.artistern-directory-chip input:checked + span {
  border-color: var(--ad-ink) !important;
  background: var(--ad-ink) !important;
  color: #fff !important;
}

.artistern-directory-chip input:checked + span small {
  color: #d9d7d2;
}

.artistern-directory-sort {
  display: flex !important;
  flex: 0 0 auto;
  align-items: center !important;
  gap: 8px;
  margin-left: auto !important;
  color: var(--ad-muted) !important;
  font-size: 12px !important;
}

.artistern-directory-sort select,
.artistern-directory-sort select:hover,
.artistern-directory-sort select:focus {
  -webkit-appearance: auto !important;
  appearance: auto !important;
  width: auto !important;
  min-width: 126px !important;
  height: 38px !important;
  padding: 0 30px 0 11px !important;
  border: 1px solid var(--ad-line) !important;
  outline: 0 !important;
  background-color: var(--ad-paper) !important;
  color: var(--ad-ink) !important;
  font-size: 12px !important;
  cursor: pointer;
}

.artistern-directory-sort select:focus {
  border-color: var(--ad-ink) !important;
}

.artistern-directory-noscript-submit,
.artistern-directory-load-more {
  min-height: 42px !important;
  padding: 9px 18px !important;
  border: 1px solid var(--ad-ink) !important;
  background: var(--ad-paper) !important;
  color: var(--ad-ink) !important;
  cursor: pointer;
}

.artistern-directory-noscript-submit {
  margin-top: 14px !important;
}

.artistern-artists-directory.is-ready .artistern-directory-noscript-submit {
  display: none !important;
}

.artistern-directory-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  margin-bottom: 18px !important;
  color: var(--ad-muted);
  font-size: 12px;
}

.artistern-directory-result-head strong {
  color: var(--ad-ink);
}

.artistern-directory-status {
  min-height: 18px;
}

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

.artistern-artist-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 338px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--ad-line) !important;
  background: var(--ad-paper) !important;
  box-shadow: none !important;
}

.artistern-card-visual {
  position: relative;
  display: block;
  height: 132px;
  overflow: hidden;
  background: var(--ad-gold-soft);
}

.artistern-card-artworks {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 4px;
  overflow: hidden;
  transition: gap 340ms ease;
}

.artistern-card-artwork {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  background: #e7e2d8;
  transition: flex 340ms cubic-bezier(.2, .75, .25, 1);
}

.artistern-card-artwork:nth-child(2) {
  background: #dfe1de;
}

.artistern-card-artwork:nth-child(3) {
  background: #e8dedc;
}

.artistern-card-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.2, .75, .25, 1);
}

.artistern-card-artwork:hover {
  flex: 2.45 1 0;
}

.artistern-card-artwork:hover img {
  transform: scale(1.055);
}

.artistern-card-artworks:has(.artistern-card-artwork:hover) {
  gap: 0;
}

.artistern-card-artwork-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(28, 27, 25, .38);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
}

.artistern-card-visual::after {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .16));
  content: "";
  pointer-events: none;
}

.artistern-card-stage {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 11px;
  padding: 5px 8px;
  background: var(--ad-ink);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.artistern-card-head {
  position: relative;
  z-index: 2;
  height: 30px;
  padding: 0 17px !important;
}

.artistern-card-avatar {
  display: flex;
  width: 60px;
  height: 60px;
  margin-top: -30px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 0 !important;
  background: var(--ad-gold-soft);
  color: var(--ad-ink);
  font: 600 20px/1 Georgia, "Times New Roman", serif;
}

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

.artistern-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 10px 17px 16px !important;
}

.artistern-card-body h2 {
  margin: 0 !important;
  overflow-wrap: anywhere;
  color: var(--ad-ink) !important;
  font: 400 20px/1.2 Georgia, "Times New Roman", serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.artistern-card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px !important;
  overflow: hidden;
  color: var(--ad-muted) !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artistern-card-location svg {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.artistern-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.artistern-card-tags span {
  padding: 4px 8px;
  background: var(--ad-canvas);
  color: var(--ad-ink);
  font-size: 10px;
  line-height: 1.2;
}

.artistern-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--ad-line) !important;
}

.artistern-card-footer p {
  color: var(--ad-muted) !important;
  font-size: 10px !important;
}

.artistern-card-footer p strong {
  color: var(--ad-ink);
  font-size: 13px;
}

.artistern-card-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 3px;
  color: var(--ad-ink) !important;
  font-size: 11px;
  font-weight: 700;
}

.artistern-card-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--ad-gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.artistern-card-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.artistern-card-link:hover::after,
.artistern-card-link:focus::after {
  transform: scaleX(1);
}

.artistern-card-link:hover svg,
.artistern-card-link:focus svg {
  transform: translateX(3px);
}

.artistern-directory-empty {
  grid-column: 1 / -1;
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid var(--ad-line) !important;
  border-bottom: 1px solid var(--ad-line) !important;
  color: var(--ad-muted);
  text-align: center;
}

.artistern-directory-empty strong {
  color: var(--ad-ink);
  font: 400 21px/1.25 Georgia, "Times New Roman", serif;
}

.artistern-directory-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.artistern-directory-load-more:hover,
.artistern-directory-load-more:focus {
  background: var(--ad-ink) !important;
  color: #fff !important;
}

.artistern-artist-skeleton {
  min-height: 338px;
  overflow: hidden;
  border: 1px solid var(--ad-line) !important;
  background: var(--ad-paper) !important;
}

.artistern-artist-skeleton::before,
.artistern-artist-skeleton span,
.artistern-artist-skeleton i {
  display: block;
  background: linear-gradient(90deg, #ecebe7 25%, #f7f6f3 50%, #ecebe7 75%);
  background-size: 220% 100%;
  animation: artistern-directory-shimmer 1.15s linear infinite;
  content: "";
}

.artistern-artist-skeleton::before {
  height: 132px;
}

.artistern-artist-skeleton span {
  width: 58%;
  height: 20px;
  margin: 44px 17px 0;
}

.artistern-artist-skeleton i {
  width: calc(100% - 34px);
  height: 52px;
  margin: 16px 17px;
}

@keyframes artistern-directory-shimmer {
  to { background-position: -220% 0; }
}

@media (max-width: 980px) {
  .artistern-artists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artistern-directory-sort {
    margin-left: 0 !important;
  }
}

@media (max-width: 640px) {
  .artistern-artists-directory {
    padding: 24px 16px 40px;
  }

  .artistern-directory-intro {
    margin-bottom: 28px !important;
  }

  .artistern-directory-intro h1 {
    font-size: 31px !important;
  }

  .artistern-directory-lede {
    font-size: 14px !important;
  }

  .artistern-directory-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .artistern-directory-search {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .artistern-directory-categories {
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    width: calc(100% + 32px);
    margin-left: -16px !important;
    padding: 0 16px 5px !important;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .artistern-directory-categories::-webkit-scrollbar {
    display: none;
  }

  .artistern-directory-chip {
    flex: 0 0 auto;
  }

  .artistern-directory-sort {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .artistern-directory-result-head {
    align-items: flex-start;
  }

  .artistern-artists-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .artistern-card-visual {
    height: 150px;
  }

  .artistern-artist-card {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .artistern-card-artworks,
  .artistern-card-artwork,
  .artistern-card-artwork img,
  .artistern-card-link::after,
  .artistern-card-link svg {
    transition: none;
  }

  .artistern-artist-skeleton::before,
  .artistern-artist-skeleton span,
  .artistern-artist-skeleton i {
    animation: none;
  }
}
