opportunity-finder {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: max-content;
  gap: .5rem;
  margin: 0 auto;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
}

@media screen and (max-width: 1024px) {
  opportunity-finder {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  opportunity-finder {
    grid-template-columns: 1fr;
  }
}

.opportunity-container {
  --background-url: url('/generic-phc-square.png');
  --gap: .25rem;

  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  color: white;
  aspect-ratio: 1 / 1;
  width: 250px;
  max-width:90vw;
  max-height: 250px;
  padding: 2rem;
  box-sizing: content-box;

  position: relative;
  /* background stuff */
  background-position: center;
  background-size: cover;
  backdrop-filter: grayscale(100%);
}
.opportunity-container::after {
  position: absolute;
  content: "";
  inset: 0;
  background-image: var(--background-url);
  background-position: center;
  background-size: cover;

  filter: grayscale(100%) brightness(.3);

  z-index: -1;
}

.opportunity-container h2 {
  text-align: center;
  margin: 0;
  padding: 0;
  color: currentColor !important;
  font-size: 1.5em !important;
}
.opportunity-container p {
  text-align: justify;
  margin: 0;
  padding: 0;

  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.opportunity-container hr {
  width: 150px;
}
.opportunity-container .learn-more-btn {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid currentColor;
  font-size: .8em;
  padding: .5em .75em;
  margin-top: auto;

  transition: background-color 100ms linear;
}
.opportunity-container .learn-more-btn:hover {
  background-color: #7B2D26;
}