/* ==========================================================================
   Krasniqi Baumanagement GmbH — site styles
   Rebuilt 1:1 from the Squarespace 7.1 site (template "Brine/7.1", tweaks:
   header padding 2.2vw, page padding 4vw, max page width 1500px,
   heading font Acumin Pro 500, body font Poppins 300, buttons solid/square).
   ========================================================================== */

:root {
  /* palette */
  --white-hsl: 0, 0%, 100%;
  --black-hsl: 0, 0%, 0%;
  --green: hsla(171.69230769, 97.01492537%, 13.1372549%, 1); /* rgb(1, 66, 57) */
  --siteBackgroundColor: hsla(var(--white-hsl), 1);
  --textColor: hsla(var(--black-hsl), 1);
  --buttonBackgroundColor: var(--green);
  --buttonTextColor: hsla(var(--white-hsl), 1);

  /* typography */
  --base-font-size: 16px;
  --heading-font-font-family: "acumin-pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --heading-font-font-weight: 500;
  --heading-font-line-height: 1.4em;
  --body-font-font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body-font-font-weight: 300;
  --body-font-line-height: 1.8em;
  --heading-1-size-value: 4;
  --heading-2-size-value: 2.8;
  --heading-3-size-value: 2.2;
  --heading-4-size-value: 1.6;
  --normal-text-size: 1rem;
  --button-font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --button-font-weight: 500;
  --button-letter-spacing: .02em;
  --button-padding-y: 1.2em;
  --button-padding-x: 2.004em;
  --primary-button-font-font-size-value: 1;
  --secondary-button-font-font-size-value: 1.1;
  --header-button-font-font-size-value: .9;

  /* layout */
  --maxPageWidth: 1500px;
  --pagePadding: 4vw;
  --sqs-site-gutter: var(--pagePadding);
  --sqs-mobile-site-gutter: 6vw;
  --header-height: 119px; /* updated by JS to the real header height */
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html {
  -webkit-text-size-adjust: 100%;
  font-size: var(--base-font-size);
}

body {
  margin: 0;
  font-family: var(--body-font-font-family);
  font-style: normal;
  font-weight: var(--body-font-font-weight);
  line-height: var(--body-font-line-height);
  letter-spacing: 0;
  font-size: 1rem;
  color: var(--textColor);
  background-color: var(--siteBackgroundColor);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

body.header--menu-open {
  overflow: hidden;
}

*,
*::before,
*::after {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  background: 0 0;
}

img {
  border: 0;
}

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

#siteWrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Squarespace renders all text with grayscale antialiasing (thinner on macOS) */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#page {
  position: relative;
}

#footer-sections {
  margin-top: auto;
  position: relative;
  z-index: 0;
}

.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 2rem 0;
  font-family: var(--heading-font-font-family);
  font-style: normal;
  font-weight: var(--heading-font-font-weight);
  letter-spacing: 0;
  text-transform: none;
  color: var(--textColor);
}

h1 { line-height: calc(var(--heading-font-line-height) * (1 + (1 - var(--heading-1-size-value)) / 25)); }
h2 { line-height: calc(var(--heading-font-line-height) * (1 + (1 - var(--heading-2-size-value)) / 25)); }
h3 { line-height: calc(var(--heading-font-line-height) * (1 + (1 - var(--heading-3-size-value)) / 25)); }
h4 { line-height: calc(var(--heading-font-line-height) * (1 + (1 - var(--heading-4-size-value)) / 25)); }

p {
  margin: 1rem 0;
  font-size: var(--normal-text-size);
  line-height: var(--body-font-line-height);
  color: var(--textColor);
}

strong, b {
  font-weight: 700;
}

.sqs-html-content > *:first-child { margin-top: 0; }
.sqs-html-content > *:last-child { margin-bottom: 0; }
.sqs-html-content *:not(h1):not(h2):not(h3) { word-wrap: break-word; }

p a {
  color: var(--textColor);
}

.sqs-block-html a {
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}

#footer-sections .sqs-block-html a {
  display: inline-block;
}

/* Fluid font sizes.
   Portrait phones use a viewport-height based formula,
   everything else a viewport-width based formula (same as Squarespace 7.1). */
