/* ==========================================================
   ROOT
========================================================== */

.nux-artist-directory {

  --artist-bg: #f6f7fb;
  --artist-surface: #ffffff;

  --artist-text: #111827;
  --artist-muted: #6b7280;
  --artist-light: #9ca3af;

  --artist-border: #e1e5eb;
  --artist-border-hover: #cbd1da;

  --artist-primary: #111827;

  width: 100%;

  padding: 54px 0 72px;

  background: var(--artist-bg);

  color: var(--artist-text);

}



/* ==========================================================
   RESET
========================================================== */

.nux-artist-directory *,
.nux-artist-directory *::before,
.nux-artist-directory *::after {

  box-sizing: border-box;

}


.nux-artist-directory button,
.nux-artist-directory input {

  font: inherit;

}


.nux-artist-directory button {

  appearance: none;
  -webkit-appearance: none;

}


.nux-artist-directory a {

  text-decoration: none;

}



/* ==========================================================
   HEADER
========================================================== */

.nux-artist-directory
.nux-artist-header {

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 40px;

  width: 100%;

  margin-bottom: 28px;

}



/* ==========================================================
   HEADING
========================================================== */

.nux-artist-directory
.nux-artist-header__heading {

  display: flex;

  align-items: center;

  gap: 9px;

  flex-shrink: 0;

}


.nux-artist-directory
.nux-artist-header__mark {

  display: block;

  width: 8px;
  height: 8px;

  flex-shrink: 0;

  background: #111827;

}


.nux-artist-directory
.nux-artist-header__heading h2 {

  position: relative;

  margin: 0;

  padding-bottom: 7px;

  color: #111827;

  font-size: 30px;
  font-weight: 500;

  line-height: 1.1;

  letter-spacing: -.02em;

}


.nux-artist-directory
.nux-artist-header__heading h2::after {

  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 2px;

  background: #111827;

}



/* ==========================================================
   SEARCH
========================================================== */

.nux-artist-directory
.nux-artist-search {

  display: flex;

  align-items: center;

  width: min(520px, 50%);

  height: 46px;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #d5dae1;

  border-radius: 999px;

  transition:
    border-color .2s ease,
    box-shadow .2s ease;

}


.nux-artist-directory
.nux-artist-search:focus-within {

  border-color: #111827;

  box-shadow:
    0 0 0 3px rgba(17, 24, 39, .07);

}


.nux-artist-directory
.nux-artist-search__field {

  position: relative;

  display: flex;

  align-items: center;

  flex: 1;

  height: 100%;

}


.nux-artist-directory
.nux-artist-search__icon {

  position: absolute;

  left: 16px;

  width: 15px;
  height: 15px;

  color: #9ca3af;

  pointer-events: none;

}


.nux-artist-directory
.nux-artist-search__input {

  display: block;

  width: 100%;
  height: 100%;

  margin: 0 !important;

  padding: 0 12px 0 41px !important;

  background: transparent !important;

  border: 0 !important;
  outline: 0 !important;

  box-shadow: none !important;

  color: #111827 !important;

  font-size: 12px;

}


.nux-artist-directory
.nux-artist-search__input::placeholder {

  color: #9ca3af;

  opacity: 1;

}


.nux-artist-directory
.nux-artist-search__button {

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  height: 38px;

  margin: 0 4px 0 0 !important;

  padding: 0 21px !important;

  background: #111827 !important;

  border: 0 !important;

  border-radius: 999px !important;

  color: #ffffff !important;

  font-size: 11px;
  font-weight: 700;

  cursor: pointer;

  transition:
    background .2s ease,
    transform .2s ease;

}


.nux-artist-directory
.nux-artist-search__button:hover {

  background: #000000 !important;

}



/* ==========================================================
   FILTER WRAPPER
========================================================== */

.nux-artist-directory
.nux-artist-filter-wrapper {

  display: flex;

  justify-content: flex-end;

  width: 100%;

}



/* ==========================================================
   FILTER
========================================================== */

.nux-artist-directory
.nux-artist-filter {

  display: flex;

  align-items: center;
  justify-content: flex-end;

  width: auto;

  min-height: 40px;

}


.nux-artist-directory
.nux-artist-filter__item {

  position: relative;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: auto !important;

  min-width: 0 !important;

  min-height: 38px !important;

  margin: 0 !important;

  padding: 0 17px !important;

  background: transparent !important;

  border: 0 !important;

  border-radius: 0 !important;

  box-shadow: none !important;

  color: #6b7280 !important;

  font-size: 12px;
  font-weight: 600;

  line-height: 1;

  white-space: nowrap;

  cursor: pointer;

  transition: color .2s ease;

}


