/* Only resilience and shared defaults. Divi owns all layout/design attributes. */
.mdv-fb-profile {
  overflow-wrap: anywhere;
}
.mdv-fb-profile :where(.et_pb_column, .et_pb_module) { min-width: 0; }
.mdv-fb-profile :where(img) { max-width: 100%; height: auto; }
.mdv-fb-profile :where(a):focus-visible,
.mdv-fb-profile-context a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
.mdv-fb-profile-context { display: flex; flex-wrap: wrap; gap: .5rem; }
.mdv-fb-profile-context p { flex-basis: 100%; }
.mdv-fb-profile-context a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: .625rem .875rem; border: 1px solid currentColor;
  border-radius: var(--mdv-fb-radius); overflow-wrap: anywhere;
}
.mdv-fb-profile-context a[aria-current="page"] { font-weight: 700; text-decoration: underline; }
.mdv-fb-profile-extra { margin-block: 1.5rem; }
/* Accessible minimum target size; colors, typography and padding remain Divi settings. */
.mdv-fb-profile .et_pb_button { min-height:44px; min-width:44px; display:inline-flex; align-items:center; justify-content:center; }

/* D4 font pickers accept registered families only. Low-specificity CI defaults
   leave explicit native module typography editable and never affect D5. */
.mdv-fb-profile--divi4 { font-family: var(--mdv-fb-font-body); }
.mdv-fb-profile--divi4 :where(.et_pb_heading_container > h1, .et_pb_heading_container > h2, .et_pb_heading_container > h3) { font-family: var(--mdv-fb-font-heading); }
