/* Give the site mark more presence than Quarto's 24px default. */
.navbar-logo {
  height: 32px;
  max-height: 32px;
}

.navbar .navbar-brand .navbar-title {
  color: #000;
}

.site-subtitle {
  padding: 0.5rem 1.75rem 0;
  margin-bottom: 2rem;
}

/* Keep the home-page feed closer to a reading list than a data table. */
.quarto-listing-table thead {
  display: none;
}

.quarto-listing-table.table > tbody > tr > td {
  padding: 0.75rem 0;
  border-bottom-color: var(--bs-border-color-translucent);
  background: transparent;
}

.quarto-listing-table.table > tbody > tr {
  display: flex;
  align-items: baseline;
}

.quarto-listing-table td:first-child {
  width: auto;
  flex: 0 0 auto;
  color: var(--bs-secondary-color);
  white-space: nowrap;
}

.quarto-listing-table.table > tbody > tr > td:nth-child(2) {
  padding-left: 2rem;
}

.quarto-listing-table.table > tbody > tr > td:last-child {
  width: auto;
  flex: 1;
  padding-left: 1rem;
  color: var(--bs-tertiary-color);
  white-space: nowrap;
}

.listing-category-link {
  color: inherit;
  text-decoration: none;
}

.listing-category-link:hover {
  text-decoration: underline;
}

/* Keep post metadata visually connected to the title and categories. */
#title-block-header.quarto-title-block.default {
  background: var(--bs-tertiary-bg);
}

#title-block-header.quarto-title-block.default .quarto-title-banner {
  padding-bottom: 0;
  margin-bottom: 0;
}

#title-block-header.quarto-title-block.default .quarto-title-meta-heading {
  display: none;
}

#title-block-header.quarto-title-block.default .quarto-title-meta {
  grid-template-columns: max-content max-content;
  column-gap: 1rem;
  padding-top: 0.3rem;
  padding-bottom: 1.25rem;
}

#title-block-header.quarto-title-block.default + #quarto-content main.content {
  margin-top: 0.5rem;
}

@media (min-width: 992px) {
  .quarto-listing-container-table {
    margin-right: 3rem;
  }

  .quarto-listing-category-title,
  .quarto-listing-category {
    text-align: right;
  }
}
