.wright-contact-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.35rem;
  border: 1px solid #9f0000;
  border-radius: 0;
  background: #fff;
  color: #750000;
  font: inherit;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}

.wright-contact-toggle:hover,
.wright-contact-toggle:focus-visible,
.wright-contact-toggle[aria-expanded="true"] {
  background: #8b0000;
  color: #fff;
}

.wright-contact-toggle:focus-visible {
  outline: 3px solid rgba(139, 0, 0, .25);
  outline-offset: 3px;
}

.wright-contact-toggle-icon {
  flex: 0 0 auto;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.7em;
  font-weight: 300;
  line-height: .75;
}

.wright-contact-form-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows .4s ease, opacity .3s ease, visibility 0s linear .4s;
}

.wright-contact-form-panel > form {
  min-height: 0;
  overflow: hidden;
}

.wright-contact-form-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition: grid-template-rows .4s ease, opacity .3s ease;
}

/* The Elementor map widget was exported with an empty embed wrapper. Keep
   the original widget markup, but give its static iframe a stable footprint
   at every breakpoint. */
#map .elementor-widget-google_maps .elementor-custom-embed {
  width: 100%;
  min-height: 457px;
}

#map .elementor-widget-google_maps iframe {
  display: block;
  width: 100%;
  height: 457px;
  min-height: 457px;
  border: 0;
}

@media (max-width: 767px) {
  #map .elementor-widget-google_maps .elementor-custom-embed,
  #map .elementor-widget-google_maps iframe {
    height: 320px;
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wright-contact-toggle,
  .wright-contact-form-panel {
    scroll-behavior: auto;
    transition: none;
  }
}