.pg-report-archive__head {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}

.pg-report-archive__results {
  transition: opacity 0.15s ease;
}

.pg-report-archive__results.is-loading {
  opacity: 0.5;
}

.pg-report-archive__title {
  margin: 0;
  color: var(--pg-gabetti-gray);
  font-size: var(--pg-fs-block-title);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--pg-track-wide);
}

.pg-report-archive__filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--pg-gap-8);
  row-gap: var(--pg-gap-4);
  align-items: stretch;
}

@media (max-width: 60rem) {
  .pg-report-archive__filters {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 40rem) {
  .pg-report-archive__filters {
    grid-template-columns: 1fr;
  }
}

.pg-report-archive__search,
.pg-report-archive__settore {
  min-width: 0;
}

.pg-report-archive__search,
.pg-report-archive__settore select {
  min-height: 3rem;
}

.pg-report-archive__search {
  display: flex;
  align-items: center;
  gap: var(--pg-gap-2);
  padding: 0.5rem 1rem;
  background: var(--pg-white);
  border: 1px solid var(--pg-gabetti-gray);
  border-radius: var(--pg-radius-pill);
}

.pg-report-archive__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: var(--pg-fs-small);
  color: var(--pg-gabetti-gray);
}

.pg-report-archive__search input:focus {
  outline: none;
}

.pg-report-archive__search-btn {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pg-gabetti-gray);
  cursor: pointer;
}

.pg-report-archive__settore select {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  background: var(--pg-white);
  border: 1px solid var(--pg-gabetti-gray);
  border-radius: var(--pg-radius-pill);
  font: inherit;
  font-size: var(--pg-fs-small);
  color: var(--pg-gabetti-gray);
  appearance: none;
  background-image: var(--pg-arrow-mask);
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.65rem;
  cursor: pointer;
}

.pg-report-archive__grid {
  column-gap: var(--pg-gap-8);
  row-gap: clamp(2.5rem, 6vw, 5rem);
  grid-auto-rows: 1fr;
}

.pg-report-archive__grid .pg-card--variant-3 .pg-card__title {
  color: var(--pg-gabetti-gray);
}

.pg-report-archive__empty {
  margin: 0;
  color: var(--pg-gabetti-gray);
  font-size: var(--pg-fs-body-lg);
}

.pg-report-archive__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--pg-gap-4);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.pg-report-archive__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border: 1px solid var(--pg-gabetti-gray-light);
  border-radius: var(--pg-radius-pill);
  background: var(--pg-white);
  box-shadow: var(--pg-shadow-card);
  color: var(--pg-gabetti-gray-light);
  font-size: var(--pg-fs-block-body);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.pg-report-archive__page:not(.pg-report-archive__page--current):hover {
  color: var(--pg-primary);
}

.pg-report-archive__page--current {
  background: var(--pg-primary);
  border-color: var(--pg-primary);
  color: var(--pg-white);
}

.pg-report-archive__page--nav {
  color: var(--pg-gabetti-gray);
}

.pg-report-archive__chevron {
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.pg-report-archive__chevron--prev {
  transform: rotate(135deg);
  margin-left: 0.2rem;
}

.pg-report-archive__chevron--next {
  transform: rotate(-45deg);
  margin-right: 0.2rem;
}
