:root {
  --mach-homewhat-padding-top: 100px;
  --mach-homewhat-top-title-size: 97px;
  --mach-homewhat-top-title-leading: 86px;
  --mach-homewhat-sub-title-size: 50px;
  --mach-homewhat-sub-text-size: 16px;
  --mach-homewhat-list-txt-title-size: 28px;
  --mach-homewhat-list-txt-text-size: 17px;
  --mach-homewhat-list-txt-padding: 57px 84px 61px 84px;
  --mach-homewhat-text-leading: 30px;
}

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

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

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

.mach-homewhat .sub-title p {
  margin: 0 auto;
  width: 92.78%;
  margin-bottom: 40px;
  text-align: center;
  font-size: var(--mach-homewhat-sub-text-size);
  line-height: 1.9;
}

.mach-homewhat .home-list {
  text-align: center;
  display: flex;
}
.mach-homewhat .home-list.pic-first {
  flex-direction: row-reverse;
}

.mach-homewhat .home-list .main-href {
  text-align: center;
}
.mach-homewhat .home-list .main-href a {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--button-radius);
  border: 1px solid #fff;
  color: #fff;
  font-size: var(--mach-homewhat-sub-text-size);
  font-family: var(--title-font-family);
  font-weight: 800;
  cursor: pointer;
  outline: transparent solid 1px !important;
}

.mach-homewhat .home-list .main-href a:hover {
  outline: #fff solid 1px !important;
}

.mach-homewhat .home-pic {
  padding: 0;
}

.mach-homewhat .home-pic img {
  height: 350px;
  width: 100%;
  aspect-ratio: 720/405;
  object-fit: cover;
  vertical-align: middle;
  transition: 1s all;
}

.mach-homewhat .home-txt {
  padding: var(--mach-homewhat-list-txt-padding);
  /*background-color: var(--color-primary);*/
  text-align: center;
}
.mach-homewhat .home-txt h3 {
  font-size: var(--mach-homewhat-list-txt-title-size);
  margin-bottom: 20px;
  color: #000;
  text-align: left;
  /*display: -webkit-box;*/
  /*-webkit-line-clamp: 1;*/
  /*-webkit-box-orient: vertical;*/
  /*overflow: hidden;*/
  /*text-overflow: ellipsis;*/
}

.mach-homewhat .home-txt p {
  margin-bottom: 1.82352em;
  font-size: var(--mach-homewhat-list-txt-text-size);
  color: #000;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 70%;
    /*margin: auto;*/
    text-align: left;
}

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

@media screen and (max-width: 1280px) {
  :root {
    --mach-homewhat-padding-top: 70px;
    --mach-homewhat-top-title-size: 86px;
    --mach-homewhat-sub-title-size: 42px;
    --mach-homewhat-sub-text-size: 15px;
    --mach-homewhat-list-txt-title-size: 28px;
    --mach-homewhat-list-txt-text-size: 16px;
    --mach-homewhat-list-txt-padding: 30px 40px;
  }
  .mach-homewhat .home-list .main-href a {
    padding: 15px 50px;
  }
  .mach-homewhat .home-pic img {
    height: 280px;
  }
}

@media screen and (max-width: 1200px) {
  :root {
    --mach-homewhat-padding-top: 60px;
    --mach-homewhat-top-title-size: 75px;
    --mach-homewhat-list-txt-padding: 20px 0;
  }
  .mach-homewhat .home-pic img {
    height: 250px;
  }
  .mach-homewhat .home-list .main-href a {
    padding: 15px 40px;
  }
  .mach-homewhat .home-txt h3,
  .mach-homewhat .home-txt p {
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 992px) {
  :root {
    --mach-homewhat-padding-top: 50px;
    --mach-homewhat-top-title-size: 70px;
    --mach-homewhat-sub-title-size: 32px;
    --mach-homewhat-list-txt-title-size: 24px;
    --mach-homewhat-list-txt-text-size: 14px;
    --mach-homewhat-text-leading: 25px;
  }
  .mach-homewhat .top-title {
    height: 60px;
  }
  .mach-homewhat .sub-title p {
    margin-bottom: 30px;
  }
  .mach-homewhat .home-list .main-href a {
    padding: 10px 30px;
  }
  .mach-homewhat .home-pic img {
    height: 220px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --mach-homewhat-padding-top: 44px;
    --mach-homewhat-top-title-size: 50px;
    --mach-homewhat-sub-title-size: 30px;
    --mach-homewhat-sub-text-size: 14px;
  }
  .mach-homewhat .home-list,
  .mach-homewhat .home-list.pic-first {
    flex-direction: column;
  }
}

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