/* Watch page content and registration form. Shared by the watch page and
   the admin (editor and form preview), so both look the same. */
.page-content {
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.page-content::after {
  content: "";
  display: block;
  clear: both;
}
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  line-height: 1.25;
  margin: 1.2em 0 0.5em;
}
.page-content h2 {
  font-size: 1.5rem;
}
.page-content h3 {
  font-size: 1.2rem;
}
.page-content p,
.page-content ul,
.page-content ol,
.page-content blockquote,
.page-content table {
  margin: 0 0 1em;
}
.page-content > :first-child {
  margin-top: 0;
}
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.page-content iframe {
  max-width: 100%;
  border: 0;
}
.page-content a {
  color: var(--accent, #c8102e);
}
.page-content a.button {
  display: inline-block;
  background: var(--accent, #c8102e);
  color: #fff;
  padding: 0.65em 1.2em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.page-content a.button:hover,
.page-content a.button:focus-visible {
  filter: brightness(1.1);
}
.page-content blockquote {
  border-left: 4px solid var(--accent, #c8102e);
  padding: 0.2em 0 0.2em 1em;
  opacity: 0.9;
}
.page-content table {
  border-collapse: collapse;
  width: 100%;
}
.page-content td,
.page-content th {
  border: 1px solid rgba(127, 127, 127, 0.35);
  padding: 0.4em 0.6em;
  text-align: left;
}
.page-content hr {
  border: 0;
  border-top: 1px solid rgba(127, 127, 127, 0.35);
  margin: 1.5em 0;
}

/* Registration form */
.regform {
  display: grid;
  gap: 1rem;
}
.regform .rf-field {
  display: grid;
  gap: 0.35rem;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.regform label,
.regform legend {
  font-weight: 600;
}
.regform legend {
  padding: 0;
  margin-bottom: 0.35rem;
}
.regform input:not([type="checkbox"]):not([type="radio"]),
.regform select,
.regform textarea {
  font: inherit;
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(127, 127, 127, 0.55);
  border-radius: 8px;
  background: var(--field-bg, #fff);
  color: inherit;
  min-height: 44px;
}
.regform [aria-invalid="true"] {
  border-color: #c62828 !important;
  outline-color: #c62828;
}
.regform .choices {
  display: grid;
  gap: 0.4rem;
}
.regform .choice,
.regform .rf-check label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
  min-height: 32px;
}
.regform .choice input,
.regform .rf-check input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  flex: none;
  accent-color: var(--accent, #c8102e);
}
.regform .consent-text {
  margin: 0 0 0.4em;
}
.regform .field-help {
  margin: 0;
  font-size: 0.9em;
  opacity: 0.75;
}
.field-error {
  margin: 0;
  color: #c62828;
  font-size: 0.92em;
  font-weight: 600;
}
.regform .req {
  color: #c62828;
}
.regform .reg-privacy {
  font-size: 0.9em;
  opacity: 0.8;
}
.regform .reg-intro {
  margin: 0;
}
.regform .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
