/* TechToTab Water Distribution V11 — scoped project styles. */
.water-distribution-featured{background:#fff}
.water-distribution-featured .rice-project-visual{border-color:#dfe8fa}
/* User-requested 300px project thumbnails across homepage and Our Work */
.g7-work-grid>a.rice-home-card>img,.g7-work-grid>a.water-distribution-home-card>img{width:100%;height:300px;aspect-ratio:auto;object-fit:contain;background:#f2f5f9;border:1px solid #e5eaf3;border-radius:12px}
.portfolio-grid .rice-featured-work-card>a>img{width:100%;height:300px;object-fit:contain;background:#f3f6fb;display:block}
.rice-featured .rice-project-visual img{width:100%;height:300px!important;object-fit:contain;background:#f6f8fc;border-radius:14px}
.water-distribution-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.water-distribution-gallery figure{margin:0;overflow:hidden;background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 14px 32px rgba(17,31,54,.06)}
.water-distribution-gallery figure img{display:block;width:100%;height:255px;object-fit:contain;background:#f2f5fa}
.water-distribution-gallery figure.gw-mobile img{height:410px;padding:14px 0}
.water-distribution-gallery figcaption{padding:16px 20px;color:#46556b;font-size:.95rem;line-height:1.55}
.water-distribution-gallery figcaption strong{color:#17223a}
@media(max-width:700px){.water-distribution-gallery{grid-template-columns:1fr}.water-distribution-gallery .gw-mobile img{height:380px}.rice-featured .rice-project-visual img{height:300px!important}}
