:root {
  --mach-home-area-margin-top: 90px;
  --mach-home-area-title-size: 36px;
  --mach-home-area-text-size: 16px;
  --mach-home-area-play-size: 114px;
  --mach-home-area-text-leading: 1.8;
  --mach-home-area-between-padding: 35px;
}
.main-href {
    display: none;
}
.mach-home-area {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: var(--mach-home-area-margin-top);
}
.mach-home-area .home-left {
  padding: 0;
  padding-right: var(--mach-home-area-between-padding);
}
.mach-home-area .home-right {
  padding: 0;
  padding-left: var(--mach-home-area-between-padding);
      padding-top: 50px;
}
.mach-home-area .home-left .box {
  height: 100%;
}
.mach-home-area .home-left a {
  display: block;
  position: relative;
  overflow: hidden;
  height: 100%;
  aspect-ratio: 16 / 9;
}

.mach-home-area__mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.3;
}

.mach-home-area .home-left a span {
  background-color: var(--color-primary);
  position: absolute;
  height: var(--mach-home-area-play-size);
  width: var(--mach-home-area-play-size);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.mach-home-area .home-left a span::after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--mach-home-area-play-size) / 8);
  left: calc(-1 * var(--mach-home-area-play-size) / 8);
  right: calc(-1 * var(--mach-home-area-play-size) / 8);
  bottom: calc(-1 * var(--mach-home-area-play-size) / 8);
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  box-sizing: border-box;
}

.mach-home-area .home-left a span i {
  font-size: 28px;
  color: #fff;
}

.mach-home-area .home-left a img {
  transition: all 0.3s ease 0s;
  aspect-ratio: 1.6;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.mach-home-area .home-left a:hover img {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
}

.mach-home-area .home-right h2 {
  font-size: var(--mach-home-area-title-size);
  font-family: var(--title-font-family);
  font-weight: 700;
  line-height: normal;
  color: var(--title-text-color);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 20px;
}

.mach-home-area .home-right h2 a:hover {
  color: var(--title-text-color);
}

.mach-home-area .home-right p {
  font-size: var(--mach-home-area-text-size);
  color: var(--text-color);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 40px;
}
.mach-home-area .main-href a {
  display: inline-block;
  padding: 15px 40px;
  background: var(--color-primary);
  font-family: var(--title-font-family);
  font-size: var(--mach-home-area-text-size);
  font-weight: 800;
  cursor: pointer;
  color: #fff;
}
.mach-home-area .main-href a:hover {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.15) 100%), var(--color-primary);
}
@media screen and (max-width: 1500px) {
  :root {
    --mach-home-area-margin-top: 80px;
    --mach-home-area-title-size: 32px;
    --mach-home-area-text-size: 16px;
    --mach-home-area-play-size: 90px;
    --mach-home-area-between-padding: 30px;
  }
  .mach-home-area .home-left a span i {
    font-size: 26px;
  }
}

@media screen and (max-width: 1280px) {
  :root {
    --mach-home-area-margin-top: 70px;
    --mach-home-area-title-size: 28px;
    --mach-home-area-text-size: 16px;
    --mach-home-area-play-size: 80px;
    --mach-home-area-between-padding: 25px;
  }
  .mach-home-area .home-left a span i {
    font-size: 24px;
  }
  .mach-home-area .main-href a {
    padding: 15px 50px;
  }
}

@media screen and (max-width: 1200px) {
  :root {
    --mach-home-area-margin-top: 60px;
    --mach-home-area-title-size: 28px;
    --mach-home-area-text-size: 15px;
    --mach-home-area-play-size: 70px;
    --mach-home-area-between-padding: 20px;
  }
  .mach-home-area .home-left a span i {
    font-size: 22px;
  }
  .mach-home-area .main-href a {
    padding: 10px 40px;
  }
}

@media screen and (max-width: 992px) {
  :root {
    --mach-home-area-margin-top: 50px;
    --mach-home-area-title-size: 24px;
    --mach-home-area-text-size: 15px;
    --mach-home-area-play-size: 60px;
    --mach-home-area-between-padding: 15px;
  }
  .mach-home-area .home-left a span i {
    font-size: 20px;
  }
  .mach-home-area .main-href a {
    padding: 10px 30px;
  }
  .mach-home-area .home-right h2 {
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
  }
  .mach-home-area .home-right p {
    -webkit-line-clamp: 3;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --mach-home-area-margin-top: 40px;
    --mach-home-area-title-size: 20px;
    --mach-home-area-text-size: 14px;
    --mach-home-area-play-size: 50px;
    --mach-home-area-between-padding: 10px;
  }
  .mach-home-area .home-left a span i {
    font-size: 18px;
  }
  .mach-home-area .home-right h2 {
    margin-top: 10px;
  }
  .mach-home-area .home-right p {
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 576px) {
  :root {
    --mach-home-area-margin-top: 30px;
    --mach-home-area-title-size: 16px;
    --mach-home-area-text-size: 14px;
    --mach-home-area-play-size: 40px;
  }
  .mach-home-area .home-left a span i {
    font-size: 16px;
  }
}
