/*
 * SEYLAC_HOMEPAGE_FEATURES_CLEANUP_V2
 *
 * Homepage-only presentation cleanup:
 * - removes decorative story markers and icon tiles from the remaining stories;
 * - keeps feature copy short, readable and consistent;
 * - gives the mobile phone visual one clean background;
 * - enlarges that visual on desktop without changing other pages.
 */

.sx-features .sx-feature-label::before {
  display: none;
}

.sx-features .sx-feature-list li {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid rgba(7, 61, 82, .10);
}

.sx-features .sx-feature-list li:last-child {
  border-bottom: 0;
}

.sx-features .sx-feature-list li > span:first-child {
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  color: inherit;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
  font-weight: inherit;
}

.sx-features .sx-feature-list strong {
  font-weight: 800;
}

/* The edited asset already contains this same solid colour. */
.sx-features .sx-feature-mobile-visual {
  min-height: 0;
  padding: 0;
  background: #f4efe6;
}

.sx-features .sx-feature-mobile-visual img {
  display: block;
  width: min(100%, 780px);
  max-width: none;
  height: auto;
  border-radius: 0;
  filter: none;
}

.sx-features .s4-story-value h3,
.sx-features .s4-story-forward h3 {
  max-width: 19ch;
}

.sx-features .s4-value-points > div {
  min-height: 0;
  padding: 22px;
}

.sx-features .s4-value-points h4 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.16;
}

.sx-features .s4-value-points p {
  max-width: 25ch;
  font-size: 13px;
  line-height: 1.5;
}

.sx-features .s4-forward-proof {
  margin-top: 26px;
}

.sx-features .s4-forward-proof strong {
  font-size: 14px;
}

.sx-features .s4-forward-proof small {
  font-size: 10px;
  line-height: 1.4;
}

.sx-features .s4-forward-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sx-features .s4-forward-steps > div {
  display: flex;
  min-width: 0;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .74);
}

.sx-features .s4-forward-steps strong {
  font-size: 16px;
}

.sx-features .s4-forward-steps small {
  font-size: 11px;
  line-height: 1.45;
}

@media (min-width: 981px) {
  .sx-features .sx-feature-mobile {
    grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
    min-height: 600px;
  }

  .sx-features .sx-feature-mobile-visual img {
    width: 100%;
  }

  .sx-features .sx-feature-mobile-copy {
    padding: clamp(42px, 4vw, 66px);
  }

  .sx-features .s4-value-points > div {
    min-height: 150px;
  }
}

@media (max-width: 820px) {
  .sx-features .s4-forward-steps {
    grid-template-columns: 1fr;
  }

  .sx-features .s4-forward-steps > div {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .sx-features .sx-feature-mobile-visual img {
    width: 100%;
  }

  .sx-features .s4-story-value h3,
  .sx-features .s4-story-forward h3 {
    max-width: 15ch;
  }

  .sx-features .s4-value-points > div {
    padding: 18px;
  }
}
