/* The footer's newsletter box, split out of cms.css so only a page whose footer
   carries the box downloads it (renderer.js, staticPageChrome.js, site-chrome.js
   link it next to footer-newsletter.js). Keeps cms.css inside the CWV budget. */
/* The footer's newsletter box. Every colour is the footer's own ink
   (`currentColor`), so a footer surface repaints the field, the toggle and
   the button with everything else on it. */
.vw-footer-newsletter {
  max-width: 26rem;
}
.vw-newsletter-intro {
  margin: 0;
  font-size: var(--vw-size-sm);
  color: inherit;
  opacity: 0.85;
}
.vw-newsletter-form {
  display: grid;
  gap: var(--vw-space-sm);
}
.vw-newsletter-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: var(--vw-space-sm) var(--vw-space-md);
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--vw-radius-sm, 4px);
}
.vw-newsletter-form input[type="email"]::placeholder {
  color: inherit;
  opacity: 0.55;
}
.vw-newsletter-lang {
  display: flex;
  gap: var(--vw-space-md);
}
.vw-newsletter-lang button {
  padding: 0;
  font: inherit;
  font-size: var(--vw-size-xs);
  color: inherit;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  opacity: 0.7;
  cursor: pointer;
}
.vw-newsletter-lang button[aria-pressed="true"] {
  opacity: 1;
  border-bottom-color: currentColor;
}
.vw-newsletter-form button[type="submit"] {
  justify-self: start;
  padding: var(--vw-space-sm) var(--vw-space-lg);
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--vw-radius-sm, 4px);
  cursor: pointer;
}
.vw-newsletter-form button[type="submit"]:hover,
.vw-newsletter-form button[type="submit"]:focus-visible {
  box-shadow: inset 0 0 0 1px currentColor;
}
.vw-newsletter-form button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: default;
}
.vw-newsletter-msg {
  margin: 0;
  min-height: 1.25em;
  font-size: var(--vw-size-sm);
  color: inherit;
}
/* The honeypot: out of sight and out of the tab order, but still in the DOM
   for a bot to fill. Not display:none, which some bots skip. */
.vw-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
