.reports-cards {
  min-height: 42vh;
}

.report-card {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: grid;
  grid-template-areas: "stack";
  border-radius: var(--border-radius);
}

.report-card > * {
  grid-area: stack;
}

.report-card > img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--border-radius);
  object-fit: cover;
  overflow: hidden;
}

.report-card > figcaption {
  display: grid;
  place-content: center;
  background-image: linear-gradient(
    to bottom,
    rgba(33, 44, 55, 0),
    rgba(33, 44, 55, 0),
    rgba(33, 44, 55, 0.75)
  );
  /* background-color: rgba(33, 44, 55, 0.75); */
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 400ms,
    visibility 0ms 400ms;
}

.report-card:hover > figcaption {
  opacity: 1;
  visibility: visible;
  transition: opacity 400ms;
}

.report-card figcaption svg {
  background-color: var(--accent);
  border-radius: 50%;
  padding: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  box-shadow: 0 0 0 0.4rem #c8831950;
}

.report-card figcaption svg path {
  fill: var(--white);
}

body.dark .report-card figcaption svg path {
  fill: var(--black);
}

/* Badge on video cards */
.report-card {
  position: relative;
}
.report-card figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(7, 97, 124, 0.6);
  color: #fff;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 13px;
  z-index: 5;
}

.filter-btn {
  background-color: transparent;
  color: #07617c;
  border: 1px solid #07617c;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition:
    background-color 200ms,
    color 200ms,
    border-color 200ms;
}

.filter-btn:hover {
  background-color: rgba(7, 97, 124, 0.8);
  color: #fff;
  border-color: rgba(7, 97, 124, 0.8);
}

.filter-bar .filter-btn.active {
  background-color: #07617c;
  color: #fff;
  border-color: #07617c;
}
