/* Compact project photography, with the full image available in the lightbox. */
body[data-page="project"] main>.wrap,
body[data-page="project"] main>.page-intro{max-width:1248px}
body[data-page="project"] .page-intro{padding-top:10px;padding-bottom:28px}
body[data-page="project"] .page-intro h1{font-size:clamp(30px,2.7vw,40px);line-height:1.45}
body[data-page="project"] .project-introduction{padding-top:0;padding-bottom:32px}
body[data-page="project"] .project-introduction-body{max-width:none;font-size:16px;line-height:1.9;overflow-wrap:anywhere}
body[data-page="project"] .project-introduction-body p{margin:0 0 12px}
body[data-page="project"] .project-introduction-body p:last-child{margin-bottom:0}
body[data-page="project"] .project-photo-section{padding-top:0;padding-bottom:36px!important;background:transparent}
body[data-page="project"] .project-photo-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
body[data-page="project"] .project-photo-layout .project-gallery--editorial{display:contents}
body[data-page="project"] .project-photo-layout .project-more-gallery[hidden]{display:none!important}
body[data-page="project"] .project-photo-layout .project-page-hero{grid-column:span 2;grid-row:span 2;min-width:0;width:100%;margin:0;display:flex;background:transparent}
body[data-page="project"] .project-photo-layout .project-page-hero>button,
body[data-page="project"] .project-photo-layout .project-gallery-item>button{display:block;width:100%;height:100%;padding:0;overflow:hidden;background:#eceee5}
body[data-page="project"] .project-photo-layout .project-page-hero img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;transform:none}
body[data-page="project"] .project-photo-layout .project-gallery-item,
body[data-page="project"] .project-photo-layout .project-gallery-item.is-wide{grid-column:auto;margin:0;min-width:0;aspect-ratio:3/2}
body[data-page="project"] .project-photo-layout .project-gallery-item img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;transform:none}
body[data-page="project"] .project-photo-layout .gallery-expand-row{grid-column:1/-1;margin-top:4px}
body[data-page="project"] .next-project{padding:24px 0 30px;gap:24px}
body[data-page="project"] .next-project h3{font-size:24px;line-height:1.55;margin-top:9px}
body[data-page="project"] .next-project>span{font-size:32px;flex-shrink:0}
@media(min-width:761px) and (max-width:1000px){
 body[data-page="project"] .project-photo-layout{gap:16px}
}
@media(max-width:760px){
 body[data-page="project"] .page-intro{padding-top:4px;padding-bottom:22px}
 body[data-page="project"] .page-intro h1{font-size:28px}
 body[data-page="project"] .project-introduction{padding-bottom:24px}
 body[data-page="project"] .project-introduction-body{font-size:15px;line-height:1.85}
 body[data-page="project"] .project-photo-section{padding-bottom:26px!important}
 body[data-page="project"] .project-photo-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 body[data-page="project"] .project-photo-layout .project-page-hero{grid-column:1/-1;grid-row:auto;aspect-ratio:3/2}
 body[data-page="project"] .project-photo-layout .project-page-hero img{max-height:none}
 body[data-page="project"] .next-project{padding-top:20px;padding-bottom:24px}
 body[data-page="project"] .next-project h3{font-size:21px}
}
