.wescan-global-footer.site-footer {
  --wgf-blue: #005fce;
  --wgf-blue-dark: #004b9f;
  --wgf-ink: #172333;
  --wgf-muted: #607080;
  --wgf-line: #d8e1e8;
  background: #eef4f8;
  color: var(--wgf-ink);
  font-size: 16px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.wescan-global-footer *,
.wescan-global-footer *::before,
.wescan-global-footer *::after {
  box-sizing: border-box;
}

.wgf-shell {
  margin-left: auto;
  margin-right: auto;
  max-width: 1152px;
  width: 88%;
}

.wgf-hero {
  align-items: center;
  background: url("/wp-content/uploads/2020/06/upten-2048x1536.jpg") center / cover no-repeat;
  display: flex;
  min-height: 635px;
  overflow: hidden;
  position: relative;
}

.wgf-overlay {
  background: linear-gradient(90deg, rgba(4, 13, 21, 0.91) 0%, rgba(4, 13, 21, 0.63) 45%, rgba(4, 13, 21, 0.16) 100%);
  inset: 0;
  position: absolute;
}

.wgf-message {
  color: #fff;
  position: relative;
  z-index: 1;
}

.wescan-global-footer .wgf-kicker {
  color: var(--wgf-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.wescan-global-footer .wgf-message .wgf-kicker {
  color: #70c7ff;
}

.wescan-global-footer .wgf-message h2 {
  color: #fff;
  font-size: clamp(52px, 7vw, 108px);
  letter-spacing: -0.06em;
  line-height: 0.92;
  margin: 0 0 32px;
  padding: 0;
}

.wescan-global-footer .wgf-button {
  align-items: center;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  color: var(--wgf-ink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
  padding: 16px 24px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wescan-global-footer .wgf-button:hover,
.wescan-global-footer .wgf-button:focus {
  background: #70c7ff;
  border-color: #70c7ff;
  color: #071523;
  transform: translateY(-2px);
}

.wgf-team {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(23, 35, 51, 0.17);
  margin-top: -105px;
  padding: clamp(24px, 4vw, 56px);
  position: relative;
  z-index: 2;
}

.wgf-team-intro {
  align-items: flex-end;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.wescan-global-footer .wgf-team-intro h2 {
  color: var(--wgf-ink);
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.wescan-global-footer .wgf-team-intro > a {
  color: var(--wgf-blue-dark);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.wescan-global-footer .wgf-team-intro > a:hover,
.wescan-global-footer .wgf-team-intro > a:focus {
  text-decoration: underline;
}

.wgf-team-grid {
  border-bottom: 1px solid var(--wgf-line);
  border-top: 1px solid var(--wgf-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wgf-team-grid article {
  border-right: 1px solid var(--wgf-line);
  min-width: 0;
  padding: 26px;
}

.wgf-team-grid article:last-child {
  border-right: 0;
}

.wescan-global-footer .wgf-team-grid p {
  color: var(--wgf-ink);
  font-weight: 800;
  margin: 0 0 10px;
}

.wescan-global-footer .wgf-team-grid a {
  color: var(--wgf-blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.wescan-global-footer .wgf-team-grid a:hover,
.wescan-global-footer .wgf-team-grid a:focus {
  text-decoration: underline;
}

.wgf-bottom {
  align-items: center;
  border-top: 1px solid var(--wgf-line);
  color: var(--wgf-muted);
  display: grid;
  font-size: 13px;
  gap: 32px;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 56px;
  min-height: 105px;
}

.wgf-brand {
  display: inline-flex;
  justify-self: start;
}

.wgf-brand img {
  display: block;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  width: 155px;
}

.wgf-bottom nav {
  display: flex;
  gap: 20px;
}

.wescan-global-footer .wgf-bottom nav a {
  color: var(--wgf-muted);
  font-weight: 600;
  text-decoration: none;
}

.wescan-global-footer .wgf-bottom nav a:hover,
.wescan-global-footer .wgf-bottom nav a:focus {
  color: var(--wgf-blue-dark);
}

.wgf-bottom > span {
  justify-self: end;
  text-align: right;
}

.wescan-global-footer a:focus-visible {
  outline: 3px solid #70c7ff;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .wgf-team-grid {
    grid-template-columns: 1fr;
  }

  .wgf-team-grid article {
    border-bottom: 1px solid var(--wgf-line);
    border-right: 0;
  }

  .wgf-team-grid article:last-child {
    border-bottom: 0;
  }

  .wgf-bottom {
    grid-template-columns: 1fr 1fr;
    padding: 40px 0;
  }

  .wgf-bottom nav {
    justify-content: flex-end;
  }

  .wgf-bottom > span {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .wgf-hero {
    align-items: flex-end;
    background-position: 62% center;
    min-height: 680px;
  }

  .wgf-overlay {
    background: linear-gradient(0deg, rgba(5, 14, 23, 0.96) 4%, rgba(5, 14, 23, 0.62) 68%, rgba(5, 14, 23, 0.22) 100%);
  }

  .wgf-message {
    padding-bottom: 64px;
  }

  .wescan-global-footer .wgf-message h2 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .wgf-team {
    margin-top: -72px;
    width: calc(100% - 32px);
  }

  .wgf-team-intro {
    align-items: flex-start;
    display: block;
  }

  .wescan-global-footer .wgf-team-intro > a {
    display: inline-block;
    margin-top: 16px;
  }

  .wgf-team-grid article {
    padding: 22px 4px;
  }

  .wgf-bottom {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .wgf-bottom nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .wgf-bottom > span {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wescan-global-footer .wgf-button {
    transition: none;
  }
}
