/* #249: existing Amada controls/centered masthead; preserve theme and data. */
html body.ht-relics-theme.ht-relics-theme {
  --amada-control-font: 13px;
  --amada-control-height: 48px;
  --amada-copy-font: 16px;
}
html body.ht-relics-theme.ht-relics-theme .page-head,
html body.ht-relics-theme.ht-relics-theme .page-head .page-title,
html body.ht-relics-theme.ht-relics-theme .page-head .eyebrow,
html body.ht-relics-theme.ht-relics-theme .page-head .page-sub,
html body.ht-relics-theme.ht-relics-theme .htc-ohead,
html body.ht-relics-theme.ht-relics-theme .htc-ointro,
html body.ht-relics-theme.ht-relics-theme .htc-ohint {
  text-align: center !important;
}
html body.ht-relics-theme.ht-relics-theme .page-head .eyebrow,
html body.ht-relics-theme.ht-relics-theme .htc-ohead {
  justify-content: center !important;
}
html body.ht-relics-theme.ht-relics-theme .page-head .eyebrow::before,
html body.ht-relics-theme.ht-relics-theme .page-head .eyebrow::after,
html body.ht-relics-theme.ht-relics-theme .htc-ohead::before,
html body.ht-relics-theme.ht-relics-theme .htc-ohead::after {
  flex: 0 1 38px !important;
  min-width: 12px !important;
}
html body.ht-relics-theme.ht-relics-theme .page-head .page-sub,
html body.ht-relics-theme.ht-relics-theme .htc-ointro,
html body.ht-relics-theme.ht-relics-theme .htc-orow {
  margin-left: auto !important;
  margin-right: auto !important;
}
html body.ht-relics-theme.ht-relics-theme .htc-orow .htbtn.htbtn:not(#ht-amada-unmatched) {
  min-height: var(--amada-control-height) !important;
  height: auto !important;
}
html body.ht-relics-theme.ht-relics-theme .htc-orow .htbtn.htbtn:not(#ht-amada-unmatched) > .htbtn-lbl {
  font-family: 'Source Sans 3', Arial, sans-serif !important;
  font-size: var(--amada-control-font) !important;
  line-height: 1.3 !important;
  padding: 10px 3px !important;
  letter-spacing: 0.03em !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
html body.ht-relics-theme.ht-relics-theme .htc-opanel .htc-obody p {
  font-size: var(--amada-copy-font) !important;
  line-height: 1.5 !important;
}
@media (min-width: 600px) {
  html body.ht-relics-theme.ht-relics-theme {
    --amada-control-font: calc(13.1px / .85);
    --amada-control-height: calc(48px / .85);
    --amada-copy-font: calc(16.1px / .85);
  }
}
@media (max-width: 520px) {
  /* One four-control group, balanced two-by-two on a narrow phone. */
  html body.ht-relics-theme.ht-relics-theme .htc-orow:not(#ht-amada-unmatched) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  /* Remove the duplicated inner gutter without shrinking label text. */
  html body.ht-relics-theme.ht-relics-theme .ht-lead .set-desc[data-ddacc="1"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (min-width: 1300px) {
  html body.ht-relics-theme.ht-relics-theme {
    --amada-control-font: 16.25px;
    --amada-control-height: 60px;
    --amada-copy-font: 20px;
  }
}