.nux-artist-directory
.nux-artist-filter__item:hover {

  color: #111827 !important;

}


.nux-artist-directory
.nux-artist-filter__item.is-active {

  color: #111827 !important;

  font-weight: 700;

}



/* ACTIVE LINE */

.nux-artist-directory
.nux-artist-filter__item.is-active::after {

  content: "";

  position: absolute;

  left: 17px;
  right: 17px;

  bottom: 0;

  height: 2px;

  background: #111827;

}



/* ==========================================================
   FILTER SEPARATOR
========================================================== */

.nux-artist-directory
.nux-artist-filter__separator {

  display: block;

  width: 1px;
  height: 16px;

  flex-shrink: 0;

  background: #d6dae0;

}



/* ==========================================================
   DIVIDER
========================================================== */

.nux-artist-directory
.nux-artist-divider {

  width: 100%;
  height: 1px;

  margin: 12px 0 14px;

  background: #dfe3e8;

}



/* ==========================================================
   RESULT
========================================================== */

.nux-artist-directory
.nux-artist-result {

  min-height: 18px;

  margin-bottom: 14px;

  color: #8b919a;

  font-size: 10px;

  text-align: right;

}



/* ==========================================================
   ARTIST GRID
========================================================== */

.nux-artist-directory
.nux-artist-grid {

  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 22px;

  width: 100%;

  align-items: stretch;

}



/* ==========================================================
   ARTIST CARD
========================================================== */

.nux-artist-directory
.nux-artist-card {

  position: relative;

  display: flex;

  flex-direction: column;

  min-width: 0;
  height: 100%;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #e1e5eb;

  border-radius: 18px;

  box-shadow:
    0 5px 16px rgba(15, 23, 42, .05);

  color: #111827;

  cursor: pointer;

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;

}


.nux-artist-directory
.nux-artist-card:hover {

  transform: translateY(-5px);

  border-color: #cbd1da;

  box-shadow:
    0 15px 35px rgba(15, 23, 42, .11);

}



/* ==========================================================
   MAIN CARD LINK
========================================================== */

.nux-artist-directory
.nux-artist-card__main-link {

  position: absolute;

  inset: 0;

  z-index: 5;

  display: block;

  width: 100%;
  height: 100%;

  border-radius: inherit;

  cursor: pointer;

}


/* Keep normal card content visually below the clickable overlay.
   The overlay handles artist navigation. */

.nux-artist-directory
.nux-artist-card__image-wrap,
.nux-artist-directory
.nux-artist-card__info {

  position: relative;

  z-index: 1;

  pointer-events: none;

}



/* ==========================================================
   IMAGE
========================================================== */

.nux-artist-directory
.nux-artist-card__image-wrap {

  position: relative;

  width: 100%;

  aspect-ratio: 4 / 3;

  overflow: hidden;

  background: #eef0f3;

}


.nux-artist-directory
.nux-artist-card__image-wrap::after {

  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      to top,
      rgba(17, 24, 39, .10),
      transparent 35%
    );

}


.nux-artist-directory
.nux-artist-card__image {

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform .45s ease;

}


.nux-artist-directory
.nux-artist-card:hover
.nux-artist-card__image {

  transform: scale(1.045);

}



/* ==========================================================
   PLACEHOLDER
========================================================== */

.nux-artist-directory
.nux-artist-card__placeholder {

  display: flex;

  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  color: #9ca3af;

}


.nux-artist-directory
.nux-artist-card__placeholder svg {

  width: 45px;
  height: 45px;

}



/* ==========================================================
   INFO
========================================================== */

.nux-artist-directory
.nux-artist-card__info {

  padding: 18px 16px 12px;

  text-align: center;

}



/* ==========================================================
   NAME
========================================================== */

.nux-artist-directory
.nux-artist-card__name {

  margin: 0;

  color: #111827;

  font-size: 18px;
  font-weight: 700;

  line-height: 1.3;

  letter-spacing: -.01em;

}



/* ==========================================================
   POSITION
========================================================== */

.nux-artist-directory
.nux-artist-card__position {

  margin: 5px 0 0;

  color: #6b7280;

  font-size: 12px;
  font-weight: 500;

  line-height: 1.4;

}



/* ==========================================================
   GEAR
========================================================== */

