/*!
 * Colorlib kit: map.css (pairs with js/map.js)
 * Click-to-load map: the placeholder and, after "Show map", the iframe fill the container,
 * which keeps the size the theme gives it (#map { height: 400px } and the like).
 * Colours and the button come from the theme: set the custom properties below on the
 * container (--kit-map-bg, --kit-map-color, --kit-map-link, --kit-map-min-height), and give the button the theme's own button classes.
 */
.kit-map {
  position: relative;
  min-height: var(--kit-map-min-height, 300px);
  overflow: hidden;
}
.kit-map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
  background: var(--kit-map-bg, #eef0f2);
  color: var(--kit-map-color, #212529);
}
.kit-map__placeholder[hidden] { display: none; }
.kit-map__address { margin: 0; max-width: 32em; }
/* "Open in maps": Bootstrap's link blue (#0d6efd) is 3.48:1 on the placeholder grey (Breed2).
   #0a58ca is 5.7:1 on #eef0f2; set --kit-map-link to the theme's (dark enough) link colour. */
.kit-map__placeholder a:where(:not(.btn)) { color: var(--kit-map-link, #0a58ca); }
/* Text and button inside the placeholder (MyHome): a theme's pale `p`/`a`/`button` colours (grey on the placeholder grey) are
   undone with class selectors, (0,2,0), which beat theme element rules; --kit-map-color still decides. A bare button (no
   theme .btn class) gets a visible outline button at zero specificity: any theme button class styles it over this. */
.kit-map__placeholder .kit-map__address,
.kit-map__placeholder .kit-map__actions { color: inherit; }
.kit-map__placeholder :where(button:not(.btn)) {
  padding: .6rem 1.2rem;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: .25rem;
  cursor: pointer;
}
.kit-map__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem 1.5rem;
}
.kit-map__frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
