/* yg-banner */
.yg-image-banner {
  position: relative;
  padding-inline: 0;
  padding-bottom: 0;
}

.yg-image-banner ,
.yg-image-banner img {
  max-height: 85vh;
}

.yg-image-banner img {
  object-fit: cover;
}

@media(max-width: 767px) {
  .yg-image-banner {
    --content-padding-block: 50px;
    --text-gap: 12px;
  }
}

.yg-image-banner .yg-content {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding-block: var(--content-padding-block,80px);
}

.yg-image-banner .yg-content-left {
  top: 50%;
  bottom: unset;
  transform: translateY(-50%);
}

.yg-image-banner .yg-filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  backdrop-filter: blur(6px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 30%, rgba(0,0,0,.9) 70%, rgba(0,0,0,1) 100%) ;
}

.yg-image-banner .yg-subheading {
  font-weight: 400;
  font-style: normal;
  line-height: 130%;
  position: relative;
  margin-bottom: 8px;
}

.yg-image-banner .yg-heading {
  line-height: 130%;
  position: relative;
  letter-spacing: -.4px;
}

.yg-image-banner .yg-text {
  font-weight: 400;
  line-height: 160%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--text-gap,40px);
  margin-top: var(--text-gap,40px);
}

.yg-image-banner .yg-text a {
  transition: opacity .2s ease-in-out;
  opacity: 1;

  text-decoration-line: underline;
  text-decoration-skip-ink: auto;
  text-decoration-style: solid;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.yg-image-banner .yg-text a:hover {
  opacity: .7;
}

.yg-image-banner .yg-nav-list {
  font-weight: 400;
  font-style: normal;
  line-height: 140%;
  position: relative;
  display: flex;
  overflow: hidden;
  gap: 12px;
  margin-bottom: 8px;
  text-overflow: ellipsis;
}

/* yg-scroll-tab */
.yg-scroll-tab {
  position: fixed;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .3s ease-in-out;
  z-index: 9;
  top: 0;
  border-top: 1px solid #F4F4F4;
  border-bottom: 1px solid #F4F4F4;
  background: #FFFFFF;
}

.yg-scroll-tab.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.yg-scroll-tab.yg-section {
  padding-block: 0;
}

.yg-scroll-tab .yg-tab-frame {
  display: flex;
  overflow-x: auto;
  align-items: center;
  gap: 24px;
  padding-inline: 0;
}

.yg-scroll-tab .yg-tab-frame li {
  padding-block: 24px;
  cursor: pointer;
  white-space: nowrap;
  color: #000000;
  border-bottom: 2px solid transparent;
}


.yg-scroll-tab .yg-tab-frame li.active {
  font-weight: 600;
  color: #01633D;
  border-bottom: 2px solid #01633D;
}

@media (max-width: 767px) {
  .yg-scroll-tab .yg-tab-frame li {
    padding-block: 16px;
  }
}

/* yg-number-list */
@keyframes number-jump {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.yg-number.jump {
  animation: number-jump .5s ease-in-out;
}

.yg-number-list {
  display: grid;
  align-items: flex-start;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 40px;
  padding-top: 80px;
}

.yg-number-list .yg-number-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding-right: 40px;
}

.yg-number-list .yg-number-box {
  display: flex;
  align-items: baseline;
}

.yg-number-list .yg-number-box .h1, .yg-number-list .yg-number-box h5 {
  color: #01633D;
}

.yg-number-list .yg-number {
  font-weight: 600;
  font-style: normal;
  line-height: 110%; /* 52.8px */
  letter-spacing: -.48px;
}

.yg-number-list .yg-unit {
  font-weight: 600;
  font-style: normal;
  line-height: 140%;
}

.yg-number-list .yg-description {
  font-weight: 400;
  font-style: normal;
  line-height: 140%; /* 28px */
  opacity: .9;
  color: #454748;
}

.yg-number-list .yg-number-item::after {
  position: absolute;
  right: 0;
  width: 1px;
  height: 100%;
  content: '';
  background: rgba(1, 99, 61, .30);
}

@media(min-width: 768px) {
  .yg-number-list .yg-number-item:nth-child(3n)::after {
    display: none;
  }
}

@media(max-width: 767px) {
  .yg-number-list .yg-number-item {
    padding-right: 24px;
  }

  .yg-number-list .yg-number-item:nth-child(2n)::after {
    display: none;
  }

  .yg-number-list .yg-description {
    font-size: 14px;
  }

  .yg-number-list {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px 24px;
    padding-top: 50px;
  }
}

/* yg-timeline */

.yg-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-block: 80px;
}