.nux-artist-directory
.nux-artist-card__gear {

  position: relative;

  /* Above the artist-card overlay so product tooltips can render.
     Pointer events are disabled on the container itself; only
     individual product links below are interactive. */
  z-index: 6;

  margin-top: auto;

  padding: 10px 14px 18px;

  text-align: center;

  pointer-events: none;

}


.nux-artist-directory
.nux-artist-card__gear-title {

  margin: 0 0 10px;

  color: #6b7280;

  font-size: 11px;
  font-weight: 600;

  line-height: 1.4;

  text-transform: uppercase;

  letter-spacing: .04em;

  pointer-events: none;

}



/* ==========================================================
   GEAR LIST
========================================================== */

.nux-artist-directory
.nux-artist-card__gear-list {

  display: flex;

  align-items: center;
  justify-content: center;

  flex-wrap: wrap;

  gap: 8px;

  pointer-events: none;

}



/* ==========================================================
   GEAR ITEM
========================================================== */

.nux-artist-directory
.nux-artist-gear {

  position: relative;

  z-index: 7;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 78px;
  height: 54px;

  flex-shrink: 0;

  overflow: visible;

  background: #ffffff;

  border: 1px solid #e1e5eb;

  border-radius: 10px;

    pointer-events: auto;

  cursor: pointer;

transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    background .25s ease;

}


.nux-artist-directory
.nux-artist-gear:hover {

  transform: translateY(-3px);

  background: #ffffff;

  border-color: #111827;

  box-shadow:
    0 7px 18px rgba(15, 23, 42, .10);

}



/* ==========================================================
   GEAR IMAGE
========================================================== */

.nux-artist-directory
.nux-artist-gear__image {

  display: flex;

  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  overflow: hidden;

  background: #ffffff;

  border-radius: 9px;

}


.nux-artist-directory
.nux-artist-gear__image img {

  display: block;

  width: 100%;
  height: 100%;

  padding: 4px;

  object-fit: contain;

  transition: transform .25s ease;

}


.nux-artist-directory
.nux-artist-gear:hover
.nux-artist-gear__image img {

  transform: scale(1.08);

}



/* ==========================================================
   TOOLTIP
========================================================== */

.nux-artist-directory
.nux-artist-gear__tooltip {

  position: absolute;

  left: 50%;
  bottom: calc(100% + 10px);

  z-index: 100;

  display: block;

  max-width: 190px;

  padding: 7px 11px;

  background: #111827;

  color: #ffffff;

  border-radius: 7px;

  box-shadow:
    0 6px 18px rgba(15, 23, 42, .18);

  font-size: 10px;
  font-weight: 600;

  line-height: 1.3;

  text-align: center;

  white-space: nowrap;

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transform:
    translateX(-50%)
    translateY(5px);

  transition:
    opacity .2s ease,
    visibility .2s ease,
    transform .2s ease;

}



/* TOOLTIP ARROW */

.nux-artist-directory
.nux-artist-gear__tooltip::after {

  content: "";

  position: absolute;

  top: 100%;
  left: 50%;

  transform: translateX(-50%);

  border-width: 5px;
  border-style: solid;

  border-color:
    #111827
    transparent
    transparent
    transparent;

}



/* SHOW TOOLTIP */

.nux-artist-directory
.nux-artist-gear:hover
.nux-artist-gear__tooltip {

  opacity: 1;
  visibility: visible;

  transform:
    translateX(-50%)
    translateY(0);

}



/* ==========================================================
   EMPTY RESULT
========================================================== */

.nux-artist-directory
.nux-artist-empty {

  padding: 65px 20px;

  background: #ffffff;

  border: 1px solid #e1e5eb;

  border-radius: 16px;

  text-align: center;

}


.nux-artist-directory
.nux-artist-empty[hidden] {

  display: none !important;

}


.nux-artist-directory
.nux-artist-empty__icon {

  display: flex;

  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  margin: 0 auto 12px;

  background: #f3f4f6;

  border-radius: 50%;

  color: #6b7280;

}


.nux-artist-directory
.nux-artist-empty__icon svg {

  width: 21px;
  height: 21px;

}


.nux-artist-directory
.nux-artist-empty h3 {

  margin: 0 0 6px;

  color: #111827;

  font-size: 16px;

}


.nux-artist-directory
.nux-artist-empty p {

  margin: 0;

  color: #6b7280;

  font-size: 12px;

}



/* ==========================================================
   PAGINATION
========================================================== */

.nux-artist-directory
.nux-artist-pagination {

  display: flex;

  align-items: center;
  justify-content: center;

  flex-wrap: wrap;

  gap: 7px;

  width: 100%;

  margin-top: 36px;

}


