/* Contact and newsletter mailto links that replace the legacy PHP forms. */

/* The Webflow button classes were made for <input type="submit">, which
   centres its label on its own; links need flexbox for that. */
.mailto-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mailto-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mailto-contact p {
  margin-bottom: 8px;
}

.mailto-address {
  margin-bottom: 24px;
  color: var(--dark);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mailto-address:hover {
  text-decoration: underline;
}

.mailto-newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

@media screen and (max-width: 479px) {
  /* The heading above is centred on phones. */
  .mailto-contact {
    align-items: stretch;
    text-align: center;
  }
}
