.combined-job{margin:32px 0}.combined-job h2{font-family:Georgia,serif;font-size:clamp(24px,3vw,36px)}.combined-card{max-width:680px;margin:20px auto!important;background:#071e33;border:1px solid #d7b879;border-radius:9px;overflow:hidden}.combined-card>a{display:block}.combined-card img{display:block;width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}.combined-card figcaption{color:#f2d596;padding:14px;text-align:center}.combined-card>a::after{display:none!important}
.photo-viewer{box-sizing:border-box;width:min(1000px,96vw);max-width:96vw;max-height:94dvh;overflow:auto;padding:18px;border:1px solid #d7b879;border-radius:10px;background:#071e33;color:#f4f1e9}.photo-viewer::backdrop{background:#071e33e8}.photo-viewer>img{display:block;width:auto;max-width:100%;height:auto;max-height:61dvh;object-fit:contain;margin:0 auto}.photo-viewer h2{font:20px/1.4 Georgia,serif;color:#f2d596;text-align:center;margin:15px 0}.photo-viewer-close{display:block;position:sticky;top:0;z-index:5;margin:0 0 12px auto;padding:10px 18px;border:1px solid #d7b879;border-radius:5px;background:#f2d596;color:#071e33;font-weight:bold;cursor:pointer}.photo-share-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.photo-share-actions a,.photo-share-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;border:1px solid #d7b879;border-radius:5px;padding:9px 13px;color:#f2d596;background:#102d44;font:15px/1.3 Arial,sans-serif;text-decoration:none;cursor:pointer}.photo-share-actions :focus-visible,.photo-viewer-close:focus-visible{outline:3px solid white;outline-offset:3px}.photo-share-actions a:hover,.photo-share-actions button:hover{background:#284860}.photo-share-help,.photo-viewer p{font:14px/1.5 Arial,sans-serif;text-align:center;margin:14px 0;color:#e0e6ec}.photo-viewer input{width:100%;box-sizing:border-box;padding:12px;font:14px Arial,sans-serif}.photo-share-page{margin:0;background:#071e33;color:#f4f1e9;font:18px/1.5 Georgia,serif}.photo-share-page main{max-width:900px;margin:auto;padding:28px}.photo-share-page a{color:#f2d596}.photo-share-page h1{font-size:clamp(26px,4vw,40px)}.photo-share-page figure{margin:24px 0}.photo-share-page figure img{display:block;max-width:100%;width:auto;max-height:75vh;margin:auto}.photo-share-page .photo-viewer>img{max-height:61dvh}
@media(max-width:600px){.photo-viewer{padding:12px}.photo-viewer>img{max-height:52dvh}.photo-share-actions{gap:7px}.photo-share-actions a,.photo-share-actions button{flex:1 1 40%}.photo-viewer h2{font-size:17px}}

/* A calm sharing panel, isolated from gallery page link styles. */
dialog.photo-viewer .photo-share-actions{display:grid;gap:14px;max-width:600px;margin:20px auto 0;padding:20px;border:1px solid #365065;border-radius:12px;background:#0b253b}
dialog.photo-viewer .photo-share-primary,dialog.photo-viewer .photo-share-utilities{display:grid;grid-template-columns:1fr 1fr;gap:12px}
dialog.photo-viewer .photo-share-actions a,dialog.photo-viewer .photo-share-actions button{position:static;display:flex;width:100%;min-height:48px;margin:0;padding:12px;gap:9px;border-radius:8px;font:600 14px/1.35 Arial,sans-serif;text-align:center;text-decoration:none;box-shadow:none;letter-spacing:normal}
dialog.photo-viewer .photo-share-actions a::after{display:none}
dialog.photo-viewer .photo-share-actions .photo-share-facebook{background:#1877f2;border-color:#4795fa;color:#fff}
dialog.photo-viewer .photo-share-facebook img{width:20px;height:20px;max-height:20px;max-width:20px;object-fit:contain;margin:0;filter:brightness(0) invert(1)}
dialog.photo-viewer .photo-share-more{border-top:1px solid #365065;border-bottom:1px solid #365065;padding:12px 0}
dialog.photo-viewer .photo-share-more summary{font:600 14px/1.5 Arial,sans-serif;color:#f2d596;cursor:pointer;padding:4px;text-align:left}
dialog.photo-viewer .photo-share-platforms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:14px}
dialog.photo-viewer .photo-share-utilities a,dialog.photo-viewer .photo-share-utilities button{background:transparent;border-color:#577084;color:#e1e8ee}
dialog.photo-viewer .photo-share-actions a:hover,dialog.photo-viewer .photo-share-actions button:hover{background:#284860}
dialog.photo-viewer .photo-share-facebook:hover{background:#1264cf!important}
dialog.photo-viewer .photo-share-help{max-width:570px;margin:14px auto;font-size:12px;color:#b7c6d3}
dialog.photo-viewer p:empty{display:none}
@media(max-width:480px){dialog.photo-viewer .photo-share-actions{padding:14px;gap:12px}dialog.photo-viewer .photo-share-primary{grid-template-columns:1fr}dialog.photo-viewer .photo-share-platforms{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Let photographs fill the preview at their natural aspect ratio. */
dialog.photo-viewer{width:min(1500px,98vw);max-width:98vw;max-height:96dvh;padding:18px}
dialog.photo-viewer[open]{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}
dialog.photo-viewer .photo-viewer-close{grid-column:1/-1;position:sticky;top:0;margin:0 0 0 auto}
dialog.photo-viewer .photo-viewer-stage{min-width:0}
dialog.photo-viewer .photo-viewer-stage>img{display:block;width:100%;height:auto;max-width:100%;max-height:none;object-fit:contain;margin:0 auto}
dialog.photo-viewer .photo-viewer-sidebar{position:sticky;top:65px;min-width:0}
dialog.photo-viewer .photo-share-actions{padding:14px;margin-top:16px}
dialog.photo-viewer .photo-share-primary{grid-template-columns:1fr}
dialog.photo-viewer .photo-share-platforms{grid-template-columns:1fr 1fr}
dialog.photo-viewer .photo-share-more h3{font:600 14px/1.5 Arial,sans-serif;color:#f2d596;margin:0;text-align:left}
.combined-card{max-width:960px}
@media(max-width:850px){dialog.photo-viewer[open]{display:block;padding:10px}dialog.photo-viewer .photo-viewer-close{margin:0 0 10px auto}dialog.photo-viewer .photo-viewer-sidebar{position:static}dialog.photo-viewer .photo-share-actions{max-width:600px}dialog.photo-viewer .photo-share-platforms{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){dialog.photo-viewer .photo-share-platforms{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Older framed pictures use the same full-width presentation as new pairs. */
.album-wrap .album-grid:has(a[data-enlarge]){grid-template-columns:minmax(0,1fr);gap:32px;max-width:960px;margin:20px auto}
.album-wrap .album-grid:has(a[data-enlarge])>figure{width:100%;max-width:960px;margin:0 auto}
.album-wrap .album-grid a[data-enlarge]{display:block;aspect-ratio:auto}
.album-wrap .album-grid a[data-enlarge]>img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
