/* Keep entire member-uploaded images visible, including portrait documents. */
.etm-profile-page .etm-company-gallery-card .etm-company-gallery{gap:16px;grid-template-columns:repeat(3,minmax(0,1fr));}
.etm-profile-page .etm-company-gallery-card .etm-company-gallery a{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;padding:12px;box-sizing:border-box;background:#f5f7fa;border:1px solid #dce3eb;border-radius:12px;cursor:zoom-in;transition:border-color .15s ease,box-shadow .15s ease;}
.etm-profile-page .etm-company-gallery-card .etm-company-gallery a img{width:100%;height:100%;object-fit:contain;object-position:center;transform:none;transition:none;}
.etm-profile-page .etm-company-gallery-card .etm-company-gallery a:hover{border-color:#7f94b3;box-shadow:0 3px 12px #10234312;}
.etm-profile-page .etm-company-gallery-card .etm-company-gallery a:focus-visible,.etm-featured-photo-card a:focus-visible{outline:3px solid #2563eb;outline-offset:3px;}
.etm-profile-page .etm-side-card.etm-featured-photo-card{background:#f5f7fa;padding:12px;border-radius:12px;}
.etm-profile-page .etm-side-card.etm-featured-photo-card img{width:100%;height:auto;max-height:360px;aspect-ratio:auto;object-fit:contain;transform:none;}
.etm-profile-page .etm-featured-photo-card a{cursor:zoom-in;}
.dcc-photo-viewer{position:fixed;inset:0;width:calc(100% - 40px);max-width:1200px;height:calc(100dvh - 40px);max-height:940px;margin:auto;padding:0;border:1px solid #ffffff26;border-radius:16px;background:#111b2b;color:#fff;box-shadow:0 24px 80px #0008;overflow:hidden;font-family:Inter,Arial,sans-serif;box-sizing:border-box;}
.dcc-photo-viewer::backdrop{background:#07101de8;}
.dcc-photo-viewer[open]{display:grid;grid-template-rows:64px minmax(0,1fr) 64px;}
.dcc-photo-viewer .dcc-photo-toolbar,.dcc-photo-viewer .dcc-photo-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 16px;}
.dcc-photo-viewer .dcc-photo-toolbar{border-bottom:1px solid #ffffff20;}
.dcc-photo-viewer .dcc-photo-controls{justify-content:center;border-top:1px solid #ffffff20;}
.dcc-photo-viewer .dcc-photo-title,.dcc-photo-viewer .dcc-photo-count{margin:0;color:#fff;font-size:16px;font-weight:500;line-height:1.5;}
.dcc-photo-viewer .dcc-photo-stage{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto;position:relative;}
.dcc-photo-viewer .dcc-photo-stage img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;border:0;margin:0;}
.dcc-photo-viewer .dcc-photo-stage img[hidden]{display:none;}
.dcc-photo-viewer .dcc-photo-error{font-size:16px;color:white;text-decoration:underline;}
.dcc-photo-viewer button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px;border:1px solid #ffffff50;border-radius:8px;background:#ffffff0d;color:#fff;cursor:pointer;box-shadow:none;line-height:1;}
.dcc-photo-viewer button:hover{background:#ffffff26;}
.dcc-photo-viewer button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px;}
.dcc-photo-viewer button[hidden]{display:none;}
.dcc-photo-viewer button svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;}
html.dcc-photo-open{overflow:hidden;scrollbar-gutter:stable;}
@media(max-width:760px){.etm-profile-page .etm-company-gallery-card .etm-company-gallery{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:480px){.etm-profile-page .etm-company-gallery-card .etm-company-gallery{grid-template-columns:1fr;gap:12px;}.dcc-photo-viewer{width:calc(100% - 16px);height:calc(100dvh - 16px);border-radius:12px;}.dcc-photo-viewer .dcc-photo-stage{padding:8px;}.dcc-photo-viewer .dcc-photo-toolbar,.dcc-photo-viewer .dcc-photo-controls{padding:8px 12px;}}
@media(prefers-reduced-motion:reduce){.etm-profile-page .etm-company-gallery-card .etm-company-gallery a{transition:none;}}
