.ref7-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: #9a9a9a;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.18em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.ref7-brand:hover,
.ref7-brand:focus-visible {
  color: #ffffff;
}

.ref7-brand__icon {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 22%;
  object-fit: cover;
}

.ref7-brand--hero {
  display: block;
  width: fit-content;
  margin: 24px auto 18px;
}

.ref7-brand--hero .ref7-brand__icon {
  width: clamp(84px, 10vw, 112px);
  height: clamp(84px, 10vw, 112px);
}

.document-header .ref7-brand {
  margin-bottom: 24px;
}

.site-home-link {
  color: inherit;
  text-decoration: none;
}

.ref7-footer {
  flex: 0 0 auto;
  width: 100%;
  border-top: 1px solid var(--line);
  padding: 22px 24px;
}

.ref7-footer__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #777777;
  font-size: 13px;
  line-height: 1.5;
}

.ref7-footer__copyright {
  min-width: 0;
}

.ref7-footer__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ref7-footer a {
  color: #a8a8a8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ref7-footer a:hover,
.ref7-footer a:focus-visible {
  color: #ffffff;
}

@media (max-width: 640px) {
  .ref7-brand__icon {
    width: 38px;
    height: 38px;
  }

  .ref7-brand--hero {
    margin-top: 20px;
    margin-bottom: 14px;
  }

  .ref7-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .ref7-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ref7-footer__nav {
    column-gap: 18px;
    row-gap: 12px;
  }
}
