/* =============================================================================
   Road safety barometer: the list of the paragraph and the page of an HTML
   barometer.
   ============================================================================= */

/* List of barometers in a year. */
.barometer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.barometer-list li {
  padding: 0.375rem 0;
}

.barometer-list a {
  font-weight: 600;
}

.barometer-list__meta {
  margin-left: 0.375rem;
  color: #495057;
  font-size: 0.875rem;
  white-space: nowrap;
}

/* Page of an HTML barometer: the report fills the screen below the header,
   within the content width of the site (1120px). */
.barometer-document {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: calc(1120px + 2rem);
  margin: 1.5rem auto 3rem;
  padding-inline: 1rem;
}

.barometer-document__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.barometer-document__title {
  margin: 0;
}

.barometer-document__open {
  font-weight: 600;
}

.barometer-document__frame {
  width: 100%;
  height: calc(100vh - 12rem);
  min-height: 36rem;
  border: 1px solid #ced4da;
  border-radius: 0.75rem;
  background: #fff;
}
