.au-banner,
.au-banner--slider {
  overflow: hidden;
  position: relative;
}
.au-banner--slider {
  height: 85vh;
}
.au-banner--bg-img {
  height: 35%;
}

.au-banner--bg-img {
  z-index: 0;
}

.au-banner__container {
  z-index: 999;
}

.au-banner--bg-img {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
}

.au-banner--bg-mbl {
  display: none;
}

.au-banner--bg-mbl img {
  width: 100%;
}

.au-banner--bg-img-overlay {
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.au-banner--bg-img .au-banner--bg-img-overlay {
  z-index: -1;
}

.au-banner__content-wrap {
  z-index: 999;
}

.au-banner--slide-item {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  position: relative;
  z-index: 0;
  height: 85vh;
}

.au-banner--slider-content {
  position: relative;
  z-index: 999;
}

.au-banner--bg-video video {
  display: block;
  width: 100%;
}

.au-banner--bg-video .au-banner--bg-img-overlay {
  display: none;
}

.au-banner__application-store-links {
  display: flex;
  flex-wrap: wrap;
  padding-top: 30px;
}

.au-banner__primary-link a img ,
.au-banner__secondary-link a img {
  width: 100%;
}

.au-banner--icon-box svg {
  height: 16px;
  vertical-align: middle;
  width: 16px;
}

.au-banner--icon-box-wrap {
  padding-top: 20px;
}

.au-banner--icon-box {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.au-banner--icon-box-text {
  margin: 0 0 0 10px;
}

.au-banner--two-col .au-banner__content-wrap .au-banner__content .au-banner__image img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.au-banner__form {
  margin-top: 40px;
}

.au-banner__form--form .form-title {
  margin-bottom: 0;
}

.au-banner__primary-link a,
.au-banner__secondary-link a,
.au-banner__content .au-rich-text__buttons .au-button,
.au-banner--slider-content .au-banner--slider-text .au-rich-text__buttons .au-button {
  display: block;
}

.au-banner__content .au-rich-text__buttons .au-button:first-child,
.au-banner--slider-content .au-banner--slider-text .au-rich-text__buttons .au-button:first-child {
  margin-bottom: 10px;
  margin-right: 0;
}

/* Centrar si hay un único botón */
.au-rich-text__buttons .au-button:first-child:last-child {
  margin: 0 auto;
}



.au-banner__app-link {
  padding: 0 10px 20px 0;
}

.au-banner--two-col .au-banner__content-wrap .au-banner__content,
.au-banner--form .au-banner__content-wrap .au-banner__content {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.au-banner--two-col .au-banner__content-wrap .au-banner__content .au-banner__content-container,
.au-banner--form .au-banner__content-wrap .au-banner__content .au-banner__content-container,
.au-banner--two-col .au-banner__content-wrap .au-banner__content .au-banner__image,
.au-banner--form .au-banner__content-wrap .au-banner__content .au-banner__form {
  flex: 0 0 100%;
  max-width: 100%;
}

.au-banner--slider .tns-nav {
  display: none;
}

.au-banner--slider .tns-controls button {
  align-items: center;
  background: none;
  border: none;
  display: flex;
  flex-wrap: wrap;
  height: 42px;
  justify-content: center;
  padding: 10px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
}

/* MISHI SYSTEMS  */
.nav-btn.prev-slide:active {
  border: none;
}

.au-banner--slider .tns-controls button[data-controls= "prev"] {
  left: 0;
}

.au-banner--slider .tns-controls button[data-controls= "next"] {
  right: 0;
}


@media (min-width: 992px) {
  .au-banner__form {
    margin-top: 0;
  }

  .au-banner--two-col .au-banner__content-wrap .au-banner__content .au-banner__content-container,
  .au-banner--form .au-banner__content-wrap .au-banner__content .au-banner__content-container {
    flex: 0 0 50%;
    max-width: calc(50% - 30px);
    padding: 0 30px 0 0;
  }

  .au-banner--two-col .au-banner__content-wrap .au-banner__content .au-banner__image,
  .au-banner--form .au-banner__content-wrap .au-banner__content .au-banner__form {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .au-banner__primary-link,.au-banner__secondary-link {
    flex: 0 0 50%;
    max-width: calc(50% - 10px);
  }

  .au-banner--bg-video .au-banner__container {
    left: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .au-banner--bg-video .au-banner--bg-img-overlay {
    display: block;
  }
}

@media (max-width: 767px) {
  .au-banner.au-banner--bg-img {
    background-image: none !important;
  }

  .au-banner.au-banner--bg-img .content-wrapper {
    padding: 0;
  } 

  .au-banner.au-banner--bg-img .au-title-content {
    padding: 0 20px;
  }

  .au-banner.au-banner--bg-img .au-banner__application-store-links {
    padding: 50px 20px 0;
  }

  .au-banner.au-banner--bg-img .au-banner--icon-box-wrap {
    padding: 20px 20px 0;
  }

  .au-banner--bg-mbl {
    display: block;
    margin-bottom: 30px;
  }

  .au-banner--bg-img .au-banner__container {
    padding: 0 0 40px !important;
  }
}

@media (min-width: 576px) {
  .au-banner__content .au-rich-text__buttons .au-button,
  .au-banner--slider-content .au-banner--slider-text .au-rich-text__buttons .au-button {
    display: inline-block;
  }

  .au-banner__content .au-rich-text__buttons .au-button:first-child,
  .au-banner--slider-content .au-banner--slider-text .au-rich-text__buttons .au-button:first-child {
    margin-right: 0;
    margin-bottom: 0;
  }

  .au-banner__primary-link,.au-banner__secondary-link {
    padding-right: 20px;
  }

  .au-banner__application-store-links .au-banner__app-link:last-child {
    padding-right: 0;
  }
}
button[data-action="start"], button[data-action="stop"] {
  visibility: hidden;
  position: absolute;
  top: -9999px;
  left: -9999px;
}






  /* Si solo hay un botón, lo centramos completamente */
  .au-rich-text__buttons .au-button:first-child:last-child {
    margin: 0 auto;
  }
}


@media (min-width: 992px) { 
  .au-rich-text__buttons {
    text-align: center; /* Asegura que el contenedor esté centrado */
  }

  /* Si hay solo un botón, lo centramos */
  .au-rich-text__buttons .au-button:first-child:last-child {
    display: inline-block;
    margin: 0 auto;
  }

  /* Si hay dos botones, los separamos con margen */
  .au-rich-text__buttons .au-button:first-child:not(:last-child) {
    margin-right: 20px; /* Espaciado entre botones */
  }
}
