.fancybox-caption{font-size:1rem;line-height:1.5rem;text-align:center}.gallery-grid{display:grid;grid-gap:30px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-auto-rows:150px;grid-auto-flow:row dense}.gallery-item{position:relative;display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;color:#fff;grid-column-start:auto;grid-row-start:auto;background-size:cover;background:#000 50%;box-shadow:-2px 2px 10px rgba(68,68,68,.4);transition:transform .3s ease-in-out;cursor:zoom-in;counter-increment:item-counter;overflow:hidden}.gallery-item a{z-index:1}.gallery-item a[data-fancybox]{text-decoration:none;cursor:zoom-in}.gallery-item img{all:initial;object-fit:cover;width:100%;height:100%;position:absolute;top:0;left:0;cursor:zoom-in;min-height:48px;min-width:48px}.gallery-item:after{content:"";position:absolute;width:100%;height:100%}.gallery-item:hover{transform:scale(1.05)}.gallery-item--medium{grid-row-end:span 2}.gallery-item--large{grid-row-end:span 3}.gallery-item--full{grid-column-end:auto}@media screen and (min-width:768px){.gallery-item--full{grid-column:1/-1;grid-row-end:span 2}}