.reports-category-title {
  scroll-margin-top: 6rem;
}

.reports-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.reports-directory-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--text-muted);
  border-radius: var(--border-radius-lg);
  background: var(--card-bg);
  color: var(--text-main);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.reports-directory-card:hover,
.reports-directory-card:focus-visible {
  border-color: var(--primary-color);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.reports-directory-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.4;
}

.reports-directory-card p {
  margin: 0;
  color: var(--text-muted);
}

.reports-directory-cta {
  margin-top: auto;
  color: var(--primary-color);
  font-weight: 600;
}

.editorial-report {
  max-width: 960px;
}

.editorial-report-content {
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.editorial-report-content p,
.editorial-report-content li {
  color: var(--text-main);
}

.editorial-report-content h2,
.editorial-report-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.editorial-report-content h3 {
  font-size: 1.25rem;
}

.editorial-report-content .table {
  min-width: 52rem;
  overflow-wrap: normal;
  word-break: normal;
}

.editorial-report-content .table th,
.editorial-report-content .table td {
  padding: 0.75rem;
  vertical-align: top;
}

.editorial-report-content .table tr > :first-child {
  min-width: 11rem;
}

.editorial-report-content .report-pay-table {
  min-width: 0;
}

.editorial-report-content .report-pay-table tr > :first-child {
  min-width: 0;
}

.editorial-report-content .report-pay-table th,
.editorial-report-content .report-pay-table td {
  padding-inline: 0.5rem;
}

.report-pay-search {
  align-items: center;
  border-radius: 0.35rem;
  display: inline-flex;
  font-size: 0.75em;
  height: 2rem;
  justify-content: center;
  text-decoration: none;
  vertical-align: middle;
  width: 2rem;
}

.report-pay-search:hover,
.report-pay-search:focus-visible {
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.report-pay-search:focus-visible {
  outline: 2px solid currentColor;
}

@media (max-width: 640px) {
  .editorial-report-content .report-pay-region {
    container-type: inline-size;
  }

  .editorial-report-content .report-pay-table tr > :first-child {
    width: 1%;
  }

  @container (min-width: 10rem) {
    .editorial-report-content .report-pay-table tr > :first-child {
      position: sticky;
      left: 0;
      z-index: 1;
      background: var(--card-bg);
    }
  }

  .reports-directory-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .reports-directory-card {
    padding: 1.1rem;
  }
}