.nux-artist-directory
.nux-artist-pagination[hidden] {

  display: none !important;

}


.nux-artist-directory
.nux-artist-pagination__pages {

  display: flex;

  align-items: center;

  gap: 5px;

}


.nux-artist-directory
.nux-artist-pagination__nav,
.nux-artist-directory
.nux-artist-pagination__page {

  display: flex;

  align-items: center;
  justify-content: center;

  height: 40px;

  background: #ffffff;

  border: 1px solid #d2d7df;

  border-radius: 9px;

  color: #111827;

  font-size: 11px;
  font-weight: 700;

  cursor: pointer;

  transition: all .2s ease;

}


.nux-artist-directory
.nux-artist-pagination__nav {

  min-width: 100px;

  gap: 6px;

  padding: 0 13px;

}


.nux-artist-directory
.nux-artist-pagination__page {

  width: 40px;

  padding: 0;

}


.nux-artist-directory
.nux-artist-pagination__nav:hover:not(:disabled),
.nux-artist-directory
.nux-artist-pagination__page:hover,
.nux-artist-directory
.nux-artist-pagination__page.is-active {

  background: #111827;

  border-color: #111827;

  color: #ffffff;

}


.nux-artist-directory
.nux-artist-pagination__nav:disabled {

  opacity: .35;

  cursor: not-allowed;

}


.nux-artist-directory
.nux-artist-pagination__ellipsis {

  display: flex;

  align-items: center;
  justify-content: center;

  width: 25px;
  height: 40px;

  color: #6b7280;

  font-size: 12px;

}



/* ==========================================================
   BACK TO TOP
========================================================== */

.nux-artist-back-top {

  position: fixed;

  right: 24px;
  bottom: 24px;

  z-index: 999;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  padding: 0;

  background: #111827;

  border: 1px solid #111827;

  border-radius: 999px;

  box-shadow:
    0 8px 20px rgba(15, 23, 42, .15);

  color: #ffffff;

  font-size: 17px;
  font-weight: 600;

  line-height: 1;

  cursor: pointer;

  opacity: 0;
  visibility: hidden;

  transform: translateY(15px);

  transition:
    opacity .3s ease,
    visibility .3s ease,
    transform .3s ease,
    background .2s ease;

}


.nux-artist-back-top.show {

  opacity: 1;
  visibility: visible;

  transform: translateY(0);

}


.nux-artist-back-top:hover {

  background: #000000;

  transform: translateY(-2px);

}



/* ==========================================================
   LAPTOP
========================================================== */

@media screen and (max-width: 1200px) {

  .nux-artist-directory
  .nux-artist-grid {

    grid-template-columns:
      repeat(3, minmax(0, 1fr));

  }

}



/* ==========================================================
   TABLET
========================================================== */

@media screen and (max-width: 900px) {

  .nux-artist-directory
  .nux-artist-header {

    gap: 25px;

  }


  .nux-artist-directory
  .nux-artist-search {

    width: min(480px, 60%);

  }


  .nux-artist-directory
  .nux-artist-grid {

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 18px;

  }

}



/* ==========================================================
   MOBILE
========================================================== */

