.report-covers-grid {
  padding-block: clamp(4rem, 7vw, 7rem);
  overflow: hidden;
  background-color: var(--color-surface-default);
  color: var(--color-text-default);
  scroll-margin-top: 9rem;
}

.report-covers-grid__inner {
  width: min(100%, 144rem);
  padding-inline: clamp(1.25rem, 5.25vw, 7.75rem);
  margin-inline: auto;
}

.report-covers-grid__header {
  display: grid;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  gap: 1.25rem;
}

/* TABLET LANDSCAPE UP */
@media (min-width: 900px) {
  .report-covers-grid__header {
    align-items: end;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr);
    gap: clamp(3rem, 8vw, 8rem);
  }
}

.report-covers-grid__heading {
  max-width: 16ch;
  margin: 0;
  color: var(--color-text-heading);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

.report-covers-grid__intro {
  max-width: 42rem;
  margin: 0;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.report-covers-grid__list {
  --report-covers-grid-gap: clamp(1rem, 3vw, 2rem);

  display: grid;
  padding: 0;
  margin: 0;
  gap: var(--report-covers-grid-gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

/* TABLET PORTRAIT UP */
@media (min-width: 600px) {
  .report-covers-grid__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* DESKTOP UP */
@media (min-width: 1200px) {
  .report-covers-grid__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.report-covers-grid__item {
  min-width: 0;
}

.report-covers-grid__item:last-child:nth-child(odd) {
  width: calc((100% - var(--report-covers-grid-gap)) / 2);
  grid-column: 1 / -1;
  justify-self: center;
}

/* TABLET PORTRAIT UP */
@media (min-width: 600px) {
  .report-covers-grid__item:last-child:nth-child(odd) {
    width: auto;
    grid-column: auto;
    justify-self: stretch;
  }
}

/* TABLET PORTRAIT UP */
@media (min-width: 600px) {
  .report-covers-grid__item:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

/* DESKTOP UP */
@media (min-width: 1200px) {
  .report-covers-grid__item:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }
}

/* DESKTOP UP */
@media (min-width: 1200px) {
  .report-covers-grid__item:last-child:nth-child(odd) {
    width: auto;
    grid-column: auto;
    justify-self: stretch;
  }
}

.report-cover-card {
  display: grid;
  min-height: 3rem;
  min-width: 0;
  height: 100%;
  color: var(--color-text-default);
  gap: 1rem;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  transition: transform var(--control-transition-duration) ease;
}

.report-cover-card:focus-visible {
  border-radius: 0.75rem;
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 4px;
}

.report-cover-card__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--color-border-default);
  border-radius: 0.75rem;
  background-color: var(--color-surface-media);
  box-shadow: 0 1rem 2.5rem var(--color-shadow-card);
  aspect-ratio: 10 / 13;
  transition:
    border-color var(--control-transition-duration) ease,
    box-shadow var(--control-transition-duration) ease;
}

html[data-resolved-theme="dark"] .report-cover-card__media {
  border-color: var(--color-border-muted);
  box-shadow: none;
}

.report-cover-card__media.is-typographic {
  background-color: var(--color-brand-primary);
  color: var(--color-text-on-action);
}

.report-cover-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.report-cover-card__fallback {
  display: flex;
  height: 100%;
  padding-block: clamp(1.25rem, 5vw, 2.5rem);
  padding-inline: clamp(1rem, 4vw, 2rem);
  flex-direction: column;
  justify-content: space-between;
}

.report-cover-card__fallback-title {
  display: -webkit-box;
  max-width: 11ch;
  overflow: hidden;
  font-family: var(--font-family-heading);
  font-size: clamp(1.25rem, 4.5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.report-cover-card__fallback-year {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 7vw, 4rem);
  font-variant-numeric: tabular-nums;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
}

.report-cover-card__content {
  align-self: start;
  min-width: 0;
}

.report-cover-card__title {
  margin: 0;
  color: var(--color-text-heading);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-wrap: pretty;
}

.report-cover-card__description {
  margin: 0.75rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.55;
  text-wrap: pretty;
}

/* TABLET PORTRAIT UP */
@media (min-width: 600px) {
  .report-cover-card__description {
    font-size: 0.9375rem;
  }
}

.report-cover-card__meta {
  margin: 0.5rem 0 0;
  color: var(--color-text-subtle);
  font-size: 1rem;
  line-height: 1.4;
}

.report-cover-card__status {
  width: fit-content;
  padding: 0.35rem 0.625rem;
  border: 1px solid var(--color-border-default);
  border-radius: 999px;
  margin: 0.875rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.35;
}

/* TABLET PORTRAIT UP */
@media (min-width: 600px) {
  .report-cover-card__meta {
    font-size: 0.8125rem;
  }
}

@media (hover: hover) {
  .report-cover-card:not(.is-unavailable):hover {
    transform: translateY(-0.25rem);
  }
}

@media (hover: hover) {
  .report-cover-card:not(.is-unavailable):hover .report-cover-card__media {
    border-color: var(--color-border-interactive);
    box-shadow: 0 1.25rem 3rem var(--color-shadow-overlay);
  }
}

@media (hover: hover) {
  html[data-resolved-theme="dark"] .report-cover-card:not(.is-unavailable):hover .report-cover-card__media {
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .report-cover-card {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .report-cover-card__media {
    transition: none;
  }
}

@media (forced-colors: active) {
  .report-cover-card__media {
    border-color: currentcolor;
    box-shadow: none;
  }
}
