/* Size card content to its own width in previews, editors and published cards. */
.vc-card { container-type: inline-size; }
.vc-card .vc-section-contact .vc-section-content {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.vc-card .vc-section-social .vc-section-content {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.25rem), 1fr));
}
.vc-card .vc-section-content > :is(a, .vn-direct-contact) { min-width: 0; }
.vc-card .vc-section-contact :is(a, .vn-direct-contact) > span:first-of-type {
  min-width: 0;
  overflow-wrap: anywhere;
}
.vc-card .vc-social-link > span:not([aria-hidden], .vcs-mark) {
  flex: 1;
  min-width: 0;
  overflow-wrap: normal;
  hyphens: auto;
}
.vc-card .vc-intro { color: inherit; }
.vc-card .vn-demo-marker { color: #325473; }
@container (max-width: 400px) {
  .vc-card :is(.vc-person, .vc-card-body) { padding-inline: clamp(12px, 5cqi, 20px); }
  .vc-card .vc-section-contact :is(a, .vn-direct-contact) { padding-inline: 10px; gap: 8px; }
}
