/* font-sizes */
.three-blocks-grid .module-header h2 {
  color: #000;
  font-family: Outfit, "Open Sans";
  font-size: 60px;
  font-weight: 700;
  line-height: 102%; /* 102.857% */
  margin-bottom: 24px;
}
@media screen and (max-width: 767px) {
  .three-blocks-grid .module-header h2 {
    margin-bottom: 16px;
  }
}
.three-blocks-grid .module-header p {
  color: #222;
  font-family: Outfit;
  font-size: 22px;
  font-weight: 400;
}
.three-blocks-grid .block h3 {
  color: #FFF;
  text-align: center;
  font-family: Outfit, "Open Sans";
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
} 
.three-blocks-grid .block p {
  color: #FFF;
  text-align: center;
  font-family: Outfit, "Open Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 135%;
} 
.three-blocks-grid .block.alt h3 {
  color: #FFF;
  text-align: center;
  font-family: Outfit, "Open Sans";
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 103%; /* 103.333% */
}
@media screen and (max-width: 1500px) {
  .three-blocks-grid .block h3 {
    font-size: 28px;
    line-height: 133%;
  } 
  .three-blocks-grid .block.alt h3 {
    font-size: 28px;
    line-height: 133%; /* 120% */
  } 
}
@media screen and (max-width: 767px) {
  .three-blocks-grid .block h3 {
    font-size: 24px;
    line-height: 133%;
  } 
  .three-blocks-grid .block.alt h3 {
    font-size: 20px;
    line-height: 24px; /* 120% */
  }   
  .three-blocks-grid .module-header {
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
  }
  .three-blocks-grid .module-header-alt {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .three-blocks-grid .module-header h2 {
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 123.077% */
  }
  .three-blocks-grid .module-header p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% *
  }
  .three-blocks-grid .block h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 24px; /* 109.091% */
  } 
  .three-blocks-grid .block p {
    font-size: 16px;
    line-height: 22px; /* 137.5% */
  } 
}
@media screen and (max-width: 400px) {
  .three-blocks-grid .block h3 {
    font-size: 20px;
    line-height: 133%;
  } 
  .three-blocks-grid .block.alt h3 {
    font-size: 20px;
    line-height: 133%; /* 120% */
  } 
}
.three-blocks-grid {
  overflow: hidden;
}
.three-blocks-grid .module-header {
  margin-bottom: 20px;
}
.three-blocks-grid .module-header h2 {
  margin-bottom: 12px;
}
.three-blocks-grid .module-header p {
  margin-bottom: 0;
}
.three-blocks-grid .module-header :where(h2,p) {
  font-family: Outfit, "Open Sans";
  color: #000;
}
@media screen and (max-width: 767px) {
  .three-blocks-grid .module-header :where(h2,p) {
    text-align: center;
  }
  .three-blocks-grid .module-header-alt :where(h2,p) {
    text-align: left;
  }
  .three-blocks-grid .module-header p {
    max-width: 300px;
  }
}
.three-blocks-grid .block-grid-container .swiper-slide {
  height: auto;
}
.three-blocks-grid .block-grid-container .block {
  background-color: #f4f7f9;
  overflow: hidden;
  position: relative;
  background-size: cover;
  aspect-ratio: 490/648;
  max-width: 490px;
  padding: 32px 16px;
  padding-top: 8%;
  height: 100%;
  border-radius: 30px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 1440px) {
  .three-blocks-grid .block-grid-container .block {
    padding: 24px 16px;
  }
}
@media screen and (max-width: 767px) {
  .three-blocks-grid .block-grid-container .block {
    padding: 16px 16px;
  }
}
.three-blocks-grid .block-grid-container .block.alt {
  aspect-ratio: 373/427;
  width: 100%;
  height: auto;
  padding: 24px;
}
@media screen and (max-width: 767px) {
  .three-blocks-grid .block-grid-container .block.alt-image-position {
    background-position: 0 35%;
  }
} 
.three-blocks-grid:has(.block.alt) .swiper-next-button {
  right: 0;
}
.three-blocks-grid:has(.block.alt) .swiper-prev-button {
  left: 0;
}
.three-blocks-grid .block-grid-container .block.color-alt :where(h3, p) {
  color: #000 !important;
}
.three-blocks-grid .block-grid-container .block .bg-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
  top: 0;
  left: 0;
  z-index: 1;
  transform: scale(1.05);
}
.three-blocks-grid .block-grid-container .block:has(.bg-hover) :where(h3, p) {
  position: relative;
  z-index: 2;
}
.three-blocks-grid .block-grid-container .block:hover .bg-hover {
  transform: scale(1.15);
}
.three-blocks-grid .block-grid-container .block :where(h3, p) {
  text-shadow: 0px 4px 5.5px rgba(0, 0, 0, 0.13);
  text-align: center;
  color: white;
}
.three-blocks-grid .block-grid-container .block :where(h3) {
  margin-bottom: 8px;
}
.three-blocks-grid .block-grid-container .block :where(p) {
  margin-bottom: 8px;
}
@media screen and (min-width: 1301px) {
  .three-blocks-grid .swiper-next-button, .three-blocks-grid .swiper-prev-button {
    display: none;
  }
}
.three-blocks-grid .block {
  box-shadow: 2px 4px 12px #00000014;
}
.three-blocks-grid .swiper-wrapper {
  padding: 12px 0px;
}