.archive-services__wrap {
  display: flex;
}
.archive-services__sidebar {
  flex: 0 0 23.1%;
  margin-right: max( 33 / 19.2 * 1vw, 20px);
}
.archive-services__content {
  flex: 1;
  width: calc(76.9% - max( 33 / 19.2 * 1vw, 20px));
}
.archive-services__item-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: max( 30 / 19.2 * 1vw, 20px) max( 50 / 19.2 * 1vw, 20px);
  margin-bottom: max( 50 / 19.2 * 1vw, 40px);
}
.archive-services__item-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: max( 10 / 19.2 * 1vw, 10px);
}
.archive-services__item-image:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}
.archive-services__item-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.archive-services__item-title {
  margin-bottom: max( 5 / 19.2 * 1vw, 5px);
  color: var(--color3E);
  letter-spacing: 0.9px;
}
.archive-services__item-link {
  color: var(--color6E);
}
.archive-services__item-link svg {
  color: var(--color6E);
}

.category-sidedar__item-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 max( 10 / 19.2 * 1vw, 10px);
  border-radius: 5px;
  background: #EDE9E3;
  border: 1px solid transparent;
  cursor: pointer;
}
.category-sidedar__item-link svg {
  width: max( 24 / 19.2 * 1vw, 20px);
  height: max( 24 / 19.2 * 1vw, 20px);
  flex-shrink: 0;
}
@media (min-width: 992px) {
  .category-sidedar__item-link:hover {
    background: rgba(237, 233, 227, 0.5);
  }
}
.category-sidedar__item-link.active {
  border: 1px solid #6E604B;
  background: rgba(237, 233, 227, 0.5);
}
.category-sidedar__item:not(:last-child) {
  margin-bottom: max( 10 / 19.2 * 1vw, 10px);
}
.category-sidedar__item-subitems {
  padding-right: max( 20 / 19.2 * 1vw, 10px);
}
.category-sidedar__item-subitems .category-sidedar__item-link {
  padding-top: max( 8 / 19.2 * 1vw, 8px);
  padding-bottom: max( 8 / 19.2 * 1vw, 8px);
}
.category-sidedar__item-subitems .category-sidedar__item-link:not(:last-child) {
  margin-bottom: max( 7 / 19.2 * 1vw, 7px);
}
.category-sidedar__item-subitems.collapse {
  overflow: hidden;
  transition: height 0.8s;
}
.category-sidedar__item-subitems.collapse.is-collapsed {
  height: 0;
}
.category-sidedar__item-subitems > *:first-child {
  margin-top: max( 7 / 19.2 * 1vw, 7px);
}
.category-sidedar__item.opened > .category-sidedar__item-link {
  background-color: var(--color6E);
}
.category-sidedar__item.opened > .category-sidedar__item-link p {
  color: #EDE9E3;
}
.category-sidedar__item.opened > .category-sidedar__item-link svg {
  color: #EDE9E3;
}
.category-sidedar__open {
  position: fixed;
  background: var(--colorB0);
  color: #fff;
  padding: 15px 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in;
  writing-mode: vertical-lr;
  left: 0;
  top: 50%;
  display: none;
  transform: translateX(320px);
  z-index: 99;
}
.category-sidedar__open.active {
  opacity: 0.5;
}
.category-sidedar__wrap > .category-sidedar__item > .category-sidedar__item-link {
  padding-top: max( 13 / 19.2 * 1vw, 13px);
  padding-bottom: max( 13 / 19.2 * 1vw, 13px);
}

.works-page__content {
  flex: 1;
}
.works-page__item-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: max( 30 / 19.2 * 1vw, 10px);
}
.works-page__item-image {
  position: relative;
  cursor: pointer;
}
.works-page__item-image:before {
  content: "";
  display: block;
  padding-bottom: 88.5%;
}
.works-page__item-image:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  background-image: url("../images/lupa.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60px 60px;
  z-index: 2;
  opacity: 0;
  transition: var(--transition);
}
.works-page__item-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (min-width: 992px) {
  .works-page__item-image:hover:after {
    opacity: 1;
  }
}
.works-page__item-title {
  margin-top: max( 10 / 19.2 * 1vw, 10px);
}

@media (max-width: 991px) {
  .category-sidedar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 320px;
    transform: translateX(-320px);
    transition: transform 0.3s ease-in;
    z-index: 2;
  }
  .category-sidedar__wrap {
    background-color: #fff;
    padding: 30px 20px;
    overflow: auto;
    height: 100%;
  }
  .category-sidedar__open {
    display: block;
  }
  .category-sidedar.open {
    z-index: 99;
    transform: translateX(0);
  }
}
@media (max-width: 575px) {
  .archive-services__item-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 375px) {
  .archive-services__item-list {
    grid-template-columns: 1fr;
  }
  .works-page__item-list {
    grid-template-columns: 1fr;
  }
  .category-sidedar {
    width: 270px;
    transform: translateX(-270px);
  }
  .category-sidedar__open {
    transform: translateX(270px);
  }
}/*# sourceMappingURL=archive-services.css.map */