@media screen and (max-width: 767px) and (orientation: portrait) {
  h1 { font-size: calc((var(--heading-1-size-value) - 1) * calc(.012 * min(100vh, 900px)) + 1rem); }
  h2 { font-size: calc((var(--heading-2-size-value) - 1) * calc(.012 * min(100vh, 900px)) + 1rem); }
  h3 { font-size: calc((var(--heading-3-size-value) - 1) * calc(.012 * min(100vh, 900px)) + 1rem); }
  h4 { font-size: calc((var(--heading-4-size-value) - 1) * calc(.012 * min(100vh, 900px)) + 1rem); }
  .sqs-button-element--primary { font-size: calc((var(--primary-button-font-font-size-value) - 1) * calc(.012 * min(100vh, 900px)) + 1rem); }
  .sqs-button-element--secondary { font-size: calc((var(--secondary-button-font-font-size-value) - 1) * calc(.012 * min(100vh, 900px)) + 1rem); }
  .header-actions-action--cta .sqs-button-element--primary,
  .header-skip-link { font-size: calc((var(--header-button-font-font-size-value) - 1) * calc(.012 * min(100vh, 900px)) + 1rem); }
}

@media screen and (min-width: 768px), screen and (orientation: landscape) {
  h1 { font-size: min(calc((var(--heading-1-size-value) - 1) * 1.2vw + 1rem), max(calc((var(--heading-1-size-value) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--heading-1-size-value) * 1rem))); }
  h2 { font-size: min(calc((var(--heading-2-size-value) - 1) * 1.2vw + 1rem), max(calc((var(--heading-2-size-value) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--heading-2-size-value) * 1rem))); }
  h3 { font-size: min(calc((var(--heading-3-size-value) - 1) * 1.2vw + 1rem), max(calc((var(--heading-3-size-value) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--heading-3-size-value) * 1rem))); }
  h4 { font-size: min(calc((var(--heading-4-size-value) - 1) * 1.2vw + 1rem), max(calc((var(--heading-4-size-value) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--heading-4-size-value) * 1rem))); }
  .sqs-button-element--primary { font-size: min(calc((var(--primary-button-font-font-size-value) - 1) * 1.2vw + 1rem), max(calc((var(--primary-button-font-font-size-value) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--primary-button-font-font-size-value) * 1rem))); }
  .sqs-button-element--secondary { font-size: min(calc((var(--secondary-button-font-font-size-value) - 1) * 1.2vw + 1rem), max(calc((var(--secondary-button-font-font-size-value) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--secondary-button-font-font-size-value) * 1rem))); }
  .header-actions-action--cta .sqs-button-element--primary,
  .header-skip-link { font-size: min(calc((var(--header-button-font-font-size-value) - 1) * 1.2vw + 1rem), max(calc((var(--header-button-font-font-size-value) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--header-button-font-font-size-value) * 1rem))); }
}

/* --------------------------------------------------------------------------
   Buttons (solid, square)
   -------------------------------------------------------------------------- */
.btn,
.sqs-block-button-element {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  padding: var(--button-padding-y) var(--button-padding-x);
  border: 0 solid transparent;
  border-radius: 0;
  font-family: var(--button-font-family);
  font-style: normal;
  font-weight: var(--button-font-weight);
  letter-spacing: var(--button-letter-spacing);
  text-transform: none;
  text-align: center;
  text-decoration: none;
  line-height: normal;
  color: var(--buttonTextColor);
  background-color: var(--buttonBackgroundColor);
  cursor: pointer;
  transition: .1s opacity linear;
  -webkit-backface-visibility: hidden;
}

.btn:hover,
.sqs-block-button-element:hover {
  opacity: .8;
}

.sqs-block-button-container {
  display: flex;
}

.sqs-block-button-container--left { justify-content: flex-start; text-align: left; }
.sqs-block-button-container--center { justify-content: center; text-align: center; }
.sqs-block-button-container--right { justify-content: flex-end; text-align: right; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  line-height: 1;
  pointer-events: none;
  background-color: hsla(var(--white-hsl), 1);
  color: hsla(var(--black-hsl), 1);
  transition: transform 140ms ease-in-out;
}

.header-skip-link {
  position: absolute;
  top: 1.5em;
  left: -1000em;
  z-index: 2;
  box-sizing: border-box;
  max-width: calc(100vw - 2.6em);
  padding: var(--button-padding-y) var(--button-padding-x);
  text-decoration: underline;
}

.header-skip-link:focus {
  left: 1.3em;
}

.header-announcement-bar-wrapper {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  padding: 2.2vw var(--pagePadding);
  pointer-events: auto;
  transition: padding 140ms ease-in-out;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none; /* Squarespace setting "header width: full" */
  margin: 0 auto;
  padding: 0;
}

