@charset "UTF-8";
/* Home When and Why — коли потрібен / чому працює. */
.home-when-and-why {
  padding: 50px 0;
  background-color: #fff;
}
@media (max-width: 767px) {
  .home-when-and-why {
    padding: 50px 0;
  }
}
.home-when-and-why__container {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
@media (max-width: 992px) {
  .home-when-and-why__container {
    gap: 56px;
  }
}
@media (max-width: 767px) {
  .home-when-and-why__container {
    gap: 40px;
  }
}
.home-when-and-why__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
@media (max-width: 992px) {
  .home-when-and-why__row {
    gap: 32px;
  }
}
@media (max-width: 767px) {
  .home-when-and-why__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 767px) {
  .home-when-and-why__row--top {
    display: flex;
    flex-direction: column-reverse;
  }
}
.home-when-and-why__row--bottom {
  /* @media (max-width: 767px) {
  	.home-when-and-why__media {
  		order: -1;
  	}
  } */
}
.home-when-and-why__media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  align-self: stretch;
  border-radius: 24px;
  overflow: hidden;
  background-color: #e8eaf0;
}
@media (max-width: 767px) {
  .home-when-and-why__media {
    border-radius: 16px;
  }
}
.home-when-and-why__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 767px) {
  .home-when-and-why__media {
    min-height: 240px;
    aspect-ratio: 4/3;
  }
  .home-when-and-why__media img {
    position: absolute;
  }
}
.home-when-and-why__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.home-when-and-why__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: #011c51;
}
@media (max-width: 767px) {
  .home-when-and-why__title {
    font-size: 24px;
  }
}
.home-when-and-why__text, .home-when-and-why__subtext {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: #595959;
}
.home-when-and-why__text p, .home-when-and-why__subtext p {
  margin: 0 0 14px;
}
.home-when-and-why__text p:last-child, .home-when-and-why__subtext p:last-child {
  margin-bottom: 0;
}
.home-when-and-why__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 575px) {
  .home-when-and-why__items {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.home-when-and-why__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 14px;
  border-left: 3px solid #011c51;
  min-width: 0;
}
.home-when-and-why__item-title {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 21px;
  font-weight: 600;
  color: #011c51;
}
@media (max-width: 767px) {
  .home-when-and-why__item-title br {
    display: none;
  }
}
.home-when-and-why__item-text {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 21px;
  font-weight: 400;
  color: #595959;
}/*# sourceMappingURL=style.css.map */