/* ==========================================================================
   Business / EcoFlow: "EcoFlow HVAC Filtration" (live: Framer "Section 5", framer-1p736h1)
   Breakpoints (business page): desktop >= 1440, laptop 1280 to 1439.98, tablet 810 to 1279.98, phone <= 809.98.
   Heading + right-aligned (bottom-aligned) blurb, then a looping muted video that plays only while on screen.
   ========================================================================== */

/* ---------- Desktop (>= 1440px) ---------- */
.nf-biz-ecoflow {
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: center; gap: 0;
  width: 100%; height: min-content; padding: 0; overflow: clip; background-color: rgb(0, 0, 0);
}
.nf-biz-ecoflow__container {
  position: relative; z-index: 2; flex: 1 0 0px; display: flex; flex-flow: column; justify-content: flex-start; align-content: center; align-items: center; gap: 47px;
  width: 1px; max-width: 1380px; height: min-content; padding: 100px 40px; overflow: visible;
}
.nf-biz-ecoflow__text {
  position: relative; flex: 0 0 auto; display: flex; flex-flow: row; justify-content: flex-start; align-content: flex-end; align-items: flex-end; gap: 40px;
  width: 100%; height: min-content; padding: 0; overflow: clip;
}
.nf-biz-ecoflow__wrap { position: relative; height: auto; will-change: transform; }
.nf-biz-ecoflow__wrap--title { flex: 1 0 0px; width: 1px; max-width: 100%; }
.nf-biz-ecoflow__wrap--phone { display: none; }
.nf-biz-ecoflow__wrap--copy { flex: 0 0 auto; width: auto; }

.nf-biz-ecoflow__title {
  font-family: "SF Pro Display Medium", "SF Pro Display Medium Placeholder", sans-serif; font-weight: 500; font-style: normal;
  font-size: 72px; line-height: 110%; letter-spacing: normal; color: rgb(255, 255, 255); text-align: start;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.nf-biz-ecoflow__copy {
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif; font-weight: 400; font-style: normal;
  font-feature-settings: "blwf", "cv03", "cv04", "cv09", "cv11";
  font-size: 30px; line-height: 125%; letter-spacing: -0.02em; color: rgb(245, 245, 245); text-align: start;
  white-space: pre;
}

.nf-biz-ecoflow__media { position: relative; flex: 0 0 auto; width: 100%; height: 520px; will-change: transform; }
.nf-biz-ecoflow__video {
  width: 100%; height: 100%; border-radius: 20px; object-fit: cover; object-position: 50% 50%;
  background-color: rgba(0, 0, 0, 0); cursor: auto;
}

/* Scroll reveal (Framer appear, plays once when half of the block is visible).
   Text: opacity 0 -> 1, 0.4s ease. Video frame: rises 40px and fades in, 0.6s Framer ease after a 0.4s delay. */
.nf-biz-ecoflow.is-js [data-biz-ecoflow-reveal] { opacity: 0; transition: opacity 0.4s ease; }
.nf-biz-ecoflow.is-js .nf-biz-ecoflow__media[data-biz-ecoflow-reveal] {
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.44, 0, 0.56, 1) 0.4s, transform 0.6s cubic-bezier(0.44, 0, 0.56, 1) 0.4s;
}
.nf-biz-ecoflow.is-js [data-biz-ecoflow-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Laptop (1280px to 1439.98px) ---------- */
@media (min-width: 1280px) and (max-width: 1439.98px) {
  .nf-biz-ecoflow__container { padding: 100px 60px; }
}

/* ---------- Tablet (810px to 1279.98px) ---------- */
@media (min-width: 810px) and (max-width: 1279.98px) {
  .nf-biz-ecoflow__title { font-size: 48px; line-height: 1.2em; }
  .nf-biz-ecoflow__copy { font-size: 22px; }
  .nf-biz-ecoflow__media { height: 360px; }
}

/* ---------- Phone (<= 809.98px) ---------- */
@media (max-width: 809.98px) {
  .nf-biz-ecoflow { flex-direction: column; padding: 40px 16px; }
  .nf-biz-ecoflow__container { flex: 0 0 auto; gap: 34px; width: 100%; padding: 0; }
  .nf-biz-ecoflow__text { flex-direction: column; align-content: flex-start; align-items: flex-start; gap: 10px; }
  .nf-biz-ecoflow__wrap--wide { display: none; }
  .nf-biz-ecoflow__wrap--phone { display: block; flex: 0 0 auto; width: 100%; }
  .nf-biz-ecoflow__wrap--copy { width: 100%; }
  .nf-biz-ecoflow__title { font-size: 40px; line-height: 115%; }
  .nf-biz-ecoflow__copy {
    font-feature-settings: normal; font-size: 20px; line-height: 130%; letter-spacing: normal; text-align: left;
    white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
  }
  .nf-biz-ecoflow__media { width: 126%; height: 260px; }
  .nf-biz-ecoflow__video { border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nf-biz-ecoflow.is-js [data-biz-ecoflow-reveal], .nf-biz-ecoflow.is-js .nf-biz-ecoflow__media[data-biz-ecoflow-reveal] { opacity: 1; transform: none; transition: none; }
}
