.monte-custom-projects .mg-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,32px)}
.monte-custom-projects .mg-project{min-width:0;background:var(--white,#fff);border:1px solid #17222e1e;display:flex;flex-direction:column}
.mg-project-figure{position:relative;margin:0;background:#e9e8e2}
.mg-project-figure>a{display:block;aspect-ratio:1.45;overflow:hidden}
.mg-project-figure>a img{width:100%;height:100%;object-fit:contain;display:block}
.mg-project-body{padding:clamp(15px,1.6vw,24px);display:flex;flex-direction:column;gap:8px;flex:1}
.mg-project-body h3,.mg-project-body p{margin:0}
.mg-project-body p{font-size:.95rem;line-height:1.5}
.mg-project-links,.mg-extra-photos{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.mg-project-links{margin-top:auto;padding-top:8px}
.mg-project-links a,.mg-extra-photos a{text-decoration:underline;text-underline-offset:3px;font-weight:650}
.mg-extra-photos{margin:0;padding:8px 14px;background:#f4f3ec;font-size:.8rem}
.mg-wet-layouts,.monte-custom-projects{scroll-margin-top:100px}
.mg-wet-layouts .layout-plan-image img{width:100%;height:auto;object-fit:contain}
.mg-wet-layouts .layout-panel-copy{gap:16px;flex-wrap:wrap}
.mg-wet-link{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:14px}
.mg-wet-summary{padding-block:22px}
@media(max-width:1000px){.monte-custom-projects .mg-projects{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.monte-custom-projects .mg-projects{grid-template-columns:minmax(0,1fr)}.mg-wet-layouts .layout-tabs{max-width:100%}.mg-wet-layouts .layout-plan-stage{min-width:0}.mg-project-figure>a{aspect-ratio:1.4}.mg-wet-link>a{white-space:normal}}
