.structures-wrapper {
  align-items: center;
  background-color: #fff;
  border: 0;
  border-radius: 32px;
  box-shadow: 0 18px 45px rgba(205, 71, 154, 0.08);
  color: var(--ceballos-cleaning-header);
  display: flex;
  flex-flow: column;
  gap: 1rem;
  justify-content: center;
  min-height: 210px;
  padding: 2rem 1.25rem;
  position: relative;
  text-align: center;
}

.structures-wrapper::before {
  background-color: rgba(205, 71, 154, 0.08);
  border-radius: 999px;
  content: "";
  height: 4.75rem;
  position: absolute;
  top: 1.5rem;
  width: 4.75rem;
}

.structures-wrapper:hover,
.structures-wrapper:focus-within {
  box-shadow: 0 24px 60px rgba(205, 71, 154, 0.16);
}

.magic-happens-block__image {
  align-items: center;
  background-color: transparent;
  color: #333;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  height: 5.5rem;
  justify-content: center;
  line-height: 20px;
  max-width: 100%;
  position: relative;
  vertical-align: baseline;
  width: 6.75rem;
  z-index: 1;
}

.magic-happens-block__image img {
  display: inline-block;
  height: 5.5rem;
  margin: 0 auto;
  object-fit: contain;
  vertical-align: baseline;
  width: 6.75rem;
  max-width: 100%;
}

.magic-happens-block .magic-happens-block__image .field--type-image img,
.magic-happens-block .magic-happens-block__image .field__item img {
  height: 4.75rem;
  object-fit: contain;
  width: 4.75rem;
}

.magic-happens-block__text {
  color: var(--ceballos-cleaning-header);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

@media (max-width: 575.98px) {
  .structures-wrapper {
    border-radius: 24px;
    min-height: 160px;
    padding: 1.35rem 0.75rem;
  }

  .structures-wrapper::before {
    height: 3.75rem;
    top: 1.15rem;
    width: 3.75rem;
  }

  .magic-happens-block__image,
  .magic-happens-block__image img {
    height: 4.5rem;
    width: 5.5rem;
  }

  .magic-happens-block__text {
    font-size: 0.8rem;
  }
}
