/*
 * map-consent.css — the placeholder that stands where the map will be (AP4, decision E2).
 *
 * It fills its container rather than bringing a height of its own: the map page gives the
 * container the full window (`100vh`), the island detail view gives its sub-map a fixed box, and
 * the placeholder has to sit in both without either being told about it. A height written down
 * here would be right in one of the two places and wrong in the other.
 *
 * Colours come from tokens.css, so the placeholder belongs to the same family as the rest of the
 * site instead of looking like a browser error. Two classes in every selector — the specificity
 * rule from AI/architecture/divi-fallstricke.md, section 2: Divi brings its own rules for
 * `button` and `p`, and a single-class selector would lose against them whatever the load order.
 */

.wi-map-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  /* The map container is the positioning context; without this the placeholder would sit above
   * the page rather than inside the box the map will occupy. */
  min-height: inherit;
  padding: var(--wi-space-paragraph);
  box-sizing: border-box;
  background-color: var(--wi-color-surface-muted);
  color: var(--wi-color-ink);
  text-align: center;
}

.wi-map-consent .wi-map-consent__inner {
  max-width: 34em;
}

.wi-map-consent .wi-map-consent__heading {
  margin: 0 0 var(--wi-space-h3);
  font-family: var(--wi-font-sans), sans-serif;
  font-size: var(--wi-font-size-h3);
  line-height: 1.3;
}

.wi-map-consent .wi-map-consent__body {
  margin: 0 0 var(--wi-space-paragraph);
  font-family: var(--wi-font-sans), sans-serif;
  font-size: var(--wi-font-size-body-medium);
  line-height: 1.5;
}

.wi-map-consent .wi-map-consent__button {
  display: inline-block;
  padding: 12px 28px;
  border: var(--wi-border-width-button) solid currentColor;
  border-radius: var(--wi-radius);
  background-color: transparent;
  color: inherit;
  font-family: var(--wi-font-sans), sans-serif;
  font-size: var(--wi-font-size-body-narrow);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.wi-map-consent .wi-map-consent__button:hover,
.wi-map-consent .wi-map-consent__button:focus-visible {
  border-color: var(--wi-color-accent);
  color: var(--wi-color-accent);
}

@media (max-width: 767px) {
  .wi-map-consent .wi-map-consent__heading {
    font-size: var(--wi-font-size-h3-narrow);
  }

  .wi-map-consent .wi-map-consent__body {
    font-size: var(--wi-font-size-body-narrow);
  }
}
