/* Home Solutions — scoped styles from verified Eve reference (#section3 / .solutions).
   No fullPage, scroll lock, or invented interactions. */

.home-solutions {
  position: relative;
  width: 100%;
  min-height: 100vh;
  color: var(--eve-color-text);
  background-color: #ffffff;
}

/* Reference: .wrap — flex, vertically centered, full section height */
.home-solutions__wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 0 100px 0 0;
  box-sizing: border-box;
}

/* Reference: .wrap-align.wrap-align-fix */
.home-solutions__inner {
  position: relative;
  flex: 1 1 0%;
}

.home-solutions__headline-line {
  display: inline-block;
  margin-bottom: 0;
  padding-left: 100px;
  height: 50px;
  font-family: var(--eve-font-display-medium);
}

.home-solutions__headline-line.violet {
  background: url("/img/mini-line-violet.svg") no-repeat left 26px;
}

.home-solutions__subtitle {
  display: inline-block;
  margin: 0;
  text-transform: uppercase;
  font-family: var(--eve-font-display-medium);
  font-size: 18px;
  letter-spacing: 1px;
  line-height: normal;
  color: var(--eve-color-violet);
}

/* Reference: .headline-align.headline-align-columns */
.home-solutions__columns {
  display: flex;
  gap: 50px;
  padding-left: 100px;
  box-sizing: border-box;
}

/* Reference: .wrap-align-fix .headline { width: 35% } */
.home-solutions__headline {
  width: 35%;
  flex-shrink: 0;
  margin-bottom: 25px;
  box-sizing: border-box;
}

.home-solutions__title {
  margin: 0 0 30px;
  text-transform: uppercase;
  font-family: var(--eve-font-display-extralight);
  font-weight: 200;
  font-size: 60px;
  line-height: 60px;
  color: var(--eve-color-text);
}

/* Reference: .fx-right */
.home-solutions__body {
  margin: 0;
  padding-right: 100px;
  font-family: var(--eve-font-body);
  font-size: 16px;
  line-height: 30px;
  color: var(--eve-color-text);
  box-sizing: border-box;
}

/* Reference: .headline-grid */
.home-solutions__grid {
  flex: 1 1 0%;
  min-width: 0;
}

/* Reference: .solutions */
.home-solutions__items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.home-solutions__item {
  display: block;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.home-solutions__thumb {
  display: block;
  min-width: 0;
}

/* Reference: height 160px, no max-width so mid breakpoints keep image scale */
.home-solutions__item img {
  display: block;
  position: relative;
  height: 160px;
  width: auto;
  max-width: none;
  margin: 0 0 10px;
}

.home-solutions__item:nth-of-type(1) img {
  right: 20px;
}

.home-solutions__item:nth-of-type(2) img {
  right: 30px;
}

.home-solutions__item:nth-of-type(3) img {
  right: 16px;
}

.home-solutions__item:nth-of-type(4) img {
  right: 20px;
}

.home-solutions__content {
  display: block;
}

.home-solutions__item h3 {
  margin: 0 0 10px;
  font-family: var(--eve-font-display-medium);
  font-weight: 500;
  font-size: 22px;
  line-height: 25px;
  color: var(--eve-color-violet);
}

/* Reference: ul.no-bullet + .solution__item ul li */
.home-solutions__description.no-bullet {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-solutions__description li {
  margin: 0 0 8px;
  font-family: var(--eve-font-body);
  font-size: 16px;
  line-height: 20px;
  color: var(--eve-color-text);
}

.home-solutions__description li:last-child {
  margin-bottom: 0;
}

/* Foundation: hide .show-for-medium below medium */
@media screen and (max-width: 39.99875em) {
  .home-solutions .show-for-medium {
    display: none !important;
  }
}

/* Reference: .solutions becomes 2-col at max-width 850px */
@media (max-width: 850px) {
  .home-solutions__items {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* Reference: #section3 mobile stack at max-width 700px */
@media (max-width: 700px) {
  .home-solutions {
    min-height: 0;
  }

  .home-solutions__wrap {
    min-height: 0;
    align-items: flex-end;
    padding: 40px 0 50px;
  }

  .home-solutions__inner {
    flex: none;
    width: 100%;
  }

  .home-solutions__headline-line {
    margin-bottom: 0;
    margin-left: -37px;
    padding-left: 66px;
  }

  .home-solutions__subtitle {
    font-size: 15px;
  }

  .home-solutions__columns {
    display: block;
    padding: 0 25px 20px;
  }

  .home-solutions__headline {
    width: 100%;
    margin-bottom: 0;
  }

  .home-solutions__title {
    font-size: 40px;
    line-height: 38px;
    margin-bottom: 15px;
  }

  .home-solutions__body {
    padding-right: 0;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .home-solutions__items {
    gap: 5px;
    margin-top: 10px;
  }

  .home-solutions__item {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .home-solutions__content {
    flex: 1 1 0%;
    min-width: 0;
  }

  .home-solutions__item img {
    width: 66px;
    height: auto;
    margin-top: -25px;
    margin-bottom: -25px;
    right: auto;
  }

  .home-solutions__item:nth-of-type(n) img {
    right: auto;
  }

  .home-solutions__item h3 {
    font-size: 17px;
    line-height: 17px;
    margin-bottom: 6px;
    padding-right: 0;
  }

  .home-solutions__description li {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 17px;
    padding-right: 0;
  }
}

@media (min-width: 100px) and (max-width: 550px) {
  .home-solutions__item img {
    height: auto;
    left: 0;
  }
}
