.home-art-slider .splide__track,
.artist-list .splide__track {
  overflow: visible;
}

.home-art-slider .splide__list {
  align-items: flex-end;
}

.art-content h5 {
  margin-top: 0;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.art-content {
  margin-top: 1.25rem;
}

.home-art-slider .art-content {
  min-height: 3.125rem;
}

.art-img-wrapper {
  display: flex;
  align-items: flex-end;
  position: relative;
}

.sold-tag {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  line-height: 1;
  margin-bottom: 2px;
}

.sold-art .art-img-wrapper:after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--e-global-color-primary);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.sold-art:hover .art-img-wrapper:after {
  opacity: 0;
}

.sold-art .art-img-wrapper img {
  filter: grayscale(1);
}

.sold-art:hover .art-img-wrapper img {
  filter: none;
}

.art-img-wrapper img {
  width: auto;
  height: auto;
  max-height: 493px;
  transition: filter 0.3s ease;
}

.splide {
  cursor: grab;
}

.splide:focus,
.splide:active {
  cursor: grabbing;
}

.artist-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.artist-wrapper .artist-item {
  order: -1;
  width: calc(50% - 0.75rem);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

button.toggle-info:before {
  content: "";
  position: absolute;
  inset: 0;
}

.artist-wrapper .art-img-wrapper {
  flex-grow: 1;
}

.toggle-info {
  text-transform: uppercase;
  margin-top: 20px;
}

.artist-content {
  display: none;
  width: 100%;
}


.artist-description {
  column-count: 2;
  margin-top: 3rem;
  margin-bottom: 3rem;
  column-gap: 1.5rem;
}

.artist-description p {
  padding-right: 2.5rem;
}

.artist-item.blurred {
  filter: blur(4px);
  opacity: 0.6;
  /* pointer-events: none; */
  transition: all 0.3s ease;
}

.artist-item .art-img-wrapper img {
  max-height: 667px;
  max-width: 90%;
}

.artist-item .art-img-wrapper .sold-tag{
  margin-bottom: 8px;
}

.artist-list .splide__list {
  align-items: flex-end;
}

.art-desc h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.art-desc p {
  margin-bottom: 0;
}

.artist-content .art-content {
  margin-top: 0.625rem;
}

.artist-content .art-content p {
  margin-bottom: 0;
}

.artist-list .artist-item .art-desc {
  min-height: 114px;
}

.artist-list .artist-wrapper .artist-item .art-img-wrapper {
  display: inline-flex;
  align-self: flex-start;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.artist-list .artist-wrapper .artist-item .art-img-wrapper:after {
  max-width: 90%;
  content: none;
}

.artist-list .artist-wrapper .artist-item .art-img-wrapper>div {
  display: inline-block;
  position: relative;
}

.artist-list .artist-wrapper .artist-item .art-img-wrapper>div img {
  vertical-align: top;
}

.artist-list .artist-wrapper .artist-item.sold-art .art-img-wrapper>div:after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--e-global-color-primary);
  opacity: 0.5;
  transition: all 0.3s ease;
  max-width: 90%;
}

.artist-list .artist-wrapper .artist-item.sold-art:hover .art-img-wrapper>div:after {
  opacity: 0;
}

@media (max-width: 767px) {
  .artist-item .art-img-wrapper img {
    max-height: 500px;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .art-img-wrapper img {
    max-height: 300px;
    max-width: 70vw;
  }

  .artist-wrapper .artist-item {
    order: initial;
    width: 100%;
  }

  .artist-description {
    column-count: 1;
  }

  .artist-wrapper .artist-item~.artist-item {
    margin-top: 6.7rem;
  }

  .artist-wrapper {
    margin-bottom: 6.7rem;
  }

  .artist-wrapper:last-child {
    margin-bottom: 0;
  }

  .artist-item .art-img-wrapper img {
    max-width: 100%;
    width: 100%;
    max-height: none;
  }

  .artist-description p {
    padding-right: 0;
  }

  .artist-description {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .artist-content .art-img-wrapper img {
    width: 100%;
    max-width: 100%;
    max-height: none;
  }

  .artist-content .splide__pagination {
    bottom: -3em;
  }

  .artist-list .splide__pagination__page {
    width: 9px;
    height: 9px;
    border: 1px solid var(--e-global-color-primary);
    border-radius: 100%;
  }

  .artist-list .splide__pagination__page.is-active,
  .artist-list .splide__pagination__page:focus {
    background-color: var(--e-global-color-primary);
  }

  .artist-item.blurred {
    filter: none;
    opacity: 1;
  }

  .artist-list .artist-wrapper .artist-item .art-img-wrapper:after , .artist-list .artist-wrapper .artist-item.sold-art .art-img-wrapper>div:after{
    max-width: 100%;
  }

  .artist-list .artist-wrapper .artist-item .art-img-wrapper {
    display: flex;
    width: 100%;
  }
}