html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

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

h1[style],
h2[style],
h3[style] {
  overflow-wrap: break-word;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
}

.site-header__inner,
.site-footer__inner,
.site-footer__bottom {
  width: 100%;
}

.site-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line, #e6ebf2);
  border-radius: 10px;
  background: var(--bg, #fff);
  color: var(--ink, #0b1220);
  cursor: pointer;
}

.site-menu-toggle span,
.site-menu-toggle::before,
.site-menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.site-menu-toggle {
  flex-direction: column;
  gap: 4px;
}

.site-header.is-open .site-menu-toggle span {
  opacity: 0;
}

.site-header.is-open .site-menu-toggle::before {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .site-menu-toggle::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav__mobile-action {
  display: none;
}

@media (max-width: 1120px) {
  .site-header__inner {
    height: auto !important;
    min-height: 76px;
    padding: 12px 28px !important;
    flex-wrap: wrap !important;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px !important;
  }
}

@media (max-width: 900px) {
  [style*="grid-template-columns:1.02fr 1.08fr"],
  [style*="grid-template-columns: 1.02fr 1.08fr"],
  [style*="grid-template-columns:1fr 1.04fr"],
  [style*="grid-template-columns: 1fr 1.04fr"],
  [style*="grid-template-columns:0.82fr 1.18fr"],
  [style*="grid-template-columns: 0.82fr 1.18fr"],
  [style*="grid-template-columns:1.1fr 1fr"],
  [style*="grid-template-columns: 1.1fr 1fr"],
  [style*="grid-template-columns:380px 1fr"],
  [style*="grid-template-columns: 380px 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1.5fr 1fr 1fr 1.4fr"],
  [style*="grid-template-columns: 1.5fr 1fr 1fr 1.4fr"],
  [style*="grid-template-columns:repeat(2,1fr)"],
  [style*="grid-template-columns: repeat(2, 1fr)"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  [style*="position:sticky"],
  [style*="position: sticky"] {
    position: static !important;
    top: auto !important;
  }

  [style*="grid-column:span"],
  [style*="grid-column: span"] {
    grid-column: auto !important;
  }

  [style*="gap:56px"],
  [style*="gap: 56px"],
  [style*="gap:60px"],
  [style*="gap: 60px"],
  [style*="gap:52px"],
  [style*="gap: 52px"],
  [style*="gap:40px"],
  [style*="gap: 40px"] {
    gap: 28px !important;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 760px) {
  [style*="display:grid"][style*="grid-template-columns"],
  [style*="display: grid"][style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  h1[style],
  h2[style],
  h3[style] {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    hyphens: auto;
  }

  [style*="white-space:nowrap"],
  [style*="white-space: nowrap"] {
    white-space: normal !important;
  }

  [style*="column-count:3"],
  [style*="column-count: 3"] {
    column-count: 1 !important;
    column-gap: 0 !important;
  }

  [style*="display:flex"][style*="align-items:center"][style*="margin-bottom:22px"],
  [style*="display: flex"][style*="align-items: center"][style*="margin-bottom: 22px"] {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
  }

  [style*="flex:1"][style*="height:1px"][style*="background:var(--line"],
  [style*="flex: 1"][style*="height: 1px"][style*="background: var(--line"] {
    display: none !important;
  }

  .site-header__inner {
    min-height: 64px;
    padding: 10px 18px !important;
    gap: 12px !important;
  }

  .site-header__logo img {
    height: 36px !important;
  }

  .site-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-actions {
    display: none !important;
  }

  .site-nav {
    display: none !important;
    order: 4;
    width: 100%;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 10px 0 8px !important;
    border-top: 1px solid var(--line, #e6ebf2);
  }

  .site-header.is-open .site-nav {
    display: flex !important;
  }

  .site-nav a {
    padding: 12px 0 !important;
    font-size: 15px !important;
    white-space: normal !important;
  }

  .site-nav__mobile-action {
    display: inline-flex;
  }

  .site-footer__grid,
  .site-footer__locations {
    grid-template-columns: 1fr !important;
  }

  .site-footer__inner,
  .site-footer__bottom,
  [style*="padding:0 40px"],
  [style*="padding: 0px 40px"],
  [style*="padding: 0 40px"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  [style*="padding:84px 40px"],
  [style*="padding: 84px 40px"],
  [style*="padding:90px 40px"],
  [style*="padding: 90px 40px"],
  [style*="padding:56px 40px"],
  [style*="padding: 56px 40px"],
  [style*="padding:48px 40px"],
  [style*="padding: 48px 40px"] {
    padding: 56px 20px !important;
  }

  section[style*="padding:var(--section-pad"],
  section[style*="padding: var(--section-pad"] {
    padding: 64px 0 !important;
  }

  h1[style] {
    font-size: 40px !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }

  h2[style] {
    font-size: 30px !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
  }

  h2[style*="font-size:15px"],
  h2[style*="font-size: 15px"] {
    font-size: 15px !important;
    line-height: 1.25 !important;
  }

  h2[style*="font-size:22px"],
  h2[style*="font-size: 22px"] {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  h3[style] {
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
  }

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

  a[style*="padding:15px"],
  a[style*="padding:14px"],
  button[style*="padding:15px"] {
    max-width: 100%;
    text-align: center;
  }

  a[style*="padding:15px"],
  a[style*="padding: 15px"],
  a[style*="padding:14px"],
  a[style*="padding: 14px"],
  button[style*="padding:15px"],
  button[style*="padding: 15px"] {
    min-width: 0 !important;
    white-space: normal !important;
  }
}

@media (max-width: 480px) {
  .site-header__inner,
  [style*="padding:0 40px"],
  [style*="padding: 0px 40px"],
  [style*="padding: 0 40px"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  [style*="padding:84px 40px"],
  [style*="padding: 84px 40px"],
  [style*="padding:90px 40px"],
  [style*="padding: 90px 40px"],
  [style*="padding:56px 40px"],
  [style*="padding: 56px 40px"],
  [style*="padding:48px 40px"],
  [style*="padding: 48px 40px"] {
    padding: 46px 16px !important;
  }

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

  h2[style] {
    font-size: 26px !important;
  }

  h2[style*="font-size:15px"],
  h2[style*="font-size: 15px"] {
    font-size: 15px !important;
  }

  h2[style*="font-size:22px"],
  h2[style*="font-size: 22px"] {
    font-size: 22px !important;
  }

  [style*="display:flex"][style*="gap:12px"],
  [style*="display: flex"][style*="gap: 12px"],
  [style*="display:flex"][style*="gap:14px"],
  [style*="display: flex"][style*="gap: 14px"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}
