@import url("./site-polish-core.css");
@import url("./site-polish-research.css");
@import url("./site-polish-now-journey.css");
@import url("./site-polish-journal.css");
@import url("./site-polish-responsive.css");
@import url("./site-polish-home.css");
@import url("./academic-theme.css");
@import url("./editorial-typography.css");
@import url("./editorial-type-scale.css");
@import url("./site-polish-secondary-pages.css");

/* Accepted-publication status: follow the restrained treatment used by
   established academic homepages—plain high-contrast text, no badge color. */
.page__content .publication-status,
.pub-card span.publication-status,
.intern-card span.publication-status {
  display: inline;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #20242a !important;
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
  line-height: inherit;
  letter-spacing: 0;
}

.page__content .publication-status strong,
.pub-card span.publication-status strong,
.intern-card span.publication-status strong {
  color: #20242a !important;
}

/* Keep the priority-plus navigation toggle at its intended width. The navicon
   is a span, so it must be block-level for its 28px width to contribute to
   the button instead of leaving only the button padding visible. */
.greedy-nav button .navicon {
  display: block;
}

/* Keep the expanded list above page content and inside the viewport. */
.greedy-nav .hidden-links {
  z-index: 1000;
  max-width: calc(100vw - 1rem);
}

/* The Journal layout reserves a 165px first column for the generated table of
   contents. Short entries do not generate a TOC, so their prose must span the
   full grid instead of being auto-placed into that narrow first column. */
.diary-reading-grid > .journal-toc[hidden] + .diary-entry__content {
  grid-column: 1 / -1;
  width: min(100%, 760px);
  max-width: 760px;
  min-width: 0;
  justify-self: center;
}
