/**
 * Two-Click-Consent Platzhalter für Google Maps
 *
 * Wird auf Immobilien- und Projekt-Templates verwendet. Selbst-enthaltend mit
 * Fallback-Werten, damit es unabhängig von den Template-Variablen funktioniert.
 *
 * @package GeneratePress Child
 */

.maps-consent {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: clamp(1rem, 4vw, 2rem);
  background:
    linear-gradient(135deg, rgba(14, 31, 83, 0.05) 0%, rgba(14, 31, 83, 0.02) 100%),
    #f8f9fa;
  color: #0e1f53;
  font-family: Roboto, "Plus Jakarta Sans", sans-serif;
}

.maps-consent__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 0.25rem;
  border-radius: 50%;
  background: rgba(14, 31, 83, 0.08);
  color: #0e1f53;
}

.maps-consent__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.maps-consent__body {
  margin: 0;
  max-width: 42ch;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #45506b;
}

.maps-consent__button {
  margin-top: 0.25rem;
  cursor: pointer;
}

/* Eigenständiges Button-Styling als Fallback, falls die Theme-Klassen
   (.btn / .btn-primary) auf der Seite nicht greifen. */
.maps-consent__button:not(.btn) {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 6px;
  background: #0e1f53;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.maps-consent__button:hover {
  filter: brightness(1.08);
}

.maps-consent__note {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #6c757d;
}

.maps-consent__link {
  color: #0e1f53;
  text-decoration: underline;
}

.maps-consent__link:hover {
  text-decoration: none;
}