.yg-timeline .yg-background-box {
  position: absolute;
  z-index: -1;

  inset: 0;
}

.yg-timeline .yg-background-box .yg-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.yg-timeline .yg-header {
  font-weight: 600;
  font-style: normal;
  line-height: 130%;
  letter-spacing: -.4px;
  color: #FFFFFF;
}

.yg-timeline .yg-item-list {
  width: 100%;
}

.yg-timeline .yg-item {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  max-width: 311px;
  user-select: none;
  transition: opacity .3s ease-in-out;
  opacity: .4;
}

.yg-timeline .swiper-slide .yg-item-image {
  transition: opacity .3s ease-in-out;
  opacity: 0;
}

.yg-timeline .swiper-slide.swiper-slide-active .yg-item-image {
  opacity: 1;
}

.yg-timeline .swiper-slide .yg-item {
  margin-inline: auto;
}

.yg-timeline .swiper-slide.swiper-slide-active .yg-item {
  opacity: 1;
}

.yg-timeline .swiper-slide.swiper-slide-prev .yg-item {
  margin-inline: 0 auto;
}

.yg-timeline .swiper-slide.swiper-slide-next .yg-item {
  margin-inline: auto 0;
}

.yg-timeline .yg-item-content {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
}

.yg-timeline .yg-item-time {
  font-weight: 600;
  font-style: normal;
  line-height: 130%;
  letter-spacing: -.4px;
  color: #FFFFFF;
}

.yg-timeline .yg-item-desc {
  font-weight: 400;
  font-style: normal;
  line-height: 140%;
  color: #FFFFFF;
}

.yg-timeline .yg-timeline-line-box {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.yg-timeline .yg-timeline-line {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.yg-timeline .yg-line {
  flex: 1;
  min-width: 49px;
  height: 2px;
  background: #FFFFFF;
}

.yg-timeline .yg-line-item {
  position: relative;
}

.yg-timeline .yg-line-cricle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 12px;
  height: 12px;
  border-radius: 39px;
  background: #FFFFFF;

  aspect-ratio: 1/1;
}

.yg-timeline .yg-line-time {
  font-weight: 600;
  font-style: normal;
  line-height: 140%;
  position: absolute;
  bottom: -31px;
  left: -124%;
  color: #FFFFFF;
}

.yg-timeline .swiper-button-prev::after, .yg-timeline .swiper-button-next::after {
  display: none;
}

.yg-timeline .swiper-button-prev, .yg-timeline .swiper-button-next {
  position: static;
  width: 18px !important;
  height: 18px !important;
  margin: 0;
  user-select: none;

  aspect-ratio: 1 / 1;
}

.yg-timeline-line .yg-line-item {
  cursor: pointer;
  transition: opacity .3s ease;
}

.yg-timeline-line .yg-line {
  transition: opacity .3s ease;
}

.yg-timeline-line .yg-line-item:hover {
  opacity: 1 !important;
}

.yg-timeline-line .yg-line-item.active .yg-line-cricle {
  transform: scale(1.2);
  background-color: #01633D;
}


@media(min-width: 768px) {
  .yg-timeline .swiper-button-prev:hover, .yg-timeline .swiper-button-next:hover {
    opacity: .4;
  }
}

@media(max-width: 767px) {
  .yg-timeline {
    gap: 24px;
    padding-block: 50px;
  }

  .yg-timeline .yg-timeline-line {
    overflow: auto;
    justify-content: unset;
    padding-bottom: 25px;

    scrollbar-width: none;
  }

  .yg-timeline .yg-item {
    max-width: unset;
  }
}

/* yg-images */
.yg-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}

.yg-images img {
  height: 100%;
}

.yg-images .yg-image-item {
  position: relative;
}

.yg-images .yg-image-content {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding-inline: 80px;
  background: rgba(0, 0, 0, 0.4);
}

.yg-images .yg-image-subheading {
  font-weight: 600;
  font-style: normal;
  line-height: 130%;
  text-align: center;
  color: #FFFFFF;
}

.yg-images .yg-image-heading {
  font-weight: 600;
  font-style: normal;
  line-height: 130%;
  text-align: center;
  color: #FFFFFF;
}

