/* Events banner: full width, separated from footer, exact image ratio, no cropping. */
#footer > .container:first-child {
  background: #081620 !important;
  border-radius: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

#footer > .container:first-child > .row,
#footer .anbanners-wrapper,
#footer .an_banner {
  border-radius: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

#footer .anbanners-wrapper,
#footer .an_banner-content,
#footer .an_banner-img {
  display: block !important;
  overflow: hidden !important;
  width: 100% !important;
}

#footer .an_banner-content {
  aspect-ratio: 2560 / 608 !important;
  background-color: #081620 !important;
  background-image: url("/modules/an_banners/img/70fe350f63bc4db4f8d67ab163be38bc_1.jpg") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  border-radius: 0 !important;
  height: auto !important;
}

#footer .an_banner-img {
  height: 100% !important;
}

#footer .an_banner-img img {
  display: block !important;
  height: 100% !important;
  max-width: none !important;
  opacity: 0 !important;
  width: 100% !important;
}

#footer .an_banner-link {
  inset: 0 !important;
}

#footer .an_banner-text,
#footer .an_banner-button {
  display: none !important;
}

#footer .footer-container {
  margin-top: 0 !important;
}

body#index footer.page-footer {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

/* Enough clearance for Novedades controls without leaving a huge blank gap. */
body#index .an_homeproducts-block:has(.an_homeproducts-content[data-block-id="3"]) {
  margin-bottom: 94px !important;
}

/* Events title block, full bleed and aligned with the banner below. */
body#index .an_homeproducts-block:has(.an_homeproducts-content[data-block-id="1"]) {
  left: 50% !important;
  margin: 0 0 0 -50vw !important;
  padding: 0 !important;
  position: relative !important;
  width: 100vw !important;
}

body#index .an_homeproducts-content[data-block-id="1"] {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

body#index .an_homeproducts-content[data-block-id="1"] .products-section-title {
  display: block !important;
  margin: 0 !important;
  padding: 18px 20px !important;
  text-align: center !important;
  white-space: normal !important;
  width: 100% !important;
}

body#index .an_homeproducts-content[data-block-id="1"] .featured-products,
body#index .an_homeproducts-content[data-block-id="1"] .an_homeproducts-products,
body#index .an_homeproducts-content[data-block-id="1"] .products.row {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body#index #footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body#index #footer > .container:first-child {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  body#index .an_homeproducts-block:has(.an_homeproducts-content[data-block-id="3"]) {
    margin-bottom: 68px !important;
  }

  body#index .an_homeproducts-content[data-block-id="1"] .products-section-title {
    font-size: 1.45rem !important;
    padding: 14px 12px !important;
  }
}