:root {
  --site-v2-green: #2f6f61;
  --site-v2-green-dark: #214b42;
  --site-v2-cta: #55603a;
  --site-v2-cream: #f5f2e9;
  --site-v2-line: #d9e2d8;
  --site-v2-muted: #557068;
}

.site-v2-header,
.site-v2-footer {
  color: var(--site-v2-green-dark);
  font-family: inherit;
}

.site-v2-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-v2-home-hero {
  position: relative;
  overflow: hidden;
  width: min(1100px, calc(100% - 32px));
  height: clamp(190px, 19vw, 215px);
  margin: 0 auto;
  background: var(--site-v2-cream);
}

.site-v2-home-hero picture,
.site-v2-home-hero img {
  display: block;
  width: 100%;
}

.site-v2-home-hero img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.site-v2-hero-cta {
  position: absolute;
  left: 3%;
  top: 64%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 22%;
  height: 8%;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--site-v2-cta);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-v2-hero-cta:hover,
.site-v2-hero-cta:focus-visible {
  background: var(--site-v2-green-dark);
}

.site-v2-nav-wrap {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--site-v2-line);
  box-shadow: 0 4px 18px rgba(22, 48, 43, .05);
}

.site-v2-nav-wrap--home {
  position: absolute;
  inset: 44px 0 auto;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.site-v2-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
}

.site-v2-nav--home {
  justify-content: flex-end;
  gap: 8px;
  box-sizing: border-box;
  padding: 0 24px 0 14px;
  width: 100%;
  max-width: 1132px;
}

.site-v2-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid var(--site-v2-cta);
  border-radius: 999px;
  background: var(--site-v2-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.site-v2-nav--home a {
  min-height: 48px;
  padding: 9px 16px;
  border-width: 2px;
  border-color: var(--site-v2-cta);
  background: var(--site-v2-cta);
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
}

.site-v2-nav a:hover,
.site-v2-nav a:focus-visible,
.site-v2-nav a.is-active {
  border-color: var(--site-v2-green-dark);
  background: var(--site-v2-green-dark);
  color: #fff;
}

.site-v2-footer {
  padding: 42px 0 16px;
  background: var(--site-v2-cream);
  border-top: 1px solid var(--site-v2-line);
}

.site-v2-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(2, 1fr);
  gap: 28px;
}

.site-v2-footer h2 {
  margin: 0 0 12px;
  color: var(--site-v2-green-dark);
  font-size: 16px;
  line-height: 1.4;
}

.site-v2-footer p,
.site-v2-footer a {
  margin: 0;
  color: var(--site-v2-muted);
  font-size: 14px;
  line-height: 1.8;
}

.site-v2-footer nav {
  display: grid;
  gap: 3px;
}

.site-v2-footer a:hover,
.site-v2-footer a:focus-visible {
  color: var(--site-v2-green);
}

.site-v2-beian {
  margin: 30px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--site-v2-line);
  text-align: center;
}

@media (max-width: 700px) {
  .site-v2-container {
    width: min(100% - 24px, 1100px);
  }

  .site-v2-home-hero {
    width: 100%;
    height: auto;
    margin: 0;
  }

  .site-v2-home-hero img {
    height: auto;
    object-fit: initial;
  }

  .site-v2-hero-cta {
    top: 64%;
    left: 3%;
    width: 22%;
    min-height: 28px;
    padding: 0 5px;
    border-radius: 5px;
    font-size: 10px;
  }

  .site-v2-nav {
    gap: 6px;
    padding: 8px 0;
  }

  .site-v2-nav-wrap--home {
    inset: 25px 0 auto;
  }

  .site-v2-nav--home {
    gap: 5px;
    box-sizing: border-box;
    padding: 0 12px;
    width: 100%;
  }

  .site-v2-nav a {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .site-v2-nav--home a {
    min-height: 32px;
    padding: 5px 7px;
    font-size: 10.5px;
  }

  .site-v2-footer {
    padding: 32px 0 14px;
  }

  .site-v2-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .site-v2-footer-grid > section:first-child {
    grid-column: 1 / -1;
  }
}