@media(max-width: 767px) {
  .yg-images {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* yg-image-with-text */
.yg-image-with-text {
  padding-inline: 0;
  padding-bottom: 0;
}

.yg-image-with-text .yg-item-wrapper {
  display: flex;
  flex-direction: column;
  background: #F2F7F5;
}

.yg-image-with-text img {
  height: 100%;
}

.yg-image-with-text .yg-item {
  display: grid;
  align-items: center;
  grid-template-columns: 50% 50%;
}

.yg-image-with-text .yg-image-with-text-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 40px 80px;
}

.yg-image-with-text .yg-image-with-text-content .h2 {
  color: #000000;
}

.yg-image-with-text .yg-image-with-text-content .yg-image-with-text-text {
  font-weight: 400;
  line-height: 140%;
  color: #454748;
}

@media (min-width: 768px) {
  .yg-image-with-text .yg-item.yg-item-Right .yg-image-with-text-content {
    order: -1;
    padding-left: max(48px, calc((100vw - 1280px) / 2));
  }

  .yg-image-with-text .yg-item.yg-item-Left .yg-image-with-text-content {
    order: 0;
    padding-right: max(48px, calc((100vw - 1280px) / 2));
  }
}

@media (max-width: 767px) {
  .yg-image-with-text .yg-item-wrapper {
    gap: 50px;
  }

  .yg-image-with-text .yg-item {
    grid-template-columns: 1fr;
  }

  .yg-image-with-text .yg-image-with-text-content {
    gap: 18px;
    order: -1;
    padding: 50px 20px;
  }
}

/* yg-image-with-product-swiper */
.yg-image-with-product-swiper {
  display: block;
  overflow: hidden;
  padding-top: 80px;
}

.yg-image-with-product-swiper .swiper {
  overflow: visible;
}

.yg-image-with-product-swiper .yg-product-item {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border-radius: 4px;
  background: #F4F4F4;
}

.yg-image-with-product-swiper .yg-item-content {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.yg-image-with-product-swiper .yg-item-title {
  font-weight: 600;
  font-style: normal;
  line-height: 140%; /* 28px */
  color: #242526;
}

.yg-image-with-product-swiper .yg-item-text {
  font-weight: 400;
  font-style: normal;
  line-height: 130%;
  color: #454748;
}

.yg-image-with-product-swiper .yg-item-product-item {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: space-between;
  border-radius: 4px;
  background: #FFFFFF;
}

.yg-image-with-product-swiper .yg-product-image {
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  width: 133px;
  height: 100px;
  margin: 12px;
}

.yg-image-with-product-swiper .yg-product-info {
  display: flex;
  align-self: center;
  flex: 1 0 0;
  gap: 10px;
  padding: 0 32px 0 12px;
}

.yg-image-with-product-swiper .yg-product-title {
  font-weight: 600;
  font-style: normal;
  line-height: 140%;
  flex: 1 0 0;
  color: #000000;
}

.yg-image-with-product-swiper .yg-product-link {
  font-weight: 600;
  font-style: normal;
  line-height: 130%; /* 20.8px */
  transition: opacity .3s ease-in-out;
  opacity: 1;
  color: #01633D;

  text-decoration-line: underline;
  text-decoration-skip-ink: none;
  text-decoration-style: solid;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.yg-image-with-product-swiper .yg-product-link:hover {
  opacity: .7;
}

.yg-image-with-product-swiper .swiper-box {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 12px;
  margin-top: 24px;
}

.yg-image-with-product-swiper .swiper-pagination {
  position: relative;
  flex: 1;
  margin-top: unset!important;
}

.yg-image-with-product-swiper .swiper-pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #000000;
}

.yg-image-with-product-swiper .yg-swiper-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yg-image-with-product-swiper .swiper-button-prev::after, .yg-image-with-product-swiper .swiper-button-next::after {
  content: unset;
}

.yg-image-with-product-swiper .swiper-button-prev, .yg-image-with-product-swiper .swiper-button-next {
  position: static;
  display: flex;
  align-items: center;
  gap: 10px;
  width: unset!important;
  height: unset!important;
  margin: 0;
  padding: 8px;
  border-radius: 999px;
  background: #E2E3E3;
  top: 45%;
}

.yg-image-with-product-swiper  svg {
  min-width: 16px;
  min-height: 16px;

  aspect-ratio: 1/1;
}

@media (min-width: 768px) {
  .yg-image-with-product-swiper .swiper-button-prev, .yg-image-with-product-swiper .swiper-button-next {
    position: absolute;
    background: #fff;
  }
}

@media (max-width: 767px) {
  .yg-image-with-product-swiper {
    padding-top: 50px;
  }

  .yg-image-with-product-swiper .yg-item-content {
    gap: 12px;
    padding: 14px;
  }

  .yg-image-with-product-swiper .yg-item-title {
    font-size: 16px;
  }

  .yg-image-with-product-swiper .yg-product-info {
    flex-direction: column;
    gap: 10px;
    padding-inline: 12px;
  }
}

/* yg-recommended-products */
.yg-recommended-products {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 80px;
  background: #FAFAFA;
}

.yg-recommended-products .yg-heading {
  font-weight: 600;
  font-style: normal;
  line-height: 130%; /* 52px */
  letter-spacing: -.4px;
  color: #000000;
}

.yg-recommended-products .swiper {
  position: relative;
  overflow: hidden;
  border-radius: var(--Radius-Tag, 4px);
  background: #FFFFFF;
}

.yg-recommended-products .yg-product-item {
  display: grid;
  grid-template-columns: repeat(2 ,minmax(0, 1fr));
  background: #FFFFFF;
}

.yg-recommended-products .yg-product-image {
  overflow: hidden;
}

.yg-recommended-products .yg-product-info {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 40px;
}

.yg-recommended-products .yg-product-content {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
  gap: 24px;
}

.yg-recommended-products .yg-product-title {
  font-weight: 600;
  font-style: normal;
  line-height: 120%;
  letter-spacing: -.28px;
  color: #000000;
}

.yg-recommended-products .yg-product-text {
  font-weight: 400;
  font-style: normal;
  line-height: 130%;
  text-align: justify;
  color: #454748;
}

.yg-recommended-products .yg-product-tab-box {
  display: flex;
  align-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.yg-recommended-products .yg-product-tab {
  font-weight: 400;
  font-style: normal;
  line-height: 140%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 12px;
  text-align: justify;
  color: #454748;
  border-radius: 4px;
  background: #F4F4F4;
}

.yg-recommended-products .yg-product-link {
  font-weight: 600;
  font-style: normal;
  line-height: 165%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  transition: opactity .3s ease-in-out;
  opacity: 1;
  color: #FFFFFF;
  border-radius: 4px;
  background: #01633D;
}

.yg-recommended-products .yg-product-link:hover {
  opacity: .7;
}

.yg-recommended-products .yg-swiper-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 8px;
}

.yg-recommended-products .yg-swiper-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yg-recommended-products .swiper-button-prev::after, .yg-recommended-products .swiper-button-next::after {
  content: unset;
}

.yg-recommended-products .swiper-button-prev, .yg-recommended-products .swiper-button-next {
  position: static;
  margin: 0;
  padding: 8px;
  border-radius: 999px;
  background: #E2E3E3;
}

.yg-recommended-products .swiper-slide {
  visibility: hidden;
}

.yg-recommended-products .swiper-slide-active {
  visibility: visible;
}



@media(max-width: 767px) {
  .yg-recommended-products {
    gap: 18px;
    padding-top: 50px;
  }

  .yg-recommended-products .yg-product-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .yg-recommended-products .yg-product-info {
    gap: 24px;
    padding: 20px;
  }

  .yg-recommended-products .yg-product-content {
    gap: 16px;
  }
}

/* yg-link-list */
.yg-link-list {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
}

.yg-link-list .yg-link-left {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 40px;
}

.yg-link-list .yg-link-heading {
  font-weight: 600;
  font-style: normal;
  line-height: 130%;
  letter-spacing: -.4px;
}

.yg-link-list .yg-link-boxs {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.yg-link-list .yg-link-item {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
  gap: 32px;
  padding: 24px;
  border-radius: 4px;
  background: #F4F4F4;
}

.yg-link-list .yg-link-info {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
  gap: 12px;
}

.yg-link-list .yg-link-title {
  font-weight: 600;
  font-style: normal;
  line-height: 140%;
  color: #242526;
}

.yg-link-list .yg-link-text {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
  gap: 6px;
}

.yg-link-list .yg-link-subtitle {
  font-weight: 600;
  font-style: normal;
  line-height: 160%;
  color: #454748;
}

.yg-link-list .yg-link-content {
  font-weight: 400;
  font-style: normal;
  line-height: 150%; /* 24px */
  color: #454748;
}

.yg-link-list .yg-link-btn {
  font-weight: 600;
  font-style: normal;
  line-height: 170%;
  display: block;
  padding: 8px 20px;
  transition: opacity .3s ease-in-out;
  text-align: center;
  opacity: 1;
  color: #FFFFFF;
  border-radius: 4px;
  background: #01633D;
}

.yg-link-list .yg-link-btn:hover {
  opacity: .6;
}

@media(min-width: 768px) {
  .yg-link-list img {
    height: 100%;
  }
}

@media(max-width: 767px) {
  .yg-link-list {
    grid-template-columns: 1fr;
  }

  .yg-link-list .yg-link-left {
    gap: 24px;
  }

  .yg-link-list .yg-link-item {
    gap: 24px;
    padding: 20px;
  }
}

/* yg-image-list */

.yg-image-list {
  background: #FAFAFA;
}

.yg-image-list .yg-section-header {
  justify-content: center;
}

.yg-image-list .swiper-pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: #000000;
}

.yg-image-list .swiper-button-prev rect, .yg-image-list .swiper-button-next rect {
  fill: #FFFFFF;
}

.yg-image-list .swiper-button-prev path, .yg-image-list .swiper-button-next path {
  stroke: #000000;
}

/* yg-logo-list */
.yg-logo-list {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 80px;
}

.yg-logo-list .yg-heading {
  font-weight: 600;
  font-style: normal;
  line-height: 130%;
  width: 100%;
  text-align: center;
  letter-spacing: -.4px;
}

.yg-logo-list .yg-logo-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 12px;
}

/* 根据data-columns属性设置PC端列数 */

.yg-logo-list .yg-logo-container[data-columns='3'] {
  grid-template-columns: repeat(3, minmax(100px, 1fr));
}

.yg-logo-list .yg-logo-container[data-columns='4'] {
  grid-template-columns: repeat(4, minmax(100px, 1fr));
}

.yg-logo-list .yg-logo-container[data-columns='5'] {
  grid-template-columns: repeat(5, minmax(100px, 1fr));
}

.yg-logo-list .yg-logo-container[data-columns='6'] {
  grid-template-columns: repeat(6, minmax(100px, 1fr));
}

.yg-logo-list .yg-logo-item {
  border-radius: 4px;
  background: #F4F4F4;
}

@media(max-width: 767px) {
  .yg-logo-list {
    gap: 18px;
    padding-bottom: 50px;
  }

  .yg-logo-list .yg-logo-container {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 10px;
  }

  /* 根据data-columns-mobile属性设置移动端列数 */
  .yg-logo-list .yg-logo-container[data-columns-mobile='1'] {
    grid-template-columns: repeat(1, minmax(100px, 1fr));
  }

  .yg-logo-list .yg-logo-container[data-columns-mobile='2'] {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }

  .yg-logo-list .yg-logo-container[data-columns-mobile='3'] {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
  }

  .yg-logo-list .yg-logo-container[data-columns-mobile='4'] {
    grid-template-columns: repeat(4, minmax(100px, 1fr));
  }
}

/* yg-form */
.yg-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.yg-form .yg-heading {
  font-weight: 600;
  font-style: normal;
  line-height: 130%;
  max-width: 635px;
  text-align: left;
  letter-spacing: -.4px;
  margin-bottom: 12px;
}

.yg-form .yg-text {
  font-weight: 400;
  font-style: normal;
  line-height: 130%; /* 20.8px */
  max-width: 635px;
  color: #000000;
}

.yg-form .yg-text {
  font-weight: 400;
  font-style: normal;
  line-height: 130%; /* 20.8px */
  color: #000000;
}

.yg-form .wpforms-container {
  width: 100%;
}

.yg-form .wpforms-field-address .wpforms-field-row:nth-child(2), .yg-form .wpforms-field-address .wpforms-field-row:nth-child(3) {
  display: none !important;
}

.yg-form .wpforms-required-label {
  display: none;
}

.yg-form .wpforms-field-content {
  font-family: 'Instrument Sans SemiBold', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  font-style: normal;
  line-height: 130%;
  grid-column: span 6;
  padding-top: 0!important;
  color: #01633D!important;
}

.yg-form .wpforms-field select, .yg-form .wpforms-field input, .yg-form .wpforms-field textarea, .yg-form .wpforms-field .wpforms-uploader {
  border: none!important;
  background: #FAFAFA!important;
}

.yg-form .wpforms-field select {
  background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'24\' height=\'24\' viewBox=\'0 0 24 24\' fill=\'none\'%3E%3Cpath d=\'M11.9995 12.1712L14.828 9.34277L16.2422 10.757L11.9995 14.9996L7.7569 10.757L9.1711 9.34277L11.9995 12.1712Z\' fill=\'%23707275\'/%3E%3C/svg%3E')!important;
  background-repeat: no-repeat!important;
  background-position: right 12px center!important;
}

