.gallery--fullscreen * {
  box-sizing: border-box;
}
.gallery--fullscreen {
  color-scheme: light dark;
  --swiper-navigation-color: #fafafa;
  --swiper-navigation-size: 2.5rem;
  --swiper-navigation-sides-offset: 0;
  --gallery-svg-width: 1.5rem;
  --gallery-svg-width-big: 2rem;
  --gallery-sidebar: 290px;
  --back-light: #fafafa;
  --back-dark: #111;
  --border-light: #efefef;
  --border-dark: #222;
  --gradient-light: linear-gradient(to left top, #fff, #fff, #e0e0e0);
  --gradient-dark: linear-gradient(to left top, #222, #111, #000);
  color: light-dark(#333b3c, #fafafa);
  background-color: light-dark(#fff, #18181a);
  -webkit-font-smoothing: antialiased; /* Better on Mac */
  -moz-osx-font-smoothing: grayscale; /* Better on Mac Firefox */
  text-rendering: optimizeLegibility; /* Improved quality everywhere */
}
.gallery--fullscreen img, .gallery--fullscreen svg {
  display: block;
  max-width: 100%;
  height: auto;
}
.gallery--fullscreen .gallery--wrapper .gallery--sidebar .swiper--title, .gallery--fullscreen .gallery--wrapper .gallery--main .img--info .img--title {
  font-size: 1.063rem;
  font-weight: 600;
  line-height: 1lh;
  margin-bottom: 0.25rem;
}
.gallery--fullscreen .gallery--wrapper .gallery--sidebar .swiper--caption, .gallery--fullscreen .gallery--wrapper .gallery--main .img--info .img--caption {
  font-size: 0.938rem;
  margin-bottom: 0.25rem;
  line-height: 1lh;
}
.gallery--fullscreen .gallery--wrapper .gallery--sidebar .swiper--source, .gallery--fullscreen .gallery--wrapper .gallery--main .img--info .img--source {
  font-size: 0.813rem;
  font-weight: 300;
  line-height: 1lh;
  color: #808080;
}
.gallery--fullscreen {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
}
.gallery--fullscreen .gallery--header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 3rem;
  padding-inline: 1rem;
  background: light-dark(var(--back-light), var(--back-dark));
  border-bottom: 1px solid light-dark(var(--border-light), var(--border-dark));
}
@media (width < 940px) {
  .gallery--fullscreen .gallery--header {
    padding-inline: 0.5rem;
  }
}
.gallery--fullscreen .gallery--header h2 {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
}
.gallery--fullscreen .gallery--header button {
  all: unset;
}
.gallery--fullscreen .gallery--header button:hover {
  cursor: pointer;
}
.gallery--fullscreen .gallery--header svg {
  width: var(--gallery-svg-width);
  height: var(--gallery-svg-width);
}
.gallery--fullscreen .gallery--wrapper {
  height: calc(100svh - 3rem);
}
@media (width >= 940px) {
  .gallery--fullscreen .gallery--wrapper {
    display: flex;
  }
}
@media (width < 940px) {
  .gallery--fullscreen .gallery--wrapper:has(.swiper-slide.swiper-slide-zoomed) .swiper-button-nav .swiper-button-prev {
    transform: translateX(calc(-100% - var(--swiper-navigation-size)));
  }
  .gallery--fullscreen .gallery--wrapper:has(.swiper-slide.swiper-slide-zoomed) .swiper-button-nav .swiper-button-next {
    transform: translateX(calc(100% + var(--swiper-navigation-size)));
  }
}
@media (width < 940px) {
  .gallery--fullscreen .gallery--wrapper:has(.swiper-slide.swiper-slide-zoomed) .img--info {
    transform: translateY(100%);
  }
}
.gallery--fullscreen .gallery--wrapper .gallery--main .swiper-slide {
  overflow: hidden;
}
.gallery--fullscreen .gallery--wrapper .gallery--main:has(.swiper-slide.swiper-slide-zoomed) .swiper-button-nav .swiper-button-prev {
  transform: translateX(calc(-100% - var(--swiper-navigation-size)));
}
.gallery--fullscreen .gallery--wrapper .gallery--main:has(.swiper-slide.swiper-slide-zoomed) .swiper-button-nav .swiper-button-next {
  transform: translateX(calc(100% + var(--swiper-navigation-size)));
}
@media (width < 940px) {
  .gallery--fullscreen .gallery--wrapper .gallery--main {
    height: calc(100% - 300px);
  }
}
@media (width >= 940px) {
  .gallery--fullscreen .gallery--wrapper .gallery--main {
    width: calc(100% - 332px);
  }
}
.gallery--fullscreen .gallery--wrapper .gallery--main .swiper, .gallery--fullscreen .gallery--wrapper .gallery--main .swiper-slide {
  height: 100%;
}
.gallery--fullscreen .gallery--wrapper .gallery--main .swiper-button-nav .swiper-button-prev, .gallery--fullscreen .gallery--wrapper .gallery--main .swiper-button-nav .swiper-button-next {
  transition: transform 250ms ease-in-out;
}
.gallery--fullscreen .gallery--wrapper .gallery--main .swiper-button-nav > div {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}
@media (width < 940px) {
  .gallery--fullscreen .gallery--wrapper .gallery--main .swiper-button-nav svg {
    width: var(--gallery-svg-width);
    height: var(--gallery-svg-width);
  }
}
@media (width >= 940px) {
  .gallery--fullscreen .gallery--wrapper .gallery--main .swiper-button-nav svg {
    width: var(--gallery-svg-width-big);
    height: var(--gallery-svg-width-big);
  }
}
.gallery--fullscreen .gallery--wrapper .gallery--main .img--info.is-expanded .img--title, .gallery--fullscreen .gallery--wrapper .gallery--main .img--info.is-expanded .img--caption {
  white-space: wrap;
}
.gallery--fullscreen .gallery--wrapper .gallery--main .img--info {
  transition: transform 250ms ease-in-out, height 250ms ease-in-out;
}
@media (width < 940px) {
  .gallery--fullscreen .gallery--wrapper .gallery--main .img--info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    padding: 0.75rem;
  }
}
@media (width >= 940px) {
  .gallery--fullscreen .gallery--wrapper .gallery--main .img--info {
    display: none;
  }
}
.gallery--fullscreen .gallery--wrapper .gallery--main .img--info .img--title {
  font-size: 1rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #fff;
}
.gallery--fullscreen .gallery--wrapper .gallery--main .img--info .img--title span.slide--counter {
  display: inline-block;
  font-size: 0.813rem;
  font-weight: 300;
  color: #808080;
  margin-right: 0.25rem;
  vertical-align: center;
}
.gallery--fullscreen .gallery--wrapper .gallery--main .img--info .img--caption {
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #fff;
}
.gallery--fullscreen .gallery--wrapper .gallery--main .img--info .img--source {
  color: #808080;
}
.gallery--fullscreen .gallery--wrapper .gallery--sidebar {
  display: flex;
  flex-direction: column;
  background: light-dark(var(--back-light), var(--back-dark));
}
@media (width < 940px) {
  .gallery--fullscreen .gallery--wrapper .gallery--sidebar {
    height: 300px;
    border-top: 1px solid light-dark(var(--border-light), var(--border-dark));
  }
}
@media (width >= 940px) {
  .gallery--fullscreen .gallery--wrapper .gallery--sidebar {
    width: 332px;
    border-left: 1px solid light-dark(var(--border-light), var(--border-dark));
  }
}
@media (width < 940px) {
  .gallery--fullscreen .gallery--wrapper .gallery--sidebar .sidebar--content {
    display: none;
    padding: 0.5rem;
  }
}
@media (width >= 940px) {
  .gallery--fullscreen .gallery--wrapper .gallery--sidebar .sidebar--content {
    padding: 1rem;
  }
  .gallery--fullscreen .gallery--wrapper .gallery--sidebar .sidebar--content .slide--counter {
    display: none;
    font-size: 0.875rem;
    font-weight: 300;
    color: #808080;
    margin-bottom: 0.5rem;
    vertical-align: center;
    margin-left: 0.25rem;
  }
}
.gallery--fullscreen .gallery--wrapper .gallery--sidebar .swiper--pagination {
  font-size: 0.75rem;
  color: #808080;
  margin-bottom: 0.25rem;
}
.gallery--fullscreen .gallery--wrapper .gallery--sidebar .gallery--pub {
  max-width: 300px;
  margin-inline: auto;
}
@media (width < 940px) {
  .gallery--fullscreen .gallery--wrapper .gallery--sidebar .gallery--pub {
    margin-block: auto;
  }
}
@media (width >= 940px) {
  .gallery--fullscreen .gallery--wrapper .gallery--sidebar .gallery--pub {
    margin-block: 1rem;
  }
}
.gallery--fullscreen.premium .gallery--pub {
  display: none;
}
@media (width < 940px) {
  .gallery--fullscreen.premium .gallery--main {
    height: 100%;
  }
  .gallery--fullscreen.premium .gallery--sidebar {
    display: none;
  }
}