/*
 * Migration additions.
 *
 * Everything else in the design lives in theme.css, carried over untouched from
 * WordPress. This file holds only the handful of rules the static build needs
 * that the theme has no equivalent for. Keep it small.
 */

/* The BRM explainer was a 48.9 MB GIF and is now a <video>. These mirror, one
   for one, the theme rules that target `img` and so no longer reach it:
     img,svg               { max-width:100% }
     .single-work img      { height:auto }
     .single-work .add-br img { border-radius:20px }
   The theme already ships `.work-post-card .media video`, so the card
   thumbnails need nothing here. */
video {
  max-width: 100%;
}

.single-work video {
  height: auto;
}

.single-work .work-hero .featured-img video {
  display: block;
}

.single-work .add-br video {
  border-radius: 20px;
}

/* Status message for the contact forms, replacing WPForms' own confirmation
   markup. Inherits the theme's type; only spacing and colour are set here. */
.hasa-form-message:empty {
  display: none;
}

.hasa-form-message {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
}

.hasa-form-message.is-success {
  color: #1f7a52;
}

.hasa-form-message.is-error {
  color: #b3261e;
}
