.reports-filters {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  padding: 20px;
  margin-bottom: 30px;
}

.filter-row {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-item {
  flex: 1;
  min-width: 200px;
}

.filter-item label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--color-text);
}

.filter-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  background: var(--color-background);
  font-size: 14px;
}

.filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-filter {
  background: var(--bs-green-darker);
  color: white;
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  font-weight: 600;
}

.btn-filter:hover {
  background: var(--bs-green-dark);
}

.btn-clear {
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 8px 15px;
}

.btn-clear:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.reports-pagination {
  margin-top: 30px;
}

.reports-pagination ul {
  display: flex;
  justify-content: center;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.reports-pagination li {
  display: inline-block;
}

.reports-pagination a,
.reports-pagination span {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-background);
  border: 1px solid var(--color-border);
}

.reports-pagination a:hover {
  background: var(--njtpa-gray-lighter);
}

.reports-pagination .current {
  background: var(--bs-green-lighter);
  color: white;
  border-color: var(--bs-green-lighter);
}

.reports-pagination .dots {
  border: none;
  background: transparent;
}

.reports-pagination .prev,
.reports-pagination .next {
  font-weight: 600;
}

.no-reports-found {
  background: var(--color-background);
  padding: 40px;
  text-align: center;
  border: 1px solid var(--color-border);
}

.no-reports-found h2 {
  color: var(--color-text);
  margin-bottom: 10px;
}

.no-reports-found p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.resource-reports-archive {
  background: var(--njtpa-gray-lighter);
  padding: 0;
}

.reports-content-area {
  padding: 40px 0;
}

.posts-count,
.reports-count {
  background: var(--njtpa-gray-lighter);
  padding: 10px 15px;
  border: 1px solid var(--color-border);
  margin-bottom: 20px;
  font-size: 0.9em;
  color: var(--color-text-muted);
}

.reports-table {
  background: var(--color-background);
  border: 1px solid var(--color-border);
}

.report-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 25px;
  border-bottom: 1px solid var(--njtpa-gray-light);
  align-items: flex-start;
}

.report-row:last-child {
  border-bottom: none;
}

.report-row:hover {
  background: var(--njtpa-gray-lighter);
}

.report-main {
  min-width: 0;
}

.report-title {
  margin: 0 0 12px 0;
  font-size: 1.2em;
  line-height: 1.3;
}

.report-title a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
}

.report-title a:hover {
  color: var(--bs-green-lighter);
}

.report-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.report-year-badge {
  /* background: var(--bs-green-darker); */
  /* background: var(--njtpa-white); */
  color: var(--bs-green-darker);
  /* padding: 4px 10px; */
  /* border-radius: 4px; */
  /* border: 1px solid var(--bs-green-darker); */
  /* font-size: 0.8em; */
  font-weight: 600;
  white-space: nowrap;
}

.report-counties-list {
  color: var(--color-text-muted);
  font-size: 0.85em;
  line-height: 1.4;
}

.more-counties {
  color: var(--color-text-muted);
  font-style: italic;
}

.report-excerpt {
  color: var(--color-text-muted);
  font-size: 0.9em;
  line-height: 1.6;
  margin: 0;
}

.report-actions {
  text-align: center;
  align-self: center;
}

.btn-view-details, .btn-download {
  background: var(--bs-green-darker);
  color: white;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.85em;
  font-weight: 600;
  display: inline-block;
}

.btn-download:hover {
  background: var(--bs-green-dark);
  color: white;
}

.no-pdf {
  color: var(--color-text-muted);
  font-size: 0.8em;
}

.resource-report-single {
  background: var(--njtpa-gray-lighter);
}

.report-single {
  background: var(--color-background);
  border: 1px solid var(--color-border);
}

/* Breadcrumb navigation - Resource Reports only */
.report-breadcrumb {
  padding: 15px 0;
  margin-bottom: 20px;
}

.report-breadcrumb a {
  color: var(--bs-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.report-breadcrumb a:hover {
  text-decoration: underline;
}

.report-content-wrapper {
  padding: 1rem;
}

.report-header {
  padding: 30px;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}

.report-type-badge {
  background: var(--bs-green-lighter);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 15px;
}

.resource-report-single .report-title {
  font-size: 2.2em;
  color: var(--color-text);
  margin: 0 0 20px 0;
  font-weight: 700;
  line-height: 1.2;
}

.report-meta-info {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 1rem;
  background: var(--bs-green-light);
  border-bottom: 1px solid var(--njtpa-gray-light);
}

.meta-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.meta-label {
  font-weight: 600;
  color: var(--color-text-muted);
  /* min-width: 60px; */
}

.meta-value {
  color: var(--color-text);
  flex: 1;
}

.report-main-content,
.report-description,
.report-download-simple,
.report-related,
.related-reports {
  margin-bottom: 40px;
}

/* Simple download button styling */
.report-download-simple {
  margin: 2rem 0;
}

.report-description h2,
.report-download h2,
.report-related h2,
.related-reports h2 {
  font-size: 1.3em;
  color: var(--color-text);
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.content-text {
  line-height: 1.7;
  color: var(--color-text);
  font-size: 15px;
}

.content-text p {
  margin-bottom: 15px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.detail-card {
  background: var(--color-background);
  padding: 20px;
  text-align: center;
  border: none;
}

.detail-card h3 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 10px 0;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.detail-card p {
  font-size: 16px;
  color: var(--color-text);
  margin: 0;
  font-weight: 600;
}

@media (max-width: 768px) {
  .filter-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .filter-item {
    min-width: auto;
  }

  .report-row {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: left;
    padding: 20px;
  }

  .report-meta {
    gap: 10px;
  }

  .report-actions {
    text-align: left;
    align-self: flex-start;
    margin-top: 10px;
  }

  .report-header,
  .report-content-wrapper {
    /* padding: 20px; */
  }

  .report-breadcrumb {
    padding: 15px 20px;
  }

  .report-header .report-title {
    font-size: 1.8em;
  }

  .report-type-badge {
    font-size: 0.75em;
    padding: 5px 10px;
  }

  .report-meta-info {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .download-box {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .btn-download-large {
    width: 100%;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }
}
