/*
 * The "concept design" banner shown above every sample site, and the note
 * their demo forms show. Prefixed dw- and fully reset, so the sample's own
 * styles can't reach in.
 */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
}

.dw-banner,
.dw-banner *,
.dw-note {
  box-sizing: border-box;
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
}

.dw-banner {
  position: relative;
  z-index: 2147483647;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 24px;
  padding: 10px max(16px, calc((100% - 76rem) / 2));
  background: #1f2329;
  color: #f2f2ee;
}

.dw-banner strong { font-weight: 600; }

.dw-banner a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.dw-banner a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.dw-note {
  margin-top: 12px;
  padding: 10px 14px;
  border-left: 3px solid #243b5a;
  background: #f2f2ee;
  color: #1f2329;
}
