/* CF7 server responses: native modal in the browser's top layer. */
.widmer-cf7-modal-response .wpcf7-response-output {
  display: none;
}

.widmer-cf7-dialog {
  width: calc(100% - 32px);
  max-width: 480px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  margin: auto;
  padding: 28px;
  border: 0;
  border-top: 4px solid var(--widmer-orange);
  border-radius: 8px;
  background: #fff;
  color: var(--widmer-text);
  font-family: 'Raleway', sans-serif;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.widmer-cf7-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.widmer-cf7-dialog__brand {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.widmer-cf7-dialog h2 {
  margin: 0 0 16px;
  font-family: var(--widmer-title-font);
  font-size: 28px;
  line-height: 1.2;
}

#widmer-cf7-dialog-message {
  margin: 0 0 24px;
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.widmer-cf7-dialog__close {
  padding: 12px 20px;
  border: 0;
  border-radius: 4px;
  background: var(--widmer-orange);
  color: #222;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.widmer-cf7-dialog__close:hover {
  background: var(--widmer-orange-dark);
}

.widmer-cf7-dialog__close:focus-visible {
  outline: 3px solid #222;
  outline-offset: 3px;
}

