:root {
  --immo-firstview-height: 280px;
}
body:not(.elementor-editor-active) #immo-firstview .e-con-inner {
  margin: 0;
  width: 100%;
  min-width: 100%;
}
body:not(.elementor-editor-active) #immo-firstview #immo-firstview-leftcol, body:not(.elementor-editor-active) #immo-firstview #immo-firstview-rightcol {
  opacity: 0;
  transition: all ease 0.3s ease;
}
#immo-firstview-leftcol {
  position: relative;
  cursor: pointer;
  /*
  .noclickhere {
    cursor: default;
    
    * {
      cursor: default;
    }
  }
  */
}
#immo-firstview-leftcol::before {
  content: "";
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  inset: 0;
  visibility: visible;
  pointer-events: none;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
  will-change: background;
}
#immo-firstview-leftcol:hover:not(:has(.noclickhere:hover))::before {
  background: rgba(0, 0, 0, 0.1);
}
#immo-firstview-leftcol > * {
  z-index: 2;
}
.rh-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0.5rem;
  min-height: 280px;
  height: clamp(280px, 30vw, 800px);
  transition: height 0.2s ease;
  contain: layout;
}
.rh-gallery-grid .rh-gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  contain: paint;
}
.rh-gallery-grid .rh-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}
.rh-gallery-grid .rh-gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}
.rh-gallery-grid .rh-gallery-item:focus {
  outline: 2px solid #0073aa;
  outline-offset: -2px;
}
.rh-gallery-grid .rh-gallery-featured, .rh-gallery-grid .rh-gallery-hidden {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
}
.rh-gallery-grid .rh-gallery-hidden {
  display: none !important;
}
#opengallery a {
  cursor: pointer;
}
@media (min-width: 768px) {
  #immo-firstview-wrap {
    max-height: unset;
  }
}
@media (max-width: 767px) {
  #immo-firstview-wrap {
    max-height: unset;
  }
  .rh-gallery-grid {
    gap: 0.25rem;
    min-height: 300px;
    height: 50vh;
  }
  .rh-gallery-grid .rh-gallery-item img {
    height: auto !important;
  }
}
