/* Non-destructive modernization layer for legacy child pages */
:root {
  --legacy-bg: #f5f3ef;
  --legacy-surface: #ffffff;
  --legacy-text: #1f2528;
  --legacy-muted: #596167;
  --legacy-link: #8d2d1f;
  --legacy-border: #d9d1c5;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 18px;
  background: radial-gradient(circle at 100% 0, rgba(31, 92, 93, 0.08), transparent 50%), var(--legacy-bg) !important;
  color: var(--legacy-text) !important;
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif !important;
  line-height: 1.58;
}

body > * {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: var(--legacy-link);
  text-underline-offset: 2px;
}

a:hover {
  color: #5f1f17;
}

p, li, td, th, div, span {
  font-family: inherit;
}

table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  background: var(--legacy-surface);
  border: 1px solid var(--legacy-border);
}

td, th {
  vertical-align: top;
  padding: 8px;
}

img {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

ol, ul {
  padding-left: 1.3rem;
}

hr {
  border: none;
  border-top: 1px solid var(--legacy-border);
}

@media (max-width: 860px) {
  body {
    padding: 12px;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100% !important;
  }
}