.yg-form .wpforms-field select,
.yg-form .wpforms-field input {
  height: 52px;
}

.yg-form .placeholder {
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 140%; /* 19.6px */
  color: #707275!important;
}

.yg-form .wpforms-field.wpforms-field-content .wpforms-field-row h4:first-child {
  margin-bottom: 12px;
}

.yg-form .wpforms-container .wpforms-field {
  padding-block: 0;
}

.yg-form .wpforms-field-container {
  display: grid;
  grid-template-columns: repeat(6,minmax(0, 1fr));
  row-gap: 12px;
  column-gap: 6px;
}

.yg-form .yg-am, .yg-form .yg-email, .yg-form .yg-country {
  grid-column: span 2;
}

.yg-form .yg-country .wpforms-field-row-block:only-child {
  width: 100%!important;
  padding: 0!important;
}

.yg-form .wpforms-list-inline {
  grid-column: span 6;
}

.yg-form .wpforms-container-full .wpforms-field-label {
  margin-bottom: 6px;
}

.yg-form .yg-preferred-product-lines, .yg-form .yg-territory, .yg-form .yg-preferred-features {
  margin-block: 12px;
}

.yg-form .yg-optional {
  margin-block: 20px 0;
  padding-top: 32px!important;
  border-top: 1px solid #E2E3E3;
}

