/* Static-freeze fixes for the Squarespace Brine template (runtime JS removed). */
.static-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.static-brand-h1{display:inline;margin:0;padding:0;font-size:inherit;line-height:inherit;font-weight:inherit;letter-spacing:inherit}

/* index sections with a background image (the parallax runtime used to move these into a fixed host) */
.Index-page--has-image{position:relative;overflow:hidden}
.Index-page--has-image > .Index-page-image{display:block!important;position:absolute;top:0;left:0;right:0;bottom:0;margin:0;z-index:0;opacity:1!important;visibility:visible!important}
.Index-page--has-image > .Index-page-image img{position:absolute;top:0;left:0;width:100%;height:100%;max-width:none;object-fit:cover;opacity:1!important}
.Index-page--has-image > .Index-page-content{position:relative;z-index:1}
/* white text sits directly on photos (no overlay in the original); a soft shadow keeps it readable */
.Index-page--has-image .Index-page-content{text-shadow:0 1px 8px rgba(0,0,0,.55)}
.Index-page--has-image .sqs-block-button-element{text-shadow:none}

/* split index gallery tiles (homepage call-to-action) */
.Index-gallery-item-image img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}

/* footer social icons: the runtime defined the icon colour variables */
.social-icons-color-white .sqs-svg-icon--wrapper{--si-primary:#fff;--si-primary-faded:rgba(255,255,255,.7)}
.social-icons-color-black .sqs-svg-icon--wrapper{--si-primary:#000;--si-primary-faded:rgba(0,0,0,.7)}

/* image blocks: the runtime image loader positioned these inside an aspect-ratio box */
.sqs-image-shape-container-element.has-aspect-ratio img,
.image-block-wrapper.has-aspect-ratio img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.sqs-block-image img{opacity:1!important}

/* the logo is wrapped in the page H1 on some pages: undo heading-link underline styles */
.static-brand-h1 a,.static-brand-h1 a:hover{border:0!important;padding:0!important}
/* the logo is a white PNG; on pages without a photo banner it was invisible (white on white) */
.Header--bottom:not(.Header--overlay) .Header-branding-logo{filter:invert(1) brightness(.35)}

/* the runtime pushed the first index section down below the overlaid header (measured: 62px) */
@media screen and (min-width:640px){
  .Site-inner--index .Index > .Index-page:first-child > .Index-page-content{margin-top:62px}
}

/* blog list grid (the runtime set data-columns from the viewport width) */
.BlogList-item-image-link img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
@media screen and (max-width:1024px){
  .tweak-blog-list-style-grid [data-columns='3'] .BlogList-item{width:calc(50% - 23px)}
  .tweak-blog-list-style-grid [data-columns='3'] .BlogList-item:nth-child(n){margin-right:45px;clear:none;margin-top:45px}
  .tweak-blog-list-style-grid [data-columns='3'] .BlogList-item:nth-child(2n){margin-right:0}
  .tweak-blog-list-style-grid [data-columns='3'] .BlogList-item:nth-child(2n+1){clear:both}
  .tweak-blog-list-style-grid [data-columns='3'] .BlogList-item:nth-child(-n+2){margin-top:0}
}
@media screen and (max-width:640px){
  .tweak-blog-list-style-grid [data-columns='3'] .BlogList-item:nth-child(n){width:100%;margin-right:0;clear:both;margin-top:36px}
  .tweak-blog-list-style-grid [data-columns='3'] .BlogList-item:first-child{margin-top:0}
}

/* gallery grid block */
.sqs-gallery img{opacity:1!important;visibility:visible!important}
.sqs-gallery-block-grid .sqs-gallery{display:flex;flex-wrap:wrap;margin:0 -12px}
.sqs-gallery-block-grid .slide{box-sizing:border-box;width:16.6666%;padding:0 12px 24px;opacity:1!important}
.sqs-gallery-block-grid.sqs-gallery-thumbnails-per-row-5 .slide{width:20%}
.sqs-gallery-block-grid.sqs-gallery-thumbnails-per-row-4 .slide{width:25%}
.sqs-gallery-block-grid.sqs-gallery-thumbnails-per-row-3 .slide{width:33.3333%}
.sqs-gallery-block-grid .image-slide-anchor{display:block;position:relative;padding-bottom:100%;overflow:hidden}
.sqs-gallery-block-grid .image-slide-anchor img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.sqs-gallery-block-grid .image-slide-title{text-align:center;padding-top:.6em;font-size:12px}
@media (max-width:640px){.sqs-gallery-block-grid .slide{width:33.3333%}}

/* replacements for the contact form and the PayPal buttons */
.static-contact-card{max-width:560px;margin:0 auto;text-align:center}
.static-contact-card p{margin:0 0 1em}
.static-contact-address{font-size:.9em;opacity:.85}
.static-mailto-button{display:inline-block;margin:.5em 0 1.2em;padding:1em 1.8em;background:#4f92bc;color:#fff!important;
  font-family:'Fjalla One',sans-serif;text-transform:uppercase;letter-spacing:.08em;font-size:14px;text-decoration:none}
.static-mailto-button:hover{background:#1b1b1b}
.sqs-block-form .static-mailto-button{display:block;text-align:center}
