.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.catalog-hero {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

[data-project-panel] {
  display: none;
  transform: scale(.9);
  overflow: hidden;
}

.image-box__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#modal-all .image-box[data-project-open] {
  cursor: pointer;
}

#modal-all .modal-content-all {
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

#modal-all .image-box[data-project-open] .image-text {
  pointer-events: none;
  display: block;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 80px);
  line-height: 0.95;
}

.map-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.map-canvas__fallback {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  filter: grayscale(100%);
}

.contact-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

#contact .navigation-contact,
#contact .contact-header,
#contact .container-fluid {
  position: relative;
  z-index: 2;
}

.ym-noscript {
  position: absolute;
  left: -9999px;
}

html.tg-webapp,
body.tg-webapp {
  overscroll-behavior-y: none;
}

body.tg-webapp {
  min-height: var(--tg-viewport-height, 100dvh);
  height: var(--tg-viewport-height, 100dvh);
  max-height: var(--tg-viewport-height, 100dvh);
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

body.tg-webapp #all {
  min-height: 100%;
  height: 100%;
  overscroll-behavior-y: none;
}

body.tg-webapp #home,
body.tg-webapp #about,
body.tg-webapp #contact,
body.tg-webapp .project,
body.tg-webapp .about-img,
body.tg-webapp .about-text,
body.tg-webapp .modal,
body.tg-webapp .modal-content,
body.tg-webapp .modal-content-all,
body.tg-webapp .modal-content-rating {
  min-height: var(--tg-viewport-height, 100dvh);
  height: var(--tg-viewport-height, 100dvh);
  max-height: var(--tg-viewport-height, 100dvh);
}

body.tg-webapp .modal-content,
body.tg-webapp .modal-content-all,
body.tg-webapp .modal-content-rating,
body.tg-webapp .text-paragraph,
body.tg-webapp .text-paragraph-contacts,
body.tg-webapp #modal-all .modal-content-all {
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.slide-text .project-hero-cta {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 0 auto;
  line-height: 1;
}

.slide-text .project-link-title {
  display: block;
  padding: 0 !important;
}

.slide-text .project-hero-cta .view-project {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  margin-top: 8px;
  white-space: nowrap;
  padding: 0;
}

@media (max-width: 768px) {
  #modal-all .image-box[data-project-open] .image-text {
    font-size: clamp(20px, 6vw, 50px);
  }
}