.header-display-desktop {
  position: relative;
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
  align-items: center;
}

.header-display-mobile {
  position: relative;
  display: none;
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
  align-items: center;
}

.header-title-nav-wrapper {
  display: flex;
  flex: 1 0 67%;
  flex-wrap: nowrap;
  align-items: center;
}

.header-display-desktop .header-title-nav-wrapper {
  flex: 1 0 67%;
}

.header-layout-nav-right .header-title {
  flex-grow: 1;
}

.header-title-logo {
  width: auto;
  font-size: 0;
}

.header-title-logo a {
  display: inline-block;
  max-width: 100%;
  max-height: 50px;
}

.header-title-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 50px;
}

/* The primary navigation is hidden on the original site (custom CSS). */
.header-nav {
  display: none;
}

.header-actions {
  display: inline-flex;
  flex-grow: 0;
  flex-shrink: 1;
  align-items: center;
}

.header-display-desktop .header-actions {
  flex: 0 1 auto;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.header-actions-action {
  margin: 0 0 0 1vw;
  text-align: center;
  line-height: 1;
}

.header-actions-action--cta {
  display: none;
  white-space: nowrap;
}

.header-display-desktop .header-actions-action--cta {
  display: block;
}

.header-burger {
  display: none;
  flex: 0 0 50px;
  width: 50px;
  align-items: center;
  justify-content: center;
}

.header-burger-btn {
  position: relative;
  display: inline-block;
  padding: 1px;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.burger-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
}

.burger-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.burger-inner .top-bun,
.burger-inner .patty,
.burger-inner .bottom-bun {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 1px;
  background-color: hsla(var(--black-hsl), 1);
  transition: transform 250ms cubic-bezier(.2, .6, .3, 1), width 250ms cubic-bezier(.2, .6, .3, 1);
  will-change: transform, width;
}

.burger-inner.header-menu-icon-doubleLineHamburger .top-bun { transform: translateY(-5.5px); }
.burger-inner.header-menu-icon-doubleLineHamburger .bottom-bun { transform: translateY(5.5px); }
.burger-inner.header-menu-icon-doubleLineHamburger .patty { transform: scale(0); }

.burger--active .burger-inner .top-bun {
  transform: translateX(3.5px) rotate(-135deg);
  width: 28px;
}

.burger--active .burger-inner .bottom-bun {
  transform: translateX(3.5px) rotate(135deg);
  width: 28px;
}

.burger--active .burger-inner .patty {
  transform: scale(0);
}

/* Mobile menu overlay */
.header-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding-top: var(--header-height);
  font-size: 1.2em;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition: visibility 600ms cubic-bezier(.4, 0, .2, 1), opacity 400ms cubic-bezier(.4, 0, .2, 1);
}

.header--menu-open .header-menu {
  opacity: 1;
  visibility: visible;
}

.header-menu-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: hsla(var(--white-hsl), 1);
}

