/* PeanutStay v18 host-submitted photo gallery – five-photo layout */
.ps-host-gallery{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));height:min(480px,42vw);min-height:270px;gap:6px;overflow:hidden;position:relative;border-radius:18px}
.ps-host-gallery>.gi{display:block;min-width:0;min-height:0;cursor:zoom-in;overflow:hidden;position:relative}
.ps-host-gallery>.gi:first-child{grid-column:1/span 2;grid-row:1/span 2}
.ps-host-gallery>.gi img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.ps-host-gallery>.gi:hover img{transform:scale(1.045)}
.ps-host-count-2>.gi:nth-child(2){grid-column:3/span 2;grid-row:1/span 2}
.ps-host-count-3>.gi:nth-child(2){grid-column:3/span 2;grid-row:1}
.ps-host-count-3>.gi:nth-child(3){grid-column:3/span 2;grid-row:2}
.ps-host-count-4>.gi:nth-child(2){grid-column:3;grid-row:1}
.ps-host-count-4>.gi:nth-child(3){grid-column:4;grid-row:1}
.ps-host-count-4>.gi:nth-child(4){grid-column:3/span 2;grid-row:2}
.ps-host-count-5>.gi:nth-child(2){grid-column:3;grid-row:1}
.ps-host-count-5>.gi:nth-child(3){grid-column:4;grid-row:1}
.ps-host-count-5>.gi:nth-child(4){grid-column:3;grid-row:2}
.ps-host-count-5>.gi:nth-child(5){grid-column:4;grid-row:2}
.ps-host-gallery>.all{position:absolute;right:16px;bottom:16px;z-index:2;box-shadow:0 10px 25px #0008}
@media(max-width:700px){.ps-host-gallery{height:350px;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.ps-host-gallery>.gi:first-child{grid-column:1/span 2;grid-row:1}.ps-host-gallery>.gi:nth-child(2){grid-column:1!important;grid-row:2!important}.ps-host-gallery>.gi:nth-child(3){grid-column:2!important;grid-row:2!important}.ps-host-gallery>.gi:nth-child(n+4){display:none}.ps-host-count-2>.gi:nth-child(2){grid-column:1/span 2!important;grid-row:2!important}}
