/* Fixed-size project previews; captions remain outside the photograph. */
.single-du_an .gallery.vwi-gallery,
.single-du_an .article-body .gallery {
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:28px 20px!important;
 align-items:start;
 margin:28px 0 40px!important;
 white-space:normal;
}
.single-du_an .gallery .gallery-item {
 float:none!important;
 width:auto!important;
 max-width:none!important;
 min-width:0;
 margin:0!important;
 padding:0!important;
 text-align:left;
}
.single-du_an .gallery .gallery-icon {
 position:relative;
 width:100%;
 aspect-ratio:4/3;
 overflow:hidden;
 background:#f2f5f3;
 border-radius:4px;
}
.single-du_an .gallery .gallery-icon>a {
 display:block;
 width:100%;
 height:100%;
}
.single-du_an .gallery .gallery-icon img {
 display:block;
 width:100%!important;
 height:100%!important;
 max-height:none!important;
 aspect-ratio:4/3!important;
 object-fit:cover;
 border:0!important;
 margin:0;
}
.single-du_an .gallery .gallery-caption {
 min-height:3.2em;
 margin:10px 0 0!important;
 font-size:14px;
 line-height:1.6;
 color:var(--muted,#5c7076);
 text-align:left;
}
.vwi-standardized::after {content:none!important;display:none!important}
.single-du_an .article-photo {overflow:hidden;border-radius:4px}
.single-du_an .article-photo .article-image {
 display:block;
 width:100%;
 height:auto!important;
 max-height:none;
 aspect-ratio:16/9;
 object-fit:cover!important;
}
.project-section .card-img,.post-type-archive-du_an .card-img {aspect-ratio:4/3}
.project-section .card-img img,.post-type-archive-du_an .card-img img {width:100%;height:100%;object-fit:cover}
.r-viewport {height:auto!important;aspect-ratio:4/3}
.r-slide img {object-fit:contain!important}
.r-thumb img {aspect-ratio:4/3;object-fit:cover}
.vwi-dialog {
 position:fixed;
 inset:0;
 width:min(1440px,96vw);
 max-width:96vw;
 height:94dvh;
 max-height:94dvh;
 margin:auto;
 padding:14px;
 border:0;
 border-radius:6px;
 background:#082e3a;
 color:#fff;
 box-shadow:0 18px 80px #001a2380;
}
.vwi-dialog::backdrop {background:#001a23e8}
.vwi-dialog>div {display:flex;gap:20px;align-items:center;justify-content:space-between;min-height:48px}
.vwi-dialog p {margin:0;font-size:15px;line-height:1.5;color:#fff;max-width:85%}
.vwi-dialog button {min-width:44px;min-height:44px;border:0;border-radius:3px;background:#fff;color:#082e3a;font-size:22px;cursor:pointer}
.vwi-dialog img {display:block;width:100%;height:calc(100% - 60px);object-fit:contain;margin-top:8px}
.vwi-dialog a {color:#fff}
@media(max-width:479px){
 .single-du_an .gallery.vwi-gallery,.single-du_an .article-body .gallery {grid-template-columns:1fr!important;gap:24px!important}
 .single-du_an .gallery .gallery-caption {min-height:0;font-size:14px}
 .vwi-dialog {padding:10px}
 .vwi-dialog p {font-size:14px}
}
