/* Shared between the public About page and its CMS preview. Captions stay outside the crop. */
.about-photo { width: 100%; min-width: 0; margin: 0; justify-self: center; }
.about-photo[data-image-size="small"] { width: min(100%, 16rem); }
.about-photo[data-image-size="medium"] { width: min(100%, 23rem); }
.about-photo__frame { position: relative; overflow: hidden; aspect-ratio: .85; border-radius: 50% 50% .7rem .7rem; background: var(--sj-surface-tint, #fcd4e6); }
.about-photo .about-photo__frame > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; min-height: 0; aspect-ratio: auto; border-radius: 0; clip-path: none; object-fit: cover; }
.about-photo .about-photo__frame > :is(.sj-preview__image-empty,.interior-art__placeholder) { position: absolute; inset: 0; min-height: 0; aspect-ratio: auto; border-radius: 0; clip-path: none; }
.about-photo[data-image-shape="rounded"] .about-photo__frame { border-radius: 1.5rem; }
.about-photo[data-image-shape="rectangle"] .about-photo__frame { border-radius: 0; }
.about-photo[data-image-shape="circle"] .about-photo__frame { aspect-ratio: 1; border-radius: 50%; }
.about-photo[data-image-shape="oval"] .about-photo__frame { aspect-ratio: .72; border-radius: 50%; }
.about-photo[data-image-shape="opposite"] .about-photo__frame { border-radius: 7rem .7rem 7rem .7rem; }
.about-photo[data-image-shape="cut"] .about-photo__frame { clip-path: polygon(0 9%,9% 0,100% 0,100% 91%,91% 100%,0 100%); border-radius: 0; }
.about-photo__captions { display: grid; gap: .35rem; margin-top: 1rem; color: var(--sj-text, #4a0818); font: .8rem/1.6 var(--sj-reading-font, sans-serif); overflow-wrap: anywhere; }
.about-photo__captions > span:last-child:not(:first-child) { color: var(--sj-text-muted, #684653); }
.sj-preview__about--no-photo { grid-template-columns: 1fr; }
