html body .footer-refresh {
  padding-block: clamp(48px, 4.5vw, 80px) 24px;
}

html body .footer-refresh :is(.bb-footer-layout, .footer-layout) {
  row-gap: 32px;
}

html body .footer-refresh :is(.bb-footer-brand, .footer-brand) {
  width: clamp(96px, 9vw, 136px);
  height: auto;
  aspect-ratio: 1;
}

html body .footer-refresh :is(.bb-footer-nav, .footer-nav) {
  gap: 16px;
}

html body .footer-refresh :is(.bb-footer-label, .footer-label) {
  margin-bottom: 12px;
}

html body .footer-refresh :is(.bb-footer-contacts, .footer-contacts) {
  gap: 14px;
  margin-top: 16px;
}

html body .footer-refresh :is(.bb-footer-person, .footer-person) > :is(.bb-footer-phone, .footer-phone, .bb-footer-email, .footer-email) {
  min-height: 44px;
  margin: 0;
  font: inherit;
}

html body .footer-refresh :is(.bb-footer-person, .footer-person) > :is(.bb-footer-phone, .footer-phone) {
  align-items: flex-end;
  padding-bottom: 2px;
}

html body .footer-refresh :is(.bb-footer-person, .footer-person) > :is(.bb-footer-email, .footer-email) {
  align-content: start;
  padding-top: 2px;
}

html body .footer-refresh :is(.bb-footer-legal, .footer-legal) {
  margin-top: clamp(28px, 3vw, 46px);
}

.footer-policy-column {
  grid-column: 4 / span 3;
  min-width: 0;
}

@media (min-width: 900px) {
  :is(.bb-footer-layout, .footer-layout):has(> .footer-policy-column) > :is(.bb-footer-intro, .footer-intro) {
    grid-column: 1 / span 3;
  }
}

html body .footer-policy-column > [data-business-policy-links] {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
}

html body .footer-policy-column > [data-business-policy-links] > a {
  overflow-wrap: anywhere;
}

html body .footer-refresh :is(.bb-footer-legal, .footer-legal) > .off-licence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
  min-width: 0;
  margin: 0 0 10px;
  font: 400 14px/1.5 Inter, sans-serif;
}

html body .footer-refresh :is(.bb-footer-legal, .footer-legal) > .off-licence a {
  margin: 0;
}

html body .footer-refresh :is(.bb-footer-legal, .footer-legal) > :is(.bb-footer-meta, .footer-meta) {
  border-top: 1px solid rgb(241 237 229 / 20%);
  padding-top: 8px;
}

@media (max-width: 899px) {
  .footer-policy-column {
    grid-column: 1;
    grid-row: 3;
  }

  :is(.bb-footer-layout, .footer-layout):has(> .footer-policy-column) > :is(.bb-footer-visit, .footer-visit) {
    grid-row: 2 / span 2;
  }
}

@media (max-width: 600px) {
  html body .footer-refresh :is(.bb-footer-legal, .footer-legal) > .off-licence {
    flex-direction: column;
    align-items: flex-start;
  }
}
