/******************************************************************

Stylesheet: Block Style
Block: Map

******************************************************************/
/******************************************************************

Stylesheet: Variables

Here is where we declare all our variables like colors, fonts,
base values, and defaults. We want to make sure this file ONLY
contains variables that way our files don't get all messy.
No one likes a mess.

******************************************************************/
/*********************
WRAPS
*********************/
/*********************
COLORS
*********************/
/*********************
FONT FAMILY
*********************/
/*********************
FONT SIZES
*********************/
/*********************
PADDINGS
*********************/
/*********************
TRANSITIONS
*********************/
.sp-block-map {
  position: relative;
}
.sp-block-map .sp-map-inner {
  position: relative;
  overflow: hidden;
  background: #f3efec;
}
.sp-block-map .sp-map-frame {
  position: relative;
  min-height: 360px;
  aspect-ratio: 11/16;
}
@media (min-width: 768px) {
  .sp-block-map .sp-map-frame {
    aspect-ratio: 16/10;
  }
}
.sp-block-map .sp-map-frame .sp-map-canvas {
  inset: 0;
  position: absolute;
}
.sp-block-map .sp-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  display: block;
}
.sp-block-map .sp-map-frame .sp-map-placeholder {
  display: grid;
  place-items: center;
  color: #1a1818;
  padding: 32px;
  min-height: inherit;
  text-align: center;
  background: linear-gradient(135deg, #f3efec, #fff);
}
.sp-block-map .sp-map-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.sp-block-map .sp-map-marker::before, .sp-block-map .sp-map-marker::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #c49a6c;
  animation: sp-map-pulse 1.8s ease-out infinite;
  transform-origin: center;
}
.sp-block-map .sp-map-marker::after {
  animation-delay: 1s;
}
.sp-block-map .sp-map-marker .sp-map-marker__dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #c49a6c;
  position: relative;
  z-index: 1;
}
@keyframes sp-map-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  80% {
    opacity: 0.1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}
.sp-block-map .sp-map-overlay {
  display: none;
  padding: 2.5em;
  color: #fff;
  font-weight: 500;
}
@media (min-width: 768px) {
  .sp-block-map .sp-map-overlay {
    display: block;
    position: absolute;
    top: 50%;
    right: clamp(16px, 6vw, 96px);
    transform: translateY(-50%);
    max-width: 420px;
    margin: 0;
  }
}
.sp-block-map .sp-map-overlay .sp-map-overlay__body > *:last-child {
  margin-bottom: 0;
}
.sp-block-map .sp-map-overlay h3 {
  text-transform: uppercase;
  margin: 0 0 1em;
}
.sp-block-map .sp-map-overlay p {
  margin: 0 0 1em;
}
.sp-block-map .sp-map-overlay p:last-child {
  margin-bottom: 0;
}
.sp-block-map .sp-map-overlay ul {
  padding: 0;
}
.sp-block-map .sp-map-overlay ul li {
  margin-left: 1em;
}
@media (min-width: 768px) {
  .sp-block-map .sp-map-frame {
    min-height: 440px;
  }
}
@media (min-width: 992px) {
  .sp-block-map .sp-map-frame {
    min-height: 420px;
    aspect-ratio: 64/27;
  }
}
