/* Root landing page. Layered on top of main.css, which supplies the design
   tokens and the shared dark .report-header band. */

/* The shared header band is sized to sit behind a report's chart slider. The
   landing page has no slider, so it does not need the extra height. */
body.landing .report-header {
  min-height: 0;
  padding: 5em 1em 7em 1em;
}

.landing-content {
  position: relative;
  max-width: var(--content-max-width);
  margin: -5em auto 0 auto;
  padding: var(--content-padding);
  border-radius: 1em;
  background-color: var(--background-color);
  box-shadow: 0 0.5em 2em rgba(0, 0, 0, 0.08);
}

.report-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

/* A list of publications, not a grid of cards. A rounded box with a border, a
   shadow, a hover-lift and an arrow call-to-action is the default look of a
   generated landing page; a rule above and below says "item in a list" and
   still scales to a dozen reports. */
.report-card {
  border-top: 1px solid var(--separator-color);
}

.report-card:last-child {
  border-bottom: 1px solid var(--separator-color);
}

.report-card-link {
  display: block;
  padding: 1.8em 0;
  text-decoration: none;
  color: inherit;
}

.report-card-link:hover .report-card-title {
  text-decoration: underline;
}

.report-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75em;
  font-size: 0.8em;
  color: var(--accent-secondary);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.report-card-status {
  padding: 0.15em 0.6em;
  border-radius: 1em;
  background-color: var(--accent-secondary);
  color: #fff;
  letter-spacing: 0.5px;
}

.report-card-title {
  font-family: var(--title-font);
  font-size: calc(1em + var(--heading-size-increment) * 3);
  color: var(--accent-primary);
  margin: 0.25em 0 0.4em 0;
  line-height: 1.3;
}

.report-card-summary {
  margin: 0 0 1em 0;
  max-width: 46em;
}

.report-card-authors {
  display: block;
  font-size: 0.85em;
  color: var(--accent-secondary);
}



/* The landing page has no sidebar nav, so the shared menu button must not
   appear on narrow screens the way it does on report pages. */
body.landing .menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .landing-content {
    margin-top: -3em;
    border-radius: 0.75em;
  }

  .report-card-link {
    padding: 1.4em 0;
  }
}

/* The wordmark is a domain, so it keeps its lowercase form rather than taking
   the uppercase treatment the label style applies to report kickers. */
.report-label.site-wordmark {
  text-transform: none;
  letter-spacing: 0.02em;
}

/* An announced report: listed so the series looks complete, but not yet a link
   and carrying nothing but its title. Muting it keeps a reader from trying to
   click, without hiding the entry. */
.report-card--announced .report-card-title {
  color: var(--accent-secondary);
  margin-bottom: 0;
}

.report-card-status {
  padding: 0.15em 0.7em;
  border-radius: 1em;
  background-color: var(--accent-secondary);
  color: #ffffff;
  letter-spacing: 0.5px;
}
