/* Research area pages. */
.prose-page{max-width:none;}
.prose-page>*{max-width:1100px;margin-right:auto;margin-left:auto;}
.prose-page p{text-align:justify;}
.research-page>h1,
.research-page>h2{width:100%;max-width:none;margin:0 0 14px;color:var(--pwg-theme-text,#000);font-family:"Alegreya Sans SC",sans-serif;font-size:180%;font-weight:700;text-align:center;}
.research-citations{white-space:nowrap;}
.research-citations a{font-weight:700;}
.research-page .gallery{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:26px;}
.research-page .gallery img{width:100%;height:300px;object-fit:cover;border-radius:25px;}

.research-photo-gallery{margin-top:36px;}
.research-photo-gallery .pwg-slideshow{width:100%;}
.research-photo-gallery .pwg-slideshow-viewport{background:transparent;}
.research-photo-gallery .pwg-slide{width:auto;height:auto;max-width:100%;max-height:100%;margin:auto;object-fit:contain;border-radius:25px;}
.research-photo-gallery .pwg-slideshow-caption{margin:14px 0;min-height:3em;text-align:center;font-size:90%;line-height:1.5;}
.research-photo-gallery .pwg-slideshow-dots{--gallery-columns:6;--gallery-gap:10px;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--gallery-gap);}
.research-photo-gallery .pwg-slideshow-dots button{display:block;box-sizing:border-box;flex:0 0 auto;width:calc((100% - (var(--gallery-columns) - 1) * var(--gallery-gap)) / var(--gallery-columns));height:auto;min-width:0;aspect-ratio:4/3;overflow:hidden;border-radius:12px;}
.research-photo-gallery .pwg-slideshow-dots picture,
.research-photo-gallery .pwg-slideshow-dots img{display:block;width:100%;height:100%;}
.research-photo-gallery .pwg-slideshow-dots img{object-fit:cover;}
.research-photo-gallery .pwg-slideshow-dots button:hover,
.research-photo-gallery .pwg-slideshow-dots button:focus-visible{border-color:var(--pwg-accent);transform:none;}
.research-photo-gallery .pwg-slideshow-dots button:focus-visible{outline:2px solid var(--pwg-accent);outline-offset:3px;}

@media(max-width:768px){
  .research-page .gallery{grid-template-columns:1fr;}
  .research-page .gallery img{height:auto;}
  .research-photo-gallery .pwg-slide{border-radius:18px;}
  .research-photo-gallery .pwg-slideshow-dots{--gallery-columns:4;--gallery-gap:8px;}
}
@media(max-width:480px){
  .research-photo-gallery .pwg-slideshow-dots{--gallery-columns:3;--gallery-gap:6px;}
  .research-photo-gallery .pwg-slideshow-dots button{border-radius:8px;}
}
