.block-donations {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 0 16.8%;
}

.donation-card {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 280px;
  max-width: 320px;
  aspect-ratio: 522/464;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.donation-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: bold;
  z-index: 1;
  position: relative;
  width: 50%;
}

.donation-card p {
  margin-bottom: 20px;
  font-size: 1rem;
  z-index: 1;
  position: relative;
}

.donation-card a {
  font-weight: bold;
  text-decoration: underline;
  transition: opacity 0.3s;
  z-index: 1;
  position: relative;
}

.donation-card:first-child a {
  color: #a17de5;
}

.donation-card a:hover {
  opacity: 0.8;
}

.donation-card img {
  position: absolute;
  top: 30%;
  right: 15%;
  width: 115px;
  z-index: 0;
  opacity: 0.2;
}

.donation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 0;
}
