*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

img,
video {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

[data-partial="header"] {
  gap: 20px;
}

[data-partial="header"] > a:first-child {
  flex: 0 0 auto;
  white-space: nowrap;
}

.be-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(182, 136, 63, 0.55);
  background: transparent;
  color: #f6f2e9;
  cursor: pointer;
}

.be-nav-toggle__bar,
.be-nav-toggle__bar::before,
.be-nav-toggle__bar::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.be-nav-toggle__bar {
  position: relative;
}

.be-nav-toggle__bar::before,
.be-nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.be-nav-toggle__bar::before {
  top: -6px;
}

.be-nav-toggle__bar::after {
  top: 6px;
}

[data-partial="header"].be-nav-open .be-nav-toggle__bar {
  transform: rotate(45deg);
}

[data-partial="header"].be-nav-open .be-nav-toggle__bar::before {
  opacity: 0;
}

[data-partial="header"].be-nav-open .be-nav-toggle__bar::after {
  transform: translateY(-6px) rotate(90deg);
}

@media (max-width: 1180px) {
  [data-partial="header"] {
    padding: 20px 32px !important;
  }

  [data-partial="header"] > div {
    gap: 20px !important;
  }
}

@media (max-width: 980px) {
  [data-partial="header"] {
    align-items: center !important;
    flex-wrap: wrap;
    padding: 16px 20px !important;
  }

  .be-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  [data-partial="header"] > div {
    display: none !important;
    flex: 0 0 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 10px 0 2px;
    border-top: 1px solid rgba(182, 136, 63, 0.22);
  }

  [data-partial="header"].be-nav-open > div {
    display: flex !important;
  }

  [data-partial="header"] > div > a {
    display: block;
    width: 100%;
    padding: 14px 0 !important;
    border: 0 !important;
    color: #dce2ea !important;
    line-height: 1.25;
  }

  [data-partial="header"] > div > a:last-child {
    margin-top: 8px;
    padding: 13px 16px !important;
    text-align: center;
    border: 1px solid #b6883f !important;
    color: #b6883f !important;
  }

  [data-partial="header"] > div > a:last-child[style*="color: #10151f"],
  [data-partial="header"] > div > a:last-child[style*="color: rgb(16, 21, 31)"] {
    color: #10151f !important;
  }

  [data-partial="footer"] {
    padding: 56px 20px 32px !important;
  }

  [data-partial="footer"] > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding-bottom: 36px !important;
  }

  [data-partial="footer"] > div:last-child {
    padding-top: 22px !important;
  }

  div[style*="padding: 140px 56px"],
  div[style*="padding: 130px 56px"],
  div[style*="padding: 120px 56px"],
  div[style*="padding: 110px 56px"],
  div[style*="padding: 100px 56px"],
  div[style*="padding: 90px 56px"],
  div[style*="padding: 80px 56px"],
  div[style*="padding: 70px 56px"] {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  div[style*="grid-template-columns: repeat(4, 1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: 1fr 1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: 0.85fr 1.15fr"],
  div[style*="grid-template-columns: 0.9fr 1.1fr"],
  div[style*="grid-template-columns: 1.3fr 0.7fr"],
  div[style*="grid-template-columns: 1.35fr 1fr"],
  div[style*="grid-template-columns: 60px 1fr 2fr"],
  div[style*="grid-template-columns: 2fr 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  div[style*="display: grid"][style*="gap: 72px"],
  div[style*="display: grid"][style*="gap: 60px"],
  div[style*="display: grid"][style*="gap: 48px"],
  div[style*="display: grid"][style*="gap: 40px"],
  div[style*="display: grid"][style*="gap: 32px"],
  div[style*="display: grid"][style*="gap: 24px"] {
    gap: 24px !important;
  }

  h1[style] {
    font-size: clamp(34px, 9vw, 50px) !important;
    line-height: 1.12 !important;
  }

  h2[style] {
    font-size: clamp(28px, 7vw, 38px) !important;
    line-height: 1.18 !important;
  }

  p[style*="font-size: 19px"],
  p[style*="font-size: 18px"],
  p[style*="font-size: 17px"] {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  img[style*="height: 520px"] {
    height: auto !important;
    aspect-ratio: 4 / 5;
  }

  img[style*="height: 240px"],
  img[style*="height: 220px"] {
    height: auto !important;
    aspect-ratio: 16 / 10;
  }

  div[style*="min-height: 92vh"] {
    min-height: auto !important;
  }

  sc-raw-table {
    display: table;
  }
}

@media (max-width: 640px) {
  [data-partial="header"] {
    padding: 14px 16px !important;
  }

  [data-partial="header"] > a:first-child {
    font-size: 18px !important;
  }

  div[style*="padding: 140px 56px"],
  div[style*="padding: 130px 56px"],
  div[style*="padding: 120px 56px"],
  div[style*="padding: 110px 56px"],
  div[style*="padding: 100px 56px"],
  div[style*="padding: 90px 56px"],
  div[style*="padding: 80px 56px"],
  div[style*="padding: 70px 56px"] {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  div[style*="grid-template-columns: repeat(4, 1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    gap: 0 !important;
  }

  div[style*="grid-template-columns: repeat(4, 1fr)"] > div,
  div[style*="grid-template-columns: repeat(3, 1fr)"] > div {
    border-left: 0 !important;
  }

  h1[style] {
    font-size: clamp(31px, 9.5vw, 42px) !important;
  }

  h2[style] {
    font-size: clamp(26px, 8vw, 34px) !important;
  }

  div[style*="font-size: 46px"],
  div[style*="font-size: 42px"] {
    font-size: 34px !important;
  }

  a[style*="padding: 14px 28px"],
  a[style*="padding: 14px 30px"],
  button[style*="padding: 16px 34px"],
  button[style*="padding: 16px 36px"] {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  [data-partial="header"] > a:first-child {
    font-size: 16px !important;
  }

  .be-nav-toggle {
    width: 40px;
    height: 40px;
  }

  h1[style] {
    font-size: 30px !important;
  }
}
