[data-background="hero"] {
  background-color: #ff5043 !important;
}

#manifesto.manifesto {
  padding: 12rem 0 18rem;
  pointer-events: auto;
}

#manifesto .cols {
  display: block;
  margin: 0;
}

#manifesto .manifesto-gallery {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  pointer-events: auto;
}

.manifesto-gallery__masonry {
  --gallery-gap: 1.6rem;
  position: relative !important;
  top: auto !important;
  display: block;
  width: 100%;
  margin: 0 !important;
  column-count: 2;
  column-gap: var(--gallery-gap);
  opacity: 1 !important;
  transform: none !important;
}

.manifesto-gallery__masonry figure {
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--gallery-gap);
  break-inside: avoid;
  page-break-inside: avoid;
  vertical-align: top;
}

.manifesto-gallery__item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 1.2rem;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  overflow: hidden;
  transition:
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.manifesto-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: inherit;
  background: #161616;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  object-fit: contain;
}

.manifesto-gallery__item:hover,
.manifesto-gallery__item:focus-visible {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.8rem 3.6rem rgb(0 0 0 / 0.3);
  outline: none;
}

.manifesto-gallery__item:focus-visible {
  box-shadow:
    0 0 0 0.25rem #ed4439,
    0 1.8rem 3.6rem rgb(0 0 0 / 0.3);
}

.manifesto-gallery__item:active {
  transform: translateY(-0.1rem) scale(0.99);
}

.manifesto-lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 5.6rem 2.4rem 2.4rem;
  border: 0;
  background: rgb(12 12 12 / 0.96);
  color: #f5f5f5;
  overflow: hidden;
}

.manifesto-lightbox[open] {
  display: grid;
  place-items: center;
}

.manifesto-lightbox::backdrop {
  background: rgb(0 0 0 / 0.82);
}

.manifesto-lightbox__image {
  display: block;
  width: auto;
  max-width: min(92vw, 160rem);
  height: auto;
  max-height: calc(100dvh - 8rem);
  object-fit: contain;
  filter: none !important;
}

.manifesto-lightbox__close {
  position: fixed;
  top: 1.6rem;
  right: 1.6rem;
  z-index: 1;
  min-width: 7.2rem;
  min-height: 4.4rem;
  padding: 0 1.8rem;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 999px;
  background: #f5f5f5;
  color: #161616;
  font: 600 1.4rem/1 AeonikWeb, "Microsoft YaHei", sans-serif;
  cursor: pointer;
}

.manifesto-lightbox__close:focus-visible {
  outline: 0.2rem solid #ed4439;
  outline-offset: 0.3rem;
}

@media (min-width: 1024px) {
  #manifesto.manifesto {
    padding: 14rem 0 20rem;
  }

  .manifesto-gallery__masonry {
    column-count: 3;
  }
}

@media (max-width: 479px) {
  .manifesto-gallery__masonry {
    column-count: 1;
  }
}

@media (min-width: 1240px) {
  .manifesto-gallery__masonry {
    column-count: 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-gallery__item {
    transition: none;
  }

  .manifesto-gallery__item:hover,
  .manifesto-gallery__item:focus-visible,
  .manifesto-gallery__item:active {
    transform: none;
  }
}
