.tebex-footer-host {
  display: block;
  width: 100%;
  min-height: 35px;
  box-sizing: border-box;
}

.tebex-footer-wrapper {
  display: flex;
  width: 100%;
  min-height: 35px;
  padding: 2px 32px;
  font-size: 11px;
  font-weight: 400;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  --text: var(--tebex-legal-footer-text-color, #b2b2b2);
  --bg: var(--tebex-legal-footer-background-color, #2e2e2e);
  color: var(--text);
  background-color: var(--bg);
  border-top: 1px solid var(--tebex-legal-footer-border-color, #404040);
}

.tebex-footer-wrapper * {
  box-sizing: border-box;
}

.tebex-footer-inner {
  width: 100%;
  height: 100%;
  max-width: var(--tebex-legal-footer-max-width, 100%);
  max-width: max(var(--tebex-legal-footer-max-width, 100%), 320px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  container-type: inline-size;
}

.tebex-footer-image {
  padding-right: 32px;
}

.tebex-footer-image svg path {
  fill: var(--tebex-legal-footer-logo-color, #9c9fa9);
}

.tebex-footer-text {
  flex-grow: 1;
  padding-right: 32px;
  color: inherit;
  margin-top: 2px;
}

.tebex-footer-links {
  margin-top: 2px;
}

.tebex-footer-links a {
  color: inherit;
  text-decoration: underline !important;
}

.tebex-footer-links > a:not(:last-child) {
  margin-right: 12px;
}

@media screen and (max-width: 900px) {
  .tebex-footer-wrapper {
    min-height: 70px;
    padding: 8px 16px;
    flex-wrap: wrap;
  }

  .tebex-footer-image {
    display: none;
  }

  .tebex-footer-links {
    margin-top: 4px;
    min-width: unset;
  }
}

@container (max-width: 900px) {
  .tebex-footer-image {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .tebex-footer-wrapper {
    min-height: 80px;
    padding: 4px 16px;
  }
}
