/* Shared Edit image dimensions and breakpoints; preserve Executive treatment. */
:is([data-edit-detail="executive"], [data-edit-detail="motherhood"], [data-edit-detail="motherhood-secondary"]) .edit-detail {
  width: min(100%, 1360px);
  grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
  gap: 40px;
}
:is([data-edit-card="executive"], [data-edit-card="motherhood"]) .edit-card {
  width: 100%;
  grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
  gap: 40px;
}
:is([data-edit-card="executive"], [data-edit-card="motherhood"]) .edit-image-link {
  width: 100%;
  max-width: none;
}
:is([data-edit-card="executive"], [data-edit-card="motherhood"]) .edit-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}
:is([data-edit-detail="executive"], [data-edit-detail="motherhood"], [data-edit-detail="motherhood-secondary"]) .edit-detail-media figure {
  width: 100%;
  max-width: none;
  margin: 0;
}
:is([data-edit-detail="executive"], [data-edit-detail="motherhood"], [data-edit-detail="motherhood-secondary"]) .edit-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: auto;
}
@media (max-width: 1024px) {
  :is([data-edit-card="executive"], [data-edit-card="motherhood"]) .edit-card {
    display: block;
  }
  :is([data-edit-card="executive"], [data-edit-card="motherhood"]) .edit-card-copy {
    margin-top: 32px;
  }
  :is([data-edit-detail="executive"], [data-edit-detail="motherhood"], [data-edit-detail="motherhood-secondary"]) .edit-detail {
    display: block;
    width: 100%;
  }
  :is([data-edit-detail="executive"], [data-edit-detail="motherhood"], [data-edit-detail="motherhood-secondary"]) .edit-detail-media {
    position: static;
  }
  :is([data-edit-detail="executive"], [data-edit-detail="motherhood"], [data-edit-detail="motherhood-secondary"]) .edit-detail-copy {
    margin-top: 32px;
  }
}

/* Match the Executive 2000:1596 canvas while retaining each full photograph. */
[data-edit-card="motherhood"] .edit-image,
:is([data-edit-detail="motherhood"], [data-edit-detail="motherhood-secondary"]) .edit-image { aspect-ratio: 2000 / 1596; object-fit: contain; object-position: center; background: var(--edit-ground); }
[data-edit-detail="motherhood"]:empty { min-height: 100vh; }
.motherhood-secondary figure { margin: 0; width: 100%; }
