/* Homepage second screen: the operating pressures that the cloud recipe system addresses. */
.home-pressure-section {
  display: flex;
  min-height: calc(100svh - 78px);
  padding: clamp(64px, 7vw, 104px) 0;
  background: #ffffff;
  color: #111111;
  align-items: center;
}

.home-pressure-inner {
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
}

.home-pressure-head {
  margin-bottom: clamp(42px, 5vw, 66px);
}

.home-pressure-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 3.45vw, 54px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: 0;
}

.home-pressure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.4vw, 22px);
}

.home-pressure-grid article {
  display: grid;
  min-height: 486px;
  padding: 28px 26px 24px;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #ffffff;
  grid-template-rows: auto minmax(106px, auto) 1fr;
}

.home-pressure-grid h3 {
  margin: 0 0 24px;
  font-size: clamp(24px, 1.75vw, 30px);
  font-weight: 680;
  line-height: 1.15;
  letter-spacing: 0;
}

.home-pressure-grid p {
  margin: 0;
  color: #555555;
  font-size: 16px;
  line-height: 1.65;
}

.home-pressure-grid img {
  width: 100%;
  height: 220px;
  margin-top: 28px;
  align-self: end;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.home-pressure-swipe {
  display: none;
}

/* Keep the three product-video controls readable over dark studio images.
   This homepage stylesheet loads last, after the shared legacy button rules. */
html body.home-page .home-product-card button.product-video-trigger.product-video-chip {
  min-height: 40px !important;
  padding: 0 14px 0 10px !important;
  color: #111518 !important;
  -webkit-text-fill-color: #111518 !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid #ffffff !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  backdrop-filter: none !important;
}

html body.home-page .home-product-card button.product-video-trigger.product-video-chip:hover,
html body.home-page .home-product-card button.product-video-trigger.product-video-chip:focus-visible {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  background-color: #ffffff !important;
  border-color: #ff6422 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38) !important;
}

html body.home-page .home-product-card button.product-video-trigger.product-video-chip .product-video-play-icon {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #ff6422 !important;
  border-color: #ff6422 !important;
}

@media (max-width: 900px) {
  .home-pressure-section {
    min-height: 0;
    padding: 56px 0 64px;
  }

  .home-pressure-inner {
    width: 100%;
  }

  .home-pressure-head {
    padding: 0 20px;
    margin-bottom: 30px;
  }

  .home-pressure-head h2 {
    max-width: 620px;
    font-size: 32px;
    line-height: 1.14;
  }

  .home-pressure-grid {
    display: flex;
    width: 100%;
    padding: 0 20px 10px;
    gap: 14px;
    overflow-x: auto;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-pressure-grid::-webkit-scrollbar {
    display: none;
  }

  .home-pressure-grid article {
    width: min(82vw, 326px);
    min-width: min(82vw, 326px);
    min-height: 442px;
    padding: 24px 22px 20px;
    grid-template-rows: auto minmax(104px, auto) 1fr;
    scroll-snap-align: start;
  }

  .home-pressure-grid h3 {
    margin-bottom: 18px;
    font-size: 25px;
  }

  .home-pressure-grid p {
    font-size: 15px;
  }

  .home-pressure-grid img {
    height: 196px;
    margin-top: 22px;
  }

  .home-pressure-swipe {
    display: flex;
    min-height: 24px;
    padding: 8px 20px 0;
    color: #777777;
    align-items: center;
    gap: 6px;
  }

  .home-pressure-swipe span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c8c8c8;
  }

  .home-pressure-swipe span.active {
    width: 18px;
    border-radius: 3px;
    background: #111111;
  }

  .home-pressure-swipe em {
    margin-left: 8px;
    font-size: 12px;
    font-style: normal;
  }
}

@media (max-width: 430px) {
  .home-pressure-head {
    padding-inline: 16px;
  }

  .home-pressure-head h2 {
    font-size: 29px;
  }

  .home-pressure-grid {
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }

  .home-pressure-grid article {
    width: min(84vw, 316px);
    min-width: min(84vw, 316px);
  }

  .home-pressure-swipe {
    padding-inline: 16px;
  }

  .home-page .home-product-card .product-video-chip {
    right: 12px;
    bottom: 12px;
  }
}
