.gallery-detail {
  padding-top: 70px;
  padding-bottom: 36rem;
  background: linear-gradient(234.06deg, #280550 18.17%, rgba(40, 5, 80, 0) 89.69%), #000000;
}

.gallery-detail-header {
  display: flex;
  gap: 50rem;
  justify-content: center;
}

.gallery-detail-gap {
  /* flex: 1 1 calc((100% / 2) - 50rem); */
}

.gallery-detail-category-body {
  display: none;
}

.gallery-detail-category-body_active {
  display: block;
}

.gallery-detail-header-left {
  display: flex;
  flex-wrap: wrap;
  width: 50%;
  /* justify-content: center; */
}

.gallery-detail-date-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 32rem;
}

.gallery-detail-social {
  margin-left: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16rem;
}

.gallery-detail-social-title {
  font-size: 14rem;
  text-transform: uppercase;
  color: #FFFFFF;
}

.gallery-detail-social-items {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20rem;
}

.gallery-detail-social-item {
  width: 24px;
  cursor: pointer;
  transition: .3s;
}

.gallery-detail-social-item:hover {
  opacity: .7;
}

.gallery-detail-bottom-share {
  margin: 94rem auto 0;
  max-width: 910px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.breadcrumbs {
  width: 100%;
  font-weight: 400;
  font-size: 16rem;
  line-height: 20rem;
  letter-spacing: -1%;
  color: rgb(255, 255, 255, 0.5);
  margin-top: 39rem;
}

.breadcrumbs-mobile {
  display: none;
  width: 100%;
  font-weight: 400;
  font-size: 16rem;
  line-height: 20rem;
  letter-spacing: -1%;
  color: rgb(255, 255, 255, 0.5);
  margin-top: 39rem
}

.breadcrumbs span,
.breadcrumbs-mobile span {
  color: rgb(255, 255, 255, 1);
}

.breadcrumbs a {
  transition: .3s;
  margin: 0 6px;
}

.breadcrumbs a:first-child {
  margin-left: 0;
}

.breadcrumbs a:hover {
  color: #fff;
}


.breadcrumbs span {
  margin-left: 6px;
}

.gallery-detail-info {
  align-self: flex-end;
  width: 100%;
  max-width: 910px;
  margin-top: 38rem;
}

.gallery-detail-direction {
  font-size: 14rem;
  line-height: 150%;
  color: #FFFFFF80;
  text-transform: uppercase;
  /* height: 52px; */
  /* max-height: 52px; */
  overflow: hidden;
}

.gallery-detail-theme {
  font-size: 14rem;
  line-height: 150%;
  color: #49F2D6;
  text-transform: uppercase;
  /* height: 52px; */
  /* max-height: 52px; */
  overflow: hidden;
}

.gallery-detail-name {
  font-size: 40rem;
  margin: 38px 0;
  text-transform: uppercase;
}

.gallery-detail-date {
  flex-shrink: 0;
  font-size: 20rem;
  color: rgb(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.gallery-detail-button {
  margin-bottom: 48rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  font-size: 14rem;
  letter-spacing: 4%;
  text-transform: uppercase;
  width: fit-content;
  padding: 16rem 32rem;
  border-radius: 96rem;
  background: radial-gradient(50% 50% at 50% 50%, #963EC6 0%, #00ADDD 100%);
  box-shadow: 0 0 32rem 0 #77D8C0 inset;
  overflow: hidden;
  gap: 10rem;
  flex: none;
  z-index: 0;
  cursor: pointer;
}

.gallery-detail-button_disabled {
  pointer-events: none;
  opacity: 0.8;
}

.gallery-detail-button:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0;
  background: radial-gradient(92.53% 119.79% at 50% 50%, #963EC6 0%, #00ADDD 100%);
  box-shadow: 0 0 32rem 0 #77D8C0 inset;
  transition-duration: 350ms;
  transition-property: opacity;
  z-index: -1;
}

.gallery-detail-button:hover:before {
  opacity: 1;
}

.gallery-detail-button svg {
  width: 16rem;
  flex: none;
}

.gallery-detail-header-right {
  border-radius: 24rem;
  overflow: hidden;
  width: 50%;
}

.gallery-detail-header-right img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-detail-categories {
  margin-top: 72rem;
  margin-bottom: 48px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8rem;
  flex-wrap: wrap;
}

.gallery-detail-category {
  width: fit-content;
  padding: 16rem 32rem;
  border-radius: 99px;
  background-color: #2A0959;
  cursor: pointer;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: .3s;
  font-size: 20rem;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.gallery-detail-category:hover {
  box-shadow: 0px 0px 64px 0px #77D8C040 inset;
}

.gallery-detail-category_active {
  border-color: #49F2D6;
}

.gallery-detail-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.gallery-detail-item__img-container {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-detail-item__img-container img:not([class]) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-detail-item__tools {
  margin-top: 16rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16rem;
}

.gallery-detail-item__download {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 14rem;
  color: #fff;
  gap: 8rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: .3s;
}

.gallery-detail-item__download:hover {
  color: #49F2D6;
}

.gallery-detail-item__download svg {
  width: 16rem;
}

.gallery-detail-item__choice {
  margin-left: auto;
  cursor: pointer;
  user-select: none;
}

.gallery-detail-item__choice-input {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 14rem;
  color: #fff;
  gap: 8rem;
  text-transform: uppercase;
}

.gallery-detail-item__choice-input-check {
  width: 20rem;
  height: 20rem;
  border-radius: 4rem;
  background: #2A0959;
  border: 1px solid #49F2D6;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.gallery-detail-item__choice-input-check>* {
  opacity: 0;
  width: 80%;
}

.gallery-detail-item__choice input {
  display: none;
}

.gallery-detail-item__choice input:checked~.gallery-detail-item__choice-input .gallery-detail-item__choice-input-text {
  display: none;
}

.gallery-detail-item__choice input:checked~.gallery-detail-item__choice-input .gallery-detail-item__choice-input-check {
  background-color: #49F2D6;
}

.gallery-detail-item__choice input:checked~.gallery-detail-item__choice-input .gallery-detail-item__choice-input-check>* {
  opacity: 1;
}

.gallery-detail-item__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  cursor: pointer;
  transition: .3s;
  z-index: 3;
}

.gallery-detail-item__play:hover {
  opacity: .8;
}

.gallery-detail-item_video .gallery-detail-item__img-container::before {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #00000099;
  display: block;
  content: "";
  z-index: 2;
}

.gallery-detail-body {
  position: relative;
}

.gallery-detail-current-wrap {
  grid-column: span 4;
  position: sticky;
  bottom: 16rem;
  z-index: 10;
}

.gallery-detail-current {
  padding: 20rem 24rem;
  margin-left: auto;
  background: #2F065D;
  box-shadow: inset 0px 0px 64px rgba(75, 219, 191, 0.25);
  border-radius: 24px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: fit-content;
  /*gap: 120rem;*/
  flex-direction: column;
}

.gallery-detail-current-buttons {
  display: flex;
  column-wrap: nowrap;
  gap: 10px;
  margin-top: 20px;
}

.gallery-detail-current-clear {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  font-size: 14rem;
  letter-spacing: 4%;
  text-transform: uppercase;
  width: fit-content;
  padding: 16rem 32rem;
  border-radius: 96rem;
  background: transparent;
  overflow: hidden;
  gap: 10rem;
  flex: none;
  z-index: 0;
  cursor: pointer;
  border: 1px solid #00ADDD;
}

.gallery-detail-current-download {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  font-size: 14rem;
  letter-spacing: 4%;
  text-transform: uppercase;
  width: fit-content;
  padding: 16rem 32rem;
  border-radius: 96rem;
  background: radial-gradient(50% 50% at 50% 50%, #963EC6 0%, #00ADDD 100%);
  box-shadow: 0 0 32rem 0 #77D8C0 inset;
  overflow: hidden;
  gap: 10rem;
  flex: none;
  z-index: 0;
  cursor: pointer;
}

.gallery-detail-current-download_disabled {
  pointer-events: none;
  opacity: 0.8;
}

.gallery-detail-current-download:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0;
  background: radial-gradient(92.53% 119.79% at 50% 50%, #963EC6 0%, #00ADDD 100%);
  box-shadow: 0 0 32rem 0 #77D8C0 inset;
  transition-duration: 350ms;
  transition-property: opacity;
  z-index: -1;
}

.gallery-detail-current-download:hover:before {
  opacity: 1;
}

.gallery-detail-current-download svg {
  width: 16rem;
  flex: none;
}

.gallery-detail-current-count {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8rem;
}

.gallery-detail-current-count-title {
  font-size: 18rem;
  color: #FFFFFF80;
}

.gallery-detail-current-count-items {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.gallery-detail-current-count-item {
  font-size: 18rem;
  color: #FFFFFF;
}

@media (max-width: 1279px) {

  .breadcrumbs {
    margin-top: 0;
  }

  .gallery-detail-header-right {
    width: 60%;
  }

  .gallery-detail-header-right img {
    height: 100%;
  }

  .gallery-detail-name {
    font-size: 30rem;
    margin: 32rem 0;
  }

  .gallery-detail-header-left {
    flex-shrink: 0;
    width: 40%;
  }

  .gallery-detail-date-wrap {
    flex-wrap: wrap;
  }

  .gallery-detail-date span {
    display: block;
  }

  span.gallery-detail-date-separator {
    display: none;
  }

  .gallery-detail-header {
    gap: 32rem;
  }

  .gallery-detail-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32rem 16rem;
  }

  .gallery-detail-current-wrap {
    grid-column: span 2;
  }

}

@media (max-width: 767px) {
  .gallery-detail-header-right {
    width: 100%;
  }

  .gallery-detail-header-right img {
    width: 100%;
    height: auto;
  }

  .gallery-detail-info {
    margin-top: 0;
  }

  .breadcrumbs-mobile {
    display: block;
    margin-bottom: 40rem;
  }

  .gallery-detail-header {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .gallery-detail-header-right img {
    max-height: 100%;
  }

  .breadcrumbs {
    display: none;
  }

  .gallery-detail-category {
    font-size: 16rem;
  }

  .gallery-detail-list {
    grid-template-columns: 1fr;
    gap: 40rem;
  }

  .gallery-detail-current-wrap {
    grid-column: span 1;
  }

  .gallery-detail-current {
    flex-direction: column;
    gap: 32rem;
  }

  .gallery-detail-header-left {
    width: 100%;
  }

  .gallery-detail-category {
    padding: 16rem 24rem;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: #2a0959;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition-duration: 350ms;
  transition-property: opacity, visibility;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__track {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 86rem;
  transform: translateY(-50%);
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-y;
  user-select: none;
}

@media (max-width: 1279px) {
  .lightbox__track {
    gap: 16rem;
  }
}

.lightbox__slide {
  position: relative;
  width: 1632rem;
  height: 87.3vh;
  max-height: 943rem;
  flex: none;

  /* overflow: hidden; */
  transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1), height 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1279px) {
  .lightbox__slide {
    width: calc(100vw - 64rem);
    height: auto;
    aspect-ratio: 1632 / 943;
    border-radius: 16rem;
  }
}

.lightbox__slide:not(.active) {
  opacity: 0.55;
  height: 60vh;
}

@media (max-width: 1279px) {
  .lightbox__slide:not(.active) {
    height: auto;
  }
}

.lightbox__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25rem;
}

.lightbox__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25rem;
}

.lightbox__slide iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25rem;
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48rem;
  height: 48rem;
  z-index: 2;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(50% 50% at 50% 50%, #963EC6 0%, #00ADDD 100%);
  cursor: pointer;
  overflow: hidden;
  touch-action: manipulation;
}

.lightbox__arrow:active {
  transform: translateY(-50%) scale(0.92);
}

.lightbox__arrow--prev {
  left: 77rem;
}

@media (max-width: 1279px) {
  .lightbox__arrow--prev {
    left: 8rem;
  }
}

.lightbox__arrow--next {
  right: 77rem;
}

@media (max-width: 1279px) {
  .lightbox__arrow--next {
    right: 8rem;
  }
}

.lightbox__close {
  position: absolute;
  top: 22rem;
  right: 24rem;
  width: 48rem;
  height: 48rem;
  z-index: 2;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(50% 50% at 50% 50%, #963EC6 0%, #00ADDD 100%);
  cursor: pointer;
  overflow: hidden;
}

.lightbox__close:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0;
  background: radial-gradient(92.53% 119.79% at 50% 50%, #963EC6 0%, #00ADDD 100%);
  box-shadow: 0 0 32rem 0 #77D8C0 inset;
  transition-duration: 350ms;
  transition-property: opacity;
  z-index: 1;
}

.lightbox__close:hover::before {
  opacity: 1;
}

.lightbox__close svg {
  width: 16rem;
  position: relative;
  z-index: 2;
}

.lightbox__arrow:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0;
  background: radial-gradient(92.53% 119.79% at 50% 50%, #963EC6 0%, #00ADDD 100%);
  box-shadow: 0 0 32rem 0 #77D8C0 inset;
  transition-duration: 350ms;
  transition-property: opacity;
  z-index: 1;
}

.lightbox__arrow:hover::before {
  opacity: 1;
}

.lightbox__arrow svg {
  width: 16rem;
  position: relative;
  z-index: 2;
}

.lightbox__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30rem;
  z-index: 2;
}

.pagination {
  display: none !important;
  justify-content: center;
  align-items: center;
  gap: 8rem;
}

@media (max-width: 1279px) {
  .pagination {
    flex-wrap: wrap;
    row-gap: 8rem;
    padding: 0 16rem;
  }
}

.pagination__dot {
  display: block;
  width: 8rem;
  height: 8rem;
  background-color: #fff;
  border-radius: 8rem;
  transition-duration: 350ms;
  transition-property: width, background-color, border-radius;
  flex: none;
  cursor: pointer;
}

.pagination__dot.active {
  background-color: #49f2d6;
  width: 48rem;
}

.lightbox__download {
  margin-bottom: 24rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 14rem;
  color: #fff;
  gap: 8rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: .3s;
}

.lightbox__download:hover {
  color: #49F2D6;
}

.lightbox__download svg {
  width: 16rem;
}