/*
Theme Name: Kadence Child
Template: kadence
Version: 1.0.0
*/

body.single-artwork {
  background: #f8f7f4;
}

body.single-artwork .site-content {
  padding-top: 0;
}

.artwork-stage {
  min-height: 100svh;
  border: 5px solid #f7630c;
  display: grid;
  grid-template-columns: clamp(34px, 2.8vw, 56px) minmax(0, 1500px) clamp(34px, 2.8vw, 56px);
  gap: clamp(6px, 0.8vw, 12px);
  align-items: center;
  padding: 0;
}

.artwork-stage__plate {
  border: 2px solid #8c7d64;
  background: #fff;
  display: grid;
  grid-template-columns: 62% 38%;
  gap: clamp(18px, 2.2vw, 34px);
  padding: 2rem 1.5rem;
}

.artwork-stage__media {
  margin: 0;
  background: #202020;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(74svh, 820px);
  overflow: hidden;
}

.artwork-stage__media img {
  max-width: 100%;
  max-height: 74svh;
  width: auto;
  height: auto;
  display: block;
}

.artwork-stage__text {
  max-width: 42ch;
  margin: 0 auto;
  padding: 0 1.25rem;
  color: #3b3b3b;
  font-family: Lato, sans-serif;
}

.artwork-stage__title {
  margin: 0 0 1.05rem;
  color: #3b3b3b;
  font-family: Lora, serif;
  font-size: clamp(1.45rem, 2.1vw, 2.1rem);
  font-weight: 500;
  line-height: 1.18;
}

.artwork-stage__meta,
.artwork-stage__desc {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.artwork-stage__meta--medium {
  margin-bottom: 0.92rem;
}

.artwork-stage__meta--size {
  margin-bottom: 1.02rem;
}

.artwork-stage__desc {
  max-width: 36ch;
}

.artwork-stage__lane {
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-stage__link {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(59, 59, 59, 0.75);
  text-decoration: none;
  transition: color 0.18s ease;
}

.artwork-stage__link:hover,
.artwork-stage__link:focus {
  color: #8c7d64;
}

.artwork-stage__link--prev::before {
  content: "\2039";
  font-size: 62px;
  font-weight: 300;
  line-height: 1;
}

.artwork-stage__link--next::before {
  content: "\203A";
  font-size: 62px;
  font-weight: 300;
  line-height: 1;
}

.artwork-stage__right {
  min-height: min(74svh, 820px);
  display: grid;
  grid-template-rows: 44px 1fr;
  align-items: center;
  justify-items: center;
}

.artwork-stage__close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(59, 59, 59, 0.6);
  text-decoration: none;
  transition: color 0.18s ease;
}

.artwork-stage__close::before {
  content: "\2715";
  font-size: 33px;
  font-weight: 200;
  line-height: 1;
}

.artwork-stage__close:hover,
.artwork-stage__close:focus {
  color: #8c7d64;
}

@media (max-width: 1024px) {
  .artwork-stage {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .artwork-stage__lane,
  .artwork-stage__right {
    display: none;
  }

  .artwork-stage__plate {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }

  .artwork-stage__media {
    min-height: auto;
  }

  .artwork-stage__text {
    max-width: none;
    padding: 0;
    margin-top: 1rem;
  }
}
