:root {
  --mach-homewhy-padding-top: 90px;
  --mach-homewhy-top-title-size: 97px;
  --mach-homewhy-top-title-leading: 86px;
  --mach-homewhy-sub-title-size: 50px;
  --mach-homewhy-sub-text-size: 16px;
  --mach-homewhy-title-text-size: 20px;
  --mach-homewhy-text-leading: 1.8;
}

.mach-homewhy {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  width: auto;
  padding-top: var(--mach-homewhy-padding-top);
}

.mach-homewhy .top-title {
  height: 70px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid #f5f5f5;
}
.mach-homewhy .top-title h2 {
  font-size: var(--mach-homewhy-top-title-size);
  line-height: var(--mach-homewhy-top-title-leading);
  color: #f5f5f5;
}

.mach-homewhy .sub-title h2 {
  margin-bottom: 20px;
  text-align: center;
  color: var(--title-text-color);
  font-family: var(--title-font-family);
  font-size: 34px;
  line-height: normal;
  font-weight: normal;
}

.mach-homewhy .sub-title p {
  margin: 0 auto;
  width: 67.78%;
  margin-bottom: 45px;
  text-align: center;
  font-size: 18px;
  line-height: 27px;
}

.mach-homewhy ul {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.mach-homewhy ul li {
  margin-bottom: 38px;
  padding: 0 10px;
}

.mach-homewhy ul li .content {
  height: 100%;
  text-align: center;
  -webkit-transition: .3s all;
  -moz-transition: .3s all;
  -ms-transition: .3s all;
  transition: .3s all;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  padding: 35px 20px;
  box-shadow: 0px 0px 2px rgb(23 43 77 / 4%), 0px 3px 2px rgb(23 43 77 / 8%);
  background-color: #fdfdfd;
  border-radius: 4px;
}

/* .mach-homewhy ul li:hover .content {
  background-color: var(--color-primary);
}

.mach-homewhy ul li .content:hover h3 {
  color: #fff;
}
.mach-homewhy ul li .content:hover p {
  color: #fff;
} */

.mach-homewhy ul li .content img {
  width: 72px;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 29px;
}

.mach-homewhy ul li .content h3 {
  margin-bottom: 17px;
  font-size: 18px;
  font-weight: 600;
  color: var(--title-text-color);
}

.mach-homewhy ul li .content p {
  font-size: var(--mach-homewhy-sub-text-size);
  line-height: 1.5;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 1500px) {
  :root {
    --mach-homewhy-padding-top: 80px;
    --mach-homewhy-top-title-size: 92px;
    --mach-homewhy-sub-title-size: 46px;
    --mach-homewhy-sub-text-size: 15px;
  }
}

@media screen and (max-width: 1280px) {
  :root {
    --mach-homewhy-padding-top: 70px;
    --mach-homewhy-top-title-size: 86px;
    --mach-homewhy-sub-title-size: 42px;
    --mach-homewhy-sub-text-size: 15px;
    --mach-homewhy-title-text-size:16px;
    --mach-homewhy-text-leading: 1.6;
  }
}

@media screen and (max-width: 1200px) {
  :root {
    --mach-homewhy-padding-top: 60px;
    --mach-homewhy-top-title-size: 75px;
  }
}

@media screen and (max-width: 992px) {
  :root {
    --mach-homewhy-padding-top: 50px;
    --mach-homewhy-top-title-size: 70px;
    --mach-homewhy-sub-title-size: 32px;
    --mach-homewhy-text-leading: 1.4;
  }
  .mach-homewhy .top-title {
    height: 60px;
  }
  .mach-homewhy .sub-title p {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --mach-homewhy-padding-top: 44px;
    --mach-homewhy-top-title-size: 50px;
    --mach-homewhy-sub-title-size: 30px;
    --mach-homewhy-sub-text-size: 14px;
  }
}

@media screen and (max-width: 576px) {
  :root {
    --mach-homewhy-padding-top: 44px;
    --mach-homewhy-top-title-size: 40px;
    --mach-homewhy-sub-title-size: 24px;
    --mach-homewhy-sub-text-size: 14px;
  }
}
