/* Footer de marcas: cargar después de responsive.css para que prevalezcan estos ajustes. */
.tf-footer-brands,
.tf-footer-brands * {
  box-sizing: border-box;
}

.tf-footer-brands {
  padding: 50px 0;
  background-color: #000;
  color: #fff;
}

.tf-footer-brands__invite,
.tf-footer-brands__sponsors {
  text-align: center;
}

.tf-footer-brands__invite {
  margin-bottom: 28px;
}

.tf-footer-brands__label {
  margin: 0 0 14px;
  text-align: center;
}

.tf-footer-brands__invite-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.tf-footer-brands__invite-link img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
}

.tf-footer-brands__grid {
  display: flex;
  width: 100%;
  max-width: 1140px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.tf-footer-brands__logo {
  display: flex;
  min-width: 0;
  min-height: 116px;
  flex: 0 0 16.6667%;
  align-items: center;
  justify-content: center;
  max-width: 16.6667%;
  padding: 8px 0;
}

.tf-footer-brands__logo img {
  display: block;
  width: 100%;
  max-width: 190px;
  height: 100px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .tf-footer-brands {
    padding: 28px 0;
  }

  .tf-footer-brands__invite {
    margin-bottom: 16px;
  }

  .tf-footer-brands__label {
    margin-bottom: 8px;
  }

  .tf-footer-brands__grid {
    max-width: 420px;
  }

  .tf-footer-brands__logo {
    min-height: 64px;
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 4px 3px;
  }

  .tf-footer-brands__logo img {
    width: 100%;
    max-width: 100%;
    height: 56px;
    max-height: none;
  }
}
