img:is([sizes="auto" i], [sizes^="auto," i]) {
  contain-intrinsic-size: 3000px 1500px;
}

/* Typography: base layout + nav (see nav.njk, base.njk) + grid cols used on portfolio / locations-contact */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.col,
nav.mainmenu {
  font-family: Baskervville;
}

@media (max-width: 1170px) {
  .root {
    padding: 0 0 !important ;
  }
  .app-body header.h1:not(.sticky) .main-header,
  .page header.h1:not(.sticky) .main-header,
  .single header.h1:not(.sticky) .main-header {
    width: calc(100% - 40px);
  }
}

@media (max-width: 400px) {
  .app-body header.h1:not(.sticky) .main-header,
  .page header.h1:not(.sticky) .main-header,
  .single header.h1:not(.sticky) .main-header {
    width: calc(100% - 20px);
  }
}

@media (max-width: 767px) {
  /* .app-body header.h1:not(.sticky) .main-header,
  .page header.h1:not(.sticky) .main-header,
  .single header.h1:not(.sticky) .main-header {
    left: 20px !important;
  } */
}

@media (min-width: 768px) {
  .app-body header.h1:not(.sticky) .main-header,
  .page header.h1:not(.sticky) .main-header,
  .single header.h1:not(.sticky) .main-header {
    left: 20px !important;
    right: 20px !important;
  }
  .content.wide {
    margin-top: 75px;
  }
}

@media (min-width: 1170px) {
  .app-body header.h1:not(.sticky) .main-header,
  .page header.h1:not(.sticky) .main-header,
  .single header.h1:not(.sticky) .main-header {
    left: 0 !important;
    right: 0 !important;
  }
}

@media (min-width: 1024px) {
  .content.wide {
    margin-top: 0;
  }
}

.main-header > div {
  max-width: 1250px;
}

a.go-top {
  position: fixed;
  right: 20px;
  cursor: default;
  bottom: 20px;
  display: block;
  overflow: hidden;
  width: 40px;
  height: 40px;
  background: #000 url(/images/go-top.png) 50% 50% no-repeat;
  opacity: 0;
  text-indent: -50em;
  z-index: 110;
  transition: all 0.3s ease 0s;
  text-indent: -9999px;
}
a.go-top.show {
  opacity: 0.2;
  cursor: pointer;
}
a.go-top.show:hover {
  opacity: 0.4;
}

.scroll-down-arrow {
  position: fixed;
  bottom: 20px;
  left: 94%;
  transform: translateX(-50%);
  z-index: 1000;
  cursor: pointer;
  border: 1px solid #d0c6c6;
  padding: 20px;
  border-radius: 50%;
}
.scroll-down-arrow span {
  display: block;
  width: 0;
  height: 0;
  border-left: 10px solid #fff0;
  border-right: 10px solid #fff0;
  border-top: 15px solid #d0c6c6;
  margin: 0 auto;
}

@media (max-width: 960px) {
  a.go-top {
    display: none;
  }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (min-resolution: 192dpi) {
  a.go-top {
    background-image: url(/images/go-top.png);
    background-size: 19px 10px;
  }
}

/* Shared page builder (bc_page sections in *.njk pages) */
.bc_page-section.bc_page-section-boxed > .bc_page-container {
  max-width: 1140px;
}
.bc_page-widget:not(:last-child) {
  margin-block-end: 20px;
}
.bc_page-element {
  --widgets-spacing: 20px 20px;
  --widgets-spacing-row: 20px;
  --widgets-spacing-column: 20px;
}
@media (max-width: 1024px) {
  .bc_page-section.bc_page-section-boxed > .bc_page-container {
    max-width: 1024px;
  }
}
@media (max-width: 767px) {
  .bc_page-section.bc_page-section-boxed > .bc_page-container {
    max-width: 767px;
  }
}

/* Rich text / migrated CMS content (replaces WordPress align & media classes) */
.bc-source-hidden {
  display: none !important;
}

.bc-align-none {
  margin: 0 0 1em;
}
.bc-align-left {
  float: left;
  margin: 0 1.25em 1em 0;
}
.bc-align-right {
  float: right;
  margin: 0 0 1em 1.25em;
}

.bc-news-popup-content img,
.bc-news-popup-content [class*="bc-inline-img"] {
  max-width: 100%;
  height: auto;
}

.bc-img-large,
.bc-img-full {
  max-width: 100%;
  height: auto;
}
