.rain-case-gallery{display:flex;flex-wrap:wrap;gap:20px;margin:0 0 36px}.rain-case-gallery figure{flex:1 1 calc(25% - 20px);min-width:0;margin:0;background:#fff;border:1px solid #cbd6d9}.rain-case-gallery img{display:block;width:100%;height:210px;object-fit:cover;object-position:center}.rain-case-gallery figcaption{padding:14px 16px;color:#103e52;font-size:16px;line-height:1.5}@media(max-width:1000px){.rain-case-gallery figure{flex-basis:calc(50% - 20px)}.rain-case-gallery img{height:240px}.rain-case-gallery figure:last-child{flex-grow:0;flex-basis:calc(50% - 10px)}}@media(max-width:540px){.rain-case-gallery{gap:16px}.rain-case-gallery figure,.rain-case-gallery figure:last-child{flex:1 1 100%}.rain-case-gallery img{height:auto;max-height:320px;object-fit:cover}}