@media screen and (max-width: 600px) {

  .nux-artist-directory {

    padding: 30px 0 48px;

  }



  /* ======================================================
     HEADER
  ====================================================== */

  .nux-artist-directory
  .nux-artist-header {

    display: grid;

    grid-template-columns: 1fr;

    gap: 17px;

    margin-bottom: 18px;

  }


  .nux-artist-directory
  .nux-artist-header__mark {

    width: 6px;
    height: 6px;

  }


  .nux-artist-directory
  .nux-artist-header__heading h2 {

    font-size: 20px;

  }



  /* ======================================================
     SEARCH
  ====================================================== */

  .nux-artist-directory
  .nux-artist-search {

    width: 100%;

    height: 42px;

  }


  .nux-artist-directory
  .nux-artist-search__icon {

    left: 13px;

    width: 13px;
    height: 13px;

  }


  .nux-artist-directory
  .nux-artist-search__input {

    padding-left: 35px !important;

    font-size: 10px;

  }


  .nux-artist-directory
  .nux-artist-search__button {

    height: 34px;

    padding: 0 15px !important;

    font-size: 9px;

  }



  /* ======================================================
     FILTER
  ====================================================== */

  .nux-artist-directory
  .nux-artist-filter-wrapper {

    display: block;

    width: 100%;

    overflow: hidden;

  }


  .nux-artist-directory
  .nux-artist-filter {

    justify-content: flex-start;

    width: 100%;

    overflow-x: auto;

    padding-bottom: 5px;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

  }


  .nux-artist-directory
  .nux-artist-filter::-webkit-scrollbar {

    display: none;

  }


  .nux-artist-directory
  .nux-artist-filter__item {

    flex: 0 0 auto;

    min-height: 33px !important;

    padding: 0 11px !important;

    font-size: 9px;

  }


  .nux-artist-directory
  .nux-artist-filter__item.is-active::after {

    left: 11px;
    right: 11px;

  }


  .nux-artist-directory
  .nux-artist-filter__separator {

    height: 13px;

  }



  /* ======================================================
     DIVIDER
  ====================================================== */

  .nux-artist-directory
  .nux-artist-divider {

    margin-top: 8px;
    margin-bottom: 10px;

  }



  /* ======================================================
     RESULT
  ====================================================== */

  .nux-artist-directory
  .nux-artist-result {

    margin-bottom: 9px;

    font-size: 8px;

  }



  /* ======================================================
     KEEP 2 COLUMNS
  ====================================================== */

  .nux-artist-directory
  .nux-artist-grid {

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 10px;

  }



  /* ======================================================
     CARD
  ====================================================== */

  .nux-artist-directory
  .nux-artist-card {

    border-radius: 14px;

  }


  .nux-artist-directory
  .nux-artist-card__image-wrap {

    aspect-ratio: 4 / 3;

  }



  /* INFO */

  .nux-artist-directory
  .nux-artist-card__info {

    padding:
      11px
      8px
      7px;

  }



  /* NAME */

  .nux-artist-directory
  .nux-artist-card__name {

    font-size: 14px;

    line-height: 1.25;

  }



  /* POSITION */

  .nux-artist-directory
  .nux-artist-card__position {

    margin-top: 3px;

    font-size: 10px;

    line-height: 1.3;

  }



  /* ======================================================
     GEAR
  ====================================================== */

  .nux-artist-directory
  .nux-artist-card__gear {

    padding:
      7px
      7px
      11px;

  }


  .nux-artist-directory
  .nux-artist-card__gear-title {

    margin-bottom: 6px;

    font-size: 9px;

    letter-spacing: .03em;

  }



  /* 4 GEAR ITEMS */

  .nux-artist-directory
  .nux-artist-card__gear-list {

    display: grid;

    grid-template-columns:
      repeat(4, minmax(0, 1fr));

    gap: 5px;

  }


  .nux-artist-directory
  .nux-artist-gear {

    width: 100%;
    height: 34px;

    border-radius: 7px;

  }


  .nux-artist-directory
  .nux-artist-gear__image {

    border-radius: 6px;

  }


  .nux-artist-directory
  .nux-artist-gear__image img {

    padding: 2px;

  }


  .nux-artist-directory
  .nux-artist-gear__tooltip {

    padding: 5px 7px;

    font-size: 9px;

  }



  /* ======================================================
     PAGINATION
  ====================================================== */

  .nux-artist-directory
  .nux-artist-pagination {

    margin-top: 28px;

    gap: 5px;

  }


  .nux-artist-directory
  .nux-artist-pagination__nav {

    min-width: auto;

    height: 36px;

    padding: 0 9px;

    font-size: 9px;

  }


  .nux-artist-directory
  .nux-artist-pagination__page {

    width: 36px;
    height: 36px;

    font-size: 9px;

  }



  /* BACK TO TOP */

  .nux-artist-back-top {

    right: 14px;
    bottom: 14px;

    width: 38px;
    height: 38px;

    font-size: 15px;

  }

}



/* ==========================================================
   VERY SMALL MOBILE
========================================================== */

@media screen and (max-width: 380px) {

  .nux-artist-directory
  .nux-artist-grid {

    gap: 8px;

  }


  .nux-artist-directory
  .nux-artist-card__info {

    padding:
      10px
      6px
      6px;

  }


  .nux-artist-directory
  .nux-artist-card__name {

    font-size: 13px;

  }


  .nux-artist-directory
  .nux-artist-card__position {

    font-size: 9px;

  }


  .nux-artist-directory
  .nux-artist-card__gear {

    padding:
      6px
      6px
      10px;

  }


  .nux-artist-directory
  .nux-artist-card__gear-list {

    gap: 4px;

  }


  .nux-artist-directory
  .nux-artist-gear {

    height: 31px;

  }

}