.yg-form .yg-use-case, .yg-form .yg-product-status, .yg-form .yg-product-type, .yg-form .yg-width, .yg-form .yg-height, .yg-form .yg-viewing, .yg-form .yg-installation {
  grid-column: span 3;
}

.yg-form .yg-uncertain-size {
  grid-column: span 6;
}

.yg-form .yg-uncertain-size li {
  margin-inline: auto 0!important;
}

.yg-form .yg-uncertain-size .wpforms-field-label-inline {
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 140%;
  margin-block: auto!important;
  color: #242526;

  padding-inline-start: 6px!important;
}

.yg-form .yg-company-name, .yg-form .yg-annual-volume-target, .yg-form .yg-role, .yg-form .yg-phone, .yg-form .yg-install-method, .yg-form .yg-budget-range {
  grid-column: span 2;
}

.yg-form .yg-website, .yg-form .yg-form-timeline, .yg-form .yg-message, .yg-form .yg-attachment {
  grid-column: span 6;
}

.yg-form .yg-viewing-distance {
  grid-column: span 3;
}

.yg-form .yg-must, .yg-form .yg-am, .yg-form .yg-email, .yg-form .yg-country {
  display: block;
}

.yg-form .wpforms-submit {
  font-family: 'Instrument Sans Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  height: fit-content !important;
  padding: 14px 32px !important;
  border-radius: 4px !important;
}

