/* Apartment solutions have the same visual weight as the other destinations. */
.pb-home .pb-how-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:2vw;padding-bottom:35px}
.pb-home .pb-how-item{min-width:0;padding-inline:1vw}
.pb-home .pb-gallery-rail{width:calc(var(--solution-count,3)*100%)}
.pb-home .pb-project{flex-basis:calc(100% / var(--solution-count,3))}
.pb-sub .pb-solution-index>a{overflow:hidden}
.pb-solution-index>a>img{display:block;width:100%;aspect-ratio:3/2;height:auto;object-fit:cover;margin-bottom:24px}
.pb-apartment-figure{margin:32px 0 48px}
.pb-apartment-figure>img{display:block;width:100%;height:auto;max-height:660px;object-fit:cover}
.pb-apartment-figure>figcaption{font-size:12px;line-height:1.6;color:#626262;margin-top:12px;max-width:850px}
@media(min-width:761px) and (max-width:1100px){.pb-home .pb-how-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px),(max-width:950px) and (max-height:500px){
 .pb-home .pb-how-grid{grid-template-columns:1fr;padding-inline:35px}
 .pb-home .pb-gallery{height:auto;margin-top:30px}
 .pb-home .pb-gallery-sticky{position:relative;height:auto}
 .pb-home .pb-gallery-rail{width:100%;height:80svh;min-height:420px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;gap:8px;padding-inline:8px;will-change:auto;scrollbar-width:none}
 .pb-home .pb-project{flex-basis:90vw;scroll-snap-align:center}
 .pb-home .pb-project>div{top:40px;left:16px;right:16px;transform:none}
 .pb-home .pb-project>.pb-outline{top:auto;right:auto;left:50%;bottom:45px;transform:translateX(-50%)}
 .pb-home .pb-gallery-controls{display:flex;justify-content:center;gap:2px;margin:8px 0 16px}
 .pb-home .pb-gallery-controls button{display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:#aaa;padding:0}
 .pb-home .pb-gallery-controls button:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
 .pb-home .pb-gallery-controls button[aria-current=true]{color:#111}
 .pb-apartment-figure{margin:24px 0 32px}
}
@media(orientation:landscape) and (max-width:950px) and (max-height:500px){.pb-home .pb-gallery-rail{height:90svh;min-height:300px}.pb-home .pb-project>div{top:25px}.pb-home .pb-project>.pb-outline{bottom:25px}}
@media(prefers-reduced-motion:reduce){.pb-home .pb-gallery-rail{width:100%;height:auto;display:block;overflow:visible}.pb-home .pb-gallery-controls{display:none}}
