/* P18 Architecture First galleries: preserve full architectural frames; no strip-like crops. */
.p18-object-gallery{display:flex;flex-direction:column;gap:18px}
.p18-object-gallery .p18-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;align-items:start}
.p18-object-gallery .p18-stack{display:grid;grid-template-columns:1fr;gap:18px;grid-column:span 5;align-content:start}
.p18-object-gallery .p18-photo{border:0;padding:0;margin:0;background:transparent;text-align:left;cursor:zoom-in;display:flex;flex-direction:column;gap:9px;min-width:0}
.p18-object-gallery .p18-photo img{width:100%;height:auto;display:block;object-fit:contain}
.p18-object-gallery .p18-photo span{display:block;font-size:12px;line-height:1.3;color:#687b70}
.p18-object-gallery .p18-photo:focus-visible{outline:3px solid #1c7b59;outline-offset:5px}
.p18-object-gallery .p18-two-up.p18-balance-left>.p18-photo:first-child{grid-column:span 7}
.p18-object-gallery .p18-two-up.p18-balance-left>.p18-photo:last-child{grid-column:span 5}
.p18-object-gallery .p18-two-up.p18-balance-right>.p18-photo:first-child{grid-column:span 5}
.p18-object-gallery .p18-two-up.p18-balance-right>.p18-photo:last-child{grid-column:span 7}
.p18-object-gallery .p18-single-row>.p18-photo{grid-column:1/-1}
.p18-object-gallery .p18-hero-split>.p18-hero{grid-column:span 7}
.p18-object-gallery .p18-count-3 .p18-hero-split>.p18-hero,.p18-object-gallery .p18-count-4 .p18-hero-split>.p18-hero{grid-column:span 7}
.p18-object-gallery .p18-count-3 .p18-stack,.p18-object-gallery .p18-count-4 .p18-stack{grid-column:span 5}
@media (max-width: 980px){
  .p18-object-gallery .p18-row{grid-template-columns:1fr}
  .p18-object-gallery .p18-two-up>.p18-photo,.p18-object-gallery .p18-hero-split>.p18-hero,.p18-object-gallery .p18-stack,.p18-object-gallery .p18-single-row>.p18-photo{grid-column:auto}
}
