/* Responsive at the end of the file */
.hphmap {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 120px;
  align-items: flex-start;

}

.hphmap:has(.map-right) {
  grid-template-columns: 1fr 1.8fr;
}

#map {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.hphmap-mapwrapper {
  position: sticky;
  top: 100px;
}

@media all and (max-width: 1080px) {
  .hphmap-mapwrapper {
    position: relative;
    top: 0;
    margin-bottom: 20px;
  }
}

button.hphmap-map-reset {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 20px 30px;
  font-size: 16px;
  border: 0;
  outline: 0;
}

.hphmap-map:has(+ .hphmap-consent),
.hphmap-mapwrapper:has(> .hphmap-consent) .hphmap-map-reset {
  display: none;
}

.hphmap-consent {
  display: flex;
  align-items: center;
  width: 100%;
  aspect-ratio: 16/9;
  padding: clamp(20px, 3vw, 40px);
  background: var(--backgroundColor);
  border-radius: 6px;
}

.hphmap-consent-overlay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 0;
}

.hphmap-consent-headline {
  font-size: var(--h4FontSize);
}

.pxicon--arrow:hover{
  transform: translateX(20px);
}

.hphmap-locations{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hphmap-locations-text h2 {
  /* add font */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-size: 38px;
  line-height: 66px;
  color: #363636;
}

.hphmap-locations-text p {
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  color: #000000;
}

.hphmap-location {
  display: block;
  padding: 20px;
  gap: 30px;
  border-radius: 6px;
}

.hphmap-locations-text {
  margin-bottom: 70px;
}

.hphmap-location-text h4 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 36px;
  color: #363636;
}

.hphmap-location-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hphmap-location-text > ul > li {
  padding: 0 0 0 45px;
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 27px;
  color: #363636;
}

.hphmap-location-text > ul > li:last-child {
  margin-bottom: 0;
}

.hphmap-location-text > ul > li.hphmap-location-contactperson {
  padding-left: 0;
  padding-bottom: 0;
  font-size: 18px;
  line-height: 27px;
  color: #363636;
  margin-bottom: 25px;
}

.hphmap-location-text > ul > li.hphmap-location-solutions {
  padding-left: 0;
}

.hphmap-location-text > ul > li:before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: transparent;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-size: 28px;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  vertical-align: middle;
}

.hphmap-location-text > ul li.hphmap-location-address:before {
  background-image: url("../Images/pin.svg");
}
.hphmap-location-text > ul li.hphmap-location-mail:before {
  background-image: url("../Images/mail.svg");
}
.hphmap-location-text > ul li.hphmap-location-website:before {
  background-image: url("../Images/external.svg");
}
.hphmap-location-text > ul li.hphmap-location-openinghours:before {
  background-image: url("../Images/clock.svg");
}

.hphmap-location-text > ul > li > a:before {
  display: none;
}

.hphmap-location.active {
  background: var(--backgroundColor);
}

.hphmap-location-actions {
  margin-top: 20px;
}

.hphmap-location-placeholder {
  background: transparent;
  border-radius: 10px;
  width: 150px;
  height: 81px;
}

@media all and (max-width: 1430px) {
  .hphmap {
    gap: 60px;
  }

  .hphmap-locations-text {
    margin-bottom: 35px;
  }
}

@media all and (max-width: 1080px) {
  .hphmap {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  .hphmap-mapwrapper{
    order: -1;
  }

  .hphmap-locations-text h2 {
    margin-top: 30px;
  }
}

@media all and (max-width: 575px) {
  .hphmap-location {
    gap: 15px;
  }

  .hphmap-location-placeholder {
    display: none;
  }
}
