/* Intercom systems: product views and separate source wiring readers. */
.nd-page--intercom-systems .nd-main-hero {
  background: #f5f6f8;
}
.nd-page--intercom-systems .nd-page-hero-media img {
  object-fit: cover;
}
.nd-main-content .nd-intercom-studio {
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.nd-intercom-studio .nd-product-copy .nd-product-title {
  max-width: 25ch;
}
.nd-intercom-studio .nd-product-visual {
  position: sticky;
  top: 1.5rem;
  min-width: 0;
}
.nd-intercom-studio .nd-product-copy .nd-body {
  font-size: 1rem;
  line-height: 1.7;
}
.nd-intercom-villa-models > .nd-product-details > summary {
  overflow-wrap: anywhere;
}
.nd-intercom-diagram-reader {
  min-width: 0;
}
.nd-main-content .nd-intercom-diagram-gallery {
  background: #f7f8fa;
  border: 1px solid var(--nd-line);
  border-radius: var(--nd-radius);
}
.nd-main-content .wp-block-gallery.nd-intercom-diagram-gallery > figure.wp-block-image img {
  padding: clamp(.75rem, 2vw, 1.5rem);
  box-sizing: border-box;
  object-fit: contain !important;
}
.nd-intercom-diagram-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 1.25rem;
}
.nd-intercom-diagram-actions .wp-block-buttons {
  min-width: 0;
}
.nd-intercom-diagram-actions .wp-block-button__link {
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 1024px) {
  .nd-intercom-studio .nd-product-visual {
    position: static;
  }
}
@media (max-width: 767px) {
  .nd-main-content .nd-intercom-studio {
    grid-template-columns: 1fr;
  }
}
