.md-typeset > h1:first-child {
  max-width: 18ch;
  padding-top: 0.35rem;
}

.md-typeset > h1:first-child::before {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gc-signal);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  content: "Grand Challenge Mathematics";
}

.showcase-declaration {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  margin: 2rem 0 3rem;
  padding: 1.25rem 0;
  border-top: 2px solid var(--gc-ink);
  border-bottom: 1px solid var(--gc-rule);
}

.showcase-declaration span {
  color: var(--gc-signal);
  font-size: 0.64rem;
  font-weight: 850;
  text-transform: uppercase;
}

.showcase-declaration p {
  max-width: 32rem;
  margin: 0 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.35;
}

.refusal-register {
  margin: 1.5rem 0 3rem;
  border-top: 1px solid var(--gc-rule);
}

.refusal-register > div {
  display: grid;
  grid-template-columns: 3rem 0.72fr 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gc-rule);
  align-items: baseline;
}

.refusal-register span {
  color: var(--gc-signal);
  font-size: 0.64rem;
  font-weight: 850;
}

.refusal-register strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.refusal-register p {
  margin: 0 !important;
  color: var(--gc-muted);
}

.domain-brief--compact {
  margin-bottom: 3rem;
}

.md-typeset hr {
  border-bottom-color: var(--gc-rule);
}

.md-typeset code {
  border-radius: 2px;
}

.md-typeset .admonition,
.md-typeset details {
  border: 1px solid var(--gc-rule);
  border-radius: 0;
  box-shadow: none;
}

.md-typeset .admonition-title,
.md-typeset summary {
  background: var(--gc-paper-deep);
}

@media print {
  .md-header,
  .md-tabs,
  .md-sidebar,
  .md-footer,
  .frontispiece__actions {
    display: none !important;
  }

  .md-content {
    max-width: none;
  }

  .frontispiece {
    left: auto;
    width: auto;
    margin: 0 0 2rem;
  }

  .frontispiece__inner {
    min-height: 0;
    padding: 2rem 0;
  }

  .frontispiece__field {
    opacity: 0.16;
  }

  .gc-section {
    break-inside: avoid;
  }
}

@media (max-width: 760px) {
  .showcase-declaration,
  .refusal-register > div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}
