/* Current Office captures: scoped to the PlanWork product page. */

.pw-showcase-stage--office .pw-showcase-media[data-pw-media-static] {
  transform: none;
  will-change: auto;
}

.pw-showcase-media--office[data-pw-media-static] .pw-showcase-media__poster img {
  object-fit: contain;
}

.pw-office-photos {
  margin-top: clamp(60px, 7vw, 100px);
}

.pw-office-photos__heading {
  max-width: 700px;
}

.pw-office-photos__heading h3 {
  margin: 14px 0 0;
  font-size: clamp(1.8rem, 3vw, 3.25rem);
  font-weight: 690;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.pw-office-photos__heading > p:not(.pw-showcase-kicker) {
  margin-top: 16px;
  color: #acb8ba;
  font-size: 0.94rem;
}

.pw-office-photos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.pw-office-photos__item {
  min-width: 0;
}

.pw-office-photos__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(216, 242, 236, 0.18);
  border-radius: 18px;
  background: #11191c;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.pw-office-photos__image .pw-showcase-media__poster,
.pw-office-photos__image img {
  position: static;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: contain;
}

.pw-office-photos__expand {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 242, 236, 0.35);
  border-radius: 50%;
  background: #102125;
  color: #fff;
  font-size: 1rem;
}

.pw-office-photos__image:hover,
.pw-office-photos__image:focus-visible {
  border-color: #70d8c8;
}

.pw-office-photos__item figcaption {
  padding-top: 18px;
}

.pw-office-photos__demo {
  display: block;
  color: #70d8c8;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pw-office-photos__item h4 {
  margin: 8px 0 0;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 690;
  letter-spacing: -0.025em;
}

.pw-office-photos__item figcaption p {
  margin-top: 8px;
  color: #acb8ba;
  font-size: 0.8rem;
  line-height: 1.5;
}

.pw-showcase-tour.is-static-chapter [data-pw-tour-toggle] {
  display: none !important;
}

/* A static Office image and its gallery must share normal document flow. */
@media (min-width: 900px) and (min-height: 680px) {
  .pw-showcase-js:not(.pw-showcase-static-media) #office {
    min-height: 0;
    padding: clamp(120px, 12vw, 188px) 0;
  }

  .pw-showcase-js:not(.pw-showcase-static-media) #office > .pw-showcase-stage__sticky {
    position: relative;
    top: auto;
    min-height: 0;
    display: block;
    padding: 0;
    overflow: visible;
  }
}

@media (max-width: 1099px) and (min-width: 700px) {
  .pw-office-photos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .pw-office-photos__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .pw-office-photos__image {
    border-radius: 14px;
  }

  .pw-office-photos__item figcaption {
    padding-top: 14px;
  }
}
