.gallery{padding-block:var(--padding-top) var(--padding-bottom)}.gallery__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--gallery-gap)}.gallery__item{position:relative;isolation:isolate;display:flex;aspect-ratio:var(--ratio-mobile);padding:24px;overflow:hidden;color:var(--text-color)}.gallery__media{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.gallery__media .image-wrapper{margin:0}.gallery__media:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:var(--overlay);pointer-events:none}.gallery__content{display:flex;flex:1}.gallery__content--top-left{justify-content:flex-start;align-items:flex-start}.gallery__content--top-center{justify-content:center;align-items:flex-start}.gallery__content--top-right{justify-content:flex-end;align-items:flex-start}.gallery__content--middle-left{justify-content:flex-start;align-items:center}.gallery__content--middle-center{justify-content:center;align-items:center}.gallery__content--middle-right{justify-content:flex-end;align-items:center}.gallery__content--bottom-left{justify-content:flex-start;align-items:flex-end}.gallery__content--bottom-center{justify-content:center;align-items:flex-end}.gallery__content--bottom-right{justify-content:flex-end;align-items:flex-end}.gallery__content-inner{display:flex;flex-direction:column;gap:8px;max-width:100%}.gallery__content-inner--left{align-items:flex-start;text-align:left}.gallery__content-inner--center{align-items:center;text-align:center}.gallery__content-inner--right{align-items:flex-end;text-align:right}.gallery__heading,.gallery__text{margin:0;color:inherit}.gallery__button:not(.btn--text){margin-top:12px}.gallery__button.btn{text-transform:none}.gallery .gallery__button.btn--text{--btn-text: var(--text-color);--btn-text-hover: var(--text-color)}.gallery__item-link{position:absolute;top:0;right:0;bottom:0;left:0}@media(hover:hover){.gallery__item:has(.gallery__item-link:hover) .btn--text span{background-size:0% 1px}.gallery__item:has(.gallery__item-link:hover) .btn--outline:after,.gallery__item:has(.gallery__item-link:hover) .btn--solid:after{transform:translateZ(0)}}body.is-focused .gallery__item-link:focus{outline:2px solid var(--COLOR-PRIMARY);outline-offset:-2px;box-shadow:inset 0 0 0 4px var(--COLOR-BG)}body.is-focused .gallery__grid--swipe:focus{outline:2px solid var(--COLOR-PRIMARY);outline-offset:2px}@media only screen and (min-width:750px){.gallery__grid{grid-template-columns:repeat(var(--gallery-columns),minmax(0,1fr))}.gallery__item{aspect-ratio:var(--ratio)}.gallery__content-inner{max-width:90%}}@media only screen and (min-width:990px){.gallery__item{padding:32px}}@media only screen and (max-width:749px){.gallery{padding-block:var(--padding-top-mobile) var(--padding-bottom-mobile)}.gallery__grid--swipe{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:85%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.gallery__grid--swipe::-webkit-scrollbar{display:none}.gallery__grid--swipe .gallery__item{scroll-snap-align:start}.wrapper .gallery__grid--swipe,.wrapper--full-padded .gallery__grid--swipe{margin-inline:calc(var(--outer) * -1);padding-inline:var(--outer);scroll-padding-inline:var(--outer)}}
/*# sourceMappingURL=/cdn/shop/t/217/assets/barn-gallery.css.map */
