/* Public coach images: preserve the complete photo, graphic or certificate. */
.profile-hero .profile-photo {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 12px;
    background: #e9ebdf;
}
.profile-hero .profile-photo > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}
.profile-layout > article { min-width: 0; }
.profile-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}
.profile-gallery-item {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    min-width: 0;
    overflow: hidden;
    padding: 10px;
    border: 1px solid var(--line, #cbd0c0);
    border-radius: 9px;
    background: #e9ebdf;
}
.profile-gallery-item > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}
.profile-gallery-item:focus-visible {
    outline: 3px solid var(--ink, #20261e);
    outline-offset: 4px;
}
@media (max-width: 550px) {
    .profile-gallery { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .profile-hero .profile-photo { height: 340px; }
}
