/* Profile-only photography, using the established DUSTDEZIGN frame and type. */
html.dd-static body[data-dd-route] #page-container .dd-story-photo img {
  max-width: none !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}
html.dd-static body[data-dd-route] #page-container .dd-ambassador-gallery {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px !important;
  padding: 0 !important;
  margin-top: 42px !important;
  align-items: start;
}
html.dd-static body[data-dd-route] #page-container .dd-ambassador-gallery--zapsa { grid-template-columns: repeat(2,minmax(0,1fr)); }
.dd-ambassador-photo { margin: 0; min-width: 0; border: 1px solid #303030; background: #000; }
.dd-ambassador-photo--wide { grid-column: 1/-1; }
.dd-ambassador-photo-link { display: block; position: relative; overflow: hidden; color: #edede8; }
.dd-ambassador-photo-link img { display: block; width: 100%; height: auto; }
.dd-ambassador-photo-link:focus-visible { outline: 1px solid #efefea; outline-offset: 5px; }
.dd-ambassador-photo figcaption { padding: 17px 20px; border-top: 1px solid #303030; color: #989892; font: 400 12px/1.5 var(--dd-font-text); }
.dd-photo-expand { position: absolute; right: 16px; bottom: 16px; padding: 4px 10px; background: #080808b8; font: 400 20px/1.5 var(--dd-font-text); }
.dd-athlete-facts { margin: 24px 0 28px; border-block: 1px solid #303030; }
.dd-athlete-facts > div { display: grid; grid-template-columns: 105px 1fr; gap: 15px; padding: 13px 0; }
.dd-athlete-facts > div + div { border-top: 1px solid #303030; }
.dd-athlete-facts dt { color: #989891; font: 400 10px/1.6 var(--dd-font-text); text-transform: uppercase; letter-spacing: .08em; }
.dd-athlete-facts dd { margin: 0; color: #d7d7d2; font: 400 14px/1.5 var(--dd-font-text); }
html.dd-static body[data-dd-route] #page-container .dd-athlete-results { padding: 0 !important; list-style: none; margin: 0; color: #b6b6b0; font: 400 var(--dd-type-body)/1.6 var(--dd-font-text); }
.dd-athlete-results li { margin: 0 0 15px; }
.dd-athlete-results span { display: block; color: #efefea; font-size: 12px; }
html.dd-static body[data-dd-route] #page-container .dd-story-copy .dd-profile-source { font-size: 12px !important; line-height: 1.6 !important; color: #989891; }
.dd-profile-source a { color: #b6b6b0; text-decoration: underline; text-underline-offset: 4px; }
.dd-profile-source a:hover { color: #efefea; }
body.dd-ambassador-viewing { overflow: hidden; }
.dd-photo-dialog { width: min(1080px,92vw); max-width: none; max-height: 94svh; padding: 20px; margin: auto; background: #080808; color: #edede8; border: 1px solid #303030; box-sizing: border-box; overflow: visible; }
.dd-photo-dialog::backdrop { background: #000e; }
.dd-photo-dialog-header, .dd-photo-dialog-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 400 12px/1.5 var(--dd-font-text); }
.dd-photo-dialog-header { padding-bottom: 16px; }
.dd-photo-dialog-header p, .dd-photo-dialog-footer p { margin: 0; padding: 0; }
.dd-photo-dialog img { display: block; width: 100%; height: calc(94svh - 190px); object-fit: contain; margin: 0 auto; }
.dd-photo-dialog-footer { padding-top: 18px; }
.dd-photo-dialog button { flex-shrink: 0; border: 1px solid #444; color: #efefea; background: #080808; padding: 10px 14px; font: inherit; cursor: pointer; border-radius: 0; }
.dd-photo-dialog button:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }
.dd-photo-dialog button:hover { border-color: #aaa; }
.dd-photo-dialog[open] { animation: ddPhotoOpen 220ms ease both; }
@keyframes ddPhotoOpen { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media(max-width:999px) { html.dd-static body[data-dd-route] #page-container .dd-ambassador-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px !important; } }
@media(max-width:599px) {
  html.dd-static body[data-dd-route] #page-container .dd-ambassador-gallery { grid-template-columns: 1fr; gap: 26px !important; margin-top: 30px !important; }
  .dd-athlete-facts > div { grid-template-columns: 85px 1fr; gap: 12px; }
  .dd-photo-dialog { padding: 16px; width: 94vw; }
  .dd-photo-dialog-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .dd-photo-dialog-footer p { grid-column: 1/-1; grid-row: 1; text-align: center; }
  .dd-photo-dialog img { height: calc(94svh - 230px); }
}
@media(prefers-reduced-motion:reduce) { .dd-photo-dialog[open] { animation: none; } }
