.dwr-photos{margin:1em 0;display:grid;grid-template-columns:repeat(var(--dwr-cols,3),minmax(0,1fr));gap:10px;clear:both}.dwr-photos figure{margin:0;min-width:0}.dwr-photos img{display:block;width:100%;height:auto}.dwr-photos figcaption{font-size:.85em;padding:4px 0}.dwr-photo-credit{display:block;font-size:.9em}.dwr-photos-single,.dwr-photos-report{display:block}.dwr-photos-report figure{margin-bottom:15px}.dwr-photos-single.alignleft{float:left;margin:0 1em 1em 0;clear:none}.dwr-photos-single.alignright{float:right;margin:0 0 1em 1em;clear:none}.dwr-photos-single.aligncenter{margin:1em auto}.dwr-photo-size-medium{width:min(300px,100%)}.dwr-photo-size-large{width:min(640px,100%)}.dwr-photo-size-full{width:100%;float:none!important;clear:both!important}.dwr-photos-grid img,.dwr-photos-hero img{aspect-ratio:4/3;object-fit:contain}.dwr-photos-hero figure:first-child{grid-column:span 2;grid-row:span 2}.dwr-photos-wall{display:block;columns:var(--dwr-cols,3)}.dwr-photos-wall figure{break-inside:avoid;margin-bottom:10px}.dwr-photos-slides,.dwr-photos-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px}.dwr-photos-slides figure{flex:0 0 100%;scroll-snap-align:start}.dwr-photos-strip figure{flex:0 0 24%;scroll-snap-align:start}.dwr-photos-strip figure:first-child{flex-basis:75%}@media(max-width:600px){.dwr-photos-grid,.dwr-photos-hero{grid-template-columns:repeat(2,minmax(0,1fr))}.dwr-photos-wall{columns:2}.dwr-photos-single{float:none!important;width:100%}}
.dwr-photos.dwr-album-enhanced{display:block;overflow:visible;scroll-snap-type:none}.dwr-album-stage figure[hidden]{display:none!important}.dwr-album-stage img{width:100%;max-height:650px;object-fit:contain}.dwr-album-controls{display:flex;justify-content:space-between;align-items:center;margin:8px 0;gap:8px}.dwr-album-controls button,.dwr-album-nav button{cursor:pointer;border:1px solid #aab8bc;background:#fff;color:#176b80;border-radius:4px;padding:6px}.dwr-album-nav{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:6px}.dwr-album-nav img{width:100%;height:60px;object-fit:contain}.dwr-album-nav button[aria-pressed=true]{border:2px solid #176b80;background:#e3f0f2}.dwr-photos-slides.dwr-album-enhanced .dwr-album-nav{display:none}.dwr-photos-hero{grid-template-columns:repeat(3,minmax(0,1fr))}.dwr-photos-hero figure:first-child img{aspect-ratio:auto;object-fit:contain}.dwr-photos-hero figure:first-child{grid-row:span 2}@media(max-width:600px){.dwr-photos-hero{grid-template-columns:repeat(2,minmax(0,1fr))}.dwr-photos-hero figure:first-child{grid-column:1/-1;grid-row:auto}}

/* Compact article display, independent of uploaded dimensions. */
.dwr-photos:not(.dwr-photos-single){width:var(--dwr-album-width,50%);max-width:800px;gap:6px;margin:12px auto;box-sizing:border-box}.dwr-photos.dwr-album-align-left{margin-left:0;margin-right:auto}.dwr-photos.dwr-album-align-right{margin-left:auto;margin-right:0}.dwr-photos figure img{width:auto!important;max-width:100%!important;height:auto!important;margin:0 auto;object-fit:contain!important;aspect-ratio:auto!important}.dwr-photos-single img{max-height:350px}.dwr-photos-grid img{max-height:180px}.dwr-photos-hero img,.dwr-photos-wall img{max-height:200px}.dwr-photos-hero figure:first-child img,.dwr-photos-slides img{max-height:350px}.dwr-photos-report img{max-height:400px}.dwr-photos-strip .dwr-album-stage img{max-height:300px}.dwr-photos .dwr-album-nav img{max-height:80px;width:100%!important;height:60px!important;object-fit:contain!important}.dwr-photos figcaption{text-align:center}.dwr-photos-hero figure:first-child{grid-row:span 2}.dwr-photos-grid figure,.dwr-photos-wall figure{margin-bottom:6px}@media(max-width:700px){.dwr-photos:not(.dwr-photos-single){width:100%;max-width:100%}.dwr-photos-hero figure:first-child{grid-row:auto}.dwr-photos-report img{max-height:300px}}
/* 2.0.17: editorial layouts; explicit alignment wins over theme defaults. */
.dwr-photos:not(.dwr-photos-single).dwr-album-align-left{margin:12px auto 12px 0!important}.dwr-photos:not(.dwr-photos-single).dwr-album-align-right{margin:12px 0 12px auto!important}.dwr-photos:not(.dwr-photos-single).dwr-album-align-center{margin:12px auto!important}
.dwr-photos-grid,.dwr-photos-hero,.dwr-photos-wall,.dwr-photos-report{align-items:start;gap:6px!important}.dwr-photos-grid figure,.dwr-photos-wall figure,.dwr-photos-report figure{margin:0!important}.dwr-photos-grid figure img{margin-left:0!important;margin-right:0!important;max-height:150px}.dwr-photos-hero{grid-template-columns:repeat(4,minmax(0,1fr))}.dwr-photos-hero figure:first-child{grid-column:span 2;grid-row:span 2}.dwr-photos-hero figure img{width:100%!important;height:auto!important;aspect-ratio:1!important;object-fit:contain!important;max-height:none}.dwr-photos-hero figure:first-child img{max-height:220px;object-fit:contain!important}.dwr-photos-wall{display:grid;columns:auto;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-flow:row;grid-auto-rows: auto}.dwr-photos-wall figure{grid-column:span 2}.dwr-photos-wall figure:nth-child(5n+1),.dwr-photos-wall figure:nth-child(5n+2){grid-column:span 3}.dwr-photos-wall figure img{width:100%!important;aspect-ratio:4/3!important;object-fit:contain!important;max-height:160px}.dwr-photos-report{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.dwr-photos-report figure img{max-height:200px}.dwr-photos-report figcaption{text-align:left}.dwr-photos .dwr-album-nav{display:flex;overflow-x:auto;flex-wrap:nowrap;scroll-snap-type:x proximity;padding:3px 1px 6px;gap:5px}.dwr-photos .dwr-album-nav button{flex:0 0 64px;scroll-snap-align:start;padding:3px}.dwr-photos .dwr-album-nav img{height:54px!important}.dwr-photos-strip .dwr-album-stage img{max-height:240px}.dwr-photos-slides.dwr-album-enhanced .dwr-album-stage{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:6px;scrollbar-width:thin}.dwr-photos-slides .dwr-album-stage figure{flex:0 0 calc((100% - 12px)/3);min-width:0;scroll-snap-align:start}.dwr-photos-slides .dwr-album-stage img{width:100%!important;aspect-ratio:4/3!important;object-fit:contain!important;max-height:180px}.dwr-photos-slides .dwr-album-controls{justify-content:center}.dwr-photos-slides .dwr-album-controls span{min-width:60px;text-align:center}@media(max-width:600px){.dwr-photos-hero{grid-template-columns:repeat(4,minmax(0,1fr))}.dwr-photos-hero figure:first-child{grid-column:span 2;grid-row:span 2}.dwr-photos-slides .dwr-album-stage figure{flex-basis:calc((100% - 6px)/2)}}
/* 2.0.18 – predictable 16:9 slots, original aspect ratio inside. */
.dwr-photos:not(.dwr-photos-single){--dwr-frame-bg:transparent;gap:4px!important}
.dwr-photos .dwr-photo-frame{width:100%;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden;background:var(--dwr-frame-bg,transparent)}
.dwr-photos .dwr-photo-frame>a{display:flex;width:100%;height:100%;align-items:center;justify-content:center;min-width:0;margin:0!important;padding:0!important}
.dwr-photos .dwr-photo-frame img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;margin:0!important;float:none!important}
.dwr-photos-grid,.dwr-photos-hero,.dwr-photos-wall,.dwr-photos-report{align-items:start;gap:4px!important}
.dwr-photos-hero{grid-template-columns:repeat(4,minmax(0,1fr))}
.dwr-photos-hero figure:first-child{grid-column:span 2;grid-row:span 2}
.dwr-photos-hero figure:first-child .dwr-photo-frame{max-height:240px}
.dwr-photos-wall{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-flow:row}
.dwr-photos-report{grid-template-columns:repeat(2,minmax(0,1fr))}
.dwr-photos-slides.dwr-album-enhanced .dwr-album-stage{gap:4px}
.dwr-photos-slides .dwr-album-stage figure{flex-basis:calc((100% - 8px)/3)}
.dwr-photos-strip .dwr-album-stage .dwr-photo-frame{max-height:300px}
.dwr-photos .dwr-album-nav button{flex:0 0 84px}
.dwr-photos .dwr-album-nav img{width:100%!important;height:auto!important;aspect-ratio:16/9!important;max-height:none!important;object-fit:contain!important}
.dwr-photos.dwr-photos-masonry{display:block;columns:var(--dwr-cols,3);column-gap:4px!important}
.dwr-photos-masonry figure{display:inline-block;vertical-align:top;width:100%;break-inside:avoid;margin:0 0 4px!important}
.dwr-photos-masonry figure>a{display:block}
.dwr-photos-masonry figure img{display:block;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}
@media(max-width:600px){.dwr-photos.dwr-photos-masonry{columns:min(2,var(--dwr-cols,3))}.dwr-photos-slides .dwr-album-stage figure{flex-basis:calc((100% - 4px)/2)}}

/* 2.0.19: isolate frame geometry from theme image sizing. */
.dwr-photos figure .dwr-photo-frame{position:relative!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;overflow:hidden!important;background:transparent; padding:0!important;}
.dwr-photos figure .dwr-photo-frame>a{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;}
.dwr-photos figure .dwr-photo-frame img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;}
.dwr-photos .dwr-album-nav button img{position:static!important;object-fit:contain!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;}

/* Album width relative to the article content, not the viewport. */
.dwr-photos:not(.dwr-photos-single){width:var(--dwr-album-width,50%)!important;max-width:100%!important;}
@media(max-width:700px){.dwr-photos:not(.dwr-photos-single){width:100%!important;max-width:100%!important;}}
/* Album boundary, with subtle individual 16:9 frames. Single photos are unaffected. */
.dwr-photos:not(.dwr-photos-single){border:1px solid #dce3e6;border-radius:8px;padding:12px;background:#f7f9fa;box-sizing:border-box;--dwr-frame-bg:#edf1f2;overflow:hidden}
.dwr-photos:not(.dwr-photos-single) figure .dwr-photo-frame{background:var(--dwr-frame-bg)!important;border:1px solid #e0e5e7;border-radius:3px;box-sizing:border-box}
.dwr-photos-masonry figure img{border-radius:3px}
@media(max-width:700px){.dwr-photos:not(.dwr-photos-single){padding:8px}}