.header-menu-nav {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.header-menu-nav-list {
  position: relative;
  flex-grow: 1;
  width: 100%;
  transform: translateY(20px);
  transition: transform 600ms cubic-bezier(.4, 0, .2, 1);
}

.header--menu-open .header-menu-nav-list {
  transform: translateY(0);
}

.header-menu-nav-folder {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  max-height: 100%;
  justify-content: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.header-menu-nav-folder-content {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-shrink: 0;
  width: 100%;
  justify-content: center;
}

.header-menu-nav-item {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding-left: var(--pagePadding);
  padding-right: var(--pagePadding);
  font-family: var(--body-font-font-family);
  font-weight: var(--body-font-font-weight);
  line-height: 1;
}

.header-menu-nav-item a {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 3vw 5vw;
  font-size: 8.5vmin;
  color: hsla(var(--black-hsl), 1);
  transition: opacity 250ms cubic-bezier(.4, 0, .2, 1);
}

.header-menu-nav-item-content {
  position: relative;
  display: inline-flex;
  align-items: center;
  pointer-events: none;
}

.header-menu-cta {
  transform: translateY(100%);
  transition: transform 600ms cubic-bezier(.4, 0, .2, 1);
}

.header--menu-open .header-menu-cta {
  transform: translateY(0);
}

.header-menu-cta a {
  display: inline-block;
  box-sizing: border-box;
  min-width: 210px;
  margin: 4vw 6vw 6vw;
  font-size: 1.2rem;
  text-align: center;
  color: hsla(var(--white-hsl), 1);
  background-color: hsla(var(--black-hsl), 1);
  border-color: hsla(var(--black-hsl), 1);
}

/* Mobile header */
@media only screen and (pointer: coarse) and (max-width: 1024px), screen and (max-width: 799px) {
  .header-announcement-bar-wrapper {
    padding: 6vw;
  }

  .header-display-desktop {
    display: none;
  }

  .header-display-mobile {
    display: flex;
  }

  .header-display-mobile .header-title-nav-wrapper {
    flex: 1 0 calc(100% - 50px);
  }

  .header-display-mobile .header-title {
    flex: 1 0 100%;
  }

  .header-display-mobile .header-burger {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .header-burger-btn {
    padding: 1px 6px;
  }

  .header-display-mobile .header-actions {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .header-title-logo a {
    max-height: 30px;
  }

  .header-title-logo img {
    max-height: 30px;
  }
}

/* --------------------------------------------------------------------------
   Page sections
   -------------------------------------------------------------------------- */
.page-section {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  color: var(--textColor);
  background-color: var(--siteBackgroundColor);
}

.page-section.vertical-alignment--top { align-items: flex-start; }
.page-section.vertical-alignment--middle { align-items: center; }
.page-section.vertical-alignment--bottom { align-items: flex-end; }

.page-section > .content-wrapper {
  position: relative;
  display: flex;
  box-sizing: content-box;
  width: 100%;
  max-width: var(--maxPageWidth);
  margin: 0 auto;
  padding-left: var(--sqs-site-gutter);
  padding-right: var(--sqs-site-gutter);
}

.page-section.horizontal-alignment--left > .content-wrapper { justify-content: flex-start; }
.page-section.horizontal-alignment--center > .content-wrapper { justify-content: center; }
.page-section.horizontal-alignment--right > .content-wrapper { justify-content: flex-end; }

.page-section > .content-wrapper,
.page-section .content {
  min-width: 0;
}

.page-section .content {
  width: 100%;
}

.section-border {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.section-background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* section heights (layout sections only, not the gallery) */
.page-section.section-height--small:not(.gallery-section) { min-height: 33vh; }
.page-section.section-height--medium:not(.gallery-section) { min-height: 66vh; }
.page-section.section-height--large:not(.gallery-section) { min-height: 100vh; }

/* vertical padding per height/alignment combination */
.page-section.vertical-alignment--middle.section-height--small:not(.gallery-section) > .content-wrapper { padding-top: 3.3vmax; padding-bottom: 3.3vmax; }
.page-section.vertical-alignment--middle.section-height--medium:not(.gallery-section) > .content-wrapper { padding-top: 6.6vmax; padding-bottom: 6.6vmax; }
.page-section.vertical-alignment--middle.section-height--large:not(.gallery-section) > .content-wrapper { padding-top: 6.6vmax; padding-bottom: 6.6vmax; }

.page-section.vertical-alignment--top.section-height--small:not(.gallery-section) > .content-wrapper { padding-top: var(--pagePadding); padding-bottom: 6.6vmax; }
.page-section.vertical-alignment--top.section-height--medium:not(.gallery-section) > .content-wrapper { padding-top: var(--pagePadding); padding-bottom: 13.2vmax; }
.page-section.vertical-alignment--top.section-height--large:not(.gallery-section) > .content-wrapper { padding-top: var(--pagePadding); padding-bottom: 13.2vmax; }

.page-section.vertical-alignment--bottom.section-height--small:not(.gallery-section) > .content-wrapper { padding-top: 6.6vmax; padding-bottom: var(--pagePadding); }
.page-section.vertical-alignment--bottom.section-height--medium:not(.gallery-section) > .content-wrapper { padding-top: 13.2vmax; padding-bottom: var(--pagePadding); }
.page-section.vertical-alignment--bottom.section-height--large:not(.gallery-section) > .content-wrapper { padding-top: 13.2vmax; padding-bottom: var(--pagePadding); }

/* The header is absolutely positioned; the first section is pushed down by
   the header height (set on --header-height by assets/js/site.js). */
#page .page-section:first-child {
  padding-top: var(--header-height);
}

/* section themes */
.page-section.white {
  --siteBackgroundColor: hsla(var(--white-hsl), 1);
  --textColor: hsla(var(--black-hsl), 1);
}

.page-section.black-bold {
  --siteBackgroundColor: var(--green);
  --textColor: hsla(var(--white-hsl), 1);
  --buttonBackgroundColor: hsla(var(--white-hsl), 1);
  --buttonTextColor: var(--green);
}

/* content widths (desktop) */
@media screen and (min-width: 768px) {
  .page-section.content-width--narrow .content { width: 50%; }
  .page-section.content-width--medium .content { width: 75%; }
  .page-section.content-width--wide .content { width: 100%; }
}

/* full-bleed sections (gallery) */
.page-section.full-bleed-section > .content-wrapper {
  max-width: 100%;
  padding: 0;
}

.page-section.full-bleed-section .content {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Layout engine (blocks & columns)
   -------------------------------------------------------------------------- */
.sqs-layout {
  width: 100%;
}

.sqs-layout > .sqs-row {
  margin-left: -17px;
  margin-right: -17px;
}

.sqs-row::before,
.sqs-row::after {
  content: "";
  display: table;
}

.sqs-row::after {
  clear: both;
}

[class*="sqs-col"] {
  float: left;
  box-sizing: border-box;
}

.sqs-col-12 { width: 100%; }
.sqs-col-11 { width: 91.6667%; }
.sqs-col-10 { width: 83.3333%; }
.sqs-col-9 { width: 75%; }
.sqs-col-8 { width: 66.6667%; }
.sqs-col-7 { width: 58.3333%; }
.sqs-col-6 { width: 50%; }
.sqs-col-5 { width: 41.6667%; }
.sqs-col-4 { width: 33.3333%; }
.sqs-col-3 { width: 25%; }
.sqs-col-2 { width: 16.6667%; }
.sqs-col-1 { width: 8.3333%; }

.sqs-block {
  position: relative;
  height: auto;
  padding: 17px;
}

.sqs-block-spacer .sqs-block-content {
  height: 34px;
}

/* On desktop the first block of a section has no top padding and a single
   block has no bottom padding (mirrors the Squarespace layout engine). */
@media screen and (min-width: 768px) {
  .sqs-layout > .sqs-row > .col > .sqs-block:first-child,
  .sqs-layout > .sqs-row > .col > .sqs-row:first-child > .col > .sqs-block:first-child {
    padding-top: 0;
  }

  .sqs-layout > .sqs-row > .col > .sqs-block:only-child,
  .sqs-layout > .sqs-row > .col > .sqs-row:first-child > .col > .sqs-block:only-child {
    padding-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   Gallery (masonry, 3 columns desktop / 2 columns mobile)
   -------------------------------------------------------------------------- */
.gallery-section .gallery {
  min-height: 100px;
}

.gallery-masonry {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: var(--pagePadding);
}

.gallery-masonry-wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.gallery-masonry-item {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
}

.gallery-masonry-wrapper--ready .gallery-masonry-item {
  transition: transform 600ms cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.gallery-masonry-item-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.gallery-masonry-item img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

/* No-JS / pre-layout fallback: simple 3-column grid */
.gallery-masonry-wrapper:not(.gallery-masonry-wrapper--ready) {
  display: grid;
  grid-template-columns: repeat(3, 30%);
  column-gap: 5%;
  row-gap: 5%;
  align-items: start;
}

.gallery-masonry-wrapper:not(.gallery-masonry-wrapper--ready) .gallery-masonry-item {
  position: static;
}

/* --------------------------------------------------------------------------
   Mobile layout (≤ 767px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 767px) {
  .page-section > .content-wrapper {
    padding-left: var(--sqs-mobile-site-gutter);
    padding-right: var(--sqs-mobile-site-gutter);
  }

  .page-section.full-bleed-section > .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .gallery-masonry {
    padding: 6vw;
  }

  .gallery-masonry-wrapper:not(.gallery-masonry-wrapper--ready) {
    grid-template-columns: repeat(2, 48.75%);
    column-gap: 2.5%;
    row-gap: 2.5%;
  }

  [class*="sqs-col"] {
    float: none !important;
    width: auto !important;
  }

  .sqs-block-spacer {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .header-menu,
  .header-menu-nav-list,
  .header-menu-cta,
  .gallery-masonry-wrapper--ready .gallery-masonry-item,
  .burger-inner .top-bun,
  .burger-inner .patty,
  .burger-inner .bottom-bun {
    transition: none;
  }
}
