/* artist block css*/
:root {
  --block-padding: 32px 0;
  --artist-hero-height: 600px;
  --swiper-pagination-bottom: 0px;
  --swiper-pagination-color: #fff;
  --swiper-pagination-bullet-opacity: 1;
  --swiper-pagination-bullet-inactive-color: #fff;
  --swiper-pagination-bullet-inactive-opacity: 0.2;
}

.artist-pdp .inner {
  max-width: calc(var(--max-content-width) + (var(--wp--style--root--padding-left) * 2));
  margin: 0 auto;
  padding: 0 var(--wp--style--root--padding-left);
}

.artist-pdp .hero {
  position: relative;
  height: var(--artist-hero-height);
  overflow: hidden;
  background: #000;
}

.artist-pdp .hero .bg {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.artist-pdp .hero .bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.artist-pdp .hero .bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.artist-pdp .hero:has(.artist-work) .bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.artist-pdp .hero:has(.artist-work) .bg img {
  opacity: 0;
}

.artist-pdp .hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;

  display: flex;
  align-items: flex-end;
  padding-bottom: 16px;
}

.artist-pdp .hero-content .inner {
  display: grid;
  align-items: center;
  gap: 16px;
}

.artist-pdp .hero-content h1 {
  color: #fff;
  text-transform: uppercase;
  font-size: 187.5%;
}

.artist-pdp .hero .inner {
  width: 100%;
}

.artist-pdp .thumbs {
  background: #000;
  color: #fff;
  padding: var(--block-padding);
}

.artist-pdp .thumbs h4 {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  line-height: 1;
}

.artist-pdp .thumbs .inner {
  display: grid;
  grid-template-columns: min-content 1fr;
  text-align: center;
  gap: 16px;
}

.artist-pdp .thumbs .works {
  display: flex;
  gap: 16px;
}

.artist-pdp .thumbs .works .work img {
  width: auto;
  height: 200px;
  object-fit: contain;
}

.artist-pdp .info {
  padding: var(--block-padding);
  clear: both;
  overflow: hidden;
}

.artist-pdp .info .grid.two-columns {
  display: grid;
  grid-template-columns: 1fr min-content;
  gap: 32px;
}

.artist-pdp .info figure {
  width: 300px;
}

.artist-pdp .info p {
  line-height: 2;
}

.artist-pdp .artist-work {
  width: 100%;
}

.artist-pdp .artist-work .details {
  width: 300px;
  height: 400px;
  background: rgba(0, 0, 0, 0.5);

  color: #fff;

  padding: 16px;

  display: grid;
  grid-template-rows: min-content min-content min-content 1fr min-content;
  gap: 16px;
}

.artist-pdp .artist-work h2 {
  font-size: 125%;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.artist-pdp .artist-work .media p {
  margin: 0 0 16px 0;
}

.artist-pdp .artist-work .year {
  font-style: italic;
  margin: 0;
  line-height: 1;
}

.artist-pdp .artist-work hr {
  width: 75px;
  margin: 0;
  background: #fff;
  border: 0;
  height: 1px;
}

.artist-pdp .artist-work .description {
  position: relative;
  overflow-y: auto;
  margin: 0 -8px 0 0;
  scrollbar-color: #888 transparent;
  scrollbar-width: thin;
}

.artist-pdp .artist-work .description ::-webkit-scrollbar {
  background: transparent;
}
.artist-pdp .artist-work .description ::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}
.artist-pdp .artist-work .description ::-webkit-scrollbar-track {
  background: transparent;
}

.artist-pdp .artist-work .description p {
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.artist-pdp .artist-work .details .button {
  background: rgba(255, 255, 255, 0.19);
  border: 0;
  padding: 16px 24px;
  cursor: pointer;
  color: #fff;
  text-transform: uppercase;
}

.artist-pdp .artist-work .details .button:hover {
  background: #67070dff;
}

.artist-pdp .artist-work .images {
  padding-bottom: 32px;
  margin-bottom: -16px;
  width: 100%;
  height: 100%;
  --swiper-pagination-bottom: 8px;
}

.artist-pdp .artist-work .images .swiper-wrapper {
  display: flex;
  width: 100vw;
}

.artist-pdp .artist-work .images .image {
  width: auto;
  flex-grow: 0;
  flex-shrink: 0;
  cursor: pointer;
}

.artist-pdp .artist-work .images .image:last-child {
  margin-right: 64px;
}

.artist-pdp .artist-work img {
  width: auto;
  height: 400px;
}

#work-inquiry-popup .inner {
  background: #fff;
  padding: 0;
  border: 0;
}

#work-inquiry-popup iframe {
  height: 100% !important;
}

@media only screen and (max-width: 767px) {
  .artist-pdp .info .grid.two-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
