.Persons {
  position: relative;
  overflow: hidden;
}

.Persons-card {
    height: 31.25rem;
}

.Persons-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(40, 47, 56, 0.00) 50%, #282F38 90%);
}

.Persons img {
    display: block;
    height: 100%;
}

.Persons h3 {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  z-index: 1;
  max-width: 60%;
  margin-bottom: 0;
  color: var(--clr-white);
  font-size: 2.25rem;
  line-height: 2.7rem;
}

.Persons-controls {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  z-index: 1;
  display: flex;
  gap: 0.75rem;
}

/*########## Eventos starts ##########*/
.Events {
  overflow: hidden;
  position: relative;
}

.Events-card {
  min-height: 100%;
}

.Events-card > div:has(img) {
    position: relative;
}

.Events-card > div:has(img)::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(40, 47, 56, 0.00) 50%, #282F38 90%);
}

.Events-card > div:has(img) {
    place-self: end;
}

.Events-card img {
    display: block;
    height: 31.25rem;;
    width: 100%;
    object-fit: cover;
}

.Events-controls {
    position: relative;
    z-index: 1;
    margin-top: 2.5rem;
}

@media (width > 48em) {
    .Events-controls {
        position: absolute;
        bottom: 2.19rem;
        left: 4.19rem;
      }
}