.matterport-card > div {
  min-width: 0;
}

.matterport-preview:not([hidden]) {
  display: flex;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  padding: 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.matterport-preview p {
  margin: 0;
  color: var(--wd-color-brand-contrast);
}

.matterport-preview .button {
  max-width: 100%;
  white-space: normal;
}

.matterport-status {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.matterport-status:empty {
  display: none;
}

@media (max-width: 720px) {
  .matterport-preview:not([hidden]) {
    width: 100%;
  }
}
