/*
 * Haze's own additions to the kit's page: the photosensitivity note at the
 * top, the host row under the transport and the lines under the picture.
 * Everything else is vendor/kit.css, unedited.
 */

.hz-warning {
  /* #demo is 1400px wide with a 20px gutter: line up with what is inside it. */
  max-width: 1360px;
  margin: 24px auto 0;
  padding: 14px 18px;
  background: #1f1a0c;
  border: 1px solid #5a4613;
  border-left: 4px solid var(--warn);
  border-radius: 8px;
  color: #f3e9cf;
}

@media (max-width: 1400px) {
  .hz-warning { margin-left: 20px; margin-right: 20px; }
}
@media (max-width: 480px) {
  .hz-warning { margin-left: 16px; margin-right: 16px; padding: 12px 14px; }
}

.hz-warning__title {
  font-size: 17px;
  color: var(--warn);
  margin-bottom: 4px;
}

.hz-warning p { margin: 8px 0 0; max-width: 80ch; font-size: 14px; }

/* body has embed set when ?embed=1: the note is the page's, not the picture's. */
body[data-embed] .hz-warning { display: none; }

/* ---- the host row --------------------------------------------------------- */

.hz-host {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.hz-host__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 640px) {
  .hz-host .transport__field { width: 100%; }
}

/* ---- the lines under the picture ----------------------------------------- */

.hz-status { overflow-wrap: anywhere; }

.hz-caution {
  border-color: #5a4613;
  background: #1f1a0c;
  color: #f3e9cf;
}
