.fch-location-map-video-overlay.fade-out {
  opacity: 0;
}

.fch-location-map-hidden,
.fch-location-map-wrapper .hidden {
  display: none;
}

.fch-location-map-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  display: block;
  background: #131313;
}

.fch-location-map-canvas {
  position: relative;
  height: 35vh;
  width: 100%;
  z-index: 100;
}

.fch-location-map-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 110;
  object-fit: cover;
  background: #131313;
  transition: opacity 0.8s ease;
}

.fch-location-map-wrapper .mapboxgl-ctrl button {
  border-radius: 0 !important;
  border: none !important;
  padding: 0 !important;
  font-size: revert !important;
  font-weight: revert !important;
  font-family: revert !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: revert !important;
  background: revert !important;
  box-shadow: revert !important;
  position: static !important;
  display: block !important;
  width: revert !important;
  height: revert !important;
  transition: none !important;
  appearance: revert !important;
}

.fch-location-map-wrapper .marker {
  background-image: none;
  background-size: cover;
  width: 25px;
  height: 40px;
  border-radius: 0;
  cursor: pointer;
}

.fch-location-map-wrapper .marker.is-animated.marker-steel-obrien {
  background-image: var(--fch-location-marker-steel-obrien);
}

.fch-location-info-card {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: 100%;
  min-width: auto;
  min-height: calc(100vh - 400px - 60px);
  background: #ececec;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 0;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #222;
}

.fch-info-card-inner {
  padding: 15px 20px;
}

.fch-info-card-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  object-position: center;
}

.fch-info-card-close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

.fch-info-card-title {
  margin-bottom: 4px;
}

.fch-info-card-description {
  margin-bottom: 16px;
  font-size: 18px;
  color: #565656;
}

.fch-info-card-ownership-text {
  margin-bottom: 8px;
}

.fch-info-card-inner address {
  font-style: normal;
  margin-bottom: 10px;
}

.fch-info-card-address-1,
.fch-info-card-address-2 {
  display: block;
}

.fch-info-card-inner p {
  margin-bottom: 10px;
}

.fch-location-info-card.info-card-visible {
  opacity: 1;
  pointer-events: auto;
}

.fch-location-info-card.info-card-hidden {
  opacity: 0;
  pointer-events: none;
  display: none;
}

@media (min-width: 768px) {
  .fch-location-map-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .fch-location-map-canvas {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
  }

  .fch-location-map-wrapper .marker {
    width: 40px;
    height: 60px;
  }

  .fch-location-info-card {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translateY(-50%);
    min-width: 320px;
    max-width: 400px;
    width: auto;
    min-height: auto;
    border-radius: 0;
  }

  .fch-location-info-card.info-card-hidden {
    display: flex;
  }
}
