/* Homepage industry application layout. */
.home-industry-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}
.home-industry-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.home-industry-tab {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 16px 18px;
  width: 100%;
  min-height: 86px;
  color: #212529;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  position: relative;
}
.home-industry-tab img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}
.home-industry-tab b {
  font-size: 17px;
  font-weight: 400;
  margin-left: auto;
  color: #006355;
  opacity: 0;
}
.home-industry-tab[aria-selected="true"] {
  background: #f2f8f7;
  border-color: #d6e7df;
  color: #006355;
}
.home-industry-tab[aria-selected="true"]:before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 3px;
  background: #d6e7df;
}
.home-industry-tab[aria-selected="true"] b {
  opacity: 1;
}
.home-industry-tab:hover {
  background: #f7faf8;
}
.home-industry-progress {
  display: none;
}
.home-industry-tab[aria-selected="true"] .home-industry-progress {
  display: block;
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 3px;
  background: #006355;
  transform: scaleY(0);
  transform-origin: bottom;
}
.home-industry-content {
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  min-height: 420px;
  background: linear-gradient(180deg, #f2f8f7 0%, #fff 100%);
  border-radius: 8px;
  position: relative;
}
.home-industry-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding: 44px 0 28px 26px;
  position: relative;
  z-index: 2;
}
body[data-page="index"] .home-industry-copy h3 {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 16px;
  letter-spacing: normal;
}
body[data-page="index"] .home-industry-copy .industry-overview {
  font-size: 14px;
  line-height: 24px;
  margin: 0;
  color: #5e6360;
}
.home-industry-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}
.home-industry-tags span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 20px;
  min-height: 34px;
  padding: 5px 6px;
  font-weight: 500;
  text-align: center;
  color: #466557;
  border: 1px solid #dbe8df;
  border-radius: 4px;
  background: #fff;
}
html[lang="zh-CN"] .home-industry-tags span {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  letter-spacing: 0.25px;
}
html[lang="en"] .home-industry-tags {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
html[lang="en"] .home-industry-tags span {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: normal;
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 8px;
}
.industry-solution-link {
  border: 0;
  background: none;
  padding: 24px 0 0;
  color: #006355;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  align-self: flex-start;
  cursor: pointer;
}
.home-industry-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 420px;
}
.home-industry-scene > img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  left: 0;
  display: block;
}
.home-industry-content.is-switching > .home-industry-copy,
.home-industry-content.is-switching > .home-industry-scene {
  animation: industrySwitch 0.32s ease-out both;
}
@keyframes industrySwitch {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1000px) {
  .home-industry-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 20px;
  }
  .home-industry-tab {
    padding: 14px 10px;
    gap: 10px;
    font-size: 14px;
  }
  .home-industry-tab img {
    width: 38px;
    height: 38px;
  }
  .home-industry-content {
    grid-template-columns: 48% 52%;
  }
  .home-industry-copy {
    padding: 34px 0 25px 18px;
  }
  .home-industry-copy h3 {
    font-size: 24px !important;
  }
}
@media (max-width: 760px) {
  .home-industry-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .home-industry-nav {
    flex-direction: row;
    justify-content: start;
    overflow-x: auto;
    padding: 3px;
    gap: 8px;
  }
  .home-industry-tab {
    width: auto;
    min-width: 126px;
    flex-shrink: 0;
    min-height: 62px;
    padding: 10px 8px;
    gap: 8px;
    font-size: 14px;
  }
  .home-industry-tab b {
    display: none;
  }
  .home-industry-tab[aria-selected="true"]:before,
  .home-industry-tab[aria-selected="true"] .home-industry-progress {
    top: auto;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    width: auto;
  }
  .home-industry-tab[aria-selected="true"] .home-industry-progress {
    transform: scaleX(0);
    transform-origin: left;
  }
  .home-industry-content {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .home-industry-copy {
    padding: 30px 24px 22px;
  }
  .home-industry-scene {
    height: 270px;
    overflow: hidden;
  }
  .industry-solution-link {
    margin-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-industry-content.is-switching > div {
    animation: none !important;
  }
  .home-industry-tab[aria-selected="true"] .home-industry-progress {
    transform: none;
  }
}