.yg-form .wpforms-submit.disable {
  color: #A9AAAC !important;
  background: #F4F4F4 !important;
}

.yg-form .yg-chat-button {
  position: absolute;
  bottom: 0;
  left: 188px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  white-space: nowrap;
  border: 1px solid #01633D;
  border-radius: 4px;
}

.yg-form .wpforms-container {
  margin: 0!important;
}

.yg-form .wpforms-submit-container {
  margin-top: 20px!important;
}

.yg-form .wpforms-field-checkbox .wpforms-field-label {
  margin-bottom: 16px!important;
}

@media(max-width: 767px) {
  .yg-form .wpforms-field-content {
    font-size: 18px;
  }

  .yg-form .placeholder, .yg-form .yg-uncertain-size .wpforms-field-label-inline, .yg-form select, .yg-form input, .yg-form .wpforms-field-label-inline {
    font-size: 12px!important;
  }

  .yg-form .wpforms-field.wpforms-field-checkbox ul li {
    width: 100%;
  }

  .yg-form .wpforms-field {
    overflow-x: visible!important;
    grid-column: span 6;
  }

  .yg-form .wpforms-field-label {
    font-size: 14px!important;
  }

  .yg-form .wpforms-submit {
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 12px 24px !important;
  }

  .yg-form .yg-chat-button {
    left: 160px;
  }
}
