/**
 * Hero donation styles rewrite
 */

.hero-donation {
  background-color: #373f45;
  background-size: cover;
  background-position: center 0;
  color: white;
  padding: 110px 0 380px;
  margin: 0;
}

.hero-donation.fullheight {
  padding-top: 11vw;
  min-height: calc(100vh - 149px);
}

@media only screen and (max-width: 1440px) {
  .hero-donation.fullheight {
    padding-top: 110px;
  }
}

@media only screen and (max-width: 1200px) {
  .hero-donation {
    padding: 90px 0 70px !important;
  }

  .hero-donation.fullheight {
    min-height: calc(100vh - 112px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media only screen and (max-width: 768px) {
  .hero-donation {
    padding: 70px 0 55px !important;
  }
}

@media only screen and (max-width: 575px) {
  .hero-donation.fullheight {
    min-height: calc(100vh - 110px);
  }
}

.hero-donation__title {
  max-width: 710px;
  text-align: center;
  color: white;
  line-height: 1;
  margin: 0 auto 40px;
}

@media only screen and (max-width: 1200px) {
  .hero-donation__title {
    margin: 0 auto 30px;
  }
}

@media only screen and (max-width: 768px) {
  .hero-donation__title {
    font-size: 54px;
  }
}

@media only screen and (max-width: 575px) {
  .hero-donation__title {
    font-size: 36px;
    margin: 0 auto 25px;
  }
}

.hero-donation__wrapper .button-main {
  margin: 0 auto;
}

.hero-donation__items {
  max-width: 100%;
  margin: 70px 0 0;
  gap: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

@media only screen and (max-width: 1200px) {
  .hero-donation__items {
    max-width: 700px;
    margin: 55px auto 0;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 768px) {
  .hero-donation__items {
    gap: 18px 12px;
  }
}

@media only screen and (max-width: 575px) {
  .hero-donation__items {
    grid-template-columns: repeat(1, 1fr);
  }
}

.hero-donation__item {
  width: 100%;
  flex: unset;
  background-color: #27383f;
  color: white;
  box-shadow: 0px 20px 20px 0px rgba(0, 0, 0, 0.15);
  padding: 32px 24px;
  aspect-ratio: 316 / 302;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  justify-content: space-between;
}

@media only screen and (max-width: 620px) {
  .hero-donation__item {
    padding: 26px 20px;
    aspect-ratio: 316 / 240;
  }
}

.hero-donation__item-icon {
  background-color: transparent;
  border-radius: 0;
  width: 64px;
  height: auto;
}

@media only screen and (max-width: 1400px) {
  .hero-donation__item-icon {
    width: 52px;
  }
}

@media only screen and (max-width: 620px) {
  .hero-donation__item-icon {
    width: 44px;
  }
}

.hero-donation__item-icon img,
.hero-donation__item-icon svg {
  display: block;
  width: 100% !important;
  height: auto !important;
}

.hero-donation__item-title {
  font-family: inherit;
  color: inherit;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 20px;
}

@media only screen and (max-width: 1400px) {
  .hero-donation__item-title {
    font-size: 20px;
    margin: 0 0 12px;
  }
}

.hero-donation__item-text {
  color: inherit;
  text-align: left;
}

@media only screen and (max-width: 1400px) {
  .hero-donation__item-text {
    font-size: 16px;
  }
}