@font-face {
  font-family: 'Caveat Footer';
  src: url('/assets/footer-social/caveat-bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.gohi-footer-social {
  padding: clamp(32px, 5vw, 60px) 12px;
  color: #462073;
  text-align: center;
}

.gohi-footer-social .gohi-footer-brand {
  display: grid;
  width: min(180px, 50%);
  margin: 0 auto 4px;
}

.gohi-footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.gohi-footer-social h2 {
  margin: 0;
  color: inherit;
  font-family: 'Caveat Footer', cursive;
  font-size: clamp(38px, 9vw, 54px);
  font-weight: 700;
  line-height: 1.15;
}

.gohi-footer-social p {
  margin: 6px 0 22px;
  color: #57466a;
  font-size: 15px;
  line-height: 1.45;
}

.gohi-footer-social nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 54px));
  justify-content: center;
  gap: clamp(6px, 2vw, 12px);
  width: min(100%, 384px);
  margin-inline: auto;
}

.gohi-footer-social nav a {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  min-height: 44px;
  border-radius: 6px;
}

.gohi-footer-social nav img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gohi-footer-social a:is(:hover, :focus-visible) {
  outline: 2px solid #462073;
  outline-offset: 3px;
}

.gohi-footer-social + :is(.site-footer, .footer, .gohi-compact-footer) {
  margin-top: 0;
  border-radius: 0;
  background: #462073;
  color: #fff;
}

.gohi-footer-social + :is(.site-footer, .footer) .footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gohi-footer-social + :is(.site-footer, .footer) .footer-top-cta {
  flex-direction: column;
  justify-content: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #ffffff4d;
  text-align: center;
}

.gohi-footer-company {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #ffffff4d;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.gohi-footer-company p {
  margin: 5px 0 0;
  color: #f6f4f0;
  font-size: 14px;
  font-weight: 400;
}

.gohi-footer-social + :is(.site-footer, .footer) .copyright {
  margin-top: 12px;
  padding-top: 0;
  border: 0;
  text-align: center;
}

.gohi-footer-social + :is(.site-footer, .footer) .copyright nav {
  justify-content: center;
  margin-bottom: 8px;
}

@media (max-width: 860px) {
  .gohi-footer-social + :is(.site-footer, .footer) .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
