#addresses {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
#addresses * {
  box-sizing: border-box !important;
}
@media (min-width: 700px) {
  #addresses {
    display: flex !important;
    flex-direction: row !important;
    height: 100dvh !important;
    overflow: hidden !important;
    gap: 0 !important;
  }
  #addresses:has(.address.expanded) .address:not(.expanded) {
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }
  #addresses:has(.address.expanded) .address:not(.expanded) .backdropblur-container {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
  }
  #addresses:has(.address.expanded) .address:not(.expanded) .column-title h2, #addresses:has(.address.expanded) .address:not(.expanded) .column-title p {
    display: none;
  }
  #addresses:has(.address.expanded) .address:not(.expanded) .location-img-container {
    height: 100%;
    position: absolute;
    bottom: 20px;
    right: 0;
    z-index: 10;
    display: flex;
    flex-direction: column-reverse;
  }
  #addresses:has(.address.expanded) .address:not(.expanded) .location-img-container img {
    height: 70%;
    width: auto;
  }
  #addresses:has(.address.expanded) .address:not(.expanded):hover .backdropblur-container {
    background: rgba(187, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }
  #addresses .address {
    flex: 0 0 33.3333% !important;
    width: 33.3333% !important;
    height: 100dvh !important;
    overflow: hidden !important;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    will-change: flex, width !important;
  }
  #addresses .address.expanded {
    flex: 0 0 66.6666% !important;
    width: 66.6666% !important;
    cursor: default !important;
  }
  #addresses .address.expanded .column-title {
    display: none !important;
  }
  #addresses .address.collapsed {
    flex: 0 0 16.6667% !important;
    width: 16.6667% !important;
  }
}
@media (max-width: 699px) {
  #addresses {
    display: flex !important;
    flex-direction: column !important;
    height: 100dvh !important;
    overflow: scroll !important;
    gap: 0 !important;
  }
  #addresses .address {
    width: 100% !important;
    flex: 0 0 33.33dvh !important;
    height: 33.33dvh !important;
    overflow-y: scroll !important;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
  }
  #addresses .address .location-img-container {
    height: 100%;
    position: absolute;
    bottom: 20px;
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column-reverse;
  }
  #addresses .address .location-img-container img {
    height: 70%;
    width: auto;
  }
  #addresses .address .city-content {
    width: 90%;
    padding: 10px;
  }
  #addresses .address .column-title h2 {
    translate: 0 0;
  }
  #addresses .address .column-title p {
    display: none;
  }
  #addresses .address.expanded {
    min-height: 110vh !important;
    height: 100% !important;
    flex: 1 1 auto !important;
    overflow-y: scroll !important;
  }
  #addresses .address.expanded .column-title {
    display: none;
  }
  #addresses:has(.address.expanded) .address:not(.expanded) {
    flex: 0 0 56px !important;
    height: 56px !important;
  }
  #addresses:has(.address.expanded) .address:not(.expanded) .column-title {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 30px !important;
    bottom: auto !important;
    z-index: 30 !important;
  }
  #addresses:has(.address.expanded) .address:not(.expanded) .column-title h2 {
    display: block !important;
    font-size: 16px !important;
    margin: 0 !important;
    padding: 15px 0 !important;
  }
  #addresses:has(.address.expanded) .address:not(.expanded) .column-title p {
    display: none;
  }
}

.grid .address {
  overflow: hidden;
  position: relative;
}
.grid .address:hover .column-title h2 {
  translate: 0px 0px;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.grid .address:hover .column-title p {
  translate: 0px 0px;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.1s;
}
.grid .address .column-title {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  z-index: 10;
  text-align: center;
}
.grid .address .column-title h2 {
  color: white;
  translate: 0 100px;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}
.grid .address .column-title p {
  color: white;
  translate: 0 400px;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}
.grid .address .city-content {
  display: none;
  min-width: 80%;
  background-color: white;
  z-index: 3;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  padding: 30px;
  border-radius: 8px;
}
.grid .address .close-column {
  width: 40px;
  height: 40px;
  stroke: white;
  position: absolute;
  top: 20px;
  right: 20px;
  display: none;
  z-index: 9999;
}
.grid .address .contact-column-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.grid .address .contact-column-container .backdropblur-container {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 30%);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}
.grid .address .contact-column-container .location-img-container {
  height: 100%;
  position: absolute;
  bottom: 20px;
  right: 0;
  z-index: 1;
  display: flex;
  flex-direction: column-reverse;
  pointer-events: none;
}
.grid .address .contact-column-container .location-img-container img {
  width: 100px;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.grid .address.expanded .city-content {
  display: block;
}
.grid .address.expanded .close-column {
  display: block;
  cursor: pointer;
}
.grid .address.expanded .backdropblur-container {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}
.grid .address.expanded .location-img-container img {
  height: 94%;
  width: auto;
}

.gs_item.active .gs_title button {
  border-radius: 8px !important;
  overflow: hidden !important;
}
.gs_item.active .gs_title button svg {
  fill: var(--wp--preset--color--palette-color-1) !important;
}
.gs_item.active .gs_name {
  color: var(--wp--preset--color--palette-color-1) !important;
}
