.jwd-photo-examples{box-sizing:border-box;width:100%;min-width:0;margin:1rem 0;padding:clamp(.6rem,2vw,1rem);background:#071a35;border:2px solid #26476c;border-radius:16px;color:#fff;text-align:center}
.jwd-photo-examples .jwd-example-intro{color:#fff;font-size:1rem;line-height:1.5;margin:0 0 .8rem}
.jwd-photo-examples .jwd-example-viewport{aspect-ratio:4/3;position:relative;background:#050c17;border-radius:9px;overflow:hidden}
.jwd-photo-examples figure{margin:0;position:absolute;inset:0;display:flex;flex-direction:column}
.jwd-photo-examples [hidden]{display:none!important}
.jwd-photo-examples img{display:block;width:100%;height:calc(100% - 44px);object-fit:contain;min-height:0}
.jwd-photo-examples figcaption{color:#fff!important;font-size:1rem;font-weight:700;line-height:1.25;padding:10px 4px;margin:0}
.jwd-photo-examples .jwd-example-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:.8rem}
.jwd-photo-examples button{appearance:none;cursor:pointer;min-height:48px;min-width:76px;padding:.6rem .8rem;background:#102e52;color:#fff;border:2px solid #dc283b;border-radius:10px;font:700 1rem/1.2 inherit;transition:box-shadow .15s,border-color .15s}
.jwd-photo-examples button:hover,.jwd-photo-examples button:focus-visible{border-color:#ff4054;box-shadow:0 0 0 2px #ff405455,0 0 18px #ff405466;outline:2px solid #fff;outline-offset:3px}
.jwd-photo-examples .jwd-example-count{font-size:1rem;color:#fff;margin:.6rem 0 0}
@media(max-width:380px){.jwd-photo-examples figcaption{font-size:.9rem}.jwd-photo-examples button{min-width:68px;padding:.6rem}}
@media(prefers-reduced-motion:reduce){.jwd-photo-examples button{transition:none}}

/* Full-width example gallery above the form fields. */
.jwd-photo-heading{display:block;margin-bottom:1rem;min-width:0}
.jwd-photo-heading-copy h3{white-space:normal!important;line-height:1.3;text-align:left!important;margin-bottom:.8rem}
.jwd-photo-heading .jwd-photo-examples{max-width:none;width:100%;margin:0;padding:.5rem}
.jwd-photo-heading .jwd-example-viewport{aspect-ratio:auto;height:auto;background:#071a35}
.jwd-photo-heading .jwd-photo-examples figure{position:static;display:block}
.jwd-photo-heading .jwd-photo-examples img{width:100%;height:auto;max-height:none;object-fit:contain;border-radius:8px}
.jwd-photo-heading .jwd-photo-examples figcaption{padding:.6rem;font-size:1rem}
.jwd-photo-heading .jwd-example-controls{margin-top:.3rem}

/* Shallow panoramic gallery: preserve width while cropping around the job. */
.jwd-photo-heading .jwd-photo-examples img{width:100%;height:clamp(170px,22vw,240px);object-fit:cover;object-position:50% 52%;border-radius:8px}
.jwd-photo-heading .jwd-photo-examples figcaption{padding:.5rem;font-size:1rem}
@media(max-width:600px){.jwd-photo-heading .jwd-photo-examples img{height:180px}}
